@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.
Files changed (229) hide show
  1. package/dist/index.js +659 -115
  2. package/dist/index.prod.js +3 -3
  3. package/es/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
  4. package/es/_internal/scrollbar/src/Scrollbar.js +120 -67
  5. package/es/_internal/scrollbar/src/styles/index.cssr.js +32 -15
  6. package/es/_internal/scrollbar/styles/common.d.ts +7 -0
  7. package/es/_internal/scrollbar/styles/common.js +7 -0
  8. package/es/_internal/scrollbar/styles/light.d.ts +8 -0
  9. package/es/_internal/scrollbar/styles/light.js +3 -5
  10. package/es/_internal/select-menu/src/SelectMenu.d.ts +57 -1
  11. package/es/_internal/select-menu/styles/light.d.ts +8 -0
  12. package/es/_internal/selection/src/Selection.d.ts +3 -1
  13. package/es/_internal/selection/src/Selection.js +3 -1
  14. package/es/_utils/css/index.d.ts +1 -0
  15. package/es/_utils/css/index.js +1 -0
  16. package/es/_utils/css/rtl-inset.d.ts +1 -0
  17. package/es/_utils/css/rtl-inset.js +5 -0
  18. package/es/_utils/index.d.ts +1 -1
  19. package/es/_utils/index.js +1 -1
  20. package/es/auto-complete/src/AutoComplete.d.ts +88 -0
  21. package/es/auto-complete/styles/light.d.ts +8 -0
  22. package/es/back-top/src/BackTop.d.ts +1 -1
  23. package/es/cascader/src/Cascader.d.ts +168 -0
  24. package/es/cascader/src/CascaderMenu.d.ts +24 -0
  25. package/es/cascader/src/CascaderOption.d.ts +24 -0
  26. package/es/cascader/src/CascaderSelectMenu.d.ts +24 -0
  27. package/es/cascader/src/CascaderSubmenu.d.ts +25 -1
  28. package/es/cascader/styles/light.d.ts +16 -0
  29. package/es/chat/src/Chat.d.ts +88 -0
  30. package/es/chat/src/ChatListItems.d.ts +104 -0
  31. package/es/chat/src/ChatMessages.d.ts +104 -0
  32. package/es/chat/styles/dark.d.ts +8 -0
  33. package/es/chat/styles/light.d.ts +8 -0
  34. package/es/components.d.ts +2 -0
  35. package/es/components.js +2 -0
  36. package/es/data-table/src/DataTable.d.ts +184 -0
  37. package/es/data-table/src/HeaderButton/FilterButton.d.ts +40 -0
  38. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +40 -0
  39. package/es/data-table/src/TableParts/Body.d.ts +41 -1
  40. package/es/data-table/src/TableParts/Header.d.ts +40 -0
  41. package/es/data-table/src/interface.d.ts +72 -0
  42. package/es/data-table/styles/light.d.ts +24 -0
  43. package/es/date-picker/src/DatePicker.d.ts +171 -3
  44. package/es/date-picker/src/panel/date.d.ts +25 -1
  45. package/es/date-picker/src/panel/daterange.d.ts +26 -2
  46. package/es/date-picker/src/panel/datetime.d.ts +25 -1
  47. package/es/date-picker/src/panel/datetimerange.d.ts +26 -2
  48. package/es/date-picker/src/panel/panelMonth.d.ts +50 -2
  49. package/es/date-picker/src/panel/panelMonthContent.d.ts +25 -1
  50. package/es/date-picker/src/panel/panelYear.d.ts +50 -2
  51. package/es/date-picker/src/panel/panelYearContent.d.ts +25 -1
  52. package/es/date-picker/src/panel/use-calendar.d.ts +24 -0
  53. package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
  54. package/es/date-picker/src/panel/use-panel-common.d.ts +24 -0
  55. package/es/date-picker/styles/light.d.ts +16 -0
  56. package/es/dialog/src/DialogProvider.d.ts +2 -2
  57. package/es/drawer/src/Drawer.d.ts +81 -1
  58. package/es/drawer/src/DrawerBodyWrapper.d.ts +9 -1
  59. package/es/drawer/src/DrawerContent.d.ts +8 -0
  60. package/es/drawer/styles/light.d.ts +8 -0
  61. package/es/dropdown/src/Dropdown.d.ts +1 -1
  62. package/es/infinite-scroll/index.d.ts +2 -0
  63. package/es/infinite-scroll/index.js +1 -0
  64. package/es/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
  65. package/es/infinite-scroll/src/InfiniteScroll.js +78 -0
  66. package/es/layout/src/Layout.d.ts +112 -0
  67. package/es/layout/src/LayoutContent.d.ts +56 -0
  68. package/es/layout/src/LayoutFooter.d.ts +72 -0
  69. package/es/layout/src/LayoutHeader.d.ts +48 -0
  70. package/es/layout/src/LayoutSider.d.ts +56 -0
  71. package/es/layout/styles/light.d.ts +8 -0
  72. package/es/legacy-transfer/src/Transfer.d.ts +80 -0
  73. package/es/legacy-transfer/src/TransferFilter.d.ts +8 -0
  74. package/es/legacy-transfer/src/TransferList.d.ts +9 -1
  75. package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
  76. package/es/legacy-transfer/styles/light.d.ts +8 -0
  77. package/es/log/src/Log.d.ts +80 -0
  78. package/es/log/styles/light.d.ts +8 -0
  79. package/es/mention/src/Mention.d.ts +88 -0
  80. package/es/mention/styles/light.d.ts +8 -0
  81. package/es/menu/src/Menu.d.ts +1 -1
  82. package/es/modal/src/BodyWrapper.d.ts +9 -1
  83. package/es/modal/src/Modal.d.ts +73 -1
  84. package/es/modal/styles/light.d.ts +8 -0
  85. package/es/notification/src/NotificationContainer.d.ts +8 -0
  86. package/es/notification/src/NotificationProvider.d.ts +72 -0
  87. package/es/notification/styles/light.d.ts +8 -0
  88. package/es/pagination/src/Pagination.d.ts +176 -0
  89. package/es/pagination/styles/light.d.ts +16 -0
  90. package/es/popselect/src/Popselect.d.ts +88 -0
  91. package/es/popselect/src/PopselectPanel.d.ts +16 -0
  92. package/es/popselect/styles/light.d.ts +8 -0
  93. package/es/scrollbar/src/Scrollbar.d.ts +72 -0
  94. package/es/select/src/Select.d.ts +88 -0
  95. package/es/select/styles/light.d.ts +8 -0
  96. package/es/time-picker/src/Panel.d.ts +8 -0
  97. package/es/time-picker/src/TimePicker.d.ts +80 -0
  98. package/es/time-picker/styles/light.d.ts +8 -0
  99. package/es/transfer/src/Transfer.d.ts +80 -0
  100. package/es/transfer/src/TransferFilter.d.ts +8 -0
  101. package/es/transfer/src/TransferList.d.ts +9 -1
  102. package/es/transfer/src/TransferListItem.d.ts +8 -0
  103. package/es/transfer/styles/light.d.ts +8 -0
  104. package/es/tree/src/Tree.d.ts +82 -2
  105. package/es/tree/src/TreeNodeCheckbox.d.ts +8 -0
  106. package/es/tree/styles/light.d.ts +8 -0
  107. package/es/tree-select/src/TreeSelect.d.ts +89 -1
  108. package/es/tree-select/styles/light.d.ts +8 -0
  109. package/es/version.d.ts +1 -1
  110. package/es/version.js +1 -1
  111. package/es/virtual-list/index.d.ts +2 -0
  112. package/es/virtual-list/index.js +1 -0
  113. package/es/virtual-list/src/VirtualList.d.ts +146 -0
  114. package/es/virtual-list/src/VirtualList.js +103 -0
  115. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +119 -17
  116. package/lib/_internal/scrollbar/src/Scrollbar.js +117 -64
  117. package/lib/_internal/scrollbar/src/styles/index.cssr.js +32 -15
  118. package/lib/_internal/scrollbar/styles/common.d.ts +7 -0
  119. package/lib/_internal/scrollbar/styles/common.js +10 -0
  120. package/lib/_internal/scrollbar/styles/light.d.ts +8 -0
  121. package/lib/_internal/scrollbar/styles/light.js +3 -5
  122. package/lib/_internal/select-menu/src/SelectMenu.d.ts +57 -1
  123. package/lib/_internal/select-menu/styles/light.d.ts +8 -0
  124. package/lib/_internal/selection/src/Selection.d.ts +3 -1
  125. package/lib/_internal/selection/src/Selection.js +3 -1
  126. package/lib/_utils/css/index.d.ts +1 -0
  127. package/lib/_utils/css/index.js +3 -1
  128. package/lib/_utils/css/rtl-inset.d.ts +1 -0
  129. package/lib/_utils/css/rtl-inset.js +8 -0
  130. package/lib/_utils/index.d.ts +1 -1
  131. package/lib/_utils/index.js +2 -1
  132. package/lib/auto-complete/src/AutoComplete.d.ts +88 -0
  133. package/lib/auto-complete/styles/light.d.ts +8 -0
  134. package/lib/back-top/src/BackTop.d.ts +1 -1
  135. package/lib/cascader/src/Cascader.d.ts +168 -0
  136. package/lib/cascader/src/CascaderMenu.d.ts +24 -0
  137. package/lib/cascader/src/CascaderOption.d.ts +24 -0
  138. package/lib/cascader/src/CascaderSelectMenu.d.ts +24 -0
  139. package/lib/cascader/src/CascaderSubmenu.d.ts +25 -1
  140. package/lib/cascader/styles/light.d.ts +16 -0
  141. package/lib/chat/src/Chat.d.ts +88 -0
  142. package/lib/chat/src/ChatListItems.d.ts +104 -0
  143. package/lib/chat/src/ChatMessages.d.ts +104 -0
  144. package/lib/chat/styles/dark.d.ts +8 -0
  145. package/lib/chat/styles/light.d.ts +8 -0
  146. package/lib/components.d.ts +2 -0
  147. package/lib/components.js +2 -0
  148. package/lib/data-table/src/DataTable.d.ts +184 -0
  149. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +40 -0
  150. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +40 -0
  151. package/lib/data-table/src/TableParts/Body.d.ts +41 -1
  152. package/lib/data-table/src/TableParts/Header.d.ts +40 -0
  153. package/lib/data-table/src/interface.d.ts +72 -0
  154. package/lib/data-table/styles/light.d.ts +24 -0
  155. package/lib/date-picker/src/DatePicker.d.ts +171 -3
  156. package/lib/date-picker/src/panel/date.d.ts +25 -1
  157. package/lib/date-picker/src/panel/daterange.d.ts +26 -2
  158. package/lib/date-picker/src/panel/datetime.d.ts +25 -1
  159. package/lib/date-picker/src/panel/datetimerange.d.ts +26 -2
  160. package/lib/date-picker/src/panel/panelMonth.d.ts +50 -2
  161. package/lib/date-picker/src/panel/panelMonthContent.d.ts +25 -1
  162. package/lib/date-picker/src/panel/panelYear.d.ts +50 -2
  163. package/lib/date-picker/src/panel/panelYearContent.d.ts +25 -1
  164. package/lib/date-picker/src/panel/use-calendar.d.ts +24 -0
  165. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
  166. package/lib/date-picker/src/panel/use-panel-common.d.ts +24 -0
  167. package/lib/date-picker/styles/light.d.ts +16 -0
  168. package/lib/dialog/src/DialogProvider.d.ts +2 -2
  169. package/lib/drawer/src/Drawer.d.ts +81 -1
  170. package/lib/drawer/src/DrawerBodyWrapper.d.ts +9 -1
  171. package/lib/drawer/src/DrawerContent.d.ts +8 -0
  172. package/lib/drawer/styles/light.d.ts +8 -0
  173. package/lib/dropdown/src/Dropdown.d.ts +1 -1
  174. package/lib/infinite-scroll/index.d.ts +2 -0
  175. package/lib/infinite-scroll/index.js +9 -0
  176. package/lib/infinite-scroll/src/InfiniteScroll.d.ts +45 -0
  177. package/lib/infinite-scroll/src/InfiniteScroll.js +81 -0
  178. package/lib/layout/src/Layout.d.ts +112 -0
  179. package/lib/layout/src/LayoutContent.d.ts +56 -0
  180. package/lib/layout/src/LayoutFooter.d.ts +72 -0
  181. package/lib/layout/src/LayoutHeader.d.ts +48 -0
  182. package/lib/layout/src/LayoutSider.d.ts +56 -0
  183. package/lib/layout/styles/light.d.ts +8 -0
  184. package/lib/legacy-transfer/src/Transfer.d.ts +80 -0
  185. package/lib/legacy-transfer/src/TransferFilter.d.ts +8 -0
  186. package/lib/legacy-transfer/src/TransferList.d.ts +9 -1
  187. package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
  188. package/lib/legacy-transfer/styles/light.d.ts +8 -0
  189. package/lib/log/src/Log.d.ts +80 -0
  190. package/lib/log/styles/light.d.ts +8 -0
  191. package/lib/mention/src/Mention.d.ts +88 -0
  192. package/lib/mention/styles/light.d.ts +8 -0
  193. package/lib/menu/src/Menu.d.ts +1 -1
  194. package/lib/modal/src/BodyWrapper.d.ts +9 -1
  195. package/lib/modal/src/Modal.d.ts +73 -1
  196. package/lib/modal/styles/light.d.ts +8 -0
  197. package/lib/notification/src/NotificationContainer.d.ts +8 -0
  198. package/lib/notification/src/NotificationProvider.d.ts +72 -0
  199. package/lib/notification/styles/light.d.ts +8 -0
  200. package/lib/pagination/src/Pagination.d.ts +176 -0
  201. package/lib/pagination/styles/light.d.ts +16 -0
  202. package/lib/popselect/src/Popselect.d.ts +88 -0
  203. package/lib/popselect/src/PopselectPanel.d.ts +16 -0
  204. package/lib/popselect/styles/light.d.ts +8 -0
  205. package/lib/scrollbar/src/Scrollbar.d.ts +72 -0
  206. package/lib/select/src/Select.d.ts +88 -0
  207. package/lib/select/styles/light.d.ts +8 -0
  208. package/lib/time-picker/src/Panel.d.ts +8 -0
  209. package/lib/time-picker/src/TimePicker.d.ts +80 -0
  210. package/lib/time-picker/styles/light.d.ts +8 -0
  211. package/lib/transfer/src/Transfer.d.ts +80 -0
  212. package/lib/transfer/src/TransferFilter.d.ts +8 -0
  213. package/lib/transfer/src/TransferList.d.ts +9 -1
  214. package/lib/transfer/src/TransferListItem.d.ts +8 -0
  215. package/lib/transfer/styles/light.d.ts +8 -0
  216. package/lib/tree/src/Tree.d.ts +82 -2
  217. package/lib/tree/src/TreeNodeCheckbox.d.ts +8 -0
  218. package/lib/tree/styles/light.d.ts +8 -0
  219. package/lib/tree-select/src/TreeSelect.d.ts +89 -1
  220. package/lib/tree-select/styles/light.d.ts +8 -0
  221. package/lib/version.d.ts +1 -1
  222. package/lib/version.js +1 -1
  223. package/lib/virtual-list/index.d.ts +2 -0
  224. package/lib/virtual-list/index.js +9 -0
  225. package/lib/virtual-list/src/VirtualList.d.ts +146 -0
  226. package/lib/virtual-list/src/VirtualList.js +106 -0
  227. package/package.json +2 -2
  228. package/volar.d.ts +1 -0
  229. package/web-types.json +30 -1
