naive-ui 2.41.1 → 2.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (685) hide show
  1. package/dist/index.js +3349 -1068
  2. package/dist/index.mjs +3339 -1070
  3. package/dist/index.prod.js +1 -1
  4. package/dist/index.prod.mjs +1 -1
  5. package/es/_internal/icon/src/styles/index.cssr.mjs +0 -1
  6. package/es/_internal/icons/replaceable.mjs +1 -1
  7. package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  8. package/es/_internal/select-menu/src/SelectMenu.d.ts +4 -4
  9. package/es/_internal/selection/src/Selection.d.ts +115 -13
  10. package/es/_internal/selection/styles/light.d.ts +14 -1
  11. package/es/_mixins/use-theme.mjs +1 -1
  12. package/es/_utils/index.d.ts +1 -0
  13. package/es/_utils/naive/prop.d.ts +19 -10
  14. package/es/_utils/naive/prop.mjs +21 -21
  15. package/es/_utils/ts/ts.d.ts +3 -0
  16. package/es/alert/src/Alert.d.ts +2 -2
  17. package/es/anchor/index.d.ts +1 -0
  18. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  19. package/es/anchor/src/BaseAnchor.mjs +29 -5
  20. package/es/anchor/src/Link.d.ts +3 -2
  21. package/es/anchor/src/Link.mjs +5 -2
  22. package/es/anchor/src/public-types.d.ts +5 -0
  23. package/es/anchor/src/public-types.mjs +1 -0
  24. package/es/auto-complete/src/AutoComplete.d.ts +155 -14
  25. package/es/auto-complete/styles/light.d.ts +14 -1
  26. package/es/avatar-group/index.d.ts +3 -2
  27. package/es/avatar-group/src/AvatarGroup.d.ts +1 -4
  28. package/es/avatar-group/src/generic-public-types.d.ts +18 -0
  29. package/es/avatar-group/src/generic-public-types.mjs +1 -0
  30. package/es/avatar-group/src/public-types.d.ts +10 -0
  31. package/es/avatar-group/src/public-types.mjs +1 -0
  32. package/es/back-top/src/BackTop.d.ts +1 -1
  33. package/es/badge/src/Badge.d.ts +1 -1
  34. package/es/button/src/Button.d.ts +1 -1
  35. package/es/card/src/Card.d.ts +7 -2
  36. package/es/card/src/Card.mjs +3 -1
  37. package/es/carousel/src/Carousel.d.ts +4 -4
  38. package/es/carousel/src/Carousel.mjs +2 -2
  39. package/es/carousel/src/CarouselDots.d.ts +2 -2
  40. package/es/carousel/src/CarouselItem.mjs +1 -1
  41. package/es/cascader/src/Cascader.d.ts +163 -20
  42. package/es/cascader/src/CascaderMenu.d.ts +56 -4
  43. package/es/cascader/src/CascaderOption.d.ts +56 -4
  44. package/es/cascader/src/CascaderSelectMenu.d.ts +57 -5
  45. package/es/cascader/src/CascaderSubmenu.d.ts +56 -4
  46. package/es/cascader/styles/light.d.ts +14 -1
  47. package/es/color-picker/src/ColorInputUnit.d.ts +26 -2
  48. package/es/color-picker/src/ColorPicker.d.ts +128 -11
  49. package/es/color-picker/src/ColorPickerTrigger.mjs +2 -1
  50. package/es/color-picker/src/utils.d.ts +2 -0
  51. package/es/color-picker/src/utils.mjs +23 -0
  52. package/es/color-picker/styles/light.d.ts +17 -4
  53. package/es/components.d.ts +1 -0
  54. package/es/components.mjs +1 -0
  55. package/es/config-provider/src/ConfigProvider.d.ts +1 -1
  56. package/es/config-provider/src/ConfigProvider.mjs +1 -1
  57. package/es/config-provider/src/internal-interface.d.ts +2 -0
  58. package/es/data-table/src/DataTable.d.ts +690 -68
  59. package/es/data-table/src/HeaderButton/FilterButton.d.ts +334 -26
  60. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +332 -24
  61. package/es/data-table/src/TableParts/Body.d.ts +332 -24
  62. package/es/data-table/src/TableParts/Cell.mjs +1 -1
  63. package/es/data-table/src/TableParts/Header.d.ts +332 -24
  64. package/es/data-table/src/interface.d.ts +253 -18
  65. package/es/data-table/src/use-sorter.d.ts +2 -5
  66. package/es/data-table/src/use-table-data.d.ts +1 -4
  67. package/es/data-table/src/utils.mjs +4 -1
  68. package/es/data-table/styles/light.d.ts +84 -6
  69. package/es/date-picker/src/DatePicker.d.ts +229 -23
  70. package/es/date-picker/src/DatePicker.mjs +1 -1
  71. package/es/date-picker/src/panel/date.d.ts +110 -10
  72. package/es/date-picker/src/panel/daterange.d.ts +111 -11
  73. package/es/date-picker/src/panel/datetime.d.ts +111 -11
  74. package/es/date-picker/src/panel/datetime.mjs +1 -1
  75. package/es/date-picker/src/panel/datetimerange.d.ts +112 -12
  76. package/es/date-picker/src/panel/datetimerange.mjs +2 -2
  77. package/es/date-picker/src/panel/month.d.ts +110 -10
  78. package/es/date-picker/src/panel/monthrange.d.ts +111 -11
  79. package/es/date-picker/src/panel/panelHeader.d.ts +436 -36
  80. package/es/date-picker/src/panel/use-calendar.d.ts +109 -9
  81. package/es/date-picker/src/panel/use-dual-calendar.d.ts +110 -10
  82. package/es/date-picker/src/panel/use-dual-calendar.mjs +3 -3
  83. package/es/date-picker/src/panel/use-panel-common.d.ts +109 -9
  84. package/es/date-picker/src/panel/use-panel-common.mjs +1 -1
  85. package/es/date-picker/src/props.d.ts +85 -7
  86. package/es/date-picker/src/props.mjs +1 -1
  87. package/es/date-picker/src/utils.d.ts +2 -1
  88. package/es/date-picker/src/utils.mjs +4 -1
  89. package/es/date-picker/styles/light.d.ts +28 -2
  90. package/es/dialog/src/Dialog.d.ts +9 -6
  91. package/es/dialog/src/Dialog.mjs +1 -0
  92. package/es/dialog/src/DialogEnvironment.d.ts +11 -4
  93. package/es/dialog/src/DialogEnvironment.mjs +3 -0
  94. package/es/dialog/src/DialogProvider.d.ts +38 -34
  95. package/es/dialog/src/dialogProps.d.ts +2 -1
  96. package/es/dialog/src/dialogProps.mjs +2 -1
  97. package/es/drawer/src/Drawer.d.ts +4 -4
  98. package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  99. package/es/dropdown/src/Dropdown.d.ts +165 -24
  100. package/es/dropdown/src/DropdownMenu.d.ts +2 -2
  101. package/es/dropdown/src/DropdownOption.d.ts +2 -2
  102. package/es/dropdown/styles/light.d.ts +16 -3
  103. package/es/dynamic-input/src/DynamicInput.d.ts +153 -12
  104. package/es/dynamic-input/src/InputPreset.d.ts +52 -4
  105. package/es/dynamic-input/src/PairPreset.d.ts +52 -4
  106. package/es/dynamic-input/styles/light.d.ts +14 -1
  107. package/es/dynamic-tags/src/DynamicTags.d.ts +153 -12
  108. package/es/dynamic-tags/styles/light.d.ts +14 -1
  109. package/es/element/src/Element.mjs +1 -1
  110. package/es/ellipsis/src/Ellipsis.d.ts +154 -11
  111. package/es/ellipsis/src/PerformantEllipsis.d.ts +84 -6
  112. package/es/ellipsis/styles/light.d.ts +14 -1
  113. package/es/empty/src/Empty.d.ts +1 -1
  114. package/es/form/src/FormItem.d.ts +8 -2
  115. package/es/form/src/FormItem.mjs +6 -3
  116. package/es/form/src/FormItemCol.d.ts +7 -1
  117. package/es/form/src/FormItemGridItem.d.ts +7 -1
  118. package/es/form/src/FormItemRow.d.ts +7 -1
  119. package/es/form/src/utils.d.ts +1 -1
  120. package/es/form/src/utils.mjs +1 -1
  121. package/es/global-style/src/GlobalStyle.mjs +1 -1
  122. package/es/gradient-text/src/GradientText.d.ts +2 -2
  123. package/es/grid/src/GridItem.d.ts +1 -1
  124. package/es/heatmap/index.d.ts +6 -0
  125. package/es/heatmap/index.mjs +4 -0
  126. package/es/heatmap/src/ColorIndicator.d.ts +25 -0
  127. package/es/heatmap/src/ColorIndicator.mjs +41 -0
  128. package/es/heatmap/src/Heatmap.d.ts +385 -0
  129. package/es/heatmap/src/Heatmap.mjs +333 -0
  130. package/es/heatmap/src/Rect.d.ts +57 -0
  131. package/es/heatmap/src/Rect.mjs +67 -0
  132. package/es/heatmap/src/animationStyle.d.ts +6 -0
  133. package/es/heatmap/src/animationStyle.mjs +51 -0
  134. package/es/heatmap/src/interface.d.ts +7 -0
  135. package/es/heatmap/src/interface.mjs +1 -0
  136. package/es/heatmap/src/public-types.d.ts +16 -0
  137. package/es/heatmap/src/public-types.mjs +1 -0
  138. package/es/heatmap/src/styles/index.cssr.d.ts +2 -0
  139. package/es/heatmap/src/styles/index.cssr.mjs +102 -0
  140. package/es/heatmap/src/styles/rtl.cssr.d.ts +2 -0
  141. package/es/heatmap/src/styles/rtl.cssr.mjs +4 -0
  142. package/es/heatmap/src/theme.d.ts +8 -0
  143. package/es/heatmap/src/theme.mjs +7 -0
  144. package/es/heatmap/src/utils/index.d.ts +32 -0
  145. package/es/heatmap/src/utils/index.mjs +148 -0
  146. package/es/heatmap/styles/dark.d.ts +3 -0
  147. package/es/heatmap/styles/dark.mjs +16 -0
  148. package/es/heatmap/styles/index.d.ts +3 -0
  149. package/es/heatmap/styles/index.mjs +2 -0
  150. package/es/heatmap/styles/light.d.ts +31 -0
  151. package/es/heatmap/styles/light.mjs +45 -0
  152. package/es/heatmap/styles/rtl.d.ts +2 -0
  153. package/es/heatmap/styles/rtl.mjs +5 -0
  154. package/es/highlight/src/utils.mjs +10 -10
  155. package/es/icon/src/styles/index.cssr.mjs +0 -1
  156. package/es/image/index.d.ts +3 -1
  157. package/es/image/index.mjs +2 -1
  158. package/es/image/src/Image.d.ts +133 -23
  159. package/es/image/src/Image.mjs +48 -23
  160. package/es/image/src/ImageGroup.d.ts +200 -35
  161. package/es/image/src/ImageGroup.mjs +130 -26
  162. package/es/image/src/ImagePreview.d.ts +258 -23
  163. package/es/image/src/ImagePreview.mjs +84 -42
  164. package/es/image/src/interface.d.ts +42 -3
  165. package/es/image/src/public-types.d.ts +14 -0
  166. package/es/image/styles/light.d.ts +14 -1
  167. package/es/input/src/Input.d.ts +146 -12
  168. package/es/input/src/Input.mjs +6 -4
  169. package/es/input/src/InputGroupLabel.d.ts +129 -22
  170. package/es/input/src/InputGroupLabel.mjs +14 -8
  171. package/es/input/styles/dark.d.ts +139 -2
  172. package/es/input/styles/dark.mjs +114 -108
  173. package/es/input/styles/light.d.ts +76 -3
  174. package/es/input/styles/light.mjs +7 -2
  175. package/es/input-number/src/InputNumber.d.ts +152 -11
  176. package/es/input-number/styles/light.d.ts +14 -1
  177. package/es/input-otp/src/InputOtp.d.ts +158 -12
  178. package/es/input-otp/src/InputOtp.mjs +12 -4
  179. package/es/input-otp/src/public-types.d.ts +1 -0
  180. package/es/input-otp/src/styles/index.cssr.mjs +12 -3
  181. package/es/input-otp/styles/dark.mjs +1 -1
  182. package/es/input-otp/styles/light.d.ts +14 -1
  183. package/es/layout/src/LayoutSider.d.ts +1 -1
  184. package/es/legacy-transfer/src/Transfer.d.ts +154 -13
  185. package/es/legacy-transfer/src/TransferFilter.d.ts +52 -4
  186. package/es/legacy-transfer/src/TransferList.d.ts +52 -4
  187. package/es/legacy-transfer/src/TransferListItem.d.ts +52 -4
  188. package/es/legacy-transfer/styles/light.d.ts +14 -1
  189. package/es/locales/common/arDZ.mjs +6 -0
  190. package/es/locales/common/azAZ.mjs +6 -0
  191. package/es/locales/common/csCZ.mjs +6 -0
  192. package/es/locales/common/daDK.d.ts +3 -0
  193. package/es/locales/common/daDK.mjs +130 -0
  194. package/es/locales/common/deDE.mjs +6 -0
  195. package/es/locales/common/enGB.mjs +6 -0
  196. package/es/locales/common/enUS.d.ts +6 -0
  197. package/es/locales/common/enUS.mjs +6 -0
  198. package/es/locales/common/eo.mjs +6 -0
  199. package/es/locales/common/esAR.mjs +6 -0
  200. package/es/locales/common/etEE.mjs +6 -0
  201. package/es/locales/common/faIR.mjs +6 -0
  202. package/es/locales/common/frFR.mjs +6 -0
  203. package/es/locales/common/idID.mjs +6 -0
  204. package/es/locales/common/itIT.mjs +6 -0
  205. package/es/locales/common/jaJP.mjs +6 -0
  206. package/es/locales/common/kmKH.mjs +6 -0
  207. package/es/locales/common/koKR.mjs +6 -0
  208. package/es/locales/common/nbNO.mjs +6 -0
  209. package/es/locales/common/nlNL.mjs +6 -0
  210. package/es/locales/common/plPL.mjs +6 -0
  211. package/es/locales/common/ptBR.mjs +6 -0
  212. package/es/locales/common/ruRU.mjs +6 -0
  213. package/es/locales/common/skSK.mjs +6 -0
  214. package/es/locales/common/svSE.mjs +8 -2
  215. package/es/locales/common/thTH.mjs +6 -0
  216. package/es/locales/common/trTR.mjs +6 -0
  217. package/es/locales/common/ugCN.mjs +6 -0
  218. package/es/locales/common/ukUA.mjs +6 -0
  219. package/es/locales/common/uzUZ.mjs +6 -0
  220. package/es/locales/common/viVN.mjs +6 -0
  221. package/es/locales/common/zhCN.mjs +6 -0
  222. package/es/locales/common/zhTW.mjs +6 -0
  223. package/es/locales/date/daDK.d.ts +3 -0
  224. package/es/locales/date/daDK.mjs +6 -0
  225. package/es/locales/index.d.ts +2 -0
  226. package/es/locales/index.mjs +2 -0
  227. package/es/locales/utils/index.mjs +1 -1
  228. package/es/log/src/Log.d.ts +1 -1
  229. package/es/log/src/Log.mjs +1 -1
  230. package/es/marquee/src/Marquee.mjs +12 -10
  231. package/es/mention/src/Mention.d.ts +155 -14
  232. package/es/mention/styles/light.d.ts +14 -1
  233. package/es/menu/src/Menu.d.ts +314 -28
  234. package/es/menu/src/MenuOption.d.ts +113 -9
  235. package/es/menu/src/MenuOption.mjs +4 -3
  236. package/es/menu/src/MenuOptionContent.d.ts +1 -1
  237. package/es/menu/src/MenuOptionGroup.d.ts +1 -1
  238. package/es/menu/src/MenuOptionGroup.mjs +11 -4
  239. package/es/menu/src/Submenu.d.ts +114 -10
  240. package/es/menu/src/use-menu-child.d.ts +2 -0
  241. package/es/menu/src/use-menu-child.mjs +2 -1
  242. package/es/menu/styles/light.d.ts +33 -7
  243. package/es/message/src/Message.d.ts +1 -0
  244. package/es/message/src/Message.mjs +3 -1
  245. package/es/message/src/MessageProvider.d.ts +10 -1
  246. package/es/message/src/styles/index.cssr.mjs +1 -0
  247. package/es/message/styles/light.d.ts +1 -0
  248. package/es/message/styles/light.mjs +2 -1
  249. package/es/modal/src/BodyWrapper.d.ts +13 -7
  250. package/es/modal/src/BodyWrapper.mjs +4 -3
  251. package/es/modal/src/Modal.d.ts +32 -15
  252. package/es/modal/src/Modal.mjs +14 -6
  253. package/es/modal/src/ModalEnvironment.d.ts +22 -10
  254. package/es/modal/src/ModalEnvironment.mjs +1 -1
  255. package/es/modal/src/ModalProvider.d.ts +2 -1
  256. package/es/modal/src/ModalProvider.mjs +4 -2
  257. package/es/modal/src/presetProps.d.ts +3 -2
  258. package/es/modal/src/styles/index.cssr.mjs +4 -2
  259. package/es/notification/src/Notification.d.ts +2 -2
  260. package/es/notification/src/NotificationEnvironment.d.ts +1 -1
  261. package/es/notification/src/NotificationProvider.d.ts +5 -5
  262. package/es/number-animation/src/NumberAnimation.mjs +1 -1
  263. package/es/pagination/src/Pagination.d.ts +460 -33
  264. package/es/pagination/styles/light.d.ts +42 -3
  265. package/es/popconfirm/src/Popconfirm.d.ts +163 -22
  266. package/es/popconfirm/src/Popconfirm.mjs +3 -3
  267. package/es/popconfirm/src/PopconfirmPanel.d.ts +3 -3
  268. package/es/popconfirm/styles/light.d.ts +14 -1
  269. package/es/popover/src/Popover.d.ts +133 -16
  270. package/es/popover/src/PopoverBody.d.ts +129 -12
  271. package/es/popover/src/PopoverBody.mjs +8 -4
  272. package/es/popover/src/styles/index.cssr.mjs +1 -1
  273. package/es/popover/src/styles/rtl.cssr.d.ts +2 -0
  274. package/es/popover/src/styles/rtl.cssr.mjs +5 -0
  275. package/es/popover/styles/dark.mjs +4 -0
  276. package/es/popover/styles/index.d.ts +1 -0
  277. package/es/popover/styles/index.mjs +2 -1
  278. package/es/popover/styles/light.d.ts +27 -2
  279. package/es/popover/styles/light.mjs +7 -2
  280. package/es/popover/styles/rtl.d.ts +2 -0
  281. package/es/popover/styles/rtl.mjs +7 -0
  282. package/es/popselect/src/Popselect.d.ts +217 -76
  283. package/es/popselect/src/PopselectPanel.d.ts +55 -7
  284. package/es/popselect/styles/light.d.ts +14 -1
  285. package/es/progress/src/Circle.d.ts +1 -1
  286. package/es/progress/src/Circle.mjs +14 -3
  287. package/es/progress/src/Progress.d.ts +1 -1
  288. package/es/radio/src/Radio.mjs +5 -5
  289. package/es/radio/src/RadioButton.d.ts +2 -2
  290. package/es/radio/src/styles/radio.cssr.mjs +3 -7
  291. package/es/rate/src/Rate.d.ts +1 -1
  292. package/es/result/src/Result.d.ts +1 -1
  293. package/es/select/src/Select.d.ts +164 -21
  294. package/es/select/styles/light.d.ts +14 -1
  295. package/es/styles.d.ts +3 -3
  296. package/es/styles.mjs +3 -3
  297. package/es/tabs/src/Tab.d.ts +3 -3
  298. package/es/tabs/src/Tabs.d.ts +1 -1
  299. package/es/tabs/src/Tabs.mjs +1 -1
  300. package/es/tabs/src/styles/index.cssr.mjs +4 -4
  301. package/es/tag/src/Tag.d.ts +1 -1
  302. package/es/theme-editor/src/ThemeEditor.mjs +1 -1
  303. package/es/themes/dark.mjs +2 -0
  304. package/es/themes/light.mjs +2 -0
  305. package/es/time-picker/src/Panel.d.ts +59 -11
  306. package/es/time-picker/src/TimePicker.d.ts +156 -15
  307. package/es/time-picker/styles/light.d.ts +14 -1
  308. package/es/timeline/src/TimelineItem.d.ts +1 -1
  309. package/es/tooltip/src/Tooltip.d.ts +166 -25
  310. package/es/tooltip/styles/light.d.ts +16 -3
  311. package/es/transfer/src/Transfer.d.ts +154 -13
  312. package/es/transfer/src/TransferFilter.d.ts +52 -4
  313. package/es/transfer/src/TransferList.d.ts +52 -4
  314. package/es/transfer/src/TransferListItem.d.ts +52 -4
  315. package/es/transfer/styles/light.d.ts +14 -1
  316. package/es/tree/src/Tree.d.ts +42 -38
  317. package/es/tree/src/Tree.mjs +3 -1
  318. package/es/tree/src/TreeNode.d.ts +2 -2
  319. package/es/tree/src/TreeNodeContent.d.ts +3 -3
  320. package/es/tree/src/styles/index.cssr.mjs +7 -2
  321. package/es/tree/styles/light.d.ts +4 -4
  322. package/es/tree-select/src/TreeSelect.d.ts +172 -29
  323. package/es/tree-select/styles/index.d.ts +1 -0
  324. package/es/tree-select/styles/index.mjs +2 -1
  325. package/es/tree-select/styles/light.d.ts +22 -9
  326. package/es/tree-select/styles/rtl.d.ts +2 -0
  327. package/es/tree-select/styles/rtl.mjs +11 -0
  328. package/es/typography/src/create-header.d.ts +1 -1
  329. package/es/typography/src/headers.d.ts +6 -6
  330. package/es/upload/src/Upload.d.ts +1 -0
  331. package/es/upload/src/Upload.mjs +6 -3
  332. package/es/upload/src/UploadFile.d.ts +8 -6
  333. package/es/upload/src/UploadFile.mjs +1 -1
  334. package/es/upload/src/icons.d.ts +2 -2
  335. package/es/upload/src/icons.mjs +22 -18
  336. package/es/upload/src/styles/rtl.cssr.d.ts +2 -0
  337. package/es/upload/src/styles/rtl.cssr.mjs +5 -0
  338. package/es/upload/styles/index.d.ts +1 -0
  339. package/es/upload/styles/index.mjs +2 -1
  340. package/es/upload/styles/rtl.d.ts +2 -0
  341. package/es/upload/styles/rtl.mjs +5 -0
  342. package/es/version.d.ts +1 -1
  343. package/es/version.mjs +1 -1
  344. package/es/virtual-list/src/VirtualList.d.ts +1 -1
  345. package/generic/AvatarGroup.vue +26 -0
  346. package/generic/index.ts +1 -0
  347. package/lib/_internal/icon/src/styles/index.cssr.js +0 -1
  348. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  349. package/lib/_internal/select-menu/src/SelectMenu.d.ts +4 -4
  350. package/lib/_internal/selection/src/Selection.d.ts +115 -13
  351. package/lib/_internal/selection/styles/light.d.ts +14 -1
  352. package/lib/_utils/index.d.ts +1 -0
  353. package/lib/_utils/naive/prop.d.ts +19 -10
  354. package/lib/_utils/naive/prop.js +21 -21
  355. package/lib/_utils/ts/ts.d.ts +3 -0
  356. package/lib/alert/src/Alert.d.ts +2 -2
  357. package/lib/anchor/index.d.ts +1 -0
  358. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  359. package/lib/anchor/src/AnchorAdapter.js +17 -7
  360. package/lib/anchor/src/BaseAnchor.js +30 -5
  361. package/lib/anchor/src/Link.d.ts +3 -2
  362. package/lib/anchor/src/Link.js +4 -1
  363. package/lib/anchor/src/public-types.d.ts +5 -0
  364. package/lib/anchor/src/public-types.js +2 -0
  365. package/lib/auto-complete/src/AutoComplete.d.ts +155 -14
  366. package/lib/auto-complete/styles/light.d.ts +14 -1
  367. package/lib/avatar-group/index.d.ts +3 -2
  368. package/lib/avatar-group/src/AvatarGroup.d.ts +1 -4
  369. package/lib/avatar-group/src/generic-public-types.d.ts +18 -0
  370. package/lib/avatar-group/src/generic-public-types.js +2 -0
  371. package/lib/avatar-group/src/public-types.d.ts +10 -0
  372. package/lib/avatar-group/src/public-types.js +2 -0
  373. package/lib/back-top/src/BackTop.d.ts +1 -1
  374. package/lib/badge/src/Badge.d.ts +1 -1
  375. package/lib/button/src/Button.d.ts +1 -1
  376. package/lib/card/src/Card.d.ts +7 -2
  377. package/lib/card/src/Card.js +3 -2
  378. package/lib/carousel/src/Carousel.d.ts +4 -4
  379. package/lib/carousel/src/Carousel.js +19 -9
  380. package/lib/carousel/src/CarouselDots.d.ts +2 -2
  381. package/lib/cascader/src/Cascader.d.ts +163 -20
  382. package/lib/cascader/src/CascaderMenu.d.ts +56 -4
  383. package/lib/cascader/src/CascaderOption.d.ts +56 -4
  384. package/lib/cascader/src/CascaderSelectMenu.d.ts +57 -5
  385. package/lib/cascader/src/CascaderSubmenu.d.ts +56 -4
  386. package/lib/cascader/styles/light.d.ts +14 -1
  387. package/lib/color-picker/src/ColorInputUnit.d.ts +26 -2
  388. package/lib/color-picker/src/ColorPicker.d.ts +128 -11
  389. package/lib/color-picker/src/ColorPickerTrigger.js +2 -1
  390. package/lib/color-picker/src/utils.d.ts +2 -0
  391. package/lib/color-picker/src/utils.js +26 -0
  392. package/lib/color-picker/styles/light.d.ts +14 -1
  393. package/lib/components.d.ts +1 -0
  394. package/lib/components.js +1 -0
  395. package/lib/config-provider/src/ConfigProvider.d.ts +1 -1
  396. package/lib/config-provider/src/internal-interface.d.ts +2 -0
  397. package/lib/data-table/src/DataTable.d.ts +674 -52
  398. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +333 -25
  399. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +332 -24
  400. package/lib/data-table/src/TableParts/Body.d.ts +332 -24
  401. package/lib/data-table/src/TableParts/Header.d.ts +332 -24
  402. package/lib/data-table/src/interface.d.ts +253 -18
  403. package/lib/data-table/src/use-sorter.d.ts +2 -5
  404. package/lib/data-table/src/use-table-data.d.ts +1 -4
  405. package/lib/data-table/src/utils.js +2 -1
  406. package/lib/data-table/styles/light.d.ts +84 -6
  407. package/lib/date-picker/src/DatePicker.d.ts +229 -23
  408. package/lib/date-picker/src/DatePicker.js +1 -1
  409. package/lib/date-picker/src/panel/date.d.ts +110 -10
  410. package/lib/date-picker/src/panel/daterange.d.ts +111 -11
  411. package/lib/date-picker/src/panel/datetime.d.ts +110 -10
  412. package/lib/date-picker/src/panel/datetime.js +1 -1
  413. package/lib/date-picker/src/panel/datetimerange.d.ts +111 -11
  414. package/lib/date-picker/src/panel/datetimerange.js +2 -2
  415. package/lib/date-picker/src/panel/month.d.ts +110 -10
  416. package/lib/date-picker/src/panel/monthrange.d.ts +111 -11
  417. package/lib/date-picker/src/panel/panelHeader.d.ts +436 -36
  418. package/lib/date-picker/src/panel/use-calendar.d.ts +109 -9
  419. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +110 -10
  420. package/lib/date-picker/src/panel/use-dual-calendar.js +3 -3
  421. package/lib/date-picker/src/panel/use-panel-common.d.ts +109 -9
  422. package/lib/date-picker/src/panel/use-panel-common.js +1 -1
  423. package/lib/date-picker/src/props.d.ts +85 -7
  424. package/lib/date-picker/src/props.js +1 -1
  425. package/lib/date-picker/src/utils.d.ts +2 -1
  426. package/lib/date-picker/src/utils.js +5 -1
  427. package/lib/date-picker/styles/light.d.ts +28 -2
  428. package/lib/dialog/src/Dialog.d.ts +5 -2
  429. package/lib/dialog/src/Dialog.js +1 -1
  430. package/lib/dialog/src/DialogEnvironment.d.ts +11 -4
  431. package/lib/dialog/src/DialogEnvironment.js +3 -3
  432. package/lib/dialog/src/DialogProvider.d.ts +38 -34
  433. package/lib/dialog/src/dialogProps.d.ts +2 -1
  434. package/lib/dialog/src/dialogProps.js +2 -1
  435. package/lib/drawer/src/Drawer.d.ts +4 -4
  436. package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  437. package/lib/dropdown/src/Dropdown.d.ts +162 -21
  438. package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
  439. package/lib/dropdown/styles/light.d.ts +14 -1
  440. package/lib/dynamic-input/src/DynamicInput.d.ts +153 -12
  441. package/lib/dynamic-input/src/InputPreset.d.ts +52 -4
  442. package/lib/dynamic-input/src/PairPreset.d.ts +52 -4
  443. package/lib/dynamic-input/styles/light.d.ts +14 -1
  444. package/lib/dynamic-tags/src/DynamicTags.d.ts +153 -12
  445. package/lib/dynamic-tags/styles/light.d.ts +14 -1
  446. package/lib/ellipsis/src/Ellipsis.d.ts +154 -11
  447. package/lib/ellipsis/src/PerformantEllipsis.d.ts +84 -6
  448. package/lib/ellipsis/src/PerformantEllipsis.js +17 -7
  449. package/lib/ellipsis/styles/light.d.ts +14 -1
  450. package/lib/empty/src/Empty.d.ts +1 -1
  451. package/lib/form/src/FormItem.d.ts +8 -2
  452. package/lib/form/src/FormItem.js +3 -2
  453. package/lib/form/src/FormItemCol.d.ts +7 -1
  454. package/lib/form/src/FormItemCol.js +17 -7
  455. package/lib/form/src/FormItemGridItem.d.ts +7 -1
  456. package/lib/form/src/FormItemGridItem.js +17 -7
  457. package/lib/form/src/FormItemRow.d.ts +7 -1
  458. package/lib/form/src/FormItemRow.js +17 -7
  459. package/lib/form/src/utils.d.ts +1 -1
  460. package/lib/gradient-text/src/GradientText.d.ts +2 -2
  461. package/lib/grid/src/GridItem.d.ts +1 -1
  462. package/lib/heatmap/index.d.ts +6 -0
  463. package/lib/heatmap/index.js +27 -0
  464. package/lib/heatmap/src/ColorIndicator.d.ts +25 -0
  465. package/lib/heatmap/src/ColorIndicator.js +27 -0
  466. package/lib/heatmap/src/Heatmap.d.ts +385 -0
  467. package/lib/heatmap/src/Heatmap.js +248 -0
  468. package/lib/heatmap/src/Rect.d.ts +57 -0
  469. package/lib/heatmap/src/Rect.js +64 -0
  470. package/lib/heatmap/src/animationStyle.d.ts +6 -0
  471. package/lib/heatmap/src/animationStyle.js +52 -0
  472. package/lib/heatmap/src/interface.d.ts +7 -0
  473. package/lib/heatmap/src/interface.js +2 -0
  474. package/lib/heatmap/src/public-types.d.ts +16 -0
  475. package/lib/heatmap/src/public-types.js +2 -0
  476. package/lib/heatmap/src/styles/index.cssr.d.ts +2 -0
  477. package/lib/heatmap/src/styles/index.cssr.js +107 -0
  478. package/lib/heatmap/src/styles/rtl.cssr.d.ts +2 -0
  479. package/lib/heatmap/src/styles/rtl.cssr.js +9 -0
  480. package/lib/heatmap/src/theme.d.ts +8 -0
  481. package/lib/heatmap/src/theme.js +10 -0
  482. package/lib/heatmap/src/utils/index.d.ts +32 -0
  483. package/lib/heatmap/src/utils/index.js +135 -0
  484. package/lib/heatmap/styles/dark.d.ts +3 -0
  485. package/lib/heatmap/styles/dark.js +13 -0
  486. package/lib/heatmap/styles/index.d.ts +3 -0
  487. package/lib/heatmap/styles/index.js +10 -0
  488. package/lib/heatmap/styles/light.d.ts +31 -0
  489. package/lib/heatmap/styles/light.js +39 -0
  490. package/lib/heatmap/styles/rtl.d.ts +2 -0
  491. package/lib/heatmap/styles/rtl.js +11 -0
  492. package/lib/highlight/src/utils.js +10 -21
  493. package/lib/icon/src/styles/index.cssr.js +0 -1
  494. package/lib/image/index.d.ts +3 -1
  495. package/lib/image/index.js +4 -1
  496. package/lib/image/src/Image.d.ts +133 -23
  497. package/lib/image/src/Image.js +43 -23
  498. package/lib/image/src/ImageGroup.d.ts +200 -35
  499. package/lib/image/src/ImageGroup.js +111 -26
  500. package/lib/image/src/ImagePreview.d.ts +258 -23
  501. package/lib/image/src/ImagePreview.js +60 -33
  502. package/lib/image/src/interface.d.ts +42 -3
  503. package/lib/image/src/public-types.d.ts +14 -0
  504. package/lib/image/styles/light.d.ts +14 -1
  505. package/lib/input/src/Input.d.ts +146 -12
  506. package/lib/input/src/Input.js +24 -12
  507. package/lib/input/src/InputGroupLabel.d.ts +129 -22
  508. package/lib/input/src/InputGroupLabel.js +8 -6
  509. package/lib/input/styles/dark.d.ts +139 -2
  510. package/lib/input/styles/dark.js +35 -29
  511. package/lib/input/styles/light.d.ts +76 -3
  512. package/lib/input/styles/light.js +7 -2
  513. package/lib/input-number/src/InputNumber.d.ts +152 -11
  514. package/lib/input-number/styles/light.d.ts +14 -1
  515. package/lib/input-otp/src/InputOtp.d.ts +158 -12
  516. package/lib/input-otp/src/InputOtp.js +12 -16
  517. package/lib/input-otp/src/public-types.d.ts +1 -0
  518. package/lib/input-otp/src/styles/index.cssr.js +11 -2
  519. package/lib/input-otp/styles/dark.js +1 -1
  520. package/lib/input-otp/styles/light.d.ts +14 -1
  521. package/lib/layout/src/LayoutSider.d.ts +1 -1
  522. package/lib/legacy-transfer/src/Transfer.d.ts +154 -13
  523. package/lib/legacy-transfer/src/TransferFilter.d.ts +52 -4
  524. package/lib/legacy-transfer/src/TransferList.d.ts +52 -4
  525. package/lib/legacy-transfer/src/TransferListItem.d.ts +52 -4
  526. package/lib/legacy-transfer/styles/light.d.ts +14 -1
  527. package/lib/locales/common/arDZ.js +6 -0
  528. package/lib/locales/common/azAZ.js +6 -0
  529. package/lib/locales/common/csCZ.js +6 -0
  530. package/lib/locales/common/daDK.d.ts +3 -0
  531. package/lib/locales/common/daDK.js +132 -0
  532. package/lib/locales/common/deDE.js +6 -0
  533. package/lib/locales/common/enGB.js +6 -0
  534. package/lib/locales/common/enUS.d.ts +6 -0
  535. package/lib/locales/common/enUS.js +6 -0
  536. package/lib/locales/common/eo.js +6 -0
  537. package/lib/locales/common/esAR.js +6 -0
  538. package/lib/locales/common/etEE.js +6 -0
  539. package/lib/locales/common/faIR.js +6 -0
  540. package/lib/locales/common/frFR.js +6 -0
  541. package/lib/locales/common/idID.js +6 -0
  542. package/lib/locales/common/itIT.js +6 -0
  543. package/lib/locales/common/jaJP.js +6 -0
  544. package/lib/locales/common/kmKH.js +6 -0
  545. package/lib/locales/common/koKR.js +6 -0
  546. package/lib/locales/common/nbNO.js +6 -0
  547. package/lib/locales/common/nlNL.js +6 -0
  548. package/lib/locales/common/plPL.js +6 -0
  549. package/lib/locales/common/ptBR.js +6 -0
  550. package/lib/locales/common/ruRU.js +6 -0
  551. package/lib/locales/common/skSK.js +6 -0
  552. package/lib/locales/common/svSE.js +8 -2
  553. package/lib/locales/common/thTH.js +6 -0
  554. package/lib/locales/common/trTR.js +6 -0
  555. package/lib/locales/common/ugCN.js +6 -0
  556. package/lib/locales/common/ukUA.js +6 -0
  557. package/lib/locales/common/uzUZ.js +6 -0
  558. package/lib/locales/common/viVN.js +6 -0
  559. package/lib/locales/common/zhCN.js +6 -0
  560. package/lib/locales/common/zhTW.js +6 -0
  561. package/lib/locales/date/daDK.d.ts +3 -0
  562. package/lib/locales/date/daDK.js +8 -0
  563. package/lib/locales/index.d.ts +2 -0
  564. package/lib/locales/index.js +6 -2
  565. package/lib/log/src/Log.d.ts +1 -1
  566. package/lib/marquee/src/Marquee.js +4 -3
  567. package/lib/mention/src/Mention.d.ts +155 -14
  568. package/lib/mention/styles/light.d.ts +14 -1
  569. package/lib/menu/src/Menu.d.ts +314 -28
  570. package/lib/menu/src/MenuOption.d.ts +113 -9
  571. package/lib/menu/src/MenuOption.js +6 -4
  572. package/lib/menu/src/MenuOptionContent.d.ts +1 -1
  573. package/lib/menu/src/MenuOptionGroup.d.ts +1 -1
  574. package/lib/menu/src/MenuOptionGroup.js +8 -2
  575. package/lib/menu/src/Submenu.d.ts +114 -10
  576. package/lib/menu/src/use-menu-child.d.ts +2 -0
  577. package/lib/menu/src/use-menu-child.js +2 -1
  578. package/lib/menu/styles/light.d.ts +28 -2
  579. package/lib/message/src/Message.d.ts +1 -0
  580. package/lib/message/src/Message.js +3 -2
  581. package/lib/message/src/MessageProvider.d.ts +10 -1
  582. package/lib/message/src/styles/index.cssr.js +1 -0
  583. package/lib/message/styles/light.d.ts +1 -0
  584. package/lib/message/styles/light.js +1 -1
  585. package/lib/modal/src/BodyWrapper.d.ts +10 -4
  586. package/lib/modal/src/BodyWrapper.js +7 -3
  587. package/lib/modal/src/Modal.d.ts +28 -11
  588. package/lib/modal/src/Modal.js +10 -4
  589. package/lib/modal/src/ModalEnvironment.d.ts +22 -10
  590. package/lib/modal/src/ModalEnvironment.js +18 -8
  591. package/lib/modal/src/ModalProvider.d.ts +2 -1
  592. package/lib/modal/src/ModalProvider.js +4 -2
  593. package/lib/modal/src/presetProps.d.ts +2 -1
  594. package/lib/modal/src/styles/index.cssr.js +3 -1
  595. package/lib/notification/src/Notification.d.ts +2 -2
  596. package/lib/notification/src/NotificationEnvironment.d.ts +1 -1
  597. package/lib/notification/src/NotificationProvider.d.ts +5 -5
  598. package/lib/pagination/src/Pagination.d.ts +460 -33
  599. package/lib/pagination/styles/light.d.ts +42 -3
  600. package/lib/popconfirm/src/Popconfirm.d.ts +159 -18
  601. package/lib/popconfirm/src/Popconfirm.js +20 -15
  602. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  603. package/lib/popconfirm/styles/light.d.ts +14 -1
  604. package/lib/popover/src/Popover.d.ts +133 -16
  605. package/lib/popover/src/Popover.js +17 -7
  606. package/lib/popover/src/PopoverBody.d.ts +129 -12
  607. package/lib/popover/src/PopoverBody.js +5 -2
  608. package/lib/popover/src/styles/rtl.cssr.d.ts +2 -0
  609. package/lib/popover/src/styles/rtl.cssr.js +10 -0
  610. package/lib/popover/styles/dark.js +4 -0
  611. package/lib/popover/styles/index.d.ts +1 -0
  612. package/lib/popover/styles/index.js +3 -1
  613. package/lib/popover/styles/light.d.ts +27 -2
  614. package/lib/popover/styles/light.js +7 -2
  615. package/lib/popover/styles/rtl.d.ts +2 -0
  616. package/lib/popover/styles/rtl.js +13 -0
  617. package/lib/popselect/src/Popselect.d.ts +213 -72
  618. package/lib/popselect/src/Popselect.js +17 -7
  619. package/lib/popselect/src/PopselectPanel.d.ts +55 -7
  620. package/lib/popselect/styles/light.d.ts +14 -1
  621. package/lib/preset.js +17 -7
  622. package/lib/progress/src/Circle.d.ts +1 -1
  623. package/lib/progress/src/Circle.js +11 -2
  624. package/lib/progress/src/Progress.d.ts +1 -1
  625. package/lib/radio/src/Radio.js +2 -2
  626. package/lib/radio/src/RadioButton.d.ts +2 -2
  627. package/lib/radio/src/styles/radio.cssr.js +3 -7
  628. package/lib/rate/src/Rate.d.ts +1 -1
  629. package/lib/result/src/Result.d.ts +1 -1
  630. package/lib/select/src/Select.d.ts +164 -21
  631. package/lib/select/styles/light.d.ts +14 -1
  632. package/lib/styles.d.ts +3 -3
  633. package/lib/styles.js +5 -2
  634. package/lib/tabs/src/Tab.d.ts +3 -3
  635. package/lib/tabs/src/Tabs.d.ts +1 -1
  636. package/lib/tabs/src/styles/index.cssr.js +4 -4
  637. package/lib/tag/src/Tag.d.ts +1 -1
  638. package/lib/themes/dark.js +103 -101
  639. package/lib/themes/light.js +102 -100
  640. package/lib/time-picker/src/Panel.d.ts +59 -11
  641. package/lib/time-picker/src/TimePicker.d.ts +156 -15
  642. package/lib/time-picker/styles/light.d.ts +14 -1
  643. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  644. package/lib/tooltip/src/Tooltip.d.ts +159 -18
  645. package/lib/tooltip/styles/light.d.ts +14 -1
  646. package/lib/transfer/src/Transfer.d.ts +154 -13
  647. package/lib/transfer/src/TransferFilter.d.ts +52 -4
  648. package/lib/transfer/src/TransferList.d.ts +52 -4
  649. package/lib/transfer/src/TransferListItem.d.ts +52 -4
  650. package/lib/transfer/styles/light.d.ts +14 -1
  651. package/lib/tree/src/Tree.d.ts +42 -38
  652. package/lib/tree/src/Tree.js +4 -3
  653. package/lib/tree/src/TreeNode.d.ts +2 -2
  654. package/lib/tree/src/TreeNodeContent.d.ts +3 -3
  655. package/lib/tree/src/styles/index.cssr.js +7 -2
  656. package/lib/tree-select/src/TreeSelect.d.ts +169 -26
  657. package/lib/tree-select/styles/index.d.ts +1 -0
  658. package/lib/tree-select/styles/index.js +3 -1
  659. package/lib/tree-select/styles/light.d.ts +14 -1
  660. package/lib/tree-select/styles/rtl.d.ts +2 -0
  661. package/lib/tree-select/styles/rtl.js +20 -0
  662. package/lib/typography/src/create-header.d.ts +1 -1
  663. package/lib/typography/src/headers.d.ts +6 -6
  664. package/lib/upload/src/Upload.d.ts +1 -0
  665. package/lib/upload/src/Upload.js +4 -3
  666. package/lib/upload/src/UploadFile.d.ts +4 -2
  667. package/lib/upload/src/UploadFile.js +1 -1
  668. package/lib/upload/src/icons.d.ts +2 -2
  669. package/lib/upload/src/icons.js +12 -7
  670. package/lib/upload/src/styles/rtl.cssr.d.ts +2 -0
  671. package/lib/upload/src/styles/rtl.cssr.js +10 -0
  672. package/lib/upload/styles/index.d.ts +1 -0
  673. package/lib/upload/styles/index.js +3 -1
  674. package/lib/upload/styles/rtl.d.ts +2 -0
  675. package/lib/upload/styles/rtl.js +11 -0
  676. package/lib/version.d.ts +1 -1
  677. package/lib/version.js +1 -1
  678. package/lib/virtual-list/src/VirtualList.d.ts +1 -1
  679. package/package.json +30 -19
  680. package/volar.d.ts +24 -22
  681. package/web-types.json +599 -61
  682. package/es/avatar-group/src/interface.d.ts +0 -8
  683. package/lib/avatar-group/src/interface.d.ts +0 -8
  684. /package/es/{avatar-group/src/interface.mjs → _utils/ts/ts.mjs} +0 -0
  685. /package/lib/{avatar-group/src/interface.js → _utils/ts/ts.js} +0 -0
