Update sigpro-ui.js
This commit is contained in:
@@ -13,7 +13,7 @@ const i18n = {
|
|||||||
let currentLocale = $("es");
|
let currentLocale = $("es");
|
||||||
|
|
||||||
/** SET LOCALE */
|
/** SET LOCALE */
|
||||||
export const langUI = (locale) => currentLocale(locale);
|
export const Locale = (locale) => currentLocale(locale);
|
||||||
|
|
||||||
/** TRANSLATE */
|
/** TRANSLATE */
|
||||||
const tt = (key) => () => i18n[currentLocale()][key] || key;
|
const tt = (key) => () => i18n[currentLocale()][key] || key;
|
||||||
@@ -1109,7 +1109,7 @@ export const UI = (defaultLang = "es") => {
|
|||||||
|
|
||||||
// Create UI object with all components
|
// Create UI object with all components
|
||||||
const ui = {
|
const ui = {
|
||||||
langUI, tt, Button, Input, Select, Autocomplete, Datepicker, Colorpicker,
|
Locale, tt, Button, Input, Select, Autocomplete, Datepicker, Colorpicker,
|
||||||
Checkbox, Radio, Range, Modal, Grid, Dropdown, Accordion, Tabs, Badge,
|
Checkbox, Radio, Range, Modal, Grid, Dropdown, Accordion, Tabs, Badge,
|
||||||
Tooltip, Navbar, Menu, Drawer, Fieldset, List, Stack, Stat, Swap, Indicator,
|
Tooltip, Navbar, Menu, Drawer, Fieldset, List, Stack, Stat, Swap, Indicator,
|
||||||
Rating, Alert, Timeline, Fab, Toast, Loading
|
Rating, Alert, Timeline, Fab, Toast, Loading
|
||||||
|
|||||||
Reference in New Issue
Block a user