@@ -116,8 +116,16 @@ export declare const drawerProps: {
116
116
  contentBorderRadius: string;
117
117
  }, {
118
118
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
119
+ height: string;
120
+ width: string;
121
+ borderRadius: string;
119
122
  color: string;
120
123
  colorHover: string;
124
+ railInsetHorizontalBottom: string;
125
+ railInsetHorizontalTop: string;
126
+ railInsetVerticalRight: string;
127
+ railInsetVerticalLeft: string;
128
+ railColor: string;
121
129
  }, any>;
122
130
  }>>;
123
131
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Drawer", {
@@ -153,8 +161,16 @@ export declare const drawerProps: {
153
161
  contentBorderRadius: string;
154
162
  }, {
155
163
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
164
+ height: string;
165
+ width: string;
166
+ borderRadius: string;
156
167
  color: string;
157
168
  colorHover: string;
169
+ railInsetHorizontalBottom: string;
170
+ railInsetHorizontalTop: string;
171
+ railInsetVerticalRight: string;
172
+ railInsetVerticalLeft: string;
173
+ railColor: string;
158
174
  }, any>;
159
175
  }>>>;
160
176
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Drawer", {
@@ -190,8 +206,16 @@ export declare const drawerProps: {
190
206
  contentBorderRadius: string;
191
207
  }, {
192
208
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
209
+ height: string;
210
+ width: string;
211
+ borderRadius: string;
193
212
  color: string;
194
213
  colorHover: string;
214
+ railInsetHorizontalBottom: string;
215
+ railInsetHorizontalTop: string;
216
+ railInsetVerticalRight: string;
217
+ railInsetVerticalLeft: string;
218
+ railColor: string;
195
219
  }, any>;