@@ -609,7 +609,20 @@ export declare const dataTableProps: {
609
609
  arrowOffsetVertical: string;
610
610
  arrowHeight: string;
611
611
  padding: string;
612
- }, any>;
612
+ }, {
613
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
614
+ height: string;
615
+ width: string;
616
+ borderRadius: string;
617
+ color: string;
618
+ colorHover: string;
619
+ railInsetHorizontalBottom: string;
620
+ railInsetHorizontalTop: string;
621
+ railInsetVerticalRight: string;
622
+ railInsetVerticalLeft: string;
623
+ railColor: string;
624
+ }, any>;
625
+ }>;
613
626
  }>;
614
627
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
615
628
  optionFontSizeTiny: string;
@@ -740,7 +753,20 @@ export declare const dataTableProps: {
740
753
  paddingMedium: string;
741
754
  paddingLarge: string;
742
755
  clearSize: string;
743
- }, any>;
756
+ }, {
757
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
758
+ height: string;
759
+ width: string;
760
+ borderRadius: string;
761
+ color: string;
762
+ colorHover: string;
763
+ railInsetHorizontalBottom: string;
764
+ railInsetHorizontalTop: string;
765
+ railInsetVerticalRight: string;
766
+ railInsetVerticalLeft: string;
767
+ railColor: string;
768
+ }, any>;
769
+ }>;
744
770
  Popselect: import("../../_mixins").Theme<"Popselect", {
745
771
  menuBoxShadow: string;
746
772
  }, {
@@ -757,7 +783,20 @@ export declare const dataTableProps: {
757
783
  arrowOffsetVertical: string;
758
784
  arrowHeight: string;
759
785
  padding: string;
760
- }, any>;
786
+ }, {
787
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
788
+ height: string;
789
+ width: string;
790
+ borderRadius: string;
791
+ color: string;
792
+ colorHover: string;
793
+ railInsetHorizontalBottom: string;
794
+ railInsetHorizontalTop: string;
795
+ railInsetVerticalRight: string;
796
+ railInsetVerticalLeft: string;
797
+ railColor: string;
798
+ }, any>;
799
+ }>;
761
800
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
762
801
  optionFontSizeTiny: string;
