naive-ui 2.34.3 → 2.34.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (904) hide show
  1. package/README.md +3 -2
  2. package/README.zh-CN.md +3 -2
  3. package/dist/index.js +28207 -31534
  4. package/dist/index.prod.js +2 -3
  5. package/es/_internal/clear/src/Clear.d.ts +1 -1
  6. package/es/_internal/close/src/Close.d.ts +1 -1
  7. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  8. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
  9. package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  10. package/es/_internal/icon/src/Icon.d.ts +1 -1
  11. package/es/_internal/loading/src/Loading.d.ts +1 -1
  12. package/es/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
  13. package/es/_internal/scrollbar/styles/rtl.d.ts +1 -1
  14. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
  15. package/es/_internal/select-menu/src/SelectMenu.d.ts +2 -2
  16. package/es/_internal/select-menu/src/SelectOption.d.ts +3 -3
  17. package/es/_internal/select-menu/src/interface.d.ts +2 -2
  18. package/es/_internal/selection/src/Selection.d.ts +1 -1
  19. package/es/_internal/selection/src/Selection.js +2 -2
  20. package/es/_internal/selection/src/interface.d.ts +1 -1
  21. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  22. package/es/_internal/suffix/src/Suffix.d.ts +1 -1
  23. package/es/_mixins/use-config.d.ts +1 -1
  24. package/es/_mixins/use-css-vars-class.d.ts +1 -1
  25. package/es/_mixins/use-form-item.d.ts +1 -1
  26. package/es/_mixins/use-hljs.d.ts +1 -1
  27. package/es/_mixins/use-locale.d.ts +1 -1
  28. package/es/_mixins/use-rtl.d.ts +2 -2
  29. package/es/_mixins/use-style.d.ts +2 -2
  30. package/es/_mixins/use-theme.d.ts +5 -5
  31. package/es/_styles/transitions/fade-down.cssr.d.ts +1 -1
  32. package/es/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
  33. package/es/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
  34. package/es/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
  35. package/es/_styles/transitions/fade-in.cssr.d.ts +1 -1
  36. package/es/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
  37. package/es/_styles/transitions/icon-switch.cssr.d.ts +1 -1
  38. package/es/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
  39. package/es/_styles/transitions/slide-in-from-left.d.ts +1 -1
  40. package/es/_styles/transitions/slide-in-from-right.d.ts +1 -1
  41. package/es/_styles/transitions/slide-in-from-top.d.ts +1 -1
  42. package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
  43. package/es/_utils/composable/use-browser-location.d.ts +1 -1
  44. package/es/_utils/composable/use-browser-location.js +1 -2
  45. package/es/_utils/composable/use-collection.d.ts +1 -1
  46. package/es/_utils/composable/use-deferred-true.d.ts +1 -1
  47. package/es/_utils/composable/use-is-composing.d.ts +1 -1
  48. package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  49. package/es/_utils/composable/use-resize.d.ts +1 -1
  50. package/es/_utils/cssr/index.d.ts +1 -1
  51. package/es/_utils/naive/attribute.d.ts +1 -1
  52. package/es/_utils/naive/extract-public-props.d.ts +2 -2
  53. package/es/_utils/vue/create-injection-key.d.ts +1 -1
  54. package/es/_utils/vue/create-ref-setter.d.ts +1 -1
  55. package/es/_utils/vue/flatten.d.ts +1 -1
  56. package/es/_utils/vue/get-first-slot-vnode.d.ts +1 -1
  57. package/es/_utils/vue/get-slot.d.ts +1 -1
  58. package/es/_utils/vue/get-v-node-children.d.ts +1 -1
  59. package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
  60. package/es/_utils/vue/keysOf.d.ts +1 -1
  61. package/es/_utils/vue/omit.d.ts +1 -1
  62. package/es/_utils/vue/render.d.ts +1 -1
  63. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  64. package/es/affix/src/Affix.d.ts +1 -1
  65. package/es/alert/src/Alert.d.ts +1 -1
  66. package/es/anchor/src/BaseAnchor.d.ts +1 -1
  67. package/es/anchor/src/BaseAnchor.js +1 -1
  68. package/es/anchor/src/Link.d.ts +2 -2
  69. package/es/auto-complete/src/AutoComplete.d.ts +6 -7
  70. package/es/auto-complete/src/interface.d.ts +1 -1
  71. package/es/auto-complete/src/utils.d.ts +2 -2
  72. package/es/avatar/src/Avatar.d.ts +2 -2
  73. package/es/avatar-group/src/AvatarGroup.d.ts +2 -2
  74. package/es/avatar-group/styles/light.d.ts +1 -1
  75. package/es/avatar-group/styles/rtl.d.ts +1 -1
  76. package/es/back-top/src/BackTop.d.ts +1 -1
  77. package/es/badge/src/Badge.d.ts +1 -1
  78. package/es/badge/src/Badge.js +1 -1
  79. package/es/badge/styles/light.d.ts +1 -1
  80. package/es/badge/styles/rtl.d.ts +1 -1
  81. package/es/breadcrumb/src/Breadcrumb.d.ts +2 -2
  82. package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  83. package/es/button/src/Button.d.ts +2 -2
  84. package/es/button/styles/rtl.d.ts +1 -1
  85. package/es/button-group/src/ButtonGroup.d.ts +1 -1
  86. package/es/button-group/src/styles/index.cssr.d.ts +1 -1
  87. package/es/button-group/src/styles/rtl.cssr.d.ts +1 -1
  88. package/es/button-group/styles/rtl.d.ts +1 -1
  89. package/es/calendar/src/Calendar.d.ts +2 -2
  90. package/es/card/src/Card.d.ts +1 -1
  91. package/es/card/styles/light.d.ts +1 -1
  92. package/es/card/styles/rtl.d.ts +1 -1
  93. package/es/carousel/src/Carousel.js +2 -2
  94. package/es/carousel/src/CarouselContext.js +1 -1
  95. package/es/carousel/src/CarouselDots.js +1 -1
  96. package/es/carousel/src/CarouselItem.js +4 -3
  97. package/es/carousel/src/interface.d.ts +1 -1
  98. package/es/carousel/src/utils/index.d.ts +1 -1
  99. package/es/carousel/styles/light.d.ts +1 -1
  100. package/es/cascader/src/Cascader.d.ts +10 -10
  101. package/es/cascader/src/CascaderMenu.d.ts +3 -3
  102. package/es/cascader/src/CascaderOption.d.ts +2 -2
  103. package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
  104. package/es/cascader/src/CascaderSubmenu.d.ts +2 -2
  105. package/es/cascader/src/interface.d.ts +2 -2
  106. package/es/checkbox/src/Checkbox.d.ts +2 -2
  107. package/es/checkbox/src/CheckboxGroup.d.ts +2 -3
  108. package/es/code/src/Code.d.ts +2 -2
  109. package/es/code/styles/light.d.ts +1 -1
  110. package/es/collapse/src/Collapse.d.ts +14 -4
  111. package/es/collapse/src/Collapse.js +2 -1
  112. package/es/collapse/src/CollapseItem.d.ts +1 -1
  113. package/es/collapse/src/CollapseItemContent.d.ts +1 -1
  114. package/es/collapse/src/styles/index.cssr.js +2 -1
  115. package/es/collapse/styles/light.d.ts +2 -1
  116. package/es/collapse/styles/light.js +2 -1
  117. package/es/collapse-transition/src/CollapseTransition.d.ts +1 -1
  118. package/es/collapse-transition/styles/light.d.ts +1 -1
  119. package/es/color-picker/src/AlphaSlider.d.ts +2 -2
  120. package/es/color-picker/src/ColorInput.d.ts +2 -2
  121. package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
  122. package/es/color-picker/src/ColorPicker.d.ts +4 -4
  123. package/es/color-picker/src/ColorPicker.js +2 -2
  124. package/es/color-picker/src/ColorPickerSwatches.d.ts +2 -2
  125. package/es/color-picker/src/ColorPickerSwatches.js +1 -1
  126. package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  127. package/es/color-picker/src/ColorPreview.d.ts +2 -2
  128. package/es/color-picker/src/HueSlider.d.ts +1 -1
  129. package/es/color-picker/src/Pallete.d.ts +2 -2
  130. package/es/color-picker/src/context.d.ts +1 -1
  131. package/es/color-picker/src/interface.d.ts +1 -1
  132. package/es/composables/use-theme-vars.d.ts +1 -1
  133. package/es/config-provider/src/ConfigProvider.d.ts +6 -6
  134. package/es/config-provider/src/internal-interface.d.ts +2 -2
  135. package/es/config-provider/src/katex.d.ts +1 -1
  136. package/es/countdown/src/Countdown.d.ts +1 -1
  137. package/es/create.d.ts +1 -1
  138. package/es/data-table/src/DataTable.d.ts +2 -2
  139. package/es/data-table/src/HeaderButton/FilterButton.d.ts +4 -4
  140. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +7 -6
  141. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
  142. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
  143. package/es/data-table/src/HeaderButton/SortButton.d.ts +4 -4
  144. package/es/data-table/src/TableParts/Body.d.ts +3 -3
  145. package/es/data-table/src/TableParts/Body.js +4 -2
  146. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
  147. package/es/data-table/src/TableParts/BodyRadio.d.ts +2 -2
  148. package/es/data-table/src/TableParts/Cell.d.ts +4 -4
  149. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
  150. package/es/data-table/src/TableParts/ExpandTrigger.js +3 -1
  151. package/es/data-table/src/TableParts/Header.d.ts +1 -1
  152. package/es/data-table/src/TableParts/Header.js +4 -2
  153. package/es/data-table/src/interface.d.ts +9 -5
  154. package/es/data-table/src/styles/index.cssr.d.ts +1 -1
  155. package/es/data-table/src/use-check.d.ts +2 -2
  156. package/es/data-table/src/use-expand.d.ts +2 -2
  157. package/es/data-table/src/use-group-header.d.ts +1 -1
  158. package/es/data-table/src/use-scroll.d.ts +1 -1
  159. package/es/data-table/src/use-sorter.d.ts +1 -1
  160. package/es/data-table/src/use-table-data.d.ts +2 -2
  161. package/es/data-table/src/utils.d.ts +1 -1
  162. package/es/date-picker/src/DatePicker.d.ts +3 -3
  163. package/es/date-picker/src/interface.d.ts +4 -4
  164. package/es/date-picker/src/panel/date.d.ts +4 -4
  165. package/es/date-picker/src/panel/date.js +1 -1
  166. package/es/date-picker/src/panel/daterange.d.ts +1 -1
  167. package/es/date-picker/src/panel/daterange.js +2 -2
  168. package/es/date-picker/src/panel/datetime.d.ts +1 -1
  169. package/es/date-picker/src/panel/datetime.js +1 -1
  170. package/es/date-picker/src/panel/datetimerange.d.ts +1 -1
  171. package/es/date-picker/src/panel/datetimerange.js +4 -4
  172. package/es/date-picker/src/panel/month.d.ts +2 -2
  173. package/es/date-picker/src/panel/month.js +1 -1
  174. package/es/date-picker/src/panel/monthrange.d.ts +2 -2
  175. package/es/date-picker/src/panel/panelHeader.d.ts +3 -3
  176. package/es/date-picker/src/panel/use-calendar.d.ts +3 -3
  177. package/es/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
  178. package/es/date-picker/src/panel/use-panel-common.d.ts +3 -3
  179. package/es/date-picker/src/utils.d.ts +1 -1
  180. package/es/date-picker/src/validation-utils.d.ts +1 -1
  181. package/es/descriptions/src/Descriptions.d.ts +1 -1
  182. package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
  183. package/es/descriptions/src/utils.d.ts +1 -1
  184. package/es/descriptions/styles/light.d.ts +2 -2
  185. package/es/dialog/src/DialogEnvironment.d.ts +1 -1
  186. package/es/dialog/src/DialogProvider.d.ts +5 -5
  187. package/es/dialog/src/DialogProvider.js +1 -1
  188. package/es/dialog/src/composables.d.ts +1 -1
  189. package/es/dialog/src/dialogProps.d.ts +1 -1
  190. package/es/discrete/src/InjectionExtractor.d.ts +1 -1
  191. package/es/discrete/src/discrete.d.ts +2 -2
  192. package/es/discrete/src/discreteApp.d.ts +7 -7
  193. package/es/discrete/src/interface.d.ts +10 -10
  194. package/es/divider/src/Divider.d.ts +1 -1
  195. package/es/drawer/src/Drawer.d.ts +2 -2
  196. package/es/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  197. package/es/drawer/src/DrawerContent.d.ts +1 -1
  198. package/es/drawer/src/interface.d.ts +1 -1
  199. package/es/dropdown/src/Dropdown.d.ts +7 -7
  200. package/es/dropdown/src/DropdownGroup.d.ts +2 -2
  201. package/es/dropdown/src/DropdownMenu.d.ts +2 -2
  202. package/es/dropdown/src/DropdownOption.d.ts +3 -3
  203. package/es/dropdown/src/DropdownRenderOption.d.ts +2 -2
  204. package/es/dropdown/src/interface.d.ts +2 -2
  205. package/es/dynamic-input/src/DynamicInput.d.ts +5 -1
  206. package/es/dynamic-input/src/DynamicInput.js +38 -29
  207. package/es/dynamic-input/src/InputPreset.d.ts +4 -1
  208. package/es/dynamic-input/src/InputPreset.js +3 -2
  209. package/es/dynamic-input/src/PairPreset.d.ts +4 -1
  210. package/es/dynamic-input/src/PairPreset.js +4 -3
  211. package/es/dynamic-input/src/interface.d.ts +1 -1
  212. package/es/dynamic-input/styles/dark.d.ts +1 -1
  213. package/es/dynamic-tags/src/DynamicTags.d.ts +1 -1
  214. package/es/dynamic-tags/src/DynamicTags.js +1 -1
  215. package/es/element/src/Element.d.ts +9 -9
  216. package/es/element/styles/dark.d.ts +1 -1
  217. package/es/element/styles/light.d.ts +1 -1
  218. package/es/ellipsis/src/Ellipsis.d.ts +1 -1
  219. package/es/ellipsis/styles/dark.d.ts +1 -1
  220. package/es/empty/src/Empty.d.ts +1 -1
  221. package/es/equation/src/Equation.d.ts +2 -2
  222. package/es/form/src/Form.d.ts +2 -2
  223. package/es/form/src/Form.js +2 -2
  224. package/es/form/src/FormItem.d.ts +2 -2
  225. package/es/form/src/FormItem.js +1 -1
  226. package/es/form/src/FormItemCol.js +1 -1
  227. package/es/form/src/FormItemGridItem.js +1 -1
  228. package/es/form/src/FormItemRow.js +1 -1
  229. package/es/form/src/interface.d.ts +3 -3
  230. package/es/form/src/utils.d.ts +1 -1
  231. package/es/gradient-text/src/GradientText.d.ts +1 -1
  232. package/es/gradient-text/styles/dark.d.ts +1 -1
  233. package/es/grid/src/Grid.d.ts +4 -4
  234. package/es/grid/src/GridItem.d.ts +1 -1
  235. package/es/icon/src/Icon.d.ts +4 -4
  236. package/es/icon-wrapper/src/IconWrapper.d.ts +1 -1
  237. package/es/icon-wrapper/src/IconWrapper.js +1 -1
  238. package/es/image/src/Image.d.ts +1 -1
  239. package/es/image/src/Image.js +19 -21
  240. package/es/image/src/ImageGroup.d.ts +2 -2
  241. package/es/image/src/ImageGroup.js +2 -2
  242. package/es/image/src/ImagePreview.d.ts +1 -1
  243. package/es/image/src/interface.d.ts +1 -1
  244. package/es/image/src/utils.d.ts +1 -1
  245. package/es/input/src/Input.d.ts +2 -3
  246. package/es/input/src/Input.js +3 -3
  247. package/es/input/src/InputGroupLabel.d.ts +1 -1
  248. package/es/input/src/interface.d.ts +1 -1
  249. package/es/input/src/styles/input.cssr.js +3 -3
  250. package/es/input-number/src/InputNumber.d.ts +2 -2
  251. package/es/layout/src/Layout.d.ts +1 -1
  252. package/es/layout/src/LayoutHeader.d.ts +1 -1
  253. package/es/layout/src/LayoutSider.d.ts +1 -1
  254. package/es/layout/src/ToggleBar.d.ts +1 -1
  255. package/es/layout/src/ToggleButton.d.ts +1 -1
  256. package/es/layout/src/interface.d.ts +1 -1
  257. package/es/legacy-grid/src/Col.d.ts +3 -3
  258. package/es/legacy-grid/src/Row.d.ts +2 -2
  259. package/es/legacy-transfer/src/Transfer.d.ts +4 -5
  260. package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
  261. package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
  262. package/es/legacy-transfer/src/TransferList.d.ts +2 -2
  263. package/es/legacy-transfer/src/interface.d.ts +1 -1
  264. package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  265. package/es/list/src/List.d.ts +2 -2
  266. package/es/list/styles/light.d.ts +1 -1
  267. package/es/loading-bar/src/LoadingBar.d.ts +1 -1
  268. package/es/loading-bar/src/LoadingBarProvider.d.ts +2 -2
  269. package/es/loading-bar/src/context.d.ts +1 -1
  270. package/es/locales/common/enUS.d.ts +1 -1
  271. package/es/locales/common/faIR.d.ts +3 -0
  272. package/es/locales/common/faIR.js +120 -0
  273. package/es/locales/common/idID.js +17 -17
  274. package/es/locales/common/trTR.js +1 -1
  275. package/es/locales/common/zhTW.js +14 -17
  276. package/es/locales/date/arDZ.d.ts +1 -1
  277. package/es/locales/date/deDE.d.ts +1 -1
  278. package/es/locales/date/enGB.d.ts +1 -1
  279. package/es/locales/date/enUS.d.ts +1 -1
  280. package/es/locales/date/eo.d.ts +1 -1
  281. package/es/locales/date/esAR.d.ts +1 -1
  282. package/es/locales/date/faIR.d.ts +3 -0
  283. package/es/locales/date/faIR.js +6 -0
  284. package/es/locales/date/frFR.d.ts +1 -1
  285. package/es/locales/date/idID.d.ts +1 -1
  286. package/es/locales/date/itIT.d.ts +1 -1
  287. package/es/locales/date/jaJP.d.ts +1 -1
  288. package/es/locales/date/koKR.d.ts +1 -1
  289. package/es/locales/date/nbNO.d.ts +1 -1
  290. package/es/locales/date/nlNL.d.ts +1 -1
  291. package/es/locales/date/plPL.d.ts +1 -1
  292. package/es/locales/date/ptBR.d.ts +1 -1
  293. package/es/locales/date/ruRU.d.ts +1 -1
  294. package/es/locales/date/skSK.d.ts +1 -1
  295. package/es/locales/date/thTH.d.ts +1 -1
  296. package/es/locales/date/trTR.d.ts +1 -1
  297. package/es/locales/date/ukUA.d.ts +1 -1
  298. package/es/locales/date/viVN.d.ts +1 -1
  299. package/es/locales/date/zhCN.d.ts +1 -1
  300. package/es/locales/date/zhTW.d.ts +1 -1
  301. package/es/locales/index.d.ts +2 -0
  302. package/es/locales/index.js +2 -0
  303. package/es/locales/utils/index.d.ts +1 -1
  304. package/es/log/src/Log.d.ts +2 -2
  305. package/es/mention/src/Mention.d.ts +5 -5
  306. package/es/menu/src/Menu.d.ts +9 -9
  307. package/es/menu/src/Menu.js +1 -1
  308. package/es/menu/src/MenuOption.d.ts +2 -2
  309. package/es/menu/src/MenuOptionContent.d.ts +2 -2
  310. package/es/menu/src/MenuOptionGroup.d.ts +2 -2
  311. package/es/menu/src/Submenu.d.ts +2 -2
  312. package/es/menu/src/interface.d.ts +2 -2
  313. package/es/menu/src/styles/index.cssr.d.ts +1 -1
  314. package/es/menu/src/use-menu-child-props.d.ts +2 -2
  315. package/es/menu/src/use-menu-child.d.ts +3 -3
  316. package/es/menu/src/utils.d.ts +2 -2
  317. package/es/message/src/Message.d.ts +1 -1
  318. package/es/message/src/MessageEnvironment.d.ts +1 -1
  319. package/es/message/src/MessageProvider.d.ts +1 -1
  320. package/es/message/src/context.d.ts +1 -1
  321. package/es/message/src/message-props.d.ts +3 -3
  322. package/es/message/src/types.d.ts +1 -1
  323. package/es/message/styles/light.d.ts +1 -1
  324. package/es/message/styles/rtl.d.ts +1 -1
  325. package/es/modal/src/BodyWrapper.d.ts +2 -2
  326. package/es/modal/src/Modal.d.ts +1 -1
  327. package/es/modal/src/interface.d.ts +1 -1
  328. package/es/notification/src/Notification.d.ts +1 -1
  329. package/es/notification/src/NotificationContainer.d.ts +1 -1
  330. package/es/notification/src/NotificationEnvironment.d.ts +4 -1
  331. package/es/notification/src/NotificationProvider.d.ts +3 -3
  332. package/es/notification/src/styles/index.cssr.d.ts +1 -1
  333. package/es/notification/src/styles/index.cssr.js +2 -0
  334. package/es/notification/styles/rtl.d.ts +1 -1
  335. package/es/number-animation/src/NumberAnimation.d.ts +1 -1
  336. package/es/page-header/src/PageHeader.d.ts +1 -1
  337. package/es/pagination/src/Pagination.d.ts +2 -2
  338. package/es/pagination/src/Pagination.js +1 -1
  339. package/es/pagination/src/interface.d.ts +2 -2
  340. package/es/pagination/styles/light.d.ts +1 -1
  341. package/es/popconfirm/src/Popconfirm.d.ts +1 -1
  342. package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  343. package/es/popconfirm/src/interface.d.ts +1 -1
  344. package/es/popconfirm/styles/light.d.ts +1 -1
  345. package/es/popover/src/Popover.d.ts +2 -2
  346. package/es/popover/src/Popover.js +2 -3
  347. package/es/popover/src/PopoverBody.d.ts +2 -2
  348. package/es/popover/src/interface.d.ts +1 -1
  349. package/es/popover/src/styles/index.cssr.d.ts +1 -1
  350. package/es/popselect/src/Popselect.d.ts +2 -2
  351. package/es/popselect/src/Popselect.js +3 -2
  352. package/es/popselect/src/PopselectPanel.d.ts +6 -6
  353. package/es/popselect/src/interface.d.ts +1 -1
  354. package/es/popselect/styles/light.d.ts +1 -1
  355. package/es/progress/src/Circle.d.ts +2 -2
  356. package/es/progress/src/Line.d.ts +2 -2
  357. package/es/progress/src/MultipleCircle.d.ts +1 -1
  358. package/es/progress/src/Progress.d.ts +3 -3
  359. package/es/radio/src/RadioButton.d.ts +1 -1
  360. package/es/radio/src/RadioGroup.d.ts +2 -2
  361. package/es/radio/src/use-radio.d.ts +2 -2
  362. package/es/radio/styles/light.d.ts +1 -1
  363. package/es/rate/src/Rate.d.ts +1 -1
  364. package/es/rate/src/Rate.js +1 -1
  365. package/es/rate/styles/dark.d.ts +1 -1
  366. package/es/rate/styles/light.d.ts +1 -1
  367. package/es/result/src/Result.d.ts +1 -1
  368. package/es/scrollbar/src/Scrollbar.d.ts +4 -1
  369. package/es/scrollbar/src/Scrollbar.js +1 -1
  370. package/es/select/src/Select.d.ts +19 -6
  371. package/es/select/src/Select.js +7 -0
  372. package/es/select/src/interface.d.ts +2 -2
  373. package/es/select/src/utils.d.ts +1 -1
  374. package/es/skeleton/src/Skeleton.d.ts +1 -1
  375. package/es/skeleton/styles/dark.d.ts +1 -1
  376. package/es/skeleton/styles/light.d.ts +1 -1
  377. package/es/slider/src/Slider.d.ts +3 -3
  378. package/es/slider/src/Slider.js +4 -4
  379. package/es/slider/src/utils.d.ts +1 -1
  380. package/es/slider/src/utils.js +1 -1
  381. package/es/slider/styles/light.d.ts +1 -1
  382. package/es/space/src/Space.d.ts +1 -1
  383. package/es/space/styles/rtl.d.ts +1 -1
  384. package/es/spin/src/Spin.d.ts +2 -2
  385. package/es/spin/styles/light.d.ts +1 -1
  386. package/es/statistic/styles/light.d.ts +1 -1
  387. package/es/statistic/styles/rtl.d.ts +1 -1
  388. package/es/steps/src/Step.d.ts +1 -1
  389. package/es/steps/src/Steps.d.ts +1 -1
  390. package/es/steps/styles/rtl.d.ts +1 -1
  391. package/es/switch/src/Switch.d.ts +1 -1
  392. package/es/table/src/Table.d.ts +1 -1
  393. package/es/table/styles/light.d.ts +1 -1
  394. package/es/table/styles/rtl.d.ts +1 -1
  395. package/es/tabs/src/TabPane.d.ts +1 -1
  396. package/es/tabs/src/Tabs.d.ts +122 -4
  397. package/es/tabs/src/Tabs.js +38 -23
  398. package/es/tabs/src/interface.d.ts +1 -1
  399. package/es/tabs/src/styles/index.cssr.js +101 -36
  400. package/es/tabs/styles/_common.d.ts +12 -0
  401. package/es/tabs/styles/_common.js +24 -12
  402. package/es/tabs/styles/light.d.ts +13 -1
  403. package/es/tag/src/Tag.d.ts +1 -1
  404. package/es/tag/src/common-props.d.ts +1 -1
  405. package/es/theme-editor/src/ThemeEditor.d.ts +2 -4
  406. package/es/theme-editor/src/ThemeEditor.js +1 -1
  407. package/es/themes/interface.d.ts +1 -1
  408. package/es/themes/utils.d.ts +1 -1
  409. package/es/thing/src/Thing.d.ts +1 -1
  410. package/es/thing/styles/rtl.d.ts +1 -1
  411. package/es/time/src/Time.d.ts +2 -2
  412. package/es/time-picker/src/Panel.d.ts +3 -3
  413. package/es/time-picker/src/PanelCol.d.ts +2 -2
  414. package/es/time-picker/src/PanelCol.js +1 -1
  415. package/es/time-picker/src/TimePicker.d.ts +2 -2
  416. package/es/time-picker/src/interface.d.ts +2 -2
  417. package/es/time-picker/src/utils.d.ts +1 -1
  418. package/es/timeline/src/Timeline.d.ts +3 -3
  419. package/es/timeline/src/TimelineItem.d.ts +1 -1
  420. package/es/tooltip/src/Tooltip.js +3 -2
  421. package/es/transfer/src/Transfer.d.ts +5 -6
  422. package/es/transfer/src/TransferFilter.d.ts +1 -1
  423. package/es/transfer/src/TransferHeader.d.ts +1 -1
  424. package/es/transfer/src/TransferList.d.ts +2 -2
  425. package/es/transfer/src/TransferListItem.d.ts +2 -2
  426. package/es/transfer/src/interface.d.ts +1 -1
  427. package/es/transfer/src/use-transfer-data.d.ts +4 -4
  428. package/es/tree/src/MotionWrapper.d.ts +2 -2
  429. package/es/tree/src/Tree.d.ts +3 -3
  430. package/es/tree/src/Tree.js +4 -3
  431. package/es/tree/src/TreeNode.d.ts +3 -3
  432. package/es/tree/src/TreeNodeCheckbox.d.ts +1 -1
  433. package/es/tree/src/TreeNodeCheckbox.js +3 -2
  434. package/es/tree/src/TreeNodeContent.d.ts +2 -2
  435. package/es/tree/src/TreeNodeSwitcher.d.ts +1 -1
  436. package/es/tree/src/dnd.d.ts +2 -2
  437. package/es/tree/src/interface.d.ts +2 -2
  438. package/es/tree/src/keyboard.d.ts +3 -3
  439. package/es/tree/src/utils.d.ts +3 -3
  440. package/es/tree-select/src/TreeSelect.d.ts +9 -15
  441. package/es/tree-select/src/interface.d.ts +2 -2
  442. package/es/tree-select/src/utils.d.ts +2 -2
  443. package/es/typography/src/create-header.d.ts +2 -2
  444. package/es/typography/src/p.d.ts +1 -1
  445. package/es/typography/src/text.d.ts +1 -1
  446. package/es/upload/src/Upload.d.ts +1 -61
  447. package/es/upload/src/Upload.js +2 -3
  448. package/es/upload/src/UploadFile.d.ts +1 -1
  449. package/es/upload/src/UploadProgress.d.ts +1 -1
  450. package/es/upload/src/interface.d.ts +2 -2
  451. package/es/version.d.ts +1 -1
  452. package/es/version.js +1 -1
  453. package/es/watermark/src/Watermark.d.ts +2 -2
  454. package/lib/_internal/clear/src/Clear.d.ts +1 -1
  455. package/lib/_internal/close/src/Close.d.ts +1 -1
  456. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +1 -1
  457. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.js +11 -6
  458. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  459. package/lib/_internal/icon/src/Icon.d.ts +1 -1
  460. package/lib/_internal/loading/src/Loading.d.ts +1 -1
  461. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
  462. package/lib/_internal/scrollbar/styles/rtl.d.ts +1 -1
  463. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +3 -3
  464. package/lib/_internal/select-menu/src/SelectMenu.d.ts +2 -2
  465. package/lib/_internal/select-menu/src/SelectOption.d.ts +3 -3
  466. package/lib/_internal/select-menu/src/interface.d.ts +2 -2
  467. package/lib/_internal/selection/src/Selection.d.ts +1 -1
  468. package/lib/_internal/selection/src/Selection.js +2 -2
  469. package/lib/_internal/selection/src/interface.d.ts +1 -1
  470. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  471. package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
  472. package/lib/_mixins/use-config.d.ts +1 -1
  473. package/lib/_mixins/use-css-vars-class.d.ts +1 -1
  474. package/lib/_mixins/use-form-item.d.ts +1 -1
  475. package/lib/_mixins/use-hljs.d.ts +1 -1
  476. package/lib/_mixins/use-locale.d.ts +1 -1
  477. package/lib/_mixins/use-rtl.d.ts +2 -2
  478. package/lib/_mixins/use-style.d.ts +2 -2
  479. package/lib/_mixins/use-theme.d.ts +5 -5
  480. package/lib/_styles/transitions/fade-down.cssr.d.ts +1 -1
  481. package/lib/_styles/transitions/fade-in-height-expand.cssr.d.ts +1 -1
  482. package/lib/_styles/transitions/fade-in-scale-up.cssr.d.ts +1 -1
  483. package/lib/_styles/transitions/fade-in-width-expand.cssr.d.ts +1 -1
  484. package/lib/_styles/transitions/fade-in.cssr.d.ts +1 -1
  485. package/lib/_styles/transitions/fade-up-width-expand.cssr.d.ts +1 -1
  486. package/lib/_styles/transitions/icon-switch.cssr.d.ts +1 -1
  487. package/lib/_styles/transitions/slide-in-from-bottom.d.ts +1 -1
  488. package/lib/_styles/transitions/slide-in-from-left.d.ts +1 -1
  489. package/lib/_styles/transitions/slide-in-from-right.d.ts +1 -1
  490. package/lib/_styles/transitions/slide-in-from-top.d.ts +1 -1
  491. package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
  492. package/lib/_utils/composable/use-browser-location.d.ts +1 -1
  493. package/lib/_utils/composable/use-browser-location.js +1 -2
  494. package/lib/_utils/composable/use-collection.d.ts +1 -1
  495. package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
  496. package/lib/_utils/composable/use-is-composing.d.ts +1 -1
  497. package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  498. package/lib/_utils/composable/use-resize.d.ts +1 -1
  499. package/lib/_utils/cssr/index.d.ts +1 -1
  500. package/lib/_utils/naive/attribute.d.ts +1 -1
  501. package/lib/_utils/naive/extract-public-props.d.ts +2 -2
  502. package/lib/_utils/vue/create-injection-key.d.ts +1 -1
  503. package/lib/_utils/vue/create-ref-setter.d.ts +1 -1
  504. package/lib/_utils/vue/flatten.d.ts +1 -1
  505. package/lib/_utils/vue/get-first-slot-vnode.d.ts +1 -1
  506. package/lib/_utils/vue/get-slot.d.ts +1 -1
  507. package/lib/_utils/vue/get-v-node-children.d.ts +1 -1
  508. package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
  509. package/lib/_utils/vue/keysOf.d.ts +1 -1
  510. package/lib/_utils/vue/omit.d.ts +1 -1
  511. package/lib/_utils/vue/render.d.ts +1 -1
  512. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  513. package/lib/affix/src/Affix.d.ts +1 -1
  514. package/lib/alert/src/Alert.d.ts +1 -1
  515. package/lib/anchor/src/BaseAnchor.d.ts +1 -1
  516. package/lib/anchor/src/BaseAnchor.js +1 -1
  517. package/lib/anchor/src/Link.d.ts +2 -2
  518. package/lib/auto-complete/src/AutoComplete.d.ts +6 -7
  519. package/lib/auto-complete/src/interface.d.ts +1 -1
  520. package/lib/auto-complete/src/utils.d.ts +2 -2
  521. package/lib/avatar/src/Avatar.d.ts +2 -2
  522. package/lib/avatar-group/src/AvatarGroup.d.ts +2 -2
  523. package/lib/avatar-group/styles/light.d.ts +1 -1
  524. package/lib/avatar-group/styles/rtl.d.ts +1 -1
  525. package/lib/back-top/src/BackTop.d.ts +1 -1
  526. package/lib/badge/src/Badge.d.ts +1 -1
  527. package/lib/badge/src/Badge.js +1 -1
  528. package/lib/badge/styles/light.d.ts +1 -1
  529. package/lib/badge/styles/rtl.d.ts +1 -1
  530. package/lib/breadcrumb/src/Breadcrumb.d.ts +2 -2
  531. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  532. package/lib/button/src/Button.d.ts +2 -2
  533. package/lib/button/styles/rtl.d.ts +1 -1
  534. package/lib/button-group/src/ButtonGroup.d.ts +1 -1
  535. package/lib/button-group/src/styles/index.cssr.d.ts +1 -1
  536. package/lib/button-group/src/styles/rtl.cssr.d.ts +1 -1
  537. package/lib/button-group/styles/rtl.d.ts +1 -1
  538. package/lib/calendar/src/Calendar.d.ts +2 -2
  539. package/lib/card/src/Card.d.ts +1 -1
  540. package/lib/card/styles/light.d.ts +1 -1
  541. package/lib/card/styles/rtl.d.ts +1 -1
  542. package/lib/carousel/src/Carousel.js +2 -2
  543. package/lib/carousel/src/CarouselContext.js +1 -1
  544. package/lib/carousel/src/CarouselDots.js +1 -1
  545. package/lib/carousel/src/CarouselItem.js +4 -3
  546. package/lib/carousel/src/interface.d.ts +1 -1
  547. package/lib/carousel/src/utils/index.d.ts +1 -1
  548. package/lib/carousel/styles/light.d.ts +1 -1
  549. package/lib/cascader/src/Cascader.d.ts +10 -10
  550. package/lib/cascader/src/CascaderMenu.d.ts +3 -3
  551. package/lib/cascader/src/CascaderOption.d.ts +2 -2
  552. package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
  553. package/lib/cascader/src/CascaderSubmenu.d.ts +2 -2
  554. package/lib/cascader/src/interface.d.ts +2 -2
  555. package/lib/checkbox/src/Checkbox.d.ts +2 -2
  556. package/lib/checkbox/src/CheckboxGroup.d.ts +2 -3
  557. package/lib/code/src/Code.d.ts +2 -2
  558. package/lib/code/styles/light.d.ts +1 -1
  559. package/lib/collapse/src/Collapse.d.ts +14 -4
  560. package/lib/collapse/src/Collapse.js +2 -1
  561. package/lib/collapse/src/CollapseItem.d.ts +1 -1
  562. package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
  563. package/lib/collapse/src/styles/index.cssr.js +2 -1
  564. package/lib/collapse/styles/light.d.ts +2 -1
  565. package/lib/collapse/styles/light.js +2 -1
  566. package/lib/collapse-transition/src/CollapseTransition.d.ts +1 -1
  567. package/lib/collapse-transition/styles/light.d.ts +1 -1
  568. package/lib/color-picker/src/AlphaSlider.d.ts +2 -2
  569. package/lib/color-picker/src/ColorInput.d.ts +2 -2
  570. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
  571. package/lib/color-picker/src/ColorPicker.d.ts +4 -4
  572. package/lib/color-picker/src/ColorPicker.js +2 -2
  573. package/lib/color-picker/src/ColorPickerSwatches.d.ts +2 -2
  574. package/lib/color-picker/src/ColorPickerSwatches.js +1 -1
  575. package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  576. package/lib/color-picker/src/ColorPreview.d.ts +2 -2
  577. package/lib/color-picker/src/HueSlider.d.ts +1 -1
  578. package/lib/color-picker/src/Pallete.d.ts +2 -2
  579. package/lib/color-picker/src/context.d.ts +1 -1
  580. package/lib/color-picker/src/interface.d.ts +1 -1
  581. package/lib/composables/use-theme-vars.d.ts +1 -1
  582. package/lib/config-provider/src/ConfigProvider.d.ts +6 -6
  583. package/lib/config-provider/src/internal-interface.d.ts +2 -2
  584. package/lib/config-provider/src/katex.d.ts +1 -1
  585. package/lib/countdown/src/Countdown.d.ts +1 -1
  586. package/lib/create.d.ts +1 -1
  587. package/lib/data-table/src/DataTable.d.ts +2 -2
  588. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +4 -4
  589. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +7 -6
  590. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
  591. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +2 -2
  592. package/lib/data-table/src/HeaderButton/SortButton.d.ts +4 -4
  593. package/lib/data-table/src/TableParts/Body.d.ts +3 -3
  594. package/lib/data-table/src/TableParts/Body.js +4 -2
  595. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
  596. package/lib/data-table/src/TableParts/BodyRadio.d.ts +2 -2
  597. package/lib/data-table/src/TableParts/Cell.d.ts +4 -4
  598. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +4 -3
  599. package/lib/data-table/src/TableParts/ExpandTrigger.js +3 -1
  600. package/lib/data-table/src/TableParts/Header.d.ts +1 -1
  601. package/lib/data-table/src/TableParts/Header.js +4 -2
  602. package/lib/data-table/src/interface.d.ts +9 -5
  603. package/lib/data-table/src/styles/index.cssr.d.ts +1 -1
  604. package/lib/data-table/src/use-check.d.ts +2 -2
  605. package/lib/data-table/src/use-expand.d.ts +2 -2
  606. package/lib/data-table/src/use-group-header.d.ts +1 -1
  607. package/lib/data-table/src/use-scroll.d.ts +1 -1
  608. package/lib/data-table/src/use-sorter.d.ts +1 -1
  609. package/lib/data-table/src/use-table-data.d.ts +2 -2
  610. package/lib/data-table/src/utils.d.ts +1 -1
  611. package/lib/date-picker/src/DatePicker.d.ts +3 -3
  612. package/lib/date-picker/src/interface.d.ts +4 -4
  613. package/lib/date-picker/src/panel/date.d.ts +4 -4
  614. package/lib/date-picker/src/panel/date.js +1 -1
  615. package/lib/date-picker/src/panel/daterange.d.ts +1 -1
  616. package/lib/date-picker/src/panel/daterange.js +2 -2
  617. package/lib/date-picker/src/panel/datetime.d.ts +1 -1
  618. package/lib/date-picker/src/panel/datetime.js +1 -1
  619. package/lib/date-picker/src/panel/datetimerange.d.ts +1 -1
  620. package/lib/date-picker/src/panel/datetimerange.js +4 -4
  621. package/lib/date-picker/src/panel/month.d.ts +2 -2
  622. package/lib/date-picker/src/panel/month.js +1 -1
  623. package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
  624. package/lib/date-picker/src/panel/panelHeader.d.ts +3 -3
  625. package/lib/date-picker/src/panel/use-calendar.d.ts +3 -3
  626. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +6 -6
  627. package/lib/date-picker/src/panel/use-panel-common.d.ts +3 -3
  628. package/lib/date-picker/src/utils.d.ts +1 -1
  629. package/lib/date-picker/src/validation-utils.d.ts +1 -1
  630. package/lib/descriptions/src/Descriptions.d.ts +1 -1
  631. package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
  632. package/lib/descriptions/src/utils.d.ts +1 -1
  633. package/lib/descriptions/styles/light.d.ts +2 -2
  634. package/lib/dialog/src/DialogEnvironment.d.ts +1 -1
  635. package/lib/dialog/src/DialogProvider.d.ts +5 -5
  636. package/lib/dialog/src/DialogProvider.js +1 -1
  637. package/lib/dialog/src/composables.d.ts +1 -1
  638. package/lib/dialog/src/dialogProps.d.ts +1 -1
  639. package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
  640. package/lib/discrete/src/discrete.d.ts +2 -2
  641. package/lib/discrete/src/discreteApp.d.ts +7 -7
  642. package/lib/discrete/src/interface.d.ts +10 -10
  643. package/lib/divider/src/Divider.d.ts +1 -1
  644. package/lib/drawer/src/Drawer.d.ts +2 -2
  645. package/lib/drawer/src/DrawerBodyWrapper.d.ts +1 -1
  646. package/lib/drawer/src/DrawerContent.d.ts +1 -1
  647. package/lib/drawer/src/interface.d.ts +1 -1
  648. package/lib/dropdown/src/Dropdown.d.ts +7 -7
  649. package/lib/dropdown/src/DropdownGroup.d.ts +2 -2
  650. package/lib/dropdown/src/DropdownMenu.d.ts +2 -2
  651. package/lib/dropdown/src/DropdownOption.d.ts +3 -3
  652. package/lib/dropdown/src/DropdownRenderOption.d.ts +2 -2
  653. package/lib/dropdown/src/interface.d.ts +2 -2
  654. package/lib/dynamic-input/src/DynamicInput.d.ts +5 -1
  655. package/lib/dynamic-input/src/DynamicInput.js +38 -29
  656. package/lib/dynamic-input/src/InputPreset.d.ts +4 -1
  657. package/lib/dynamic-input/src/InputPreset.js +3 -2
  658. package/lib/dynamic-input/src/PairPreset.d.ts +4 -1
  659. package/lib/dynamic-input/src/PairPreset.js +4 -3
  660. package/lib/dynamic-input/src/interface.d.ts +1 -1
  661. package/lib/dynamic-input/styles/dark.d.ts +1 -1
  662. package/lib/dynamic-tags/src/DynamicTags.d.ts +1 -1
  663. package/lib/dynamic-tags/src/DynamicTags.js +1 -1
  664. package/lib/element/src/Element.d.ts +9 -9
  665. package/lib/element/styles/dark.d.ts +1 -1
  666. package/lib/element/styles/light.d.ts +1 -1
  667. package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
  668. package/lib/ellipsis/styles/dark.d.ts +1 -1
  669. package/lib/empty/src/Empty.d.ts +1 -1
  670. package/lib/equation/src/Equation.d.ts +2 -2
  671. package/lib/form/src/Form.d.ts +2 -2
  672. package/lib/form/src/Form.js +2 -2
  673. package/lib/form/src/FormItem.d.ts +2 -2
  674. package/lib/form/src/FormItem.js +1 -1
  675. package/lib/form/src/FormItemCol.js +1 -1
  676. package/lib/form/src/FormItemGridItem.js +1 -1
  677. package/lib/form/src/FormItemRow.js +1 -1
  678. package/lib/form/src/interface.d.ts +3 -3
  679. package/lib/form/src/utils.d.ts +1 -1
  680. package/lib/gradient-text/src/GradientText.d.ts +1 -1
  681. package/lib/gradient-text/styles/dark.d.ts +1 -1
  682. package/lib/grid/src/Grid.d.ts +4 -4
  683. package/lib/grid/src/GridItem.d.ts +1 -1
  684. package/lib/icon/src/Icon.d.ts +4 -4
  685. package/lib/icon-wrapper/src/IconWrapper.d.ts +1 -1
  686. package/lib/icon-wrapper/src/IconWrapper.js +1 -1
  687. package/lib/image/src/Image.d.ts +1 -1
  688. package/lib/image/src/Image.js +19 -21
  689. package/lib/image/src/ImageGroup.d.ts +2 -2
  690. package/lib/image/src/ImageGroup.js +2 -2
  691. package/lib/image/src/ImagePreview.d.ts +1 -1
  692. package/lib/image/src/interface.d.ts +1 -1
  693. package/lib/image/src/utils.d.ts +1 -1
  694. package/lib/input/src/Input.d.ts +2 -3
  695. package/lib/input/src/Input.js +3 -3
  696. package/lib/input/src/InputGroupLabel.d.ts +1 -1
  697. package/lib/input/src/interface.d.ts +1 -1
  698. package/lib/input/src/styles/input.cssr.js +3 -3
  699. package/lib/input-number/src/InputNumber.d.ts +2 -2
  700. package/lib/layout/src/Layout.d.ts +1 -1
  701. package/lib/layout/src/LayoutHeader.d.ts +1 -1
  702. package/lib/layout/src/LayoutSider.d.ts +1 -1
  703. package/lib/layout/src/ToggleBar.d.ts +1 -1
  704. package/lib/layout/src/ToggleButton.d.ts +1 -1
  705. package/lib/layout/src/interface.d.ts +1 -1
  706. package/lib/legacy-grid/src/Col.d.ts +3 -3
  707. package/lib/legacy-grid/src/Row.d.ts +2 -2
  708. package/lib/legacy-transfer/src/Transfer.d.ts +4 -5
  709. package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
  710. package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
  711. package/lib/legacy-transfer/src/TransferList.d.ts +2 -2
  712. package/lib/legacy-transfer/src/interface.d.ts +1 -1
  713. package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  714. package/lib/list/src/List.d.ts +2 -2
  715. package/lib/list/styles/light.d.ts +1 -1
  716. package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
  717. package/lib/loading-bar/src/LoadingBarProvider.d.ts +2 -2
  718. package/lib/loading-bar/src/context.d.ts +1 -1
  719. package/lib/locales/common/enUS.d.ts +1 -1
  720. package/lib/locales/common/faIR.d.ts +3 -0
  721. package/lib/locales/common/faIR.js +122 -0
  722. package/lib/locales/common/idID.js +17 -17
  723. package/lib/locales/common/trTR.js +1 -1
  724. package/lib/locales/common/zhTW.js +14 -17
  725. package/lib/locales/date/arDZ.d.ts +1 -1
  726. package/lib/locales/date/deDE.d.ts +1 -1
  727. package/lib/locales/date/enGB.d.ts +1 -1
  728. package/lib/locales/date/enUS.d.ts +1 -1
  729. package/lib/locales/date/eo.d.ts +1 -1
  730. package/lib/locales/date/esAR.d.ts +1 -1
  731. package/lib/locales/date/faIR.d.ts +3 -0
  732. package/lib/locales/date/faIR.js +11 -0
  733. package/lib/locales/date/frFR.d.ts +1 -1
  734. package/lib/locales/date/idID.d.ts +1 -1
  735. package/lib/locales/date/itIT.d.ts +1 -1
  736. package/lib/locales/date/jaJP.d.ts +1 -1
  737. package/lib/locales/date/koKR.d.ts +1 -1
  738. package/lib/locales/date/nbNO.d.ts +1 -1
  739. package/lib/locales/date/nlNL.d.ts +1 -1
  740. package/lib/locales/date/plPL.d.ts +1 -1
  741. package/lib/locales/date/ptBR.d.ts +1 -1
  742. package/lib/locales/date/ruRU.d.ts +1 -1
  743. package/lib/locales/date/skSK.d.ts +1 -1
  744. package/lib/locales/date/thTH.d.ts +1 -1
  745. package/lib/locales/date/trTR.d.ts +1 -1
  746. package/lib/locales/date/ukUA.d.ts +1 -1
  747. package/lib/locales/date/viVN.d.ts +1 -1
  748. package/lib/locales/date/zhCN.d.ts +1 -1
  749. package/lib/locales/date/zhTW.d.ts +1 -1
  750. package/lib/locales/index.d.ts +2 -0
  751. package/lib/locales/index.js +5 -1
  752. package/lib/locales/utils/index.d.ts +1 -1
  753. package/lib/log/src/Log.d.ts +2 -2
  754. package/lib/mention/src/Mention.d.ts +5 -5
  755. package/lib/menu/src/Menu.d.ts +9 -9
  756. package/lib/menu/src/Menu.js +1 -1
  757. package/lib/menu/src/MenuOption.d.ts +2 -2
  758. package/lib/menu/src/MenuOptionContent.d.ts +2 -2
  759. package/lib/menu/src/MenuOptionGroup.d.ts +2 -2
  760. package/lib/menu/src/Submenu.d.ts +2 -2
  761. package/lib/menu/src/interface.d.ts +2 -2
  762. package/lib/menu/src/styles/index.cssr.d.ts +1 -1
  763. package/lib/menu/src/use-menu-child-props.d.ts +2 -2
  764. package/lib/menu/src/use-menu-child.d.ts +3 -3
  765. package/lib/menu/src/utils.d.ts +2 -2
  766. package/lib/message/src/Message.d.ts +1 -1
  767. package/lib/message/src/MessageEnvironment.d.ts +1 -1
  768. package/lib/message/src/MessageProvider.d.ts +1 -1
  769. package/lib/message/src/context.d.ts +1 -1
  770. package/lib/message/src/message-props.d.ts +3 -3
  771. package/lib/message/src/types.d.ts +1 -1
  772. package/lib/message/styles/light.d.ts +1 -1
  773. package/lib/message/styles/rtl.d.ts +1 -1
  774. package/lib/modal/src/BodyWrapper.d.ts +2 -2
  775. package/lib/modal/src/Modal.d.ts +1 -1
  776. package/lib/modal/src/interface.d.ts +1 -1
  777. package/lib/notification/src/Notification.d.ts +1 -1
  778. package/lib/notification/src/NotificationContainer.d.ts +1 -1
  779. package/lib/notification/src/NotificationEnvironment.d.ts +4 -1
  780. package/lib/notification/src/NotificationProvider.d.ts +3 -3
  781. package/lib/notification/src/styles/index.cssr.d.ts +1 -1
  782. package/lib/notification/src/styles/index.cssr.js +2 -0
  783. package/lib/notification/styles/rtl.d.ts +1 -1
  784. package/lib/number-animation/src/NumberAnimation.d.ts +1 -1
  785. package/lib/page-header/src/PageHeader.d.ts +1 -1
  786. package/lib/pagination/src/Pagination.d.ts +2 -2
  787. package/lib/pagination/src/Pagination.js +1 -1
  788. package/lib/pagination/src/interface.d.ts +2 -2
  789. package/lib/pagination/styles/light.d.ts +1 -1
  790. package/lib/popconfirm/src/Popconfirm.d.ts +1 -1
  791. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  792. package/lib/popconfirm/src/interface.d.ts +1 -1
  793. package/lib/popconfirm/styles/light.d.ts +1 -1
  794. package/lib/popover/src/Popover.d.ts +2 -2
  795. package/lib/popover/src/Popover.js +1 -2
  796. package/lib/popover/src/PopoverBody.d.ts +2 -2
  797. package/lib/popover/src/interface.d.ts +1 -1
  798. package/lib/popover/src/styles/index.cssr.d.ts +1 -1
  799. package/lib/popselect/src/Popselect.d.ts +2 -2
  800. package/lib/popselect/src/Popselect.js +2 -1
  801. package/lib/popselect/src/PopselectPanel.d.ts +6 -6
  802. package/lib/popselect/src/interface.d.ts +1 -1
  803. package/lib/popselect/styles/light.d.ts +1 -1
  804. package/lib/progress/src/Circle.d.ts +2 -2
  805. package/lib/progress/src/Line.d.ts +2 -2
  806. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  807. package/lib/progress/src/Progress.d.ts +3 -3
  808. package/lib/radio/src/RadioButton.d.ts +1 -1
  809. package/lib/radio/src/RadioGroup.d.ts +2 -2
  810. package/lib/radio/src/use-radio.d.ts +2 -2
  811. package/lib/radio/styles/light.d.ts +1 -1
  812. package/lib/rate/src/Rate.d.ts +1 -1
  813. package/lib/rate/src/Rate.js +1 -1
  814. package/lib/rate/styles/dark.d.ts +1 -1
  815. package/lib/rate/styles/light.d.ts +1 -1
  816. package/lib/result/src/Result.d.ts +1 -1
  817. package/lib/scrollbar/src/Scrollbar.d.ts +4 -1
  818. package/lib/scrollbar/src/Scrollbar.js +1 -1
  819. package/lib/select/src/Select.d.ts +19 -6
  820. package/lib/select/src/Select.js +7 -0
  821. package/lib/select/src/interface.d.ts +2 -2
  822. package/lib/select/src/utils.d.ts +1 -1
  823. package/lib/skeleton/src/Skeleton.d.ts +1 -1
  824. package/lib/skeleton/styles/dark.d.ts +1 -1
  825. package/lib/skeleton/styles/light.d.ts +1 -1
  826. package/lib/slider/src/Slider.d.ts +3 -3
  827. package/lib/slider/src/Slider.js +4 -4
  828. package/lib/slider/src/utils.d.ts +1 -1
  829. package/lib/slider/src/utils.js +1 -1
  830. package/lib/slider/styles/light.d.ts +1 -1
  831. package/lib/space/src/Space.d.ts +1 -1
  832. package/lib/space/styles/rtl.d.ts +1 -1
  833. package/lib/spin/src/Spin.d.ts +2 -2
  834. package/lib/spin/styles/light.d.ts +1 -1
  835. package/lib/statistic/styles/light.d.ts +1 -1
  836. package/lib/statistic/styles/rtl.d.ts +1 -1
  837. package/lib/steps/src/Step.d.ts +1 -1
  838. package/lib/steps/src/Steps.d.ts +1 -1
  839. package/lib/steps/styles/rtl.d.ts +1 -1
  840. package/lib/switch/src/Switch.d.ts +1 -1
  841. package/lib/table/src/Table.d.ts +1 -1
  842. package/lib/table/styles/light.d.ts +1 -1
  843. package/lib/table/styles/rtl.d.ts +1 -1
  844. package/lib/tabs/src/TabPane.d.ts +1 -1
  845. package/lib/tabs/src/Tabs.d.ts +122 -4
  846. package/lib/tabs/src/Tabs.js +38 -23
  847. package/lib/tabs/src/interface.d.ts +1 -1
  848. package/lib/tabs/src/styles/index.cssr.js +101 -36
  849. package/lib/tabs/styles/_common.d.ts +12 -0
  850. package/lib/tabs/styles/_common.js +24 -12
  851. package/lib/tabs/styles/light.d.ts +13 -1
  852. package/lib/tag/src/Tag.d.ts +1 -1
  853. package/lib/tag/src/common-props.d.ts +1 -1
  854. package/lib/theme-editor/src/ThemeEditor.d.ts +2 -4
  855. package/lib/theme-editor/src/ThemeEditor.js +1 -1
  856. package/lib/themes/interface.d.ts +1 -1
  857. package/lib/themes/utils.d.ts +1 -1
  858. package/lib/thing/src/Thing.d.ts +1 -1
  859. package/lib/thing/styles/rtl.d.ts +1 -1
  860. package/lib/time/src/Time.d.ts +2 -2
  861. package/lib/time-picker/src/Panel.d.ts +3 -3
  862. package/lib/time-picker/src/PanelCol.d.ts +2 -2
  863. package/lib/time-picker/src/PanelCol.js +1 -1
  864. package/lib/time-picker/src/TimePicker.d.ts +2 -2
  865. package/lib/time-picker/src/interface.d.ts +2 -2
  866. package/lib/time-picker/src/utils.d.ts +1 -1
  867. package/lib/timeline/src/Timeline.d.ts +3 -3
  868. package/lib/timeline/src/TimelineItem.d.ts +1 -1
  869. package/lib/tooltip/src/Tooltip.js +2 -1
  870. package/lib/transfer/src/Transfer.d.ts +5 -6
  871. package/lib/transfer/src/TransferFilter.d.ts +1 -1
  872. package/lib/transfer/src/TransferHeader.d.ts +1 -1
  873. package/lib/transfer/src/TransferList.d.ts +2 -2
  874. package/lib/transfer/src/TransferListItem.d.ts +2 -2
  875. package/lib/transfer/src/interface.d.ts +1 -1
  876. package/lib/transfer/src/use-transfer-data.d.ts +4 -4
  877. package/lib/tree/src/MotionWrapper.d.ts +2 -2
  878. package/lib/tree/src/Tree.d.ts +3 -3
  879. package/lib/tree/src/Tree.js +4 -3
  880. package/lib/tree/src/TreeNode.d.ts +3 -3
  881. package/lib/tree/src/TreeNodeCheckbox.d.ts +1 -1
  882. package/lib/tree/src/TreeNodeCheckbox.js +3 -2
  883. package/lib/tree/src/TreeNodeContent.d.ts +2 -2
  884. package/lib/tree/src/TreeNodeSwitcher.d.ts +1 -1
  885. package/lib/tree/src/dnd.d.ts +2 -2
  886. package/lib/tree/src/interface.d.ts +2 -2
  887. package/lib/tree/src/keyboard.d.ts +3 -3
  888. package/lib/tree/src/utils.d.ts +3 -3
  889. package/lib/tree-select/src/TreeSelect.d.ts +9 -15
  890. package/lib/tree-select/src/interface.d.ts +2 -2
  891. package/lib/tree-select/src/utils.d.ts +2 -2
  892. package/lib/typography/src/create-header.d.ts +2 -2
  893. package/lib/typography/src/p.d.ts +1 -1
  894. package/lib/typography/src/text.d.ts +1 -1
  895. package/lib/upload/src/Upload.d.ts +1 -61
  896. package/lib/upload/src/Upload.js +2 -3
  897. package/lib/upload/src/UploadFile.d.ts +1 -1
  898. package/lib/upload/src/UploadProgress.d.ts +1 -1
  899. package/lib/upload/src/interface.d.ts +2 -2
  900. package/lib/version.d.ts +1 -1
  901. package/lib/version.js +1 -1
  902. package/lib/watermark/src/Watermark.d.ts +2 -2
  903. package/package.json +43 -43
  904. package/web-types.json +88 -14
