naive-ui 2.34.3 → 2.35.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 (1254) hide show
  1. package/README.md +3 -2
  2. package/README.zh-CN.md +4 -2
  3. package/dist/index.js +6208 -8623
  4. package/dist/index.prod.js +2 -3
  5. package/es/_internal/clear/src/Clear.d.ts +2 -2
  6. package/es/_internal/clear/src/Clear.js +2 -0
  7. package/es/_internal/close/src/Close.d.ts +2 -2
  8. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
  9. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
  10. package/es/_internal/focus-detector/src/FocusDetector.d.ts +2 -2
  11. package/es/_internal/icon/src/Icon.d.ts +2 -2
  12. package/es/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  13. package/es/_internal/icons/Add.d.ts +1 -1
  14. package/es/_internal/icons/ArrowBack.d.ts +1 -1
  15. package/es/_internal/icons/ArrowDown.d.ts +1 -1
  16. package/es/_internal/icons/ArrowUp.d.ts +1 -1
  17. package/es/_internal/icons/Attach.d.ts +1 -1
  18. package/es/_internal/icons/Backward.d.ts +1 -1
  19. package/es/_internal/icons/Cancel.d.ts +1 -1
  20. package/es/_internal/icons/Checkmark.d.ts +1 -1
  21. package/es/_internal/icons/ChevronDown.d.ts +1 -1
  22. package/es/_internal/icons/ChevronDownFilled.d.ts +1 -1
  23. package/es/_internal/icons/ChevronLeft.d.ts +1 -1
  24. package/es/_internal/icons/ChevronRight.d.ts +1 -1
  25. package/es/_internal/icons/Clear.d.ts +1 -1
  26. package/es/_internal/icons/Close.d.ts +1 -1
  27. package/es/_internal/icons/Date.d.ts +1 -1
  28. package/es/_internal/icons/Download.d.ts +1 -1
  29. package/es/_internal/icons/Empty.d.ts +1 -1
  30. package/es/_internal/icons/Error.d.ts +1 -1
  31. package/es/_internal/icons/Eye.d.ts +1 -1
  32. package/es/_internal/icons/EyeOff.d.ts +1 -1
  33. package/es/_internal/icons/FastBackward.d.ts +1 -1
  34. package/es/_internal/icons/FastForward.d.ts +1 -1
  35. package/es/_internal/icons/File.d.ts +1 -1
  36. package/es/_internal/icons/Filter.d.ts +1 -1
  37. package/es/_internal/icons/Forward.d.ts +1 -1
  38. package/es/_internal/icons/Info.d.ts +1 -1
  39. package/es/_internal/icons/More.d.ts +1 -1
  40. package/es/_internal/icons/Photo.d.ts +1 -1
  41. package/es/_internal/icons/Remove.d.ts +1 -1
  42. package/es/_internal/icons/ResizeSmall.d.ts +1 -1
  43. package/es/_internal/icons/Retry.d.ts +1 -1
  44. package/es/_internal/icons/RotateClockwise.d.ts +1 -1
  45. package/es/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  46. package/es/_internal/icons/Search.d.ts +1 -1
  47. package/es/_internal/icons/Success.d.ts +1 -1
  48. package/es/_internal/icons/Switcher.d.ts +1 -1
  49. package/es/_internal/icons/Time.d.ts +1 -1
  50. package/es/_internal/icons/To.d.ts +1 -1
  51. package/es/_internal/icons/Trash.d.ts +1 -1
  52. package/es/_internal/icons/Warning.d.ts +1 -1
  53. package/es/_internal/icons/ZoomIn.d.ts +1 -1
  54. package/es/_internal/icons/ZoomOut.d.ts +1 -1
  55. package/es/_internal/icons/replaceable.d.ts +1 -1
  56. package/es/_internal/loading/src/Loading.d.ts +2 -2
  57. package/es/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  58. package/es/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  59. package/es/_internal/scrollbar/src/Scrollbar.js +4 -4
  60. package/es/_internal/scrollbar/src/styles/index.cssr.js +1 -0
  61. package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
  62. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +4 -4
  63. package/es/_internal/select-menu/src/SelectMenu.d.ts +3 -3
  64. package/es/_internal/select-menu/src/SelectMenu.js +1 -1
  65. package/es/_internal/select-menu/src/SelectOption.d.ts +4 -4
  66. package/es/_internal/select-menu/src/interface.d.ts +2 -2
  67. package/es/_internal/selection/src/Selection.d.ts +3 -2
  68. package/es/_internal/selection/src/Selection.js +13 -5
  69. package/es/_internal/selection/src/interface.d.ts +1 -1
  70. package/es/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
  71. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +2 -2
  72. package/es/_internal/suffix/src/Suffix.d.ts +2 -2
  73. package/es/_internal/wave/src/Wave.d.ts +1 -1
  74. package/es/_mixins/use-config.d.ts +3 -2
  75. package/es/_mixins/use-config.js +10 -5
  76. package/es/_mixins/use-css-vars-class.d.ts +1 -1
  77. package/es/_mixins/use-form-item.d.ts +2 -2
  78. package/es/_mixins/use-hljs.d.ts +1 -1
  79. package/es/_mixins/use-locale.d.ts +1 -1
  80. package/es/_mixins/use-rtl.d.ts +2 -2
  81. package/es/_mixins/use-style.d.ts +3 -3
  82. package/es/_mixins/use-style.js +1 -1
  83. package/es/_mixins/use-theme.d.ts +5 -5
  84. package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
  85. package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
  86. package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
  87. package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
  88. package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
  89. package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
  90. package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
  91. package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
  92. package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
  93. package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
  94. package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
  95. package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
  96. package/es/_utils/composable/use-browser-location.d.ts +1 -1
  97. package/es/_utils/composable/use-browser-location.js +1 -2
  98. package/es/_utils/composable/use-collection.d.ts +1 -1
  99. package/es/_utils/composable/use-deferred-true.d.ts +1 -1
  100. package/es/_utils/composable/use-is-composing.d.ts +1 -1
  101. package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  102. package/es/_utils/composable/use-resize.d.ts +1 -1
  103. package/es/_utils/cssr/index.d.ts +2 -2
  104. package/es/_utils/naive/attribute.d.ts +1 -1
  105. package/es/_utils/naive/extract-public-props.d.ts +2 -2
  106. package/es/_utils/vue/create-injection-key.d.ts +1 -1
  107. package/es/_utils/vue/create-ref-setter.d.ts +1 -1
  108. package/es/_utils/vue/flatten.d.ts +1 -1
  109. package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
  110. package/es/_utils/vue/get-slot.d.ts +1 -1
  111. package/es/_utils/vue/get-v-node-children.d.ts +1 -1
  112. package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
  113. package/es/_utils/vue/keysOf.d.ts +1 -1
  114. package/es/_utils/vue/omit.d.ts +1 -1
  115. package/es/_utils/vue/render.d.ts +1 -1
  116. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  117. package/es/_utils/vue/wrapper.d.ts +1 -1
  118. package/es/affix/src/Affix.d.ts +3 -3
  119. package/es/alert/src/Alert.d.ts +3 -3
  120. package/es/alert/src/Alert.js +4 -0
  121. package/es/alert/src/styles/index.cssr.js +4 -0
  122. package/es/anchor/src/AnchorAdapter.d.ts +1 -1
  123. package/es/anchor/src/BaseAnchor.d.ts +2 -2
  124. package/es/anchor/src/BaseAnchor.js +3 -1
  125. package/es/anchor/src/Link.d.ts +3 -3
  126. package/es/auto-complete/src/AutoComplete.d.ts +8 -9
  127. package/es/auto-complete/src/interface.d.ts +3 -2
  128. package/es/auto-complete/src/utils.d.ts +2 -2
  129. package/es/avatar/src/Avatar.d.ts +4 -4
  130. package/es/avatar-group/src/AvatarGroup.d.ts +4 -4
  131. package/es/avatar-group/styles/light.d.ts +1 -1
  132. package/es/avatar-group/styles/rtl.d.ts +1 -1
  133. package/es/back-top/src/BackTop.d.ts +3 -3
  134. package/es/badge/src/Badge.d.ts +3 -3
  135. package/es/badge/src/Badge.js +1 -1
  136. package/es/badge/styles/light.d.ts +1 -1
  137. package/es/badge/styles/rtl.d.ts +1 -1
  138. package/es/breadcrumb/src/Breadcrumb.d.ts +4 -4
  139. package/es/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
  140. package/es/button/src/Button.d.ts +4 -4
  141. package/es/button/src/Button.js +1 -1
  142. package/es/button/styles/rtl.d.ts +1 -1
  143. package/es/button-group/src/ButtonGroup.d.ts +3 -3
  144. package/es/button-group/src/styles/index.cssr.d.ts +1 -1
  145. package/es/button-group/src/styles/rtl.cssr.d.ts +1 -1
  146. package/es/button-group/styles/rtl.d.ts +1 -1
  147. package/es/calendar/src/Calendar.d.ts +4 -4
  148. package/es/card/src/Card.d.ts +7 -7
  149. package/es/card/styles/light.d.ts +1 -1
  150. package/es/card/styles/rtl.d.ts +1 -1
  151. package/es/carousel/src/Carousel.d.ts +2 -2
  152. package/es/carousel/src/Carousel.js +6 -2
  153. package/es/carousel/src/CarouselArrow.d.ts +2 -2
  154. package/es/carousel/src/CarouselContext.js +3 -1
  155. package/es/carousel/src/CarouselDots.d.ts +2 -2
  156. package/es/carousel/src/CarouselDots.js +7 -1
  157. package/es/carousel/src/CarouselItem.d.ts +2 -2
  158. package/es/carousel/src/CarouselItem.js +4 -3
  159. package/es/carousel/src/interface.d.ts +1 -1
  160. package/es/carousel/src/utils/index.d.ts +1 -1
  161. package/es/carousel/styles/light.d.ts +1 -1
  162. package/es/cascader/src/Cascader.d.ts +13 -12
  163. package/es/cascader/src/CascaderMenu.d.ts +4 -4
  164. package/es/cascader/src/CascaderOption.d.ts +3 -3
  165. package/es/cascader/src/CascaderSelectMenu.d.ts +5 -5
  166. package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
  167. package/es/cascader/src/interface.d.ts +2 -2
  168. package/es/checkbox/src/Checkbox.d.ts +4 -4
  169. package/es/checkbox/src/Checkbox.js +10 -3
  170. package/es/checkbox/src/CheckboxGroup.d.ts +4 -5
  171. package/es/checkbox/src/styles/index.cssr.js +9 -11
  172. package/es/code/src/Code.d.ts +4 -4
  173. package/es/code/styles/light.d.ts +1 -1
  174. package/es/collapse/src/Collapse.d.ts +16 -6
  175. package/es/collapse/src/Collapse.js +2 -1
  176. package/es/collapse/src/CollapseItem.d.ts +3 -3
  177. package/es/collapse/src/CollapseItemContent.d.ts +2 -2
  178. package/es/collapse/src/styles/index.cssr.js +2 -1
  179. package/es/collapse/styles/light.d.ts +2 -1
  180. package/es/collapse/styles/light.js +2 -1
  181. package/es/collapse-transition/src/CollapseTransition.d.ts +3 -3
  182. package/es/collapse-transition/styles/light.d.ts +1 -1
  183. package/es/color-picker/src/AlphaSlider.d.ts +3 -3
  184. package/es/color-picker/src/ColorInput.d.ts +3 -3
  185. package/es/color-picker/src/ColorInputUnit.d.ts +2 -2
  186. package/es/color-picker/src/ColorPicker.d.ts +6 -6
  187. package/es/color-picker/src/ColorPicker.js +6 -2
  188. package/es/color-picker/src/ColorPickerSwatches.d.ts +3 -3
  189. package/es/color-picker/src/ColorPickerSwatches.js +5 -1
  190. package/es/color-picker/src/ColorPickerTrigger.d.ts +3 -3
  191. package/es/color-picker/src/ColorPreview.d.ts +3 -3
  192. package/es/color-picker/src/HueSlider.d.ts +2 -2
  193. package/es/color-picker/src/Pallete.d.ts +3 -3
  194. package/es/color-picker/src/context.d.ts +1 -1
  195. package/es/color-picker/src/interface.d.ts +1 -1
  196. package/es/composables/use-theme-vars.d.ts +1 -1
  197. package/es/config-provider/src/ConfigProvider.d.ts +27 -14
  198. package/es/config-provider/src/ConfigProvider.js +4 -2
  199. package/es/config-provider/src/internal-interface.d.ts +3 -3
  200. package/es/config-provider/src/katex.d.ts +1 -1
  201. package/es/countdown/src/Countdown.d.ts +2 -2
  202. package/es/create.d.ts +1 -1
  203. package/es/data-table/index.d.ts +1 -1
  204. package/es/data-table/src/DataTable.d.ts +4 -4
  205. package/es/data-table/src/DataTable.js +1 -7
  206. package/es/data-table/src/HeaderButton/FilterButton.d.ts +5 -5
  207. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -7
  208. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +3 -3
  209. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +3 -3
  210. package/es/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
  211. package/es/data-table/src/HeaderButton/ResizeButton.js +1 -0
  212. package/es/data-table/src/HeaderButton/SortButton.d.ts +5 -5
  213. package/es/data-table/src/MainTable.d.ts +1 -1
  214. package/es/data-table/src/TableParts/Body.d.ts +5 -6
  215. package/es/data-table/src/TableParts/Body.js +19 -12
  216. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
  217. package/es/data-table/src/TableParts/BodyRadio.d.ts +3 -3
  218. package/es/data-table/src/TableParts/Cell.d.ts +5 -5
  219. package/es/data-table/src/TableParts/Cell.js +5 -1
  220. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +5 -4
  221. package/es/data-table/src/TableParts/ExpandTrigger.js +6 -2
  222. package/es/data-table/src/TableParts/Header.d.ts +2 -4
  223. package/es/data-table/src/TableParts/Header.js +9 -13
  224. package/es/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
  225. package/es/data-table/src/interface.d.ts +11 -9
  226. package/es/data-table/src/styles/index.cssr.d.ts +1 -1
  227. package/es/data-table/src/styles/index.cssr.js +2 -0
  228. package/es/data-table/src/use-check.d.ts +2 -2
  229. package/es/data-table/src/use-expand.d.ts +2 -2
  230. package/es/data-table/src/use-group-header.d.ts +1 -1
  231. package/es/data-table/src/use-scroll.d.ts +2 -3
  232. package/es/data-table/src/use-scroll.js +21 -13
  233. package/es/data-table/src/use-sorter.d.ts +1 -1
  234. package/es/data-table/src/use-table-data.d.ts +2 -2
  235. package/es/data-table/src/utils.d.ts +1 -1
  236. package/es/date-picker/src/DatePicker.d.ts +5 -5
  237. package/es/date-picker/src/interface.d.ts +4 -4
  238. package/es/date-picker/src/panel/date.d.ts +6 -6
  239. package/es/date-picker/src/panel/date.js +3 -1
  240. package/es/date-picker/src/panel/daterange.d.ts +3 -3
  241. package/es/date-picker/src/panel/daterange.js +10 -2
  242. package/es/date-picker/src/panel/datetime.d.ts +3 -3
  243. package/es/date-picker/src/panel/datetime.js +3 -1
  244. package/es/date-picker/src/panel/datetimerange.d.ts +3 -3
  245. package/es/date-picker/src/panel/datetimerange.js +16 -4
  246. package/es/date-picker/src/panel/month.d.ts +4 -4
  247. package/es/date-picker/src/panel/month.js +4 -1
  248. package/es/date-picker/src/panel/monthrange.d.ts +4 -4
  249. package/es/date-picker/src/panel/panelHeader.d.ts +74 -51
  250. package/es/date-picker/src/panel/use-calendar.d.ts +4 -4
  251. package/es/date-picker/src/panel/use-dual-calendar.d.ts +7 -7
  252. package/es/date-picker/src/panel/use-panel-common.d.ts +3 -3
  253. package/es/date-picker/src/styles/index.cssr.js +1 -0
  254. package/es/date-picker/src/utils.d.ts +1 -1
  255. package/es/date-picker/src/validation-utils.d.ts +1 -1
  256. package/es/descriptions/src/Descriptions.d.ts +3 -3
  257. package/es/descriptions/src/Descriptions.js +6 -1
  258. package/es/descriptions/src/DescriptionsItem.d.ts +2 -2
  259. package/es/descriptions/src/utils.d.ts +1 -1
  260. package/es/descriptions/styles/light.d.ts +2 -2
  261. package/es/dialog/src/Dialog.d.ts +2 -2
  262. package/es/dialog/src/DialogEnvironment.d.ts +2 -2
  263. package/es/dialog/src/DialogProvider.d.ts +6 -6
  264. package/es/dialog/src/DialogProvider.js +3 -1
  265. package/es/dialog/src/composables.d.ts +1 -1
  266. package/es/dialog/src/dialogProps.d.ts +1 -1
  267. package/es/discrete/src/InjectionExtractor.d.ts +2 -2
  268. package/es/discrete/src/discrete.d.ts +2 -2
  269. package/es/discrete/src/discreteApp.d.ts +7 -7
  270. package/es/discrete/src/interface.d.ts +10 -10
  271. package/es/divider/src/Divider.d.ts +3 -3
  272. package/es/drawer/src/Drawer.d.ts +17 -4
  273. package/es/drawer/src/Drawer.js +2 -2
  274. package/es/drawer/src/DrawerBodyWrapper.d.ts +10 -2
  275. package/es/drawer/src/DrawerBodyWrapper.js +25 -1
  276. package/es/drawer/src/DrawerContent.d.ts +2 -2
  277. package/es/drawer/src/interface.d.ts +1 -1
  278. package/es/dropdown/src/Dropdown.d.ts +9 -9
  279. package/es/dropdown/src/DropdownDivider.d.ts +1 -1
  280. package/es/dropdown/src/DropdownGroup.d.ts +3 -3
  281. package/es/dropdown/src/DropdownGroupHeader.d.ts +1 -1
  282. package/es/dropdown/src/DropdownMenu.d.ts +3 -3
  283. package/es/dropdown/src/DropdownOption.d.ts +4 -4
  284. package/es/dropdown/src/DropdownRenderOption.d.ts +3 -3
  285. package/es/dropdown/src/interface.d.ts +2 -2
  286. package/es/dynamic-input/src/DynamicInput.d.ts +7 -3
  287. package/es/dynamic-input/src/DynamicInput.js +50 -29
  288. package/es/dynamic-input/src/InputPreset.d.ts +5 -2
  289. package/es/dynamic-input/src/InputPreset.js +3 -2
  290. package/es/dynamic-input/src/PairPreset.d.ts +5 -2
  291. package/es/dynamic-input/src/PairPreset.js +4 -3
  292. package/es/dynamic-input/src/interface.d.ts +1 -1
  293. package/es/dynamic-input/styles/dark.d.ts +1 -1
  294. package/es/dynamic-tags/src/DynamicTags.d.ts +3 -3
  295. package/es/dynamic-tags/src/DynamicTags.js +3 -1
  296. package/es/element/src/Element.d.ts +11 -11
  297. package/es/element/styles/dark.d.ts +1 -1
  298. package/es/element/styles/light.d.ts +1 -1
  299. package/es/ellipsis/index.d.ts +1 -0
  300. package/es/ellipsis/index.js +1 -0
  301. package/es/ellipsis/src/Ellipsis.d.ts +4 -2
  302. package/es/ellipsis/src/Ellipsis.js +5 -4
  303. package/es/ellipsis/src/PerformantEllipsis.d.ts +164 -0
  304. package/es/ellipsis/src/PerformantEllipsis.js +52 -0
  305. package/es/ellipsis/styles/dark.d.ts +1 -1
  306. package/es/empty/src/Empty.d.ts +3 -3
  307. package/es/equation/src/Equation.d.ts +6 -6
  308. package/es/form/src/Form.d.ts +4 -4
  309. package/es/form/src/Form.js +4 -2
  310. package/es/form/src/FormItem.d.ts +4 -4
  311. package/es/form/src/FormItem.js +1 -1
  312. package/es/form/src/FormItemCol.d.ts +1 -1
  313. package/es/form/src/FormItemCol.js +1 -1
  314. package/es/form/src/FormItemGridItem.d.ts +1 -1
  315. package/es/form/src/FormItemGridItem.js +1 -1
  316. package/es/form/src/FormItemRow.d.ts +1 -1
  317. package/es/form/src/FormItemRow.js +1 -1
  318. package/es/form/src/interface.d.ts +3 -3
  319. package/es/form/src/utils.d.ts +1 -1
  320. package/es/global-style/src/GlobalStyle.d.ts +1 -1
  321. package/es/gradient-text/src/GradientText.d.ts +3 -3
  322. package/es/gradient-text/styles/dark.d.ts +1 -1
  323. package/es/grid/src/Grid.d.ts +6 -6
  324. package/es/grid/src/Grid.js +6 -3
  325. package/es/grid/src/GridItem.d.ts +2 -2
  326. package/es/icon/src/Icon.d.ts +6 -6
  327. package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
  328. package/es/icon-wrapper/src/IconWrapper.js +1 -1
  329. package/es/image/src/Image.d.ts +9 -3
  330. package/es/image/src/Image.js +19 -21
  331. package/es/image/src/ImageGroup.d.ts +10 -4
  332. package/es/image/src/ImageGroup.js +8 -2
  333. package/es/image/src/ImagePreview.d.ts +9 -4
  334. package/es/image/src/ImagePreview.js +10 -1
  335. package/es/image/src/icons.d.ts +1 -0
  336. package/es/image/src/icons.js +2 -0
  337. package/es/image/src/interface.d.ts +7 -5
  338. package/es/image/src/interface.js +1 -1
  339. package/es/image/src/utils.d.ts +1 -1
  340. package/es/index.d.ts +1 -0
  341. package/es/index.js +1 -0
  342. package/es/input/src/Input.d.ts +17 -8
  343. package/es/input/src/Input.js +30 -8
  344. package/es/input/src/InputGroup.d.ts +2 -2
  345. package/es/input/src/InputGroupLabel.d.ts +3 -3
  346. package/es/input/src/WordCount.d.ts +1 -1
  347. package/es/input/src/interface.d.ts +1 -1
  348. package/es/input/src/styles/input.cssr.js +4 -3
  349. package/es/input-number/src/InputNumber.d.ts +5 -4
  350. package/es/input-number/src/InputNumber.js +2 -1
  351. package/es/input-number/src/interface.d.ts +1 -0
  352. package/es/layout/src/Layout.d.ts +5 -5
  353. package/es/layout/src/LayoutContent.d.ts +2 -2
  354. package/es/layout/src/LayoutFooter.d.ts +2 -2
  355. package/es/layout/src/LayoutHeader.d.ts +3 -3
  356. package/es/layout/src/LayoutSider.d.ts +3 -3
  357. package/es/layout/src/ToggleBar.d.ts +2 -2
  358. package/es/layout/src/ToggleButton.d.ts +2 -2
  359. package/es/layout/src/interface.d.ts +1 -1
  360. package/es/legacy-grid/src/Col.d.ts +4 -4
  361. package/es/legacy-grid/src/Row.d.ts +4 -4
  362. package/es/legacy-transfer/src/Transfer.d.ts +6 -7
  363. package/es/legacy-transfer/src/TransferFilter.d.ts +2 -2
  364. package/es/legacy-transfer/src/TransferHeader.d.ts +2 -2
  365. package/es/legacy-transfer/src/TransferList.d.ts +3 -3
  366. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
  367. package/es/legacy-transfer/src/interface.d.ts +1 -1
  368. package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  369. package/es/list/src/List.d.ts +4 -4
  370. package/es/list/src/ListItem.d.ts +1 -1
  371. package/es/list/styles/light.d.ts +1 -1
  372. package/es/loading-bar/src/LoadingBar.d.ts +3 -3
  373. package/es/loading-bar/src/LoadingBar.js +18 -11
  374. package/es/loading-bar/src/LoadingBarProvider.d.ts +3 -3
  375. package/es/loading-bar/src/context.d.ts +1 -1
  376. package/es/locales/common/arDZ.js +1 -0
  377. package/es/locales/common/deDE.js +1 -0
  378. package/es/locales/common/enGB.js +1 -0
  379. package/es/locales/common/enUS.d.ts +2 -1
  380. package/es/locales/common/enUS.js +1 -0
  381. package/es/locales/common/eo.js +1 -0
  382. package/es/locales/common/esAR.js +1 -0
  383. package/es/locales/common/faIR.d.ts +3 -0
  384. package/es/locales/common/faIR.js +121 -0
  385. package/es/locales/common/frFR.js +1 -0
  386. package/es/locales/common/idID.js +18 -17
  387. package/es/locales/common/itIT.js +1 -0
  388. package/es/locales/common/jaJP.js +1 -0
  389. package/es/locales/common/koKR.js +1 -0
  390. package/es/locales/common/nbNO.js +1 -0
  391. package/es/locales/common/nlNL.js +1 -0
  392. package/es/locales/common/plPL.js +1 -0
  393. package/es/locales/common/ptBR.js +15 -17
  394. package/es/locales/common/ruRU.js +1 -0
  395. package/es/locales/common/skSK.js +1 -0
  396. package/es/locales/common/svSE.d.ts +3 -0
  397. package/es/locales/common/svSE.js +121 -0
  398. package/es/locales/common/thTH.js +1 -0
  399. package/es/locales/common/trTR.js +2 -1
  400. package/es/locales/common/ukUA.js +1 -0
  401. package/es/locales/common/viVN.js +1 -0
  402. package/es/locales/common/zhCN.js +1 -0
  403. package/es/locales/common/zhTW.js +32 -34
  404. package/es/locales/date/arDZ.d.ts +1 -1
  405. package/es/locales/date/deDE.d.ts +1 -1
  406. package/es/locales/date/enGB.d.ts +1 -1
  407. package/es/locales/date/enUS.d.ts +1 -1
  408. package/es/locales/date/eo.d.ts +1 -1
  409. package/es/locales/date/esAR.d.ts +1 -1
  410. package/es/locales/date/faIR.d.ts +3 -0
  411. package/es/locales/date/faIR.js +6 -0
  412. package/es/locales/date/frFR.d.ts +1 -1
  413. package/es/locales/date/idID.d.ts +1 -1
  414. package/es/locales/date/itIT.d.ts +1 -1
  415. package/es/locales/date/jaJP.d.ts +1 -1
  416. package/es/locales/date/koKR.d.ts +1 -1
  417. package/es/locales/date/nbNO.d.ts +1 -1
  418. package/es/locales/date/nlNL.d.ts +1 -1
  419. package/es/locales/date/plPL.d.ts +1 -1
  420. package/es/locales/date/ptBR.d.ts +1 -1
  421. package/es/locales/date/ruRU.d.ts +1 -1
  422. package/es/locales/date/skSK.d.ts +1 -1
  423. package/es/locales/date/svSE.d.ts +3 -0
  424. package/es/locales/date/svSE.js +6 -0
  425. package/es/locales/date/thTH.d.ts +1 -1
  426. package/es/locales/date/trTR.d.ts +1 -1
  427. package/es/locales/date/ukUA.d.ts +1 -1
  428. package/es/locales/date/viVN.d.ts +1 -1
  429. package/es/locales/date/zhCN.d.ts +1 -1
  430. package/es/locales/date/zhTW.d.ts +1 -1
  431. package/es/locales/index.d.ts +4 -0
  432. package/es/locales/index.js +4 -0
  433. package/es/locales/utils/index.d.ts +1 -1
  434. package/es/log/src/Log.d.ts +10 -10
  435. package/es/log/src/Log.js +12 -12
  436. package/es/log/src/LogLine.d.ts +1 -1
  437. package/es/log/src/LogLoader.d.ts +1 -1
  438. package/es/mention/src/Mention.d.ts +7 -7
  439. package/es/menu/src/Menu.d.ts +11 -11
  440. package/es/menu/src/Menu.js +1 -1
  441. package/es/menu/src/MenuDivider.d.ts +1 -1
  442. package/es/menu/src/MenuOption.d.ts +3 -3
  443. package/es/menu/src/MenuOptionContent.d.ts +3 -3
  444. package/es/menu/src/MenuOptionGroup.d.ts +3 -3
  445. package/es/menu/src/Submenu.d.ts +3 -3
  446. package/es/menu/src/context.d.ts +2 -2
  447. package/es/menu/src/interface.d.ts +2 -2
  448. package/es/menu/src/styles/index.cssr.d.ts +1 -1
  449. package/es/menu/src/use-menu-child-props.d.ts +2 -2
  450. package/es/menu/src/use-menu-child.d.ts +3 -3
  451. package/es/menu/src/utils.d.ts +2 -2
  452. package/es/message/src/Message.d.ts +2 -2
  453. package/es/message/src/MessageEnvironment.d.ts +2 -2
  454. package/es/message/src/MessageProvider.d.ts +3 -3
  455. package/es/message/src/context.d.ts +1 -1
  456. package/es/message/src/message-props.d.ts +3 -3
  457. package/es/message/src/types.d.ts +1 -1
  458. package/es/message/styles/light.d.ts +1 -1
  459. package/es/message/styles/rtl.d.ts +1 -1
  460. package/es/modal/src/BodyWrapper.d.ts +3 -3
  461. package/es/modal/src/Modal.d.ts +3 -3
  462. package/es/modal/src/interface.d.ts +1 -1
  463. package/es/notification/src/Notification.d.ts +2 -2
  464. package/es/notification/src/NotificationContainer.d.ts +2 -2
  465. package/es/notification/src/NotificationEnvironment.d.ts +5 -2
  466. package/es/notification/src/NotificationProvider.d.ts +5 -5
  467. package/es/notification/src/styles/index.cssr.d.ts +1 -1
  468. package/es/notification/src/styles/index.cssr.js +2 -0
  469. package/es/notification/styles/rtl.d.ts +1 -1
  470. package/es/number-animation/src/NumberAnimation.d.ts +2 -2
  471. package/es/page-header/src/PageHeader.d.ts +3 -3
  472. package/es/pagination/src/Pagination.d.ts +4 -4
  473. package/es/pagination/src/Pagination.js +3 -1
  474. package/es/pagination/src/interface.d.ts +2 -2
  475. package/es/pagination/styles/light.d.ts +1 -1
  476. package/es/popconfirm/src/Popconfirm.d.ts +5 -4
  477. package/es/popconfirm/src/Popconfirm.js +13 -5
  478. package/es/popconfirm/src/PopconfirmPanel.d.ts +2 -2
  479. package/es/popconfirm/src/interface.d.ts +1 -1
  480. package/es/popconfirm/styles/light.d.ts +1 -1
  481. package/es/popover/src/Popover.d.ts +3 -3
  482. package/es/popover/src/Popover.js +4 -6
  483. package/es/popover/src/PopoverBody.d.ts +3 -3
  484. package/es/popover/src/interface.d.ts +4 -1
  485. package/es/popover/src/styles/index.cssr.d.ts +1 -1
  486. package/es/popselect/src/Popselect.d.ts +3 -3
  487. package/es/popselect/src/Popselect.js +3 -2
  488. package/es/popselect/src/PopselectPanel.d.ts +8 -8
  489. package/es/popselect/src/interface.d.ts +1 -1
  490. package/es/popselect/styles/light.d.ts +1 -1
  491. package/es/progress/src/Circle.d.ts +3 -3
  492. package/es/progress/src/Line.d.ts +3 -3
  493. package/es/progress/src/Line.js +1 -3
  494. package/es/progress/src/MultipleCircle.d.ts +2 -2
  495. package/es/progress/src/Progress.d.ts +5 -5
  496. package/es/radio/src/Radio.d.ts +173 -34
  497. package/es/radio/src/Radio.js +3 -3
  498. package/es/radio/src/RadioButton.d.ts +4 -4
  499. package/es/radio/src/RadioButton.js +3 -3
  500. package/es/radio/src/RadioGroup.d.ts +4 -4
  501. package/es/radio/src/use-radio.d.ts +5 -5
  502. package/es/radio/src/use-radio.js +1 -1
  503. package/es/radio/styles/light.d.ts +1 -1
  504. package/es/rate/src/Rate.d.ts +3 -3
  505. package/es/rate/src/Rate.js +1 -1
  506. package/es/rate/styles/dark.d.ts +1 -1
  507. package/es/rate/styles/light.d.ts +1 -1
  508. package/es/result/src/Result.d.ts +3 -3
  509. package/es/scrollbar/src/Scrollbar.d.ts +5 -2
  510. package/es/scrollbar/src/Scrollbar.js +1 -1
  511. package/es/select/src/Select.d.ts +24 -8
  512. package/es/select/src/Select.js +24 -3
  513. package/es/select/src/interface.d.ts +4 -2
  514. package/es/select/src/utils.d.ts +1 -1
  515. package/es/skeleton/src/Skeleton.d.ts +3 -3
  516. package/es/skeleton/styles/dark.d.ts +1 -1
  517. package/es/skeleton/styles/light.d.ts +1 -1
  518. package/es/slider/src/Slider.d.ts +5 -5
  519. package/es/slider/src/Slider.js +12 -4
  520. package/es/slider/src/utils.d.ts +1 -1
  521. package/es/slider/src/utils.js +3 -1
  522. package/es/slider/styles/light.d.ts +1 -1
  523. package/es/space/src/Space.d.ts +3 -3
  524. package/es/space/styles/rtl.d.ts +1 -1
  525. package/es/spin/src/Spin.d.ts +8 -5
  526. package/es/spin/src/Spin.js +23 -5
  527. package/es/spin/styles/light.d.ts +1 -1
  528. package/es/statistic/src/Statistic.d.ts +2 -2
  529. package/es/statistic/styles/light.d.ts +1 -1
  530. package/es/statistic/styles/rtl.d.ts +1 -1
  531. package/es/steps/src/Step.d.ts +3 -3
  532. package/es/steps/src/Steps.d.ts +3 -3
  533. package/es/steps/src/styles/index.cssr.js +1 -0
  534. package/es/steps/styles/rtl.d.ts +1 -1
  535. package/es/switch/src/Switch.d.ts +3 -3
  536. package/es/table/src/Table.d.ts +3 -3
  537. package/es/table/src/Tbody.d.ts +1 -1
  538. package/es/table/src/Td.d.ts +1 -1
  539. package/es/table/src/Th.d.ts +1 -1
  540. package/es/table/src/Thead.d.ts +1 -1
  541. package/es/table/src/Tr.d.ts +1 -1
  542. package/es/table/styles/light.d.ts +1 -1
  543. package/es/table/styles/rtl.d.ts +1 -1
  544. package/es/tabs/src/Tab.d.ts +1 -1
  545. package/es/tabs/src/TabPane.d.ts +2 -2
  546. package/es/tabs/src/Tabs.d.ts +129 -11
  547. package/es/tabs/src/Tabs.js +51 -23
  548. package/es/tabs/src/interface.d.ts +1 -1
  549. package/es/tabs/src/styles/index.cssr.js +101 -36
  550. package/es/tabs/styles/_common.d.ts +12 -0
  551. package/es/tabs/styles/_common.js +24 -12
  552. package/es/tabs/styles/light.d.ts +13 -1
  553. package/es/tag/src/Tag.d.ts +3 -3
  554. package/es/tag/src/common-props.d.ts +1 -1
  555. package/es/theme-editor/src/MaximizeIcon.d.ts +1 -1
  556. package/es/theme-editor/src/MinimizeIcon.d.ts +1 -1
  557. package/es/theme-editor/src/ThemeEditor.d.ts +3 -5
  558. package/es/theme-editor/src/ThemeEditor.js +1 -1
  559. package/es/themes/interface.d.ts +1 -1
  560. package/es/themes/utils.d.ts +1 -1
  561. package/es/thing/src/Thing.d.ts +2 -2
  562. package/es/thing/styles/rtl.d.ts +1 -1
  563. package/es/time/src/Time.d.ts +3 -3
  564. package/es/time/src/Time.js +1 -1
  565. package/es/time-picker/src/Panel.d.ts +4 -4
  566. package/es/time-picker/src/PanelCol.d.ts +3 -3
  567. package/es/time-picker/src/PanelCol.js +5 -1
  568. package/es/time-picker/src/TimePicker.d.ts +4 -4
  569. package/es/time-picker/src/TimePicker.js +1 -1
  570. package/es/time-picker/src/interface.d.ts +2 -2
  571. package/es/time-picker/src/utils.d.ts +1 -1
  572. package/es/timeline/src/Timeline.d.ts +4 -4
  573. package/es/timeline/src/TimelineItem.d.ts +2 -2
  574. package/es/tooltip/src/Tooltip.d.ts +1 -1
  575. package/es/tooltip/src/Tooltip.js +3 -2
  576. package/es/transfer/src/Transfer.d.ts +13 -8
  577. package/es/transfer/src/Transfer.js +2 -2
  578. package/es/transfer/src/TransferFilter.d.ts +2 -2
  579. package/es/transfer/src/TransferHeader.d.ts +6 -2
  580. package/es/transfer/src/TransferHeader.js +6 -2
  581. package/es/transfer/src/TransferList.d.ts +3 -3
  582. package/es/transfer/src/TransferListItem.d.ts +3 -3
  583. package/es/transfer/src/interface.d.ts +1 -1
  584. package/es/transfer/src/use-transfer-data.d.ts +4 -4
  585. package/es/tree/src/MotionWrapper.d.ts +3 -3
  586. package/es/tree/src/Tree.d.ts +51 -8
  587. package/es/tree/src/Tree.js +31 -20
  588. package/es/tree/src/TreeNode.d.ts +8 -4
  589. package/es/tree/src/TreeNode.js +43 -7
  590. package/es/tree/src/TreeNodeCheckbox.d.ts +13 -2
  591. package/es/tree/src/TreeNodeCheckbox.js +12 -10
  592. package/es/tree/src/TreeNodeContent.d.ts +3 -3
  593. package/es/tree/src/TreeNodeSwitcher.d.ts +19 -2
  594. package/es/tree/src/TreeNodeSwitcher.js +12 -6
  595. package/es/tree/src/dnd.d.ts +2 -2
  596. package/es/tree/src/interface.d.ts +4 -2
  597. package/es/tree/src/keyboard.d.ts +3 -3
  598. package/es/tree/src/styles/index.cssr.js +46 -51
  599. package/es/tree/src/utils.d.ts +3 -3
  600. package/es/tree/styles/light.d.ts +6 -0
  601. package/es/tree/styles/light.js +3 -0
  602. package/es/tree-select/src/TreeSelect.d.ts +53 -20
  603. package/es/tree-select/src/TreeSelect.js +3 -1
  604. package/es/tree-select/src/interface.d.ts +4 -2
  605. package/es/tree-select/src/utils.d.ts +2 -2
  606. package/es/tree-select/styles/light.d.ts +3 -0
  607. package/es/typography/src/a.d.ts +2 -2
  608. package/es/typography/src/blockquote.d.ts +2 -2
  609. package/es/typography/src/create-header.d.ts +4 -4
  610. package/es/typography/src/headers.d.ts +12 -12
  611. package/es/typography/src/hr.d.ts +2 -2
  612. package/es/typography/src/li.d.ts +1 -1
  613. package/es/typography/src/ol.d.ts +2 -2
  614. package/es/typography/src/p.d.ts +3 -3
  615. package/es/typography/src/text.d.ts +3 -3
  616. package/es/typography/src/ul.d.ts +2 -2
  617. package/es/upload/src/Upload.d.ts +6 -66
  618. package/es/upload/src/Upload.js +3 -4
  619. package/es/upload/src/UploadDragger.d.ts +1 -1
  620. package/es/upload/src/UploadFile.d.ts +3 -3
  621. package/es/upload/src/UploadFileList.d.ts +1 -1
  622. package/es/upload/src/UploadProgress.d.ts +2 -2
  623. package/es/upload/src/UploadTrigger.d.ts +1 -1
  624. package/es/upload/src/interface.d.ts +5 -5
  625. package/es/version.d.ts +1 -1
  626. package/es/version.js +1 -1
  627. package/es/watermark/src/Watermark.d.ts +3 -3
  628. package/lib/_internal/clear/src/Clear.d.ts +2 -2
  629. package/lib/_internal/clear/src/Clear.js +2 -0
  630. package/lib/_internal/close/src/Close.d.ts +2 -2
  631. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +2 -2
  632. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
  633. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +2 -2
  634. package/lib/_internal/icon/src/Icon.d.ts +2 -2
  635. package/lib/_internal/icon-switch-transition/src/IconSwitchTransition.d.ts +1 -1
  636. package/lib/_internal/icons/Add.d.ts +1 -1
  637. package/lib/_internal/icons/ArrowBack.d.ts +1 -1
  638. package/lib/_internal/icons/ArrowDown.d.ts +1 -1
  639. package/lib/_internal/icons/ArrowUp.d.ts +1 -1
  640. package/lib/_internal/icons/Attach.d.ts +1 -1
  641. package/lib/_internal/icons/Backward.d.ts +1 -1
  642. package/lib/_internal/icons/Cancel.d.ts +1 -1
  643. package/lib/_internal/icons/Checkmark.d.ts +1 -1
  644. package/lib/_internal/icons/ChevronDown.d.ts +1 -1
  645. package/lib/_internal/icons/ChevronDownFilled.d.ts +1 -1
  646. package/lib/_internal/icons/ChevronLeft.d.ts +1 -1
  647. package/lib/_internal/icons/ChevronRight.d.ts +1 -1
  648. package/lib/_internal/icons/Clear.d.ts +1 -1
  649. package/lib/_internal/icons/Close.d.ts +1 -1
  650. package/lib/_internal/icons/Date.d.ts +1 -1
  651. package/lib/_internal/icons/Download.d.ts +1 -1
  652. package/lib/_internal/icons/Empty.d.ts +1 -1
  653. package/lib/_internal/icons/Error.d.ts +1 -1
  654. package/lib/_internal/icons/Eye.d.ts +1 -1
  655. package/lib/_internal/icons/EyeOff.d.ts +1 -1
  656. package/lib/_internal/icons/FastBackward.d.ts +1 -1
  657. package/lib/_internal/icons/FastForward.d.ts +1 -1
  658. package/lib/_internal/icons/File.d.ts +1 -1
  659. package/lib/_internal/icons/Filter.d.ts +1 -1
  660. package/lib/_internal/icons/Forward.d.ts +1 -1
  661. package/lib/_internal/icons/Info.d.ts +1 -1
  662. package/lib/_internal/icons/More.d.ts +1 -1
  663. package/lib/_internal/icons/Photo.d.ts +1 -1
  664. package/lib/_internal/icons/Remove.d.ts +1 -1
  665. package/lib/_internal/icons/ResizeSmall.d.ts +1 -1
  666. package/lib/_internal/icons/Retry.d.ts +1 -1
  667. package/lib/_internal/icons/RotateClockwise.d.ts +1 -1
  668. package/lib/_internal/icons/RotateCounterclockwise.d.ts +1 -1
  669. package/lib/_internal/icons/Search.d.ts +1 -1
  670. package/lib/_internal/icons/Success.d.ts +1 -1
  671. package/lib/_internal/icons/Switcher.d.ts +1 -1
  672. package/lib/_internal/icons/Time.d.ts +1 -1
  673. package/lib/_internal/icons/To.d.ts +1 -1
  674. package/lib/_internal/icons/Trash.d.ts +1 -1
  675. package/lib/_internal/icons/Warning.d.ts +1 -1
  676. package/lib/_internal/icons/ZoomIn.d.ts +1 -1
  677. package/lib/_internal/icons/ZoomOut.d.ts +1 -1
  678. package/lib/_internal/icons/replaceable.d.ts +1 -1
  679. package/lib/_internal/loading/src/Loading.d.ts +2 -2
  680. package/lib/_internal/menu-mask/src/MenuMask.d.ts +1 -1
  681. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +3 -3
  682. package/lib/_internal/scrollbar/src/Scrollbar.js +4 -4
  683. package/lib/_internal/scrollbar/src/styles/index.cssr.js +1 -0
  684. package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
  685. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +4 -4
  686. package/lib/_internal/select-menu/src/SelectMenu.d.ts +3 -3
  687. package/lib/_internal/select-menu/src/SelectMenu.js +1 -1
  688. package/lib/_internal/select-menu/src/SelectOption.d.ts +4 -4
  689. package/lib/_internal/select-menu/src/interface.d.ts +2 -2
  690. package/lib/_internal/selection/src/Selection.d.ts +3 -2
  691. package/lib/_internal/selection/src/Selection.js +13 -5
  692. package/lib/_internal/selection/src/interface.d.ts +1 -1
  693. package/lib/_internal/slot-machine/src/SlotMachine.d.ts +1 -1
  694. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +2 -2
  695. package/lib/_internal/suffix/src/Suffix.d.ts +2 -2
  696. package/lib/_internal/wave/src/Wave.d.ts +1 -1
  697. package/lib/_mixins/use-config.d.ts +3 -2
  698. package/lib/_mixins/use-config.js +11 -5
  699. package/lib/_mixins/use-css-vars-class.d.ts +1 -1
  700. package/lib/_mixins/use-form-item.d.ts +2 -2
  701. package/lib/_mixins/use-hljs.d.ts +1 -1
  702. package/lib/_mixins/use-locale.d.ts +1 -1
  703. package/lib/_mixins/use-rtl.d.ts +2 -2
  704. package/lib/_mixins/use-style.d.ts +3 -3
  705. package/lib/_mixins/use-style.js +1 -1
  706. package/lib/_mixins/use-theme.d.ts +5 -5
  707. package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
  708. package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
  709. package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
  710. package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
  711. package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
  712. package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
  713. package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
  714. package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
  715. package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
  716. package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
  717. package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
  718. package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
  719. package/lib/_utils/composable/use-browser-location.d.ts +1 -1
  720. package/lib/_utils/composable/use-browser-location.js +1 -2
  721. package/lib/_utils/composable/use-collection.d.ts +1 -1
  722. package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
  723. package/lib/_utils/composable/use-is-composing.d.ts +1 -1
  724. package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  725. package/lib/_utils/composable/use-resize.d.ts +1 -1
  726. package/lib/_utils/cssr/index.d.ts +2 -2
  727. package/lib/_utils/naive/attribute.d.ts +1 -1
  728. package/lib/_utils/naive/extract-public-props.d.ts +2 -2
  729. package/lib/_utils/vue/create-injection-key.d.ts +1 -1
  730. package/lib/_utils/vue/create-ref-setter.d.ts +1 -1
  731. package/lib/_utils/vue/flatten.d.ts +1 -1
  732. package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
  733. package/lib/_utils/vue/get-slot.d.ts +1 -1
  734. package/lib/_utils/vue/get-v-node-children.d.ts +1 -1
  735. package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
  736. package/lib/_utils/vue/keysOf.d.ts +1 -1
  737. package/lib/_utils/vue/omit.d.ts +1 -1
  738. package/lib/_utils/vue/render.d.ts +1 -1
  739. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  740. package/lib/_utils/vue/wrapper.d.ts +1 -1
  741. package/lib/affix/src/Affix.d.ts +3 -3
  742. package/lib/alert/src/Alert.d.ts +3 -3
  743. package/lib/alert/src/Alert.js +4 -0
  744. package/lib/alert/src/styles/index.cssr.js +4 -0
  745. package/lib/anchor/src/AnchorAdapter.d.ts +1 -1
  746. package/lib/anchor/src/BaseAnchor.d.ts +2 -2
  747. package/lib/anchor/src/BaseAnchor.js +3 -1
  748. package/lib/anchor/src/Link.d.ts +3 -3
  749. package/lib/auto-complete/src/AutoComplete.d.ts +8 -9
  750. package/lib/auto-complete/src/interface.d.ts +3 -2
  751. package/lib/auto-complete/src/utils.d.ts +2 -2
  752. package/lib/avatar/src/Avatar.d.ts +4 -4
  753. package/lib/avatar-group/src/AvatarGroup.d.ts +4 -4
  754. package/lib/avatar-group/styles/light.d.ts +1 -1
  755. package/lib/avatar-group/styles/rtl.d.ts +1 -1
  756. package/lib/back-top/src/BackTop.d.ts +3 -3
  757. package/lib/badge/src/Badge.d.ts +3 -3
  758. package/lib/badge/src/Badge.js +1 -1
  759. package/lib/badge/styles/light.d.ts +1 -1
  760. package/lib/badge/styles/rtl.d.ts +1 -1
  761. package/lib/breadcrumb/src/Breadcrumb.d.ts +4 -4
  762. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +2 -2
  763. package/lib/button/src/Button.d.ts +4 -4
  764. package/lib/button/src/Button.js +1 -1
  765. package/lib/button/styles/rtl.d.ts +1 -1
  766. package/lib/button-group/src/ButtonGroup.d.ts +3 -3
  767. package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
  768. package/lib/button-group/src/styles/rtl.cssr.d.ts +1 -1
  769. package/lib/button-group/styles/rtl.d.ts +1 -1
  770. package/lib/calendar/src/Calendar.d.ts +4 -4
  771. package/lib/card/src/Card.d.ts +7 -7
  772. package/lib/card/styles/light.d.ts +1 -1
  773. package/lib/card/styles/rtl.d.ts +1 -1
  774. package/lib/carousel/src/Carousel.d.ts +2 -2
  775. package/lib/carousel/src/Carousel.js +6 -2
  776. package/lib/carousel/src/CarouselArrow.d.ts +2 -2
  777. package/lib/carousel/src/CarouselContext.js +3 -1
  778. package/lib/carousel/src/CarouselDots.d.ts +2 -2
  779. package/lib/carousel/src/CarouselDots.js +7 -1
  780. package/lib/carousel/src/CarouselItem.d.ts +2 -2
  781. package/lib/carousel/src/CarouselItem.js +4 -3
  782. package/lib/carousel/src/interface.d.ts +1 -1
  783. package/lib/carousel/src/utils/index.d.ts +1 -1
  784. package/lib/carousel/styles/light.d.ts +1 -1
  785. package/lib/cascader/src/Cascader.d.ts +13 -12
  786. package/lib/cascader/src/CascaderMenu.d.ts +4 -4
  787. package/lib/cascader/src/CascaderOption.d.ts +3 -3
  788. package/lib/cascader/src/CascaderSelectMenu.d.ts +5 -5
  789. package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
  790. package/lib/cascader/src/interface.d.ts +2 -2
  791. package/lib/checkbox/src/Checkbox.d.ts +4 -4
  792. package/lib/checkbox/src/Checkbox.js +9 -2
  793. package/lib/checkbox/src/CheckboxGroup.d.ts +4 -5
  794. package/lib/checkbox/src/styles/index.cssr.js +9 -11
  795. package/lib/code/src/Code.d.ts +4 -4
  796. package/lib/code/styles/light.d.ts +1 -1
  797. package/lib/collapse/src/Collapse.d.ts +16 -6
  798. package/lib/collapse/src/Collapse.js +2 -1
  799. package/lib/collapse/src/CollapseItem.d.ts +3 -3
  800. package/lib/collapse/src/CollapseItemContent.d.ts +2 -2
  801. package/lib/collapse/src/styles/index.cssr.js +2 -1
  802. package/lib/collapse/styles/light.d.ts +2 -1
  803. package/lib/collapse/styles/light.js +2 -1
  804. package/lib/collapse-transition/src/CollapseTransition.d.ts +3 -3
  805. package/lib/collapse-transition/styles/light.d.ts +1 -1
  806. package/lib/color-picker/src/AlphaSlider.d.ts +3 -3
  807. package/lib/color-picker/src/ColorInput.d.ts +3 -3
  808. package/lib/color-picker/src/ColorInputUnit.d.ts +2 -2
  809. package/lib/color-picker/src/ColorPicker.d.ts +6 -6
  810. package/lib/color-picker/src/ColorPicker.js +6 -2
  811. package/lib/color-picker/src/ColorPickerSwatches.d.ts +3 -3
  812. package/lib/color-picker/src/ColorPickerSwatches.js +5 -1
  813. package/lib/color-picker/src/ColorPickerTrigger.d.ts +3 -3
  814. package/lib/color-picker/src/ColorPreview.d.ts +3 -3
  815. package/lib/color-picker/src/HueSlider.d.ts +2 -2
  816. package/lib/color-picker/src/Pallete.d.ts +3 -3
  817. package/lib/color-picker/src/context.d.ts +1 -1
  818. package/lib/color-picker/src/interface.d.ts +1 -1
  819. package/lib/composables/use-theme-vars.d.ts +1 -1
  820. package/lib/config-provider/src/ConfigProvider.d.ts +27 -14
  821. package/lib/config-provider/src/ConfigProvider.js +4 -2
  822. package/lib/config-provider/src/internal-interface.d.ts +3 -3
  823. package/lib/config-provider/src/katex.d.ts +1 -1
  824. package/lib/countdown/src/Countdown.d.ts +2 -2
  825. package/lib/create.d.ts +1 -1
  826. package/lib/data-table/index.d.ts +1 -1
  827. package/lib/data-table/src/DataTable.d.ts +4 -4
  828. package/lib/data-table/src/DataTable.js +0 -6
  829. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +5 -5
  830. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -7
  831. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +3 -3
  832. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +3 -3
  833. package/lib/data-table/src/HeaderButton/ResizeButton.d.ts +1 -1
  834. package/lib/data-table/src/HeaderButton/ResizeButton.js +1 -0
  835. package/lib/data-table/src/HeaderButton/SortButton.d.ts +5 -5
  836. package/lib/data-table/src/MainTable.d.ts +1 -1
  837. package/lib/data-table/src/TableParts/Body.d.ts +5 -6
  838. package/lib/data-table/src/TableParts/Body.js +19 -12
  839. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +3 -3
  840. package/lib/data-table/src/TableParts/BodyRadio.d.ts +3 -3
  841. package/lib/data-table/src/TableParts/Cell.d.ts +5 -5
  842. package/lib/data-table/src/TableParts/Cell.js +9 -2
  843. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +5 -4
  844. package/lib/data-table/src/TableParts/ExpandTrigger.js +6 -2
  845. package/lib/data-table/src/TableParts/Header.d.ts +2 -4
  846. package/lib/data-table/src/TableParts/Header.js +9 -13
  847. package/lib/data-table/src/TableParts/SelectionMenu.d.ts +1 -1
  848. package/lib/data-table/src/interface.d.ts +11 -9
  849. package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
  850. package/lib/data-table/src/styles/index.cssr.js +2 -0
  851. package/lib/data-table/src/use-check.d.ts +2 -2
  852. package/lib/data-table/src/use-expand.d.ts +2 -2
  853. package/lib/data-table/src/use-group-header.d.ts +1 -1
  854. package/lib/data-table/src/use-scroll.d.ts +2 -3
  855. package/lib/data-table/src/use-scroll.js +21 -13
  856. package/lib/data-table/src/use-sorter.d.ts +1 -1
  857. package/lib/data-table/src/use-table-data.d.ts +2 -2
  858. package/lib/data-table/src/utils.d.ts +1 -1
  859. package/lib/date-picker/src/DatePicker.d.ts +5 -5
  860. package/lib/date-picker/src/interface.d.ts +4 -4
  861. package/lib/date-picker/src/panel/date.d.ts +6 -6
  862. package/lib/date-picker/src/panel/date.js +3 -1
  863. package/lib/date-picker/src/panel/daterange.d.ts +3 -3
  864. package/lib/date-picker/src/panel/daterange.js +10 -2
  865. package/lib/date-picker/src/panel/datetime.d.ts +3 -3
  866. package/lib/date-picker/src/panel/datetime.js +3 -1
  867. package/lib/date-picker/src/panel/datetimerange.d.ts +3 -3
  868. package/lib/date-picker/src/panel/datetimerange.js +16 -4
  869. package/lib/date-picker/src/panel/month.d.ts +4 -4
  870. package/lib/date-picker/src/panel/month.js +4 -1
  871. package/lib/date-picker/src/panel/monthrange.d.ts +4 -4
  872. package/lib/date-picker/src/panel/panelHeader.d.ts +74 -51
  873. package/lib/date-picker/src/panel/use-calendar.d.ts +4 -4
  874. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +7 -7
  875. package/lib/date-picker/src/panel/use-panel-common.d.ts +3 -3
  876. package/lib/date-picker/src/styles/index.cssr.js +1 -0
  877. package/lib/date-picker/src/utils.d.ts +1 -1
  878. package/lib/date-picker/src/validation-utils.d.ts +1 -1
  879. package/lib/descriptions/src/Descriptions.d.ts +3 -3
  880. package/lib/descriptions/src/Descriptions.js +6 -1
  881. package/lib/descriptions/src/DescriptionsItem.d.ts +2 -2
  882. package/lib/descriptions/src/utils.d.ts +1 -1
  883. package/lib/descriptions/styles/light.d.ts +2 -2
  884. package/lib/dialog/src/Dialog.d.ts +2 -2
  885. package/lib/dialog/src/DialogEnvironment.d.ts +2 -2
  886. package/lib/dialog/src/DialogProvider.d.ts +6 -6
  887. package/lib/dialog/src/DialogProvider.js +3 -1
  888. package/lib/dialog/src/composables.d.ts +1 -1
  889. package/lib/dialog/src/dialogProps.d.ts +1 -1
  890. package/lib/discrete/src/InjectionExtractor.d.ts +2 -2
  891. package/lib/discrete/src/discrete.d.ts +2 -2
  892. package/lib/discrete/src/discreteApp.d.ts +7 -7
  893. package/lib/discrete/src/interface.d.ts +10 -10
  894. package/lib/divider/src/Divider.d.ts +3 -3
  895. package/lib/drawer/src/Drawer.d.ts +17 -4
  896. package/lib/drawer/src/Drawer.js +2 -2
  897. package/lib/drawer/src/DrawerBodyWrapper.d.ts +10 -2
  898. package/lib/drawer/src/DrawerBodyWrapper.js +25 -1
  899. package/lib/drawer/src/DrawerContent.d.ts +2 -2
  900. package/lib/drawer/src/interface.d.ts +1 -1
  901. package/lib/dropdown/src/Dropdown.d.ts +9 -9
  902. package/lib/dropdown/src/DropdownDivider.d.ts +1 -1
  903. package/lib/dropdown/src/DropdownGroup.d.ts +3 -3
  904. package/lib/dropdown/src/DropdownGroupHeader.d.ts +1 -1
  905. package/lib/dropdown/src/DropdownMenu.d.ts +3 -3
  906. package/lib/dropdown/src/DropdownOption.d.ts +4 -4
  907. package/lib/dropdown/src/DropdownRenderOption.d.ts +3 -3
  908. package/lib/dropdown/src/interface.d.ts +2 -2
  909. package/lib/dynamic-input/src/DynamicInput.d.ts +7 -3
  910. package/lib/dynamic-input/src/DynamicInput.js +50 -29
  911. package/lib/dynamic-input/src/InputPreset.d.ts +5 -2
  912. package/lib/dynamic-input/src/InputPreset.js +3 -2
  913. package/lib/dynamic-input/src/PairPreset.d.ts +5 -2
  914. package/lib/dynamic-input/src/PairPreset.js +4 -3
  915. package/lib/dynamic-input/src/interface.d.ts +1 -1
  916. package/lib/dynamic-input/styles/dark.d.ts +1 -1
  917. package/lib/dynamic-tags/src/DynamicTags.d.ts +3 -3
  918. package/lib/dynamic-tags/src/DynamicTags.js +3 -1
  919. package/lib/element/src/Element.d.ts +11 -11
  920. package/lib/element/styles/dark.d.ts +1 -1
  921. package/lib/element/styles/light.d.ts +1 -1
  922. package/lib/ellipsis/index.d.ts +1 -0
  923. package/lib/ellipsis/index.js +3 -1
  924. package/lib/ellipsis/src/Ellipsis.d.ts +4 -2
  925. package/lib/ellipsis/src/Ellipsis.js +5 -2
  926. package/lib/ellipsis/src/PerformantEllipsis.d.ts +164 -0
  927. package/lib/ellipsis/src/PerformantEllipsis.js +81 -0
  928. package/lib/ellipsis/styles/dark.d.ts +1 -1
  929. package/lib/empty/src/Empty.d.ts +3 -3
  930. package/lib/equation/src/Equation.d.ts +6 -6
  931. package/lib/form/src/Form.d.ts +4 -4
  932. package/lib/form/src/Form.js +4 -2
  933. package/lib/form/src/FormItem.d.ts +4 -4
  934. package/lib/form/src/FormItem.js +1 -1
  935. package/lib/form/src/FormItemCol.d.ts +1 -1
  936. package/lib/form/src/FormItemCol.js +1 -1
  937. package/lib/form/src/FormItemGridItem.d.ts +1 -1
  938. package/lib/form/src/FormItemGridItem.js +1 -1
  939. package/lib/form/src/FormItemRow.d.ts +1 -1
  940. package/lib/form/src/FormItemRow.js +1 -1
  941. package/lib/form/src/interface.d.ts +3 -3
  942. package/lib/form/src/utils.d.ts +1 -1
  943. package/lib/global-style/src/GlobalStyle.d.ts +1 -1
  944. package/lib/gradient-text/src/GradientText.d.ts +3 -3
  945. package/lib/gradient-text/styles/dark.d.ts +1 -1
  946. package/lib/grid/src/Grid.d.ts +6 -6
  947. package/lib/grid/src/Grid.js +6 -3
  948. package/lib/grid/src/GridItem.d.ts +2 -2
  949. package/lib/icon/src/Icon.d.ts +6 -6
  950. package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
  951. package/lib/icon-wrapper/src/IconWrapper.js +1 -1
  952. package/lib/image/src/Image.d.ts +9 -3
  953. package/lib/image/src/Image.js +19 -21
  954. package/lib/image/src/ImageGroup.d.ts +10 -4
  955. package/lib/image/src/ImageGroup.js +8 -2
  956. package/lib/image/src/ImagePreview.d.ts +9 -4
  957. package/lib/image/src/ImagePreview.js +9 -0
  958. package/lib/image/src/icons.d.ts +1 -0
  959. package/lib/image/src/icons.js +3 -1
  960. package/lib/image/src/interface.d.ts +7 -5
  961. package/lib/image/src/interface.js +1 -1
  962. package/lib/image/src/utils.d.ts +1 -1
  963. package/lib/index.d.ts +1 -0
  964. package/lib/index.js +3 -1
  965. package/lib/input/src/Input.d.ts +17 -8
  966. package/lib/input/src/Input.js +30 -8
  967. package/lib/input/src/InputGroup.d.ts +2 -2
  968. package/lib/input/src/InputGroupLabel.d.ts +3 -3
  969. package/lib/input/src/WordCount.d.ts +1 -1
  970. package/lib/input/src/interface.d.ts +1 -1
  971. package/lib/input/src/styles/input.cssr.js +4 -3
  972. package/lib/input-number/src/InputNumber.d.ts +5 -4
  973. package/lib/input-number/src/InputNumber.js +2 -1
  974. package/lib/input-number/src/interface.d.ts +1 -0
  975. package/lib/layout/src/Layout.d.ts +5 -5
  976. package/lib/layout/src/LayoutContent.d.ts +2 -2
  977. package/lib/layout/src/LayoutFooter.d.ts +2 -2
  978. package/lib/layout/src/LayoutHeader.d.ts +3 -3
  979. package/lib/layout/src/LayoutSider.d.ts +3 -3
  980. package/lib/layout/src/ToggleBar.d.ts +2 -2
  981. package/lib/layout/src/ToggleButton.d.ts +2 -2
  982. package/lib/layout/src/interface.d.ts +1 -1
  983. package/lib/legacy-grid/src/Col.d.ts +4 -4
  984. package/lib/legacy-grid/src/Row.d.ts +4 -4
  985. package/lib/legacy-transfer/src/Transfer.d.ts +6 -7
  986. package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -2
  987. package/lib/legacy-transfer/src/TransferHeader.d.ts +2 -2
  988. package/lib/legacy-transfer/src/TransferList.d.ts +3 -3
  989. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
  990. package/lib/legacy-transfer/src/interface.d.ts +1 -1
  991. package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  992. package/lib/list/src/List.d.ts +4 -4
  993. package/lib/list/src/ListItem.d.ts +1 -1
  994. package/lib/list/styles/light.d.ts +1 -1
  995. package/lib/loading-bar/src/LoadingBar.d.ts +3 -3
  996. package/lib/loading-bar/src/LoadingBar.js +18 -11
  997. package/lib/loading-bar/src/LoadingBarProvider.d.ts +3 -3
  998. package/lib/loading-bar/src/context.d.ts +1 -1
  999. package/lib/locales/common/arDZ.js +1 -0
  1000. package/lib/locales/common/deDE.js +1 -0
  1001. package/lib/locales/common/enGB.js +1 -0
  1002. package/lib/locales/common/enUS.d.ts +2 -1
  1003. package/lib/locales/common/enUS.js +1 -0
  1004. package/lib/locales/common/eo.js +1 -0
  1005. package/lib/locales/common/esAR.js +1 -0
  1006. package/lib/locales/common/faIR.d.ts +3 -0
  1007. package/lib/locales/common/faIR.js +123 -0
  1008. package/lib/locales/common/frFR.js +1 -0
  1009. package/lib/locales/common/idID.js +18 -17
  1010. package/lib/locales/common/itIT.js +1 -0
  1011. package/lib/locales/common/jaJP.js +1 -0
  1012. package/lib/locales/common/koKR.js +1 -0
  1013. package/lib/locales/common/nbNO.js +1 -0
  1014. package/lib/locales/common/nlNL.js +1 -0
  1015. package/lib/locales/common/plPL.js +1 -0
  1016. package/lib/locales/common/ptBR.js +15 -17
  1017. package/lib/locales/common/ruRU.js +1 -0
  1018. package/lib/locales/common/skSK.js +1 -0
  1019. package/lib/locales/common/svSE.d.ts +3 -0
  1020. package/lib/locales/common/svSE.js +123 -0
  1021. package/lib/locales/common/thTH.js +1 -0
  1022. package/lib/locales/common/trTR.js +2 -1
  1023. package/lib/locales/common/ukUA.js +1 -0
  1024. package/lib/locales/common/viVN.js +1 -0
  1025. package/lib/locales/common/zhCN.js +1 -0
  1026. package/lib/locales/common/zhTW.js +32 -34
  1027. package/lib/locales/date/arDZ.d.ts +1 -1
  1028. package/lib/locales/date/deDE.d.ts +1 -1
  1029. package/lib/locales/date/enGB.d.ts +1 -1
  1030. package/lib/locales/date/enUS.d.ts +1 -1
  1031. package/lib/locales/date/eo.d.ts +1 -1
  1032. package/lib/locales/date/esAR.d.ts +1 -1
  1033. package/lib/locales/date/faIR.d.ts +3 -0
  1034. package/lib/locales/date/faIR.js +11 -0
  1035. package/lib/locales/date/frFR.d.ts +1 -1
  1036. package/lib/locales/date/idID.d.ts +1 -1
  1037. package/lib/locales/date/itIT.d.ts +1 -1
  1038. package/lib/locales/date/jaJP.d.ts +1 -1
  1039. package/lib/locales/date/koKR.d.ts +1 -1
  1040. package/lib/locales/date/nbNO.d.ts +1 -1
  1041. package/lib/locales/date/nlNL.d.ts +1 -1
  1042. package/lib/locales/date/plPL.d.ts +1 -1
  1043. package/lib/locales/date/ptBR.d.ts +1 -1
  1044. package/lib/locales/date/ruRU.d.ts +1 -1
  1045. package/lib/locales/date/skSK.d.ts +1 -1
  1046. package/lib/locales/date/svSE.d.ts +3 -0
  1047. package/lib/locales/date/svSE.js +11 -0
  1048. package/lib/locales/date/thTH.d.ts +1 -1
  1049. package/lib/locales/date/trTR.d.ts +1 -1
  1050. package/lib/locales/date/ukUA.d.ts +1 -1
  1051. package/lib/locales/date/viVN.d.ts +1 -1
  1052. package/lib/locales/date/zhCN.d.ts +1 -1
  1053. package/lib/locales/date/zhTW.d.ts +1 -1
  1054. package/lib/locales/index.d.ts +4 -0
  1055. package/lib/locales/index.js +10 -1
  1056. package/lib/locales/utils/index.d.ts +1 -1
  1057. package/lib/log/src/Log.d.ts +10 -10
  1058. package/lib/log/src/Log.js +12 -12
  1059. package/lib/log/src/LogLine.d.ts +1 -1
  1060. package/lib/log/src/LogLoader.d.ts +1 -1
  1061. package/lib/mention/src/Mention.d.ts +7 -7
  1062. package/lib/menu/src/Menu.d.ts +11 -11
  1063. package/lib/menu/src/Menu.js +1 -1
  1064. package/lib/menu/src/MenuDivider.d.ts +1 -1
  1065. package/lib/menu/src/MenuOption.d.ts +3 -3
  1066. package/lib/menu/src/MenuOptionContent.d.ts +3 -3
  1067. package/lib/menu/src/MenuOptionGroup.d.ts +3 -3
  1068. package/lib/menu/src/Submenu.d.ts +3 -3
  1069. package/lib/menu/src/context.d.ts +2 -2
  1070. package/lib/menu/src/interface.d.ts +2 -2
  1071. package/lib/menu/src/styles/index.cssr.d.ts +1 -1
  1072. package/lib/menu/src/use-menu-child-props.d.ts +2 -2
  1073. package/lib/menu/src/use-menu-child.d.ts +3 -3
  1074. package/lib/menu/src/utils.d.ts +2 -2
  1075. package/lib/message/src/Message.d.ts +2 -2
  1076. package/lib/message/src/MessageEnvironment.d.ts +2 -2
  1077. package/lib/message/src/MessageProvider.d.ts +3 -3
  1078. package/lib/message/src/context.d.ts +1 -1
  1079. package/lib/message/src/message-props.d.ts +3 -3
  1080. package/lib/message/src/types.d.ts +1 -1
  1081. package/lib/message/styles/light.d.ts +1 -1
  1082. package/lib/message/styles/rtl.d.ts +1 -1
  1083. package/lib/modal/src/BodyWrapper.d.ts +3 -3
  1084. package/lib/modal/src/Modal.d.ts +3 -3
  1085. package/lib/modal/src/interface.d.ts +1 -1
  1086. package/lib/notification/src/Notification.d.ts +2 -2
  1087. package/lib/notification/src/NotificationContainer.d.ts +2 -2
  1088. package/lib/notification/src/NotificationEnvironment.d.ts +5 -2
  1089. package/lib/notification/src/NotificationProvider.d.ts +5 -5
  1090. package/lib/notification/src/styles/index.cssr.d.ts +1 -1
  1091. package/lib/notification/src/styles/index.cssr.js +2 -0
  1092. package/lib/notification/styles/rtl.d.ts +1 -1
  1093. package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
  1094. package/lib/page-header/src/PageHeader.d.ts +3 -3
  1095. package/lib/pagination/src/Pagination.d.ts +4 -4
  1096. package/lib/pagination/src/Pagination.js +3 -1
  1097. package/lib/pagination/src/interface.d.ts +2 -2
  1098. package/lib/pagination/styles/light.d.ts +1 -1
  1099. package/lib/popconfirm/src/Popconfirm.d.ts +5 -4
  1100. package/lib/popconfirm/src/Popconfirm.js +13 -5
  1101. package/lib/popconfirm/src/PopconfirmPanel.d.ts +2 -2
  1102. package/lib/popconfirm/src/interface.d.ts +1 -1
  1103. package/lib/popconfirm/styles/light.d.ts +1 -1
  1104. package/lib/popover/src/Popover.d.ts +3 -3
  1105. package/lib/popover/src/Popover.js +3 -5
  1106. package/lib/popover/src/PopoverBody.d.ts +3 -3
  1107. package/lib/popover/src/interface.d.ts +4 -1
  1108. package/lib/popover/src/styles/index.cssr.d.ts +1 -1
  1109. package/lib/popselect/src/Popselect.d.ts +3 -3
  1110. package/lib/popselect/src/Popselect.js +2 -1
  1111. package/lib/popselect/src/PopselectPanel.d.ts +8 -8
  1112. package/lib/popselect/src/interface.d.ts +1 -1
  1113. package/lib/popselect/styles/light.d.ts +1 -1
  1114. package/lib/progress/src/Circle.d.ts +3 -3
  1115. package/lib/progress/src/Line.d.ts +3 -3
  1116. package/lib/progress/src/Line.js +1 -3
  1117. package/lib/progress/src/MultipleCircle.d.ts +2 -2
  1118. package/lib/progress/src/Progress.d.ts +5 -5
  1119. package/lib/radio/src/Radio.d.ts +173 -34
  1120. package/lib/radio/src/Radio.js +2 -2
  1121. package/lib/radio/src/RadioButton.d.ts +4 -4
  1122. package/lib/radio/src/RadioButton.js +2 -2
  1123. package/lib/radio/src/RadioGroup.d.ts +4 -4
  1124. package/lib/radio/src/use-radio.d.ts +5 -5
  1125. package/lib/radio/src/use-radio.js +2 -2
  1126. package/lib/radio/styles/light.d.ts +1 -1
  1127. package/lib/rate/src/Rate.d.ts +3 -3
  1128. package/lib/rate/src/Rate.js +1 -1
  1129. package/lib/rate/styles/dark.d.ts +1 -1
  1130. package/lib/rate/styles/light.d.ts +1 -1
  1131. package/lib/result/src/Result.d.ts +3 -3
  1132. package/lib/scrollbar/src/Scrollbar.d.ts +5 -2
  1133. package/lib/scrollbar/src/Scrollbar.js +1 -1
  1134. package/lib/select/src/Select.d.ts +24 -8
  1135. package/lib/select/src/Select.js +24 -3
  1136. package/lib/select/src/interface.d.ts +4 -2
  1137. package/lib/select/src/utils.d.ts +1 -1
  1138. package/lib/skeleton/src/Skeleton.d.ts +3 -3
  1139. package/lib/skeleton/styles/dark.d.ts +1 -1
  1140. package/lib/skeleton/styles/light.d.ts +1 -1
  1141. package/lib/slider/src/Slider.d.ts +5 -5
  1142. package/lib/slider/src/Slider.js +12 -4
  1143. package/lib/slider/src/utils.d.ts +1 -1
  1144. package/lib/slider/src/utils.js +3 -1
  1145. package/lib/slider/styles/light.d.ts +1 -1
  1146. package/lib/space/src/Space.d.ts +3 -3
  1147. package/lib/space/styles/rtl.d.ts +1 -1
  1148. package/lib/spin/src/Spin.d.ts +8 -5
  1149. package/lib/spin/src/Spin.js +22 -4
  1150. package/lib/spin/styles/light.d.ts +1 -1
  1151. package/lib/statistic/src/Statistic.d.ts +2 -2
  1152. package/lib/statistic/styles/light.d.ts +1 -1
  1153. package/lib/statistic/styles/rtl.d.ts +1 -1
  1154. package/lib/steps/src/Step.d.ts +3 -3
  1155. package/lib/steps/src/Steps.d.ts +3 -3
  1156. package/lib/steps/src/styles/index.cssr.js +1 -0
  1157. package/lib/steps/styles/rtl.d.ts +1 -1
  1158. package/lib/switch/src/Switch.d.ts +3 -3
  1159. package/lib/table/src/Table.d.ts +3 -3
  1160. package/lib/table/src/Tbody.d.ts +1 -1
  1161. package/lib/table/src/Td.d.ts +1 -1
  1162. package/lib/table/src/Th.d.ts +1 -1
  1163. package/lib/table/src/Thead.d.ts +1 -1
  1164. package/lib/table/src/Tr.d.ts +1 -1
  1165. package/lib/table/styles/light.d.ts +1 -1
  1166. package/lib/table/styles/rtl.d.ts +1 -1
  1167. package/lib/tabs/src/Tab.d.ts +1 -1
  1168. package/lib/tabs/src/TabPane.d.ts +2 -2
  1169. package/lib/tabs/src/Tabs.d.ts +129 -11
  1170. package/lib/tabs/src/Tabs.js +51 -23
  1171. package/lib/tabs/src/interface.d.ts +1 -1
  1172. package/lib/tabs/src/styles/index.cssr.js +101 -36
  1173. package/lib/tabs/styles/_common.d.ts +12 -0
  1174. package/lib/tabs/styles/_common.js +24 -12
  1175. package/lib/tabs/styles/light.d.ts +13 -1
  1176. package/lib/tag/src/Tag.d.ts +3 -3
  1177. package/lib/tag/src/common-props.d.ts +1 -1
  1178. package/lib/theme-editor/src/MaximizeIcon.d.ts +1 -1
  1179. package/lib/theme-editor/src/MinimizeIcon.d.ts +1 -1
  1180. package/lib/theme-editor/src/ThemeEditor.d.ts +3 -5
  1181. package/lib/theme-editor/src/ThemeEditor.js +1 -1
  1182. package/lib/themes/interface.d.ts +1 -1
  1183. package/lib/themes/utils.d.ts +1 -1
  1184. package/lib/thing/src/Thing.d.ts +2 -2
  1185. package/lib/thing/styles/rtl.d.ts +1 -1
  1186. package/lib/time/src/Time.d.ts +3 -3
  1187. package/lib/time/src/Time.js +1 -1
  1188. package/lib/time-picker/src/Panel.d.ts +4 -4
  1189. package/lib/time-picker/src/PanelCol.d.ts +3 -3
  1190. package/lib/time-picker/src/PanelCol.js +5 -1
  1191. package/lib/time-picker/src/TimePicker.d.ts +4 -4
  1192. package/lib/time-picker/src/TimePicker.js +1 -1
  1193. package/lib/time-picker/src/interface.d.ts +2 -2
  1194. package/lib/time-picker/src/utils.d.ts +1 -1
  1195. package/lib/timeline/src/Timeline.d.ts +4 -4
  1196. package/lib/timeline/src/TimelineItem.d.ts +2 -2
  1197. package/lib/tooltip/src/Tooltip.d.ts +1 -1
  1198. package/lib/tooltip/src/Tooltip.js +2 -1
  1199. package/lib/transfer/src/Transfer.d.ts +13 -8
  1200. package/lib/transfer/src/Transfer.js +2 -2
  1201. package/lib/transfer/src/TransferFilter.d.ts +2 -2
  1202. package/lib/transfer/src/TransferHeader.d.ts +6 -2
  1203. package/lib/transfer/src/TransferHeader.js +6 -2
  1204. package/lib/transfer/src/TransferList.d.ts +3 -3
  1205. package/lib/transfer/src/TransferListItem.d.ts +3 -3
  1206. package/lib/transfer/src/interface.d.ts +1 -1
  1207. package/lib/transfer/src/use-transfer-data.d.ts +4 -4
  1208. package/lib/tree/src/MotionWrapper.d.ts +3 -3
  1209. package/lib/tree/src/Tree.d.ts +51 -8
  1210. package/lib/tree/src/Tree.js +30 -19
  1211. package/lib/tree/src/TreeNode.d.ts +8 -4
  1212. package/lib/tree/src/TreeNode.js +43 -7
  1213. package/lib/tree/src/TreeNodeCheckbox.d.ts +13 -2
  1214. package/lib/tree/src/TreeNodeCheckbox.js +12 -10
  1215. package/lib/tree/src/TreeNodeContent.d.ts +3 -3
  1216. package/lib/tree/src/TreeNodeSwitcher.d.ts +19 -2
  1217. package/lib/tree/src/TreeNodeSwitcher.js +12 -6
  1218. package/lib/tree/src/dnd.d.ts +2 -2
  1219. package/lib/tree/src/interface.d.ts +4 -2
  1220. package/lib/tree/src/keyboard.d.ts +3 -3
  1221. package/lib/tree/src/styles/index.cssr.js +46 -51
  1222. package/lib/tree/src/utils.d.ts +3 -3
  1223. package/lib/tree/src/utils.js +1 -0
  1224. package/lib/tree/styles/light.d.ts +6 -0
  1225. package/lib/tree/styles/light.js +3 -0
  1226. package/lib/tree-select/src/TreeSelect.d.ts +53 -20
  1227. package/lib/tree-select/src/TreeSelect.js +3 -1
  1228. package/lib/tree-select/src/interface.d.ts +4 -2
  1229. package/lib/tree-select/src/utils.d.ts +2 -2
  1230. package/lib/tree-select/styles/light.d.ts +3 -0
  1231. package/lib/typography/src/a.d.ts +2 -2
  1232. package/lib/typography/src/blockquote.d.ts +2 -2
  1233. package/lib/typography/src/create-header.d.ts +4 -4
  1234. package/lib/typography/src/headers.d.ts +12 -12
  1235. package/lib/typography/src/hr.d.ts +2 -2
  1236. package/lib/typography/src/li.d.ts +1 -1
  1237. package/lib/typography/src/ol.d.ts +2 -2
  1238. package/lib/typography/src/p.d.ts +3 -3
  1239. package/lib/typography/src/text.d.ts +3 -3
  1240. package/lib/typography/src/ul.d.ts +2 -2
  1241. package/lib/upload/src/Upload.d.ts +6 -66
  1242. package/lib/upload/src/Upload.js +3 -4
  1243. package/lib/upload/src/UploadDragger.d.ts +1 -1
  1244. package/lib/upload/src/UploadFile.d.ts +3 -3
  1245. package/lib/upload/src/UploadFileList.d.ts +1 -1
  1246. package/lib/upload/src/UploadProgress.d.ts +2 -2
  1247. package/lib/upload/src/UploadTrigger.d.ts +1 -1
  1248. package/lib/upload/src/interface.d.ts +5 -5
  1249. package/lib/version.d.ts +1 -1
  1250. package/lib/version.js +1 -1
  1251. package/lib/watermark/src/Watermark.d.ts +3 -3
  1252. package/package.json +69 -69
  1253. package/volar.d.ts +1 -0
  1254. package/web-types.json +231 -27
