@uzum-tech/ui 2.3.1 → 2.3.3

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 (414) hide show
  1. package/dist/index.js +29698 -29160
  2. package/dist/index.mjs +29963 -29425
  3. package/dist/index.prod.js +2 -2
  4. package/dist/index.prod.mjs +2 -2
  5. package/es/_internal/checkbox/src/use-checkbox.d.ts +2 -2
  6. package/es/_internal/close/src/Close.d.ts +1 -1
  7. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  8. package/es/_internal/select-menu/src/SelectMenu.d.ts +1039 -169
  9. package/es/_internal/select-menu/src/SelectMenu.mjs +56 -204
  10. package/es/_internal/select-menu/src/SelectMenuParts/Action.d.ts +15 -0
  11. package/es/_internal/select-menu/src/SelectMenuParts/Action.mjs +28 -0
  12. package/es/_internal/select-menu/src/SelectMenuParts/Header.d.ts +12 -0
  13. package/es/_internal/select-menu/src/SelectMenuParts/Header.mjs +22 -0
  14. package/es/_internal/select-menu/src/SelectMenuParts/List.d.ts +129 -0
  15. package/es/_internal/select-menu/src/SelectMenuParts/List.mjs +196 -0
  16. package/es/_internal/select-menu/src/SelectMenuParts/Search.d.ts +90 -0
  17. package/es/_internal/select-menu/src/SelectMenuParts/Search.mjs +69 -0
  18. package/es/_internal/select-menu/src/SelectOption.d.ts +1 -0
  19. package/es/_internal/select-menu/src/SelectOption.mjs +17 -2
  20. package/es/_internal/select-menu/src/interface.d.ts +650 -2
  21. package/es/_internal/select-menu/src/interface.mjs +81 -0
  22. package/es/_internal/select-menu/src/styles/index.cssr.mjs +23 -1
  23. package/es/_internal/select-menu/styles/dark.mjs +5 -1
  24. package/es/_internal/select-menu/styles/light.d.ts +123 -0
  25. package/es/_internal/select-menu/styles/light.mjs +5 -1
  26. package/es/_internal/selection/src/Selection.d.ts +3 -3
  27. package/es/_internal/skeleton/src/Skeleton.d.ts +1 -1
  28. package/es/_internal/typography/src/text.d.ts +3 -3
  29. package/es/action-card/src/ActionCard.d.ts +2 -2
  30. package/es/affix/src/Affix.d.ts +1 -1
  31. package/es/alert/src/Alert.d.ts +1 -1
  32. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  33. package/es/anchor/src/BaseAnchor.d.ts +2 -2
  34. package/es/auto-complete/src/AutoComplete.d.ts +1386 -30
  35. package/es/auto-complete/styles/light.d.ts +123 -0
  36. package/es/avatar/src/Avatar.d.ts +1 -1
  37. package/es/avatar-group/src/AvatarGroup.d.ts +2 -2
  38. package/es/back-top/src/BackTop.d.ts +1 -1
  39. package/es/badge/src/Badge.d.ts +1 -1
  40. package/es/button/src/Button.d.ts +7 -7
  41. package/es/button-group/src/ButtonGroup.d.ts +1 -1
  42. package/es/card/src/Card.d.ts +1 -1
  43. package/es/card-list/src/CardListItem.d.ts +1 -1
  44. package/es/carousel/src/Carousel.d.ts +4 -4
  45. package/es/carousel/src/CarouselDots.d.ts +2 -2
  46. package/es/cascader/src/Cascader.d.ts +1404 -51
  47. package/es/cascader/src/CascaderMenu.d.ts +492 -0
  48. package/es/cascader/src/CascaderOption.d.ts +492 -0
  49. package/es/cascader/src/CascaderSelectMenu.d.ts +496 -1
  50. package/es/cascader/src/CascaderSubmenu.d.ts +492 -0
  51. package/es/cascader/styles/light.d.ts +123 -0
  52. package/es/chat/src/Chat.d.ts +5868 -87
  53. package/es/chat/src/ChatListItems.d.ts +1849 -4
  54. package/es/chat/src/ChatMainArea.d.ts +1849 -4
  55. package/es/chat/src/ChatMessages.d.ts +1849 -4
  56. package/es/chat/src/ChatParts/Sidebar.d.ts +492 -0
  57. package/es/chat/styles/dark.d.ts +123 -0
  58. package/es/chat/styles/light.d.ts +123 -0
  59. package/es/checkbox/src/Checkbox.d.ts +7 -7
  60. package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
  61. package/es/code/src/Code.d.ts +2 -2
  62. package/es/color-picker/src/ColorPicker.d.ts +1 -1
  63. package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  64. package/es/components.d.ts +19186 -425
  65. package/es/config-provider/src/ConfigProvider.d.ts +1 -1
  66. package/es/config-provider/src/context.mjs +1 -1
  67. package/es/crop/src/Crop.d.ts +1 -1
  68. package/es/data-table/src/DataTable.d.ts +2087 -119
  69. package/es/data-table/src/HeaderButton/FilterButton.d.ts +984 -0
  70. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +984 -0
  71. package/es/data-table/src/TableParts/Body.d.ts +985 -1
  72. package/es/data-table/src/TableParts/Header.d.ts +985 -1
  73. package/es/data-table/src/interface.d.ts +738 -0
  74. package/es/data-table/styles/light.d.ts +246 -0
  75. package/es/date-picker/src/DatePicker.d.ts +3 -3
  76. package/es/date-picker-v2/src/DatePickerV2.d.ts +2 -2
  77. package/es/descriptions/src/Descriptions.d.ts +2 -2
  78. package/es/dialog/src/Dialog.d.ts +1 -1
  79. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  80. package/es/dialog/src/DialogProvider.d.ts +52 -52
  81. package/es/dialog/src/dialogProps.d.ts +1 -1
  82. package/es/divider/src/Divider.d.ts +1 -1
  83. package/es/drawer/src/Drawer.d.ts +2 -2
  84. package/es/dropdown/src/Dropdown.d.ts +4 -4
  85. package/es/dynamic-input/src/DynamicInput.d.ts +2 -2
  86. package/es/dynamic-input/src/InputPreset.d.ts +1 -1
  87. package/es/dynamic-input/src/PairPreset.d.ts +1 -1
  88. package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
  89. package/es/empty/src/Empty.d.ts +1 -1
  90. package/es/flex/src/Flex.d.ts +1 -1
  91. package/es/float-button/src/FloatButton.d.ts +1 -1
  92. package/es/form/src/Form.d.ts +1 -1
  93. package/es/form/src/FormItem.d.ts +3 -3
  94. package/es/form/src/FormItemCol.d.ts +3 -3
  95. package/es/form/src/FormItemGridItem.d.ts +3 -3
  96. package/es/form/src/FormItemRow.d.ts +2 -2
  97. package/es/form/src/utils.d.ts +1 -1
  98. package/es/gradient-text/src/GradientText.d.ts +2 -2
  99. package/es/header/src/Header.d.ts +1 -1
  100. package/es/header/src/mobile/HeaderMobile.d.ts +1 -1
  101. package/es/heatmap/src/Heatmap.d.ts +1 -1
  102. package/es/icon-bar/src/IconBarItem.d.ts +4 -4
  103. package/es/icon-pack/src/IconPack.d.ts +2 -2
  104. package/es/image/src/Image.d.ts +1 -1
  105. package/es/image/src/ImagePreview.d.ts +1 -0
  106. package/es/image/src/ImagePreview.mjs +7 -35
  107. package/es/image/src/public-types.d.ts +4 -4
  108. package/es/input/src/Input.d.ts +7 -7
  109. package/es/input-number/src/InputNumber.d.ts +3 -3
  110. package/es/input-otp/src/InputOtp.d.ts +2 -2
  111. package/es/kanban/src/Kanban.d.ts +1 -1
  112. package/es/layout/src/LayoutSider.d.ts +1 -1
  113. package/es/legacy-transfer/src/Transfer.d.ts +2 -2
  114. package/es/list/src/List.d.ts +9 -9
  115. package/es/list/src/ListItem.d.ts +10 -10
  116. package/es/locales/common/enUS.d.ts +1 -0
  117. package/es/locales/common/enUS.mjs +2 -1
  118. package/es/locales/common/ruRU.mjs +2 -1
  119. package/es/locales/common/uzUZ.mjs +2 -1
  120. package/es/locales/common/zhCN.mjs +2 -1
  121. package/es/mention/src/Mention.d.ts +1388 -32
  122. package/es/mention/styles/light.d.ts +123 -0
  123. package/es/menu/src/Menu.d.ts +3 -3
  124. package/es/menu/src/MenuOption.d.ts +1 -1
  125. package/es/menu/src/MenuOptionContent.d.ts +2 -2
  126. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  127. package/es/menu/src/Submenu.d.ts +1 -1
  128. package/es/message-bubble/src/MessageBubble.d.ts +3 -3
  129. package/es/message-bubble/src/MessageBubble.mjs +10 -3
  130. package/es/modal/src/BodyWrapper.d.ts +2 -2
  131. package/es/modal/src/Modal.d.ts +4 -4
  132. package/es/modal/src/ModalEnvironment.d.ts +4 -4
  133. package/es/modal/src/presetProps.d.ts +1 -1
  134. package/es/modal-fullscreen/src/ModalFull.d.ts +1 -1
  135. package/es/notification/src/Notification.d.ts +2 -2
  136. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  137. package/es/notification/src/NotificationProvider.d.ts +12 -12
  138. package/es/number-animation/src/NumberAnimation.d.ts +1 -1
  139. package/es/pagination/src/Pagination.d.ts +1995 -27
  140. package/es/pagination/src/interface.d.ts +738 -0
  141. package/es/pagination/styles/light.d.ts +246 -0
  142. package/es/popconfirm/src/Popconfirm.d.ts +3 -3
  143. package/es/popover/src/Popover.d.ts +3 -3
  144. package/es/popover/src/PopoverBody.d.ts +1 -1
  145. package/es/popselect/src/Popselect.d.ts +1383 -30
  146. package/es/popselect/src/PopselectPanel.d.ts +494 -2
  147. package/es/popselect/styles/light.d.ts +123 -0
  148. package/es/qr-code/src/QrCode.d.ts +2 -2
  149. package/es/radio/src/Radio.d.ts +2 -2
  150. package/es/radio/src/RadioButton.d.ts +9 -9
  151. package/es/radio/src/RadioGroup.d.ts +1 -1
  152. package/es/rate/src/Rate.d.ts +1 -1
  153. package/es/result/src/Result.d.ts +1 -1
  154. package/es/select/index.d.ts +4 -3
  155. package/es/select/index.mjs +2 -1
  156. package/es/select/src/Select.d.ts +1127 -811
  157. package/es/select/src/Select.mjs +257 -226
  158. package/es/select/src/interface.d.ts +1140 -8
  159. package/es/select/src/interface.mjs +154 -1
  160. package/es/select/src/styles/index.cssr.mjs +16 -3
  161. package/es/select/src/utils.d.ts +3 -1
  162. package/es/select/src/utils.mjs +32 -0
  163. package/es/select/styles/light.d.ts +123 -0
  164. package/es/skeleton/src/Skeleton.d.ts +1 -1
  165. package/es/slider/src/Slider.d.ts +4 -4
  166. package/es/spin/src/Spin.d.ts +1 -1
  167. package/es/split/src/Split.d.ts +2 -2
  168. package/es/steps/src/Steps.d.ts +1 -1
  169. package/es/switch/src/Switch.d.ts +2 -2
  170. package/es/tabs/src/Tab.d.ts +8 -8
  171. package/es/tabs/src/TabPane.d.ts +1 -1
  172. package/es/tabs/src/Tabs.d.ts +1 -1
  173. package/es/tag/src/Tag.d.ts +4 -4
  174. package/es/tag/src/TagGroup.d.ts +2 -2
  175. package/es/time-picker/src/Panel.d.ts +1 -1
  176. package/es/time-picker/src/TimePicker.d.ts +3 -3
  177. package/es/timeline/src/Timeline.d.ts +1 -1
  178. package/es/timeline/src/TimelineItem.d.ts +1 -1
  179. package/es/toggle-button/src/ToggleButton.d.ts +8 -8
  180. package/es/tooltip/src/Tooltip.d.ts +3 -3
  181. package/es/transfer/src/Transfer.d.ts +2 -2
  182. package/es/tree/src/Tree.d.ts +2 -2
  183. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
  184. package/es/tree/src/TreeNodeContent.d.ts +1 -1
  185. package/es/tree-select/src/TreeSelect.d.ts +4 -4
  186. package/es/typography/src/create-header.d.ts +1 -1
  187. package/es/typography/src/headers.d.ts +6 -6
  188. package/es/typography/src/text.d.ts +5 -5
  189. package/es/upload/index.d.ts +2 -1
  190. package/es/upload/index.mjs +2 -1
  191. package/es/upload/src/Upload.d.ts +75 -1009
  192. package/es/upload/src/Upload.mjs +43 -124
  193. package/es/upload/src/UploadFile.d.ts +2 -2
  194. package/es/upload/src/UploadFile.mjs +8 -2
  195. package/es/upload/src/UploadFileList.mjs +17 -2
  196. package/es/upload/src/UploadProgress.d.ts +3 -2
  197. package/es/upload/src/interface.d.ts +1086 -92
  198. package/es/upload/src/interface.mjs +117 -1
  199. package/es/upload/src/public-types.d.ts +17 -2
  200. package/es/upload/src/useUploadActionsRender.d.ts +2 -27
  201. package/es/upload/src/useUploadActionsRender.mjs +2 -2
  202. package/es/upload/src/useUploadInternals.d.ts +2 -25
  203. package/es/upload/src/utils.d.ts +2 -0
  204. package/es/upload/src/utils.mjs +7 -0
  205. package/es/version.d.ts +1 -1
  206. package/es/version.mjs +1 -1
  207. package/es/virtual-list/src/VirtualList.d.ts +2 -2
  208. package/es/watermark/src/Watermark.d.ts +2 -2
  209. package/lib/_internal/checkbox/src/use-checkbox.d.ts +2 -2
  210. package/lib/_internal/close/src/Close.d.ts +1 -1
  211. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  212. package/lib/_internal/select-menu/src/SelectMenu.d.ts +1039 -169
  213. package/lib/_internal/select-menu/src/SelectMenu.js +29 -109
  214. package/lib/_internal/select-menu/src/SelectMenuParts/Action.d.ts +15 -0
  215. package/lib/_internal/select-menu/src/SelectMenuParts/Action.js +25 -0
  216. package/lib/_internal/select-menu/src/SelectMenuParts/Header.d.ts +12 -0
  217. package/lib/_internal/select-menu/src/SelectMenuParts/Header.js +17 -0
  218. package/lib/_internal/select-menu/src/SelectMenuParts/List.d.ts +129 -0
  219. package/lib/_internal/select-menu/src/SelectMenuParts/List.js +134 -0
  220. package/lib/_internal/select-menu/src/SelectMenuParts/Search.d.ts +90 -0
  221. package/lib/_internal/select-menu/src/SelectMenuParts/Search.js +52 -0
  222. package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -0
  223. package/lib/_internal/select-menu/src/SelectOption.js +13 -4
  224. package/lib/_internal/select-menu/src/interface.d.ts +650 -2
  225. package/lib/_internal/select-menu/src/interface.js +46 -1
  226. package/lib/_internal/select-menu/src/styles/index.cssr.js +23 -1
  227. package/lib/_internal/select-menu/styles/dark.js +8 -4
  228. package/lib/_internal/select-menu/styles/light.d.ts +123 -0
  229. package/lib/_internal/select-menu/styles/light.js +8 -4
  230. package/lib/_internal/selection/src/Selection.d.ts +3 -3
  231. package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
  232. package/lib/_internal/typography/src/text.d.ts +3 -3
  233. package/lib/action-card/src/ActionCard.d.ts +2 -2
  234. package/lib/affix/src/Affix.d.ts +1 -1
  235. package/lib/alert/src/Alert.d.ts +1 -1
  236. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  237. package/lib/anchor/src/BaseAnchor.d.ts +2 -2
  238. package/lib/auto-complete/src/AutoComplete.d.ts +1386 -30
  239. package/lib/auto-complete/styles/light.d.ts +123 -0
  240. package/lib/avatar/src/Avatar.d.ts +1 -1
  241. package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
  242. package/lib/back-top/src/BackTop.d.ts +1 -1
  243. package/lib/badge/src/Badge.d.ts +1 -1
  244. package/lib/button/src/Button.d.ts +7 -7
  245. package/lib/button-group/src/ButtonGroup.d.ts +1 -1
  246. package/lib/card/src/Card.d.ts +1 -1
  247. package/lib/card-list/src/CardListItem.d.ts +1 -1
  248. package/lib/carousel/src/Carousel.d.ts +4 -4
  249. package/lib/carousel/src/CarouselDots.d.ts +2 -2
  250. package/lib/cascader/src/Cascader.d.ts +1404 -51
  251. package/lib/cascader/src/CascaderMenu.d.ts +492 -0
  252. package/lib/cascader/src/CascaderOption.d.ts +492 -0
  253. package/lib/cascader/src/CascaderSelectMenu.d.ts +496 -1
  254. package/lib/cascader/src/CascaderSubmenu.d.ts +492 -0
  255. package/lib/cascader/styles/light.d.ts +123 -0
  256. package/lib/chat/src/Chat.d.ts +5868 -87
  257. package/lib/chat/src/ChatListItems.d.ts +1849 -4
  258. package/lib/chat/src/ChatMainArea.d.ts +1849 -4
  259. package/lib/chat/src/ChatMessages.d.ts +1849 -4
  260. package/lib/chat/src/ChatParts/Sidebar.d.ts +492 -0
  261. package/lib/chat/styles/dark.d.ts +123 -0
  262. package/lib/chat/styles/light.d.ts +123 -0
  263. package/lib/checkbox/src/Checkbox.d.ts +7 -7
  264. package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
  265. package/lib/code/src/Code.d.ts +2 -2
  266. package/lib/color-picker/src/ColorPicker.d.ts +1 -1
  267. package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  268. package/lib/components.d.ts +19186 -425
  269. package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
  270. package/lib/config-provider/src/context.js +2 -2
  271. package/lib/crop/src/Crop.d.ts +1 -1
  272. package/lib/data-table/src/DataTable.d.ts +2087 -119
  273. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +984 -0
  274. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +984 -0
  275. package/lib/data-table/src/TableParts/Body.d.ts +985 -1
  276. package/lib/data-table/src/TableParts/Header.d.ts +985 -1
  277. package/lib/data-table/src/interface.d.ts +738 -0
  278. package/lib/data-table/styles/light.d.ts +246 -0
  279. package/lib/date-picker/src/DatePicker.d.ts +3 -3
  280. package/lib/date-picker-v2/src/DatePickerV2.d.ts +2 -2
  281. package/lib/descriptions/src/Descriptions.d.ts +2 -2
  282. package/lib/dialog/src/Dialog.d.ts +1 -1
  283. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  284. package/lib/dialog/src/DialogProvider.d.ts +52 -52
  285. package/lib/dialog/src/dialogProps.d.ts +1 -1
  286. package/lib/divider/src/Divider.d.ts +1 -1
  287. package/lib/drawer/src/Drawer.d.ts +2 -2
  288. package/lib/dropdown/src/Dropdown.d.ts +4 -4
  289. package/lib/dynamic-input/src/DynamicInput.d.ts +2 -2
  290. package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
  291. package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
  292. package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
  293. package/lib/empty/src/Empty.d.ts +1 -1
  294. package/lib/flex/src/Flex.d.ts +1 -1
  295. package/lib/float-button/src/FloatButton.d.ts +1 -1
  296. package/lib/form/src/Form.d.ts +1 -1
  297. package/lib/form/src/FormItem.d.ts +3 -3
  298. package/lib/form/src/FormItemCol.d.ts +3 -3
  299. package/lib/form/src/FormItemGridItem.d.ts +3 -3
  300. package/lib/form/src/FormItemRow.d.ts +2 -2
  301. package/lib/form/src/utils.d.ts +1 -1
  302. package/lib/gradient-text/src/GradientText.d.ts +2 -2
  303. package/lib/header/src/Header.d.ts +1 -1
  304. package/lib/header/src/mobile/HeaderMobile.d.ts +1 -1
  305. package/lib/heatmap/src/Heatmap.d.ts +1 -1
  306. package/lib/icon-bar/src/IconBarItem.d.ts +4 -4
  307. package/lib/icon-pack/src/IconPack.d.ts +2 -2
  308. package/lib/image/src/Image.d.ts +1 -1
  309. package/lib/image/src/ImagePreview.d.ts +1 -0
  310. package/lib/image/src/ImagePreview.js +3 -19
  311. package/lib/image/src/public-types.d.ts +4 -4
  312. package/lib/input/src/Input.d.ts +7 -7
  313. package/lib/input-number/src/InputNumber.d.ts +3 -3
  314. package/lib/input-otp/src/InputOtp.d.ts +2 -2
  315. package/lib/kanban/src/Kanban.d.ts +1 -1
  316. package/lib/layout/src/LayoutSider.d.ts +1 -1
  317. package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
  318. package/lib/list/src/List.d.ts +9 -9
  319. package/lib/list/src/ListItem.d.ts +10 -10
  320. package/lib/locales/common/enUS.d.ts +1 -0
  321. package/lib/locales/common/enUS.js +2 -1
  322. package/lib/locales/common/ruRU.js +2 -1
  323. package/lib/locales/common/uzUZ.js +2 -1
  324. package/lib/locales/common/zhCN.js +2 -1
  325. package/lib/mention/src/Mention.d.ts +1388 -32
  326. package/lib/mention/styles/light.d.ts +123 -0
  327. package/lib/menu/src/Menu.d.ts +3 -3
  328. package/lib/menu/src/MenuOption.d.ts +1 -1
  329. package/lib/menu/src/MenuOptionContent.d.ts +2 -2
  330. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  331. package/lib/menu/src/Submenu.d.ts +1 -1
  332. package/lib/message-bubble/src/MessageBubble.d.ts +3 -3
  333. package/lib/message-bubble/src/MessageBubble.js +10 -4
  334. package/lib/modal/src/BodyWrapper.d.ts +2 -2
  335. package/lib/modal/src/Modal.d.ts +4 -4
  336. package/lib/modal/src/ModalEnvironment.d.ts +4 -4
  337. package/lib/modal/src/presetProps.d.ts +1 -1
  338. package/lib/modal-fullscreen/src/ModalFull.d.ts +1 -1
  339. package/lib/notification/src/Notification.d.ts +2 -2
  340. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  341. package/lib/notification/src/NotificationProvider.d.ts +12 -12
  342. package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
  343. package/lib/pagination/src/Pagination.d.ts +1995 -27
  344. package/lib/pagination/src/interface.d.ts +738 -0
  345. package/lib/pagination/styles/light.d.ts +246 -0
  346. package/lib/popconfirm/src/Popconfirm.d.ts +3 -3
  347. package/lib/popover/src/Popover.d.ts +3 -3
  348. package/lib/popover/src/PopoverBody.d.ts +1 -1
  349. package/lib/popselect/src/Popselect.d.ts +1383 -30
  350. package/lib/popselect/src/PopselectPanel.d.ts +494 -2
  351. package/lib/popselect/styles/light.d.ts +123 -0
  352. package/lib/qr-code/src/QrCode.d.ts +2 -2
  353. package/lib/radio/src/Radio.d.ts +2 -2
  354. package/lib/radio/src/RadioButton.d.ts +9 -9
  355. package/lib/radio/src/RadioGroup.d.ts +1 -1
  356. package/lib/rate/src/Rate.d.ts +1 -1
  357. package/lib/result/src/Result.d.ts +1 -1
  358. package/lib/select/index.d.ts +4 -3
  359. package/lib/select/index.js +2 -1
  360. package/lib/select/src/Select.d.ts +1127 -811
  361. package/lib/select/src/Select.js +189 -108
  362. package/lib/select/src/interface.d.ts +1140 -8
  363. package/lib/select/src/interface.js +85 -0
  364. package/lib/select/src/styles/index.cssr.js +15 -2
  365. package/lib/select/src/utils.d.ts +3 -1
  366. package/lib/select/src/utils.js +38 -0
  367. package/lib/select/styles/light.d.ts +123 -0
  368. package/lib/skeleton/src/Skeleton.d.ts +1 -1
  369. package/lib/slider/src/Slider.d.ts +4 -4
  370. package/lib/spin/src/Spin.d.ts +1 -1
  371. package/lib/split/src/Split.d.ts +2 -2
  372. package/lib/steps/src/Steps.d.ts +1 -1
  373. package/lib/switch/src/Switch.d.ts +2 -2
  374. package/lib/tabs/src/Tab.d.ts +8 -8
  375. package/lib/tabs/src/TabPane.d.ts +1 -1
  376. package/lib/tabs/src/Tabs.d.ts +1 -1
  377. package/lib/tag/src/Tag.d.ts +4 -4
  378. package/lib/tag/src/TagGroup.d.ts +2 -2
  379. package/lib/time-picker/src/Panel.d.ts +1 -1
  380. package/lib/time-picker/src/TimePicker.d.ts +3 -3
  381. package/lib/timeline/src/Timeline.d.ts +1 -1
  382. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  383. package/lib/toggle-button/src/ToggleButton.d.ts +8 -8
  384. package/lib/tooltip/src/Tooltip.d.ts +3 -3
  385. package/lib/transfer/src/Transfer.d.ts +2 -2
  386. package/lib/tree/src/Tree.d.ts +2 -2
  387. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
  388. package/lib/tree/src/TreeNodeContent.d.ts +1 -1
  389. package/lib/tree-select/src/TreeSelect.d.ts +4 -4
  390. package/lib/typography/src/create-header.d.ts +1 -1
  391. package/lib/typography/src/headers.d.ts +6 -6
  392. package/lib/typography/src/text.d.ts +5 -5
  393. package/lib/upload/index.d.ts +2 -1
  394. package/lib/upload/index.js +2 -1
  395. package/lib/upload/src/Upload.d.ts +75 -1009
  396. package/lib/upload/src/Upload.js +40 -68
  397. package/lib/upload/src/UploadFile.d.ts +2 -2
  398. package/lib/upload/src/UploadFile.js +12 -4
  399. package/lib/upload/src/UploadFileList.js +8 -1
  400. package/lib/upload/src/UploadProgress.d.ts +3 -2
  401. package/lib/upload/src/interface.d.ts +1086 -92
  402. package/lib/upload/src/interface.js +59 -1
  403. package/lib/upload/src/public-types.d.ts +17 -2
  404. package/lib/upload/src/useUploadActionsRender.d.ts +2 -27
  405. package/lib/upload/src/useUploadActionsRender.js +2 -2
  406. package/lib/upload/src/useUploadInternals.d.ts +2 -25
  407. package/lib/upload/src/utils.d.ts +2 -0
  408. package/lib/upload/src/utils.js +10 -0
  409. package/lib/version.d.ts +1 -1
  410. package/lib/version.js +1 -1
  411. package/lib/virtual-list/src/VirtualList.d.ts +2 -2
  412. package/lib/watermark/src/Watermark.d.ts +2 -2
  413. package/package.json +1 -1
  414. package/web-types.json +181 -24
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const vue_1 = require("vue");
4
+ const input_1 = require("../../../../input");
5
+ const icon_1 = require("../../../icon");
6
+ const icons_1 = require("../../../icons");
7
+ exports.default = (0, vue_1.defineComponent)({
8
+ name: 'SelectMenuSearch',
9
+ props: {
10
+ clsPrefix: {
11
+ type: String,
12
+ required: true
13
+ },
14
+ size: {
15
+ type: String,
16
+ default: 'medium'
17
+ },
18
+ pattern: {
19
+ type: String,
20
+ default: ''
21
+ },
22
+ searchPlaceholder: String,
23
+ mergedTheme: {
24
+ type: Object,
25
+ required: true
26
+ },
27
+ onPatternInput: Function
28
+ },
29
+ setup(props) {
30
+ const inputInstRef = (0, vue_1.ref)(null);
31
+ function handleInput(value) {
32
+ var _a;
33
+ (_a = props.onPatternInput) === null || _a === void 0 ? void 0 : _a.call(props, value);
34
+ }
35
+ function focus() {
36
+ var _a;
37
+ (_a = inputInstRef.value) === null || _a === void 0 ? void 0 : _a.focus();
38
+ }
39
+ return {
40
+ inputInstRef,
41
+ handleInput,
42
+ focus
43
+ };
44
+ },
45
+ render() {
46
+ const { clsPrefix, mergedTheme } = this;
47
+ return ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-menu__search`, "data-search": true, key: "search" },
48
+ (0, vue_1.h)(input_1.UInput, { ref: "inputInstRef", value: this.pattern, placeholder: this.searchPlaceholder, theme: mergedTheme.peers.Input, themeOverrides: mergedTheme.peerOverrides.Input, clearable: true, size: this.size === 'large' ? 'medium' : 'small', onUpdateValue: this.handleInput }, {
49
+ prefix: () => ((0, vue_1.h)(icon_1.UBaseIcon, { clsPrefix: clsPrefix }, { default: () => (0, vue_1.h)(icons_1.SearchIcon, null) }))
50
+ })));
51
+ }
52
+ });
@@ -16,6 +16,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
16
16
  account: Ref<boolean, boolean>;
17
17
  isGrouped: import("vue").ComputedRef<boolean | null>;
18
18
  showCheckmark: Ref<boolean, boolean>;
19
+ markType: Ref<import("./interface").MarkType, import("./interface").MarkType>;
19
20
  nodeProps: Ref<import("./interface").NodeProps | undefined, import("./interface").NodeProps | undefined>;
20
21
  isPending: import("vue").ComputedRef<boolean>;
21
22
  isSelected: import("vue").ComputedRef<boolean>;
@@ -6,10 +6,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const vooks_1 = require("vooks");
7
7
  const vue_1 = require("vue");
8
8
  const _utils_1 = require("../../../_utils");
9
+ const checkbox_1 = require("../../../checkbox");
9
10
  const account_option_1 = __importDefault(require("../../account-option"));
10
11
  const icon_1 = require("../../icon");
11
12
  const icons_1 = require("../../icons");
12
13
  const interface_1 = require("./interface");
14
+ function renderCheckbox(show, clsPrefix, checked, disabled) {
15
+ return ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-option__checkbox-wrapper` }, show ? ((0, vue_1.h)(checkbox_1.UCheckbox, { checked: checked, disabled: disabled, focusable: false })) : null));
16
+ }
13
17
  function renderCheckMark(show, clsPrefix) {
14
18
  return ((0, vue_1.h)("div", { class: `${clsPrefix}-base-select-option__check-wrapper` },
15
19
  (0, vue_1.h)(vue_1.Transition, { name: "fade-in-scale-up-transition" }, {
@@ -31,7 +35,7 @@ exports.default = (0, vue_1.defineComponent)({
31
35
  }
32
36
  },
33
37
  setup(props) {
34
- const { valueRef, pendingTmNodeRef, multipleRef, accountRef, valueSetRef, renderLabelRef, renderOptionRef, labelFieldRef, valueFieldRef, showCheckmarkRef, nodePropsRef, handleOptionClick, handleOptionMouseEnter } = (0, vue_1.inject)(interface_1.internalSelectionMenuInjectionKey);
38
+ const { valueRef, pendingTmNodeRef, multipleRef, accountRef, valueSetRef, renderLabelRef, renderOptionRef, labelFieldRef, valueFieldRef, showCheckmarkRef, markTypeRef, nodePropsRef, handleOptionClick, handleOptionMouseEnter } = (0, vue_1.inject)(interface_1.internalSelectionMenuInjectionKey);
35
39
  const isPendingRef = (0, vooks_1.useMemo)(() => {
36
40
  const { value: pendingTmNode } = pendingTmNodeRef;
37
41
  if (!pendingTmNode) {
@@ -70,6 +74,7 @@ exports.default = (0, vue_1.defineComponent)({
70
74
  return parent && parent.rawNode.type === 'group';
71
75
  }),
72
76
  showCheckmark: showCheckmarkRef,
77
+ markType: markTypeRef,
73
78
  nodeProps: nodePropsRef,
74
79
  isPending: isPendingRef,
75
80
  isSelected: (0, vooks_1.useMemo)(() => {
@@ -96,8 +101,11 @@ exports.default = (0, vue_1.defineComponent)({
96
101
  };
97
102
  },
98
103
  render() {
99
- const { clsPrefix, tmNode: { rawNode }, isSelected, isPending, isGrouped, showCheckmark, nodeProps, renderOption, renderLabel, handleClick, handleMouseEnter, handleMouseMove, account } = this;
100
- const checkmark = renderCheckMark(showCheckmark && isSelected, clsPrefix);
104
+ const { clsPrefix, tmNode: { rawNode }, isSelected, isPending, isGrouped, showCheckmark, markType, nodeProps, renderOption, renderLabel, handleClick, handleMouseEnter, handleMouseMove, account } = this;
105
+ const useCheckboxMark = markType === 'checkbox';
106
+ const checkmark = useCheckboxMark
107
+ ? renderCheckbox(showCheckmark, clsPrefix, isSelected, rawNode.disabled)
108
+ : renderCheckMark(showCheckmark && isSelected, clsPrefix);
101
109
  const label = renderLabel
102
110
  ? renderLabel(rawNode, isSelected)
103
111
  : (0, _utils_1.render)(rawNode[this.labelField], rawNode, isSelected);
@@ -115,7 +123,8 @@ exports.default = (0, vue_1.defineComponent)({
115
123
  [`${clsPrefix}-base-select-option--grouped`]: isGrouped,
116
124
  [`${clsPrefix}-base-select-option--pending`]: isPending,
117
125
  [`${clsPrefix}-base-select-option--show-checkmark`]: showCheckmark,
118
- [`${clsPrefix}-base-select-option--account`]: account
126
+ [`${clsPrefix}-base-select-option--account`]: account,
127
+ [`${clsPrefix}-base-select-option--mark-checkbox`]: useCheckboxMark
119
128
  }
120
129
  ], style: [(attrs === null || attrs === void 0 ? void 0 : attrs.style) || '', rawNode.style || ''], onClick: (0, _utils_1.mergeEventHandlers)([handleClick, attrs === null || attrs === void 0 ? void 0 : attrs.onClick]), onMouseenter: (0, _utils_1.mergeEventHandlers)([
121
130
  handleMouseEnter,