763
802
  optionFontSizeSmall: string;
@@ -867,7 +906,20 @@ export declare const dataTableProps: {
867
906
  arrowOffsetVertical: string;
868
907
  arrowHeight: string;
869
908
  padding: string;
870
- }, any>;
909
+ }, {
910
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
911
+ height: string;
912
+ width: string;
913
+ borderRadius: string;
914
+ color: string;
915
+ colorHover: string;
916
+ railInsetHorizontalBottom: string;
917
+ railInsetHorizontalTop: string;
918
+ railInsetVerticalRight: string;
919
+ railInsetVerticalLeft: string;
920
+ railColor: string;
921
+ }, any>;
922
+ }>;
871
923
  Ellipsis: import("../../_mixins").Theme<"Ellipsis", unknown, {
872
924
  Tooltip: import("../../_mixins").Theme<"Tooltip", {
873
925
  borderRadius: string;
@@ -889,7 +941,20 @@ export declare const dataTableProps: {
889
941
  arrowOffsetVertical: string;
890
942
  arrowHeight: string;
891
943
  padding: string;
892
- }, any>;
944
+ }, {
945
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
946
+ height: string;
947
+ width: string;
948
+ borderRadius: string;
949
+ color: string;
950
+ colorHover: string;
951
+ railInsetHorizontalBottom: string;
952
+ railInsetHorizontalTop: string;
953
+ railInsetVerticalRight: string;
954
+ railInsetVerticalLeft: string;
955
+ railColor: string;
956
+ }, any>;
957
+ }>;
893
958
  }>;
