@uzum-tech/ui 2.3.2 → 2.3.4

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 (386) hide show
  1. package/dist/index.js +29612 -29062
  2. package/dist/index.mjs +29877 -29327
  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 +5921 -2897
  53. package/es/chat/src/Chat.mjs +13 -240
  54. package/es/chat/src/ChatListItems.d.ts +1875 -30
  55. package/es/chat/src/ChatMainArea.d.ts +1925 -54
  56. package/es/chat/src/ChatMainArea.mjs +49 -3
  57. package/es/chat/src/ChatMessages.d.ts +1874 -29
  58. package/es/chat/src/ChatParts/Sidebar.d.ts +492 -0
  59. package/es/chat/src/interface.d.ts +2814 -2
  60. package/es/chat/src/interface.mjs +244 -1
  61. package/es/chat/styles/dark.d.ts +123 -0
  62. package/es/chat/styles/light.d.ts +123 -0
  63. package/es/checkbox/src/Checkbox.d.ts +7 -7
  64. package/es/checkbox/src/CheckboxGroup.d.ts +1 -1
  65. package/es/code/src/Code.d.ts +2 -2
  66. package/es/color-picker/src/ColorPicker.d.ts +1 -1
  67. package/es/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  68. package/es/components.d.ts +19428 -602
  69. package/es/config-provider/src/ConfigProvider.d.ts +1 -1
  70. package/es/config-provider/src/context.mjs +1 -1
  71. package/es/crop/src/Crop.d.ts +1 -1
  72. package/es/data-table/src/DataTable.d.ts +2087 -119
  73. package/es/data-table/src/HeaderButton/FilterButton.d.ts +984 -0
  74. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +984 -0
  75. package/es/data-table/src/TableParts/Body.d.ts +985 -1
  76. package/es/data-table/src/TableParts/Header.d.ts +985 -1
  77. package/es/data-table/src/interface.d.ts +738 -0
  78. package/es/data-table/styles/light.d.ts +246 -0
  79. package/es/date-picker/src/DatePicker.d.ts +3 -3
  80. package/es/date-picker-v2/src/DatePickerV2.d.ts +2 -2
  81. package/es/descriptions/src/Descriptions.d.ts +2 -2
  82. package/es/dialog/src/Dialog.d.ts +1 -1
  83. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  84. package/es/dialog/src/DialogProvider.d.ts +52 -52
  85. package/es/dialog/src/dialogProps.d.ts +1 -1
  86. package/es/divider/src/Divider.d.ts +1 -1
  87. package/es/drawer/src/Drawer.d.ts +2 -2
  88. package/es/dropdown/src/Dropdown.d.ts +4 -4
  89. package/es/dynamic-input/src/DynamicInput.d.ts +2 -2
  90. package/es/dynamic-input/src/InputPreset.d.ts +1 -1
  91. package/es/dynamic-input/src/PairPreset.d.ts +1 -1
  92. package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
  93. package/es/empty/src/Empty.d.ts +1 -1
  94. package/es/flex/src/Flex.d.ts +1 -1
  95. package/es/float-button/src/FloatButton.d.ts +1 -1
  96. package/es/form/src/Form.d.ts +1 -1
  97. package/es/form/src/FormItem.d.ts +3 -3
  98. package/es/form/src/FormItemCol.d.ts +3 -3
  99. package/es/form/src/FormItemGridItem.d.ts +3 -3
  100. package/es/form/src/FormItemRow.d.ts +2 -2
  101. package/es/form/src/utils.d.ts +1 -1
  102. package/es/gradient-text/src/GradientText.d.ts +2 -2
  103. package/es/header/src/Header.d.ts +1 -1
  104. package/es/header/src/mobile/HeaderMobile.d.ts +1 -1
  105. package/es/heatmap/src/Heatmap.d.ts +1 -1
  106. package/es/icon-bar/src/IconBarItem.d.ts +4 -4
  107. package/es/icon-pack/src/IconPack.d.ts +2 -2
  108. package/es/image/src/Image.d.ts +1 -1
  109. package/es/input/src/Input.d.ts +7 -7
  110. package/es/input-number/src/InputNumber.d.ts +3 -3
  111. package/es/input-otp/src/InputOtp.d.ts +2 -2
  112. package/es/kanban/src/Kanban.d.ts +1 -1
  113. package/es/layout/src/LayoutSider.d.ts +1 -1
  114. package/es/legacy-transfer/src/Transfer.d.ts +2 -2
  115. package/es/list/src/List.d.ts +9 -9
  116. package/es/list/src/ListItem.d.ts +10 -10
  117. package/es/locales/common/enUS.d.ts +1 -0
  118. package/es/locales/common/enUS.mjs +2 -1
  119. package/es/locales/common/ruRU.mjs +2 -1
  120. package/es/locales/common/uzUZ.mjs +2 -1
  121. package/es/locales/common/zhCN.mjs +2 -1
  122. package/es/mention/src/Mention.d.ts +1388 -32
  123. package/es/mention/styles/light.d.ts +123 -0
  124. package/es/menu/src/Menu.d.ts +3 -3
  125. package/es/menu/src/MenuOption.d.ts +1 -1
  126. package/es/menu/src/MenuOptionContent.d.ts +2 -2
  127. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  128. package/es/menu/src/Submenu.d.ts +1 -1
  129. package/es/message-bubble/src/MessageBubble.d.ts +3 -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/src/Upload.d.ts +3 -3
  190. package/es/upload/src/UploadFile.d.ts +1 -1
  191. package/es/version.d.ts +1 -1
  192. package/es/version.mjs +1 -1
  193. package/es/virtual-list/src/VirtualList.d.ts +2 -2
  194. package/es/watermark/src/Watermark.d.ts +2 -2
  195. package/lib/_internal/checkbox/src/use-checkbox.d.ts +2 -2
  196. package/lib/_internal/close/src/Close.d.ts +1 -1
  197. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  198. package/lib/_internal/select-menu/src/SelectMenu.d.ts +1039 -169
  199. package/lib/_internal/select-menu/src/SelectMenu.js +29 -109
  200. package/lib/_internal/select-menu/src/SelectMenuParts/Action.d.ts +15 -0
  201. package/lib/_internal/select-menu/src/SelectMenuParts/Action.js +25 -0
  202. package/lib/_internal/select-menu/src/SelectMenuParts/Header.d.ts +12 -0
  203. package/lib/_internal/select-menu/src/SelectMenuParts/Header.js +17 -0
  204. package/lib/_internal/select-menu/src/SelectMenuParts/List.d.ts +129 -0
  205. package/lib/_internal/select-menu/src/SelectMenuParts/List.js +134 -0
  206. package/lib/_internal/select-menu/src/SelectMenuParts/Search.d.ts +90 -0
  207. package/lib/_internal/select-menu/src/SelectMenuParts/Search.js +52 -0
  208. package/lib/_internal/select-menu/src/SelectOption.d.ts +1 -0
  209. package/lib/_internal/select-menu/src/SelectOption.js +13 -4
  210. package/lib/_internal/select-menu/src/interface.d.ts +650 -2
  211. package/lib/_internal/select-menu/src/interface.js +46 -1
  212. package/lib/_internal/select-menu/src/styles/index.cssr.js +23 -1
  213. package/lib/_internal/select-menu/styles/dark.js +8 -4
  214. package/lib/_internal/select-menu/styles/light.d.ts +123 -0
  215. package/lib/_internal/select-menu/styles/light.js +8 -4
  216. package/lib/_internal/selection/src/Selection.d.ts +3 -3
  217. package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
  218. package/lib/_internal/typography/src/text.d.ts +3 -3
  219. package/lib/action-card/src/ActionCard.d.ts +2 -2
  220. package/lib/affix/src/Affix.d.ts +1 -1
  221. package/lib/alert/src/Alert.d.ts +1 -1
  222. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  223. package/lib/anchor/src/BaseAnchor.d.ts +2 -2
  224. package/lib/auto-complete/src/AutoComplete.d.ts +1386 -30
  225. package/lib/auto-complete/styles/light.d.ts +123 -0
  226. package/lib/avatar/src/Avatar.d.ts +1 -1
  227. package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
  228. package/lib/back-top/src/BackTop.d.ts +1 -1
  229. package/lib/badge/src/Badge.d.ts +1 -1
  230. package/lib/button/src/Button.d.ts +7 -7
  231. package/lib/button-group/src/ButtonGroup.d.ts +1 -1
  232. package/lib/card/src/Card.d.ts +1 -1
  233. package/lib/card-list/src/CardListItem.d.ts +1 -1
  234. package/lib/carousel/src/Carousel.d.ts +4 -4
  235. package/lib/carousel/src/CarouselDots.d.ts +2 -2
  236. package/lib/cascader/src/Cascader.d.ts +1404 -51
  237. package/lib/cascader/src/CascaderMenu.d.ts +492 -0
  238. package/lib/cascader/src/CascaderOption.d.ts +492 -0
  239. package/lib/cascader/src/CascaderSelectMenu.d.ts +496 -1
  240. package/lib/cascader/src/CascaderSubmenu.d.ts +492 -0
  241. package/lib/cascader/styles/light.d.ts +123 -0
  242. package/lib/chat/src/Chat.d.ts +5921 -2897
  243. package/lib/chat/src/Chat.js +15 -180
  244. package/lib/chat/src/ChatListItems.d.ts +1875 -30
  245. package/lib/chat/src/ChatMainArea.d.ts +1925 -54
  246. package/lib/chat/src/ChatMainArea.js +48 -3
  247. package/lib/chat/src/ChatMessages.d.ts +1874 -29
  248. package/lib/chat/src/ChatParts/Sidebar.d.ts +492 -0
  249. package/lib/chat/src/interface.d.ts +2814 -2
  250. package/lib/chat/src/interface.js +183 -1
  251. package/lib/chat/styles/dark.d.ts +123 -0
  252. package/lib/chat/styles/light.d.ts +123 -0
  253. package/lib/checkbox/src/Checkbox.d.ts +7 -7
  254. package/lib/checkbox/src/CheckboxGroup.d.ts +1 -1
  255. package/lib/code/src/Code.d.ts +2 -2
  256. package/lib/color-picker/src/ColorPicker.d.ts +1 -1
  257. package/lib/color-picker/src/ColorPickerTrigger.d.ts +1 -1
  258. package/lib/components.d.ts +19428 -602
  259. package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
  260. package/lib/config-provider/src/context.js +2 -2
  261. package/lib/crop/src/Crop.d.ts +1 -1
  262. package/lib/data-table/src/DataTable.d.ts +2087 -119
  263. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +984 -0
  264. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +984 -0
  265. package/lib/data-table/src/TableParts/Body.d.ts +985 -1
  266. package/lib/data-table/src/TableParts/Header.d.ts +985 -1
  267. package/lib/data-table/src/interface.d.ts +738 -0
  268. package/lib/data-table/styles/light.d.ts +246 -0
  269. package/lib/date-picker/src/DatePicker.d.ts +3 -3
  270. package/lib/date-picker-v2/src/DatePickerV2.d.ts +2 -2
  271. package/lib/descriptions/src/Descriptions.d.ts +2 -2
  272. package/lib/dialog/src/Dialog.d.ts +1 -1
  273. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  274. package/lib/dialog/src/DialogProvider.d.ts +52 -52
  275. package/lib/dialog/src/dialogProps.d.ts +1 -1
  276. package/lib/divider/src/Divider.d.ts +1 -1
  277. package/lib/drawer/src/Drawer.d.ts +2 -2
  278. package/lib/dropdown/src/Dropdown.d.ts +4 -4
  279. package/lib/dynamic-input/src/DynamicInput.d.ts +2 -2
  280. package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
  281. package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
  282. package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
  283. package/lib/empty/src/Empty.d.ts +1 -1
  284. package/lib/flex/src/Flex.d.ts +1 -1
  285. package/lib/float-button/src/FloatButton.d.ts +1 -1
  286. package/lib/form/src/Form.d.ts +1 -1
  287. package/lib/form/src/FormItem.d.ts +3 -3
  288. package/lib/form/src/FormItemCol.d.ts +3 -3
  289. package/lib/form/src/FormItemGridItem.d.ts +3 -3
  290. package/lib/form/src/FormItemRow.d.ts +2 -2
  291. package/lib/form/src/utils.d.ts +1 -1
  292. package/lib/gradient-text/src/GradientText.d.ts +2 -2
  293. package/lib/header/src/Header.d.ts +1 -1
  294. package/lib/header/src/mobile/HeaderMobile.d.ts +1 -1
  295. package/lib/heatmap/src/Heatmap.d.ts +1 -1
  296. package/lib/icon-bar/src/IconBarItem.d.ts +4 -4
  297. package/lib/icon-pack/src/IconPack.d.ts +2 -2
  298. package/lib/image/src/Image.d.ts +1 -1
  299. package/lib/input/src/Input.d.ts +7 -7
  300. package/lib/input-number/src/InputNumber.d.ts +3 -3
  301. package/lib/input-otp/src/InputOtp.d.ts +2 -2
  302. package/lib/kanban/src/Kanban.d.ts +1 -1
  303. package/lib/layout/src/LayoutSider.d.ts +1 -1
  304. package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
  305. package/lib/list/src/List.d.ts +9 -9
  306. package/lib/list/src/ListItem.d.ts +10 -10
  307. package/lib/locales/common/enUS.d.ts +1 -0
  308. package/lib/locales/common/enUS.js +2 -1
  309. package/lib/locales/common/ruRU.js +2 -1
  310. package/lib/locales/common/uzUZ.js +2 -1
  311. package/lib/locales/common/zhCN.js +2 -1
  312. package/lib/mention/src/Mention.d.ts +1388 -32
  313. package/lib/mention/styles/light.d.ts +123 -0
  314. package/lib/menu/src/Menu.d.ts +3 -3
  315. package/lib/menu/src/MenuOption.d.ts +1 -1
  316. package/lib/menu/src/MenuOptionContent.d.ts +2 -2
  317. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  318. package/lib/menu/src/Submenu.d.ts +1 -1
  319. package/lib/message-bubble/src/MessageBubble.d.ts +3 -3
  320. package/lib/modal/src/BodyWrapper.d.ts +2 -2
  321. package/lib/modal/src/Modal.d.ts +4 -4
  322. package/lib/modal/src/ModalEnvironment.d.ts +4 -4
  323. package/lib/modal/src/presetProps.d.ts +1 -1
  324. package/lib/modal-fullscreen/src/ModalFull.d.ts +1 -1
  325. package/lib/notification/src/Notification.d.ts +2 -2
  326. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  327. package/lib/notification/src/NotificationProvider.d.ts +12 -12
  328. package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
  329. package/lib/pagination/src/Pagination.d.ts +1995 -27
  330. package/lib/pagination/src/interface.d.ts +738 -0
  331. package/lib/pagination/styles/light.d.ts +246 -0
  332. package/lib/popconfirm/src/Popconfirm.d.ts +3 -3
  333. package/lib/popover/src/Popover.d.ts +3 -3
  334. package/lib/popover/src/PopoverBody.d.ts +1 -1
  335. package/lib/popselect/src/Popselect.d.ts +1383 -30
  336. package/lib/popselect/src/PopselectPanel.d.ts +494 -2
  337. package/lib/popselect/styles/light.d.ts +123 -0
  338. package/lib/qr-code/src/QrCode.d.ts +2 -2
  339. package/lib/radio/src/Radio.d.ts +2 -2
  340. package/lib/radio/src/RadioButton.d.ts +9 -9
  341. package/lib/radio/src/RadioGroup.d.ts +1 -1
  342. package/lib/rate/src/Rate.d.ts +1 -1
  343. package/lib/result/src/Result.d.ts +1 -1
  344. package/lib/select/index.d.ts +4 -3
  345. package/lib/select/index.js +2 -1
  346. package/lib/select/src/Select.d.ts +1127 -811
  347. package/lib/select/src/Select.js +189 -108
  348. package/lib/select/src/interface.d.ts +1140 -8
  349. package/lib/select/src/interface.js +85 -0
  350. package/lib/select/src/styles/index.cssr.js +15 -2
  351. package/lib/select/src/utils.d.ts +3 -1
  352. package/lib/select/src/utils.js +38 -0
  353. package/lib/select/styles/light.d.ts +123 -0
  354. package/lib/skeleton/src/Skeleton.d.ts +1 -1
  355. package/lib/slider/src/Slider.d.ts +4 -4
  356. package/lib/spin/src/Spin.d.ts +1 -1
  357. package/lib/split/src/Split.d.ts +2 -2
  358. package/lib/steps/src/Steps.d.ts +1 -1
  359. package/lib/switch/src/Switch.d.ts +2 -2
  360. package/lib/tabs/src/Tab.d.ts +8 -8
  361. package/lib/tabs/src/TabPane.d.ts +1 -1
  362. package/lib/tabs/src/Tabs.d.ts +1 -1
  363. package/lib/tag/src/Tag.d.ts +4 -4
  364. package/lib/tag/src/TagGroup.d.ts +2 -2
  365. package/lib/time-picker/src/Panel.d.ts +1 -1
  366. package/lib/time-picker/src/TimePicker.d.ts +3 -3
  367. package/lib/timeline/src/Timeline.d.ts +1 -1
  368. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  369. package/lib/toggle-button/src/ToggleButton.d.ts +8 -8
  370. package/lib/tooltip/src/Tooltip.d.ts +3 -3
  371. package/lib/transfer/src/Transfer.d.ts +2 -2
  372. package/lib/tree/src/Tree.d.ts +2 -2
  373. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
  374. package/lib/tree/src/TreeNodeContent.d.ts +1 -1
  375. package/lib/tree-select/src/TreeSelect.d.ts +4 -4
  376. package/lib/typography/src/create-header.d.ts +1 -1
  377. package/lib/typography/src/headers.d.ts +6 -6
  378. package/lib/typography/src/text.d.ts +5 -5
  379. package/lib/upload/src/Upload.d.ts +3 -3
  380. package/lib/upload/src/UploadFile.d.ts +1 -1
  381. package/lib/version.d.ts +1 -1
  382. package/lib/version.js +1 -1
  383. package/lib/virtual-list/src/VirtualList.d.ts +2 -2
  384. package/lib/watermark/src/Watermark.d.ts +2 -2
  385. package/package.json +1 -1
  386. package/web-types.json +86 -3
