@uzum-tech/ui 1.11.2 → 1.12.1

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 (547) hide show
  1. package/dist/index.js +54230 -49889
  2. package/dist/index.prod.js +4 -4
  3. package/es/_internal/close/src/Close.d.ts +2 -2
  4. package/es/_internal/icons/BurgerMenuIcon.d.ts +2 -0
  5. package/es/_internal/icons/BurgerMenuIcon.js +4 -0
  6. package/es/_internal/icons/Logout.d.ts +2 -0
  7. package/es/_internal/icons/Logout.js +4 -0
  8. package/es/_internal/icons/OzbekFlag.d.ts +2 -0
  9. package/es/_internal/icons/OzbekFlag.js +15 -0
  10. package/es/_internal/icons/RussiaFlag.d.ts +2 -0
  11. package/es/_internal/icons/RussiaFlag.js +11 -0
  12. package/es/_internal/icons/SendFilled.d.ts +2 -0
  13. package/es/_internal/icons/SendFilled.js +9 -0
  14. package/es/_internal/icons/index.d.ts +5 -0
  15. package/es/_internal/icons/index.js +5 -0
  16. package/es/_internal/loading/src/Loading.d.ts +1 -1
  17. package/es/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +2 -2
  18. package/es/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
  19. package/es/_internal/select-menu/src/SelectMenu.d.ts +7 -7
  20. package/es/_internal/selection/src/Selection.d.ts +13 -13
  21. package/es/_internal/skeleton/src/Skeleton.d.ts +1 -1
  22. package/es/_internal/typography/index.d.ts +1 -0
  23. package/es/_internal/typography/src/text.d.ts +42 -3
  24. package/es/_internal/typography/src/text.js +17 -4
  25. package/es/_internal/typography/src/variants.d.ts +105 -4
  26. package/es/_internal/typography/src/variants.js +84 -42
  27. package/es/_internal/typography/styles/dark.js +1 -1
  28. package/es/_internal/typography/styles/light.d.ts +1 -1
  29. package/es/_internal/typography/styles/light.js +1 -1
  30. package/es/_styles/common/dark.js +1 -1
  31. package/es/_styles/common/light.d.ts +1 -0
  32. package/es/_styles/common/light.js +1 -1
  33. package/es/affix/src/Affix.d.ts +3 -3
  34. package/es/alert/src/Alert.d.ts +3 -3
  35. package/es/anchor/src/AnchorAdapter.d.ts +5 -5
  36. package/es/auto-complete/src/AutoComplete.d.ts +3 -3
  37. package/es/avatar/src/Avatar.d.ts +1 -1
  38. package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
  39. package/es/back-top/src/BackTop.d.ts +1 -1
  40. package/es/badge/src/Badge.d.ts +1 -1
  41. package/es/button/src/Button.d.ts +7 -7
  42. package/es/card/src/Card.d.ts +3 -3
  43. package/es/card-list/src/CardList.d.ts +2 -2
  44. package/es/card-list/src/CardListItem.d.ts +1 -1
  45. package/es/carousel/src/Carousel.d.ts +8 -8
  46. package/es/carousel/src/CarouselDots.d.ts +2 -2
  47. package/es/cascader/src/Cascader.d.ts +12 -12
  48. package/es/cascader/src/CascaderMenu.d.ts +1 -1
  49. package/es/cascader/src/CascaderSelectMenu.d.ts +1 -1
  50. package/es/chat/src/Chat.d.ts +464 -83
  51. package/es/chat/src/Chat.js +17 -2
  52. package/es/chat/src/ChatListItems.d.ts +497 -94
  53. package/es/chat/src/ChatListItems.js +1 -1
  54. package/es/chat/src/ChatMessages.d.ts +501 -94
  55. package/es/chat/src/ChatMessages.js +115 -22
  56. package/es/chat/src/ChatParts/MainArea.d.ts +7 -3
  57. package/es/chat/src/ChatParts/MainArea.js +110 -14
  58. package/es/chat/src/ChatParts/Sidebar.d.ts +64 -11
  59. package/es/chat/src/interface.d.ts +18 -0
  60. package/es/chat/src/interface.js +6 -0
  61. package/es/chat/src/styles/index.cssr.js +22 -1
  62. package/es/chat/styles/dark.d.ts +41 -8
  63. package/es/chat/styles/dark.js +6 -2
  64. package/es/chat/styles/light.d.ts +42 -8
  65. package/es/chat/styles/light.js +7 -2
  66. package/es/checkbox/src/Checkbox.d.ts +5 -5
  67. package/es/code/src/Code.d.ts +1 -1
  68. package/es/collapse/src/Collapse.d.ts +1 -1
  69. package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
  70. package/es/color-picker/src/ColorPicker.d.ts +3 -3
  71. package/es/components.d.ts +3 -0
  72. package/es/components.js +3 -0
  73. package/es/config-provider/src/ConfigProvider.d.ts +7 -1
  74. package/es/config-provider/src/ConfigProvider.js +83 -12
  75. package/es/config-provider/src/interface.d.ts +1 -1
  76. package/es/config-provider/src/internal-interface.d.ts +212 -33
  77. package/es/countdown/src/Countdown.d.ts +1 -1
  78. package/es/create.js +34 -3
  79. package/es/data-table/src/DataTable.d.ts +6 -6
  80. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  81. package/es/date-picker/src/DatePicker.d.ts +4 -4
  82. package/es/date-picker/src/panel/date.d.ts +1 -1
  83. package/es/date-picker/src/panel/daterange.d.ts +1 -1
  84. package/es/date-picker/src/panel/datetime.d.ts +1 -1
  85. package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
  86. package/es/date-picker/src/panel/panelMonth.d.ts +9 -9
  87. package/es/date-picker/src/panel/panelMonthContent.d.ts +1 -1
  88. package/es/date-picker/src/panel/panelYear.d.ts +9 -9
  89. package/es/date-picker/src/panel/panelYearContent.d.ts +1 -1
  90. package/es/descriptions/src/Descriptions.d.ts +3 -3
  91. package/es/dialog/src/Dialog.d.ts +1 -1
  92. package/es/dialog/src/DialogEnvironment.d.ts +3 -3
  93. package/es/dialog/src/DialogProvider.d.ts +31 -29
  94. package/es/dialog/src/dialogProps.d.ts +1 -1
  95. package/es/drawer/src/Drawer.d.ts +7 -7
  96. package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
  97. package/es/dropdown/src/Dropdown.d.ts +15 -15
  98. package/es/dropdown/src/DropdownMenu.d.ts +2 -2
  99. package/es/dropdown/src/DropdownOption.d.ts +1 -1
  100. package/es/dynamic-input/src/DynamicInput.d.ts +1 -1
  101. package/es/dynamic-tags/src/DynamicTags.d.ts +2 -2
  102. package/es/empty/src/Empty.d.ts +1 -1
  103. package/es/flex/src/Flex.d.ts +1 -1
  104. package/es/form/src/FormItem.d.ts +3 -3
  105. package/es/form/src/FormItemCol.d.ts +2 -2
  106. package/es/form/src/FormItemGridItem.d.ts +3 -3
  107. package/es/form/src/FormItemRow.d.ts +2 -2
  108. package/es/form/src/utils.d.ts +1 -1
  109. package/es/gradient-text/src/GradientText.d.ts +2 -2
  110. package/es/grid/src/Grid.d.ts +3 -3
  111. package/es/grid/src/GridItem.d.ts +2 -2
  112. package/es/header/demos/mock.d.ts +2 -0
  113. package/es/header/demos/mock.js +235 -0
  114. package/es/header/index.d.ts +12 -0
  115. package/es/header/index.js +10 -0
  116. package/es/header/src/Header.d.ts +604 -0
  117. package/es/header/src/Header.js +320 -0
  118. package/es/header/src/HeaderActions.d.ts +120 -0
  119. package/es/header/src/HeaderActions.js +166 -0
  120. package/es/header/src/HeaderDesktopLayout.d.ts +25 -0
  121. package/es/header/src/HeaderDesktopLayout.js +24 -0
  122. package/es/header/src/HeaderMobileLayout.d.ts +25 -0
  123. package/es/header/src/HeaderMobileLayout.js +21 -0
  124. package/es/header/src/HeaderNavigation.d.ts +128 -0
  125. package/es/header/src/HeaderNavigation.js +172 -0
  126. package/es/header/src/HeaderSearchDesktop.d.ts +79 -0
  127. package/es/header/src/HeaderSearchDesktop.js +77 -0
  128. package/es/header/src/HeaderSearchMobile.d.ts +73 -0
  129. package/es/header/src/HeaderSearchMobile.js +126 -0
  130. package/es/header/src/HeaderSearchResults.d.ts +81 -0
  131. package/es/header/src/HeaderSearchResults.js +74 -0
  132. package/es/header/src/constants.d.ts +1 -0
  133. package/es/header/src/constants.js +1 -0
  134. package/es/header/src/interface.d.ts +58 -0
  135. package/es/header/src/interface.js +1 -0
  136. package/es/header/src/mobile/HeaderMobile.d.ts +218 -0
  137. package/es/header/src/mobile/HeaderMobile.js +241 -0
  138. package/es/header/src/styles/index.cssr.d.ts +6 -0
  139. package/es/header/src/styles/index.cssr.js +519 -0
  140. package/es/header/src/utils.d.ts +12 -0
  141. package/es/header/src/utils.js +47 -0
  142. package/es/header/styles/dark.d.ts +36 -0
  143. package/es/header/styles/dark.js +9 -0
  144. package/es/header/styles/index.d.ts +3 -0
  145. package/es/header/styles/index.js +2 -0
  146. package/es/header/styles/light.d.ts +72 -0
  147. package/es/header/styles/light.js +45 -0
  148. package/es/icon/src/Icon.d.ts +3 -0
  149. package/es/icon/src/Icon.js +3 -2
  150. package/es/icon-bar/index.d.ts +4 -0
  151. package/es/icon-bar/index.js +2 -0
  152. package/es/icon-bar/src/IconBar.d.ts +175 -0
  153. package/es/icon-bar/src/IconBar.js +57 -0
  154. package/es/icon-bar/src/IconBarItem.d.ts +163 -0
  155. package/es/icon-bar/src/IconBarItem.js +50 -0
  156. package/es/icon-bar/src/styles/index.cssr.d.ts +2 -0
  157. package/es/icon-bar/src/styles/index.cssr.js +62 -0
  158. package/es/icon-bar/styles/dark.d.ts +3 -0
  159. package/es/icon-bar/styles/dark.js +8 -0
  160. package/es/icon-bar/styles/index.d.ts +3 -0
  161. package/es/icon-bar/styles/index.js +2 -0
  162. package/es/icon-bar/styles/light.d.ts +19 -0
  163. package/es/icon-bar/styles/light.js +23 -0
  164. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  165. package/es/input/src/Input.d.ts +8 -8
  166. package/es/input-number/src/InputNumber.d.ts +3 -3
  167. package/es/input-otp/src/InputOtp.d.ts +1 -1
  168. package/es/layout/src/LayoutSider.d.ts +2 -2
  169. package/es/legacy-grid/src/Row.d.ts +1 -1
  170. package/es/legacy-transfer/src/Transfer.d.ts +2 -2
  171. package/es/list/src/List.d.ts +6 -6
  172. package/es/list/src/ListItem.d.ts +4 -4
  173. package/es/locales/common/arDZ.js +11 -1
  174. package/es/locales/common/deDE.js +11 -1
  175. package/es/locales/common/enGB.js +11 -1
  176. package/es/locales/common/enUS.d.ts +10 -0
  177. package/es/locales/common/enUS.js +11 -1
  178. package/es/locales/common/eo.js +11 -1
  179. package/es/locales/common/esAR.js +11 -1
  180. package/es/locales/common/faIR.js +11 -1
  181. package/es/locales/common/frFR.js +11 -1
  182. package/es/locales/common/idID.js +11 -1
  183. package/es/locales/common/itIT.js +11 -1
  184. package/es/locales/common/jaJP.js +11 -1
  185. package/es/locales/common/koKR.js +11 -1
  186. package/es/locales/common/nbNO.js +11 -1
  187. package/es/locales/common/nlNL.js +11 -1
  188. package/es/locales/common/plPL.js +11 -1
  189. package/es/locales/common/ptBR.js +11 -1
  190. package/es/locales/common/ruRU.js +11 -1
  191. package/es/locales/common/skSK.js +11 -1
  192. package/es/locales/common/svSE.js +11 -1
  193. package/es/locales/common/thTH.js +11 -1
  194. package/es/locales/common/trTR.js +11 -1
  195. package/es/locales/common/ukUA.js +11 -1
  196. package/es/locales/common/viVN.js +11 -1
  197. package/es/locales/common/zhCN.js +11 -1
  198. package/es/locales/common/zhTW.js +11 -1
  199. package/es/log/src/Log.d.ts +2 -2
  200. package/es/mention/src/Mention.d.ts +3 -3
  201. package/es/menu/src/Menu.d.ts +5 -5
  202. package/es/menu/src/MenuOption.d.ts +1 -1
  203. package/es/menu/src/MenuOptionContent.d.ts +1 -1
  204. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  205. package/es/menu/src/Submenu.d.ts +1 -1
  206. package/es/message/src/MessageProvider.d.ts +1 -1
  207. package/es/modal/src/BodyWrapper.d.ts +3 -3
  208. package/es/modal/src/Modal.d.ts +6 -6
  209. package/es/modal/src/presetProps.d.ts +1 -1
  210. package/es/modal-fullscreen/src/ModalFull.d.ts +2 -2
  211. package/es/notification/src/Notification.d.ts +2 -2
  212. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  213. package/es/notification/src/NotificationProvider.d.ts +9 -9
  214. package/es/number-animation/src/NumberAnimation.d.ts +2 -2
  215. package/es/pagination/src/Pagination.d.ts +1 -1
  216. package/es/popconfirm/src/Popconfirm.d.ts +8 -8
  217. package/es/popover/src/Popover.d.ts +8 -8
  218. package/es/popover/src/PopoverBody.d.ts +2 -2
  219. package/es/popselect/src/Popselect.d.ts +81 -81
  220. package/es/popselect/src/PopselectPanel.d.ts +4 -4
  221. package/es/progress/src/Circle.d.ts +1 -1
  222. package/es/progress/src/MultipleCircle.d.ts +1 -1
  223. package/es/progress/src/Progress.d.ts +4 -4
  224. package/es/qr-code/index.d.ts +2 -0
  225. package/es/qr-code/index.js +1 -0
  226. package/es/qr-code/src/QrCode.d.ts +171 -0
  227. package/es/qr-code/src/QrCode.js +229 -0
  228. package/es/qr-code/src/qrcodegen.d.ts +95 -0
  229. package/es/qr-code/src/qrcodegen.js +949 -0
  230. package/es/qr-code/src/styles/index.cssr.d.ts +2 -0
  231. package/es/qr-code/src/styles/index.cssr.js +8 -0
  232. package/es/qr-code/styles/dark.d.ts +3 -0
  233. package/es/qr-code/styles/dark.js +11 -0
  234. package/es/qr-code/styles/index.d.ts +3 -0
  235. package/es/qr-code/styles/index.js +2 -0
  236. package/es/qr-code/styles/light.d.ts +9 -0
  237. package/es/qr-code/styles/light.js +12 -0
  238. package/es/radio/src/Radio.d.ts +1 -1
  239. package/es/rate/src/Rate.d.ts +3 -3
  240. package/es/result/src/Result.d.ts +1 -1
  241. package/es/select/src/Select.d.ts +19 -19
  242. package/es/skeleton/src/Skeleton.d.ts +1 -1
  243. package/es/slider/src/Slider.d.ts +4 -4
  244. package/es/space/src/Space.d.ts +1 -1
  245. package/es/spin/src/Spin.d.ts +2 -2
  246. package/es/steps/src/Steps.d.ts +1 -1
  247. package/es/switch/src/Switch.d.ts +1 -1
  248. package/es/tabs/src/Tab.d.ts +1 -1
  249. package/es/tabs/src/Tabs.d.ts +4 -4
  250. package/es/tag/src/Tag.d.ts +2 -2
  251. package/es/tag/src/TagGroup.d.ts +1 -1
  252. package/es/theme-editor/src/ThemeEditor.d.ts +1 -0
  253. package/es/themes/dark.js +7 -1
  254. package/es/themes/light.js +7 -1
  255. package/es/time/src/Time.d.ts +1 -1
  256. package/es/time-picker/src/Panel.d.ts +1 -1
  257. package/es/time-picker/src/TimePicker.d.ts +5 -5
  258. package/es/timeline/src/TimelineItem.d.ts +1 -1
  259. package/es/tooltip/src/Tooltip.d.ts +8 -8
  260. package/es/transfer/src/Transfer.d.ts +3 -3
  261. package/es/tree/src/Tree.d.ts +18 -18
  262. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
  263. package/es/tree-select/src/TreeSelect.d.ts +15 -15
  264. package/es/typography/index.d.ts +1 -0
  265. package/es/typography/src/create-header.d.ts +1 -1
  266. package/es/typography/src/headers.d.ts +6 -6
  267. package/es/typography/src/text.d.ts +44 -5
  268. package/es/upload/src/Upload.d.ts +11 -11
  269. package/es/upload/src/UploadFile.d.ts +1 -1
  270. package/es/version.d.ts +1 -1
  271. package/es/version.js +1 -1
  272. package/es/virtual-list/src/VirtualList.d.ts +2 -2
  273. package/es/watermark/src/Watermark.d.ts +7 -7
  274. package/lib/_internal/close/src/Close.d.ts +2 -2
  275. package/lib/_internal/icons/BurgerMenuIcon.d.ts +2 -0
  276. package/lib/_internal/icons/BurgerMenuIcon.js +6 -0
  277. package/lib/_internal/icons/Logout.d.ts +2 -0
  278. package/lib/_internal/icons/Logout.js +6 -0
  279. package/lib/_internal/icons/OzbekFlag.d.ts +2 -0
  280. package/lib/_internal/icons/OzbekFlag.js +17 -0
  281. package/lib/_internal/icons/RussiaFlag.d.ts +2 -0
  282. package/lib/_internal/icons/RussiaFlag.js +13 -0
  283. package/lib/_internal/icons/SendFilled.d.ts +2 -0
  284. package/lib/_internal/icons/SendFilled.js +11 -0
  285. package/lib/_internal/icons/index.d.ts +5 -0
  286. package/lib/_internal/icons/index.js +11 -1
  287. package/lib/_internal/loading/src/Loading.d.ts +1 -1
  288. package/lib/_internal/safe-top-scrollbar/src/SafeTopScrollbar.d.ts +2 -2
  289. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +2 -2
  290. package/lib/_internal/select-menu/src/SelectMenu.d.ts +7 -7
  291. package/lib/_internal/selection/src/Selection.d.ts +13 -13
  292. package/lib/_internal/skeleton/src/Skeleton.d.ts +1 -1
  293. package/lib/_internal/typography/index.d.ts +1 -0
  294. package/lib/_internal/typography/src/text.d.ts +42 -3
  295. package/lib/_internal/typography/src/text.js +18 -5
  296. package/lib/_internal/typography/src/variants.d.ts +105 -4
  297. package/lib/_internal/typography/src/variants.js +87 -43
  298. package/lib/_internal/typography/styles/dark.js +2 -2
  299. package/lib/_internal/typography/styles/light.d.ts +1 -1
  300. package/lib/_internal/typography/styles/light.js +2 -2
  301. package/lib/_styles/common/dark.js +1 -1
  302. package/lib/_styles/common/light.d.ts +1 -0
  303. package/lib/_styles/common/light.js +1 -1
  304. package/lib/affix/src/Affix.d.ts +3 -3
  305. package/lib/alert/src/Alert.d.ts +3 -3
  306. package/lib/anchor/src/AnchorAdapter.d.ts +5 -5
  307. package/lib/auto-complete/src/AutoComplete.d.ts +3 -3
  308. package/lib/avatar/src/Avatar.d.ts +1 -1
  309. package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
  310. package/lib/back-top/src/BackTop.d.ts +1 -1
  311. package/lib/badge/src/Badge.d.ts +1 -1
  312. package/lib/button/src/Button.d.ts +7 -7
  313. package/lib/card/src/Card.d.ts +3 -3
  314. package/lib/card-list/src/CardList.d.ts +2 -2
  315. package/lib/card-list/src/CardListItem.d.ts +1 -1
  316. package/lib/carousel/src/Carousel.d.ts +8 -8
  317. package/lib/carousel/src/CarouselDots.d.ts +2 -2
  318. package/lib/cascader/src/Cascader.d.ts +12 -12
  319. package/lib/cascader/src/CascaderMenu.d.ts +1 -1
  320. package/lib/cascader/src/CascaderSelectMenu.d.ts +1 -1
  321. package/lib/chat/src/Chat.d.ts +464 -83
  322. package/lib/chat/src/Chat.js +17 -2
  323. package/lib/chat/src/ChatListItems.d.ts +497 -94
  324. package/lib/chat/src/ChatListItems.js +1 -1
  325. package/lib/chat/src/ChatMessages.d.ts +501 -94
  326. package/lib/chat/src/ChatMessages.js +113 -20
  327. package/lib/chat/src/ChatParts/MainArea.d.ts +7 -3
  328. package/lib/chat/src/ChatParts/MainArea.js +108 -12
  329. package/lib/chat/src/ChatParts/Sidebar.d.ts +64 -11
  330. package/lib/chat/src/interface.d.ts +18 -0
  331. package/lib/chat/src/interface.js +7 -1
  332. package/lib/chat/src/styles/index.cssr.js +22 -1
  333. package/lib/chat/styles/dark.d.ts +41 -8
  334. package/lib/chat/styles/dark.js +6 -2
  335. package/lib/chat/styles/light.d.ts +42 -8
  336. package/lib/chat/styles/light.js +7 -2
  337. package/lib/checkbox/src/Checkbox.d.ts +5 -5
  338. package/lib/code/src/Code.d.ts +1 -1
  339. package/lib/collapse/src/Collapse.d.ts +1 -1
  340. package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
  341. package/lib/color-picker/src/ColorPicker.d.ts +3 -3
  342. package/lib/components.d.ts +3 -0
  343. package/lib/components.js +3 -0
  344. package/lib/config-provider/src/ConfigProvider.d.ts +7 -1
  345. package/lib/config-provider/src/ConfigProvider.js +81 -10
  346. package/lib/config-provider/src/interface.d.ts +1 -1
  347. package/lib/config-provider/src/internal-interface.d.ts +212 -33
  348. package/lib/countdown/src/Countdown.d.ts +1 -1
  349. package/lib/create.js +34 -3
  350. package/lib/data-table/src/DataTable.d.ts +6 -6
  351. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +1 -1
  352. package/lib/date-picker/src/DatePicker.d.ts +4 -4
  353. package/lib/date-picker/src/panel/date.d.ts +1 -1
  354. package/lib/date-picker/src/panel/daterange.d.ts +1 -1
  355. package/lib/date-picker/src/panel/datetime.d.ts +1 -1
  356. package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
  357. package/lib/date-picker/src/panel/panelMonth.d.ts +9 -9
  358. package/lib/date-picker/src/panel/panelMonthContent.d.ts +1 -1
  359. package/lib/date-picker/src/panel/panelYear.d.ts +9 -9
  360. package/lib/date-picker/src/panel/panelYearContent.d.ts +1 -1
  361. package/lib/descriptions/src/Descriptions.d.ts +3 -3
  362. package/lib/dialog/src/Dialog.d.ts +1 -1
  363. package/lib/dialog/src/DialogEnvironment.d.ts +3 -3
  364. package/lib/dialog/src/DialogProvider.d.ts +31 -29
  365. package/lib/dialog/src/dialogProps.d.ts +1 -1
  366. package/lib/drawer/src/Drawer.d.ts +7 -7
  367. package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
  368. package/lib/dropdown/src/Dropdown.d.ts +15 -15
  369. package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
  370. package/lib/dropdown/src/DropdownOption.d.ts +1 -1
  371. package/lib/dynamic-input/src/DynamicInput.d.ts +1 -1
  372. package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -2
  373. package/lib/empty/src/Empty.d.ts +1 -1
  374. package/lib/flex/src/Flex.d.ts +1 -1
  375. package/lib/form/src/FormItem.d.ts +3 -3
  376. package/lib/form/src/FormItemCol.d.ts +2 -2
  377. package/lib/form/src/FormItemGridItem.d.ts +3 -3
  378. package/lib/form/src/FormItemRow.d.ts +2 -2
  379. package/lib/form/src/utils.d.ts +1 -1
  380. package/lib/gradient-text/src/GradientText.d.ts +2 -2
  381. package/lib/grid/src/Grid.d.ts +3 -3
  382. package/lib/grid/src/GridItem.d.ts +2 -2
  383. package/lib/header/demos/mock.d.ts +2 -0
  384. package/lib/header/demos/mock.js +238 -0
  385. package/lib/header/index.d.ts +12 -0
  386. package/lib/header/index.js +48 -0
  387. package/lib/header/src/Header.d.ts +604 -0
  388. package/lib/header/src/Header.js +349 -0
  389. package/lib/header/src/HeaderActions.d.ts +120 -0
  390. package/lib/header/src/HeaderActions.js +172 -0
  391. package/lib/header/src/HeaderDesktopLayout.d.ts +25 -0
  392. package/lib/header/src/HeaderDesktopLayout.js +27 -0
  393. package/lib/header/src/HeaderMobileLayout.d.ts +25 -0
  394. package/lib/header/src/HeaderMobileLayout.js +24 -0
  395. package/lib/header/src/HeaderNavigation.d.ts +128 -0
  396. package/lib/header/src/HeaderNavigation.js +175 -0
  397. package/lib/header/src/HeaderSearchDesktop.d.ts +79 -0
  398. package/lib/header/src/HeaderSearchDesktop.js +83 -0
  399. package/lib/header/src/HeaderSearchMobile.d.ts +73 -0
  400. package/lib/header/src/HeaderSearchMobile.js +132 -0
  401. package/lib/header/src/HeaderSearchResults.d.ts +81 -0
  402. package/lib/header/src/HeaderSearchResults.js +77 -0
  403. package/lib/header/src/constants.d.ts +1 -0
  404. package/lib/header/src/constants.js +4 -0
  405. package/lib/header/src/interface.d.ts +58 -0
  406. package/lib/header/src/interface.js +2 -0
  407. package/lib/header/src/mobile/HeaderMobile.d.ts +218 -0
  408. package/lib/header/src/mobile/HeaderMobile.js +244 -0
  409. package/lib/header/src/styles/index.cssr.d.ts +6 -0
  410. package/lib/header/src/styles/index.cssr.js +525 -0
  411. package/lib/header/src/utils.d.ts +12 -0
  412. package/lib/header/src/utils.js +58 -0
  413. package/lib/header/styles/dark.d.ts +36 -0
  414. package/lib/header/styles/dark.js +11 -0
  415. package/lib/header/styles/index.d.ts +3 -0
  416. package/lib/header/styles/index.js +10 -0
  417. package/lib/header/styles/light.d.ts +72 -0
  418. package/lib/header/styles/light.js +49 -0
  419. package/lib/icon/src/Icon.d.ts +3 -0
  420. package/lib/icon/src/Icon.js +3 -2
  421. package/lib/icon-bar/index.d.ts +4 -0
  422. package/lib/icon-bar/index.js +12 -0
  423. package/lib/icon-bar/src/IconBar.d.ts +175 -0
  424. package/lib/icon-bar/src/IconBar.js +63 -0
  425. package/lib/icon-bar/src/IconBarItem.d.ts +163 -0
  426. package/lib/icon-bar/src/IconBarItem.js +56 -0
  427. package/lib/icon-bar/src/styles/index.cssr.d.ts +2 -0
  428. package/lib/icon-bar/src/styles/index.cssr.js +67 -0
  429. package/lib/icon-bar/styles/dark.d.ts +3 -0
  430. package/lib/icon-bar/styles/dark.js +10 -0
  431. package/lib/icon-bar/styles/index.d.ts +3 -0
  432. package/lib/icon-bar/styles/index.js +10 -0
  433. package/lib/icon-bar/styles/light.d.ts +19 -0
  434. package/lib/icon-bar/styles/light.js +27 -0
  435. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  436. package/lib/input/src/Input.d.ts +8 -8
  437. package/lib/input-number/src/InputNumber.d.ts +3 -3
  438. package/lib/input-otp/src/InputOtp.d.ts +1 -1
  439. package/lib/layout/src/LayoutSider.d.ts +2 -2
  440. package/lib/legacy-grid/src/Row.d.ts +1 -1
  441. package/lib/legacy-transfer/src/Transfer.d.ts +2 -2
  442. package/lib/list/src/List.d.ts +6 -6
  443. package/lib/list/src/ListItem.d.ts +4 -4
  444. package/lib/locales/common/arDZ.js +11 -1
  445. package/lib/locales/common/deDE.js +11 -1
  446. package/lib/locales/common/enGB.js +11 -1
  447. package/lib/locales/common/enUS.d.ts +10 -0
  448. package/lib/locales/common/enUS.js +11 -1
  449. package/lib/locales/common/eo.js +11 -1
  450. package/lib/locales/common/esAR.js +11 -1
  451. package/lib/locales/common/faIR.js +11 -1
  452. package/lib/locales/common/frFR.js +11 -1
  453. package/lib/locales/common/idID.js +11 -1
  454. package/lib/locales/common/itIT.js +11 -1
  455. package/lib/locales/common/jaJP.js +11 -1
  456. package/lib/locales/common/koKR.js +11 -1
  457. package/lib/locales/common/nbNO.js +11 -1
  458. package/lib/locales/common/nlNL.js +11 -1
  459. package/lib/locales/common/plPL.js +11 -1
  460. package/lib/locales/common/ptBR.js +11 -1
  461. package/lib/locales/common/ruRU.js +11 -1
  462. package/lib/locales/common/skSK.js +11 -1
  463. package/lib/locales/common/svSE.js +11 -1
  464. package/lib/locales/common/thTH.js +11 -1
  465. package/lib/locales/common/trTR.js +11 -1
  466. package/lib/locales/common/ukUA.js +11 -1
  467. package/lib/locales/common/viVN.js +11 -1
  468. package/lib/locales/common/zhCN.js +11 -1
  469. package/lib/locales/common/zhTW.js +11 -1
  470. package/lib/log/src/Log.d.ts +2 -2
  471. package/lib/mention/src/Mention.d.ts +3 -3
  472. package/lib/menu/src/Menu.d.ts +5 -5
  473. package/lib/menu/src/MenuOption.d.ts +1 -1
  474. package/lib/menu/src/MenuOptionContent.d.ts +1 -1
  475. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  476. package/lib/menu/src/Submenu.d.ts +1 -1
  477. package/lib/message/src/MessageProvider.d.ts +1 -1
  478. package/lib/modal/src/BodyWrapper.d.ts +3 -3
  479. package/lib/modal/src/Modal.d.ts +6 -6
  480. package/lib/modal/src/presetProps.d.ts +1 -1
  481. package/lib/modal-fullscreen/src/ModalFull.d.ts +2 -2
  482. package/lib/notification/src/Notification.d.ts +2 -2
  483. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  484. package/lib/notification/src/NotificationProvider.d.ts +9 -9
  485. package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
  486. package/lib/pagination/src/Pagination.d.ts +1 -1
  487. package/lib/popconfirm/src/Popconfirm.d.ts +8 -8
  488. package/lib/popover/src/Popover.d.ts +8 -8
  489. package/lib/popover/src/PopoverBody.d.ts +2 -2
  490. package/lib/popselect/src/Popselect.d.ts +81 -81
  491. package/lib/popselect/src/PopselectPanel.d.ts +4 -4
  492. package/lib/progress/src/Circle.d.ts +1 -1
  493. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  494. package/lib/progress/src/Progress.d.ts +4 -4
  495. package/lib/qr-code/index.d.ts +2 -0
  496. package/lib/qr-code/index.js +9 -0
  497. package/lib/qr-code/src/QrCode.d.ts +171 -0
  498. package/lib/qr-code/src/QrCode.js +235 -0
  499. package/lib/qr-code/src/qrcodegen.d.ts +95 -0
  500. package/lib/qr-code/src/qrcodegen.js +950 -0
  501. package/lib/qr-code/src/styles/index.cssr.d.ts +2 -0
  502. package/lib/qr-code/src/styles/index.cssr.js +13 -0
  503. package/lib/qr-code/styles/dark.d.ts +3 -0
  504. package/lib/qr-code/styles/dark.js +13 -0
  505. package/lib/qr-code/styles/index.d.ts +3 -0
  506. package/lib/qr-code/styles/index.js +10 -0
  507. package/lib/qr-code/styles/light.d.ts +9 -0
  508. package/lib/qr-code/styles/light.js +14 -0
  509. package/lib/radio/src/Radio.d.ts +1 -1
  510. package/lib/rate/src/Rate.d.ts +3 -3
  511. package/lib/result/src/Result.d.ts +1 -1
  512. package/lib/select/src/Select.d.ts +19 -19
  513. package/lib/skeleton/src/Skeleton.d.ts +1 -1
  514. package/lib/slider/src/Slider.d.ts +4 -4
  515. package/lib/space/src/Space.d.ts +1 -1
  516. package/lib/spin/src/Spin.d.ts +2 -2
  517. package/lib/steps/src/Steps.d.ts +1 -1
  518. package/lib/switch/src/Switch.d.ts +1 -1
  519. package/lib/tabs/src/Tab.d.ts +1 -1
  520. package/lib/tabs/src/Tabs.d.ts +4 -4
  521. package/lib/tag/src/Tag.d.ts +2 -2
  522. package/lib/tag/src/TagGroup.d.ts +1 -1
  523. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -0
  524. package/lib/themes/dark.js +7 -1
  525. package/lib/themes/light.js +7 -1
  526. package/lib/time/src/Time.d.ts +1 -1
  527. package/lib/time-picker/src/Panel.d.ts +1 -1
  528. package/lib/time-picker/src/TimePicker.d.ts +5 -5
  529. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  530. package/lib/tooltip/src/Tooltip.d.ts +8 -8
  531. package/lib/transfer/src/Transfer.d.ts +3 -3
  532. package/lib/tree/src/Tree.d.ts +18 -18
  533. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
  534. package/lib/tree-select/src/TreeSelect.d.ts +15 -15
  535. package/lib/typography/index.d.ts +1 -0
  536. package/lib/typography/src/create-header.d.ts +1 -1
  537. package/lib/typography/src/headers.d.ts +6 -6
  538. package/lib/typography/src/text.d.ts +44 -5
  539. package/lib/upload/src/Upload.d.ts +11 -11
  540. package/lib/upload/src/UploadFile.d.ts +1 -1
  541. package/lib/version.d.ts +1 -1
  542. package/lib/version.js +1 -1
  543. package/lib/virtual-list/src/VirtualList.d.ts +2 -2
  544. package/lib/watermark/src/Watermark.d.ts +7 -7
  545. package/package.json +1 -1
  546. package/volar.d.ts +166 -153
  547. package/web-types.json +912 -3