@@ -1,28 +1,45 @@
1
- import { PropType } from 'vue';
1
+ import { type PropType } from 'vue';
2
+ import { type TmNode } from './interface';
2
3
  declare const _default: import("vue").DefineComponent<{
3
4
  clsPrefix: {
4
5
  type: StringConstructor;
5
6
  required: true;
6
7
  };
8
+ indent: {
9
+ type: NumberConstructor;
10
+ required: true;
11
+ };
7
12
  expanded: BooleanConstructor;
8
13
  selected: BooleanConstructor;
9
14
  hide: BooleanConstructor;
10
15
  loading: BooleanConstructor;
11
16
  onClick: PropType<(e: MouseEvent) => void>;
17
+ tmNode: {
18
+ type: PropType<TmNode>;
19
+ required: true;
20
+ };
12
21
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
22
  clsPrefix: {
14
23
  type: StringConstructor;
15
24
  required: true;
16
25
  };
26
+ indent: {
27
+ type: NumberConstructor;
28
+ required: true;
29
+ };
17
30
  expanded: BooleanConstructor;
18
31
  selected: BooleanConstructor;
19
32
  hide: BooleanConstructor;
20
33
  loading: BooleanConstructor;
21
34
  onClick: PropType<(e: MouseEvent) => void>;
35
+ tmNode: {
36
+ type: PropType<TmNode>;
37
+ required: true;
38
+ };
22
39
  }>>, {
23
40
  hide: boolean;
24
41
  expanded: boolean;
25
42
  selected: boolean;
26
43
  loading: boolean;
27
- }>;
44
+ }, {}>;
28
45
  export default _default;
