@uzum-tech/ui 1.8.2 → 1.9.0
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/dist/index.js +659 -115
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/es/_internal/scrollbar/src/Scrollbar.js +120 -67
- package/es/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/es/_internal/scrollbar/styles/common.d.ts +7 -0
- package/es/_internal/scrollbar/styles/common.js +7 -0
- package/es/_internal/scrollbar/styles/light.d.ts +8 -0
- package/es/_internal/scrollbar/styles/light.js +3 -5
- package/es/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/es/_internal/select-menu/styles/light.d.ts +8 -0
- package/es/_internal/selection/src/Selection.d.ts +3 -1
- package/es/_internal/selection/src/Selection.js +3 -1
- package/es/_utils/css/index.d.ts +1 -0
- package/es/_utils/css/index.js +1 -0
- package/es/_utils/css/rtl-inset.d.ts +1 -0
- package/es/_utils/css/rtl-inset.js +5 -0
- package/es/_utils/index.d.ts +1 -1
- package/es/_utils/index.js +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +88 -0
- package/es/auto-complete/styles/light.d.ts +8 -0
- package/es/back-top/src/BackTop.d.ts +1 -1
- package/es/cascader/src/Cascader.d.ts +168 -0
- package/es/cascader/src/CascaderMenu.d.ts +24 -0
- package/es/cascader/src/CascaderOption.d.ts +24 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/es/cascader/styles/light.d.ts +16 -0
- package/es/chat/src/Chat.d.ts +88 -0
- package/es/chat/src/ChatListItems.d.ts +104 -0
- package/es/chat/src/ChatMessages.d.ts +104 -0
- package/es/chat/styles/dark.d.ts +8 -0
- package/es/chat/styles/light.d.ts +8 -0
- package/es/components.d.ts +2 -0
- package/es/components.js +2 -0
- package/es/data-table/src/DataTable.d.ts +184 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +40 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +40 -0
- package/es/data-table/src/TableParts/Body.d.ts +41 -1
- package/es/data-table/src/TableParts/Header.d.ts +40 -0
- package/es/data-table/src/interface.d.ts +72 -0
- package/es/data-table/styles/light.d.ts +24 -0
- package/es/date-picker/src/DatePicker.d.ts +171 -3
- package/es/date-picker/src/panel/date.d.ts +25 -1
- package/es/date-picker/src/panel/daterange.d.ts +26 -2
- package/es/date-picker/src/panel/datetime.d.ts +25 -1
- package/es/date-picker/src/panel/datetimerange.d.ts +26 -2
- package/es/date-picker/src/panel/panelMonth.d.ts +50 -2
- package/es/date-picker/src/panel/panelMonthContent.d.ts +25 -1
- package/es/date-picker/src/panel/panelYear.d.ts +50 -2
- package/es/date-picker/src/panel/panelYearContent.d.ts +25 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +24 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +24 -0
- package/es/date-picker/styles/light.d.ts +16 -0
- package/es/dialog/src/DialogProvider.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +81 -1
- package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/es/drawer/src/DrawerContent.d.ts +8 -0
- package/es/drawer/styles/light.d.ts +8 -0
- package/es/dropdown/src/Dropdown.d.ts +1 -1
- package/es/infinite-scroll/index.d.ts +2 -0
- package/es/infinite-scroll/index.js +1 -0
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/es/infinite-scroll/src/InfiniteScroll.js +78 -0
- package/es/layout/src/Layout.d.ts +112 -0
- package/es/layout/src/LayoutContent.d.ts +56 -0
- package/es/layout/src/LayoutFooter.d.ts +72 -0
- package/es/layout/src/LayoutHeader.d.ts +48 -0
- package/es/layout/src/LayoutSider.d.ts +56 -0
- package/es/layout/styles/light.d.ts +8 -0
- package/es/legacy-transfer/src/Transfer.d.ts +80 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +8 -0
- package/es/legacy-transfer/src/TransferList.d.ts +9 -1
- package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/es/legacy-transfer/styles/light.d.ts +8 -0
- package/es/log/src/Log.d.ts +80 -0
- package/es/log/styles/light.d.ts +8 -0
- package/es/mention/src/Mention.d.ts +88 -0
- package/es/mention/styles/light.d.ts +8 -0
- package/es/menu/src/Menu.d.ts +1 -1
- package/es/modal/src/BodyWrapper.d.ts +9 -1
- package/es/modal/src/Modal.d.ts +73 -1
- package/es/modal/styles/light.d.ts +8 -0
- package/es/notification/src/NotificationContainer.d.ts +8 -0
- package/es/notification/src/NotificationProvider.d.ts +72 -0
- package/es/notification/styles/light.d.ts +8 -0
- package/es/pagination/src/Pagination.d.ts +176 -0
- package/es/pagination/styles/light.d.ts +16 -0
- package/es/popselect/src/Popselect.d.ts +88 -0
- package/es/popselect/src/PopselectPanel.d.ts +16 -0
- package/es/popselect/styles/light.d.ts +8 -0
- package/es/scrollbar/src/Scrollbar.d.ts +72 -0
- package/es/select/src/Select.d.ts +88 -0
- package/es/select/styles/light.d.ts +8 -0
- package/es/time-picker/src/Panel.d.ts +8 -0
- package/es/time-picker/src/TimePicker.d.ts +80 -0
- package/es/time-picker/styles/light.d.ts +8 -0
- package/es/transfer/src/Transfer.d.ts +80 -0
- package/es/transfer/src/TransferFilter.d.ts +8 -0
- package/es/transfer/src/TransferList.d.ts +9 -1
- package/es/transfer/src/TransferListItem.d.ts +8 -0
- package/es/transfer/styles/light.d.ts +8 -0
- package/es/tree/src/Tree.d.ts +82 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/es/tree/styles/light.d.ts +8 -0
- package/es/tree-select/src/TreeSelect.d.ts +89 -1
- package/es/tree-select/styles/light.d.ts +8 -0
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/es/virtual-list/index.d.ts +2 -0
- package/es/virtual-list/index.js +1 -0
- package/es/virtual-list/src/VirtualList.d.ts +146 -0
- package/es/virtual-list/src/VirtualList.js +103 -0
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
- package/lib/_internal/scrollbar/src/Scrollbar.js +117 -64
- package/lib/_internal/scrollbar/src/styles/index.cssr.js +32 -15
- package/lib/_internal/scrollbar/styles/common.d.ts +7 -0
- package/lib/_internal/scrollbar/styles/common.js +10 -0
- package/lib/_internal/scrollbar/styles/light.d.ts +8 -0
- package/lib/_internal/scrollbar/styles/light.js +3 -5
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +57 -1
- package/lib/_internal/select-menu/styles/light.d.ts +8 -0
- package/lib/_internal/selection/src/Selection.d.ts +3 -1
- package/lib/_internal/selection/src/Selection.js +3 -1
- package/lib/_utils/css/index.d.ts +1 -0
- package/lib/_utils/css/index.js +3 -1
- package/lib/_utils/css/rtl-inset.d.ts +1 -0
- package/lib/_utils/css/rtl-inset.js +8 -0
- package/lib/_utils/index.d.ts +1 -1
- package/lib/_utils/index.js +2 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +88 -0
- package/lib/auto-complete/styles/light.d.ts +8 -0
- package/lib/back-top/src/BackTop.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +168 -0
- package/lib/cascader/src/CascaderMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderOption.d.ts +24 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +24 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +25 -1
- package/lib/cascader/styles/light.d.ts +16 -0
- package/lib/chat/src/Chat.d.ts +88 -0
- package/lib/chat/src/ChatListItems.d.ts +104 -0
- package/lib/chat/src/ChatMessages.d.ts +104 -0
- package/lib/chat/styles/dark.d.ts +8 -0
- package/lib/chat/styles/light.d.ts +8 -0
- package/lib/components.d.ts +2 -0
- package/lib/components.js +2 -0
- package/lib/data-table/src/DataTable.d.ts +184 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +40 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +40 -0
- package/lib/data-table/src/TableParts/Body.d.ts +41 -1
- package/lib/data-table/src/TableParts/Header.d.ts +40 -0
- package/lib/data-table/src/interface.d.ts +72 -0
- package/lib/data-table/styles/light.d.ts +24 -0
- package/lib/date-picker/src/DatePicker.d.ts +171 -3
- package/lib/date-picker/src/panel/date.d.ts +25 -1
- package/lib/date-picker/src/panel/daterange.d.ts +26 -2
- package/lib/date-picker/src/panel/datetime.d.ts +25 -1
- package/lib/date-picker/src/panel/datetimerange.d.ts +26 -2
- package/lib/date-picker/src/panel/panelMonth.d.ts +50 -2
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +25 -1
- package/lib/date-picker/src/panel/panelYear.d.ts +50 -2
- package/lib/date-picker/src/panel/panelYearContent.d.ts +25 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +24 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +24 -0
- package/lib/date-picker/styles/light.d.ts +16 -0
- package/lib/dialog/src/DialogProvider.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +81 -1
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
- package/lib/drawer/src/DrawerContent.d.ts +8 -0
- package/lib/drawer/styles/light.d.ts +8 -0
- package/lib/dropdown/src/Dropdown.d.ts +1 -1
- package/lib/infinite-scroll/index.d.ts +2 -0
- package/lib/infinite-scroll/index.js +9 -0
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
- package/lib/infinite-scroll/src/InfiniteScroll.js +81 -0
- package/lib/layout/src/Layout.d.ts +112 -0
- package/lib/layout/src/LayoutContent.d.ts +56 -0
- package/lib/layout/src/LayoutFooter.d.ts +72 -0
- package/lib/layout/src/LayoutHeader.d.ts +48 -0
- package/lib/layout/src/LayoutSider.d.ts +56 -0
- package/lib/layout/styles/light.d.ts +8 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +80 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +8 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +9 -1
- package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/lib/legacy-transfer/styles/light.d.ts +8 -0
- package/lib/log/src/Log.d.ts +80 -0
- package/lib/log/styles/light.d.ts +8 -0
- package/lib/mention/src/Mention.d.ts +88 -0
- package/lib/mention/styles/light.d.ts +8 -0
- package/lib/menu/src/Menu.d.ts +1 -1
- package/lib/modal/src/BodyWrapper.d.ts +9 -1
- package/lib/modal/src/Modal.d.ts +73 -1
- package/lib/modal/styles/light.d.ts +8 -0
- package/lib/notification/src/NotificationContainer.d.ts +8 -0
- package/lib/notification/src/NotificationProvider.d.ts +72 -0
- package/lib/notification/styles/light.d.ts +8 -0
- package/lib/pagination/src/Pagination.d.ts +176 -0
- package/lib/pagination/styles/light.d.ts +16 -0
- package/lib/popselect/src/Popselect.d.ts +88 -0
- package/lib/popselect/src/PopselectPanel.d.ts +16 -0
- package/lib/popselect/styles/light.d.ts +8 -0
- package/lib/scrollbar/src/Scrollbar.d.ts +72 -0
- package/lib/select/src/Select.d.ts +88 -0
- package/lib/select/styles/light.d.ts +8 -0
- package/lib/time-picker/src/Panel.d.ts +8 -0
- package/lib/time-picker/src/TimePicker.d.ts +80 -0
- package/lib/time-picker/styles/light.d.ts +8 -0
- package/lib/transfer/src/Transfer.d.ts +80 -0
- package/lib/transfer/src/TransferFilter.d.ts +8 -0
- package/lib/transfer/src/TransferList.d.ts +9 -1
- package/lib/transfer/src/TransferListItem.d.ts +8 -0
- package/lib/transfer/styles/light.d.ts +8 -0
- package/lib/tree/src/Tree.d.ts +82 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +8 -0
- package/lib/tree/styles/light.d.ts +8 -0
- package/lib/tree-select/src/TreeSelect.d.ts +89 -1
- package/lib/tree-select/styles/light.d.ts +8 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/index.d.ts +2 -0
- package/lib/virtual-list/index.js +9 -0
- package/lib/virtual-list/src/VirtualList.d.ts +146 -0
- package/lib/virtual-list/src/VirtualList.js +106 -0
- package/package.json +2 -2
- package/volar.d.ts +1 -0
- package/web-types.json +30 -1
|
@@ -195,8 +195,16 @@ export declare const treeSelectProps: {
|
|
|
195
195
|
labelPadding: string;
|
|
196
196
|
}, any>;
|
|
197
197
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
198
|
+
height: string;
|
|
199
|
+
width: string;
|
|
200
|
+
borderRadius: string;
|
|
198
201
|
color: string;
|
|
199
202
|
colorHover: string;
|
|
203
|
+
railInsetHorizontalBottom: string;
|
|
204
|
+
railInsetHorizontalTop: string;
|
|
205
|
+
railInsetVerticalRight: string;
|
|
206
|
+
railInsetVerticalLeft: string;
|
|
207
|
+
railColor: string;
|
|
200
208
|
}, any>;
|
|
201
209
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
202
210
|
iconSizeSmall: string;
|
|
@@ -439,8 +447,16 @@ export declare const treeSelectProps: {
|
|
|
439
447
|
labelPadding: string;
|
|
440
448
|
}, any>;
|
|
441
449
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
450
|
+
height: string;
|
|
451
|
+
width: string;
|
|
452
|
+
borderRadius: string;
|
|
442
453
|
color: string;
|
|
443
454
|
colorHover: string;
|
|
455
|
+
railInsetHorizontalBottom: string;
|
|
456
|
+
railInsetHorizontalTop: string;
|
|
457
|
+
railInsetVerticalRight: string;
|
|
458
|
+
railInsetVerticalLeft: string;
|
|
459
|
+
railColor: string;
|
|
444
460
|
}, any>;
|
|
445
461
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
446
462
|
iconSizeSmall: string;
|
|
@@ -683,8 +699,16 @@ export declare const treeSelectProps: {
|
|
|
683
699
|
labelPadding: string;
|
|
684
700
|
}, any>;
|
|
685
701
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
702
|
+
height: string;
|
|
703
|
+
width: string;
|
|
704
|
+
borderRadius: string;
|
|
686
705
|
color: string;
|
|
687
706
|
colorHover: string;
|
|
707
|
+
railInsetHorizontalBottom: string;
|
|
708
|
+
railInsetHorizontalTop: string;
|
|
709
|
+
railInsetVerticalRight: string;
|
|
710
|
+
railInsetVerticalLeft: string;
|
|
711
|
+
railColor: string;
|
|
688
712
|
}, any>;
|
|
689
713
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
690
714
|
iconSizeSmall: string;
|
|
@@ -1038,8 +1062,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1038
1062
|
labelPadding: string;
|
|
1039
1063
|
}, any>;
|
|
1040
1064
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1065
|
+
height: string;
|
|
1066
|
+
width: string;
|
|
1067
|
+
borderRadius: string;
|
|
1041
1068
|
color: string;
|
|
1042
1069
|
colorHover: string;
|
|
1070
|
+
railInsetHorizontalBottom: string;
|
|
1071
|
+
railInsetHorizontalTop: string;
|
|
1072
|
+
railInsetVerticalRight: string;
|
|
1073
|
+
railInsetVerticalLeft: string;
|
|
1074
|
+
railColor: string;
|
|
1043
1075
|
}, any>;
|
|
1044
1076
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1045
1077
|
iconSizeSmall: string;
|
|
@@ -1282,8 +1314,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1282
1314
|
labelPadding: string;
|
|
1283
1315
|
}, any>;
|
|
1284
1316
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1317
|
+
height: string;
|
|
1318
|
+
width: string;
|
|
1319
|
+
borderRadius: string;
|
|
1285
1320
|
color: string;
|
|
1286
1321
|
colorHover: string;
|
|
1322
|
+
railInsetHorizontalBottom: string;
|
|
1323
|
+
railInsetHorizontalTop: string;
|
|
1324
|
+
railInsetVerticalRight: string;
|
|
1325
|
+
railInsetVerticalLeft: string;
|
|
1326
|
+
railColor: string;
|
|
1287
1327
|
}, any>;
|
|
1288
1328
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1289
1329
|
iconSizeSmall: string;
|
|
@@ -1526,8 +1566,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1526
1566
|
labelPadding: string;
|
|
1527
1567
|
}, any>;
|
|
1528
1568
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1569
|
+
height: string;
|
|
1570
|
+
width: string;
|
|
1571
|
+
borderRadius: string;
|
|
1529
1572
|
color: string;
|
|
1530
1573
|
colorHover: string;
|
|
1574
|
+
railInsetHorizontalBottom: string;
|
|
1575
|
+
railInsetHorizontalTop: string;
|
|
1576
|
+
railInsetVerticalRight: string;
|
|
1577
|
+
railInsetVerticalLeft: string;
|
|
1578
|
+
railColor: string;
|
|
1531
1579
|
}, any>;
|
|
1532
1580
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1533
1581
|
iconSizeSmall: string;
|
|
@@ -1840,8 +1888,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1840
1888
|
labelPadding: string;
|
|
1841
1889
|
}, any>;
|
|
1842
1890
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
1891
|
+
height: string;
|
|
1892
|
+
width: string;
|
|
1893
|
+
borderRadius: string;
|
|
1843
1894
|
color: string;
|
|
1844
1895
|
colorHover: string;
|
|
1896
|
+
railInsetHorizontalBottom: string;
|
|
1897
|
+
railInsetHorizontalTop: string;
|
|
1898
|
+
railInsetVerticalRight: string;
|
|
1899
|
+
railInsetVerticalLeft: string;
|
|
1900
|
+
railColor: string;
|
|
1845
1901
|
}, any>;
|
|
1846
1902
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
1847
1903
|
iconSizeSmall: string;
|
|
@@ -2062,8 +2118,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2062
2118
|
labelPadding: string;
|
|
2063
2119
|
}, any>> | undefined;
|
|
2064
2120
|
Scrollbar?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Scrollbar", {
|
|
2121
|
+
height: string;
|
|
2122
|
+
width: string;
|
|
2123
|
+
borderRadius: string;
|
|
2065
2124
|
color: string;
|
|
2066
2125
|
colorHover: string;
|
|
2126
|
+
railInsetHorizontalBottom: string;
|
|
2127
|
+
railInsetHorizontalTop: string;
|
|
2128
|
+
railInsetVerticalRight: string;
|
|
2129
|
+
railInsetVerticalLeft: string;
|
|
2130
|
+
railColor: string;
|
|
2067
2131
|
}, any>> | undefined;
|
|
2068
2132
|
Empty?: import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Empty", {
|
|
2069
2133
|
iconSizeSmall: string;
|
|
@@ -2322,8 +2386,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2322
2386
|
labelPadding: string;
|
|
2323
2387
|
}, any>;
|
|
2324
2388
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2389
|
+
height: string;
|
|
2390
|
+
width: string;
|
|
2391
|
+
borderRadius: string;
|
|
2325
2392
|
color: string;
|
|
2326
2393
|
colorHover: string;
|
|
2394
|
+
railInsetHorizontalBottom: string;
|
|
2395
|
+
railInsetHorizontalTop: string;
|
|
2396
|
+
railInsetVerticalRight: string;
|
|
2397
|
+
railInsetVerticalLeft: string;
|
|
2398
|
+
railColor: string;
|
|
2327
2399
|
}, any>;
|
|
2328
2400
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2329
2401
|
iconSizeSmall: string;
|
|
@@ -2566,8 +2638,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2566
2638
|
labelPadding: string;
|
|
2567
2639
|
}, any>;
|
|
2568
2640
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2641
|
+
height: string;
|
|
2642
|
+
width: string;
|
|
2643
|
+
borderRadius: string;
|
|
2569
2644
|
color: string;
|
|
2570
2645
|
colorHover: string;
|
|
2646
|
+
railInsetHorizontalBottom: string;
|
|
2647
|
+
railInsetHorizontalTop: string;
|
|
2648
|
+
railInsetVerticalRight: string;
|
|
2649
|
+
railInsetVerticalLeft: string;
|
|
2650
|
+
railColor: string;
|
|
2571
2651
|
}, any>;
|
|
2572
2652
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2573
2653
|
iconSizeSmall: string;
|
|
@@ -2810,8 +2890,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2810
2890
|
labelPadding: string;
|
|
2811
2891
|
}, any>;
|
|
2812
2892
|
Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
|
|
2893
|
+
height: string;
|
|
2894
|
+
width: string;
|
|
2895
|
+
borderRadius: string;
|
|
2813
2896
|
color: string;
|
|
2814
2897
|
colorHover: string;
|
|
2898
|
+
railInsetHorizontalBottom: string;
|
|
2899
|
+
railInsetHorizontalTop: string;
|
|
2900
|
+
railInsetVerticalRight: string;
|
|
2901
|
+
railInsetVerticalLeft: string;
|
|
2902
|
+
railColor: string;
|
|
2815
2903
|
}, any>;
|
|
2816
2904
|
Empty: import("../../_mixins").Theme<"Empty", {
|
|
2817
2905
|
iconSizeSmall: string;
|
|
@@ -2986,7 +3074,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2986
3074
|
readonly multiple: boolean;
|
|
2987
3075
|
readonly labelField: string;
|
|
2988
3076
|
readonly virtualScroll: boolean;
|
|
2989
|
-
readonly keyField: string;
|
|
2990
3077
|
readonly checkable: boolean;
|
|
2991
3078
|
readonly placement: FollowerPlacement;
|
|
2992
3079
|
readonly defaultShow: boolean;
|
|
@@ -3000,6 +3087,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3000
3087
|
readonly defaultExpandAll: boolean;
|
|
3001
3088
|
readonly allowCheckingNotLoaded: boolean;
|
|
3002
3089
|
readonly cascade: boolean;
|
|
3090
|
+
readonly keyField: string;
|
|
3003
3091
|
readonly checkStrategy: CheckStrategy;
|
|
3004
3092
|
readonly disabledField: string;
|
|
3005
3093
|
readonly leafOnly: boolean;
|
|
@@ -88,8 +88,16 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
|
|
|
88
88
|
labelPadding: string;
|
|
89
89
|
}, any>;
|
|
90
90
|
Scrollbar: import("../../_mixins/use-theme").Theme<"Scrollbar", {
|
|
91
|
+
height: string;
|
|
92
|
+
width: string;
|
|
93
|
+
borderRadius: string;
|
|
91
94
|
color: string;
|
|
92
95
|
colorHover: string;
|
|
96
|
+
railInsetHorizontalBottom: string;
|
|
97
|
+
railInsetHorizontalTop: string;
|
|
98
|
+
railInsetVerticalRight: string;
|
|
99
|
+
railInsetVerticalLeft: string;
|
|
100
|
+
railColor: string;
|
|
93
101
|
}, any>;
|
|
94
102
|
Empty: import("../../_mixins/use-theme").Theme<"Empty", {
|
|
95
103
|
iconSizeSmall: string;
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "1.
|
|
1
|
+
declare const _default: "1.9.0";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.virtualListProps = exports.NVirtualList = void 0;
|
|
7
|
+
var VirtualList_1 = require("./src/VirtualList");
|
|
8
|
+
Object.defineProperty(exports, "NVirtualList", { enumerable: true, get: function () { return __importDefault(VirtualList_1).default; } });
|
|
9
|
+
Object.defineProperty(exports, "virtualListProps", { enumerable: true, get: function () { return VirtualList_1.virtualListProps; } });
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
2
|
+
import type { VirtualListItemData, VirtualListScrollToOptions } from 'vueuc';
|
|
3
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
4
|
+
import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar';
|
|
5
|
+
export { type VirtualListInst } from 'vueuc';
|
|
6
|
+
export declare const virtualListProps: {
|
|
7
|
+
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
8
|
+
readonly items: {
|
|
9
|
+
readonly type: PropType<VirtualListItemData[]>;
|
|
10
|
+
readonly default: () => never[];
|
|
11
|
+
};
|
|
12
|
+
readonly itemSize: {
|
|
13
|
+
readonly type: NumberConstructor;
|
|
14
|
+
readonly required: true;
|
|
15
|
+
};
|
|
16
|
+
readonly itemResizable: BooleanConstructor;
|
|
17
|
+
readonly itemsStyle: PropType<string | CSSProperties>;
|
|
18
|
+
readonly visibleItemsTag: {
|
|
19
|
+
readonly type: PropType<string | object>;
|
|
20
|
+
readonly default: "div";
|
|
21
|
+
};
|
|
22
|
+
readonly visibleItemsProps: ObjectConstructor;
|
|
23
|
+
readonly ignoreItemResize: BooleanConstructor;
|
|
24
|
+
readonly onScroll: PropType<(event: Event) => void>;
|
|
25
|
+
readonly onWheel: PropType<(event: WheelEvent) => void>;
|
|
26
|
+
readonly onResize: PropType<(entry: ResizeObserverEntry) => void>;
|
|
27
|
+
readonly defaultScrollKey: PropType<number | string>;
|
|
28
|
+
readonly defaultScrollIndex: NumberConstructor;
|
|
29
|
+
readonly keyField: {
|
|
30
|
+
readonly type: StringConstructor;
|
|
31
|
+
readonly default: "key";
|
|
32
|
+
};
|
|
33
|
+
readonly paddingTop: {
|
|
34
|
+
readonly type: PropType<number | string>;
|
|
35
|
+
readonly default: 0;
|
|
36
|
+
};
|
|
37
|
+
readonly paddingBottom: {
|
|
38
|
+
readonly type: PropType<number | string>;
|
|
39
|
+
readonly default: 0;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
export type VirtualListProps = ExtractPublicPropTypes<typeof virtualListProps>;
|
|
43
|
+
declare const _default: import("vue").DefineComponent<{
|
|
44
|
+
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
45
|
+
readonly items: {
|
|
46
|
+
readonly type: PropType<VirtualListItemData[]>;
|
|
47
|
+
readonly default: () => never[];
|
|
48
|
+
};
|
|
49
|
+
readonly itemSize: {
|
|
50
|
+
readonly type: NumberConstructor;
|
|
51
|
+
readonly required: true;
|
|
52
|
+
};
|
|
53
|
+
readonly itemResizable: BooleanConstructor;
|
|
54
|
+
readonly itemsStyle: PropType<string | CSSProperties>;
|
|
55
|
+
readonly visibleItemsTag: {
|
|
56
|
+
readonly type: PropType<string | object>;
|
|
57
|
+
readonly default: "div";
|
|
58
|
+
};
|
|
59
|
+
readonly visibleItemsProps: ObjectConstructor;
|
|
60
|
+
readonly ignoreItemResize: BooleanConstructor;
|
|
61
|
+
readonly onScroll: PropType<(event: Event) => void>;
|
|
62
|
+
readonly onWheel: PropType<(event: WheelEvent) => void>;
|
|
63
|
+
readonly onResize: PropType<(entry: ResizeObserverEntry) => void>;
|
|
64
|
+
readonly defaultScrollKey: PropType<number | string>;
|
|
65
|
+
readonly defaultScrollIndex: NumberConstructor;
|
|
66
|
+
readonly keyField: {
|
|
67
|
+
readonly type: StringConstructor;
|
|
68
|
+
readonly default: "key";
|
|
69
|
+
};
|
|
70
|
+
readonly paddingTop: {
|
|
71
|
+
readonly type: PropType<number | string>;
|
|
72
|
+
readonly default: 0;
|
|
73
|
+
};
|
|
74
|
+
readonly paddingBottom: {
|
|
75
|
+
readonly type: PropType<number | string>;
|
|
76
|
+
readonly default: 0;
|
|
77
|
+
};
|
|
78
|
+
}, {
|
|
79
|
+
scrollTo: (options: VirtualListScrollToOptions | number, y?: number) => void;
|
|
80
|
+
scrollbarInstRef: import("vue").Ref<{
|
|
81
|
+
$el: HTMLElement;
|
|
82
|
+
containerRef: HTMLElement | null;
|
|
83
|
+
contentRef: HTMLElement | null;
|
|
84
|
+
containerScrollTop: number;
|
|
85
|
+
syncUnifiedContainer: () => void;
|
|
86
|
+
scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo;
|
|
87
|
+
scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy;
|
|
88
|
+
sync: () => void;
|
|
89
|
+
handleMouseEnterWrapper: () => void;
|
|
90
|
+
handleMouseLeaveWrapper: () => void;
|
|
91
|
+
} | null>;
|
|
92
|
+
virtualListInstRef: import("vue").Ref<{
|
|
93
|
+
listElRef: HTMLElement;
|
|
94
|
+
itemsElRef: HTMLElement | null;
|
|
95
|
+
scrollTo: import("vueuc").VVirtualListScrollTo;
|
|
96
|
+
} | null>;
|
|
97
|
+
getScrollContainer: () => HTMLElement | null | undefined;
|
|
98
|
+
getScrollContent: () => HTMLElement | null | undefined;
|
|
99
|
+
handleScroll: (e: Event) => void;
|
|
100
|
+
handleResize: (e: ResizeObserverEntry) => void;
|
|
101
|
+
handleWheel: (e: WheelEvent) => void;
|
|
102
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
103
|
+
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
104
|
+
readonly items: {
|
|
105
|
+
readonly type: PropType<VirtualListItemData[]>;
|
|
106
|
+
readonly default: () => never[];
|
|
107
|
+
};
|
|
108
|
+
readonly itemSize: {
|
|
109
|
+
readonly type: NumberConstructor;
|
|
110
|
+
readonly required: true;
|
|
111
|
+
};
|
|
112
|
+
readonly itemResizable: BooleanConstructor;
|
|
113
|
+
readonly itemsStyle: PropType<string | CSSProperties>;
|
|
114
|
+
readonly visibleItemsTag: {
|
|
115
|
+
readonly type: PropType<string | object>;
|
|
116
|
+
readonly default: "div";
|
|
117
|
+
};
|
|
118
|
+
readonly visibleItemsProps: ObjectConstructor;
|
|
119
|
+
readonly ignoreItemResize: BooleanConstructor;
|
|
120
|
+
readonly onScroll: PropType<(event: Event) => void>;
|
|
121
|
+
readonly onWheel: PropType<(event: WheelEvent) => void>;
|
|
122
|
+
readonly onResize: PropType<(entry: ResizeObserverEntry) => void>;
|
|
123
|
+
readonly defaultScrollKey: PropType<number | string>;
|
|
124
|
+
readonly defaultScrollIndex: NumberConstructor;
|
|
125
|
+
readonly keyField: {
|
|
126
|
+
readonly type: StringConstructor;
|
|
127
|
+
readonly default: "key";
|
|
128
|
+
};
|
|
129
|
+
readonly paddingTop: {
|
|
130
|
+
readonly type: PropType<number | string>;
|
|
131
|
+
readonly default: 0;
|
|
132
|
+
};
|
|
133
|
+
readonly paddingBottom: {
|
|
134
|
+
readonly type: PropType<number | string>;
|
|
135
|
+
readonly default: 0;
|
|
136
|
+
};
|
|
137
|
+
}>>, {
|
|
138
|
+
readonly paddingBottom: string | number;
|
|
139
|
+
readonly paddingTop: string | number;
|
|
140
|
+
readonly items: VirtualListItemData[];
|
|
141
|
+
readonly keyField: string;
|
|
142
|
+
readonly visibleItemsTag: string | object;
|
|
143
|
+
readonly ignoreItemResize: boolean;
|
|
144
|
+
readonly itemResizable: boolean;
|
|
145
|
+
}, {}>;
|
|
146
|
+
export default _default;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.virtualListProps = void 0;
|
|
4
|
+
const vue_1 = require("vue");
|
|
5
|
+
const vueuc_1 = require("vueuc");
|
|
6
|
+
const _internal_1 = require("../../_internal");
|
|
7
|
+
exports.virtualListProps = {
|
|
8
|
+
scrollbarProps: Object,
|
|
9
|
+
items: {
|
|
10
|
+
type: Array,
|
|
11
|
+
default: () => []
|
|
12
|
+
},
|
|
13
|
+
itemSize: {
|
|
14
|
+
type: Number,
|
|
15
|
+
required: true
|
|
16
|
+
},
|
|
17
|
+
itemResizable: Boolean,
|
|
18
|
+
itemsStyle: [String, Object],
|
|
19
|
+
visibleItemsTag: {
|
|
20
|
+
type: [String, Object],
|
|
21
|
+
default: 'div'
|
|
22
|
+
},
|
|
23
|
+
visibleItemsProps: Object,
|
|
24
|
+
ignoreItemResize: Boolean,
|
|
25
|
+
onScroll: Function,
|
|
26
|
+
onWheel: Function,
|
|
27
|
+
onResize: Function,
|
|
28
|
+
defaultScrollKey: [Number, String],
|
|
29
|
+
defaultScrollIndex: Number,
|
|
30
|
+
keyField: {
|
|
31
|
+
type: String,
|
|
32
|
+
default: 'key'
|
|
33
|
+
},
|
|
34
|
+
paddingTop: {
|
|
35
|
+
type: [Number, String],
|
|
36
|
+
default: 0
|
|
37
|
+
},
|
|
38
|
+
paddingBottom: {
|
|
39
|
+
type: [Number, String],
|
|
40
|
+
default: 0
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.default = (0, vue_1.defineComponent)({
|
|
44
|
+
name: 'VirtualList',
|
|
45
|
+
props: exports.virtualListProps,
|
|
46
|
+
setup(props) {
|
|
47
|
+
const scrollbarInstRef = (0, vue_1.ref)(null);
|
|
48
|
+
const virtualListInstRef = (0, vue_1.ref)(null);
|
|
49
|
+
function syncScrollbar() {
|
|
50
|
+
const { value: scrollbarInst } = scrollbarInstRef;
|
|
51
|
+
if (scrollbarInst) {
|
|
52
|
+
scrollbarInst.sync();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function handleScroll(e) {
|
|
56
|
+
var _a;
|
|
57
|
+
syncScrollbar();
|
|
58
|
+
(_a = props.onScroll) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
59
|
+
}
|
|
60
|
+
function handleResize(e) {
|
|
61
|
+
var _a;
|
|
62
|
+
syncScrollbar();
|
|
63
|
+
(_a = props.onResize) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
64
|
+
}
|
|
65
|
+
function handleWheel(e) {
|
|
66
|
+
var _a;
|
|
67
|
+
(_a = props.onWheel) === null || _a === void 0 ? void 0 : _a.call(props, e);
|
|
68
|
+
}
|
|
69
|
+
function scrollTo(options, y) {
|
|
70
|
+
var _a, _b;
|
|
71
|
+
if (typeof options === 'number') {
|
|
72
|
+
(_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.scrollTo(options, y !== null && y !== void 0 ? y : 0);
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
(_b = virtualListInstRef.value) === null || _b === void 0 ? void 0 : _b.scrollTo(options);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function getScrollContainer() {
|
|
79
|
+
var _a;
|
|
80
|
+
return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.listElRef;
|
|
81
|
+
}
|
|
82
|
+
function getScrollContent() {
|
|
83
|
+
var _a;
|
|
84
|
+
return (_a = virtualListInstRef.value) === null || _a === void 0 ? void 0 : _a.itemsElRef;
|
|
85
|
+
}
|
|
86
|
+
return {
|
|
87
|
+
scrollTo,
|
|
88
|
+
scrollbarInstRef,
|
|
89
|
+
virtualListInstRef,
|
|
90
|
+
getScrollContainer,
|
|
91
|
+
getScrollContent,
|
|
92
|
+
handleScroll,
|
|
93
|
+
handleResize,
|
|
94
|
+
handleWheel
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
render() {
|
|
98
|
+
return ((0, vue_1.h)(_internal_1.UxScrollbar, Object.assign({}, this.scrollbarProps, { ref: "scrollbarInstRef", container: this.getScrollContainer, content: this.getScrollContent }), {
|
|
99
|
+
default: () => {
|
|
100
|
+
return ((0, vue_1.h)(vueuc_1.VVirtualList, { ref: "virtualListInstRef", showScrollbar: false, items: this.items, itemSize: this.itemSize, itemResizable: this.itemResizable, itemsStyle: this.itemsStyle, visibleItemsTag: this.visibleItemsTag, visibleItemsProps: this.visibleItemsProps, ignoreItemResize: this.ignoreItemResize, keyField: this.keyField, defaultScrollKey: this.defaultScrollKey, defaultScrollIndex: this.defaultScrollIndex, paddingTop: this.paddingTop, paddingBottom: this.paddingBottom, onScroll: this.handleScroll, onResize: this.handleResize, onWheel: this.handleWheel }, {
|
|
101
|
+
default: ({ item, index }) => { var _a, _b; return (_b = (_a = this.$slots).default) === null || _b === void 0 ? void 0 : _b.call(_a, { item, index }); }
|
|
102
|
+
}));
|
|
103
|
+
}
|
|
104
|
+
}));
|
|
105
|
+
}
|
|
106
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uzum-tech/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.0",
|
|
4
4
|
"description": "A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -185,7 +185,7 @@
|
|
|
185
185
|
"treemate": "0.3.11",
|
|
186
186
|
"vdirs": "0.1.8",
|
|
187
187
|
"vooks": "0.2.12",
|
|
188
|
-
"vueuc": "0.4.
|
|
188
|
+
"vueuc": "0.4.65"
|
|
189
189
|
},
|
|
190
190
|
"sideEffects": false,
|
|
191
191
|
"homepage": "https://uzum-ui.kapitalbank.uz",
|
package/volar.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ declare module 'vue' {
|
|
|
149
149
|
UChat: typeof import('@uzum-tech/ui')['UChat']
|
|
150
150
|
UChatListItems: typeof import('@uzum-tech/ui')['UChatListItems']
|
|
151
151
|
UChatMessages: typeof import('@uzum-tech/ui')['UChatMessages']
|
|
152
|
+
UInfiniteScroll: typeof import('@uzum-tech/ui')['UInfiniteScroll']
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
155
|
export {}
|
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@uzum-tech/ui",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.9.0",
|
|
6
6
|
"js-types-syntax": "typescript",
|
|
7
7
|
"contributions": {
|
|
8
8
|
"html": {
|
|
@@ -7770,6 +7770,35 @@
|
|
|
7770
7770
|
]
|
|
7771
7771
|
}
|
|
7772
7772
|
},
|
|
7773
|
+
{
|
|
7774
|
+
"name": "UInfiniteScroll",
|
|
7775
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
|
|
7776
|
+
"source": {
|
|
7777
|
+
"symbol": "UInfiniteScroll"
|
|
7778
|
+
},
|
|
7779
|
+
"slots": [],
|
|
7780
|
+
"attributes": [],
|
|
7781
|
+
"props": [
|
|
7782
|
+
{
|
|
7783
|
+
"name": "distance",
|
|
7784
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
|
|
7785
|
+
"type": "number"
|
|
7786
|
+
},
|
|
7787
|
+
{
|
|
7788
|
+
"name": "scrollbar-props",
|
|
7789
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll",
|
|
7790
|
+
"type": "object"
|
|
7791
|
+
}
|
|
7792
|
+
],
|
|
7793
|
+
"js": {
|
|
7794
|
+
"events": [
|
|
7795
|
+
{
|
|
7796
|
+
"name": "load",
|
|
7797
|
+
"doc-url": "https://www.naiveui.com/en-US/os-theme/components/infinite-scroll"
|
|
7798
|
+
}
|
|
7799
|
+
]
|
|
7800
|
+
}
|
|
7801
|
+
},
|
|
7773
7802
|
{
|
|
7774
7803
|
"name": "UInput",
|
|
7775
7804
|
"description": "Many years ago, inputs were just punched cards.",
|