@@ -1,5 +1,14 @@
1
1
  import type { VNodeChild, Ref } from 'vue';
2
2
  import type { CNode } from 'css-render';
3
+ import type { Hljs } from '../../_mixins';
4
+ import type { UDateLocale, ULocale } from '../../locales';
5
+ import type { GlobalTheme, GlobalThemeOverrides } from './interface';
6
+ import type { Katex } from './katex';
7
+ import type { AccountOptionTheme } from '../../_internal/account-option/styles';
8
+ import type { InternalSelectMenuTheme } from '../../_internal/select-menu/styles';
9
+ import type { InternalSelectionTheme } from '../../_internal/selection/styles';
10
+ import type { ScrollbarTheme } from '../../_internal/scrollbar/styles';
11
+ import type { ActionCardTheme } from '../../action-card/styles';
3
12
  import type { AlertTheme } from '../../alert/styles';
4
13
  import type { AnchorTheme } from '../../anchor/styles';
5
14
  import type { AutoCompleteTheme } from '../../auto-complete/styles';
@@ -9,13 +18,16 @@ import type { BackTopTheme } from '../../back-top/styles';
9
18
  import type { BadgeTheme } from '../../badge/styles';
10
19
  import type { BreadcrumbTheme } from '../../breadcrumb/styles';
