naive-ui 2.43.0 → 2.43.2

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 (596) hide show
  1. package/README.md +10 -1
  2. package/README.zh-CN.md +10 -1
  3. package/dist/index.js +10297 -10084
  4. package/dist/index.mjs +10297 -10084
  5. package/dist/index.prod.js +1 -1
  6. package/dist/index.prod.mjs +1 -1
  7. package/es/_internal/clear/src/Clear.d.ts +1 -1
  8. package/es/_internal/close/src/Close.d.ts +2 -2
  9. package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
  10. package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  11. package/es/_internal/icon/src/Icon.d.ts +1 -1
  12. package/es/_internal/icons/replaceable.mjs +1 -1
  13. package/es/_internal/loading/src/Loading.d.ts +1 -1
  14. package/es/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
  15. package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
  16. package/es/_internal/select-menu/src/SelectMenu.d.ts +6 -6
  17. package/es/_internal/select-menu/src/SelectOption.d.ts +2 -2
  18. package/es/_internal/selection/src/Selection.d.ts +9 -9
  19. package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  20. package/es/_internal/suffix/src/Suffix.d.ts +1 -1
  21. package/es/_mixins/use-config.d.ts +1 -1
  22. package/es/_mixins/use-css-vars-class.d.ts +1 -1
  23. package/es/_mixins/use-form-item.d.ts +1 -1
  24. package/es/_mixins/use-hljs.d.ts +1 -1
  25. package/es/_mixins/use-locale.d.ts +1 -1
  26. package/es/_mixins/use-rtl.d.ts +1 -1
  27. package/es/_mixins/use-style.d.ts +1 -1
  28. package/es/_mixins/use-theme.d.ts +1 -1
  29. package/es/_mixins/use-theme.mjs +1 -1
  30. package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
  31. package/es/_utils/composable/use-browser-location.d.ts +1 -1
  32. package/es/_utils/composable/use-collection.d.ts +1 -1
  33. package/es/_utils/composable/use-deferred-true.d.ts +1 -1
  34. package/es/_utils/composable/use-is-composing.d.ts +1 -1
  35. package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  36. package/es/_utils/composable/use-resize.d.ts +1 -1
  37. package/es/_utils/cssr/index.d.ts +1 -1
  38. package/es/_utils/vue/flatten.d.ts +1 -1
  39. package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
  40. package/es/_utils/vue/render.d.ts +1 -1
  41. package/es/_utils/vue/resolve-slot.d.ts +1 -1
  42. package/es/affix/src/Affix.d.ts +3 -3
  43. package/es/alert/src/Alert.d.ts +2 -2
  44. package/es/anchor/src/AnchorAdapter.d.ts +2 -2
  45. package/es/anchor/src/BaseAnchor.d.ts +3 -3
  46. package/es/anchor/src/Link.d.ts +1 -1
  47. package/es/auto-complete/src/AutoComplete.d.ts +7 -7
  48. package/es/avatar/src/Avatar.d.ts +4 -4
  49. package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
  50. package/es/back-top/src/BackTop.d.ts +2 -2
  51. package/es/badge/src/Badge.d.ts +2 -2
  52. package/es/breadcrumb/src/Breadcrumb.d.ts +2 -2
  53. package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  54. package/es/button/src/Button.d.ts +11 -11
  55. package/es/button/src/styles/index.cssr.mjs +7 -7
  56. package/es/button-group/src/ButtonGroup.d.ts +1 -1
  57. package/es/calendar/src/Calendar.d.ts +1 -1
  58. package/es/card/src/Card.d.ts +3 -3
  59. package/es/carousel/src/Carousel.d.ts +6 -6
  60. package/es/carousel/src/CarouselDots.d.ts +1 -1
  61. package/es/carousel/src/CarouselItem.mjs +1 -1
  62. package/es/cascader/src/Cascader.d.ts +8 -8
  63. package/es/cascader/src/CascaderMenu.d.ts +2 -2
  64. package/es/cascader/src/CascaderOption.d.ts +2 -2
  65. package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
  66. package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
  67. package/es/checkbox/src/Checkbox.d.ts +10 -10
  68. package/es/checkbox/src/CheckboxGroup.d.ts +2 -2
  69. package/es/code/src/Code.d.ts +4 -4
  70. package/es/collapse/src/Collapse.d.ts +2 -2
  71. package/es/collapse/src/CollapseItem.d.ts +2 -2
  72. package/es/collapse/src/CollapseItemContent.d.ts +1 -1
  73. package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
  74. package/es/color-picker/src/AlphaSlider.d.ts +3 -3
  75. package/es/color-picker/src/ColorInput.d.ts +2 -2
  76. package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
  77. package/es/color-picker/src/ColorPicker.d.ts +5 -5
  78. package/es/color-picker/src/ColorPickerSwatches.d.ts +2 -2
  79. package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  80. package/es/color-picker/src/ColorPreview.d.ts +2 -2
  81. package/es/color-picker/src/HueSlider.d.ts +1 -1
  82. package/es/color-picker/src/Pallete.d.ts +1 -1
  83. package/es/color-picker/src/utils.d.ts +1 -1
  84. package/es/composables/use-theme-vars.d.ts +1 -1
  85. package/es/config-provider/src/ConfigProvider.d.ts +5 -5
  86. package/es/config-provider/src/ConfigProvider.mjs +1 -1
  87. package/es/countdown/src/Countdown.d.ts +2 -2
  88. package/es/data-table/src/DataTable.d.ts +6 -6
  89. package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
  90. package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -2
  91. package/es/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
  92. package/es/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
  93. package/es/data-table/src/HeaderButton/SortButton.d.ts +2 -2
  94. package/es/data-table/src/TableParts/Body.d.ts +2 -2
  95. package/es/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
  96. package/es/data-table/src/TableParts/BodyRadio.d.ts +2 -2
  97. package/es/data-table/src/TableParts/Cell.d.ts +1 -1
  98. package/es/data-table/src/TableParts/Cell.mjs +1 -1
  99. package/es/data-table/src/TableParts/ExpandTrigger.d.ts +2 -2
  100. package/es/data-table/src/TableParts/Header.d.ts +1 -1
  101. package/es/data-table/src/use-check.d.ts +1 -1
  102. package/es/data-table/src/use-expand.d.ts +1 -1
  103. package/es/data-table/src/use-group-header.d.ts +1 -1
  104. package/es/data-table/src/use-scroll.d.ts +1 -1
  105. package/es/data-table/src/use-sorter.d.ts +1 -1
  106. package/es/data-table/src/use-table-data.d.ts +1 -1
  107. package/es/date-picker/src/DatePicker.d.ts +4 -4
  108. package/es/date-picker/src/interface.d.ts +6 -19
  109. package/es/date-picker/src/panel/date.d.ts +1 -1
  110. package/es/date-picker/src/panel/month.d.ts +2 -2
  111. package/es/date-picker/src/panel/monthrange.d.ts +2 -2
  112. package/es/date-picker/src/panel/panelHeader.d.ts +1 -1
  113. package/es/date-picker/src/panel/use-calendar.d.ts +1 -1
  114. package/es/date-picker/src/panel/use-calendar.mjs +7 -2
  115. package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  116. package/es/date-picker/src/panel/use-dual-calendar.mjs +5 -2
  117. package/es/date-picker/src/panel/use-panel-common.d.ts +2 -2
  118. package/es/date-picker/src/panel/use-panel-common.mjs +1 -1
  119. package/es/date-picker/src/props.mjs +1 -1
  120. package/es/date-picker/src/utils.d.ts +12 -2
  121. package/es/date-picker/src/utils.mjs +9 -1
  122. package/es/date-picker/src/validation-utils.d.ts +1 -1
  123. package/es/descriptions/src/Descriptions.d.ts +4 -4
  124. package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
  125. package/es/descriptions/styles/light.d.ts +1 -1
  126. package/es/dialog/src/Dialog.d.ts +3 -3
  127. package/es/dialog/src/DialogEnvironment.d.ts +4 -4
  128. package/es/dialog/src/DialogProvider.d.ts +1062 -720
  129. package/es/dialog/src/composables.d.ts +1 -1
  130. package/es/dialog/src/dialogProps.d.ts +1 -1
  131. package/es/dialog/src/styles/index.cssr.mjs +17 -17
  132. package/es/discrete/src/InjectionExtractor.d.ts +1 -1
  133. package/es/discrete/src/discreteApp.d.ts +7 -7
  134. package/es/divider/src/Divider.d.ts +2 -2
  135. package/es/drawer/src/Drawer.d.ts +3 -3
  136. package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
  137. package/es/drawer/src/DrawerContent.d.ts +1 -1
  138. package/es/dropdown/src/Dropdown.d.ts +10 -10
  139. package/es/dropdown/src/DropdownGroup.d.ts +1 -1
  140. package/es/dropdown/src/DropdownMenu.d.ts +1 -1
  141. package/es/dropdown/src/DropdownOption.d.ts +2 -2
  142. package/es/dropdown/src/DropdownRenderOption.d.ts +1 -1
  143. package/es/dynamic-input/src/DynamicInput.d.ts +3 -3
  144. package/es/dynamic-input/src/InputPreset.d.ts +1 -1
  145. package/es/dynamic-input/src/PairPreset.d.ts +1 -1
  146. package/es/dynamic-tags/src/DynamicTags.d.ts +5 -5
  147. package/es/element/src/Element.mjs +1 -1
  148. package/es/ellipsis/src/Ellipsis.d.ts +1 -1
  149. package/es/empty/src/Empty.d.ts +2 -2
  150. package/es/equation/src/Equation.d.ts +1 -1
  151. package/es/flex/src/Flex.d.ts +4 -4
  152. package/es/float-button/src/FloatButton.d.ts +3 -3
  153. package/es/float-button-group/src/FloatButtonGroup.d.ts +2 -2
  154. package/es/form/src/Form.d.ts +3 -3
  155. package/es/form/src/FormItem.d.ts +3 -3
  156. package/es/form/src/FormItem.mjs +1 -1
  157. package/es/form/src/FormItemCol.d.ts +2 -2
  158. package/es/form/src/FormItemGridItem.d.ts +3 -3
  159. package/es/form/src/FormItemRow.d.ts +1 -1
  160. package/es/form/src/utils.d.ts +2 -2
  161. package/es/form/src/utils.mjs +1 -1
  162. package/es/global-style/src/GlobalStyle.mjs +1 -1
  163. package/es/gradient-text/src/GradientText.d.ts +3 -3
  164. package/es/grid/src/Grid.d.ts +6 -6
  165. package/es/grid/src/GridItem.d.ts +3 -3
  166. package/es/heatmap/src/Heatmap.d.ts +2 -2
  167. package/es/heatmap/src/Heatmap.mjs +1 -1
  168. package/es/heatmap/src/Rect.d.ts +1 -1
  169. package/es/heatmap/src/utils/index.mjs +1 -1
  170. package/es/heatmap/styles/light.d.ts +1 -1
  171. package/es/icon/src/Icon.d.ts +1 -1
  172. package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
  173. package/es/image/src/Image.d.ts +3 -3
  174. package/es/image/src/ImagePreview.d.ts +1 -1
  175. package/es/image/src/ImagePreview.mjs +1 -1
  176. package/es/infinite-scroll/src/InfiniteScroll.d.ts +2 -2
  177. package/es/input/src/Input.d.ts +17 -17
  178. package/es/input/src/InputGroupLabel.d.ts +1 -1
  179. package/es/input-number/src/InputNumber.d.ts +8 -8
  180. package/es/input-otp/src/InputOtp.d.ts +4 -4
  181. package/es/layout/src/Layout.d.ts +3 -3
  182. package/es/layout/src/LayoutContent.d.ts +1 -1
  183. package/es/layout/src/LayoutFooter.d.ts +1 -1
  184. package/es/layout/src/LayoutHeader.d.ts +1 -1
  185. package/es/layout/src/LayoutSider.d.ts +3 -3
  186. package/es/layout/src/ToggleBar.d.ts +1 -1
  187. package/es/layout/src/ToggleButton.d.ts +1 -1
  188. package/es/legacy-grid/src/Col.d.ts +4 -4
  189. package/es/legacy-grid/src/Row.d.ts +2 -2
  190. package/es/legacy-transfer/src/Transfer.d.ts +5 -5
  191. package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
  192. package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
  193. package/es/legacy-transfer/src/TransferList.d.ts +4 -4
  194. package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
  195. package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  196. package/es/list/src/List.d.ts +1 -1
  197. package/es/loading-bar/src/LoadingBar.d.ts +1 -1
  198. package/es/loading-bar/src/LoadingBarProvider.d.ts +1 -1
  199. package/es/locales/utils/index.mjs +1 -1
  200. package/es/log/src/Log.d.ts +5 -5
  201. package/es/log/src/Log.mjs +3 -1
  202. package/es/marquee/src/Marquee.d.ts +1 -1
  203. package/es/mention/src/Mention.d.ts +12 -12
  204. package/es/menu/src/Menu.d.ts +6 -6
  205. package/es/menu/src/MenuOption.d.ts +3 -3
  206. package/es/menu/src/MenuOptionContent.d.ts +1 -1
  207. package/es/menu/src/MenuOptionGroup.d.ts +2 -2
  208. package/es/menu/src/Submenu.d.ts +3 -3
  209. package/es/menu/src/use-menu-child.d.ts +1 -1
  210. package/es/menu/src/utils.d.ts +1 -1
  211. package/es/message/src/Message.d.ts +1 -1
  212. package/es/message/src/Message.mjs +0 -1
  213. package/es/message/src/MessageEnvironment.d.ts +2 -2
  214. package/es/message/src/MessageProvider.d.ts +2 -2
  215. package/es/modal/src/BodyWrapper.d.ts +7 -7
  216. package/es/modal/src/Modal.d.ts +7 -7
  217. package/es/modal/src/ModalEnvironment.d.ts +7 -7
  218. package/es/modal/src/presetProps.d.ts +1 -1
  219. package/es/modal/src/styles/index.cssr.mjs +2 -2
  220. package/es/notification/src/Notification.d.ts +3 -3
  221. package/es/notification/src/NotificationContainer.d.ts +1 -1
  222. package/es/notification/src/NotificationEnvironment.d.ts +2 -2
  223. package/es/notification/src/NotificationProvider.d.ts +25 -25
  224. package/es/number-animation/src/NumberAnimation.d.ts +2 -2
  225. package/es/number-animation/src/NumberAnimation.mjs +1 -1
  226. package/es/page-header/src/PageHeader.d.ts +1 -1
  227. package/es/pagination/src/Pagination.d.ts +2 -2
  228. package/es/pagination/styles/light.d.ts +1 -1
  229. package/es/popconfirm/src/Popconfirm.d.ts +6 -6
  230. package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  231. package/es/popconfirm/styles/light.d.ts +1 -1
  232. package/es/popover/src/Popover.d.ts +7 -7
  233. package/es/popover/src/PopoverBody.d.ts +4 -4
  234. package/es/popover/src/styles/index.cssr.mjs +1 -1
  235. package/es/popselect/src/Popselect.d.ts +63 -63
  236. package/es/popselect/src/PopselectPanel.d.ts +5 -5
  237. package/es/progress/src/Circle.mjs +1 -1
  238. package/es/progress/src/Line.d.ts +1 -1
  239. package/es/progress/src/MultipleCircle.d.ts +1 -1
  240. package/es/progress/src/Progress.d.ts +3 -3
  241. package/es/qr-code/src/QrCode.d.ts +3 -3
  242. package/es/radio/src/RadioButton.d.ts +5 -5
  243. package/es/radio/src/RadioGroup.d.ts +1 -1
  244. package/es/radio/src/use-radio.d.ts +1 -1
  245. package/es/rate/src/Rate.d.ts +2 -2
  246. package/es/result/src/Result.d.ts +2 -2
  247. package/es/scrollbar/src/Scrollbar.d.ts +2 -2
  248. package/es/select/src/Select.d.ts +12 -12
  249. package/es/skeleton/src/Skeleton.d.ts +3 -3
  250. package/es/slider/src/Slider.d.ts +8 -8
  251. package/es/slider/src/utils.d.ts +1 -1
  252. package/es/space/src/Space.d.ts +4 -4
  253. package/es/spin/src/Spin.d.ts +2 -2
  254. package/es/split/src/Split.d.ts +3 -3
  255. package/es/statistic/src/Statistic.d.ts +1 -1
  256. package/es/steps/src/Step.d.ts +3 -2
  257. package/es/steps/src/Step.mjs +35 -19
  258. package/es/steps/src/Steps.d.ts +14 -1
  259. package/es/steps/src/Steps.mjs +5 -1
  260. package/es/steps/src/styles/index.cssr.mjs +8 -1
  261. package/es/switch/src/Switch.d.ts +4 -4
  262. package/es/table/src/Table.d.ts +1 -1
  263. package/es/tabs/src/Tab.d.ts +9 -9
  264. package/es/tabs/src/TabPane.d.ts +1 -1
  265. package/es/tabs/src/Tabs.d.ts +9 -8
  266. package/es/tabs/src/Tabs.mjs +3 -1
  267. package/es/tag/src/Tag.d.ts +6 -6
  268. package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
  269. package/es/theme-editor/src/ThemeEditor.mjs +1 -1
  270. package/es/thing/src/Thing.d.ts +1 -1
  271. package/es/time/src/Time.d.ts +2 -2
  272. package/es/time-picker/src/Panel.d.ts +3 -3
  273. package/es/time-picker/src/PanelCol.d.ts +1 -1
  274. package/es/time-picker/src/TimePicker.d.ts +5 -5
  275. package/es/time-picker/src/utils.d.ts +1 -1
  276. package/es/timeline/src/Timeline.d.ts +4 -4
  277. package/es/timeline/src/TimelineItem.d.ts +2 -2
  278. package/es/tooltip/src/Tooltip.d.ts +6 -6
  279. package/es/transfer/src/Transfer.d.ts +5 -5
  280. package/es/transfer/src/TransferFilter.d.ts +1 -1
  281. package/es/transfer/src/TransferHeader.d.ts +1 -1
  282. package/es/transfer/src/TransferList.d.ts +4 -4
  283. package/es/transfer/src/TransferListItem.d.ts +3 -3
  284. package/es/tree/src/MotionWrapper.d.ts +1 -1
  285. package/es/tree/src/Tree.d.ts +8 -8
  286. package/es/tree/src/TreeNode.d.ts +2 -2
  287. package/es/tree/src/TreeNodeCheckbox.d.ts +3 -3
  288. package/es/tree/src/TreeNodeContent.d.ts +3 -3
  289. package/es/tree/src/TreeNodeSwitcher.d.ts +4 -4
  290. package/es/tree/src/dnd.d.ts +1 -1
  291. package/es/tree/src/keyboard.d.ts +1 -1
  292. package/es/tree/src/utils.d.ts +1 -1
  293. package/es/tree-select/src/TreeSelect.d.ts +11 -11
  294. package/es/typography/src/create-header.d.ts +3 -3
  295. package/es/typography/src/headers.d.ts +6 -6
  296. package/es/typography/src/p.d.ts +1 -1
  297. package/es/typography/src/text.d.ts +2 -2
  298. package/es/upload/src/Upload.d.ts +4 -4
  299. package/es/upload/src/UploadFile.d.ts +1 -1
  300. package/es/upload/src/UploadProgress.d.ts +1 -1
  301. package/es/upload/src/UploadTrigger.d.ts +3 -3
  302. package/es/version.d.ts +1 -1
  303. package/es/version.mjs +1 -1
  304. package/es/virtual-list/src/VirtualList.d.ts +4 -4
  305. package/es/vitest-setup.mjs +27 -0
  306. package/es/watermark/src/Watermark.d.ts +10 -10
  307. package/lib/_internal/clear/src/Clear.d.ts +1 -1
  308. package/lib/_internal/close/src/Close.d.ts +2 -2
  309. package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
  310. package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
  311. package/lib/_internal/icon/src/Icon.d.ts +1 -1
  312. package/lib/_internal/loading/src/Loading.d.ts +1 -1
  313. package/lib/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
  314. package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
  315. package/lib/_internal/select-menu/src/SelectMenu.d.ts +6 -6
  316. package/lib/_internal/select-menu/src/SelectOption.d.ts +2 -2
  317. package/lib/_internal/selection/src/Selection.d.ts +9 -9
  318. package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
  319. package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
  320. package/lib/_mixins/use-config.d.ts +1 -1
  321. package/lib/_mixins/use-css-vars-class.d.ts +1 -1
  322. package/lib/_mixins/use-form-item.d.ts +1 -1
  323. package/lib/_mixins/use-hljs.d.ts +1 -1
  324. package/lib/_mixins/use-locale.d.ts +1 -1
  325. package/lib/_mixins/use-rtl.d.ts +1 -1
  326. package/lib/_mixins/use-style.d.ts +1 -1
  327. package/lib/_mixins/use-theme.d.ts +1 -1
  328. package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
  329. package/lib/_utils/composable/use-browser-location.d.ts +1 -1
  330. package/lib/_utils/composable/use-collection.d.ts +1 -1
  331. package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
  332. package/lib/_utils/composable/use-is-composing.d.ts +1 -1
  333. package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
  334. package/lib/_utils/composable/use-resize.d.ts +1 -1
  335. package/lib/_utils/cssr/index.d.ts +1 -1
  336. package/lib/_utils/vue/flatten.d.ts +1 -1
  337. package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
  338. package/lib/_utils/vue/render.d.ts +1 -1
  339. package/lib/_utils/vue/resolve-slot.d.ts +1 -1
  340. package/lib/affix/src/Affix.d.ts +3 -3
  341. package/lib/alert/src/Alert.d.ts +2 -2
  342. package/lib/anchor/src/AnchorAdapter.d.ts +2 -2
  343. package/lib/anchor/src/BaseAnchor.d.ts +3 -3
  344. package/lib/anchor/src/Link.d.ts +1 -1
  345. package/lib/auto-complete/src/AutoComplete.d.ts +7 -7
  346. package/lib/avatar/src/Avatar.d.ts +4 -4
  347. package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
  348. package/lib/back-top/src/BackTop.d.ts +2 -2
  349. package/lib/badge/src/Badge.d.ts +2 -2
  350. package/lib/breadcrumb/src/Breadcrumb.d.ts +2 -2
  351. package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
  352. package/lib/button/src/Button.d.ts +11 -11
  353. package/lib/button/src/styles/index.cssr.js +7 -7
  354. package/lib/button-group/src/ButtonGroup.d.ts +1 -1
  355. package/lib/calendar/src/Calendar.d.ts +1 -1
  356. package/lib/card/src/Card.d.ts +3 -3
  357. package/lib/carousel/src/Carousel.d.ts +6 -6
  358. package/lib/carousel/src/CarouselDots.d.ts +1 -1
  359. package/lib/cascader/src/Cascader.d.ts +8 -8
  360. package/lib/cascader/src/CascaderMenu.d.ts +2 -2
  361. package/lib/cascader/src/CascaderOption.d.ts +2 -2
  362. package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
  363. package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
  364. package/lib/checkbox/src/Checkbox.d.ts +10 -10
  365. package/lib/checkbox/src/CheckboxGroup.d.ts +2 -2
  366. package/lib/code/src/Code.d.ts +4 -4
  367. package/lib/collapse/src/Collapse.d.ts +2 -2
  368. package/lib/collapse/src/CollapseItem.d.ts +2 -2
  369. package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
  370. package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
  371. package/lib/color-picker/src/AlphaSlider.d.ts +3 -3
  372. package/lib/color-picker/src/ColorInput.d.ts +2 -2
  373. package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
  374. package/lib/color-picker/src/ColorPicker.d.ts +5 -5
  375. package/lib/color-picker/src/ColorPickerSwatches.d.ts +2 -2
  376. package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
  377. package/lib/color-picker/src/ColorPreview.d.ts +2 -2
  378. package/lib/color-picker/src/HueSlider.d.ts +1 -1
  379. package/lib/color-picker/src/Pallete.d.ts +1 -1
  380. package/lib/color-picker/src/utils.d.ts +1 -1
  381. package/lib/composables/use-theme-vars.d.ts +1 -1
  382. package/lib/config-provider/src/ConfigProvider.d.ts +5 -5
  383. package/lib/countdown/src/Countdown.d.ts +2 -2
  384. package/lib/data-table/src/DataTable.d.ts +6 -6
  385. package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
  386. package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -2
  387. package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
  388. package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
  389. package/lib/data-table/src/HeaderButton/SortButton.d.ts +2 -2
  390. package/lib/data-table/src/TableParts/Body.d.ts +2 -2
  391. package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
  392. package/lib/data-table/src/TableParts/BodyRadio.d.ts +2 -2
  393. package/lib/data-table/src/TableParts/Cell.d.ts +1 -1
  394. package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +2 -2
  395. package/lib/data-table/src/TableParts/Header.d.ts +1 -1
  396. package/lib/data-table/src/use-check.d.ts +1 -1
  397. package/lib/data-table/src/use-expand.d.ts +1 -1
  398. package/lib/data-table/src/use-group-header.d.ts +1 -1
  399. package/lib/data-table/src/use-scroll.d.ts +1 -1
  400. package/lib/data-table/src/use-sorter.d.ts +1 -1
  401. package/lib/data-table/src/use-table-data.d.ts +1 -1
  402. package/lib/date-picker/src/DatePicker.d.ts +4 -4
  403. package/lib/date-picker/src/interface.d.ts +6 -19
  404. package/lib/date-picker/src/panel/date.d.ts +1 -1
  405. package/lib/date-picker/src/panel/month.d.ts +2 -2
  406. package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
  407. package/lib/date-picker/src/panel/panelHeader.d.ts +1 -1
  408. package/lib/date-picker/src/panel/use-calendar.d.ts +1 -1
  409. package/lib/date-picker/src/panel/use-calendar.js +7 -1
  410. package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
  411. package/lib/date-picker/src/panel/use-dual-calendar.js +5 -1
  412. package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -2
  413. package/lib/date-picker/src/panel/use-panel-common.js +1 -1
  414. package/lib/date-picker/src/props.js +1 -1
  415. package/lib/date-picker/src/utils.d.ts +12 -2
  416. package/lib/date-picker/src/utils.js +10 -0
  417. package/lib/date-picker/src/validation-utils.d.ts +1 -1
  418. package/lib/descriptions/src/Descriptions.d.ts +4 -4
  419. package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
  420. package/lib/descriptions/styles/light.d.ts +1 -1
  421. package/lib/dialog/src/Dialog.d.ts +3 -3
  422. package/lib/dialog/src/DialogEnvironment.d.ts +4 -4
  423. package/lib/dialog/src/DialogProvider.d.ts +1062 -720
  424. package/lib/dialog/src/composables.d.ts +1 -1
  425. package/lib/dialog/src/dialogProps.d.ts +1 -1
  426. package/lib/dialog/src/styles/index.cssr.js +17 -17
  427. package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
  428. package/lib/discrete/src/discreteApp.d.ts +7 -7
  429. package/lib/divider/src/Divider.d.ts +2 -2
  430. package/lib/drawer/src/Drawer.d.ts +3 -3
  431. package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
  432. package/lib/drawer/src/DrawerContent.d.ts +1 -1
  433. package/lib/dropdown/src/Dropdown.d.ts +10 -10
  434. package/lib/dropdown/src/DropdownGroup.d.ts +1 -1
  435. package/lib/dropdown/src/DropdownMenu.d.ts +1 -1
  436. package/lib/dropdown/src/DropdownOption.d.ts +2 -2
  437. package/lib/dropdown/src/DropdownRenderOption.d.ts +1 -1
  438. package/lib/dynamic-input/src/DynamicInput.d.ts +3 -3
  439. package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
  440. package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
  441. package/lib/dynamic-tags/src/DynamicTags.d.ts +5 -5
  442. package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
  443. package/lib/empty/src/Empty.d.ts +2 -2
  444. package/lib/equation/src/Equation.d.ts +1 -1
  445. package/lib/flex/src/Flex.d.ts +4 -4
  446. package/lib/float-button/src/FloatButton.d.ts +3 -3
  447. package/lib/float-button-group/src/FloatButtonGroup.d.ts +2 -2
  448. package/lib/form/src/Form.d.ts +3 -3
  449. package/lib/form/src/FormItem.d.ts +3 -3
  450. package/lib/form/src/FormItemCol.d.ts +2 -2
  451. package/lib/form/src/FormItemGridItem.d.ts +3 -3
  452. package/lib/form/src/FormItemRow.d.ts +1 -1
  453. package/lib/form/src/utils.d.ts +2 -2
  454. package/lib/gradient-text/src/GradientText.d.ts +3 -3
  455. package/lib/grid/src/Grid.d.ts +6 -6
  456. package/lib/grid/src/GridItem.d.ts +3 -3
  457. package/lib/heatmap/src/Heatmap.d.ts +2 -2
  458. package/lib/heatmap/src/Rect.d.ts +1 -1
  459. package/lib/heatmap/styles/light.d.ts +1 -1
  460. package/lib/icon/src/Icon.d.ts +1 -1
  461. package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
  462. package/lib/image/src/Image.d.ts +3 -3
  463. package/lib/image/src/ImagePreview.d.ts +1 -1
  464. package/lib/infinite-scroll/src/InfiniteScroll.d.ts +2 -2
  465. package/lib/input/src/Input.d.ts +17 -17
  466. package/lib/input/src/InputGroupLabel.d.ts +1 -1
  467. package/lib/input-number/src/InputNumber.d.ts +8 -8
  468. package/lib/input-otp/src/InputOtp.d.ts +4 -4
  469. package/lib/layout/src/Layout.d.ts +3 -3
  470. package/lib/layout/src/LayoutContent.d.ts +1 -1
  471. package/lib/layout/src/LayoutFooter.d.ts +1 -1
  472. package/lib/layout/src/LayoutHeader.d.ts +1 -1
  473. package/lib/layout/src/LayoutSider.d.ts +3 -3
  474. package/lib/layout/src/ToggleBar.d.ts +1 -1
  475. package/lib/layout/src/ToggleButton.d.ts +1 -1
  476. package/lib/legacy-grid/src/Col.d.ts +4 -4
  477. package/lib/legacy-grid/src/Row.d.ts +2 -2
  478. package/lib/legacy-transfer/src/Transfer.d.ts +5 -5
  479. package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
  480. package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
  481. package/lib/legacy-transfer/src/TransferList.d.ts +4 -4
  482. package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
  483. package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
  484. package/lib/list/src/List.d.ts +1 -1
  485. package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
  486. package/lib/loading-bar/src/LoadingBarProvider.d.ts +1 -1
  487. package/lib/log/src/Log.d.ts +5 -5
  488. package/lib/log/src/Log.js +3 -1
  489. package/lib/marquee/src/Marquee.d.ts +1 -1
  490. package/lib/mention/src/Mention.d.ts +12 -12
  491. package/lib/menu/src/Menu.d.ts +6 -6
  492. package/lib/menu/src/MenuOption.d.ts +3 -3
  493. package/lib/menu/src/MenuOptionContent.d.ts +1 -1
  494. package/lib/menu/src/MenuOptionGroup.d.ts +2 -2
  495. package/lib/menu/src/Submenu.d.ts +3 -3
  496. package/lib/menu/src/use-menu-child.d.ts +1 -1
  497. package/lib/menu/src/utils.d.ts +1 -1
  498. package/lib/message/src/Message.d.ts +1 -1
  499. package/lib/message/src/Message.js +0 -1
  500. package/lib/message/src/MessageEnvironment.d.ts +2 -2
  501. package/lib/message/src/MessageProvider.d.ts +2 -2
  502. package/lib/modal/src/BodyWrapper.d.ts +7 -7
  503. package/lib/modal/src/Modal.d.ts +7 -7
  504. package/lib/modal/src/ModalEnvironment.d.ts +7 -7
  505. package/lib/modal/src/presetProps.d.ts +1 -1
  506. package/lib/modal/src/styles/index.cssr.js +2 -2
  507. package/lib/notification/src/Notification.d.ts +3 -3
  508. package/lib/notification/src/NotificationContainer.d.ts +1 -1
  509. package/lib/notification/src/NotificationEnvironment.d.ts +2 -2
  510. package/lib/notification/src/NotificationProvider.d.ts +25 -25
  511. package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
  512. package/lib/page-header/src/PageHeader.d.ts +1 -1
  513. package/lib/pagination/src/Pagination.d.ts +2 -2
  514. package/lib/pagination/styles/light.d.ts +1 -1
  515. package/lib/popconfirm/src/Popconfirm.d.ts +6 -6
  516. package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
  517. package/lib/popconfirm/styles/light.d.ts +1 -1
  518. package/lib/popover/src/Popover.d.ts +7 -7
  519. package/lib/popover/src/PopoverBody.d.ts +4 -4
  520. package/lib/popselect/src/Popselect.d.ts +63 -63
  521. package/lib/popselect/src/PopselectPanel.d.ts +5 -5
  522. package/lib/progress/src/Circle.js +1 -1
  523. package/lib/progress/src/Line.d.ts +1 -1
  524. package/lib/progress/src/MultipleCircle.d.ts +1 -1
  525. package/lib/progress/src/Progress.d.ts +3 -3
  526. package/lib/qr-code/src/QrCode.d.ts +3 -3
  527. package/lib/radio/src/RadioButton.d.ts +5 -5
  528. package/lib/radio/src/RadioGroup.d.ts +1 -1
  529. package/lib/radio/src/use-radio.d.ts +1 -1
  530. package/lib/rate/src/Rate.d.ts +2 -2
  531. package/lib/result/src/Result.d.ts +2 -2
  532. package/lib/scrollbar/src/Scrollbar.d.ts +2 -2
  533. package/lib/select/src/Select.d.ts +12 -12
  534. package/lib/skeleton/src/Skeleton.d.ts +3 -3
  535. package/lib/slider/src/Slider.d.ts +8 -8
  536. package/lib/slider/src/utils.d.ts +1 -1
  537. package/lib/space/src/Space.d.ts +4 -4
  538. package/lib/spin/src/Spin.d.ts +2 -2
  539. package/lib/split/src/Split.d.ts +3 -3
  540. package/lib/statistic/src/Statistic.d.ts +1 -1
  541. package/lib/steps/src/Step.d.ts +3 -2
  542. package/lib/steps/src/Step.js +48 -30
  543. package/lib/steps/src/Steps.d.ts +14 -1
  544. package/lib/steps/src/Steps.js +7 -2
  545. package/lib/steps/src/styles/index.cssr.js +8 -1
  546. package/lib/switch/src/Switch.d.ts +4 -4
  547. package/lib/table/src/Table.d.ts +1 -1
  548. package/lib/tabs/src/Tab.d.ts +9 -9
  549. package/lib/tabs/src/TabPane.d.ts +1 -1
  550. package/lib/tabs/src/Tabs.d.ts +9 -8
  551. package/lib/tabs/src/Tabs.js +5 -3
  552. package/lib/tag/src/Tag.d.ts +6 -6
  553. package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
  554. package/lib/thing/src/Thing.d.ts +1 -1
  555. package/lib/time/src/Time.d.ts +2 -2
  556. package/lib/time-picker/src/Panel.d.ts +3 -3
  557. package/lib/time-picker/src/PanelCol.d.ts +1 -1
  558. package/lib/time-picker/src/TimePicker.d.ts +5 -5
  559. package/lib/time-picker/src/utils.d.ts +1 -1
  560. package/lib/timeline/src/Timeline.d.ts +4 -4
  561. package/lib/timeline/src/TimelineItem.d.ts +2 -2
  562. package/lib/tooltip/src/Tooltip.d.ts +6 -6
  563. package/lib/transfer/src/Transfer.d.ts +5 -5
  564. package/lib/transfer/src/TransferFilter.d.ts +1 -1
  565. package/lib/transfer/src/TransferHeader.d.ts +1 -1
  566. package/lib/transfer/src/TransferList.d.ts +4 -4
  567. package/lib/transfer/src/TransferListItem.d.ts +3 -3
  568. package/lib/tree/src/MotionWrapper.d.ts +1 -1
  569. package/lib/tree/src/Tree.d.ts +8 -8
  570. package/lib/tree/src/TreeNode.d.ts +2 -2
  571. package/lib/tree/src/TreeNodeCheckbox.d.ts +3 -3
  572. package/lib/tree/src/TreeNodeContent.d.ts +3 -3
  573. package/lib/tree/src/TreeNodeSwitcher.d.ts +4 -4
  574. package/lib/tree/src/dnd.d.ts +1 -1
  575. package/lib/tree/src/keyboard.d.ts +1 -1
  576. package/lib/tree/src/utils.d.ts +1 -1
  577. package/lib/tree-select/src/TreeSelect.d.ts +11 -11
  578. package/lib/typography/src/create-header.d.ts +3 -3
  579. package/lib/typography/src/headers.d.ts +6 -6
  580. package/lib/typography/src/p.d.ts +1 -1
  581. package/lib/typography/src/text.d.ts +2 -2
  582. package/lib/upload/src/Upload.d.ts +4 -4
  583. package/lib/upload/src/UploadFile.d.ts +1 -1
  584. package/lib/upload/src/UploadProgress.d.ts +1 -1
  585. package/lib/upload/src/UploadTrigger.d.ts +3 -3
  586. package/lib/version.d.ts +1 -1
  587. package/lib/version.js +1 -1
  588. package/lib/virtual-list/src/VirtualList.d.ts +4 -4
  589. package/lib/vitest-setup.js +29 -0
  590. package/lib/watermark/src/Watermark.d.ts +10 -10
  591. package/package.json +45 -48
  592. package/web-types.json +12 -2
  593. package/es/jest-setup.mjs +0 -5
  594. package/lib/jest-setup.js +0 -7
  595. /package/es/{jest-setup.d.ts → vitest-setup.d.ts} +0 -0
  596. /package/lib/{jest-setup.d.ts → vitest-setup.d.ts} +0 -0
