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
@@ -44,7 +44,7 @@ exports.default = (0, vue_1.defineComponent)({
44
44
  const restoreValidation = () => {
45
45
  const { value } = formItemInstRef;
46
46
  if (value) {
47
- return value.restoreValidation();
47
+ value.restoreValidation();
48
48
  }
49
49
  };
50
50
  return {
@@ -445,5 +445,5 @@ declare const _default: import("vue").DefineComponent<{
445
445
  readonly showLabel: boolean | undefined;
446
446
  readonly ignorePathChange: boolean;
447
447
  readonly privateShow: boolean;
448
- }>;
448
+ }, {}>;
449
449
  export default _default;
@@ -46,7 +46,7 @@ exports.default = (0, vue_1.defineComponent)({
46
46
  const restoreValidation = () => {
47
47
  const { value } = formItemInstRef;
48
48
  if (value) {
49
- return value.restoreValidation();
49
+ value.restoreValidation();
50
50
  }
51
51
  };
52
52
  return {
@@ -463,5 +463,5 @@ declare const _default: import("vue").DefineComponent<{
463
463
  ignorePathChange: boolean;
464
464
  gutter: string | number | [number, number];
465
465
  pull: import("../../legacy-grid/src/interface").Span;
466
- }>;
466
+ }, {}>;
467
467
  export default _default;
@@ -43,7 +43,7 @@ exports.default = (0, vue_1.defineComponent)({
43
43
  const restoreValidation = () => {
44
44
  const { value } = formItemColInstRef;
45
45
  if (value) {
46
- return value.restoreValidation();
46
+ value.restoreValidation();
47
47
  }
48
48
  };
49
49
  return {
@@ -1,6 +1,6 @@
1
- import { Ref, VNodeChild } from 'vue';
2
- import { ValidateError, RuleItem, ValidateOption, ValidateMessages } from 'async-validator';
3
- import { FormSetupProps } from './Form';
1
+ import type { Ref, VNodeChild } from 'vue';
2
+ import type { ValidateError, RuleItem, ValidateOption, ValidateMessages } from 'async-validator';
3
+ import type { FormSetupProps } from './Form';
4
4
  export interface FormRules {
5
5
  [path: string]: FormRules | FormItemRule | FormItemRule[];
6
6
  }
@@ -1,4 +1,4 @@
1
- import { ComputedRef } from 'vue';
1
+ import { type ComputedRef } from 'vue';
2
2
  import type { FormItemSetupProps } from './FormItem';
3
3
  import type { Size, FormItemRule } from './interface';
4
4
  export declare function formItemSize(props: FormItemSetupProps): {
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
2
  export default _default;
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { type PropType } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  type Gradient = string | {
4
4
  deg?: string | number;
@@ -110,7 +110,7 @@ declare const _default: import("vue").DefineComponent<{
110
110
  colorEndSuccess: string;
111
111
  }, any>>>;
112
112
  }, {
113
- mergedClsPrefix: import("vue").ComputedRef<string>;
113
+ mergedClsPrefix: import("vue").Ref<string>;
114
114
  compatibleType: import("vue").ComputedRef<"error" | "primary" | "info" | "success" | "warning">;
115
115
  styleFontSize: import("vue").ComputedRef<string | number | undefined>;
116
116
  styleBgImage: import("vue").ComputedRef<string | undefined>;
@@ -176,5 +176,5 @@ declare const _default: import("vue").DefineComponent<{
176
176
  }, any>>>;
177
177
  }>>, {
178
178
  readonly type: "error" | "primary" | "info" | "success" | "warning" | "danger";
179
- }>;
179
+ }, {}>;
180
180
  export default _default;
@@ -1,3 +1,3 @@
1
- import { GradientTextTheme } from './light';
1
+ import type { GradientTextTheme } from './light';
2
2
  declare const gradientTextDark: GradientTextTheme;
3
3
  export default gradientTextDark;
@@ -1,6 +1,6 @@
1
- import { CSSProperties, PropType, Ref } from 'vue';
2
- import { VResizeObserverOnResize } from 'vueuc';
3
- import { ExtractPublicPropTypes } from '../../_utils';
1
+ import { type CSSProperties, type PropType, type Ref } from 'vue';
2
+ import { type VResizeObserverOnResize } from 'vueuc';
3
+ import { type ExtractPublicPropTypes } from '../../_utils';
4
4
  export declare const gridProps: {
5
5
  readonly layoutShiftDisabled: BooleanConstructor;
6
6
  readonly responsive: {
@@ -63,10 +63,10 @@ declare const _default: import("vue").DefineComponent<{
63
63
  }, {
64
64
  isSsr: boolean;
65
65
  contentEl: Ref<HTMLElement | undefined>;
66
- mergedClsPrefix: import("vue").ComputedRef<string>;
66
+ mergedClsPrefix: Ref<string>;
67
67
  style: import("vue").ComputedRef<CSSProperties>;
68
68
  isResponsive: import("vue").ComputedRef<boolean>;
69
- responsiveQuery: import("vue").ComputedRef<number | string[] | undefined>;
69
+ responsiveQuery: import("vue").ComputedRef<number | ("m" | "s" | "l" | "xs" | "xl" | "xxl")[] | undefined>;
70
70
  responsiveCols: import("vue").ComputedRef<number>;
71
71
  handleResize: import("vue").ComputedRef<VResizeObserverOnResize | undefined>;
72
72
  overflow: Ref<boolean>;
@@ -104,5 +104,5 @@ declare const _default: import("vue").DefineComponent<{
104
104
  readonly collapsedRows: number;
105
105
  readonly xGap: string | number;
106
106
  readonly yGap: string | number;
107
- }>;
107
+ }, {}>;
108
108
  export default _default;
@@ -147,7 +147,7 @@ exports.default = (0, vue_1.defineComponent)({
147
147
  const childrenAndRawSpan = [];
148
148
  const { collapsed, collapsedRows, responsiveCols, responsiveQuery } = this;
149
149
  rawChildren.forEach((child) => {
150
- var _a, _b, _c, _d;
150
+ var _a, _b, _c, _d, _e;
151
151
  if (((_a = child === null || child === void 0 ? void 0 : child.type) === null || _a === void 0 ? void 0 : _a.__GRID_ITEM__) !== true)
152
152
  return;
153
153
  if ((0, _utils_1.isNodeVShowFalse)(child)) {
@@ -167,8 +167,11 @@ exports.default = (0, vue_1.defineComponent)({
167
167
  // We don't want v-show to control display, so we need to stripe it
168
168
  // here, nor it may mess child's style
169
169
  child.dirs = ((_b = child.dirs) === null || _b === void 0 ? void 0 : _b.filter(({ dir }) => dir !== vue_1.vShow)) || null;
170
+ if (((_c = child.dirs) === null || _c === void 0 ? void 0 : _c.length) === 0) {
171
+ child.dirs = null;
172
+ }
170
173
  const clonedChild = (0, vue_1.cloneVNode)(child);
171
- const rawChildSpan = Number((_d = (0, seemly_1.parseResponsivePropValue)((_c = clonedChild.props) === null || _c === void 0 ? void 0 : _c.span, responsiveQuery)) !== null && _d !== void 0 ? _d : config_2.defaultSpan);
174
+ const rawChildSpan = Number((_e = (0, seemly_1.parseResponsivePropValue)((_d = clonedChild.props) === null || _d === void 0 ? void 0 : _d.span, responsiveQuery)) !== null && _e !== void 0 ? _e : config_2.defaultSpan);
172
175
  if (rawChildSpan === 0)
173
176
  return;
174
177
  childrenAndRawSpan.push({
@@ -181,7 +184,7 @@ exports.default = (0, vue_1.defineComponent)({
181
184
  if (maybeSuffixNode === null || maybeSuffixNode === void 0 ? void 0 : maybeSuffixNode.props) {
182
185
  const suffixPropValue = (_b = maybeSuffixNode.props) === null || _b === void 0 ? void 0 : _b.suffix;
183
186
  if (suffixPropValue !== undefined && suffixPropValue !== false) {
184
- suffixSpan = (_d = (_c = maybeSuffixNode.props) === null || _c === void 0 ? void 0 : _c.span) !== null && _d !== void 0 ? _d : config_2.defaultSpan;
187
+ suffixSpan = Number((_d = (0, seemly_1.parseResponsivePropValue)((_c = maybeSuffixNode.props) === null || _c === void 0 ? void 0 : _c.span, responsiveQuery)) !== null && _d !== void 0 ? _d : config_2.defaultSpan);
185
188
  maybeSuffixNode.props.privateSpan = suffixSpan;
186
189
  maybeSuffixNode.props.privateColStart =
187
190
  responsiveCols + 1 - suffixSpan;
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { type PropType } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  export declare const defaultSpan = 1;
4
4
  export declare const gridItemProps: {
@@ -70,5 +70,5 @@ declare const _default: import("vue").DefineComponent<{
70
70
  readonly span: string | number;
71
71
  readonly suffix: boolean;
72
72
  readonly privateShow: boolean;
73
- }>;
73
+ }, {}>;
74
74
  export default _default;
@@ -1,11 +1,11 @@
1
- import { Component, PropType } from 'vue';
1
+ import { type Component, type PropType } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  export type Depth = 1 | 2 | 3 | 4 | 5 | '1' | '2' | '3' | '4' | '5' | undefined;
4
4
  export declare const iconProps: {
5
5
  readonly depth: PropType<Depth>;
6
6
  readonly size: PropType<string | number>;
7
7
  readonly color: StringConstructor;
8
- readonly component: PropType<Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
8
+ readonly component: PropType<Component>;
9
9
  readonly theme: PropType<import("../../_mixins").Theme<"Icon", {
10
10
  color: string;
11
11
  opacity1Depth: string;
@@ -36,7 +36,7 @@ export declare const NIcon: import("vue").DefineComponent<{
36
36
  readonly depth: PropType<Depth>;
37
37
  readonly size: PropType<string | number>;
38
38
  readonly color: StringConstructor;
39
- readonly component: PropType<Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
39
+ readonly component: PropType<Component>;
40
40
  readonly theme: PropType<import("../../_mixins").Theme<"Icon", {
41
41
  color: string;
42
42
  opacity1Depth: string;
@@ -62,7 +62,7 @@ export declare const NIcon: import("vue").DefineComponent<{
62
62
  opacity5Depth: string;
63
63
  }, any>>>;
64
64
  }, {
65
- mergedClsPrefix: import("vue").ComputedRef<string>;
65
+ mergedClsPrefix: import("vue").Ref<string>;
66
66
  mergedStyle: import("vue").ComputedRef<{
67
67
  fontSize: string | undefined;
68
68
  color: string | undefined;
@@ -78,7 +78,7 @@ export declare const NIcon: import("vue").DefineComponent<{
78
78
  readonly depth: PropType<Depth>;
79
79
  readonly size: PropType<string | number>;
80
80
  readonly color: StringConstructor;
81
- readonly component: PropType<Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>;
81
+ readonly component: PropType<Component>;
82
82
  readonly theme: PropType<import("../../_mixins").Theme<"Icon", {
83
83
  color: string;
84
84
  opacity1Depth: string;
@@ -103,4 +103,4 @@ export declare const NIcon: import("vue").DefineComponent<{
103
103
  opacity4Depth: string;
104
104
  opacity5Depth: string;
105
105
  }, any>>>;
106
- }>>, {}>;
106
+ }>>, {}, {}>;
@@ -1,4 +1,4 @@
1
- import { ExtractPublicPropTypes } from '../../_utils';
1
+ import { type ExtractPublicPropTypes } from '../../_utils';
2
2
  export declare const iconWrapperProps: {
3
3
  readonly size: {
4
4
  readonly type: NumberConstructor;
@@ -73,4 +73,4 @@ export declare const NIconWrapper: import("vue").DefineComponent<{
73
73
  }>>, {
74
74
  readonly size: number;
75
75
  readonly borderRadius: number;
76
- }>;
76
+ }, {}>;
@@ -20,8 +20,8 @@ exports.NIconWrapper = (0, vue_1.defineComponent)({
20
20
  name: 'IconWrapper',
21
21
  props: exports.iconWrapperProps,
22
22
  setup(props, { slots }) {
23
- const themeRef = (0, _mixins_1.useTheme)('IconWrapper', '-icon-wrapper', index_cssr_1.default, styles_1.iconWrapperLight, props);
24
23
  const { mergedClsPrefixRef, inlineThemeDisabled } = (0, _mixins_1.useConfig)(props);
24
+ const themeRef = (0, _mixins_1.useTheme)('IconWrapper', '-icon-wrapper', index_cssr_1.default, styles_1.iconWrapperLight, props, mergedClsPrefixRef);
25
25
  const cssVarsRef = (0, vue_1.computed)(() => {
26
26
  const { common: { cubicBezierEaseInOut }, self: { color, iconColor } } = themeRef.value;
27
27
  return {
@@ -1,10 +1,12 @@
1
- import { PropType, ImgHTMLAttributes } from 'vue';
1
+ import { type PropType, type ImgHTMLAttributes } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  import type { IntersectionObserverOptions } from './utils';
4
4
  export interface ImageInst {
5
5
  click: () => void;
6
6
  }
7
7
  export declare const imageProps: {
8
+ onPreviewPrev: PropType<() => void>;
9
+ onPreviewNext: PropType<() => void>;
8
10
  showToolbar: {
9
11
  type: BooleanConstructor;
10
12
  default: boolean;
@@ -118,6 +120,8 @@ export declare const imageProps: {
118
120
  };
119
121
  export type ImageProps = ExtractPublicPropTypes<typeof imageProps>;
120
122
  declare const _default: import("vue").DefineComponent<{
123
+ onPreviewPrev: PropType<() => void>;
124
+ onPreviewNext: PropType<() => void>;
121
125
  showToolbar: {
122
126
  type: BooleanConstructor;
123
127
  default: boolean;
@@ -230,7 +234,7 @@ declare const _default: import("vue").DefineComponent<{
230
234
  onLoad: PropType<(e: Event) => void>;
231
235
  }, {
232
236
  click: () => void;
233
- mergedClsPrefix: import("vue").Ref<string> | import("vue").ComputedRef<string>;
237
+ mergedClsPrefix: import("vue").Ref<string>;
234
238
  groupId: string | undefined;
235
239
  previewInstRef: import("vue").Ref<{
236
240
  setThumbnailEl: (e: HTMLImageElement | null) => void;
@@ -245,6 +249,8 @@ declare const _default: import("vue").DefineComponent<{
245
249
  mergedOnError: (e: Event) => void;
246
250
  mergedOnLoad: (e: Event) => void;
247
251
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
252
+ onPreviewPrev: PropType<() => void>;
253
+ onPreviewNext: PropType<() => void>;
248
254
  showToolbar: {
249
255
  type: BooleanConstructor;
250
256
  default: boolean;
@@ -361,5 +367,5 @@ declare const _default: import("vue").DefineComponent<{
361
367
  showToolbar: boolean;
362
368
  showToolbarTooltip: boolean;
363
369
  previewDisabled: boolean;
364
- }>;
370
+ }, {}>;
365
371
  export default _default;
@@ -50,21 +50,19 @@ exports.default = (0, vue_1.defineComponent)({
50
50
  (_a = imageRef.value) === null || _a === void 0 ? void 0 : _a.setAttribute('data-group-id', (imageGroupHandle === null || imageGroupHandle === void 0 ? void 0 : imageGroupHandle.groupId) || '');
51
51
  });
52
52
  (0, vue_1.onMounted)(() => {
53
- if (is_native_lazy_load_1.isImageSupportNativeLazy) {
54
- return;
55
- }
56
- let unobserve;
57
- const stopWatchHandle = (0, vue_1.watchEffect)(() => {
58
- unobserve === null || unobserve === void 0 ? void 0 : unobserve();
59
- unobserve = undefined;
60
- if (props.lazy) {
53
+ // Use IntersectionObserver if lazy and intersectionObserverOptions is set
54
+ if (props.lazy && props.intersectionObserverOptions) {
55
+ let unobserve;
56
+ const stopWatchHandle = (0, vue_1.watchEffect)(() => {
57
+ unobserve === null || unobserve === void 0 ? void 0 : unobserve();
58
+ unobserve = undefined;
61
59
  unobserve = (0, utils_1.observeIntersection)(imageRef.value, props.intersectionObserverOptions, shouldStartLoadingRef);
62
- }
63
- });
64
- (0, vue_1.onBeforeUnmount)(() => {
65
- stopWatchHandle();
66
- unobserve === null || unobserve === void 0 ? void 0 : unobserve();
67
- });
60
+ });
61
+ (0, vue_1.onBeforeUnmount)(() => {
62
+ stopWatchHandle();
63
+ unobserve === null || unobserve === void 0 ? void 0 : unobserve();
64
+ });
65
+ }
68
66
  });
69
67
  (0, vue_1.watchEffect)(() => {
70
68
  var _a;
@@ -99,14 +97,14 @@ exports.default = (0, vue_1.defineComponent)({
99
97
  var _a, _b;
100
98
  const { mergedClsPrefix, imgProps = {}, loaded, $attrs, lazy } = this;
101
99
  const placeholderNode = (_b = (_a = this.$slots).placeholder) === null || _b === void 0 ? void 0 : _b.call(_a);
102
- const loadSrc = this.src || imgProps.src || '';
103
- const imgNode = (0, vue_1.h)('img', Object.assign(Object.assign({}, imgProps), { ref: 'imageRef', width: this.width || imgProps.width, height: this.height || imgProps.height, src: is_native_lazy_load_1.isImageSupportNativeLazy
104
- ? loadSrc
105
- : this.showError
106
- ? this.fallbackSrc
107
- : this.shouldStartLoading
100
+ const loadSrc = this.src || imgProps.src;
101
+ const imgNode = (0, vue_1.h)('img', Object.assign(Object.assign({}, imgProps), { ref: 'imageRef', width: this.width || imgProps.width, height: this.height || imgProps.height, src: this.showError
102
+ ? this.fallbackSrc
103
+ : lazy && this.intersectionObserverOptions
104
+ ? this.shouldStartLoading
108
105
  ? loadSrc
109
- : undefined, alt: this.alt || imgProps.alt, 'aria-label': this.alt || imgProps.alt, onClick: this.mergedOnClick, onError: this.mergedOnError, onLoad: this.mergedOnLoad,
106
+ : undefined
107
+ : loadSrc, alt: this.alt || imgProps.alt, 'aria-label': this.alt || imgProps.alt, onClick: this.mergedOnClick, onError: this.mergedOnError, onLoad: this.mergedOnLoad,
110
108
  // If interseciton observer options is set, do not use native lazy
111
109
  loading: is_native_lazy_load_1.isImageSupportNativeLazy && lazy && !this.intersectionObserverOptions
112
110
  ? 'lazy'
@@ -1,11 +1,13 @@
1
- import { Ref } from 'vue';
2
- import { ExtractPublicPropTypes } from '../../_utils';
1
+ import { type Ref } from 'vue';
2
+ import { type ExtractPublicPropTypes } from '../../_utils';
3
3
  import type { ImagePreviewInst } from './ImagePreview';
4
4
  export declare const imageGroupInjectionKey: import("vue").InjectionKey<ImagePreviewInst & {
5
5
  groupId: string;
6
6
  mergedClsPrefixRef: Ref<string>;
7
7
  }>;
8
8
  export declare const imageGroupProps: {
9
+ onPreviewPrev: import("vue").PropType<() => void>;
10
+ onPreviewNext: import("vue").PropType<() => void>;
9
11
  showToolbar: {
10
12
  type: BooleanConstructor;
11
13
  default: boolean;
@@ -101,6 +103,8 @@ export declare const imageGroupProps: {
101
103
  };
102
104
  export type ImageGroupProps = ExtractPublicPropTypes<typeof imageGroupProps>;
103
105
  declare const _default: import("vue").DefineComponent<{
106
+ onPreviewPrev: import("vue").PropType<() => void>;
107
+ onPreviewNext: import("vue").PropType<() => void>;
104
108
  showToolbar: {
105
109
  type: BooleanConstructor;
106
110
  default: boolean;
@@ -194,7 +198,7 @@ declare const _default: import("vue").DefineComponent<{
194
198
  }>;
195
199
  }>>>;
196
200
  }, {
197
- mergedClsPrefix: import("vue").ComputedRef<string>;
201
+ mergedClsPrefix: Ref<string>;
198
202
  previewInstRef: Ref<{
199
203
  setThumbnailEl: (e: HTMLImageElement | null) => void;
200
204
  setPreviewSrc: (src?: string | undefined) => void;
@@ -203,6 +207,8 @@ declare const _default: import("vue").DefineComponent<{
203
207
  next: () => void;
204
208
  prev: () => void;
205
209
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
210
+ onPreviewPrev: import("vue").PropType<() => void>;
211
+ onPreviewNext: import("vue").PropType<() => void>;
206
212
  showToolbar: {
207
213
  type: BooleanConstructor;
208
214
  default: boolean;
@@ -298,5 +304,5 @@ declare const _default: import("vue").DefineComponent<{
298
304
  }>>, {
299
305
  showToolbar: boolean;
300
306
  showToolbarTooltip: boolean;
301
- }>;
307
+ }, {}>;
302
308
  export default _default;
@@ -26,6 +26,7 @@ exports.default = (0, vue_1.defineComponent)({
26
26
  (_a = previewInstRef.value) === null || _a === void 0 ? void 0 : _a.setPreviewSrc(src);
27
27
  };
28
28
  function go(step) {
29
+ var _a, _b;
29
30
  if (!(vm === null || vm === void 0 ? void 0 : vm.proxy))
30
31
  return;
31
32
  const container = vm.proxy.$el.parentElement;
@@ -40,6 +41,7 @@ exports.default = (0, vue_1.defineComponent)({
40
41
  else {
41
42
  setPreviewSrc(imgs[0].dataset.previewSrc);
42
43
  }
44
+ step === 1 ? (_a = props.onPreviewNext) === null || _a === void 0 ? void 0 : _a.call(props) : (_b = props.onPreviewPrev) === null || _b === void 0 ? void 0 : _b.call(props);
43
45
  }
44
46
  (0, vue_1.provide)(exports.imageGroupInjectionKey, {
45
47
  mergedClsPrefixRef,
@@ -58,8 +60,12 @@ exports.default = (0, vue_1.defineComponent)({
58
60
  return {
59
61
  mergedClsPrefix: mergedClsPrefixRef,
60
62
  previewInstRef,
61
- next: () => go(1),
62
- prev: () => go(-1)
63
+ next: () => {
64
+ go(1);
65
+ },
66
+ prev: () => {
67
+ go(-1);
68
+ }
63
69
  };
64
70
  },
65
71
  render() {
@@ -1,4 +1,4 @@
1
- import { PropType, VNode } from 'vue';
1
+ import { type PropType, type VNode } from 'vue';
2
2
  export interface ImagePreviewInst {
3
3
  setThumbnailEl: (e: HTMLImageElement | null) => void;
4
4
  setPreviewSrc: (src?: string) => void;
@@ -11,6 +11,8 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: StringConstructor;
12
12
  required: true;
13
13
  };
14
+ onPreviewPrev: PropType<() => void>;
15
+ onPreviewNext: PropType<() => void>;
14
16
  showToolbar: {
15
17
  type: BooleanConstructor;
16
18
  default: boolean;
@@ -113,7 +115,7 @@ declare const _default: import("vue").DefineComponent<{
113
115
  show: import("vue").Ref<boolean>;
114
116
  appear: Readonly<import("vue").Ref<boolean>>;
115
117
  displayed: import("vue").Ref<boolean>;
116
- previewedImgProps: import("vue").Ref<import("vue").ImgHTMLAttributes> | undefined;
118
+ previewedImgProps: import("vue").Ref<import("vue").ImgHTMLAttributes | undefined> | undefined;
117
119
  handleWheel(e: WheelEvent): void;
118
120
  handlePreviewMousedown: (e: MouseEvent) => void;
119
121
  handlePreviewDblclick: (e: MouseEvent) => void;
@@ -122,11 +124,12 @@ declare const _default: import("vue").DefineComponent<{
122
124
  handleDragStart: (e: DragEvent) => void;
123
125
  zoomIn: () => void;
124
126
  zoomOut: () => void;
127
+ handleDownloadClick: () => void;
125
128
  rotateCounterclockwise: () => void;
126
129
  rotateClockwise: () => void;
127
130
  handleSwitchPrev: () => void;
128
131
  handleSwitchNext: () => void;
129
- withTooltip: (node: VNode, tooltipKey: "tipPrevious" | "tipNext" | "tipCounterclockwise" | "tipClockwise" | "tipZoomOut" | "tipZoomIn" | "tipClose" | "tipOriginalSize") => VNode;
132
+ withTooltip: (node: VNode, tooltipKey: "tipPrevious" | "tipNext" | "tipCounterclockwise" | "tipClockwise" | "tipZoomOut" | "tipZoomIn" | "tipDownload" | "tipClose" | "tipOriginalSize") => VNode;
130
133
  resizeToOrignalImageSize: () => void;
131
134
  cssVars: import("vue").ComputedRef<{
132
135
  '--n-bezier': string;
@@ -144,6 +147,8 @@ declare const _default: import("vue").DefineComponent<{
144
147
  type: StringConstructor;
145
148
  required: true;
146
149
  };
150
+ onPreviewPrev: PropType<() => void>;
151
+ onPreviewNext: PropType<() => void>;
147
152
  showToolbar: {
148
153
  type: BooleanConstructor;
149
154
  default: boolean;
@@ -239,5 +244,5 @@ declare const _default: import("vue").DefineComponent<{
239
244
  }>>, {
240
245
  showToolbar: boolean;
241
246
  showToolbarTooltip: boolean;
242
- }>;
247
+ }, {}>;
243
248
  export default _default;
@@ -10,6 +10,7 @@ const vueuc_1 = require("vueuc");
10
10
  const evtd_1 = require("evtd");
11
11
  const seemly_1 = require("seemly");
12
12
  const lodash_1 = require("lodash");
13
+ const utils_1 = require("../../upload/src/utils");
13
14
  const icons_1 = require("../../_internal/icons");
14
15
  const _mixins_1 = require("../../_mixins");
15
16
  const _internal_1 = require("../../_internal");
@@ -257,6 +258,12 @@ exports.default = (0, vue_1.defineComponent)({
257
258
  derivePreviewStyle();
258
259
  }
259
260
  }
261
+ function handleDownloadClick() {
262
+ const src = previewSrcRef.value;
263
+ if (src) {
264
+ (0, utils_1.download)(src, undefined);
265
+ }
266
+ }
260
267
  function derivePreviewStyle(transition = true) {
261
268
  var _a;
262
269
  const { value: preview } = previewRef;
@@ -355,6 +362,7 @@ exports.default = (0, vue_1.defineComponent)({
355
362
  e.preventDefault();
356
363
  }, zoomIn,
357
364
  zoomOut,
365
+ handleDownloadClick,
358
366
  rotateCounterclockwise,
359
367
  rotateClockwise,
360
368
  handleSwitchPrev,
@@ -403,6 +411,7 @@ exports.default = (0, vue_1.defineComponent)({
403
411
  }), 'tipOriginalSize'),
404
412
  withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.zoomOut }, { default: () => (0, vue_1.h)(icons_1.ZoomOutIcon, null) }), 'tipZoomOut'),
405
413
  withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.zoomIn }, { default: () => (0, vue_1.h)(icons_1.ZoomInIcon, null) }), 'tipZoomIn'),
414
+ withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.handleDownloadClick }, { default: () => icons_2.downloadIcon }), 'tipDownload'),
406
415
  withTooltip((0, vue_1.h)(_internal_1.NBaseIcon, { clsPrefix: clsPrefix, onClick: this.toggleShow }, { default: () => icons_2.closeIcon }), 'tipClose')));
407
416
  }
408
417
  })) : null,
@@ -1,3 +1,4 @@
1
1
  export declare const prevIcon: JSX.Element;
2
2
  export declare const nextIcon: JSX.Element;
3
3
  export declare const closeIcon: JSX.Element;
4
+ export declare const downloadIcon: JSX.Element;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.closeIcon = exports.nextIcon = exports.prevIcon = void 0;
3
+ exports.downloadIcon = exports.closeIcon = exports.nextIcon = exports.prevIcon = void 0;
4
4
  const vue_1 = require("vue");
5
5
  exports.prevIcon = ((0, vue_1.h)("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
6
6
  (0, vue_1.h)("path", { d: "M6 5C5.75454 5 5.55039 5.17688 5.50806 5.41012L5.5 5.5V14.5C5.5 14.7761 5.72386 15 6 15C6.24546 15 6.44961 14.8231 6.49194 14.5899L6.5 14.5V5.5C6.5 5.22386 6.27614 5 6 5ZM13.8536 5.14645C13.68 4.97288 13.4106 4.9536 13.2157 5.08859L13.1464 5.14645L8.64645 9.64645C8.47288 9.82001 8.4536 10.0894 8.58859 10.2843L8.64645 10.3536L13.1464 14.8536C13.3417 15.0488 13.6583 15.0488 13.8536 14.8536C14.0271 14.68 14.0464 14.4106 13.9114 14.2157L13.8536 14.1464L9.70711 10L13.8536 5.85355C14.0488 5.65829 14.0488 5.34171 13.8536 5.14645Z", fill: "currentColor" })));
@@ -8,3 +8,5 @@ exports.nextIcon = ((0, vue_1.h)("svg", { viewBox: "0 0 20 20", fill: "none", xm
8
8
  (0, vue_1.h)("path", { d: "M13.5 5C13.7455 5 13.9496 5.17688 13.9919 5.41012L14 5.5V14.5C14 14.7761 13.7761 15 13.5 15C13.2545 15 13.0504 14.8231 13.0081 14.5899L13 14.5V5.5C13 5.22386 13.2239 5 13.5 5ZM5.64645 5.14645C5.82001 4.97288 6.08944 4.9536 6.28431 5.08859L6.35355 5.14645L10.8536 9.64645C11.0271 9.82001 11.0464 10.0894 10.9114 10.2843L10.8536 10.3536L6.35355 14.8536C6.15829 15.0488 5.84171 15.0488 5.64645 14.8536C5.47288 14.68 5.4536 14.4106 5.58859 14.2157L5.64645 14.1464L9.79289 10L5.64645 5.85355C5.45118 5.65829 5.45118 5.34171 5.64645 5.14645Z", fill: "currentColor" })));
9
9
  exports.closeIcon = ((0, vue_1.h)("svg", { viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
10
10
  (0, vue_1.h)("path", { d: "M4.089 4.216l.057-.07a.5.5 0 0 1 .638-.057l.07.057L10 9.293l5.146-5.147a.5.5 0 0 1 .638-.057l.07.057a.5.5 0 0 1 .057.638l-.057.07L10.707 10l5.147 5.146a.5.5 0 0 1 .057.638l-.057.07a.5.5 0 0 1-.638.057l-.07-.057L10 10.707l-5.146 5.147a.5.5 0 0 1-.638.057l-.07-.057a.5.5 0 0 1-.057-.638l.057-.07L9.293 10L4.146 4.854a.5.5 0 0 1-.057-.638l.057-.07l-.057.07z", fill: "currentColor" })));
11
+ exports.downloadIcon = ((0, vue_1.h)("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", viewBox: "0 0 1024 1024" },
12
+ (0, vue_1.h)("path", { fill: "currentColor", d: "M505.7 661a8 8 0 0 0 12.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" })));
@@ -1,4 +1,4 @@
1
- import { ImgHTMLAttributes, Ref } from 'vue';
1
+ import type { ImgHTMLAttributes, PropType, Ref } from 'vue';
2
2
  export interface MoveStrategy {
3
3
  moveVerticalDirection: 'verticalTop' | 'verticalBottom';
4
4
  moveHorizontalDirection: 'horizontalLeft' | 'horizontalRight';
@@ -6,12 +6,14 @@ export interface MoveStrategy {
6
6
  deltaVertical: number;
7
7
  }
8
8
  export declare const imagePreviewSharedProps: {
9
+ onPreviewPrev: PropType<() => void>;
10
+ onPreviewNext: PropType<() => void>;
9
11
  showToolbar: {
10
12
  type: BooleanConstructor;
11
13
  default: boolean;
12
14
  };
13
15
  showToolbarTooltip: BooleanConstructor;
14
- theme: import("vue").PropType<import("../../_mixins").Theme<"Image", {
16
+ theme: PropType<import("../../_mixins").Theme<"Image", {
15
17
  toolbarIconColor: string;
16
18
  toolbarColor: string;
17
19
  toolbarBoxShadow: string;
@@ -40,7 +42,7 @@ export declare const imagePreviewSharedProps: {
40
42
  }, any>;
41
43
  }>;
42
44
  }>>;
43
- themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
45
+ themeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
44
46
  toolbarIconColor: string;
45
47
  toolbarColor: string;
46
48
  toolbarBoxShadow: string;
@@ -69,7 +71,7 @@ export declare const imagePreviewSharedProps: {
69
71
  }, any>;
70
72
  }>;
71
73
  }>>>;
72
- builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
74
+ builtinThemeOverrides: PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Image", {
73
75
  toolbarIconColor: string;
74
76
  toolbarColor: string;
75
77
  toolbarBoxShadow: string;
@@ -100,6 +102,6 @@ export declare const imagePreviewSharedProps: {
100
102
  }>>>;
101
103
  };
102
104
  export interface ImageContext {
103
- previewedImgPropsRef: Ref<ImgHTMLAttributes>;
105
+ previewedImgPropsRef: Ref<ImgHTMLAttributes | undefined>;
104
106
  }
105
107
  export declare const imageContextKey: import("vue").InjectionKey<ImageContext>;
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.imageContextKey = exports.imagePreviewSharedProps = void 0;
4
4
  const _mixins_1 = require("../../_mixins");
5
5
  const _utils_1 = require("../../_utils");
6
- exports.imagePreviewSharedProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { showToolbar: { type: Boolean, default: true }, showToolbarTooltip: Boolean });
6
+ exports.imagePreviewSharedProps = Object.assign(Object.assign({}, _mixins_1.useTheme.props), { onPreviewPrev: Function, onPreviewNext: Function, showToolbar: { type: Boolean, default: true }, showToolbarTooltip: Boolean });
7
7
  exports.imageContextKey = (0, _utils_1.createInjectionKey)('n-image');
@@ -1,4 +1,4 @@
1
- import { Ref } from 'vue';
1
+ import type { Ref } from 'vue';
2
2
  export type IntersectionObserverOptions = Omit<IntersectionObserverInit, 'root'> & {
3
3
  root?: Element | Document | null | string;
4
4
  };
package/lib/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { default, install } from './preset';
2
2
  export { useOsTheme } from 'vooks';
3
+ export { zindexable } from 'vdirs';
3
4
  export { default as create } from './create';
4
5
  export * from './locales';
5
6
  export * from './components';
package/lib/index.js CHANGED
@@ -17,12 +17,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
17
17
  return (mod && mod.__esModule) ? mod : { "default": mod };
18
18
  };
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.NThemeEditor = exports.version = exports.cNotM = exports.cB = exports.cM = exports.cE = exports.c = exports.createTheme = exports.lightTheme = exports.darkTheme = exports.create = exports.useOsTheme = exports.install = exports.default = void 0;
20
+ exports.NThemeEditor = exports.version = exports.cNotM = exports.cB = exports.cM = exports.cE = exports.c = exports.createTheme = exports.lightTheme = exports.darkTheme = exports.create = exports.zindexable = exports.useOsTheme = exports.install = exports.default = void 0;
21
21
  var preset_1 = require("./preset");
22
22
  Object.defineProperty(exports, "default", { enumerable: true, get: function () { return __importDefault(preset_1).default; } });
23
23
  Object.defineProperty(exports, "install", { enumerable: true, get: function () { return preset_1.install; } });
24
24
  var vooks_1 = require("vooks");
25
25
  Object.defineProperty(exports, "useOsTheme", { enumerable: true, get: function () { return vooks_1.useOsTheme; } });
26
+ var vdirs_1 = require("vdirs");
27
+ Object.defineProperty(exports, "zindexable", { enumerable: true, get: function () { return vdirs_1.zindexable; } });
26
28
  var create_1 = require("./create");
27
29
  Object.defineProperty(exports, "create", { enumerable: true, get: function () { return __importDefault(create_1).default; } });
28
30
  __exportStar(require("./locales"), exports);