11
20
  import type { ButtonTheme } from '../../button/styles';
21
+ import type { ButtonGroupTheme } from '../../button-group/styles/light';
12
22
  import type { CalendarTheme } from '../../calendar/styles';
13
23
  import type { CardTheme } from '../../card/styles';
24
+ import type { CardListTheme } from '../../card-list/styles';
14
25
  import type { CarouselTheme } from '../../carousel/styles';
15
26
  import type { CascaderTheme } from '../../cascader/styles';
16
27
  import type { CheckboxTheme } from '../../checkbox/styles';
17
28
  import type { CodeTheme } from '../../code/styles';
18
29
  import type { CollapseTheme } from '../../collapse/styles';
30
+ import type { CollapseTransitionTheme } from '../../collapse-transition/styles';
19
31
  import type { ColorPickerTheme } from '../../color-picker/styles';
20
32
  import type { DataTableTheme } from '../../data-table/styles';
21
33
  import type { DatePickerTheme } from '../../date-picker/styles';
@@ -30,6 +42,7 @@ import type { ElementTheme } from '../../element/styles';
30
42
  import type { EllipsisTheme } from '../../ellipsis/styles';
31
43
  import type { EmptyTheme } from '../../empty/styles';
32
44
  import type { EquationTheme } from '../../equation/styles';