@@ -1,5 +1,5 @@
1
+ import type { PropType } from 'vue';
1
2
  import type { ExtractPublicPropTypes } from '../../_utils';
2
- import { type PropType } from 'vue';
3
3
  export declare const defaultSpan = 1;
4
4
  export declare const gridItemProps: {
5
5
  readonly span: {
@@ -19,7 +19,7 @@ export declare const gridItemProps: {
19
19
  readonly default: true;
20
20
  };
21
21
  };
22
- export declare const gridItemPropKeys: ("span" | "offset" | "suffix" | "privateOffset" | "privateSpan" | "privateColStart" | "privateShow")[];
22
+ export declare const gridItemPropKeys: ("offset" | "span" | "suffix" | "privateOffset" | "privateSpan" | "privateColStart" | "privateShow")[];
23
23
  export type GridItemProps = ExtractPublicPropTypes<typeof gridItemProps>;
24
24
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
25
  readonly span: {
@@ -66,8 +66,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
66
66
  readonly default: true;
67
67
  };
68
68
  }>> & Readonly<{}>, {
69
- readonly span: string | number;
70
69
  readonly offset: string | number;
70
+ readonly span: string | number;
71
71
  readonly suffix: boolean;
72
72
  readonly privateShow: boolean;
73
73
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -3,7 +3,7 @@ import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  import type { TooltipProps } from '../../tooltip';
4
4
  import type { DayRect } from './interface';
5
5
  import type { HeatmapData, HeatmapFirstDayOfWeek, HeatmapSlots } from './public-types';
6
- import { type HeatmapColorTheme } from './theme';
6
+ import type { HeatmapColorTheme } from './theme';
7
7
  export declare const heatmapProps: {
8
8
  readonly activeColors: PropType<string[]>;
9
9
  readonly colorTheme: PropType<HeatmapColorTheme>;
@@ -374,9 +374,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
374
374
  }, any>>>;
375
375
  }>> & Readonly<{}>, {
376
376
  readonly size: "small" | "medium" | "large";
377
- readonly tooltip: boolean | TooltipProps;
378
377
  readonly loading: boolean;
379
378
  readonly firstDayOfWeek: HeatmapFirstDayOfWeek;
379
+ readonly tooltip: boolean | TooltipProps;
380
380
  readonly fillCalendarLeading: boolean;
381
381
  readonly showColorIndicator: boolean;
382
382
  readonly showWeekLabels: boolean;
@@ -1,5 +1,5 @@
1
1
  import { addDays, format, parseISO, startOfWeek } from 'date-fns';
2
- import { groupBy, mapValues, maxBy } from 'lodash';
2
+ import { groupBy, mapValues, maxBy } from 'lodash-es';
3
3
  import { pxfy } from 'seemly';
4
4
  import { computed, defineComponent, h } from 'vue';
5
5
  import { useConfig, useLocale, useRtl, useTheme, useThemeClass } from "../../_mixins/index.mjs";
@@ -51,7 +51,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
51
51
  default: boolean;
52
52
  };