894
959
  }>;
895
960
  Dropdown: import("../../_mixins").Theme<"Dropdown", {
@@ -960,7 +1025,20 @@ export declare const dataTableProps: {
960
1025
  arrowOffsetVertical: string;
961
1026
  arrowHeight: string;
962
1027
  padding: string;
963
- }, any>;
1028
+ }, {
1029
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1030
+ height: string;
1031
+ width: string;
1032
+ borderRadius: string;
1033
+ color: string;
1034
+ colorHover: string;
1035
+ railInsetHorizontalBottom: string;
1036
+ railInsetHorizontalTop: string;
1037
+ railInsetVerticalRight: string;
1038
+ railInsetVerticalLeft: string;
1039
+ railColor: string;
1040
+ }, any>;
1041
+ }>;
964
1042
  }>;
965
1043
  }>>;
966
1044
  readonly themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"DataTable", {
@@ -1436,7 +1514,20 @@ export declare const dataTableProps: {
1436
1514
  arrowOffsetVertical: string;
1437
1515
  arrowHeight: string;
1438
1516
  padding: string;
1439
- }, any>;
1517
+ }, {
1518
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1519
+ height: string;
1520
+ width: string;
1521
+ borderRadius: string;
1522
+ color: string;
1523
+ colorHover: string;
1524
+ railInsetHorizontalBottom: string;
1525
+ railInsetHorizontalTop: string;
1526
+ railInsetVerticalRight: string;
1527
+ railInsetVerticalLeft: string;
1528
+ railColor: string;
1529
+ }, any>;
1530
+ }>;
1440
1531
  }>;