@@ -39,7 +39,7 @@ export const dynamicInputProps = Object.assign(Object.assign({}, useTheme.props)
39
39
  placeholder: {
40
40
  type: String,
41
41
  default: ''
42
- }, showSortButton: Boolean, createButtonProps: Object, onCreate: Function, onRemove: Function, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array],
42
+ }, disabled: Boolean, showSortButton: Boolean, createButtonProps: Object, onCreate: Function, onRemove: Function, 'onUpdate:value': [Function, Array], onUpdateValue: [Function, Array],
43
43
  // deprecated
44
44
  onClear: Function, onInput: [Function, Array] });
45
45
  export default defineComponent({
@@ -125,7 +125,7 @@ export default defineComponent({
125
125
  doUpdateValue(newValue);
126
126
  }
127
127
  function handleCreateClick() {
128
- createItem(0);
128
+ createItem(-1);
129
129
  }
130
130
  function createItem(index) {
131
131
  const { value: mergedValue } = mergedValueRef;
@@ -159,12 +159,13 @@ export default defineComponent({
159
159
  const { min } = props;
160
160
  if (mergedValue.length <= min)
161
161
  return;
162
+ const { onRemove } = props;
163
+ if (onRemove) {
164
+ onRemove(index);
165
+ }
162
166
  const newValue = Array.from(mergedValue);
163
167
  newValue.splice(index, 1);
164
168
  doUpdateValue(newValue);
165
- const { onRemove } = props;
166
- if (onRemove)
167
- onRemove(index);
168
169
  }
169
170
  function swap(array, currentIndex, targetIndex) {
170
171
  if (currentIndex < 0 ||
@@ -232,13 +233,13 @@ export default defineComponent({
232
233
  };
233
234
  },
234
235
  render() {
235
- const { $slots, buttonSize, mergedClsPrefix, mergedValue, locale, mergedTheme, keyField, itemStyle, preset, showSortButton, NFormItem, ensureKey, handleValueChange, remove, createItem, move, onRender } = this;
236
+ const { $slots, buttonSize, mergedClsPrefix, mergedValue, locale, mergedTheme, keyField, itemStyle, preset, showSortButton, NFormItem, ensureKey, handleValueChange, remove, createItem, move, onRender, disabled } = this;
236
237
  onRender === null || onRender === void 0 ? void 0 : onRender();
237
238
  return (h("div", { class: [
238
239
  `${mergedClsPrefix}-dynamic-input`,
239
240
  this.rtlEnabled && `${mergedClsPrefix}-dynamic-input--rtl`,
240
241
  this.themeClass
241
- ], style: this.cssVars }, !Array.isArray(mergedValue) || mergedValue.length === 0 ? (h(NButton, Object.assign({ block: true, ghost: true, dashed: true, size: buttonSize }, this.createButtonProps, { disabled: this.insertionDisabled, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: this.handleCreateClick }), {
242
+ ], style: this.cssVars }, !Array.isArray(mergedValue) || mergedValue.length === 0 ? (h(NButton, Object.assign({ block: true, ghost: true, dashed: true, size: buttonSize }, this.createButtonProps, { disabled: this.insertionDisabled || disabled, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: this.handleCreateClick }), {
242
243
  default: () => resolveSlot($slots['create-button-default'], () => [
243
244
  locale.create
244
245
  ]),
@@ -251,31 +252,39 @@ export default defineComponent({
251
252
  index
252
253
  }, () => {
253
254
  return [
254
- preset === 'input' ? (h(NDynamicInputInputPreset, { clsPrefix: mergedClsPrefix, value: mergedValue[index], parentPath: NFormItem ? NFormItem.path.value : undefined, path: (NFormItem === null || NFormItem === void 0 ? void 0 : NFormItem.path.value)
255
+ preset === 'input' ? (h(NDynamicInputInputPreset, { disabled: disabled, clsPrefix: mergedClsPrefix, value: mergedValue[index], parentPath: NFormItem ? NFormItem.path.value : undefined, path: (NFormItem === null || NFormItem === void 0 ? void 0 : NFormItem.path.value)
255
256
  ? `${NFormItem.path.value}[${index}]`
256
- : undefined, onUpdateValue: (v) => handleValueChange(index, v) })) : preset === 'pair' ? (h(NDynamicInputPairPreset, { clsPrefix: mergedClsPrefix, value: mergedValue[index], parentPath: NFormItem ? NFormItem.path.value : undefined, path: (NFormItem === null || NFormItem === void 0 ? void 0 : NFormItem.path.value)
257
+ : undefined, onUpdateValue: (v) => { handleValueChange(index, v); } })) : preset === 'pair' ? (h(NDynamicInputPairPreset, { disabled: disabled, clsPrefix: mergedClsPrefix, value: mergedValue[index], parentPath: NFormItem ? NFormItem.path.value : undefined, path: (NFormItem === null || NFormItem === void 0 ? void 0 : NFormItem.path.value)
257
258
  ? `${NFormItem.path.value}[${index}]`
258
- : undefined, onUpdateValue: (v) => handleValueChange(index, v) })) : null
259
+ : undefined, onUpdateValue: (v) => { handleValueChange(index, v); } })) : null
259
260
  ];
260
261
  }),
261
- h("div", { class: `${mergedClsPrefix}-dynamic-input-item__action` },
262
- h(NButtonGroup, { size: buttonSize }, {
263
- default: () => [
264
- h(NButton, { disabled: this.removeDisabled, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, circle: true, onClick: () => remove(index) }, {
265
- icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(RemoveIcon, null) }))
266
- }),
267
- h(NButton, { disabled: this.insertionDisabled, circle: true, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: () => createItem(index) }, {
268
- icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(AddIcon, null) }))
269
- }),
270
- showSortButton ? (h(NButton, { disabled: index === 0, circle: true, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: () => move('up', index) }, {
271
- icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, {
272
- default: () => h(ArrowUpIcon, null)
273
- }))
274
- })) : null,
275
- showSortButton ? (h(NButton, { disabled: index === mergedValue.length - 1, circle: true, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: () => move('down', index) }, {
276
- icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(ArrowDownIcon, null) }))
277
- })) : null
278
- ]
279
- }))))))));
262
+ resolveSlotWithProps($slots.action, {
263
+ value: mergedValue[index],
264
+ index,
265
+ create: createItem,
266
+ remove,
267
+ move
268
+ }, () => [
269
+ h("div", { class: `${mergedClsPrefix}-dynamic-input-item__action` },
270
+ h(NButtonGroup, { size: buttonSize }, {
271
+ default: () => [
272
+ h(NButton, { disabled: this.removeDisabled || disabled, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, circle: true, onClick: () => { remove(index); } }, {
273
+ icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(RemoveIcon, null) }))
274
+ }),
275
+ h(NButton, { disabled: this.insertionDisabled || disabled, circle: true, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: () => { createItem(index); } }, {
276
+ icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(AddIcon, null) }))
277
+ }),
278
+ showSortButton ? (h(NButton, { disabled: index === 0 || disabled, circle: true, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: () => { move('up', index); } }, {
279
+ icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, {
280
+ default: () => h(ArrowUpIcon, null)
281
+ }))
282
+ })) : null,
283
+ showSortButton ? (h(NButton, { disabled: index === mergedValue.length - 1 || disabled, circle: true, theme: mergedTheme.peers.Button, themeOverrides: mergedTheme.peerOverrides.Button, onClick: () => { move('down', index); } }, {
284
+ icon: () => (h(NBaseIcon, { clsPrefix: mergedClsPrefix }, { default: () => h(ArrowDownIcon, null) }))
285
+ })) : null
286
+ ]
287
+ }))
288
+ ])))))));
280
289
  }