53
53
  }>> & Readonly<{}>, {
54
- tooltip: boolean | PopoverProps;
55
54
  loading: boolean;
55
+ tooltip: boolean | PopoverProps;
56
56
  }, SlotsType<RectSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
57
57
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { differenceInCalendarDays, eachDayOfInterval, endOfWeek, endOfYear, getDay, isWithinInterval, startOfDay, startOfWeek, startOfYear, subYears } from 'date-fns';
2
- import { groupBy } from 'lodash';
2
+ import { groupBy } from 'lodash-es';
3
3
  /** get color by value/maxValue */
4
4
  export function calcColorByValue(colors, value, maxValue) {
5
5
  if (maxValue === 0 || value === null || value === undefined || value <= 0) {
@@ -1,5 +1,5 @@
1
+ import type { Theme } from '../../_mixins';
1
2
  import type { ThemeCommonVars } from '../../_styles/common';
2
- import { type Theme } from '../../_mixins';
3
3
  export declare function self(vars: ThemeCommonVars): {
4
4
  activeColors: string[];
5
5
  borderRadius: string;
@@ -1,5 +1,5 @@
1
+ import type { Component, PropType } from 'vue';
1
2
  import type { ExtractPublicPropTypes } from '../../_utils';
2
- import { type Component, type PropType } from 'vue';
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>;
@@ -1,4 +1,4 @@
1
- import { type ExtractPublicPropTypes } from '../../_utils';
1
+ import type { ExtractPublicPropTypes } from '../../_utils';
2
2
  export declare const iconWrapperProps: {
3
3
  readonly size: {
4
4
  readonly type: NumberConstructor;
@@ -71,6 +71,6 @@ export declare const NIconWrapper: import("vue").DefineComponent<import("vue").E
71
71
  iconColor: string;
72
72
  }, any>>>;
73
73
  }>> & Readonly<{}>, {
74
- readonly size: number;
75
74
  readonly borderRadius: number;
75
+ readonly size: number;
76
76
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
+ import type { ImgHTMLAttributes, PropType, SlotsType } from 'vue';
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
1
3
  import type { ImagePreviewInst, ImageSlots } from './public-types';
2
4
  import type { IntersectionObserverOptions } from './utils';
3
- import { type ImgHTMLAttributes, type PropType, type SlotsType } from 'vue';
4
- import { type ExtractPublicPropTypes } from '../../_utils';
5
5
  export declare const imageProps: {
6
6
  onPreviewPrev: PropType<() => void>;
7
7
  onPreviewNext: PropType<() => void>;
@@ -484,7 +484,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
484
484
  onError: PropType<(e: Event) => void>;
485
485
  onLoad: PropType<(e: Event) => void>;
486
486
  }>> & Readonly<{}>, {
487
- objectFit: "fill" | "none" | "contain" | "cover" | "scale-down";
487
+ objectFit: "none" | "fill" | "contain" | "cover" | "scale-down";
488
488
  lazy: boolean;
489
489
  showToolbar: boolean;
490
490
  showToolbarTooltip: boolean;
@@ -1,5 +1,5 @@
1
+ import type { PropType, VNode } from 'vue';
1
2
  import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
2
- import { type PropType, type VNode } from 'vue';
3
3
  export declare const imagePreviewProps: {
4
4
  src: StringConstructor;
5
5
  show: {
@@ -1,5 +1,5 @@
1
1
  import { off, on } from 'evtd';
2
- import { kebabCase } from 'lodash';
2
+ import { kebabCase } from 'lodash-es';
3
3
  import { beforeNextFrameOnce } from 'seemly';
4
4
  import { zindexable } from 'vdirs';
5
5
  import { useIsMounted, useMergedState } from 'vooks';
@@ -1,7 +1,7 @@
1
+ import type { PropType } from 'vue';
2
+ import type { ScrollbarInst } from '../../_internal';
1
3
  import type { ExtractPublicPropTypes } from '../../_utils';
2
4
  import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar';
3
- import { type PropType } from 'vue';
4
- import { type ScrollbarInst } from '../../_internal';
5
5
  export declare const infiniteScrollProps: {
6
6
  readonly distance: {
7
7
  readonly type: NumberConstructor;
@@ -1,8 +1,8 @@
1
+ import type { InputHTMLAttributes, PropType, SlotsType, TextareaHTMLAttributes, VNode, VNodeChild } from 'vue';
2
+ import type { ScrollbarInst } from '../../_internal';
3
+ import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
1
4
  import type { FormValidationStatus } from '../../form/src/public-types';
2
5
  import type { OnUpdateValue, Size } from './interface';
3
- import { type InputHTMLAttributes, type PropType, type SlotsType, type TextareaHTMLAttributes, type VNode, type VNodeChild } from 'vue';
4
- import { type ScrollbarInst } from '../../_internal';
5
- import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
6
6
  export declare const inputProps: {
7
7
  bordered: {
8
8
  type: PropType<boolean | undefined>;
@@ -41,7 +41,7 @@ export declare const inputProps: {
41
41
  pair: BooleanConstructor;
42
42
  separator: StringConstructor;
43
43
  readonly: {
44
- type: (BooleanConstructor | StringConstructor)[];
44
+ type: (StringConstructor | BooleanConstructor)[];
45
45
  default: boolean;
46
46
  };
47
47
  passivelyActivated: BooleanConstructor;
@@ -374,7 +374,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
374
374
  pair: BooleanConstructor;
375
375
  separator: StringConstructor;
376
376
  readonly: {
377
- type: (BooleanConstructor | StringConstructor)[];
377
+ type: (StringConstructor | BooleanConstructor)[];
378
378
  default: boolean;
379
379
  };
380
380
  passivelyActivated: BooleanConstructor;
@@ -690,14 +690,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
690
690
  uncontrolledValue: import("vue").Ref<string | [string, string] | null, string | [string, string] | null>;
691
691
  mergedValue: import("vue").ComputedRef<string | [string, string] | null>;
692
692
  passwordVisible: import("vue").Ref<boolean, boolean>;
693
- mergedPlaceholder: import("vue").ComputedRef<[string] | [string, string]>;
693
+ mergedPlaceholder: import("vue").ComputedRef<[string, string] | [string]>;
694
694
  showPlaceholder1: import("vue").ComputedRef<string | false>;
695
695
  showPlaceholder2: import("vue").ComputedRef<boolean | "" | undefined>;
696
696
  mergedFocus: import("vue").ComputedRef<boolean>;
697
697
  isComposing: import("vue").Ref<boolean, boolean>;
698
698
  activated: import("vue").Ref<boolean, boolean>;
699
699
  showClearButton: import("vue").ComputedRef<boolean>;
700
- mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny">;
700
+ mergedSize: import("vue").ComputedRef<"tiny" | "small" | "medium" | "large">;
701
701
  mergedDisabled: import("vue").ComputedRef<boolean>;
702
702
  textDecorationStyle: import("vue").ComputedRef<string[] | {
703
703
  textDecoration: string;
@@ -919,7 +919,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
919
919
  pair: BooleanConstructor;
920
920
  separator: StringConstructor;
921
921
  readonly: {
922
- type: (BooleanConstructor | StringConstructor)[];
922
+ type: (StringConstructor | BooleanConstructor)[];
923
923
  default: boolean;
924
924
  };
925
925
  passivelyActivated: BooleanConstructor;
@@ -1202,24 +1202,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1202
1202
  }, any>;
1203
1203
  }>>>;
1204
1204
  }>> & Readonly<{}>, {
1205
- type: "textarea" | "text" | "password";
1206
- readonly: string | boolean;
1207
1205
  disabled: boolean | undefined;
1208
- round: boolean;
1209
- autofocus: boolean;
1210
- loading: boolean;
1211
- autosize: boolean | {
1212
- minRows?: number;
1213
- maxRows?: number;
1214
- };
1206
+ type: "text" | "textarea" | "password";
1215
1207
  bordered: boolean | undefined;
1216
1208
  clearable: boolean;
1217
1209
  defaultValue: string | [string, string] | null;
1210
+ loading: boolean;
1211
+ round: boolean;
1218
1212
  resizable: boolean;
1219
1213
  stateful: boolean;
1220
1214
  pair: boolean;
1221
1215
  rows: string | number;
1216
+ autosize: boolean | {
1217
+ minRows?: number;
1218
+ maxRows?: number;
1219
+ };
1220
+ readonly: string | boolean;
1222
1221
  passivelyActivated: boolean;
1222
+ autofocus: boolean;
1223
1223
  showCount: boolean;
1224
1224
  attrSize: number;
1225
1225
  internalDeactivateOnEnter: boolean;
@@ -1,6 +1,6 @@
1
+ import type { PropType } from 'vue';
1
2
  import type { ExtractPublicPropTypes } from '../../_utils';
2
3
  import type { Size } from './interface';
3
- import { type PropType } from 'vue';
4
4
  export declare const inputGroupLabelProps: {
5
5
  readonly size: PropType<Size>;
6
6
  readonly bordered: {
@@ -1,7 +1,7 @@
1
+ import type { InputHTMLAttributes, PropType, SlotsType, VNode } from 'vue';
2
+ import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
1
3
  import type { FormValidationStatus } from '../../form/src/public-types';
2
4
  import type { OnUpdateValue, Size } from './interface';
3
- import { type InputHTMLAttributes, type PropType, type SlotsType, type VNode } from 'vue';
4
- import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
5
5
  export declare const inputNumberProps: {
6
6
  autofocus: BooleanConstructor;
7
7
  loading: {
@@ -1895,7 +1895,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1895
1895
  mergedValue: import("vue").ComputedRef<number | null>;
1896
1896
  mergedPlaceholder: import("vue").ComputedRef<string>;
1897
1897
  displayedValueInvalid: import("vue").ComputedRef<boolean>;
1898
- mergedSize: import("vue").ComputedRef<"small" | "medium" | "large" | "tiny">;
1898
+ mergedSize: import("vue").ComputedRef<"tiny" | "small" | "medium" | "large">;
1899
1899
  mergedDisabled: import("vue").ComputedRef<boolean>;
1900
1900
  displayedValue: import("vue").Ref<string, string>;
1901
1901
  addable: import("vue").ComputedRef<boolean>;
@@ -3147,19 +3147,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3147
3147
  }>;
3148
3148
  }>>>;
3149
3149
  }>> & Readonly<{}>, {
3150
- readonly: boolean;
3151
3150
  disabled: boolean | undefined;
3152
- round: boolean | undefined;
3153
- step: string | number;
3154
- autofocus: boolean;
3155
- loading: boolean;
3156
3151
  bordered: boolean | undefined;
3157
3152
  clearable: boolean;
3158
3153
  defaultValue: number | null;
3154
+ loading: boolean;
3155
+ round: boolean | undefined;
3159
3156
  keyboard: {
3160
3157
  ArrowUp?: boolean;
3161
3158
  ArrowDown?: boolean;
3162
3159
  };
3160
+ readonly: boolean;
3161
+ autofocus: boolean;
3162
+ step: string | number;
3163
3163
  showButton: boolean;
3164
3164
  buttonPlacement: "right" | "both";
3165
3165
  updateValueOnInput: boolean;
@@ -1006,12 +1006,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1006
1006
  }>;
1007
1007
  }>>>;
1008
1008
  }>> & Readonly<{}>, {
1009
- readonly: boolean;
1010
- block: boolean;
1009
+ disabled: boolean;
1011
1010
  length: number;
1011
+ block: boolean;
1012
+ defaultValue: string[];
1012
1013
  placeholder: string;
1013
- disabled: boolean;
1014
1014
  mask: boolean;
1015
- defaultValue: string[];
1015
+ readonly: boolean;
1016
1016
  }, SlotsType<InputOtpSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1017
1017
  export default _default;
@@ -1,6 +1,6 @@
1
+ import type { CSSProperties, ExtractPropTypes, PropType } from 'vue';
1
2
  import type { ScrollbarInst, ScrollbarProps } from '../../_internal';
2
3
  import type { ExtractPublicPropTypes } from '../../_utils';
3
- import { type CSSProperties, type ExtractPropTypes, type PropType } from 'vue';
4
4
  export declare const layoutProps: {
5
5
  readonly embedded: BooleanConstructor;
6
6
  readonly position: {
@@ -406,7 +406,7 @@ export declare function createLayoutComponent(isContent: boolean): import("vue")
406
406
  }, any>;
407
407
  }>>>;
408
408
  }>> & Readonly<{}>, {
409
- position: "static" | "absolute";
409
+ position: "absolute" | "static";
410
410
  contentStyle: string | CSSProperties;
411
411
  embedded: boolean;
412
412
  nativeScrollbar: boolean;
@@ -771,7 +771,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
771
771
  }, any>;
772
772
  }>>>;
773
773
  }>> & Readonly<{}>, {
774
- position: "static" | "absolute";
774
+ position: "absolute" | "static";
775
775
  contentStyle: string | CSSProperties;
776
776
  embedded: boolean;
777
777
  nativeScrollbar: boolean;
@@ -356,7 +356,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
356
356
  }, any>;
357
357
  }>>>;
358
358
  }>> & Readonly<{}>, {
359
- position: "static" | "absolute";
359
+ position: "absolute" | "static";
360
360
  contentStyle: string | import("vue").CSSProperties;
361
361
  embedded: boolean;
362
362
  nativeScrollbar: boolean;
@@ -370,7 +370,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
370
370
  }, any>;
371
371
  }>>>;
372
372
  }>> & Readonly<{}>, {
373
- position: "static" | "absolute";
373
+ position: "absolute" | "static";
374
374
  bordered: boolean;
375
375
  inverted: boolean;
376
376
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -265,7 +265,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
265
265
  }, any>;
266
266
  }>>>;
267
267
  }>> & Readonly<{}>, {
268
- position: "static" | "absolute";
268
+ position: "absolute" | "static";
269
269
  bordered: boolean;
270
270
  inverted: boolean;
271
271
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
+ import type { CSSProperties, PropType } from 'vue';
1
2
  import type { ScrollbarInst, ScrollbarProps } from '../../_internal';
2
3
  import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
3
- import { type CSSProperties, type PropType } from 'vue';
4
4
  export declare const layoutSiderProps: {
5
5
  readonly position: {
6
6
  readonly type: PropType<"static" | "absolute">;
@@ -484,9 +484,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
484
484
  }, any>;
485
485
  }>>>;
486
486
  }>> & Readonly<{}>, {
487
- position: "static" | "absolute";
488
- width: string | number;
487
+ position: "absolute" | "static";
489
488
  bordered: boolean;
489
+ width: string | number;
490
490
  contentStyle: string | CSSProperties;
491
491
  collapsed: boolean | undefined;
492
492
  nativeScrollbar: boolean;
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import type { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  clsPrefix: {
4
4
  type: StringConstructor;
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import type { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  clsPrefix: {
4
4
  type: StringConstructor;
@@ -1,6 +1,6 @@
1
+ import type { PropType } from 'vue';
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
1
3
  import type { Span } from './interface';
2
- import { type PropType } from 'vue';
3
- import { type ExtractPublicPropTypes } from '../../_utils';
4
4
  export declare const colProps: {
5
5
  readonly span: {
6
6
  readonly type: PropType<Span>;
@@ -19,7 +19,7 @@ export declare const colProps: {
19
19
  readonly default: 0;
20
20
  };
21
21
  };
22
- export declare const colPropKeys: ("push" | "span" | "offset" | "pull")[];
22
+ export declare const colPropKeys: ("push" | "offset" | "span" | "pull")[];
23
23
  export type ColProps = ExtractPublicPropTypes<typeof colProps>;
24
24
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
25
25
  readonly span: {
@@ -62,8 +62,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
62
62
  };
63
63
  }>> & Readonly<{}>, {
64
64
  readonly push: Span;
65
- readonly span: Span;
66
65
  readonly offset: Span;
66
+ readonly span: Span;
67
67
  readonly pull: Span;
68
68
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
69
69
  export default _default;
@@ -1,5 +1,5 @@
1
- import { type PropType, type Ref } from 'vue';
2
- import { type ExtractPublicPropTypes } from '../../_utils';
1
+ import type { PropType, Ref } from 'vue';
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  export interface RowInjection {
4
4
  gutterRef: Ref<string | number | [number, number]>;
5
5
  verticalGutterRef: Ref<number>;
@@ -1,6 +1,6 @@
1
- import { type PropType } from 'vue';
2
- import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
3
- import { type Filter, type OnUpdateValue, type Option, type OptionValue } from './interface';
1
+ import type { PropType } from 'vue';
2
+ import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
3
+ import type { Filter, OnUpdateValue, Option, OptionValue } from './interface';
4
4
  export declare const transferProps: {
5
5
  readonly value: PropType<OptionValue[] | null>;
6
6
  readonly defaultValue: {
@@ -3790,10 +3790,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
3790
3790
  }, any>;
3791
3791
  }>>>;
3792
3792
  }>> & Readonly<{}>, {
3793
- readonly options: Option[];
3794
- readonly filter: Filter;
3795
3793
  readonly disabled: boolean | undefined;
3794
+ readonly filter: Filter;
3796
3795
  readonly defaultValue: OptionValue[] | null;
3796
+ readonly options: Option[];
3797
3797
  readonly filterable: boolean;
3798
3798
  readonly virtualScroll: boolean;
3799
3799
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import type { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  value: StringConstructor;
4
4
  placeholder: StringConstructor;
@@ -1,4 +1,4 @@
1
- import { type PropType } from 'vue';
1
+ import type { PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  source: {
4
4
  type: BooleanConstructor;
@@ -1,7 +1,7 @@
1
- import { type PropType } from 'vue';
2
- import { type VirtualListInst } from 'vueuc';
3
- import { type ScrollbarInst } from '../../_internal';
4
- import { type Option } from './interface';
1
+ import type { PropType } from 'vue';
2
+ import type { VirtualListInst } from 'vueuc';
3
+ import type { ScrollbarInst } from '../../_internal';
4
+ import type { Option } from './interface';
5
5
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  virtualScroll: {
7
7
  type: BooleanConstructor;
@@ -842,7 +842,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
842
842
  default: boolean;
843
843
  };
844
844
  }>> & Readonly<{}>, {
845
- source: boolean;
846
845
  disabled: boolean;
846
+ source: boolean;
847
847
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
848
848
  export default _default;
@@ -1,5 +1,5 @@
1
+ import type { Ref } from 'vue';
1
2
  import type { CheckedStatus, Filter, Option, OptionValue } from './interface';
2
- import { type Ref } from 'vue';
3
3
  interface UseTransferDataProps {
4
4
  defaultValue: OptionValue[] | null;
5
5
  value?: OptionValue[] | null;
@@ -1,5 +1,5 @@
1
1
  import type { PropType, Ref, SlotsType, VNode } from 'vue';
2
- import { type ExtractPublicPropTypes } from '../../_utils';
2
+ import type { ExtractPublicPropTypes } from '../../_utils';
3
3
  export declare const listProps: {
4
4
  size: {
5
5
  type: PropType<"small" | "medium" | "large">;
@@ -1,4 +1,4 @@
1
- import { type CSSProperties, type PropType } from 'vue';
1
+ import type { CSSProperties, PropType } from 'vue';
2
2
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  containerClass: StringConstructor;
4
4
  containerStyle: PropType<string | CSSProperties>;
@@ -1,5 +1,5 @@
1
+ import type { CSSProperties, ExtractPropTypes, PropType } from 'vue';
1
2
  import type { ExtractPublicPropTypes } from '../../_utils';
2
- import { type CSSProperties, type ExtractPropTypes, type PropType } from 'vue';
3
3
  export interface LoadingBarInst {
4
4
  start: () => void;
5
5
  error: () => void;
@@ -1,4 +1,4 @@
1
- import { merge } from 'lodash';
1
+ import { merge } from 'lodash-es';
2
2
  export function createLocale(locale, fallbackLocale) {
3
3
  return merge({}, fallbackLocale, locale);
4
4
  }
@@ -1,7 +1,7 @@
1
+ import type { PropType, Ref } from 'vue';
1
2
  import type { ScrollbarInst } from '../../_internal';
3
+ import type { Hljs } from '../../_mixins';
2
4
  import type { ExtractPublicPropTypes } from '../../_utils';
3
- import { type PropType, type Ref } from 'vue';
4
- import { type Hljs } from '../../_mixins';
5
5
  export interface LogInjection {
6
6
  trimRef: Ref<boolean>;
7
7
  languageRef: Ref<string | undefined>;
@@ -375,7 +375,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
375
375
  mergedLines: import("vue").ComputedRef<string[]>;
376
376
  scrollToTop: (silent?: boolean) => void;
377
377
  scrollToBottom: (silent?: boolean) => void;
378
- handleWheel: import("lodash").DebouncedFuncLeading<(e: WheelEvent) => void>;
378
+ handleWheel: (e: WheelEvent) => void;
379
379
  handleScroll: (e: Event) => void;
380
380
  cssVars: import("vue").ComputedRef<{
381
381
  '--n-bezier': string;
@@ -533,12 +533,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
533
533
  }, any>;
534
534
  }>>>;
535
535
  }>> & Readonly<{}>, {
536
- readonly trim: boolean;
537
536
  readonly fontSize: number;
538
537
  readonly lineHeight: number;
539
- readonly loading: boolean;
540
538
  readonly offsetTop: number;
541
539
  readonly offsetBottom: number;
540
+ readonly loading: boolean;
541
+ readonly trim: boolean;
542
542
  readonly rows: number;
543
543
  readonly lines: string[];
544
544
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,4 +1,4 @@
1
- import { throttle } from 'lodash';
1
+ import { throttle as _throttle } from 'lodash-es';
2
2
  import { computed, defineComponent, h, nextTick, provide, ref, toRef, Transition } from 'vue';
3
3
  import { NScrollbar } from "../../_internal/index.mjs";
4
4
  import { useConfig, useHljs, useTheme, useThemeClass } from "../../_mixins/index.mjs";
@@ -9,6 +9,8 @@ import { logInjectionKey } from "./context.mjs";
9
9
  import NLogLine from "./LogLine.mjs";
10
10
  import NLogLoader from "./LogLoader.mjs";
11
11
  import style from "./styles/index.cssr.mjs";
12
+ // Fix vue-tsc error
13
+ const throttle = _throttle;
12
14
  export const logProps = Object.assign(Object.assign({}, useTheme.props), {
13
15
  loading: Boolean,
14
16
  trim: Boolean,
@@ -32,7 +32,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
32
  themeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Marquee", {}, any>>>;
33
33
  builtinThemeOverrides: import("vue").PropType<import("../../_mixins/use-theme").ExtractThemeOverrides<import("../../_mixins").Theme<"Marquee", {}, any>>>;
34
34
  }>> & Readonly<{}>, {
35
- speed: number;
36
35
  autoFill: boolean;
36
+ speed: number;
37
37
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
38
  export default _default;