1441
1532
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
1442
1533
  optionFontSizeTiny: string;
@@ -1567,7 +1658,20 @@ export declare const dataTableProps: {
1567
1658
  paddingMedium: string;
1568
1659
  paddingLarge: string;
1569
1660
  clearSize: string;
1570
- }, any>;
1661
+ }, {
1662
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1663
+ height: string;
1664
+ width: string;
1665
+ borderRadius: string;
1666
+ color: string;
1667
+ colorHover: string;
1668
+ railInsetHorizontalBottom: string;
1669
+ railInsetHorizontalTop: string;
1670
+ railInsetVerticalRight: string;
1671
+ railInsetVerticalLeft: string;
1672
+ railColor: string;
1673
+ }, any>;
1674
+ }>;
1571
1675
  Popselect: import("../../_mixins").Theme<"Popselect", {
1572
1676
  menuBoxShadow: string;
1573
1677
  }, {
@@ -1584,7 +1688,20 @@ export declare const dataTableProps: {
1584
1688
  arrowOffsetVertical: string;
1585
1689
  arrowHeight: string;
1586
1690
  padding: string;
1587
- }, any>;
1691
+ }, {
1692
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1693
+ height: string;
1694
+ width: string;
1695
+ borderRadius: string;
1696
+ color: string;
1697
+ colorHover: string;
1698
+ railInsetHorizontalBottom: string;
1699
+ railInsetHorizontalTop: string;
1700
+ railInsetVerticalRight: string;
1701
+ railInsetVerticalLeft: string;
1702
+ railColor: string;
1703
+ }, any>;
1704
+ }>;
1588
1705
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
1589
1706
  optionFontSizeTiny: string;
