@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
@@ -8,6 +8,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
8
8
  step((generator = generator.apply(thisArg, _arguments || [])).next());
9
9
  });
10
10
  };
11
+ var __rest = (this && this.__rest) || function (s, e) {
12
+ var t = {};
13
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
14
+ t[p] = s[p];
15
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
16
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
17
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
18
+ t[p[i]] = s[p[i]];
19
+ }
20
+ return t;
21
+ };
11
22
  var __importDefault = (this && this.__importDefault) || function (mod) {
12
23
  return (mod && mod.__esModule) ? mod : { "default": mod };
13
24
  };
@@ -34,6 +45,9 @@ const SENDING_DELAY = 100;
34
45
  exports.chatMainAreaProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { selectedChat: {
35
46
  type: Object,
36
47
  default: undefined
48
+ }, inputValue: {
49
+ type: String,
50
+ default: undefined
37
51
  }, messages: {
38
52
  type: Array,
39
53
  default: () => []
@@ -121,6 +135,9 @@ exports.chatMainAreaProps = Object.assign(Object.assign({}, _mixins_1.useTheme.p
121
135
  }, onFooterInputChange: {
122
136
  type: Function,
123
137
  default: undefined
138
+ }, 'onUpdate:inputValue': {
139
+ type: Function,
140
+ default: undefined
124
141
  }, onChatClose: {
125
142
  type: Function,
126
143
  default: undefined
@@ -147,7 +164,7 @@ exports.default = (0, vue_1.defineComponent)({
147
164
  name: 'ChatMainArea',
148
165
  props: exports.chatMainAreaProps,
149
166
  setup(props, { slots }) {
150
- 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;
167
+ 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;
151
168
  const UChat = (0, vue_1.inject)(interface_1.chatInjectionKey, null);
152
169
  const isStandalone = !UChat;
153
170
  const { mergedClsPrefixRef } = (0, _mixins_1.useConfig)(props);
@@ -167,6 +184,11 @@ exports.default = (0, vue_1.defineComponent)({
167
184
  const headerProfileIconPropsRef = (_o = UChat === null || UChat === void 0 ? void 0 : UChat.headerProfileIconPropsRef) !== null && _o !== void 0 ? _o : (0, vue_1.toRef)(props, 'headerProfileIconProps');
168
185
  const messageUploadPropsRef = (_p = UChat === null || UChat === void 0 ? void 0 : UChat.messageUploadPropsRef) !== null && _p !== void 0 ? _p : (0, vue_1.toRef)(props, 'messageUploadProps');
169
186
  const footerInputPropsRef = (_q = UChat === null || UChat === void 0 ? void 0 : UChat.footerInputPropsRef) !== null && _q !== void 0 ? _q : (0, vue_1.toRef)(props, 'footerInputProps');
187
+ const safeFooterInputPropsRef = (0, vue_1.computed)(() => {
188
+ var _a;
189
+ const _b = (_a = footerInputPropsRef.value) !== null && _a !== void 0 ? _a : {}, { value } = _b, rest = __rest(_b, ["value"]);
190
+ return rest;
191
+ });
170
192
  const footerButtonPropsRef = (_r = UChat === null || UChat === void 0 ? void 0 : UChat.footerButtonPropsRef) !== null && _r !== void 0 ? _r : (0, vue_1.toRef)(props, 'footerButtonProps');
171
193
  const footerUploadPropsRef = (_s = UChat === null || UChat === void 0 ? void 0 : UChat.footerUploadPropsRef) !== null && _s !== void 0 ? _s : (0, vue_1.toRef)(props, 'footerUploadProps');
172
194
  const footerIconPropsRef = (_t = UChat === null || UChat === void 0 ? void 0 : UChat.footerIconPropsRef) !== null && _t !== void 0 ? _t : (0, vue_1.toRef)(props, 'footerIconProps');
@@ -237,7 +259,26 @@ exports.default = (0, vue_1.defineComponent)({
237
259
  const themeClassHandle = (0, _mixins_1.useThemeClass)('chat-main-area', (0, vue_1.computed)(() => ''), cssVarsRef, props);
238
260
  const messagesBodyRef = (0, vue_1.ref)();
239
261
  const inputRef = (0, vue_1.ref)();
240
- const inputValue = (0, vue_1.ref)('');
262
+ const uncontrolledInputValueRef = (0, vue_1.ref)((_17 = props.inputValue) !== null && _17 !== void 0 ? _17 : '');
263
+ const handleInputValueChange = (_18 = UChat === null || UChat === void 0 ? void 0 : UChat.handleInputValueChange) !== null && _18 !== void 0 ? _18 : ((value) => {
264
+ var _a;
265
+ uncontrolledInputValueRef.value = value;
266
+ (_a = props['onUpdate:inputValue']) === null || _a === void 0 ? void 0 : _a.call(props, value);
267
+ });
268
+ const inputValue = (0, vue_1.computed)({
269
+ get: () => {
270
+ var _a;
271
+ if (UChat) {
272
+ return (_a = UChat.inputValueRef.value) !== null && _a !== void 0 ? _a : '';
273
+ }
274
+ return props.inputValue !== undefined
275
+ ? props.inputValue
276
+ : uncontrolledInputValueRef.value;
277
+ },
278
+ set: (value) => {
279
+ handleInputValueChange(value);
280
+ }
281
+ });
241
282
  const attachmentFileList = (0, vue_1.ref)([]);
242
283
  const uploadedAttachmentsMap = (0, vue_1.ref)(new Map());
243
284
  const lastScrollTop = (0, vue_1.ref)(0);
@@ -634,12 +675,14 @@ exports.default = (0, vue_1.defineComponent)({
634
675
  chatInputs.value[selectedChatRef.value.id] = value;
635
676
  }
636
677
  }, onKeydown: (e) => {
678
+ var _a, _b;
679
+ (_b = (_a = footerInputPropsRef.value) === null || _a === void 0 ? void 0 : _a.onKeydown) === null || _b === void 0 ? void 0 : _b.call(_a, e);
637
680
  if (e.key === 'Enter' && !e.shiftKey) {
638
681
  e.preventDefault();
639
682
  e.stopPropagation();
640
683
  void handleSendMessage();
641
684
  }
642
- } }, footerInputPropsRef.value), {
685
+ } }, safeFooterInputPropsRef.value), {
643
686
  prefix: () => renderEditingBlock(),
644
687
  suffix: () => ((0, vue_1.h)(icon_1.UIcon, Object.assign({ size: 24, class: `${mergedClsPrefixRef.value}-chat-main__input-suffix` }, footerSuffixIconPropsRef.value, { theme: mergedThemeRef.value.peers.FooterSuffixIcon, themeOverrides: mergedThemeRef.value.peerOverrides
645
688
  .FooterSuffixIcon, onClick: () => {
@@ -658,6 +701,8 @@ exports.default = (0, vue_1.defineComponent)({
658
701
  mergedClsPrefixRef,
659
702
  mergedThemeRef,
660
703
  selectedChatRef,
704
+ inputValueRef: inputValue,
705
+ handleInputValueChange,
661
706
  messagesRef,
662
707
  typingChatIdsRef,
663
708
  messagesLoadingRef,