196
220
  }>>>;
197
221
  };
@@ -309,8 +333,16 @@ declare const _default: import("vue").DefineComponent<{
309
333
  contentBorderRadius: string;
310
334
  }, {
311
335
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
336
+ height: string;
337
+ width: string;
338
+ borderRadius: string;
312
339
  color: string;
313
340
  colorHover: string;
341
+ railInsetHorizontalBottom: string;
342
+ railInsetHorizontalTop: string;
343
+ railInsetVerticalRight: string;
344
+ railInsetVerticalLeft: string;
345
+ railColor: string;
314
346
  }, any>;
315
347
  }>>;
316
348
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Drawer", {
@@ -346,8 +378,16 @@ declare const _default: import("vue").DefineComponent<{
346
378
  contentBorderRadius: string;
347
379
  }, {
348
380
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
381
+ height: string;
382
+ width: string;
383
+ borderRadius: string;
349
384
  color: string;
350
385
  colorHover: string;
386
+ railInsetHorizontalBottom: string;
387
+ railInsetHorizontalTop: string;
388
+ railInsetVerticalRight: string;
389
+ railInsetVerticalLeft: string;
390
+ railColor: string;
351
391
  }, any>;
352
392
  }>>>;
353
393
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Drawer", {
@@ -383,8 +423,16 @@ declare const _default: import("vue").DefineComponent<{
383
423
  contentBorderRadius: string;
384
424
  }, {
385
425
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
426
+ height: string;
427
+ width: string;
428
+ borderRadius: string;
386
429
  color: string;
387
430
  colorHover: string;
431
+ railInsetHorizontalBottom: string;
432
+ railInsetHorizontalTop: string;
433
+ railInsetVerticalRight: string;
434
+ railInsetVerticalLeft: string;
435
+ railColor: string;
388
436
  }, any>;