1590
1707
  optionFontSizeSmall: string;
@@ -1694,7 +1811,20 @@ export declare const dataTableProps: {
1694
1811
  arrowOffsetVertical: string;
1695
1812
  arrowHeight: string;
1696
1813
  padding: string;
1697
- }, any>;
1814
+ }, {
1815
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1816
+ height: string;
1817
+ width: string;
1818
+ borderRadius: string;
1819
+ color: string;
1820
+ colorHover: string;
1821
+ railInsetHorizontalBottom: string;
1822
+ railInsetHorizontalTop: string;
1823
+ railInsetVerticalRight: string;
1824
+ railInsetVerticalLeft: string;
1825
+ railColor: string;
1826
+ }, any>;
1827
+ }>;
1698
1828
  Ellipsis: import("../../_mixins").Theme<"Ellipsis", unknown, {
1699
1829
  Tooltip: import("../../_mixins").Theme<"Tooltip", {
1700
1830
  borderRadius: string;
@@ -1716,7 +1846,20 @@ export declare const dataTableProps: {
1716
1846
  arrowOffsetVertical: string;
1717
1847
  arrowHeight: string;
1718
1848
  padding: string;
1719
- }, any>;
1849
+ }, {
1850
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1851
+ height: string;
1852
+ width: string;
1853
+ borderRadius: string;
1854
+ color: string;
1855
+ colorHover: string;
1856
+ railInsetHorizontalBottom: string;
1857
+ railInsetHorizontalTop: string;
1858
+ railInsetVerticalRight: string;
1859
+ railInsetVerticalLeft: string;
1860
+ railColor: string;
1861
+ }, any>;
1862
+ }>;
1720
1863
  }>;