45
+ import type { FlexTheme } from '../../flex/styles';
33
46
  import type { FormTheme } from '../../form/styles';
34
47
  import type { GradientTextTheme } from '../../gradient-text/styles';
35
48
  import type { IconTheme } from '../../icon/styles';
@@ -57,7 +70,7 @@ import type { ProgressTheme } from '../../progress/styles';
57
70
  import type { RadioTheme } from '../../radio/styles';
58
71
  import type { RateTheme } from '../../rate/styles';
59
72
  import type { ResultTheme } from '../../result/styles';
60
- import type { ScrollbarTheme } from '../../_internal/scrollbar/styles';
73
+ import type { RowTheme } from '../../legacy-grid/styles';
61
74
  import type { SelectTheme } from '../../select/styles';
62
75
  import type { SkeletonTheme } from '../../skeleton/styles';
63
76
  import type { SliderTheme } from '../../slider/styles';
@@ -73,6 +86,7 @@ import type { TagTheme } from '../../tag/styles';
73
86
  import type { ThingTheme } from '../../thing/styles';
74
87
  import type { TimePickerTheme } from '../../time-picker/styles';
75
88
  import type { TimelineTheme } from '../../timeline/styles';
89
+ import type { ToggleButtonTheme } from '../../toggle-button/styles';
76
90
  import type { TooltipTheme } from '../../tooltip/styles';