389
437
  }>>>;
390
438
  }, {
@@ -429,8 +477,16 @@ declare const _default: import("vue").DefineComponent<{
429
477
  };
430
478
  peers: {
431
479
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
480
+ height: string;
481
+ width: string;
482
+ borderRadius: string;
432
483
  color: string;
433
484
  colorHover: string;
485
+ railInsetHorizontalBottom: string;
486
+ railInsetHorizontalTop: string;
487
+ railInsetVerticalRight: string;
488
+ railInsetVerticalLeft: string;
489
+ railColor: string;
434
490
  }, any>;
435
491
  };
436
492
  peerOverrides: {
@@ -592,8 +648,16 @@ declare const _default: import("vue").DefineComponent<{
592
648
  contentBorderRadius: string;
593
649
  }, {
594
650
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
651
+ height: string;
652
+ width: string;
653
+ borderRadius: string;
595
654
  color: string;
596
655
  colorHover: string;
656
+ railInsetHorizontalBottom: string;
657
+ railInsetHorizontalTop: string;
658
+ railInsetVerticalRight: string;
659
+ railInsetVerticalLeft: string;
660
+ railColor: string;
597
661
  }, any>;
598
662
  }>>;
599
663
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Drawer", {
@@ -629,8 +693,16 @@ declare const _default: import("vue").DefineComponent<{
629
693
  contentBorderRadius: string;
630
694
  }, {
631
695
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
696
+ height: string;
697
+ width: string;
698
+ borderRadius: string;
632
699
  color: string;
633
700
  colorHover: string;
701
+ railInsetHorizontalBottom: string;
702
+ railInsetHorizontalTop: string;
703
+ railInsetVerticalRight: string;
704
+ railInsetVerticalLeft: string;
705
+ railColor: string;
634
706
  }, any>;