1721
1864
  }>;
1722
1865
  Dropdown: import("../../_mixins").Theme<"Dropdown", {
@@ -1787,7 +1930,20 @@ export declare const dataTableProps: {
1787
1930
  arrowOffsetVertical: string;
1788
1931
  arrowHeight: string;
1789
1932
  padding: string;
1790
- }, any>;
1933
+ }, {
1934
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
1935
+ height: string;
1936
+ width: string;
1937
+ borderRadius: string;
1938
+ color: string;
1939
+ colorHover: string;
1940
+ railInsetHorizontalBottom: string;
1941
+ railInsetHorizontalTop: string;
1942
+ railInsetVerticalRight: string;
1943
+ railInsetVerticalLeft: string;
1944
+ railColor: string;
1945
+ }, any>;
1946
+ }>;
1791
1947
  }>;
1792
1948
  }>>>;
1793
1949
  readonly builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"DataTable", {
@@ -2263,7 +2419,20 @@ export declare const dataTableProps: {
2263
2419
  arrowOffsetVertical: string;
2264
2420
  arrowHeight: string;
2265
2421
  padding: string;
2266
- }, any>;
2422
+ }, {
2423
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
2424
+ height: string;
2425
+ width: string;
2426
+ borderRadius: string;
2427
+ color: string;
2428
+ colorHover: string;
2429
+ railInsetHorizontalBottom: string;
2430
+ railInsetHorizontalTop: string;
2431
+ railInsetVerticalRight: string;
2432
+ railInsetVerticalLeft: string;
2433
+ railColor: string;
2434
+ }, any>;
2435
+ }>;
2267
2436
  }>;
2268
2437
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
2269
2438
  optionFontSizeTiny: string;
@@ -2394,7 +2563,20 @@ export declare const dataTableProps: {
2394
2563
  paddingMedium: string;
2395
2564
  paddingLarge: string;
2396
2565
  clearSize: string;
2397
- }, any>;
2566
+ }, {
2567
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
2568
+ height: string;
2569
+ width: string;
2570
+ borderRadius: string;
2571
+ color: string;
2572
+ colorHover: string;
2573
+ railInsetHorizontalBottom: string;
2574
+ railInsetHorizontalTop: string;
2575
+ railInsetVerticalRight: string;
2576
+ railInsetVerticalLeft: string;
2577
+ railColor: string;
2578
+ }, any>;
2579
+ }>;
2398
2580
  Popselect: import("../../_mixins").Theme<"Popselect", {
2399
2581
  menuBoxShadow: string;
2400
2582
  }, {
@@ -2411,7 +2593,20 @@ export declare const dataTableProps: {
2411
2593
  arrowOffsetVertical: string;
2412
2594
  arrowHeight: string;
2413
2595
  padding: string;
2414
- }, any>;
2596
+ }, {
2597
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
2598
+ height: string;
2599
+ width: string;
2600
+ borderRadius: string;
2601
+ color: string;
2602
+ colorHover: string;
2603
+ railInsetHorizontalBottom: string;
2604
+ railInsetHorizontalTop: string;
2605
+ railInsetVerticalRight: string;
2606
+ railInsetVerticalLeft: string;
2607
+ railColor: string;
2608
+ }, any>;
2609
+ }>;
2415
2610
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
2416
2611
  optionFontSizeTiny: string;
2417
2612
  optionFontSizeSmall: string;
@@ -2521,7 +2716,20 @@ export declare const dataTableProps: {
2521
2716
  arrowOffsetVertical: string;
2522
2717
  arrowHeight: string;
2523
2718
  padding: string;
2524
- }, any>;
2719
+ }, {
2720
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
2721
+ height: string;
2722
+ width: string;
2723
+ borderRadius: string;
2724
+ color: string;
2725
+ colorHover: string;
2726
+ railInsetHorizontalBottom: string;
2727
+ railInsetHorizontalTop: string;
2728
+ railInsetVerticalRight: string;
2729
+ railInsetVerticalLeft: string;
2730
+ railColor: string;
2731
+ }, any>;
2732
+ }>;
2525
2733
  Ellipsis: import("../../_mixins").Theme<"Ellipsis", unknown, {
2526
2734
  Tooltip: import("../../_mixins").Theme<"Tooltip", {
2527
2735
  borderRadius: string;
@@ -2543,7 +2751,20 @@ export declare const dataTableProps: {
2543
2751
  arrowOffsetVertical: string;
2544
2752
  arrowHeight: string;
2545
2753
  padding: string;
2546
- }, any>;
2754
+ }, {
2755
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
2756
+ height: string;
2757
+ width: string;
2758
+ borderRadius: string;
2759
+ color: string;
2760
+ colorHover: string;
2761
+ railInsetHorizontalBottom: string;
2762
+ railInsetHorizontalTop: string;
2763
+ railInsetVerticalRight: string;
2764
+ railInsetVerticalLeft: string;
2765
+ railColor: string;
2766
+ }, any>;
2767
+ }>;
2547
2768
  }>;
2548
2769
  }>;