77
91
  import type { TransferTheme } from '../../transfer/styles';
78
92
  import type { TreeTheme } from '../../tree/styles';
@@ -80,31 +94,99 @@ import type { TreeSelectTheme } from '../../tree-select/styles';
80
94
  import type { TypographyTheme } from '../../typography/styles';
81
95
  import type { UploadTheme } from '../../upload/styles';
82
96
  import type { WatermarkTheme } from '../../watermark/styles';
83
- import type { InternalSelectMenuTheme } from '../../_internal/select-menu/styles';
84
- import type { InternalSelectionTheme } from '../../_internal/selection/styles';
85
- import type { UDateLocale, ULocale } from '../../locales';
86
- import type { Hljs } from '../../_mixins';
87
- import type { Size as TimePickerSize } from '../../time-picker/src/interface';
88
- import type { InputSize } from '../../input';
89
- import type { SelectSize } from '../../_internal/selection';
97
+ import type { ChatTheme } from '../../chat/styles';
98
+ import type { ActionCardProps } from '../../action-card';
99
+ import type { AlertProps } from '../../alert';
100
+ import type { AnchorProps } from '../../anchor';
101
+ import type { AutoCompleteProps } from '../../auto-complete';
102
+ import type { AvatarProps } from '../../avatar';
103
+ import type { AvatarGroupProps } from '../../avatar-group';
104
+ import type { BackTopProps } from '../../back-top';
105
+ import type { BadgeProps } from '../../badge';
106
+ import type { BreadcrumbProps } from '../../breadcrumb';
107
+ import type { ButtonProps } from '../../button';
90
108
  import type { Size as ButtonSize } from '../../button/src/interface';
91
- import type { DataTableRenderFilter, DataTableRenderSorter } from '../../data-table';
92
- import type { IconPlacement } from '../../dialog/src/interface';
93
- import type { GlobalTheme, GlobalThemeOverrides } from './interface';
109
+ import type { ButtonGroupProps } from '../../button-group';
110
+ import type { CalendarProps } from '../../calendar';
111
+ import type { CardProps } from '../../card';
112
+ import type { CardListProps } from '../../card-list';
113
+ import type { CarouselProps } from '../../carousel';
114
+ import type { CascaderProps } from '../../cascader';
115
+ import type { CheckboxProps } from '../../checkbox';
116
+ import type { CodeProps } from '../../code';
117
+ import type { CollapseProps } from '../../collapse';
118
+ import type { CollapseTransitionProps } from '../../collapse-transition';
119
+ import type { ColorPickerProps } from '../../color-picker';
120
+ import type { DataTableProps, DataTableRenderFilter, DataTableRenderSorter } from '../../data-table';
121
+ import type { DatePickerProps } from '../../date-picker';
122
+ import type { DescriptionsProps } from '../../descriptions';
123
+ import type { DialogProps } from '../../dialog';
124
+ import type { DividerProps } from '../../divider';
125
+ import type { DrawerProps } from '../../drawer';
126
+ import type { DropdownProps } from '../../dropdown';
127
+ import type { DynamicInputProps } from '../../dynamic-input';
128
+ import type { DynamicTagsProps } from '../../dynamic-tags';
129
+ import type { ElementProps } from '../../element';
130
+ import type { EllipsisProps } from '../../ellipsis';
94
131
  import type { EmptyProps } from '../../empty';