635
707
  }>>>;
636
708
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Drawer", {
@@ -666,8 +738,16 @@ declare const _default: import("vue").DefineComponent<{
666
738
  contentBorderRadius: string;
667
739
  }, {
668
740
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
741
+ height: string;
742
+ width: string;
743
+ borderRadius: string;
669
744
  color: string;
670
745
  colorHover: string;
746
+ railInsetHorizontalBottom: string;
747
+ railInsetHorizontalTop: string;
748
+ railInsetVerticalRight: string;
749
+ railInsetVerticalLeft: string;
750
+ railColor: string;
671
751
  }, any>;
672
752
  }>>>;
673
753
  }>>, {
@@ -677,10 +757,10 @@ declare const _default: import("vue").DefineComponent<{
677
757
  readonly show: boolean;
678
758
  readonly displayDirective: "show" | "if";
679
759
  readonly placement: Placement;
680
- readonly autoFocus: boolean;
681
760
  readonly resizable: boolean;
682
761
  readonly rounded: boolean;
683
762
  readonly trapFocus: boolean;
763
+ readonly autoFocus: boolean;
684
764
  readonly blockScroll: boolean;
685
765
  readonly maskClosable: boolean;
686
766
  readonly closeOnEsc: boolean;
@@ -83,8 +83,16 @@ declare const _default: import("vue").DefineComponent<{
83
83
  };
84
84
  peers: {
85
85
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
86
+ height: string;
87
+ width: string;
88
+ borderRadius: string;
86
89
  color: string;
87
90
  colorHover: string;
91
+ railInsetHorizontalBottom: string;
92
+ railInsetHorizontalTop: string;
93
+ railInsetVerticalRight: string;
94
+ railInsetVerticalLeft: string;
95
+ railColor: string;
88
96
  }, any>;
89
97
  };
90
98
  peerOverrides: {
@@ -147,10 +155,10 @@ declare const _default: import("vue").DefineComponent<{
147
155
  onEsc: PropType<(e: KeyboardEvent) => void>;
148
156
  }>>, {
149
157
  show: boolean | undefined;
150
- autoFocus: boolean;
151
158
  resizable: boolean;
152
159
  rounded: boolean;
153
160
  trapFocus: boolean;
161
+ autoFocus: boolean;
154
162
  blockScroll: boolean;
155
163
  }, {}>;
156
164
  export default _default;
@@ -95,8 +95,16 @@ declare const _default: import("vue").DefineComponent<{
95
95
  };
96
96
  peers: {
97
97
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
98
+ height: string;
99
+ width: string;
100
+ borderRadius: string;
98
101
  color: string;
99
102
  colorHover: string;
103
+ railInsetHorizontalBottom: string;
104
+ railInsetHorizontalTop: string;
105
+ railInsetVerticalRight: string;
106
+ railInsetVerticalLeft: string;
107
+ railColor: string;
100
108
  }, any>;
101
109
  };
102
110
  peerOverrides: {
@@ -65,8 +65,16 @@ declare const drawerLight: import("../../_mixins").Theme<"Drawer", {
65
65
  contentBorderRadius: string;
66
66
  }, {
67
67
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
68
+ height: string;
69
+ width: string;
70
+ borderRadius: string;
68
71
  color: string;
69
72
  colorHover: string;
73
+ railInsetHorizontalBottom: string;
74
+ railInsetHorizontalTop: string;
75
+ railInsetVerticalRight: string;
76
+ railInsetVerticalLeft: string;
77
+ railColor: string;
70
78
  }, any>;
71
79
  }>;
72
80
  export default drawerLight;
@@ -1108,7 +1108,6 @@ declare const _default: import("vue").DefineComponent<{
1108
1108
  readonly trigger: import("../../popover").PopoverTrigger;
1109
1109
  readonly flip: boolean;
1110
1110
  readonly labelField: string;
1111
- readonly keyField: string;
1112
1111
  readonly overlap: boolean;
1113
1112
  readonly showArrow: boolean;
1114
1113
  readonly delay: number;
@@ -1127,5 +1126,6 @@ declare const _default: import("vue").DefineComponent<{
1127
1126
  readonly options: DropdownMixedOption[];
1128
1127
  readonly childrenField: string;
1129
1128
  readonly inverted: boolean;
1129
+ readonly keyField: string;
1130
1130
  }, {}>;
1131
1131
  export default _default;
@@ -0,0 +1,2 @@
1
+ export { infiniteScrollProps, default as UInfiniteScroll } from './src/InfiniteScroll';
2
+ export type { InfiniteScrollProps } from './src/InfiniteScroll';
@@ -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.UInfiniteScroll = exports.infiniteScrollProps = void 0;
7
+ var InfiniteScroll_1 = require("./src/InfiniteScroll");
8
+ Object.defineProperty(exports, "infiniteScrollProps", { enumerable: true, get: function () { return InfiniteScroll_1.infiniteScrollProps; } });
9
+ Object.defineProperty(exports, "UInfiniteScroll", { enumerable: true, get: function () { return __importDefault(InfiniteScroll_1).default; } });
@@ -0,0 +1,45 @@
1
+ import type { PropType } from 'vue';
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
3
+ import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar';
4
+ export declare const infiniteScrollProps: {
5
+ readonly distance: {
6
+ readonly type: NumberConstructor;
7
+ readonly default: 0;
8
+ };
9
+ readonly onLoad: PropType<() => Promise<void> | void>;
10
+ readonly scrollbarProps: PropType<ScrollbarProps>;
11
+ };
12
+ export type InfiniteScrollProps = ExtractPublicPropTypes<typeof infiniteScrollProps>;
13
+ declare const _default: import("vue").DefineComponent<{
14
+ readonly distance: {
15
+ readonly type: NumberConstructor;
16
+ readonly default: 0;
17
+ };
18
+ readonly onLoad: PropType<() => Promise<void> | void>;
19
+ readonly scrollbarProps: PropType<ScrollbarProps>;
20
+ }, {
21
+ scrollbarInstRef: import("vue").Ref<{
22
+ $el: HTMLElement;
23
+ containerRef: HTMLElement | null;
24
+ contentRef: HTMLElement | null;
25
+ containerScrollTop: number;
26
+ syncUnifiedContainer: () => void;
27
+ scrollTo: import("../../_internal/scrollbar/src/Scrollbar").ScrollTo;
28
+ scrollBy: import("../../_internal/scrollbar/src/Scrollbar").ScrollBy;
29
+ sync: () => void;
30
+ handleMouseEnterWrapper: () => void;
31
+ handleMouseLeaveWrapper: () => void;
32
+ } | null>;
33
+ handleScroll: () => void;
34
+ handleWheel: (e: WheelEvent) => void;
35
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
36
+ readonly distance: {
37
+ readonly type: NumberConstructor;
38
+ readonly default: 0;
39
+ };
40
+ readonly onLoad: PropType<() => Promise<void> | void>;
41
+ readonly scrollbarProps: PropType<ScrollbarProps>;
42
+ }>>, {
43
+ readonly distance: number;
44
+ }, {}>;
45
+ export default _default;
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.infiniteScrollProps = void 0;
13
+ const vue_1 = require("vue");
14
+ const _internal_1 = require("../../_internal");
15
+ const _utils_1 = require("../../_utils");
16
+ exports.infiniteScrollProps = {
17
+ distance: {
18
+ type: Number,
19
+ default: 0
20
+ },
21
+ onLoad: Function,
22
+ scrollbarProps: Object
23
+ };
24
+ exports.default = (0, vue_1.defineComponent)({
25
+ name: 'InfiniteScroll',
26
+ props: exports.infiniteScrollProps,
27
+ setup(props) {
28
+ const scrollbarInstRef = (0, vue_1.ref)(null);
29
+ let loading = false;
30
+ const handleCheckBottom = () => __awaiter(this, void 0, void 0, function* () {
31
+ var _a;
32
+ const { value: scrollbarInst } = scrollbarInstRef;
33
+ if (scrollbarInst) {
34
+ const { containerRef } = scrollbarInst;
35
+ const scrollHeight = containerRef === null || containerRef === void 0 ? void 0 : containerRef.scrollHeight;
36
+ const clientHeight = containerRef === null || containerRef === void 0 ? void 0 : containerRef.clientHeight;
37
+ const scrollTop = containerRef === null || containerRef === void 0 ? void 0 : containerRef.scrollTop;
38
+ if (containerRef &&
39
+ scrollHeight !== undefined &&
40
+ clientHeight !== undefined &&
41
+ scrollTop !== undefined) {
42
+ if (scrollTop + clientHeight >= scrollHeight - props.distance) {
43
+ loading = true;
44
+ try {
45
+ yield ((_a = props.onLoad) === null || _a === void 0 ? void 0 : _a.call(props));
46
+ }
47
+ catch (_b) { }
48
+ loading = false;
49
+ }
50
+ }
51
+ }
52
+ });
53
+ const handleScroll = () => {
54
+ if (loading) {
55
+ return;
56
+ }
57
+ void handleCheckBottom();
58
+ };
59
+ const handleWheel = (e) => {
60
+ if (e.deltaY <= 0) {
61
+ return;
62
+ }
63
+ if (loading) {
64
+ return;
65
+ }
66
+ void handleCheckBottom();
67
+ };
68
+ return {
69
+ scrollbarInstRef,
70
+ handleScroll,
71
+ handleWheel
72
+ };
73
+ },
74
+ render() {
75
+ return ((0, vue_1.h)(_internal_1.UxScrollbar, Object.assign({}, this.scrollbarProps, { ref: "scrollbarInstRef", onWheel: this.handleWheel, onScroll: this.handleScroll }), {
76
+ default: () => {
77
+ return (0, _utils_1.resolveSlot)(this.$slots.default, () => []);
78
+ }
79
+ }));
80
+ }
81
+ });
@@ -95,8 +95,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
95
95
  __invertScrollbar: string;
96
96
  }, {
97
97
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
98
+ height: string;
99
+ width: string;
100
+ borderRadius: string;
98
101
  color: string;
99
102
  colorHover: string;
103
+ railInsetHorizontalBottom: string;
104
+ railInsetHorizontalTop: string;
105
+ railInsetVerticalRight: string;
106
+ railInsetVerticalLeft: string;
107
+ railColor: string;
100
108
  }, any>;
101
109
  }>>;