281
290
  });
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { type PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  clsPrefix: {
4
4
  type: StringConstructor;
@@ -8,6 +8,7 @@ declare const _default: import("vue").DefineComponent<{
8
8
  type: StringConstructor;
9
9
  default: string;
10
10
  };
11
+ disabled: BooleanConstructor;
11
12
  parentPath: StringConstructor;
12
13
  path: StringConstructor;
13
14
  onUpdateValue: {
@@ -415,6 +416,7 @@ declare const _default: import("vue").DefineComponent<{
415
416
  type: StringConstructor;
416
417
  default: string;
417
418
  };
419
+ disabled: BooleanConstructor;
418
420
  parentPath: StringConstructor;
419
421
  path: StringConstructor;
420
422
  onUpdateValue: {
@@ -423,5 +425,6 @@ declare const _default: import("vue").DefineComponent<{
423
425
  };
424
426
  }>>, {
425
427
  value: string;
428
+ disabled: boolean;
426
429
  }>;
427
430
  export default _default;
@@ -12,6 +12,7 @@ export default defineComponent({
12
12
  type: String,
13
13
  default: ''
14
14
  },
15
+ disabled: Boolean,
15
16
  parentPath: String,
16
17
  path: String,
17
18
  onUpdateValue: {
@@ -29,8 +30,8 @@ export default defineComponent({
29
30
  };
30
31
  },
31
32
  render() {
32
- const { mergedTheme, placeholder, value, clsPrefix, onUpdateValue } = this;
33
+ const { mergedTheme, placeholder, value, clsPrefix, onUpdateValue, disabled } = this;
33
34
  return (h("div", { class: `${clsPrefix}-dynamic-input-preset-input` },
34
- h(NInput, { theme: mergedTheme.peers.Input, "theme-overrides": mergedTheme.peerOverrides.Input, value: value, placeholder: placeholder, onUpdateValue: onUpdateValue })));
35
+ h(NInput, { theme: mergedTheme.peers.Input, "theme-overrides": mergedTheme.peerOverrides.Input, value: value, placeholder: placeholder, onUpdateValue: onUpdateValue, disabled: disabled })));
35
36
  }
36
37
  });
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { type PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<{
3
3
  clsPrefix: {
4
4
  type: StringConstructor;
@@ -14,6 +14,7 @@ declare const _default: import("vue").DefineComponent<{
14
14
  value: string;
15
15
  };
16
16
  };
17
+ disabled: BooleanConstructor;
17
18
  parentPath: StringConstructor;
18
19
  path: StringConstructor;
19
20
  onUpdateValue: {
@@ -433,6 +434,7 @@ declare const _default: import("vue").DefineComponent<{
433
434
  value: string;
434
435
  };
435
436
  };
437
+ disabled: BooleanConstructor;
436
438
  parentPath: StringConstructor;
437
439
  path: StringConstructor;
438
440
  onUpdateValue: {
@@ -447,5 +449,6 @@ declare const _default: import("vue").DefineComponent<{
447
449
  key: string;
448
450
  value: string;
449
451
  };
452
+ disabled: boolean;
450
453
  }>;
451
454
  export default _default;
@@ -15,6 +15,7 @@ export default defineComponent({
15
15
  value: ''
16
16
  })
17
17
  },
18
+ disabled: Boolean,
18
19
  parentPath: String,
19
20
  path: String,
20
21
  onUpdateValue: {
@@ -44,9 +45,9 @@ export default defineComponent({
44
45
  };
45
46
  },
46
47
  render() {
47
- const { mergedTheme, keyPlaceholder, valuePlaceholder, value, clsPrefix } = this;
48
+ const { mergedTheme, keyPlaceholder, valuePlaceholder, value, clsPrefix, disabled } = this;
48
49
  return (h("div", { class: `${clsPrefix}-dynamic-input-preset-pair` },
49
- h(NInput, { theme: mergedTheme.peers.Input, "theme-overrides": mergedTheme.peerOverrides.Input, value: value.key, class: `${clsPrefix}-dynamic-input-pair-input`, placeholder: keyPlaceholder, onUpdateValue: this.handleKeyInput }),
50
- h(NInput, { theme: mergedTheme.peers.Input, "theme-overrides": mergedTheme.peerOverrides.Input, value: value.value, class: `${clsPrefix}-dynamic-input-pair-input`, placeholder: valuePlaceholder, onUpdateValue: this.handleValueInput })));
50
+ h(NInput, { theme: mergedTheme.peers.Input, "theme-overrides": mergedTheme.peerOverrides.Input, value: value.key, class: `${clsPrefix}-dynamic-input-pair-input`, placeholder: keyPlaceholder, onUpdateValue: this.handleKeyInput, disabled: disabled }),
51
+ h(NInput, { theme: mergedTheme.peers.Input, "theme-overrides": mergedTheme.peerOverrides.Input, value: value.value, class: `${clsPrefix}-dynamic-input-pair-input`, placeholder: valuePlaceholder, onUpdateValue: this.handleValueInput, disabled: disabled })));
51
52
  }
52
53
  });