95
- import type { CollapseTransitionTheme } from '../../collapse-transition/styles';
96
- import type { ButtonGroupTheme } from '../../button-group/styles/light';
97
- import type { RowTheme } from '../../legacy-grid/styles';
98
- import type { Katex } from './katex';
99
- import type { ToggleButtonTheme } from '../../toggle-button/styles';
100
- import type { AccountOptionTheme } from '../../_internal/account-option/styles';
101
- import type { FlexTheme } from '../../flex/styles';
102
- import { CardListTheme } from '../../card-list/styles';
103
- import { ActionCardTheme } from '../../action-card';
104
- import { ChatTheme } from '../../chat/styles';
132
+ import { IconBarTheme } from '../../icon-bar/styles';
133
+ import type { FlexProps } from '../../flex';
134
+ import type { FormProps } from '../../form';
135
+ import type { GradientTextProps } from '../../gradient-text';
136
+ import type { IconProps } from '../../icon';
137
+ import type { IconWrapperProps } from '../../icon-wrapper';
138
+ import type { ImageProps } from '../../image';
139
+ import type { InputProps, InputSize } from '../../input';
140
+ import type { InputNumberProps } from '../../input-number';
141
+ import type { InputOtpProps } from '../../input-otp';
142
+ import type { LayoutProps } from '../../layout';
143
+ import type { ListProps } from '../../list';
144
+ import type { LogProps } from '../../log';
145
+ import type { MenuProps } from '../../menu';
146
+ import type { MentionProps } from '../../mention';
147
+ import type { ModalProps } from '../../modal';
148
+ import type { PageHeaderProps } from '../../page-header';
149
+ import type { PaginationProps } from '../../pagination';
150
+ import type { PopconfirmProps } from '../../popconfirm';
151
+ import type { PopoverProps } from '../../popover';
152
+ import type { PopselectProps } from '../../popselect';
153
+ import type { ProgressProps } from '../../progress';
154
+ import type { RadioProps } from '../../radio';
155
+ import type { RateProps } from '../../rate';
156
+ import type { ResultProps } from '../../result';
157
+ import type { RowProps } from '../../legacy-grid';
158
+ import type { SelectProps } from '../../select';
159
+ import type { SkeletonProps } from '../../skeleton';
160
+ import type { SliderProps } from '../../slider';
161
+ import type { SpaceProps } from '../../space';
162
+ import type { SpinProps } from '../../spin';
163
+ import type { StatisticProps } from '../../statistic';
164
+ import type { StatusProps } from '../../status';
165
+ import type { StepsProps } from '../../steps';
166
+ import type { SwitchProps } from '../../switch';
167
+ import type { TableProps } from '../../table';
168
+ import type { TabsProps } from '../../tabs';
169
+ import type { TagProps } from '../../tag';
170
+ import type { ThingProps } from '../../thing';
171
+ import type { TimePickerProps } from '../../time-picker';
172
+ import type { Size as TimePickerSize } from '../../time-picker/src/interface';
173
+ import type { TimelineProps } from '../../timeline';
174
+ import type { ToggleButtonProps } from '../../toggle-button';
175
+ import type { TooltipProps } from '../../tooltip';
176
+ import type { TransferProps } from '../../transfer';
177
+ import type { TreeProps } from '../../tree';
178
+ import type { TreeSelectProps } from '../../tree-select';
179
+ import type { UploadProps } from '../../upload';
180
+ import type { WatermarkProps } from '../../watermark';
181
+ import type { ChatProps } from '../../chat';
182
+ import type { ScrollbarProps } from '../../scrollbar';
183
+ import { SelectSize } from '../../_internal/selection';
184
+ import { IconPlacement } from '../../dialog/src/interface';
105
185
  import { ModalFullscreenTheme } from '../../modal-fullscreen/styles';
106
186
  import { CropTheme } from '../../crop/styles';
107
187
  import { SafeTopScrollbarTheme } from '../../_internal/safe-top-scrollbar/styles';