102
110
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -127,8 +135,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
127
135
  __invertScrollbar: string;
128
136
  }, {
129
137
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
138
+ height: string;
139
+ width: string;
140
+ borderRadius: string;
130
141
  color: string;
131
142
  colorHover: string;
143
+ railInsetHorizontalBottom: string;
144
+ railInsetHorizontalTop: string;
145
+ railInsetVerticalRight: string;
146
+ railInsetVerticalLeft: string;
147
+ railColor: string;
132
148
  }, any>;
133
149
  }>>>;
134
150
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -159,8 +175,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
159
175
  __invertScrollbar: string;
160
176
  }, {
161
177
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
178
+ height: string;
179
+ width: string;
180
+ borderRadius: string;
162
181
  color: string;
163
182
  colorHover: string;
183
+ railInsetHorizontalBottom: string;
184
+ railInsetHorizontalTop: string;
185
+ railInsetVerticalRight: string;
186
+ railInsetVerticalLeft: string;
187
+ railColor: string;
164
188
  }, any>;
165
189
  }>>>;
166
190
  }, {
@@ -211,8 +235,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
211
235
  };
212
236
  peers: {
213
237
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
238
+ height: string;
239
+ width: string;
240
+ borderRadius: string;
214
241
  color: string;
215
242
  colorHover: string;
243
+ railInsetHorizontalBottom: string;
244
+ railInsetHorizontalTop: string;
245
+ railInsetVerticalRight: string;
246
+ railInsetVerticalLeft: string;
247
+ railColor: string;
216
248
  }, any>;