@@ -1,4 +1,4 @@
1
- import { Ref } from 'vue';
1
+ import type { Ref } from 'vue';
2
2
  import type { MergedTheme } from '../../_mixins';
3
3
  import type { DynamicInputTheme } from '../styles';
4
4
  export interface DynamicInputInjection {
@@ -1,3 +1,3 @@
1
- import { DynamicInputTheme } from './light';
1
+ import type { DynamicInputTheme } from './light';
2
2
  declare const dynamicInputDark: DynamicInputTheme;
3
3
  export default dynamicInputDark;
@@ -1,4 +1,4 @@
1
- import { PropType, CSSProperties, VNodeChild } from 'vue';
1
+ import { type PropType, type CSSProperties, type VNodeChild } from 'vue';
2
2
  import type { InputProps } from '../../input';
3
3
  import type { MaybeArray, ExtractPublicPropTypes } from '../../_utils';
4
4
  import type { OnUpdateValue, DynamicTagsOption, OnCreate } from './interface';
@@ -143,7 +143,7 @@ export default defineComponent({
143
143
  default: () => {
144
144
  const { mergedTheme, tagStyle, type, round, size, color, closable, mergedDisabled, showInput, inputValue, inputStyle, inputSize, inputForceFocused, triggerDisabled, handleInputKeyUp, handleInputBlur, handleAddClick, handleCloseClick, handleInputConfirm, $slots } = this;
145
145
  return this.mergedValue
146
- .map((tag, index) => renderTag ? (renderTag(tag, index)) : (h(NTag, { key: index, theme: mergedTheme.peers.Tag, themeOverrides: mergedTheme.peerOverrides.Tag, style: tagStyle, type: type, round: round, size: size, color: color, closable: closable, disabled: mergedDisabled, onClose: () => handleCloseClick(index) }, {
146
+ .map((tag, index) => renderTag ? (renderTag(tag, index)) : (h(NTag, { key: index, theme: mergedTheme.peers.Tag, themeOverrides: mergedTheme.peerOverrides.Tag, style: tagStyle, type: type, round: round, size: size, color: color, closable: closable, disabled: mergedDisabled, onClose: () => { handleCloseClick(index); } }, {
147
147
  default: () => (typeof tag === 'string' ? tag : tag.label)
148
148
  })))
149
149
  .concat(showInput ? ($slots.input ? ($slots.input({
@@ -4,9 +4,9 @@ export declare const elementProps: {
4
4
  readonly type: StringConstructor;
5
5
  readonly default: "div";
6
6
  };
7
- readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Element", {}, any>>;
8
- readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
9
- readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
7
+ readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>;
8
+ readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>>;
9
+ readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>>;
10
10
  };
11
11
  export type ElementProps = ExtractPublicPropTypes<typeof elementProps>;
12
12
  declare const _default: import("vue").DefineComponent<{
@@ -14,9 +14,9 @@ declare const _default: import("vue").DefineComponent<{
14
14
  readonly type: StringConstructor;
15
15
  readonly default: "div";
16
16
  };
17
- readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Element", {}, any>>;
18
- readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
19
- readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
17
+ readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>;
18
+ readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>>;
19
+ readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>>;
20
20
  }, {
21
21
  mergedClsPrefix: import("vue").ComputedRef<string>;
22
22
  cssVars: import("vue").ComputedRef<Record<string, string>> | undefined;
@@ -27,9 +27,9 @@ declare const _default: import("vue").DefineComponent<{
27
27
  readonly type: StringConstructor;
28
28
  readonly default: "div";
29
29
  };
30
- readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Element", {}, any>>;
31
- readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
32
- readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", {}, any>>>;
30
+ readonly theme: import("vue").PropType<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>;
31
+ readonly themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>>;
32
+ readonly builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Element", Record<string, unknown>, any>>>;
33
33
  }>>, {
34
34
  readonly tag: string;
35
35
  }>;
@@ -1,3 +1,3 @@
1
- import { ElementTheme } from './light';
1
+ import { type ElementTheme } from './light';
2
2
  declare const elementDark: ElementTheme;
3
3
  export default elementDark;
@@ -1,4 +1,4 @@
1
- import { Theme } from '../../_mixins';
1
+ import type { Theme } from '../../_mixins';
2
2
  declare const elementLight: Theme<'Element'>;
3
3
  export default elementLight;
4
4
  export type ElementTheme = typeof elementLight;
@@ -1,4 +1,4 @@
1
- import { PropType } from 'vue';
1
+ import { type PropType } from 'vue';
2
2
  import type { PopoverProps } from '../../popover/src/Popover';
3
3
  import type { ExtractPublicPropTypes } from '../../_utils';
4
4
  export declare const ellipsisProps: {
@@ -1,3 +1,3 @@
1
- import { EllipsisTheme } from './light';
1
+ import { type EllipsisTheme } from './light';
2
2
  declare const ellipsisDark: EllipsisTheme;
3
3
  export default ellipsisDark;
@@ -1,4 +1,4 @@
1
- import { PropType, VNodeChild } from 'vue';
1
+ import { type PropType, type VNodeChild } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  export declare const emptyProps: {
4
4
  description: StringConstructor;
@@ -1,5 +1,5 @@
1
- import { PropType } from 'vue';
2
- import { KatexOptions } from 'katex';
1
+ import { type PropType } from 'vue';
2
+ import type { KatexOptions } from 'katex';
3
3
  export declare const equationProps: {
4
4
  readonly value: StringConstructor;
5
5
  readonly katex: PropType<typeof import("katex").default>;
@@ -1,6 +1,6 @@
1
- import { PropType, ExtractPropTypes } from 'vue';
1
+ import { type PropType, type ExtractPropTypes } from 'vue';
2
2
  import type { FormRules, LabelAlign, LabelPlacement, FormInst, Size, FormValidateMessages } from './interface';
3
- import { ExtractPublicPropTypes } from '../../_utils';
3
+ import { type ExtractPublicPropTypes } from '../../_utils';
4
4
  export declare const formProps: {
5
5
  readonly inline: BooleanConstructor;
6
6
  readonly labelWidth: PropType<string | number>;
@@ -27,7 +27,7 @@ export const formProps = Object.assign(Object.assign({}, useTheme.props), { inli
27
27
  default: true
28
28
  }, onSubmit: {
29
29
  type: Function,
30
- default: (e) => e.preventDefault()
30
+ default: (e) => { e.preventDefault(); }
31
31
  }, showLabel: {
32
32
  type: Boolean,
33
33
  default: undefined
@@ -51,7 +51,7 @@ export default defineComponent({
51
51
  };
52
52
  function validate(validateCallback, shouldRuleBeApplied = () => true) {
53
53
  return __awaiter(this, void 0, void 0, function* () {
54
- return yield new Promise((resolve, reject) => {
54
+ yield new Promise((resolve, reject) => {
55
55
  const formItemValidationPromises = [];
56
56
  for (const key of keysOf(formItems)) {
57
57
  const formItemInstances = formItems[key];
@@ -1,6 +1,6 @@
1
- import { PropType, CSSProperties, ExtractPropTypes, LabelHTMLAttributes, VNodeChild } from 'vue';
1
+ import { type PropType, type CSSProperties, type ExtractPropTypes, type LabelHTMLAttributes, type VNodeChild } from 'vue';
2
2
  import type { ExtractPublicPropTypes } from '../../_utils';
3
- import { FormItemRule, LabelAlign, LabelPlacement, FormItemInternalValidate } from './interface';
3
+ import type { FormItemRule, LabelAlign, LabelPlacement, FormItemInternalValidate } from './interface';
4
4
  export declare const formItemProps: {
5
5
  readonly label: StringConstructor;
6
6
  readonly labelWidth: PropType<string | number>;
@@ -123,7 +123,7 @@ export default defineComponent({
123
123
  shouldRuleBeApplied = options.shouldRuleBeApplied;
124
124
  asyncValidatorOptions = options.options;
125
125
  }
126
- return yield new Promise((resolve, reject) => {
126
+ yield new Promise((resolve, reject) => {
127
127
  void internalValidate(trigger, shouldRuleBeApplied, asyncValidatorOptions).then(({ valid, errors }) => {
128
128
  if (valid) {
129
129
  if (validateCallback) {
@@ -18,7 +18,7 @@ export default defineComponent({
18
18
  const restoreValidation = () => {
19
19
  const { value } = formItemInstRef;
20
20
  if (value) {
21
- return value.restoreValidation();
21
+ value.restoreValidation();
22
22
  }
23
23
  };
24
24
  return {
@@ -20,7 +20,7 @@ export default defineComponent({
20
20
  const restoreValidation = () => {
21
21
  const { value } = formItemInstRef;
22
22
  if (value) {
23
- return value.restoreValidation();
23
+ value.restoreValidation();
24
24
  }
25
25
  };
26
26
  return {
@@ -17,7 +17,7 @@ export default defineComponent({
17
17
  const restoreValidation = () => {
18
18
  const { value } = formItemColInstRef;
19
19
  if (value) {
20
- return value.restoreValidation();
20
+ value.restoreValidation();
21
21
  }
22
22
  };
23
23
  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,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;
@@ -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: {
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  mergedClsPrefix: import("vue").ComputedRef<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>;
@@ -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: {
@@ -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;
@@ -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;
@@ -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;
@@ -14,8 +14,8 @@ export const NIconWrapper = defineComponent({
14
14
  name: 'IconWrapper',
15
15
  props: iconWrapperProps,
16
16
  setup(props, { slots }) {
17
- const themeRef = useTheme('IconWrapper', '-icon-wrapper', style, iconWrapperLight, props);
18
17
  const { mergedClsPrefixRef, inlineThemeDisabled } = useConfig(props);
18
+ const themeRef = useTheme('IconWrapper', '-icon-wrapper', style, iconWrapperLight, props, mergedClsPrefixRef);
19
19
  const cssVarsRef = computed(() => {
20
20
  const { common: { cubicBezierEaseInOut }, self: { color, iconColor } } = themeRef.value;
21
21
  return {
@@ -1,4 +1,4 @@
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 {
@@ -44,21 +44,19 @@ export default defineComponent({
44
44
  (_a = imageRef.value) === null || _a === void 0 ? void 0 : _a.setAttribute('data-group-id', (imageGroupHandle === null || imageGroupHandle === void 0 ? void 0 : imageGroupHandle.groupId) || '');
45
45
  });
46
46
  onMounted(() => {
47
- if (isImageSupportNativeLazy) {
48
- return;
49
- }
50
- let unobserve;
51
- const stopWatchHandle = watchEffect(() => {
52
- unobserve === null || unobserve === void 0 ? void 0 : unobserve();
53
- unobserve = undefined;
54
- if (props.lazy) {
47
+ // Use IntersectionObserver if lazy and intersectionObserverOptions is set
48
+ if (props.lazy && props.intersectionObserverOptions) {
49
+ let unobserve;
50
+ const stopWatchHandle = watchEffect(() => {
51
+ unobserve === null || unobserve === void 0 ? void 0 : unobserve();
52
+ unobserve = undefined;
55
53
  unobserve = observeIntersection(imageRef.value, props.intersectionObserverOptions, shouldStartLoadingRef);
56
- }
57
- });
58
- onBeforeUnmount(() => {
59
- stopWatchHandle();
60
- unobserve === null || unobserve === void 0 ? void 0 : unobserve();
61
- });
54
+ });
55
+ onBeforeUnmount(() => {
56
+ stopWatchHandle();
57
+ unobserve === null || unobserve === void 0 ? void 0 : unobserve();
58
+ });
59
+ }
62
60
  });
63
61
  watchEffect(() => {
64
62
  var _a;
@@ -93,14 +91,14 @@ export default defineComponent({
93
91
  var _a, _b;
94
92
  const { mergedClsPrefix, imgProps = {}, loaded, $attrs, lazy } = this;
95
93
  const placeholderNode = (_b = (_a = this.$slots).placeholder) === null || _b === void 0 ? void 0 : _b.call(_a);
96
- const loadSrc = this.src || imgProps.src || '';
97
- const imgNode = h('img', Object.assign(Object.assign({}, imgProps), { ref: 'imageRef', width: this.width || imgProps.width, height: this.height || imgProps.height, src: isImageSupportNativeLazy
98
- ? loadSrc
99
- : this.showError
100
- ? this.fallbackSrc
101
- : this.shouldStartLoading
94
+ const loadSrc = this.src || imgProps.src;
95
+ const imgNode = h('img', Object.assign(Object.assign({}, imgProps), { ref: 'imageRef', width: this.width || imgProps.width, height: this.height || imgProps.height, src: this.showError
96
+ ? this.fallbackSrc
97
+ : lazy && this.intersectionObserverOptions
98
+ ? this.shouldStartLoading
102
99
  ? loadSrc
103
- : undefined, alt: this.alt || imgProps.alt, 'aria-label': this.alt || imgProps.alt, onClick: this.mergedOnClick, onError: this.mergedOnError, onLoad: this.mergedOnLoad,
100
+ : undefined
101
+ : loadSrc, alt: this.alt || imgProps.alt, 'aria-label': this.alt || imgProps.alt, onClick: this.mergedOnClick, onError: this.mergedOnError, onLoad: this.mergedOnLoad,
104
102
  // If interseciton observer options is set, do not use native lazy
105
103
  loading: isImageSupportNativeLazy && lazy && !this.intersectionObserverOptions
106
104
  ? 'lazy'
@@ -1,5 +1,5 @@
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;
@@ -52,8 +52,8 @@ export default defineComponent({
52
52
  return {
53
53
  mergedClsPrefix: mergedClsPrefixRef,
54
54
  previewInstRef,
55
- next: () => go(1),
56
- prev: () => go(-1)
55
+ next: () => { go(1); },
56
+ prev: () => { go(-1); }
57
57
  };
58
58
  },
59
59
  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;