@@ -9,22 +9,27 @@ export default defineComponent({
9
9
  type: String,
10
10
  required: true
11
11
  },
12
+ indent: { type: Number, required: true },
12
13
  expanded: Boolean,
13
14
  selected: Boolean,
14
15
  hide: Boolean,
15
16
  loading: Boolean,
16
- onClick: Function
17
+ onClick: Function,
18
+ tmNode: {
19
+ type: Object,
20
+ required: true
21
+ }
17
22
  },
18
23
  setup(props) {
19
24
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
20
25
  const { renderSwitcherIconRef } = inject(treeInjectionKey, null);
21
26
  return () => {
22
- const { clsPrefix } = props;
27
+ const { clsPrefix, expanded, hide, indent, onClick } = props;
23
28
  return (h("span", { "data-switcher": true, class: [
24
29
  `${clsPrefix}-tree-node-switcher`,
25
- props.expanded && `${clsPrefix}-tree-node-switcher--expanded`,
26
- props.hide && `${clsPrefix}-tree-node-switcher--hide`
27
- ], onClick: props.onClick },
30
+ expanded && `${clsPrefix}-tree-node-switcher--expanded`,
31
+ hide && `${clsPrefix}-tree-node-switcher--hide`
32
+ ], style: { width: `${indent}px` }, onClick: onClick },
28
33
  h("div", { class: `${clsPrefix}-tree-node-switcher__icon` },
29
34
  h(NIconSwitchTransition, null, {
30
35
  default: () => {
@@ -34,7 +39,8 @@ export default defineComponent({
34
39
  const { value: renderSwitcherIcon } = renderSwitcherIconRef;
35
40
  return renderSwitcherIcon ? (renderSwitcherIcon({
36
41
  expanded: props.expanded,
37
- selected: props.selected
42
+ selected: props.selected,
43
+ option: props.tmNode.rawNode
38
44
  })) : (h(NBaseIcon, { clsPrefix: clsPrefix, key: "switcher" }, { default: () => h(SwitcherIcon, null) }));
39
45
  }
40
46
  }))));
@@ -1,5 +1,5 @@
1
- import { VNode } from 'vue';
2
- import { DropPosition, TreeOption } from './interface';
1
+ import { type VNode } from 'vue';
2
+ import { type DropPosition, type TreeOption } from './interface';
3
3
  export declare function renderDropMark({ position, offsetLevel, indent, el }: {
4
4
  position: 'before' | 'inside' | 'after';
5
5
  offsetLevel: number;
@@ -1,5 +1,5 @@
1
- import { CheckStrategy, TreeNode } from 'treemate';
2
- import { HTMLAttributes, Ref, VNodeChild } from 'vue';
1
+ import { type CheckStrategy, type TreeNode } from 'treemate';
2
+ import { type HTMLAttributes, type Ref, type VNodeChild } from 'vue';
3
3
  import type { MergedTheme } from '../../_mixins';
4
4
  import type { TreeTheme } from '../styles';
5
5
  export type Key = string | number;
@@ -56,6 +56,7 @@ export interface InternalDropInfo {
56
56
  export type RenderSwitcherIcon = (props: {
57
57
  expanded: boolean;
58
58
  selected: boolean;
59
+ option: TreeOption;
59
60
  }) => VNodeChild;
60
61
  export type CheckOnClick = (option: TreeOption) => boolean;
61
62
  export interface TreeInjection {
@@ -96,6 +97,7 @@ export interface TreeInjection {
96
97
  internalTreeSelect: boolean;
97
98
  checkOnClickRef: Ref<boolean | CheckOnClick>;
98
99
  disabledFieldRef: Ref<string>;
100
+ showLineRef: Ref<boolean>;
99
101
  handleSwitcherClick: (node: TreeNode<TreeOption>) => void;
100
102
  handleSelect: (node: TreeNode<TreeOption>) => void;
101
103
  handleCheck: (node: TreeNode<TreeOption>, checked: boolean) => void;
@@ -1,6 +1,6 @@
1
- import { Ref } from 'vue';
2
- import { TreeNode } from 'treemate';
3
- import { Key, TmNode, TreeOption } from './interface';
1
+ import { type Ref } from 'vue';
2
+ import { type TreeNode } from 'treemate';
3
+ import { type Key, type TmNode, type TreeOption } from './interface';
4
4
  export declare function useKeyboard({ props, fNodesRef, mergedExpandedKeysRef, mergedSelectedKeysRef, handleSelect, handleSwitcherClick }: {
5
5
  props: {
6
6
  keyboard: boolean;
@@ -1,6 +1,7 @@
1
1
  import { c, cB, cE, cM, cNotM } from '../../../_utils/cssr';
2
2
  import { iconSwitchTransition } from '../../../_styles/transitions/icon-switch.cssr';
3
3
  import { fadeInHeightExpandTransition } from '../../../_styles/transitions/fade-in-height-expand.cssr';
4
+ const iconSwitchTransitionNode = iconSwitchTransition();
4
5
  // vars:
5
6
  // --n-arrow-color
6
7
  // --n-bezier
@@ -11,6 +12,11 @@ import { fadeInHeightExpandTransition } from '../../../_styles/transitions/fade-
11
12
  // --n-node-color-pressed
12
13
  // --n-node-text-color
13
14
  // --n-node-text-color-disabled
15
+ // --n-node-wrapper-padding
16
+ // --n-line-offset-top
17
+ // --n-line-offset-bottom
18
+ // --n-node-content-height
19
+ // --n-line-height
14
20
  export default cB('tree', `
15
21
  font-size: var(--n-font-size);
16
22
  outline: none;
@@ -18,29 +24,21 @@ export default cB('tree', `
18
24
  margin: 0;
19
25
  padding: 0;
20
26
  list-style: none;
21
- `), c('>', [cB('tree-node', [c('&:first-child', {
22
- marginTop: 0
23
- })])]), cB('tree-node-indent', `
24
- flex-grow: 0;
25
- flex-shrink: 0;
26
- height: 0;
27
- `), cB('tree-motion-wrapper', [cM('expand', [fadeInHeightExpandTransition({
27
+ `), c('>', [cB('tree-node', [c('&:first-child', 'margin-top: 0;')])]), cB('tree-motion-wrapper', [cM('expand', [fadeInHeightExpandTransition({
28
28
  duration: '0.2s'
29
29
  })]), cM('collapse', [fadeInHeightExpandTransition({
30
30
  duration: '0.2s',
31
31
  reverse: true
32
32
  })])]), cB('tree-node-wrapper', `
33
33
  box-sizing: border-box;
34
- padding: 3px 0;
34
+ padding: var(--n-node-wrapper-padding);
35
35
  `), cB('tree-node', `
36
36
  transform: translate3d(0,0,0);
37
37
  position: relative;
38
38
  display: flex;
39
39
  border-radius: var(--n-node-border-radius);
40
40
  transition: background-color .3s var(--n-bezier);
41
- `, [cM('highlight', [cB('tree-node-content', [cE('text', {
42
- borderBottomColor: 'var(--n-node-text-color-disabled)'
43
- })])]), cM('disabled', [cB('tree-node-content', `
41
+ `, [cM('highlight', [cB('tree-node-content', [cE('text', 'border-bottom-color: var(--n-node-text-color-disabled);')])]), cM('disabled', [cB('tree-node-content', `
44
42
  color: var(--n-node-text-color-disabled);
45
43
  cursor: not-allowed;
46
44
  `)]), cNotM('disabled', [cM('clickable', [cB('tree-node-content', `
@@ -48,30 +46,39 @@ export default cB('tree', `
48
46
  `)])])]), cM('block-node', [cB('tree-node-content', `
49
47
  flex: 1;
50
48
  min-width: 0;
51
- `)]), cNotM('block-line', [cB('tree-node', [cNotM('disabled', [cB('tree-node-content', [c('&:hover', {
52
- backgroundColor: 'var(--n-node-color-hover)'
53
- })]), cM('selectable', [cB('tree-node-content', [c('&:active', {
54
- backgroundColor: 'var(--n-node-color-pressed)'
55
- })])]), cM('pending', [cB('tree-node-content', `
56
- background-color: var(--n-node-color-hover);
57
- `)]), cM('selected', [cB('tree-node-content', {
58
- backgroundColor: 'var(--n-node-color-active)'
59
- })])])])]), cM('block-line', [cB('tree-node', [cNotM('disabled', [c('&:hover', {
60
- backgroundColor: 'var(--n-node-color-hover)'
61
- }), cM('pending', `
62
- background-color: var(--n-node-color-hover);
63
- `), cM('selectable', [cNotM('selected', [c('&:active', {
64
- backgroundColor: 'var(--n-node-color-pressed)'
65
- })])]), cM('selected', {
66
- backgroundColor: 'var(--n-node-color-active)'
67
- })]), cM('disabled', `
49
+ `)]), cNotM('block-line', [cB('tree-node', [cNotM('disabled', [cB('tree-node-content', [c('&:hover', 'background: var(--n-node-color-hover);')]), cM('selectable', [cB('tree-node-content', [c('&:active', 'background: var(--n-node-color-pressed);')])]), cM('pending', [cB('tree-node-content', `
50
+ background: var(--n-node-color-hover);
51
+ `)]), cM('selected', [cB('tree-node-content', 'background: var(--n-node-color-active);')])])])]), cM('block-line', [cB('tree-node', [cNotM('disabled', [c('&:hover', 'background: var(--n-node-color-hover);'), cM('pending', `
52
+ background: var(--n-node-color-hover);
53
+ `), cM('selectable', [cNotM('selected', [c('&:active', 'background: var(--n-node-color-pressed);')])]), cM('selected', 'background: var(--n-node-color-active);')]), cM('disabled', `
68
54
  cursor: not-allowed;
69
- `)])]), cB('tree-node-switcher', `
55
+ `)])]), cB('tree-node-indent', `
56
+ flex-grow: 0;
57
+ flex-shrink: 0;
58
+ `, [cM('show-line', 'position: relative', [c('&::before', `
59
+ position: absolute;
60
+ left: 50%;
61
+ border-left: 1px solid var(--n-border-color);
62
+ transition: border-color .3s var(--n-bezier);
63
+ transform: translate(-50%);
64
+ content: "";
65
+ top: var(--n-line-offset-top);
66
+ bottom: var(--n-line-offset-bottom);
67
+ `), cM('last-child', [c('&::before', `
68
+ bottom: 50%;
69
+ `)]), cM('is-leaf', [c('&::after', `
70
+ position: absolute;
71
+ content: "";
72
+ left: calc(50% + 0.5px);
73
+ right: 0;
74
+ bottom: 50%;
75
+ transition: border-color .3s var(--n-bezier);
76
+ border-bottom: 1px solid var(--n-border-color);
77
+ `)])]), cNotM('show-line', 'height: 0;')]), cB('tree-node-switcher', `
70
78
  cursor: pointer;
71
79
  display: inline-flex;
72
80
  flex-shrink: 0;
73
- height: 24px;
74
- width: 24px;
81
+ height: var(--n-node-content-height);
75
82
  align-items: center;
76
83
  justify-content: center;
77
84
  transition: transform .15s var(--n-bezier);
@@ -84,49 +91,37 @@ export default cB('tree', `
84
91
  color: var(--n-arrow-color);
85
92
  transition: color .3s var(--n-bezier);
86
93
  font-size: 14px;
87
- `, [cB('icon', [iconSwitchTransition()]), cB('base-loading', `
94
+ `, [cB('icon', [iconSwitchTransitionNode]), cB('base-loading', `
88
95
  color: var(--n-loading-color);
89
96
  position: absolute;
90
97
  left: 0;
91
98
  top: 0;
92
99
  right: 0;
93
100
  bottom: 0;
94
- `, [iconSwitchTransition()]), cB('base-icon', [iconSwitchTransition()])]), cM('hide', {
95
- visibility: 'hidden'
96
- }), cM('expanded', {
97
- transform: 'rotate(90deg)'
98
- })]), cB('tree-node-checkbox', `
101
+ `, [iconSwitchTransitionNode]), cB('base-icon', [iconSwitchTransitionNode])]), cM('hide', 'visibility: hidden;'), cM('expanded', 'transform: rotate(90deg);')]), cB('tree-node-checkbox', `
99
102
  display: inline-flex;
100
- height: 24px;
101
- width: 16px;
103
+ height: var(--n-node-content-height);
102
104
  vertical-align: bottom;
103
105
  align-items: center;
104
106
  justify-content: center;
105
- margin-right: 4px;
106
- `, [cM('right', 'margin-left: 4px;')]), cM('checkable', [cB('tree-node-content', `
107
- padding: 0 6px;
108
- `)]), cB('tree-node-content', `
107
+ `), cB('tree-node-content', `
108
+ user-select: none;
109
109
  position: relative;
110
110
  display: inline-flex;
111
111
  align-items: center;
112
- min-height: 24px;
112
+ min-height: var(--n-node-content-height);
113
113
  box-sizing: border-box;
114
- line-height: 1.5;
114
+ line-height: var(--n-line-height);
115
115
  vertical-align: bottom;
116
116
  padding: 0 6px 0 4px;
117
117
  cursor: default;
118
118
  border-radius: var(--n-node-border-radius);
119
- text-decoration-color: #0000;
120
- text-decoration-line: underline;
121
119
  color: var(--n-node-text-color);
122
120
  transition:
123
121
  color .3s var(--n-bezier),
124
- text-decoration-color .3s var(--n-bezier),
125
122
  background-color .3s var(--n-bezier),
126
123
  border-color .3s var(--n-bezier);
127
- `, [c('&:last-child', {
128
- marginBottom: 0
129
- }), cE('prefix', `
124
+ `, [c('&:last-child', 'margin-bottom: 0;'), cE('prefix', `
130
125
  display: inline-flex;
131
126
  margin-right: 8px;
132
127
  `), cE('text', `
@@ -1,6 +1,6 @@
1
- import { ComputedRef } from 'vue';
2
- import { CheckStrategy } from 'treemate';
3
- import { Key, TmNode, TreeOption } from './interface';
1
+ import { type ComputedRef } from 'vue';
2
+ import { type CheckStrategy } from 'treemate';
3
+ import { type Key, type TmNode, type TreeOption } from './interface';
4
4
  export declare function useMergedCheckStrategy(props: {
5
5
  leafOnly: boolean;
6
6
  checkStrategy: CheckStrategy;
@@ -1,6 +1,9 @@
1
1
  import type { ThemeCommonVars } from '../../_styles/common';
2
2
  export declare const self: (vars: ThemeCommonVars) => {
3
3
  fontSize: string;
4
+ lineHeight: string;
5
+ nodeHeight: string;
6
+ nodeWrapperPadding: string;
4
7
  nodeBorderRadius: string;
5
8
  nodeColorHover: string;
6
9
  nodeColorPressed: string;
@@ -14,6 +17,9 @@ export declare const self: (vars: ThemeCommonVars) => {
14
17
  export type TreeThemeVars = ReturnType<typeof self>;
15
18
  declare const treeLight: import("../../_mixins/use-theme").Theme<"Tree", {
16
19
  fontSize: string;
20
+ lineHeight: string;
21
+ nodeHeight: string;
22
+ nodeWrapperPadding: string;
17
23
  nodeBorderRadius: string;
18
24
  nodeColorHover: string;
19
25
  nodeColorPressed: string;
@@ -8,6 +8,9 @@ export const self = (vars) => {
8
8
  const { borderRadiusSmall, hoverColor, pressedColor, primaryColor, textColor3, textColor2, textColorDisabled, fontSize } = vars;
9
9
  return {
10
10
  fontSize,
11
+ lineHeight: '1.5',
12
+ nodeHeight: '30px',
13
+ nodeWrapperPadding: '3px 0',
11
14
  nodeBorderRadius: borderRadiusSmall,
12
15
  nodeColorHover: hoverColor,
13
16
  nodeColorPressed: pressedColor,
@@ -1,10 +1,10 @@
1
- import { PropType, HTMLAttributes, VNodeChild } from 'vue';
2
- import { FollowerPlacement } from 'vueuc';
3
- import { CheckStrategy } from 'treemate';
1
+ import { type PropType, type HTMLAttributes, type VNodeChild } from 'vue';
2
+ import { type FollowerPlacement } from 'vueuc';
3
+ import { type CheckStrategy } from 'treemate';
4
4
  import type { FormValidationStatus } from '../../form/src/interface';
5
- import { Key, TreeOption } from '../../tree/src/interface';
5
+ import { type Key, type TreeOption } from '../../tree/src/interface';
6
6
  import type { SelectBaseOption, SelectOption } from '../../select/src/interface';
7
- import { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
7
+ import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
8
8
  import type { OnUpdateValue, TreeSelectNodeProps, TreeSelectOption, TreeSelectRenderTag } from './interface';
9
9
  type OnLoad = (node: TreeSelectOption) => Promise<void>;
10
10
  export declare const treeSelectProps: {
@@ -41,14 +41,14 @@ export declare const treeSelectProps: {
41
41
  };
42
42
  readonly disabledField: {
43
43
  readonly type: StringConstructor;
44
- readonly default: "disabled"; /**
45
- * @deprecated
46
- */
44
+ readonly default: "disabled";
47
45
  };
48
46
  readonly defaultExpandedKeys: {
49
47
  readonly type: PropType<Key[]>;
50
48
  readonly default: () => never[];
51
- };
49
+ }; /**
50
+ * @deprecated
51
+ */
52
52
  readonly indeterminateKeys: PropType<Key[]>;
53
53
  readonly renderSwitcherIcon: PropType<import("../../tree/src/interface").RenderSwitcherIcon>;
54
54
  readonly onUpdateIndeterminateKeys: PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
@@ -130,6 +130,9 @@ export declare const treeSelectProps: {
130
130
  }, {
131
131
  Tree: import("../../_mixins").Theme<"Tree", {
132
132
  fontSize: string;
133
+ lineHeight: string;
134
+ nodeHeight: string;
135
+ nodeWrapperPadding: string;
133
136
  nodeBorderRadius: string;
134
137
  nodeColorHover: string;
135
138
  nodeColorPressed: string;
@@ -283,6 +286,9 @@ export declare const treeSelectProps: {
283
286
  }, {
284
287
  Tree: import("../../_mixins").Theme<"Tree", {
285
288
  fontSize: string;
289
+ lineHeight: string;
290
+ nodeHeight: string;
291
+ nodeWrapperPadding: string;
286
292
  nodeBorderRadius: string;
287
293
  nodeColorHover: string;
288
294
  nodeColorPressed: string;
@@ -436,6 +442,9 @@ export declare const treeSelectProps: {
436
442
  }, {
437
443
  Tree: import("../../_mixins").Theme<"Tree", {
438
444
  fontSize: string;
445
+ lineHeight: string;
446
+ nodeHeight: string;
447
+ nodeWrapperPadding: string;
439
448
  nodeBorderRadius: string;
440
449
  nodeColorHover: string;
441
450
  nodeColorPressed: string;
@@ -613,14 +622,14 @@ declare const _default: import("vue").DefineComponent<{
613
622
  };
614
623
  readonly disabledField: {
615
624
  readonly type: StringConstructor;
616
- readonly default: "disabled"; /**
617
- * @deprecated
618
- */
625
+ readonly default: "disabled";
619
626
  };
620
627
  readonly defaultExpandedKeys: {
621
628
  readonly type: PropType<Key[]>;
622
629
  readonly default: () => never[];
623
- };
630
+ }; /**
631
+ * @deprecated
632
+ */
624
633
  readonly indeterminateKeys: PropType<Key[]>;
625
634
  readonly renderSwitcherIcon: PropType<import("../../tree/src/interface").RenderSwitcherIcon>;
626
635
  readonly onUpdateIndeterminateKeys: PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
@@ -702,6 +711,9 @@ declare const _default: import("vue").DefineComponent<{
702
711
  }, {
703
712
  Tree: import("../../_mixins").Theme<"Tree", {
704
713
  fontSize: string;
714
+ lineHeight: string;
715
+ nodeHeight: string;
716
+ nodeWrapperPadding: string;
705
717
  nodeBorderRadius: string;
706
718
  nodeColorHover: string;
707
719
  nodeColorPressed: string;
@@ -855,6 +867,9 @@ declare const _default: import("vue").DefineComponent<{
855
867
  }, {
856
868
  Tree: import("../../_mixins").Theme<"Tree", {
857
869
  fontSize: string;
870
+ lineHeight: string;
871
+ nodeHeight: string;
872
+ nodeWrapperPadding: string;
858
873
  nodeBorderRadius: string;
859
874
  nodeColorHover: string;
860
875
  nodeColorPressed: string;
@@ -1008,6 +1023,9 @@ declare const _default: import("vue").DefineComponent<{
1008
1023
  }, {
1009
1024
  Tree: import("../../_mixins").Theme<"Tree", {
1010
1025
  fontSize: string;
1026
+ lineHeight: string;
1027
+ nodeHeight: string;
1028
+ nodeWrapperPadding: string;
1011
1029
  nodeBorderRadius: string;
1012
1030
  nodeColorHover: string;
1013
1031
  nodeColorPressed: string;
@@ -1157,6 +1175,7 @@ declare const _default: import("vue").DefineComponent<{
1157
1175
  focus: () => void;
1158
1176
  focusInput: () => void;
1159
1177
  blur: () => void;
1178
+ blurInput: () => void;
1160
1179
  $el: HTMLElement;
1161
1180
  } | null>;
1162
1181
  followerInstRef: import("vue").Ref<{
@@ -1165,7 +1184,7 @@ declare const _default: import("vue").DefineComponent<{
1165
1184
  treeInstRef: import("vue").Ref<{
1166
1185
  handleKeydown: (e: KeyboardEvent) => void;
1167
1186
  } | null>;
1168
- mergedClsPrefix: import("vue").ComputedRef<string>;
1187
+ mergedClsPrefix: import("vue").Ref<string>;
1169
1188
  mergedValue: import("vue").ComputedRef<string | number | (string | number)[] | null>;
1170
1189
  mergedShow: import("vue").ComputedRef<boolean>;
1171
1190
  namespace: import("vue").ComputedRef<string | undefined>;
@@ -1334,6 +1353,9 @@ declare const _default: import("vue").DefineComponent<{
1334
1353
  peers: {
1335
1354
  Tree: import("../../_mixins").Theme<"Tree", {
1336
1355
  fontSize: string;
1356
+ lineHeight: string;
1357
+ nodeHeight: string;
1358
+ nodeWrapperPadding: string;
1337
1359
  nodeBorderRadius: string;
1338
1360
  nodeColorHover: string;
1339
1361
  nodeColorPressed: string;
@@ -1573,7 +1595,9 @@ declare const _default: import("vue").DefineComponent<{
1573
1595
  options: (TreeSelectOption | null)[];
1574
1596
  };
1575
1597
  focus: () => void;
1598
+ focusInput: () => void;
1576
1599
  blur: () => void;
1600
+ blurInput: () => void;
1577
1601
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1578
1602
  readonly renderLabel: PropType<import("./interface").TreeSelectRenderTreePart>;
1579
1603
  readonly renderPrefix: PropType<import("./interface").TreeSelectRenderTreePart>;
@@ -1608,14 +1632,14 @@ declare const _default: import("vue").DefineComponent<{
1608
1632
  };
1609
1633
  readonly disabledField: {
1610
1634
  readonly type: StringConstructor;
1611
- readonly default: "disabled"; /**
1612
- * @deprecated
1613
- */
1635
+ readonly default: "disabled";
1614
1636
  };
1615
1637
  readonly defaultExpandedKeys: {
1616
1638
  readonly type: PropType<Key[]>;
1617
1639
  readonly default: () => never[];
1618
- };
1640
+ }; /**
1641
+ * @deprecated
1642
+ */
1619
1643
  readonly indeterminateKeys: PropType<Key[]>;
1620
1644
  readonly renderSwitcherIcon: PropType<import("../../tree/src/interface").RenderSwitcherIcon>;
1621
1645
  readonly onUpdateIndeterminateKeys: PropType<MaybeArray<import("../../tree/src/Tree").OnUpdateIndeterminateKeys>>;
@@ -1697,6 +1721,9 @@ declare const _default: import("vue").DefineComponent<{
1697
1721
  }, {
1698
1722
  Tree: import("../../_mixins").Theme<"Tree", {
1699
1723
  fontSize: string;
1724
+ lineHeight: string;
1725
+ nodeHeight: string;
1726
+ nodeWrapperPadding: string;
1700
1727
  nodeBorderRadius: string;
1701
1728
  nodeColorHover: string;
1702
1729
  nodeColorPressed: string;
@@ -1850,6 +1877,9 @@ declare const _default: import("vue").DefineComponent<{
1850
1877
  }, {
1851
1878
  Tree: import("../../_mixins").Theme<"Tree", {
1852
1879
  fontSize: string;
1880
+ lineHeight: string;
1881
+ nodeHeight: string;
1882
+ nodeWrapperPadding: string;
1853
1883
  nodeBorderRadius: string;
1854
1884
  nodeColorHover: string;
1855
1885
  nodeColorPressed: string;
@@ -2003,6 +2033,9 @@ declare const _default: import("vue").DefineComponent<{
2003
2033
  }, {
2004
2034
  Tree: import("../../_mixins").Theme<"Tree", {
2005
2035
  fontSize: string;
2036
+ lineHeight: string;
2037
+ nodeHeight: string;
2038
+ nodeWrapperPadding: string;
2006
2039
  nodeBorderRadius: string;
2007
2040
  nodeColorHover: string;
2008
2041
  nodeColorPressed: string;
@@ -2145,12 +2178,12 @@ declare const _default: import("vue").DefineComponent<{
2145
2178
  }>;
2146
2179
  }>>>;
2147
2180
  }>>, {
2181
+ readonly options: TreeSelectOption[];
2148
2182
  readonly show: boolean | undefined;
2149
2183
  readonly separator: string;
2150
2184
  readonly multiple: boolean;
2151
2185
  readonly disabled: boolean | undefined;
2152
2186
  readonly to: string | boolean | HTMLElement;
2153
- readonly options: TreeSelectOption[];
2154
2187
  readonly loading: boolean;
2155
2188
  readonly bordered: boolean;
2156
2189
  readonly placement: FollowerPlacement;
@@ -2173,5 +2206,5 @@ declare const _default: import("vue").DefineComponent<{
2173
2206
  readonly leafOnly: boolean;
2174
2207
  readonly showPath: boolean;
2175
2208
  readonly defaultExpandedKeys: Key[];
2176
- }>;
2209
+ }, {}>;
2177
2210
  export default _default;
@@ -510,7 +510,9 @@ export default defineComponent({
510
510
  };
511
511
  },
512
512
  focus: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.focus(); },
513
- blur: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.blur(); }
513
+ focusInput: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.focusInput(); },
514
+ blur: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.blur(); },
515
+ blurInput: () => { var _a; return (_a = triggerInstRef.value) === null || _a === void 0 ? void 0 : _a.blurInput(); }
514
516
  };
515
517
  const themeRef = useTheme('TreeSelect', '-tree-select', style, treeSelectLight, props, mergedClsPrefixRef);
516
518
  const cssVarsRef = computed(() => {
@@ -1,5 +1,5 @@
1
- import { TreeMate, TreeNode } from 'treemate';
2
- import { HTMLAttributes, Ref, VNodeChild } from 'vue';
1
+ import { type TreeMate, type TreeNode } from 'treemate';
2
+ import { type HTMLAttributes, type Ref, type VNodeChild } from 'vue';
3
3
  import type { TreeOptionBase, TreeOption } from '../../tree/src/interface';
4
4
  export type TreeSelectOption = Omit<TreeOptionBase, 'checkboxDisabled' | 'isLeaf' | 'children'> & {
5
5
  children?: TreeSelectOption[];
@@ -59,5 +59,7 @@ export interface TreeSelectInst {
59
59
  options: Array<TreeSelectOption | null>;
60
60
  };
61
61
  focus: () => void;
62
+ focusInput: () => void;
62
63
  blur: () => void;
64
+ blurInput: () => void;
63
65
  }
@@ -1,4 +1,4 @@
1
- import { SelectBaseOption } from '../../select/src/interface';
2
- import { TreeSelectTmNode } from './interface';
1
+ import { type SelectBaseOption } from '../../select/src/interface';
2
+ import { type TreeSelectTmNode } from './interface';
3
3
  export declare function treeOption2SelectOption(tmNode: TreeSelectTmNode, labelField: string): SelectBaseOption;
4
4
  export declare function treeOption2SelectOptionWithPath(tmNode: TreeSelectTmNode, path: TreeSelectTmNode[], separator: string, labelField: string): SelectBaseOption;
@@ -22,6 +22,9 @@ declare const treeSelectLight: import("../../_mixins/use-theme").Theme<"TreeSele
22
22
  }, {
23
23
  Tree: import("../../_mixins/use-theme").Theme<"Tree", {
24
24
  fontSize: string;
25
+ lineHeight: string;
26
+ nodeHeight: string;
27
+ nodeWrapperPadding: string;
25
28
  nodeBorderRadius: string;
26
29
  nodeColorHover: string;
27
30
  nodeColorPressed: string;
@@ -400,7 +400,7 @@ declare const _default: import("vue").DefineComponent<{
400
400
  ulPadding: string;
401
401
  }, any>>>;
402
402
  }, {
403
- mergedClsPrefix: import("vue").ComputedRef<string>;
403
+ mergedClsPrefix: import("vue").Ref<string>;
404
404
  cssVars: import("vue").ComputedRef<{
405
405
  '--n-text-color': string;
406
406
  '--n-bezier': string;
@@ -606,5 +606,5 @@ declare const _default: import("vue").DefineComponent<{
606
606
  olPadding: string;
607
607
  ulPadding: string;
608
608
  }, any>>>;
609
- }>>, {}>;
609
+ }>>, {}, {}>;
610
610
  export default _default;
@@ -402,7 +402,7 @@ declare const _default: import("vue").DefineComponent<{
402
402
  ulPadding: string;
403
403
  }, any>>>;
404
404
  }, {
405
- mergedClsPrefix: import("vue").ComputedRef<string>;
405
+ mergedClsPrefix: import("vue").Ref<string>;
406
406
  cssVars: import("vue").ComputedRef<{
407
407
  '--n-bezier': string;
408
408
  '--n-font-size': string;
@@ -614,5 +614,5 @@ declare const _default: import("vue").DefineComponent<{
614
614
  }, any>>>;
615
615
  }>>, {
616
616
  readonly alignText: boolean;
617
- }>;
617
+ }, {}>;
618
618
  export default _default;