217
249
  };
218
250
  peerOverrides: {
@@ -280,8 +312,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
280
312
  __invertScrollbar: string;
281
313
  }, {
282
314
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
315
+ height: string;
316
+ width: string;
317
+ borderRadius: string;
283
318
  color: string;
284
319
  colorHover: string;
320
+ railInsetHorizontalBottom: string;
321
+ railInsetHorizontalTop: string;
322
+ railInsetVerticalRight: string;
323
+ railInsetVerticalLeft: string;
324
+ railColor: string;
285
325
  }, any>;
286
326
  }>>;
287
327
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -312,8 +352,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
312
352
  __invertScrollbar: string;
313
353
  }, {
314
354
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
355
+ height: string;
356
+ width: string;
357
+ borderRadius: string;
315
358
  color: string;
316
359
  colorHover: string;
360
+ railInsetHorizontalBottom: string;
361
+ railInsetHorizontalTop: string;
362
+ railInsetVerticalRight: string;
363
+ railInsetVerticalLeft: string;
364
+ railColor: string;
317
365
  }, any>;
318
366
  }>>>;
319
367
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -344,8 +392,16 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
344
392
  __invertScrollbar: string;
345
393
  }, {
346
394
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
395
+ height: string;
396
+ width: string;
397
+ borderRadius: string;
347
398
  color: string;
348
399
  colorHover: string;
400
+ railInsetHorizontalBottom: string;
401
+ railInsetHorizontalTop: string;
402
+ railInsetVerticalRight: string;
403
+ railInsetVerticalLeft: string;
404
+ railColor: string;
349
405
  }, any>;