188
+ import { HeaderTheme } from '../../header/styles';
189
+ import { QrCodeTheme } from '../../qr-code/styles';
108
190
  export interface GlobalThemeWithoutCommon {
109
191
  Alert?: AlertTheme;
110
192
  Anchor?: AnchorTheme;
@@ -157,7 +239,10 @@ export interface GlobalThemeWithoutCommon {
157
239
  Modal?: ModalTheme;
158
240
  Notification?: NotificationTheme;
159
241
  PageHeader?: PageHeaderTheme;
160
- Pagination?: PaginationTheme;
242
+ Pagination?: PaginationTheme & {
243
+ inputSize?: InputSize;
244
+ selectSize?: SelectSize;
245
+ };
161
246
  Popconfirm?: PopconfirmTheme;
162
247
  Popover?: PopoverTheme;
163
248
  Popselect?: PopselectTheme;
@@ -196,30 +281,109 @@ export interface GlobalThemeWithoutCommon {
196
281
  Chat?: ChatTheme;
197
282
  ModalFullscreen?: ModalFullscreenTheme;
198
283
  Crop?: CropTheme;
284
+ IconBar?: IconBarTheme;
285
+ QrCode?: QrCodeTheme;
199
286
  InternalSelectMenu?: InternalSelectMenuTheme;
200
287
  InternalSelection?: InternalSelectionTheme;
201
288
  AccountOption?: AccountOptionTheme;
202
289
  InputOtp?: InputOtpTheme;
290
+ Header?: HeaderTheme;
203
291
  }
204
292
  export interface GlobalComponentConfig {
205
- Pagination?: {
206
- inputSize?: InputSize;
207
- selectSize?: SelectSize;
293
+ Alert?: AlertProps;
294
+ Anchor?: AnchorProps;
295
+ AutoComplete?: AutoCompleteProps;
296
+ Avatar?: AvatarProps;
297
+ AvatarGroup?: AvatarGroupProps;
298
+ BackTop?: BackTopProps;
299
+ Badge?: BadgeProps;
300
+ Breadcrumb?: BreadcrumbProps;
301
+ Button?: ButtonProps;
302
+ ButtonGroup?: ButtonGroupProps;
303
+ Calendar?: CalendarProps;
304
+ ActionCard?: ActionCardProps;
305
+ Card?: CardProps;
306
+ Carousel?: CarouselProps;
307
+ Cascader?: CascaderProps;
308
+ Checkbox?: CheckboxProps;
309
+ Code?: CodeProps;
310
+ Collapse?: CollapseProps;
311
+ CollapseTransition?: CollapseTransitionProps;
312
+ ColorPicker?: ColorPickerProps;
313
+ DataTable?: DataTableProps & {
314
+ renderFilter?: DataTableRenderFilter;
315
+ renderSorter?: DataTableRenderSorter;
208
316
  };
209
- DatePicker?: {
317
+ DatePicker?: DatePickerProps & {
210
318
  timePickerSize?: TimePickerSize;
211
319
  };
212
- Dialog?: {
320
+ Descriptions?: DescriptionsProps;
321
+ Dialog?: DialogProps & {
213
322
  iconPlacement?: IconPlacement;
214
323
  };
215
- DataTable?: {
216
- renderFilter?: DataTableRenderFilter;
217
- renderSorter?: DataTableRenderSorter;
218
- };
219
- DynamicInput?: {
324
+ Divider?: DividerProps;
325
+ Drawer?: DrawerProps;
326
+ Dropdown?: DropdownProps;
327
+ DynamicInput?: DynamicInputProps & {
220
328
  buttonSize?: ButtonSize;
221
329
  };
222
- Empty?: Pick<EmptyProps, 'title' | 'description' | 'renderIcon'>;
330
+ DynamicTags?: DynamicTagsProps;
331
+ Element?: ElementProps;
332
+ Ellipsis?: EllipsisProps;
333
+ Empty?: EmptyProps;
334
+ Form?: FormProps;
335
+ GradientText?: GradientTextProps;
336
+ Icon?: IconProps;
337
+ IconWrapper?: IconWrapperProps;
338
+ Image?: ImageProps;
339
+ Input?: InputProps;
340
+ InputNumber?: InputNumberProps;
341
+ Layout?: LayoutProps;
342
+ List?: ListProps;
343
+ Log?: LogProps;
344
+ Menu?: MenuProps;
345
+ Mention?: MentionProps;
346
+ Modal?: ModalProps;
347
+ PageHeader?: PageHeaderProps;
348
+ Pagination?: PaginationProps & {
349
+ inputSize?: InputSize;
350
+ selectSize?: SelectSize;
351
+ };
352
+ Popconfirm?: PopconfirmProps;
353
+ Popover?: PopoverProps;
354
+ Popselect?: PopselectProps;
355
+ Progress?: ProgressProps;
356
+ Radio?: RadioProps;
357
+ Rate?: RateProps;
358
+ Result?: ResultProps;
359
+ Scrollbar?: ScrollbarProps;
360
+ Select?: SelectProps;
361
+ Skeleton?: SkeletonProps;
362
+ Slider?: SliderProps;
363
+ Space?: SpaceProps;
364
+ Spin?: SpinProps;
365
+ Statistic?: StatisticProps;
366
+ Status?: StatusProps;
367
+ Steps?: StepsProps;
368
+ Switch?: SwitchProps;
369
+ Table?: TableProps;
370
+ Tabs?: TabsProps;
371
+ Tag?: TagProps;
372
+ Thing?: ThingProps;
373
+ TimePicker?: TimePickerProps;
374
+ Timeline?: TimelineProps;
375
+ Tooltip?: TooltipProps;
376
+ Transfer?: TransferProps;
377
+ Tree?: TreeProps;
378
+ TreeSelect?: TreeSelectProps;
379
+ Upload?: UploadProps;
380
+ Watermark?: WatermarkProps;
381
+ Row?: RowProps;
382
+ ToggleButton?: ToggleButtonProps;
383
+ Flex?: FlexProps;
384
+ CardList?: CardListProps;
385
+ Chat?: ChatProps;
386
+ InputOtp?: InputOtpProps;
223
387
  }
224
388
  export interface GlobalIconConfig {
225
389
  attach?: () => VNodeChild;
@@ -241,6 +405,17 @@ export interface GlobalIconConfig {
241
405
  rotateCounterclockwise?: () => VNodeChild;
242
406
  zoomIn?: () => VNodeChild;
243
407
  zoomOut?: () => VNodeChild;
408
+ logout?: () => VNodeChild;
409
+ burgerMenu?: () => VNodeChild;
410
+ eye?: () => VNodeChild;
411
+ eyeOff?: () => VNodeChild;
412
+ file?: () => VNodeChild;
413
+ search?: () => VNodeChild;
414
+ chevronDown?: () => VNodeChild;
415
+ chevronLeft?: () => VNodeChild;
416
+ chevronRight?: () => VNodeChild;
417
+ ozbekFlag?: () => VNodeChild;
418
+ russiaFlag?: () => VNodeChild;
244
419
  }
245
420
  export interface RtlItem {
246
421
  name: keyof GlobalThemeWithoutCommon;
@@ -250,6 +425,8 @@ export interface RtlItem {
250
425
  export type RtlProp = RtlItem[];
251
426
  export type RtlEnabledState = Partial<Record<keyof GlobalThemeWithoutCommon, RtlItem>>;
252
427
  export type Breakpoints = Record<string, number> | undefined;
428
+ export type BreakpointProps = Record<number, GlobalComponentConfig> | undefined;
429
+ export type BreakpointThemeOverrides = Record<number, GlobalThemeOverrides> | undefined;
253
430
  export interface ConfigProviderInjection {
254
431
  mergedBreakpointsRef: Ref<Breakpoints | undefined>;
255
432
  mergedClsPrefixRef: Ref<string>;
@@ -265,6 +442,8 @@ export interface ConfigProviderInjection {
265
442
  mergedThemeOverridesRef: Ref<GlobalThemeOverrides | undefined>;
266
443
  mergedRtlRef: Ref<RtlEnabledState | undefined>;
267
444
  mergedThemeHashRef: Ref<string>;
445
+ mergedBreakpointPropsRef: Ref<BreakpointProps | undefined>;
446
+ mergedBreakpointThemeOverridesRef: Ref<BreakpointThemeOverrides | undefined>;
268
447
  inlineThemeDisabled: boolean;
269
448
  preflightStyleDisabled: boolean;
270
449
  }
@@ -61,8 +61,8 @@ declare const _default: import("vue").DefineComponent<{
61
61
  render: PropType<(props: CountdownTimeInfo) => VNodeChild>;
62
62
  onFinish: PropType<() => void>;
63
63
  }>>, {
64
- active: boolean;
65
64
  duration: number;
66
65
  precision: 0 | 1 | 2 | 3;
66
+ active: boolean;
67
67
  }, {}>;
68
68
  export default _default;
package/lib/create.js CHANGED
@@ -3,13 +3,44 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
+ const vue_1 = require("vue");
6
7
  const version_1 = __importDefault(require("./version"));
8
+ const context_1 = require("./config-provider/src/context");
7
9
  function create({ componentPrefix = 'U', components = [] } = {}) {
8
10
  const installTargets = [];
11
+ function findConfig(instance) {
12
+ var _a;
13
+ let parent = instance.parent;
14
+ while (parent) {
15
+ const p = (_a = parent.provides) === null || _a === void 0 ? void 0 : _a[context_1.configProviderInjectionKey];
16
+ if (p)
17
+ return p;
18
+ parent = parent.parent;
19
+ }
20
+ return null;
21
+ }
22
+ function wrap(component) {
23
+ const wrapped = {
24
+ name: component.name,
25
+ inheritAttrs: false,
26
+ setup(props, ctx) {
27
+ const instance = (0, vue_1.getCurrentInstance)();
28
+ const config = instance ? findConfig(instance) : null;
29
+ const mergedProps = (0, vue_1.computed)(() => {
30
+ var _a, _b;
31
+ if (!config)
32
+ return props;
33
+ const defaults = ((_b = (_a = config.mergedComponentPropsRef) === null || _a === void 0 ? void 0 : _a.value) === null || _b === void 0 ? void 0 : _b[component.name]) || {};
34
+ return Object.assign(Object.assign({}, defaults), props);
35
+ });
36
+ return () => (0, vue_1.h)(component, Object.assign(Object.assign(Object.assign({}, mergedProps.value), ctx.attrs), props), ctx.slots);
37
+ }
38
+ };
39
+ return wrapped;
40
+ }
9
41
  function registerComponent(app, name, component) {
10
- const registered = app.component(componentPrefix + name);
11
- if (!registered) {
12
- app.component(componentPrefix + name, component);
42
+ if (!app.component(componentPrefix + name)) {
43
+ app.component(componentPrefix + name, wrap(component));
13
44
  }
14
45
  }
15
46
  function install(app) {
@@ -7373,14 +7373,15 @@ declare const _default: import("vue").DefineComponent<{
7373
7373
  readonly loading: boolean;
7374
7374
  readonly bordered: boolean | undefined;
7375
7375
  readonly size: "small" | "medium" | "large";
7376
- readonly pagination: false | import("../../pagination").PaginationProps;
7377
7376
  readonly data: import("./interface").RowData[];
7378
- readonly virtualScroll: boolean;
7379
- readonly tableLayout: "auto" | "fixed";
7380
- readonly columns: import("./interface").TableColumns<any>;
7381
7377
  readonly loadingSkeleton: boolean;
7378
+ readonly allowCheckingNotLoaded: boolean;
7382
7379
  readonly remote: boolean;
7380
+ readonly cascade: boolean;
7381
+ readonly virtualScroll: boolean;
7382
+ readonly pagination: false | import("../../pagination").PaginationProps;
7383
7383
  readonly paginateSinglePage: boolean;
7384
+ readonly columns: import("./interface").TableColumns<any>;
7384
7385
  readonly bottomBordered: boolean | undefined;
7385
7386
  readonly striped: boolean;
7386
7387
  readonly defaultCheckedRowKeys: RowKey[];
@@ -7389,8 +7390,7 @@ declare const _default: import("vue").DefineComponent<{
7389
7390
  readonly defaultExpandedRowKeys: RowKey[];
7390
7391
  readonly defaultExpandAll: boolean;
7391
7392
  readonly stickyExpandedRows: boolean;
7392
- readonly allowCheckingNotLoaded: boolean;
7393
- readonly cascade: boolean;
7393
+ readonly tableLayout: "auto" | "fixed";
7394
7394
  readonly childrenKey: string;
7395
7395
  readonly indent: number;
7396
7396
  readonly flexHeight: boolean;
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  default: boolean;
28
28
  };
29
29
  }>>, {
30
- active: boolean;
31
30
  show: boolean;
31
+ active: boolean;
32
32
  }, {}>;
33
33
  export default _default;
@@ -9111,15 +9111,15 @@ declare const _default: import("vue").DefineComponent<{
9111
9111
  readonly type: DatePickerType;
9112
9112
  readonly disabled: boolean | undefined;
9113
9113
  readonly bordered: boolean | undefined;
9114
- readonly round: boolean;
9115
9114
  readonly to: string | boolean | HTMLElement;
9116
- readonly show: boolean | undefined;
9117
- readonly placement: FollowerPlacement;
9118
9115
  readonly clearable: boolean;
9116
+ readonly placement: FollowerPlacement;
9117
+ readonly round: boolean;
9118
+ readonly show: boolean | undefined;
9119
9119
  readonly inputReadonly: boolean;
9120
- readonly panel: boolean;
9121
9120
  readonly updateValueOnClose: boolean;
9122
9121
  readonly defaultShortcuts: boolean;
9122
+ readonly panel: boolean;
9123
9123
  readonly closeOnSelect: boolean;
9124
9124
  readonly bindCalendarMonths: boolean;
9125
9125
  readonly triggerPreset: TriggerPreset;
@@ -1336,8 +1336,8 @@ declare const _default: import("vue").DefineComponent<{
1336
1336
  readonly panel: BooleanConstructor;
1337
1337
  }>>, {
1338
1338
  readonly value: import("../interface").Value | null;
1339
- readonly active: boolean;
1340
1339
  readonly actions: string[];
1341
1340
  readonly panel: boolean;
1341
+ readonly active: boolean;
1342
1342
  }, {}>;
1343
1343
  export default _default;
@@ -1375,9 +1375,9 @@ declare const _default: import("vue").DefineComponent<{
1375
1375
  readonly panel: BooleanConstructor;
1376
1376
  }>>, {
1377
1377
  readonly value: import("../interface").Value | null;
1378
- readonly active: boolean;
1379
1378
  readonly actions: unknown[];
1380
1379
  readonly panel: boolean;
1381
1380
  readonly bindCalendarMonths: boolean;
1381
+ readonly active: boolean;
1382
1382
  }, {}>;
1383
1383
  export default _default;
@@ -1329,8 +1329,8 @@ declare const _default: import("vue").DefineComponent<{
1329
1329
  readonly panel: BooleanConstructor;
1330
1330
  }>>, {
1331
1331
  readonly value: import("../interface").Value | null;
1332
- readonly active: boolean;
1333
1332
  readonly actions: string[];
1334
1333
  readonly panel: boolean;
1334
+ readonly active: boolean;
1335
1335
  }, {}>;
1336
1336
  export default _default;
@@ -1366,9 +1366,9 @@ declare const _default: import("vue").DefineComponent<{
1366
1366
  readonly panel: BooleanConstructor;
1367
1367
  }>>, {
1368
1368
  readonly value: import("../interface").Value | null;
1369
- readonly active: boolean;
1370
1369
  readonly actions: unknown[];
1371
1370
  readonly panel: boolean;
1372
1371
  readonly bindCalendarMonths: boolean;
1372
+ readonly active: boolean;
1373
1373
  }, {}>;
1374
1374
  export default _default;
@@ -29,15 +29,22 @@ declare const _default: import("vue").DefineComponent<{
29
29
  $data: {};
30
30
  $props: {
31
31
  value?: import("../interface").Value | null | undefined;
32
- active?: boolean | undefined;
33
32
  actions?: string[] | undefined;
34
33
  panel?: boolean | undefined;
34
+ active?: boolean | undefined;
35
35
  useAsQuickJump?: boolean | undefined;
36
36
  ref?: import("vue").VNodeRef | undefined;
37
37
  readonly type?: import("../config").DatePickerType | undefined;
38
38
  class?: unknown;
39
39
  style?: unknown;
40
40
  readonly dateFormat?: string | undefined;
41
+ readonly onClose?: import("../interface").OnClose | undefined;
42
+ readonly onUpdateValue: OnPanelUpdateValue;
43
+ readonly onConfirm?: ((value: import("../interface").Value | null) => void) | undefined;
44
+ readonly onClear?: Function | undefined;
45
+ readonly defaultTime?: import("../interface").DefaultTime | undefined;
46
+ readonly timeFormat?: string | undefined;
47
+ readonly shortcuts?: import("../interface").Shortcuts | undefined;
41
48
  key?: (string | number | symbol) | undefined;
42
49
  ref_for?: boolean | undefined;
43
50
  ref_key?: string | undefined;
@@ -50,13 +57,6 @@ declare const _default: import("vue").DefineComponent<{
50
57
  readonly themeClass?: string | undefined;
51
58
  readonly onRender?: (() => void) | undefined;
52
59
  readonly onTabOut?: Function | undefined;
53
- readonly onClose?: import("../interface").OnClose | undefined;
54
- readonly onUpdateValue: OnPanelUpdateValue;
55
- readonly onClear?: Function | undefined;
56
- readonly onConfirm?: ((value: import("../interface").Value | null) => void) | undefined;
57
- readonly timeFormat?: string | undefined;
58
- readonly shortcuts?: import("../interface").Shortcuts | undefined;
59
- readonly defaultTime?: import("../interface").DefaultTime | undefined;
60
60
  };
61
61
  $attrs: {
62
62
  [x: string]: unknown;
@@ -1369,9 +1369,9 @@ declare const _default: import("vue").DefineComponent<{
1369
1369
  handleSingleShortcutClick: (shortcut: import("../interface").Shortcuts[string]) => void;
1370
1370
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
1371
1371
  value: import("../interface").Value | null;
1372
- active: boolean;
1373
1372
  actions: string[];
1374
1373
  panel: boolean;
1374
+ active: boolean;
1375
1375
  useAsQuickJump: boolean;
1376
1376
  }, {}, string, {}> & {
1377
1377
  beforeCreate?: (() => void) | (() => void)[];
@@ -1334,9 +1334,9 @@ declare const _default: import("vue").DefineComponent<{
1334
1334
  panel: BooleanConstructor;
1335
1335
  }>>, {
1336
1336
  value: import("../interface").Value | null;
1337
- active: boolean;
1338
1337
  actions: string[];
1339
1338
  panel: boolean;
1339
+ active: boolean;
1340
1340
  useAsQuickJump: boolean;
1341
1341
  }, {}>;
1342
1342
  export default _default;
@@ -29,15 +29,22 @@ declare const _default: import("vue").DefineComponent<{
29
29
  $data: {};
30
30
  $props: {
31
31
  value?: import("../interface").Value | null | undefined;
32
- active?: boolean | undefined;
33
32
  actions?: string[] | undefined;
34
33
  panel?: boolean | undefined;
34
+ active?: boolean | undefined;
35
35
  useAsQuickJump?: boolean | undefined;
36
36
  ref?: import("vue").VNodeRef | undefined;
37
37
  readonly type?: import("../config").DatePickerType | undefined;
38
38
  class?: unknown;
39
39
  style?: unknown;
40
40
  readonly dateFormat?: string | undefined;
41
+ readonly onClose?: import("../interface").OnClose | undefined;
42
+ readonly onUpdateValue: OnPanelUpdateValue;
43
+ readonly onConfirm?: ((value: import("../interface").Value | null) => void) | undefined;
44
+ readonly onClear?: Function | undefined;
45
+ readonly defaultTime?: import("../interface").DefaultTime | undefined;
46
+ readonly timeFormat?: string | undefined;
47
+ readonly shortcuts?: import("../interface").Shortcuts | undefined;
41
48
  key?: (string | number | symbol) | undefined;
42
49
  ref_for?: boolean | undefined;
43
50
  ref_key?: string | undefined;
@@ -50,13 +57,6 @@ declare const _default: import("vue").DefineComponent<{
50
57
  readonly themeClass?: string | undefined;
51
58
  readonly onRender?: (() => void) | undefined;
52
59
  readonly onTabOut?: Function | undefined;
53
- readonly onClose?: import("../interface").OnClose | undefined;
54
- readonly onUpdateValue: OnPanelUpdateValue;
55
- readonly onClear?: Function | undefined;
56
- readonly onConfirm?: ((value: import("../interface").Value | null) => void) | undefined;
57
- readonly timeFormat?: string | undefined;
58
- readonly shortcuts?: import("../interface").Shortcuts | undefined;
59
- readonly defaultTime?: import("../interface").DefaultTime | undefined;
60
60
  };
61
61
  $attrs: {
62
62
  [x: string]: unknown;
@@ -1369,9 +1369,9 @@ declare const _default: import("vue").DefineComponent<{
1369
1369
  handleSingleShortcutClick: (shortcut: import("../interface").Shortcuts[string]) => void;
1370
1370
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
1371
1371
  value: import("../interface").Value | null;
1372
- active: boolean;
1373
1372
  actions: string[];
1374
1373
  panel: boolean;
1374
+ active: boolean;
1375
1375
  useAsQuickJump: boolean;
1376
1376
  }, {}, string, {}> & {
1377
1377
  beforeCreate?: (() => void) | (() => void)[];
@@ -1334,9 +1334,9 @@ declare const _default: import("vue").DefineComponent<{
1334
1334
  panel: BooleanConstructor;
1335
1335
  }>>, {
1336
1336
  value: import("../interface").Value | null;
1337
- active: boolean;
1338
1337
  actions: string[];
1339
1338
  panel: boolean;
1339
+ active: boolean;
1340
1340
  useAsQuickJump: boolean;
1341
1341
  }, {}>;
1342
1342
  export default _default;
@@ -428,11 +428,11 @@ declare const _default: import("vue").DefineComponent<{
428
428
  }>>, {
429
429
  readonly bordered: boolean;
430
430
  readonly size: "small" | "medium" | "large";
431
- readonly column: number;
432
431
  readonly separator: string;
433
432
  readonly loadingSkeleton: boolean;
434
- readonly labelAlign: "left" | "right" | "center";
435
- readonly labelPlacement: "left" | "top";
436
433
  readonly skeletonProps: SkeletonProps;
434
+ readonly column: number;
435
+ readonly labelPlacement: "left" | "top";
436
+ readonly labelAlign: "left" | "right" | "center";
437
437
  }, {}>;
438
438
  export default _default;