2549
2770
  Dropdown: import("../../_mixins").Theme<"Dropdown", {
@@ -2614,7 +2835,20 @@ export declare const dataTableProps: {
2614
2835
  arrowOffsetVertical: string;
2615
2836
  arrowHeight: string;
2616
2837
  padding: string;
2617
- }, any>;
2838
+ }, {
2839
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
2840
+ height: string;
2841
+ width: string;
2842
+ borderRadius: string;
2843
+ color: string;
2844
+ colorHover: string;
2845
+ railInsetHorizontalBottom: string;
2846
+ railInsetHorizontalTop: string;
2847
+ railInsetVerticalRight: string;
2848
+ railInsetVerticalLeft: string;
2849
+ railColor: string;
2850
+ }, any>;
2851
+ }>;
2618
2852
  }>;
2619
2853
  }>>>;
2620
2854
  };
@@ -2681,6 +2915,7 @@ export type TableBaseColumn<T = InternalRowData> = {
2681
2915
  sorter?: boolean | Sorter<T> | 'default';
2682
2916
  defaultSortOrder?: SortOrder;
2683
2917
  sortOrder?: SortOrder;
2918
+ customNextSortOrder?: (order: SortOrder) => SortOrder;
2684
2919
  resizable?: boolean;
2685
2920
  minWidth?: string | number;
2686
2921
  maxWidth?: string | number;
@@ -1,4 +1,4 @@
1
- import type { ColumnKey, CompareFn, DataTableSetupProps, InternalRowData, SortOrder, SortState, TableBaseColumn, TableExpandColumn, TableSelectionColumn, TmNode } from './interface';
1
+ import type { ColumnKey, DataTableSetupProps, InternalRowData, SortOrder, SortState, TableBaseColumn, TableExpandColumn, TableSelectionColumn, TmNode } from './interface';
2
2
  import { type ComputedRef } from 'vue';
3
3
  export declare function useSorter(props: DataTableSetupProps, { dataRelatedColsRef, filteredDataRef }: {
4
4
  dataRelatedColsRef: ComputedRef<Array<TableSelectionColumn | TableBaseColumn | TableExpandColumn>>;
@@ -10,10 +10,7 @@ export declare function useSorter(props: DataTableSetupProps, { dataRelatedColsR
10
10
  mergedSortStateRef: ComputedRef<{
11
11
  columnKey: ColumnKey;
12
12
  order: SortOrder;
13
- sorter: boolean | "default" | CompareFn<InternalRowData> | {
14
- multiple: number;
15
- compare?: "default" | CompareFn<InternalRowData> | undefined;
16
- };
13
+ sorter: boolean | "default" | import("./interface").Sorter<InternalRowData>;
17
14
  }[]>;
18
15
  deriveNextSorter: (sortState: SortState | null) => void;
19
16
  };
@@ -13,10 +13,7 @@ export declare function useTableData(props: DataTableSetupProps, { dataRelatedCo
13
13
  mergedSortStateRef: ComputedRef<{
14
14
  columnKey: ColumnKey;
15
15
  order: import("./interface").SortOrder;
16
- sorter: boolean | "default" | import("./interface").CompareFn<InternalRowData> | {
17
- multiple: number;
18
- compare?: "default" | import("./interface").CompareFn<InternalRowData> | undefined;
19
- };
16
+ sorter: boolean | "default" | import("./interface").Sorter<InternalRowData>;
20
17
  }[]>;
21
18
  hoverKeyRef: import("vue").Ref<RowKey | null, RowKey | null>;
22
19
  selectionColumnRef: ComputedRef<TableSelectionColumn | null>;
@@ -133,6 +133,7 @@ function getNextOrderOf(order) {
133
133
  function createNextSorter(column, currentSortState) {
134
134
  if (column.sorter === undefined)
135
135
  return null;
136
+ const { customNextSortOrder } = column;
136
137
  if (currentSortState === null || currentSortState.columnKey !== column.key) {
137
138
  return {
138
139
  columnKey: column.key,
@@ -141,7 +142,7 @@ function createNextSorter(column, currentSortState) {
141
142
  };
142
143
  }
143
144
  else {
144
- return Object.assign(Object.assign({}, currentSortState), { order: getNextOrderOf(currentSortState.order) });
145
+ return Object.assign(Object.assign({}, currentSortState), { order: (customNextSortOrder || getNextOrderOf)(currentSortState.order) });
145
146
  }
146
147
  }
147
148
  function isColumnSorting(column, mergedSortState) {
@@ -530,7 +530,20 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
530
530
  arrowOffsetVertical: string;
531
531
  arrowHeight: string;
532
532
  padding: string;
533
- }, any>;
533
+ }, {
534
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
535
+ height: string;
536
+ width: string;
537
+ borderRadius: string;
538
+ color: string;
539
+ colorHover: string;
540
+ railInsetHorizontalBottom: string;
541
+ railInsetHorizontalTop: string;
542
+ railInsetVerticalRight: string;
543
+ railInsetVerticalLeft: string;
544
+ railColor: string;
545
+ }, any>;
546
+ }>;
534
547
  }>;
535
548
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
536
549
  optionFontSizeTiny: string;
@@ -661,7 +674,20 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
661
674
  paddingMedium: string;
662
675
  paddingLarge: string;
663
676
  clearSize: string;
664
- }, any>;
677
+ }, {
678
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
679
+ height: string;
680
+ width: string;
681
+ borderRadius: string;
682
+ color: string;
683
+ colorHover: string;
684
+ railInsetHorizontalBottom: string;
685
+ railInsetHorizontalTop: string;
686
+ railInsetVerticalRight: string;
687
+ railInsetVerticalLeft: string;
688
+ railColor: string;
689
+ }, any>;
690
+ }>;
665
691
  Popselect: import("../../_mixins").Theme<"Popselect", {
666
692
  menuBoxShadow: string;
667
693
  }, {
@@ -678,7 +704,20 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
678
704
  arrowOffsetVertical: string;
679
705
  arrowHeight: string;
680
706
  padding: string;
681
- }, any>;
707
+ }, {
708
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
709
+ height: string;
710
+ width: string;
711
+ borderRadius: string;
712
+ color: string;
713
+ colorHover: string;
714
+ railInsetHorizontalBottom: string;
715
+ railInsetHorizontalTop: string;
716
+ railInsetVerticalRight: string;
717
+ railInsetVerticalLeft: string;
718
+ railColor: string;
719
+ }, any>;
720
+ }>;
682
721
  InternalSelectMenu: import("../../_mixins").Theme<"InternalSelectMenu", {
683
722
  optionFontSizeTiny: string;
684
723
  optionFontSizeSmall: string;
@@ -788,7 +827,20 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
788
827
  arrowOffsetVertical: string;
789
828
  arrowHeight: string;
790
829
  padding: string;
791
- }, any>;
830
+ }, {
831
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
832
+ height: string;
833
+ width: string;
834
+ borderRadius: string;
835
+ color: string;
836
+ colorHover: string;
837
+ railInsetHorizontalBottom: string;
838
+ railInsetHorizontalTop: string;
839
+ railInsetVerticalRight: string;
840
+ railInsetVerticalLeft: string;
841
+ railColor: string;
842
+ }, any>;
843
+ }>;
792
844
  Ellipsis: import("../../_mixins").Theme<"Ellipsis", unknown, {
793
845
  Tooltip: import("../../_mixins").Theme<"Tooltip", {
794
846
  borderRadius: string;
@@ -810,7 +862,20 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
810
862
  arrowOffsetVertical: string;
811
863
  arrowHeight: string;
812
864
  padding: string;
813
- }, any>;
865
+ }, {
866
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
867
+ height: string;
868
+ width: string;
869
+ borderRadius: string;
870
+ color: string;
871
+ colorHover: string;
872
+ railInsetHorizontalBottom: string;
873
+ railInsetHorizontalTop: string;
874
+ railInsetVerticalRight: string;
875
+ railInsetVerticalLeft: string;
876
+ railColor: string;
877
+ }, any>;
878
+ }>;
814
879
  }>;
815
880
  }>;
816
881
  Dropdown: import("../../_mixins").Theme<"Dropdown", {
@@ -881,7 +946,20 @@ declare const dataTableLight: import("../../_mixins").Theme<"DataTable", {
881
946
  arrowOffsetVertical: string;
882
947
  arrowHeight: string;
883
948
  padding: string;
884
- }, any>;
949
+ }, {
950
+ Scrollbar: import("../../_mixins").Theme<"Scrollbar", {
951
+ height: string;
952
+ width: string;
953
+ borderRadius: string;
954
+ color: string;
955
+ colorHover: string;
956
+ railInsetHorizontalBottom: string;
957
+ railInsetHorizontalTop: string;
958
+ railInsetVerticalRight: string;
959
+ railInsetVerticalLeft: string;
960
+ railColor: string;
961
+ }, any>;
962
+ }>;
885
963
  }>;
886
964
  }>;
887
965
  export default dataTableLight;