350
406
  }>>>;
351
407
  }>>, {
@@ -405,8 +461,16 @@ declare const _default: import("vue").DefineComponent<{
405
461
  __invertScrollbar: string;
406
462
  }, {
407
463
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
464
+ height: string;
465
+ width: string;
466
+ borderRadius: string;
408
467
  color: string;
409
468
  colorHover: string;
469
+ railInsetHorizontalBottom: string;
470
+ railInsetHorizontalTop: string;
471
+ railInsetVerticalRight: string;
472
+ railInsetVerticalLeft: string;
473
+ railColor: string;
410
474
  }, any>;
411
475
  }>>;
412
476
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -437,8 +501,16 @@ declare const _default: import("vue").DefineComponent<{
437
501
  __invertScrollbar: string;
438
502
  }, {
439
503
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
504
+ height: string;
505
+ width: string;
506
+ borderRadius: string;
440
507
  color: string;
441
508
  colorHover: string;
509
+ railInsetHorizontalBottom: string;
510
+ railInsetHorizontalTop: string;
511
+ railInsetVerticalRight: string;
512
+ railInsetVerticalLeft: string;
513
+ railColor: string;
442
514
  }, any>;
443
515
  }>>>;
444
516
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -469,8 +541,16 @@ declare const _default: import("vue").DefineComponent<{
469
541
  __invertScrollbar: string;
470
542
  }, {
471
543
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
544
+ height: string;
545
+ width: string;
546
+ borderRadius: string;
472
547
  color: string;
473
548
  colorHover: string;
549
+ railInsetHorizontalBottom: string;
550
+ railInsetHorizontalTop: string;
551
+ railInsetVerticalRight: string;
552
+ railInsetVerticalLeft: string;
553
+ railColor: string;
474
554
  }, any>;
475
555
  }>>>;
476
556
  }, {
@@ -521,8 +601,16 @@ declare const _default: import("vue").DefineComponent<{
521
601
  };
522
602
  peers: {
523
603
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
604
+ height: string;
605
+ width: string;
606
+ borderRadius: string;
524
607
  color: string;
525
608
  colorHover: string;
609
+ railInsetHorizontalBottom: string;
610
+ railInsetHorizontalTop: string;
611
+ railInsetVerticalRight: string;
612
+ railInsetVerticalLeft: string;
613
+ railColor: string;
526
614
  }, any>;
527
615
  };
528
616
  peerOverrides: {
@@ -590,8 +678,16 @@ declare const _default: import("vue").DefineComponent<{
590
678
  __invertScrollbar: string;
591
679
  }, {
592
680
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
681
+ height: string;
682
+ width: string;
683
+ borderRadius: string;
593
684
  color: string;
594
685
  colorHover: string;
686
+ railInsetHorizontalBottom: string;
687
+ railInsetHorizontalTop: string;
688
+ railInsetVerticalRight: string;
689
+ railInsetVerticalLeft: string;
690
+ railColor: string;
595
691
  }, any>;
596
692
  }>>;
597
693
  themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -622,8 +718,16 @@ declare const _default: import("vue").DefineComponent<{
622
718
  __invertScrollbar: string;
623
719
  }, {
624
720
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
721
+ height: string;
722
+ width: string;
723
+ borderRadius: string;
625
724
  color: string;
626
725
  colorHover: string;
726
+ railInsetHorizontalBottom: string;
727
+ railInsetHorizontalTop: string;
728
+ railInsetVerticalRight: string;
729
+ railInsetVerticalLeft: string;
730
+ railColor: string;
627
731
  }, any>;
628
732
  }>>>;
629
733
  builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Layout", {
@@ -654,8 +758,16 @@ declare const _default: import("vue").DefineComponent<{
654
758
  __invertScrollbar: string;
655
759
  }, {
656
760
  Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
761
+ height: string;
762
+ width: string;
763
+ borderRadius: string;
657
764
  color: string;
658
765
  colorHover: string;
766
+ railInsetHorizontalBottom: string;
767
+ railInsetHorizontalTop: string;
768
+ railInsetVerticalRight: string;
769
+ railInsetVerticalLeft: string;
770
+ railColor: string;
659
771
  }, any>;
660
772
  }>>>;
661
773
  }>>, {