@underverse-ui/underverse 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +59 -3
- package/dist/index.cjs +310 -339
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +283 -12
- package/dist/index.d.ts +283 -12
- package/dist/index.js +296 -326
- package/dist/index.js.map +1 -1
- package/package.json +12 -1
package/dist/index.d.cts
CHANGED
|
@@ -328,8 +328,9 @@ interface AlertProps {
|
|
|
328
328
|
dismissible?: boolean;
|
|
329
329
|
onClose?: () => void;
|
|
330
330
|
actions?: ReactNode;
|
|
331
|
+
closeAriaLabel?: string;
|
|
331
332
|
}
|
|
332
|
-
declare const Alert: ({ title, description, variant, className, icon, dismissible, onClose, actions }: AlertProps) => react_jsx_runtime.JSX.Element | null;
|
|
333
|
+
declare const Alert: ({ title, description, variant, className, icon, dismissible, onClose, actions, closeAriaLabel }: AlertProps) => react_jsx_runtime.JSX.Element | null;
|
|
333
334
|
|
|
334
335
|
interface GlobalLoadingProps {
|
|
335
336
|
className?: string;
|
|
@@ -461,6 +462,24 @@ interface PaginationProps {
|
|
|
461
462
|
pageSizeOptions?: number[];
|
|
462
463
|
onPageSizeChange?: (size: number) => void;
|
|
463
464
|
totalItems?: number;
|
|
465
|
+
labels?: {
|
|
466
|
+
navigationLabel?: string;
|
|
467
|
+
showingResults?: (ctx: {
|
|
468
|
+
startItem: number;
|
|
469
|
+
endItem: number;
|
|
470
|
+
totalItems?: number;
|
|
471
|
+
}) => string;
|
|
472
|
+
firstPage?: string;
|
|
473
|
+
previousPage?: string;
|
|
474
|
+
previous?: string;
|
|
475
|
+
nextPage?: string;
|
|
476
|
+
next?: string;
|
|
477
|
+
lastPage?: string;
|
|
478
|
+
itemsPerPage?: string;
|
|
479
|
+
search?: string;
|
|
480
|
+
noOptions?: string;
|
|
481
|
+
pageNumber?: (page: number) => string;
|
|
482
|
+
};
|
|
464
483
|
}
|
|
465
484
|
declare const Pagination: React$1.FC<PaginationProps>;
|
|
466
485
|
|
|
@@ -488,6 +507,9 @@ interface DatePickerProps {
|
|
|
488
507
|
size?: "sm" | "md";
|
|
489
508
|
label?: string;
|
|
490
509
|
required?: boolean;
|
|
510
|
+
todayLabel?: string;
|
|
511
|
+
clearLabel?: string;
|
|
512
|
+
weekdayLabels?: string[];
|
|
491
513
|
}
|
|
492
514
|
declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
493
515
|
|
|
@@ -643,14 +665,6 @@ interface ImageUploadProps {
|
|
|
643
665
|
declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
|
|
644
666
|
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
|
|
645
667
|
|
|
646
|
-
interface ProductImageUploadProps {
|
|
647
|
-
value?: string;
|
|
648
|
-
onChange: (url: string) => void;
|
|
649
|
-
disabled?: boolean;
|
|
650
|
-
className?: string;
|
|
651
|
-
}
|
|
652
|
-
declare const ProductImageUpload: React__default.FC<ProductImageUploadProps>;
|
|
653
|
-
|
|
654
668
|
interface CarouselProps {
|
|
655
669
|
children: React$1.ReactNode[];
|
|
656
670
|
autoScroll?: boolean;
|
|
@@ -724,9 +738,16 @@ interface DataTableProps<T> {
|
|
|
724
738
|
enableDensityToggle?: boolean;
|
|
725
739
|
striped?: boolean;
|
|
726
740
|
className?: string;
|
|
741
|
+
labels?: {
|
|
742
|
+
density?: string;
|
|
743
|
+
columns?: string;
|
|
744
|
+
compact?: string;
|
|
745
|
+
normal?: string;
|
|
746
|
+
comfortable?: string;
|
|
747
|
+
};
|
|
727
748
|
}
|
|
728
749
|
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, onQueryChange, caption, toolbar, enableColumnVisibilityToggle, enableDensityToggle, striped, // Mặc định bật màu nền sẽn kẽ cho các dòng
|
|
729
|
-
className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
750
|
+
className, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
730
751
|
|
|
731
752
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
732
753
|
containerClassName?: string;
|
|
@@ -756,8 +777,11 @@ interface NotificationModalProps {
|
|
|
756
777
|
isOpen: boolean;
|
|
757
778
|
onClose: () => void;
|
|
758
779
|
notification: NotificationItem | null;
|
|
780
|
+
titleText?: string;
|
|
781
|
+
openLinkText?: string;
|
|
782
|
+
closeText?: string;
|
|
759
783
|
}
|
|
760
|
-
declare function NotificationModal({ isOpen, onClose, notification }: NotificationModalProps): react_jsx_runtime.JSX.Element | null;
|
|
784
|
+
declare function NotificationModal({ isOpen, onClose, notification, titleText, openLinkText, closeText }: NotificationModalProps): react_jsx_runtime.JSX.Element | null;
|
|
761
785
|
|
|
762
786
|
interface FloatingContactsProps {
|
|
763
787
|
className?: string;
|
|
@@ -883,4 +907,251 @@ declare const VARIANT_STYLES_ALERT: {
|
|
|
883
907
|
error: string;
|
|
884
908
|
};
|
|
885
909
|
|
|
886
|
-
|
|
910
|
+
declare const underverseMessages: {
|
|
911
|
+
readonly en: {
|
|
912
|
+
Common: {
|
|
913
|
+
close: string;
|
|
914
|
+
closeAlert: string;
|
|
915
|
+
notifications: string;
|
|
916
|
+
newNotification: string;
|
|
917
|
+
readStatus: string;
|
|
918
|
+
openLink: string;
|
|
919
|
+
theme: string;
|
|
920
|
+
lightTheme: string;
|
|
921
|
+
darkTheme: string;
|
|
922
|
+
systemTheme: string;
|
|
923
|
+
density: string;
|
|
924
|
+
compact: string;
|
|
925
|
+
normal: string;
|
|
926
|
+
comfortable: string;
|
|
927
|
+
columns: string;
|
|
928
|
+
};
|
|
929
|
+
ValidationInput: {
|
|
930
|
+
required: string;
|
|
931
|
+
typeMismatch: string;
|
|
932
|
+
pattern: string;
|
|
933
|
+
tooShort: string;
|
|
934
|
+
tooLong: string;
|
|
935
|
+
rangeUnderflow: string;
|
|
936
|
+
rangeOverflow: string;
|
|
937
|
+
stepMismatch: string;
|
|
938
|
+
badInput: string;
|
|
939
|
+
invalid: string;
|
|
940
|
+
};
|
|
941
|
+
Loading: {
|
|
942
|
+
loadingPage: string;
|
|
943
|
+
pleaseWait: string;
|
|
944
|
+
};
|
|
945
|
+
DatePicker: {
|
|
946
|
+
placeholder: string;
|
|
947
|
+
today: string;
|
|
948
|
+
clear: string;
|
|
949
|
+
};
|
|
950
|
+
Pagination: {
|
|
951
|
+
navigationLabel: string;
|
|
952
|
+
showingResults: string;
|
|
953
|
+
firstPage: string;
|
|
954
|
+
previousPage: string;
|
|
955
|
+
previous: string;
|
|
956
|
+
nextPage: string;
|
|
957
|
+
next: string;
|
|
958
|
+
lastPage: string;
|
|
959
|
+
pageNumber: string;
|
|
960
|
+
itemsPerPage: string;
|
|
961
|
+
search: string;
|
|
962
|
+
noOptions: string;
|
|
963
|
+
};
|
|
964
|
+
OCR: {
|
|
965
|
+
imageUpload: {
|
|
966
|
+
dragDropText: string;
|
|
967
|
+
browseFiles: string;
|
|
968
|
+
supportedFormats: string;
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
readonly vi: {
|
|
973
|
+
Common: {
|
|
974
|
+
close: string;
|
|
975
|
+
closeAlert: string;
|
|
976
|
+
notifications: string;
|
|
977
|
+
newNotification: string;
|
|
978
|
+
readStatus: string;
|
|
979
|
+
openLink: string;
|
|
980
|
+
theme: string;
|
|
981
|
+
lightTheme: string;
|
|
982
|
+
darkTheme: string;
|
|
983
|
+
systemTheme: string;
|
|
984
|
+
density: string;
|
|
985
|
+
compact: string;
|
|
986
|
+
normal: string;
|
|
987
|
+
comfortable: string;
|
|
988
|
+
columns: string;
|
|
989
|
+
};
|
|
990
|
+
ValidationInput: {
|
|
991
|
+
required: string;
|
|
992
|
+
typeMismatch: string;
|
|
993
|
+
pattern: string;
|
|
994
|
+
tooShort: string;
|
|
995
|
+
tooLong: string;
|
|
996
|
+
rangeUnderflow: string;
|
|
997
|
+
rangeOverflow: string;
|
|
998
|
+
stepMismatch: string;
|
|
999
|
+
badInput: string;
|
|
1000
|
+
invalid: string;
|
|
1001
|
+
};
|
|
1002
|
+
Loading: {
|
|
1003
|
+
loadingPage: string;
|
|
1004
|
+
pleaseWait: string;
|
|
1005
|
+
};
|
|
1006
|
+
DatePicker: {
|
|
1007
|
+
placeholder: string;
|
|
1008
|
+
today: string;
|
|
1009
|
+
clear: string;
|
|
1010
|
+
};
|
|
1011
|
+
Pagination: {
|
|
1012
|
+
navigationLabel: string;
|
|
1013
|
+
showingResults: string;
|
|
1014
|
+
firstPage: string;
|
|
1015
|
+
previousPage: string;
|
|
1016
|
+
previous: string;
|
|
1017
|
+
nextPage: string;
|
|
1018
|
+
next: string;
|
|
1019
|
+
lastPage: string;
|
|
1020
|
+
pageNumber: string;
|
|
1021
|
+
itemsPerPage: string;
|
|
1022
|
+
search: string;
|
|
1023
|
+
noOptions: string;
|
|
1024
|
+
};
|
|
1025
|
+
OCR: {
|
|
1026
|
+
imageUpload: {
|
|
1027
|
+
dragDropText: string;
|
|
1028
|
+
browseFiles: string;
|
|
1029
|
+
supportedFormats: string;
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
type UnderverseLocale = keyof typeof underverseMessages;
|
|
1035
|
+
declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
1036
|
+
Common: {
|
|
1037
|
+
close: string;
|
|
1038
|
+
closeAlert: string;
|
|
1039
|
+
notifications: string;
|
|
1040
|
+
newNotification: string;
|
|
1041
|
+
readStatus: string;
|
|
1042
|
+
openLink: string;
|
|
1043
|
+
theme: string;
|
|
1044
|
+
lightTheme: string;
|
|
1045
|
+
darkTheme: string;
|
|
1046
|
+
systemTheme: string;
|
|
1047
|
+
density: string;
|
|
1048
|
+
compact: string;
|
|
1049
|
+
normal: string;
|
|
1050
|
+
comfortable: string;
|
|
1051
|
+
columns: string;
|
|
1052
|
+
};
|
|
1053
|
+
ValidationInput: {
|
|
1054
|
+
required: string;
|
|
1055
|
+
typeMismatch: string;
|
|
1056
|
+
pattern: string;
|
|
1057
|
+
tooShort: string;
|
|
1058
|
+
tooLong: string;
|
|
1059
|
+
rangeUnderflow: string;
|
|
1060
|
+
rangeOverflow: string;
|
|
1061
|
+
stepMismatch: string;
|
|
1062
|
+
badInput: string;
|
|
1063
|
+
invalid: string;
|
|
1064
|
+
};
|
|
1065
|
+
Loading: {
|
|
1066
|
+
loadingPage: string;
|
|
1067
|
+
pleaseWait: string;
|
|
1068
|
+
};
|
|
1069
|
+
DatePicker: {
|
|
1070
|
+
placeholder: string;
|
|
1071
|
+
today: string;
|
|
1072
|
+
clear: string;
|
|
1073
|
+
};
|
|
1074
|
+
Pagination: {
|
|
1075
|
+
navigationLabel: string;
|
|
1076
|
+
showingResults: string;
|
|
1077
|
+
firstPage: string;
|
|
1078
|
+
previousPage: string;
|
|
1079
|
+
previous: string;
|
|
1080
|
+
nextPage: string;
|
|
1081
|
+
next: string;
|
|
1082
|
+
lastPage: string;
|
|
1083
|
+
pageNumber: string;
|
|
1084
|
+
itemsPerPage: string;
|
|
1085
|
+
search: string;
|
|
1086
|
+
noOptions: string;
|
|
1087
|
+
};
|
|
1088
|
+
OCR: {
|
|
1089
|
+
imageUpload: {
|
|
1090
|
+
dragDropText: string;
|
|
1091
|
+
browseFiles: string;
|
|
1092
|
+
supportedFormats: string;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
} | {
|
|
1096
|
+
Common: {
|
|
1097
|
+
close: string;
|
|
1098
|
+
closeAlert: string;
|
|
1099
|
+
notifications: string;
|
|
1100
|
+
newNotification: string;
|
|
1101
|
+
readStatus: string;
|
|
1102
|
+
openLink: string;
|
|
1103
|
+
theme: string;
|
|
1104
|
+
lightTheme: string;
|
|
1105
|
+
darkTheme: string;
|
|
1106
|
+
systemTheme: string;
|
|
1107
|
+
density: string;
|
|
1108
|
+
compact: string;
|
|
1109
|
+
normal: string;
|
|
1110
|
+
comfortable: string;
|
|
1111
|
+
columns: string;
|
|
1112
|
+
};
|
|
1113
|
+
ValidationInput: {
|
|
1114
|
+
required: string;
|
|
1115
|
+
typeMismatch: string;
|
|
1116
|
+
pattern: string;
|
|
1117
|
+
tooShort: string;
|
|
1118
|
+
tooLong: string;
|
|
1119
|
+
rangeUnderflow: string;
|
|
1120
|
+
rangeOverflow: string;
|
|
1121
|
+
stepMismatch: string;
|
|
1122
|
+
badInput: string;
|
|
1123
|
+
invalid: string;
|
|
1124
|
+
};
|
|
1125
|
+
Loading: {
|
|
1126
|
+
loadingPage: string;
|
|
1127
|
+
pleaseWait: string;
|
|
1128
|
+
};
|
|
1129
|
+
DatePicker: {
|
|
1130
|
+
placeholder: string;
|
|
1131
|
+
today: string;
|
|
1132
|
+
clear: string;
|
|
1133
|
+
};
|
|
1134
|
+
Pagination: {
|
|
1135
|
+
navigationLabel: string;
|
|
1136
|
+
showingResults: string;
|
|
1137
|
+
firstPage: string;
|
|
1138
|
+
previousPage: string;
|
|
1139
|
+
previous: string;
|
|
1140
|
+
nextPage: string;
|
|
1141
|
+
next: string;
|
|
1142
|
+
lastPage: string;
|
|
1143
|
+
pageNumber: string;
|
|
1144
|
+
itemsPerPage: string;
|
|
1145
|
+
search: string;
|
|
1146
|
+
noOptions: string;
|
|
1147
|
+
};
|
|
1148
|
+
OCR: {
|
|
1149
|
+
imageUpload: {
|
|
1150
|
+
dragDropText: string;
|
|
1151
|
+
browseFiles: string;
|
|
1152
|
+
supportedFormats: string;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, Card, Carousel, CategoryTreeSelect, Checkbox, ClientOnly, Combobox, DataTable, DatePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, InteractiveBadge, Label, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, NotificationBadge, NotificationModal, PageLoading, Pagination, PillTabs, Popover, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useToast };
|
package/dist/index.d.ts
CHANGED
|
@@ -328,8 +328,9 @@ interface AlertProps {
|
|
|
328
328
|
dismissible?: boolean;
|
|
329
329
|
onClose?: () => void;
|
|
330
330
|
actions?: ReactNode;
|
|
331
|
+
closeAriaLabel?: string;
|
|
331
332
|
}
|
|
332
|
-
declare const Alert: ({ title, description, variant, className, icon, dismissible, onClose, actions }: AlertProps) => react_jsx_runtime.JSX.Element | null;
|
|
333
|
+
declare const Alert: ({ title, description, variant, className, icon, dismissible, onClose, actions, closeAriaLabel }: AlertProps) => react_jsx_runtime.JSX.Element | null;
|
|
333
334
|
|
|
334
335
|
interface GlobalLoadingProps {
|
|
335
336
|
className?: string;
|
|
@@ -461,6 +462,24 @@ interface PaginationProps {
|
|
|
461
462
|
pageSizeOptions?: number[];
|
|
462
463
|
onPageSizeChange?: (size: number) => void;
|
|
463
464
|
totalItems?: number;
|
|
465
|
+
labels?: {
|
|
466
|
+
navigationLabel?: string;
|
|
467
|
+
showingResults?: (ctx: {
|
|
468
|
+
startItem: number;
|
|
469
|
+
endItem: number;
|
|
470
|
+
totalItems?: number;
|
|
471
|
+
}) => string;
|
|
472
|
+
firstPage?: string;
|
|
473
|
+
previousPage?: string;
|
|
474
|
+
previous?: string;
|
|
475
|
+
nextPage?: string;
|
|
476
|
+
next?: string;
|
|
477
|
+
lastPage?: string;
|
|
478
|
+
itemsPerPage?: string;
|
|
479
|
+
search?: string;
|
|
480
|
+
noOptions?: string;
|
|
481
|
+
pageNumber?: (page: number) => string;
|
|
482
|
+
};
|
|
464
483
|
}
|
|
465
484
|
declare const Pagination: React$1.FC<PaginationProps>;
|
|
466
485
|
|
|
@@ -488,6 +507,9 @@ interface DatePickerProps {
|
|
|
488
507
|
size?: "sm" | "md";
|
|
489
508
|
label?: string;
|
|
490
509
|
required?: boolean;
|
|
510
|
+
todayLabel?: string;
|
|
511
|
+
clearLabel?: string;
|
|
512
|
+
weekdayLabels?: string[];
|
|
491
513
|
}
|
|
492
514
|
declare const DatePicker: React$1.FC<DatePickerProps>;
|
|
493
515
|
|
|
@@ -643,14 +665,6 @@ interface ImageUploadProps {
|
|
|
643
665
|
declare function ImageUpload({ onUpload, onRemove, maxSize, // Convert bytes to MB
|
|
644
666
|
accept, multiple, disabled, className, showPreview, previewSize, dragDropText, browseText, supportedFormatsText }: ImageUploadProps): react_jsx_runtime.JSX.Element;
|
|
645
667
|
|
|
646
|
-
interface ProductImageUploadProps {
|
|
647
|
-
value?: string;
|
|
648
|
-
onChange: (url: string) => void;
|
|
649
|
-
disabled?: boolean;
|
|
650
|
-
className?: string;
|
|
651
|
-
}
|
|
652
|
-
declare const ProductImageUpload: React__default.FC<ProductImageUploadProps>;
|
|
653
|
-
|
|
654
668
|
interface CarouselProps {
|
|
655
669
|
children: React$1.ReactNode[];
|
|
656
670
|
autoScroll?: boolean;
|
|
@@ -724,9 +738,16 @@ interface DataTableProps<T> {
|
|
|
724
738
|
enableDensityToggle?: boolean;
|
|
725
739
|
striped?: boolean;
|
|
726
740
|
className?: string;
|
|
741
|
+
labels?: {
|
|
742
|
+
density?: string;
|
|
743
|
+
columns?: string;
|
|
744
|
+
compact?: string;
|
|
745
|
+
normal?: string;
|
|
746
|
+
comfortable?: string;
|
|
747
|
+
};
|
|
727
748
|
}
|
|
728
749
|
declare function DataTable<T extends Record<string, any>>({ columns, data, rowKey, loading, total, page, pageSize, onQueryChange, caption, toolbar, enableColumnVisibilityToggle, enableDensityToggle, striped, // Mặc định bật màu nền sẽn kẽ cho các dòng
|
|
729
|
-
className, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
750
|
+
className, labels, }: DataTableProps<T>): react_jsx_runtime.JSX.Element;
|
|
730
751
|
|
|
731
752
|
interface TableProps extends React__default.HTMLAttributes<HTMLTableElement> {
|
|
732
753
|
containerClassName?: string;
|
|
@@ -756,8 +777,11 @@ interface NotificationModalProps {
|
|
|
756
777
|
isOpen: boolean;
|
|
757
778
|
onClose: () => void;
|
|
758
779
|
notification: NotificationItem | null;
|
|
780
|
+
titleText?: string;
|
|
781
|
+
openLinkText?: string;
|
|
782
|
+
closeText?: string;
|
|
759
783
|
}
|
|
760
|
-
declare function NotificationModal({ isOpen, onClose, notification }: NotificationModalProps): react_jsx_runtime.JSX.Element | null;
|
|
784
|
+
declare function NotificationModal({ isOpen, onClose, notification, titleText, openLinkText, closeText }: NotificationModalProps): react_jsx_runtime.JSX.Element | null;
|
|
761
785
|
|
|
762
786
|
interface FloatingContactsProps {
|
|
763
787
|
className?: string;
|
|
@@ -883,4 +907,251 @@ declare const VARIANT_STYLES_ALERT: {
|
|
|
883
907
|
error: string;
|
|
884
908
|
};
|
|
885
909
|
|
|
886
|
-
|
|
910
|
+
declare const underverseMessages: {
|
|
911
|
+
readonly en: {
|
|
912
|
+
Common: {
|
|
913
|
+
close: string;
|
|
914
|
+
closeAlert: string;
|
|
915
|
+
notifications: string;
|
|
916
|
+
newNotification: string;
|
|
917
|
+
readStatus: string;
|
|
918
|
+
openLink: string;
|
|
919
|
+
theme: string;
|
|
920
|
+
lightTheme: string;
|
|
921
|
+
darkTheme: string;
|
|
922
|
+
systemTheme: string;
|
|
923
|
+
density: string;
|
|
924
|
+
compact: string;
|
|
925
|
+
normal: string;
|
|
926
|
+
comfortable: string;
|
|
927
|
+
columns: string;
|
|
928
|
+
};
|
|
929
|
+
ValidationInput: {
|
|
930
|
+
required: string;
|
|
931
|
+
typeMismatch: string;
|
|
932
|
+
pattern: string;
|
|
933
|
+
tooShort: string;
|
|
934
|
+
tooLong: string;
|
|
935
|
+
rangeUnderflow: string;
|
|
936
|
+
rangeOverflow: string;
|
|
937
|
+
stepMismatch: string;
|
|
938
|
+
badInput: string;
|
|
939
|
+
invalid: string;
|
|
940
|
+
};
|
|
941
|
+
Loading: {
|
|
942
|
+
loadingPage: string;
|
|
943
|
+
pleaseWait: string;
|
|
944
|
+
};
|
|
945
|
+
DatePicker: {
|
|
946
|
+
placeholder: string;
|
|
947
|
+
today: string;
|
|
948
|
+
clear: string;
|
|
949
|
+
};
|
|
950
|
+
Pagination: {
|
|
951
|
+
navigationLabel: string;
|
|
952
|
+
showingResults: string;
|
|
953
|
+
firstPage: string;
|
|
954
|
+
previousPage: string;
|
|
955
|
+
previous: string;
|
|
956
|
+
nextPage: string;
|
|
957
|
+
next: string;
|
|
958
|
+
lastPage: string;
|
|
959
|
+
pageNumber: string;
|
|
960
|
+
itemsPerPage: string;
|
|
961
|
+
search: string;
|
|
962
|
+
noOptions: string;
|
|
963
|
+
};
|
|
964
|
+
OCR: {
|
|
965
|
+
imageUpload: {
|
|
966
|
+
dragDropText: string;
|
|
967
|
+
browseFiles: string;
|
|
968
|
+
supportedFormats: string;
|
|
969
|
+
};
|
|
970
|
+
};
|
|
971
|
+
};
|
|
972
|
+
readonly vi: {
|
|
973
|
+
Common: {
|
|
974
|
+
close: string;
|
|
975
|
+
closeAlert: string;
|
|
976
|
+
notifications: string;
|
|
977
|
+
newNotification: string;
|
|
978
|
+
readStatus: string;
|
|
979
|
+
openLink: string;
|
|
980
|
+
theme: string;
|
|
981
|
+
lightTheme: string;
|
|
982
|
+
darkTheme: string;
|
|
983
|
+
systemTheme: string;
|
|
984
|
+
density: string;
|
|
985
|
+
compact: string;
|
|
986
|
+
normal: string;
|
|
987
|
+
comfortable: string;
|
|
988
|
+
columns: string;
|
|
989
|
+
};
|
|
990
|
+
ValidationInput: {
|
|
991
|
+
required: string;
|
|
992
|
+
typeMismatch: string;
|
|
993
|
+
pattern: string;
|
|
994
|
+
tooShort: string;
|
|
995
|
+
tooLong: string;
|
|
996
|
+
rangeUnderflow: string;
|
|
997
|
+
rangeOverflow: string;
|
|
998
|
+
stepMismatch: string;
|
|
999
|
+
badInput: string;
|
|
1000
|
+
invalid: string;
|
|
1001
|
+
};
|
|
1002
|
+
Loading: {
|
|
1003
|
+
loadingPage: string;
|
|
1004
|
+
pleaseWait: string;
|
|
1005
|
+
};
|
|
1006
|
+
DatePicker: {
|
|
1007
|
+
placeholder: string;
|
|
1008
|
+
today: string;
|
|
1009
|
+
clear: string;
|
|
1010
|
+
};
|
|
1011
|
+
Pagination: {
|
|
1012
|
+
navigationLabel: string;
|
|
1013
|
+
showingResults: string;
|
|
1014
|
+
firstPage: string;
|
|
1015
|
+
previousPage: string;
|
|
1016
|
+
previous: string;
|
|
1017
|
+
nextPage: string;
|
|
1018
|
+
next: string;
|
|
1019
|
+
lastPage: string;
|
|
1020
|
+
pageNumber: string;
|
|
1021
|
+
itemsPerPage: string;
|
|
1022
|
+
search: string;
|
|
1023
|
+
noOptions: string;
|
|
1024
|
+
};
|
|
1025
|
+
OCR: {
|
|
1026
|
+
imageUpload: {
|
|
1027
|
+
dragDropText: string;
|
|
1028
|
+
browseFiles: string;
|
|
1029
|
+
supportedFormats: string;
|
|
1030
|
+
};
|
|
1031
|
+
};
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
type UnderverseLocale = keyof typeof underverseMessages;
|
|
1035
|
+
declare function getUnderverseMessages(locale?: UnderverseLocale): {
|
|
1036
|
+
Common: {
|
|
1037
|
+
close: string;
|
|
1038
|
+
closeAlert: string;
|
|
1039
|
+
notifications: string;
|
|
1040
|
+
newNotification: string;
|
|
1041
|
+
readStatus: string;
|
|
1042
|
+
openLink: string;
|
|
1043
|
+
theme: string;
|
|
1044
|
+
lightTheme: string;
|
|
1045
|
+
darkTheme: string;
|
|
1046
|
+
systemTheme: string;
|
|
1047
|
+
density: string;
|
|
1048
|
+
compact: string;
|
|
1049
|
+
normal: string;
|
|
1050
|
+
comfortable: string;
|
|
1051
|
+
columns: string;
|
|
1052
|
+
};
|
|
1053
|
+
ValidationInput: {
|
|
1054
|
+
required: string;
|
|
1055
|
+
typeMismatch: string;
|
|
1056
|
+
pattern: string;
|
|
1057
|
+
tooShort: string;
|
|
1058
|
+
tooLong: string;
|
|
1059
|
+
rangeUnderflow: string;
|
|
1060
|
+
rangeOverflow: string;
|
|
1061
|
+
stepMismatch: string;
|
|
1062
|
+
badInput: string;
|
|
1063
|
+
invalid: string;
|
|
1064
|
+
};
|
|
1065
|
+
Loading: {
|
|
1066
|
+
loadingPage: string;
|
|
1067
|
+
pleaseWait: string;
|
|
1068
|
+
};
|
|
1069
|
+
DatePicker: {
|
|
1070
|
+
placeholder: string;
|
|
1071
|
+
today: string;
|
|
1072
|
+
clear: string;
|
|
1073
|
+
};
|
|
1074
|
+
Pagination: {
|
|
1075
|
+
navigationLabel: string;
|
|
1076
|
+
showingResults: string;
|
|
1077
|
+
firstPage: string;
|
|
1078
|
+
previousPage: string;
|
|
1079
|
+
previous: string;
|
|
1080
|
+
nextPage: string;
|
|
1081
|
+
next: string;
|
|
1082
|
+
lastPage: string;
|
|
1083
|
+
pageNumber: string;
|
|
1084
|
+
itemsPerPage: string;
|
|
1085
|
+
search: string;
|
|
1086
|
+
noOptions: string;
|
|
1087
|
+
};
|
|
1088
|
+
OCR: {
|
|
1089
|
+
imageUpload: {
|
|
1090
|
+
dragDropText: string;
|
|
1091
|
+
browseFiles: string;
|
|
1092
|
+
supportedFormats: string;
|
|
1093
|
+
};
|
|
1094
|
+
};
|
|
1095
|
+
} | {
|
|
1096
|
+
Common: {
|
|
1097
|
+
close: string;
|
|
1098
|
+
closeAlert: string;
|
|
1099
|
+
notifications: string;
|
|
1100
|
+
newNotification: string;
|
|
1101
|
+
readStatus: string;
|
|
1102
|
+
openLink: string;
|
|
1103
|
+
theme: string;
|
|
1104
|
+
lightTheme: string;
|
|
1105
|
+
darkTheme: string;
|
|
1106
|
+
systemTheme: string;
|
|
1107
|
+
density: string;
|
|
1108
|
+
compact: string;
|
|
1109
|
+
normal: string;
|
|
1110
|
+
comfortable: string;
|
|
1111
|
+
columns: string;
|
|
1112
|
+
};
|
|
1113
|
+
ValidationInput: {
|
|
1114
|
+
required: string;
|
|
1115
|
+
typeMismatch: string;
|
|
1116
|
+
pattern: string;
|
|
1117
|
+
tooShort: string;
|
|
1118
|
+
tooLong: string;
|
|
1119
|
+
rangeUnderflow: string;
|
|
1120
|
+
rangeOverflow: string;
|
|
1121
|
+
stepMismatch: string;
|
|
1122
|
+
badInput: string;
|
|
1123
|
+
invalid: string;
|
|
1124
|
+
};
|
|
1125
|
+
Loading: {
|
|
1126
|
+
loadingPage: string;
|
|
1127
|
+
pleaseWait: string;
|
|
1128
|
+
};
|
|
1129
|
+
DatePicker: {
|
|
1130
|
+
placeholder: string;
|
|
1131
|
+
today: string;
|
|
1132
|
+
clear: string;
|
|
1133
|
+
};
|
|
1134
|
+
Pagination: {
|
|
1135
|
+
navigationLabel: string;
|
|
1136
|
+
showingResults: string;
|
|
1137
|
+
firstPage: string;
|
|
1138
|
+
previousPage: string;
|
|
1139
|
+
previous: string;
|
|
1140
|
+
nextPage: string;
|
|
1141
|
+
next: string;
|
|
1142
|
+
lastPage: string;
|
|
1143
|
+
pageNumber: string;
|
|
1144
|
+
itemsPerPage: string;
|
|
1145
|
+
search: string;
|
|
1146
|
+
noOptions: string;
|
|
1147
|
+
};
|
|
1148
|
+
OCR: {
|
|
1149
|
+
imageUpload: {
|
|
1150
|
+
dragDropText: string;
|
|
1151
|
+
browseFiles: string;
|
|
1152
|
+
supportedFormats: string;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
};
|
|
1156
|
+
|
|
1157
|
+
export { AccessDenied, Alert, Avatar, Badge, Badge as BadgeBase, BottomSheet, Breadcrumb, Button, ButtonLoading, Card, Carousel, CategoryTreeSelect, Checkbox, ClientOnly, Combobox, DataTable, DatePicker, date as DateUtils, Drawer, DropdownMenu, FloatingContacts, GlobalLoading, GradientBadge, ImageUpload, InlineLoading, Input, InteractiveBadge, Label, LoadingBar, LoadingDots, LoadingSpinner, Modal, MultiCombobox, NotificationBadge, NotificationModal, PageLoading, Pagination, PillTabs, Popover, Progress, PulseBadge, RadioGroup, SIZE_STYLES_BTN, ScrollArea, Section, Sheet, SidebarSheet, SimpleTabs, Skeleton, SlideOver, Slider, SmartImage, StatusBadge, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TagBadge, Textarea, ToastProvider, Tooltip, type UnderverseLocale, VARIANT_STYLES_ALERT, VARIANT_STYLES_BTN, VerticalTabs, cn, getUnderverseMessages, underverseMessages, useToast };
|