@@ -25,6 +25,14 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
25
25
  step((generator = generator.apply(thisArg, _arguments || [])).next());
26
26
  });
27
27
  };
28
+ var __rest = this && this.__rest || function (s, e) {
29
+ var t = {};
30
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];
31
+ if (s != null && typeof Object.getOwnPropertySymbols === "function") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
32
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];
33
+ }
34
+ return t;
35
+ };
28
36
  import { computed, defineComponent, Fragment, h, inject, nextTick, onMounted, provide, ref, toRef, watch } from 'vue';
29
37
  import { ArrowHookUpRight, AttachIcon, CloseIcon, PersonNote, SendFilled } from "../../_internal/icons/index.mjs";
30
38
  import { useConfig, useLocale, useTheme, useThemeClass } from "../../_mixins/index.mjs";
@@ -48,6 +56,10 @@ export const chatMainAreaProps = Object.assign(Object.assign({}, useTheme.props)
48
56
  type: Object,
49
57
  default: undefined
50
58
  },
59
+ inputValue: {
60
+ type: String,
61
+ default: undefined
62
+ },
51
63
  messages: {
52
64
  type: Array,
53
65
  default: () => []
@@ -164,6 +176,10 @@ export const chatMainAreaProps = Object.assign(Object.assign({}, useTheme.props)
164
176
  type: Function,
165
177
  default: undefined
166
178
  },
179
+ 'onUpdate:inputValue': {
180
+ type: Function,
181
+ default: undefined
182
+ },
167
183
  onChatClose: {
168
184
  type: Function,
169
185
  default: undefined
@@ -199,7 +215,7 @@ export default defineComponent({
199
215
  setup(props, {
200
216
  slots
201
217
  }) {
202
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16;
218
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18;
203
219
  const UChat = inject(chatInjectionKey, null);
204
220
  const isStandalone = !UChat;
205
221
  const {
@@ -223,6 +239,15 @@ export default defineComponent({
223
239
  const headerProfileIconPropsRef = (_o = UChat === null || UChat === void 0 ? void 0 : UChat.headerProfileIconPropsRef) !== null && _o !== void 0 ? _o : toRef(props, 'headerProfileIconProps');
224
240
  const messageUploadPropsRef = (_p = UChat === null || UChat === void 0 ? void 0 : UChat.messageUploadPropsRef) !== null && _p !== void 0 ? _p : toRef(props, 'messageUploadProps');
225
241
  const footerInputPropsRef = (_q = UChat === null || UChat === void 0 ? void 0 : UChat.footerInputPropsRef) !== null && _q !== void 0 ? _q : toRef(props, 'footerInputProps');
242
+ const safeFooterInputPropsRef = computed(() => {
243
+ var _a;
244
+ const _b = (_a = footerInputPropsRef.value) !== null && _a !== void 0 ? _a : {},
245
+ {
246
+ value
247
+ } = _b,
248
+ rest = __rest(_b, ["value"]);
249
+ return rest;
250
+ });
226
251
  const footerButtonPropsRef = (_r = UChat === null || UChat === void 0 ? void 0 : UChat.footerButtonPropsRef) !== null && _r !== void 0 ? _r : toRef(props, 'footerButtonProps');
227
252
  const footerUploadPropsRef = (_s = UChat === null || UChat === void 0 ? void 0 : UChat.footerUploadPropsRef) !== null && _s !== void 0 ? _s : toRef(props, 'footerUploadProps');
228
253
  const footerIconPropsRef = (_t = UChat === null || UChat === void 0 ? void 0 : UChat.footerIconPropsRef) !== null && _t !== void 0 ? _t : toRef(props, 'footerIconProps');
@@ -362,7 +387,24 @@ export default defineComponent({
362
387
  const themeClassHandle = useThemeClass('chat-main-area', computed(() => ''), cssVarsRef, props);
363
388
  const messagesBodyRef = ref();
364
389
  const inputRef = ref();
365
- const inputValue = ref('');
390
+ const uncontrolledInputValueRef = ref((_17 = props.inputValue) !== null && _17 !== void 0 ? _17 : '');
391
+ const handleInputValueChange = (_18 = UChat === null || UChat === void 0 ? void 0 : UChat.handleInputValueChange) !== null && _18 !== void 0 ? _18 : value => {
392
+ var _a;
393
+ uncontrolledInputValueRef.value = value;
394
+ (_a = props['onUpdate:inputValue']) === null || _a === void 0 ? void 0 : _a.call(props, value);
395
+ };
396
+ const inputValue = computed({
397
+ get: () => {
398
+ var _a;
399
+ if (UChat) {
400
+ return (_a = UChat.inputValueRef.value) !== null && _a !== void 0 ? _a : '';
401
+ }
402
+ return props.inputValue !== undefined ? props.inputValue : uncontrolledInputValueRef.value;
403
+ },
404
+ set: value => {
405
+ handleInputValueChange(value);
406
+ }
407
+ });
366
408
  const attachmentFileList = ref([]);
367
409
  const uploadedAttachmentsMap = ref(new Map());
368
410
  const lastScrollTop = ref(0);
@@ -875,13 +917,15 @@ export default defineComponent({
875
917
  }
876
918
  },
877
919
  onKeydown: e => {
920
+ var _a, _b;
921
+ (_b = (_a = footerInputPropsRef.value) === null || _a === void 0 ? void 0 : _a.onKeydown) === null || _b === void 0 ? void 0 : _b.call(_a, e);
878
922
  if (e.key === 'Enter' && !e.shiftKey) {
879
923
  e.preventDefault();
880
924
  e.stopPropagation();
881
925
  void handleSendMessage();
882
926
  }
883
927
  }
884
- }, footerInputPropsRef.value), {
928
+ }, safeFooterInputPropsRef.value), {
885
929
  prefix: () => renderEditingBlock(),
886
930
  suffix: () => h(UIcon, Object.assign({
887
931
  size: 24,
@@ -904,6 +948,8 @@ export default defineComponent({
904
948
  mergedClsPrefixRef,
905
949
  mergedThemeRef,
906
950
  selectedChatRef,
951
+ inputValueRef: inputValue,
952
+ handleInputValueChange,
907
953
  messagesRef,
908
954
  typingChatIdsRef,
909
955
  messagesLoadingRef,