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.
- package/README.md +10 -1
- package/README.zh-CN.md +10 -1
- package/dist/index.js +10297 -10084
- package/dist/index.mjs +10297 -10084
- package/dist/index.prod.js +1 -1
- package/dist/index.prod.mjs +1 -1
- package/es/_internal/clear/src/Clear.d.ts +1 -1
- package/es/_internal/close/src/Close.d.ts +2 -2
- package/es/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
- package/es/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/es/_internal/icon/src/Icon.d.ts +1 -1
- package/es/_internal/icons/replaceable.mjs +1 -1
- package/es/_internal/loading/src/Loading.d.ts +1 -1
- package/es/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
- package/es/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
- package/es/_internal/select-menu/src/SelectMenu.d.ts +6 -6
- package/es/_internal/select-menu/src/SelectOption.d.ts +2 -2
- package/es/_internal/selection/src/Selection.d.ts +9 -9
- package/es/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/es/_internal/suffix/src/Suffix.d.ts +1 -1
- package/es/_mixins/use-config.d.ts +1 -1
- package/es/_mixins/use-css-vars-class.d.ts +1 -1
- package/es/_mixins/use-form-item.d.ts +1 -1
- package/es/_mixins/use-hljs.d.ts +1 -1
- package/es/_mixins/use-locale.d.ts +1 -1
- package/es/_mixins/use-rtl.d.ts +1 -1
- package/es/_mixins/use-style.d.ts +1 -1
- package/es/_mixins/use-theme.d.ts +1 -1
- package/es/_mixins/use-theme.mjs +1 -1
- package/es/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/es/_utils/composable/use-browser-location.d.ts +1 -1
- package/es/_utils/composable/use-collection.d.ts +1 -1
- package/es/_utils/composable/use-deferred-true.d.ts +1 -1
- package/es/_utils/composable/use-is-composing.d.ts +1 -1
- package/es/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/es/_utils/composable/use-resize.d.ts +1 -1
- package/es/_utils/cssr/index.d.ts +1 -1
- package/es/_utils/vue/flatten.d.ts +1 -1
- package/es/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/es/_utils/vue/render.d.ts +1 -1
- package/es/_utils/vue/resolve-slot.d.ts +1 -1
- package/es/affix/src/Affix.d.ts +3 -3
- package/es/alert/src/Alert.d.ts +2 -2
- package/es/anchor/src/AnchorAdapter.d.ts +2 -2
- package/es/anchor/src/BaseAnchor.d.ts +3 -3
- package/es/anchor/src/Link.d.ts +1 -1
- package/es/auto-complete/src/AutoComplete.d.ts +7 -7
- package/es/avatar/src/Avatar.d.ts +4 -4
- package/es/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/es/back-top/src/BackTop.d.ts +2 -2
- package/es/badge/src/Badge.d.ts +2 -2
- package/es/breadcrumb/src/Breadcrumb.d.ts +2 -2
- package/es/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/es/button/src/Button.d.ts +11 -11
- package/es/button/src/styles/index.cssr.mjs +7 -7
- package/es/button-group/src/ButtonGroup.d.ts +1 -1
- package/es/calendar/src/Calendar.d.ts +1 -1
- package/es/card/src/Card.d.ts +3 -3
- package/es/carousel/src/Carousel.d.ts +6 -6
- package/es/carousel/src/CarouselDots.d.ts +1 -1
- package/es/carousel/src/CarouselItem.mjs +1 -1
- package/es/cascader/src/Cascader.d.ts +8 -8
- package/es/cascader/src/CascaderMenu.d.ts +2 -2
- package/es/cascader/src/CascaderOption.d.ts +2 -2
- package/es/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/es/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/es/checkbox/src/Checkbox.d.ts +10 -10
- package/es/checkbox/src/CheckboxGroup.d.ts +2 -2
- package/es/code/src/Code.d.ts +4 -4
- package/es/collapse/src/Collapse.d.ts +2 -2
- package/es/collapse/src/CollapseItem.d.ts +2 -2
- package/es/collapse/src/CollapseItemContent.d.ts +1 -1
- package/es/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/es/color-picker/src/AlphaSlider.d.ts +3 -3
- package/es/color-picker/src/ColorInput.d.ts +2 -2
- package/es/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/es/color-picker/src/ColorPicker.d.ts +5 -5
- package/es/color-picker/src/ColorPickerSwatches.d.ts +2 -2
- package/es/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/es/color-picker/src/ColorPreview.d.ts +2 -2
- package/es/color-picker/src/HueSlider.d.ts +1 -1
- package/es/color-picker/src/Pallete.d.ts +1 -1
- package/es/color-picker/src/utils.d.ts +1 -1
- package/es/composables/use-theme-vars.d.ts +1 -1
- package/es/config-provider/src/ConfigProvider.d.ts +5 -5
- package/es/config-provider/src/ConfigProvider.mjs +1 -1
- package/es/countdown/src/Countdown.d.ts +2 -2
- package/es/data-table/src/DataTable.d.ts +6 -6
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -2
- package/es/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
- package/es/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
- package/es/data-table/src/HeaderButton/SortButton.d.ts +2 -2
- package/es/data-table/src/TableParts/Body.d.ts +2 -2
- package/es/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
- package/es/data-table/src/TableParts/BodyRadio.d.ts +2 -2
- package/es/data-table/src/TableParts/Cell.d.ts +1 -1
- package/es/data-table/src/TableParts/Cell.mjs +1 -1
- package/es/data-table/src/TableParts/ExpandTrigger.d.ts +2 -2
- package/es/data-table/src/TableParts/Header.d.ts +1 -1
- package/es/data-table/src/use-check.d.ts +1 -1
- package/es/data-table/src/use-expand.d.ts +1 -1
- package/es/data-table/src/use-group-header.d.ts +1 -1
- package/es/data-table/src/use-scroll.d.ts +1 -1
- package/es/data-table/src/use-sorter.d.ts +1 -1
- package/es/data-table/src/use-table-data.d.ts +1 -1
- package/es/date-picker/src/DatePicker.d.ts +4 -4
- package/es/date-picker/src/interface.d.ts +6 -19
- package/es/date-picker/src/panel/date.d.ts +1 -1
- package/es/date-picker/src/panel/month.d.ts +2 -2
- package/es/date-picker/src/panel/monthrange.d.ts +2 -2
- package/es/date-picker/src/panel/panelHeader.d.ts +1 -1
- package/es/date-picker/src/panel/use-calendar.d.ts +1 -1
- package/es/date-picker/src/panel/use-calendar.mjs +7 -2
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
- package/es/date-picker/src/panel/use-dual-calendar.mjs +5 -2
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -2
- package/es/date-picker/src/panel/use-panel-common.mjs +1 -1
- package/es/date-picker/src/props.mjs +1 -1
- package/es/date-picker/src/utils.d.ts +12 -2
- package/es/date-picker/src/utils.mjs +9 -1
- package/es/date-picker/src/validation-utils.d.ts +1 -1
- package/es/descriptions/src/Descriptions.d.ts +4 -4
- package/es/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/es/descriptions/styles/light.d.ts +1 -1
- package/es/dialog/src/Dialog.d.ts +3 -3
- package/es/dialog/src/DialogEnvironment.d.ts +4 -4
- package/es/dialog/src/DialogProvider.d.ts +1062 -720
- package/es/dialog/src/composables.d.ts +1 -1
- package/es/dialog/src/dialogProps.d.ts +1 -1
- package/es/dialog/src/styles/index.cssr.mjs +17 -17
- package/es/discrete/src/InjectionExtractor.d.ts +1 -1
- package/es/discrete/src/discreteApp.d.ts +7 -7
- package/es/divider/src/Divider.d.ts +2 -2
- package/es/drawer/src/Drawer.d.ts +3 -3
- package/es/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/es/drawer/src/DrawerContent.d.ts +1 -1
- package/es/dropdown/src/Dropdown.d.ts +10 -10
- package/es/dropdown/src/DropdownGroup.d.ts +1 -1
- package/es/dropdown/src/DropdownMenu.d.ts +1 -1
- package/es/dropdown/src/DropdownOption.d.ts +2 -2
- package/es/dropdown/src/DropdownRenderOption.d.ts +1 -1
- package/es/dynamic-input/src/DynamicInput.d.ts +3 -3
- package/es/dynamic-input/src/InputPreset.d.ts +1 -1
- package/es/dynamic-input/src/PairPreset.d.ts +1 -1
- package/es/dynamic-tags/src/DynamicTags.d.ts +5 -5
- package/es/element/src/Element.mjs +1 -1
- package/es/ellipsis/src/Ellipsis.d.ts +1 -1
- package/es/empty/src/Empty.d.ts +2 -2
- package/es/equation/src/Equation.d.ts +1 -1
- package/es/flex/src/Flex.d.ts +4 -4
- package/es/float-button/src/FloatButton.d.ts +3 -3
- package/es/float-button-group/src/FloatButtonGroup.d.ts +2 -2
- package/es/form/src/Form.d.ts +3 -3
- package/es/form/src/FormItem.d.ts +3 -3
- package/es/form/src/FormItem.mjs +1 -1
- package/es/form/src/FormItemCol.d.ts +2 -2
- package/es/form/src/FormItemGridItem.d.ts +3 -3
- package/es/form/src/FormItemRow.d.ts +1 -1
- package/es/form/src/utils.d.ts +2 -2
- package/es/form/src/utils.mjs +1 -1
- package/es/global-style/src/GlobalStyle.mjs +1 -1
- package/es/gradient-text/src/GradientText.d.ts +3 -3
- package/es/grid/src/Grid.d.ts +6 -6
- package/es/grid/src/GridItem.d.ts +3 -3
- package/es/heatmap/src/Heatmap.d.ts +2 -2
- package/es/heatmap/src/Heatmap.mjs +1 -1
- package/es/heatmap/src/Rect.d.ts +1 -1
- package/es/heatmap/src/utils/index.mjs +1 -1
- package/es/heatmap/styles/light.d.ts +1 -1
- package/es/icon/src/Icon.d.ts +1 -1
- package/es/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/es/image/src/Image.d.ts +3 -3
- package/es/image/src/ImagePreview.d.ts +1 -1
- package/es/image/src/ImagePreview.mjs +1 -1
- package/es/infinite-scroll/src/InfiniteScroll.d.ts +2 -2
- package/es/input/src/Input.d.ts +17 -17
- package/es/input/src/InputGroupLabel.d.ts +1 -1
- package/es/input-number/src/InputNumber.d.ts +8 -8
- package/es/input-otp/src/InputOtp.d.ts +4 -4
- package/es/layout/src/Layout.d.ts +3 -3
- package/es/layout/src/LayoutContent.d.ts +1 -1
- package/es/layout/src/LayoutFooter.d.ts +1 -1
- package/es/layout/src/LayoutHeader.d.ts +1 -1
- package/es/layout/src/LayoutSider.d.ts +3 -3
- package/es/layout/src/ToggleBar.d.ts +1 -1
- package/es/layout/src/ToggleButton.d.ts +1 -1
- package/es/legacy-grid/src/Col.d.ts +4 -4
- package/es/legacy-grid/src/Row.d.ts +2 -2
- package/es/legacy-transfer/src/Transfer.d.ts +5 -5
- package/es/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/es/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/es/legacy-transfer/src/TransferList.d.ts +4 -4
- package/es/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/es/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/es/list/src/List.d.ts +1 -1
- package/es/loading-bar/src/LoadingBar.d.ts +1 -1
- package/es/loading-bar/src/LoadingBarProvider.d.ts +1 -1
- package/es/locales/utils/index.mjs +1 -1
- package/es/log/src/Log.d.ts +5 -5
- package/es/log/src/Log.mjs +3 -1
- package/es/marquee/src/Marquee.d.ts +1 -1
- package/es/mention/src/Mention.d.ts +12 -12
- package/es/menu/src/Menu.d.ts +6 -6
- package/es/menu/src/MenuOption.d.ts +3 -3
- package/es/menu/src/MenuOptionContent.d.ts +1 -1
- package/es/menu/src/MenuOptionGroup.d.ts +2 -2
- package/es/menu/src/Submenu.d.ts +3 -3
- package/es/menu/src/use-menu-child.d.ts +1 -1
- package/es/menu/src/utils.d.ts +1 -1
- package/es/message/src/Message.d.ts +1 -1
- package/es/message/src/Message.mjs +0 -1
- package/es/message/src/MessageEnvironment.d.ts +2 -2
- package/es/message/src/MessageProvider.d.ts +2 -2
- package/es/modal/src/BodyWrapper.d.ts +7 -7
- package/es/modal/src/Modal.d.ts +7 -7
- package/es/modal/src/ModalEnvironment.d.ts +7 -7
- package/es/modal/src/presetProps.d.ts +1 -1
- package/es/modal/src/styles/index.cssr.mjs +2 -2
- package/es/notification/src/Notification.d.ts +3 -3
- package/es/notification/src/NotificationContainer.d.ts +1 -1
- package/es/notification/src/NotificationEnvironment.d.ts +2 -2
- package/es/notification/src/NotificationProvider.d.ts +25 -25
- package/es/number-animation/src/NumberAnimation.d.ts +2 -2
- package/es/number-animation/src/NumberAnimation.mjs +1 -1
- package/es/page-header/src/PageHeader.d.ts +1 -1
- package/es/pagination/src/Pagination.d.ts +2 -2
- package/es/pagination/styles/light.d.ts +1 -1
- package/es/popconfirm/src/Popconfirm.d.ts +6 -6
- package/es/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/es/popconfirm/styles/light.d.ts +1 -1
- package/es/popover/src/Popover.d.ts +7 -7
- package/es/popover/src/PopoverBody.d.ts +4 -4
- package/es/popover/src/styles/index.cssr.mjs +1 -1
- package/es/popselect/src/Popselect.d.ts +63 -63
- package/es/popselect/src/PopselectPanel.d.ts +5 -5
- package/es/progress/src/Circle.mjs +1 -1
- package/es/progress/src/Line.d.ts +1 -1
- package/es/progress/src/MultipleCircle.d.ts +1 -1
- package/es/progress/src/Progress.d.ts +3 -3
- package/es/qr-code/src/QrCode.d.ts +3 -3
- package/es/radio/src/RadioButton.d.ts +5 -5
- package/es/radio/src/RadioGroup.d.ts +1 -1
- package/es/radio/src/use-radio.d.ts +1 -1
- package/es/rate/src/Rate.d.ts +2 -2
- package/es/result/src/Result.d.ts +2 -2
- package/es/scrollbar/src/Scrollbar.d.ts +2 -2
- package/es/select/src/Select.d.ts +12 -12
- package/es/skeleton/src/Skeleton.d.ts +3 -3
- package/es/slider/src/Slider.d.ts +8 -8
- package/es/slider/src/utils.d.ts +1 -1
- package/es/space/src/Space.d.ts +4 -4
- package/es/spin/src/Spin.d.ts +2 -2
- package/es/split/src/Split.d.ts +3 -3
- package/es/statistic/src/Statistic.d.ts +1 -1
- package/es/steps/src/Step.d.ts +3 -2
- package/es/steps/src/Step.mjs +35 -19
- package/es/steps/src/Steps.d.ts +14 -1
- package/es/steps/src/Steps.mjs +5 -1
- package/es/steps/src/styles/index.cssr.mjs +8 -1
- package/es/switch/src/Switch.d.ts +4 -4
- package/es/table/src/Table.d.ts +1 -1
- package/es/tabs/src/Tab.d.ts +9 -9
- package/es/tabs/src/TabPane.d.ts +1 -1
- package/es/tabs/src/Tabs.d.ts +9 -8
- package/es/tabs/src/Tabs.mjs +3 -1
- package/es/tag/src/Tag.d.ts +6 -6
- package/es/theme-editor/src/ThemeEditor.d.ts +1 -1
- package/es/theme-editor/src/ThemeEditor.mjs +1 -1
- package/es/thing/src/Thing.d.ts +1 -1
- package/es/time/src/Time.d.ts +2 -2
- package/es/time-picker/src/Panel.d.ts +3 -3
- package/es/time-picker/src/PanelCol.d.ts +1 -1
- package/es/time-picker/src/TimePicker.d.ts +5 -5
- package/es/time-picker/src/utils.d.ts +1 -1
- package/es/timeline/src/Timeline.d.ts +4 -4
- package/es/timeline/src/TimelineItem.d.ts +2 -2
- package/es/tooltip/src/Tooltip.d.ts +6 -6
- package/es/transfer/src/Transfer.d.ts +5 -5
- package/es/transfer/src/TransferFilter.d.ts +1 -1
- package/es/transfer/src/TransferHeader.d.ts +1 -1
- package/es/transfer/src/TransferList.d.ts +4 -4
- package/es/transfer/src/TransferListItem.d.ts +3 -3
- package/es/tree/src/MotionWrapper.d.ts +1 -1
- package/es/tree/src/Tree.d.ts +8 -8
- package/es/tree/src/TreeNode.d.ts +2 -2
- package/es/tree/src/TreeNodeCheckbox.d.ts +3 -3
- package/es/tree/src/TreeNodeContent.d.ts +3 -3
- package/es/tree/src/TreeNodeSwitcher.d.ts +4 -4
- package/es/tree/src/dnd.d.ts +1 -1
- package/es/tree/src/keyboard.d.ts +1 -1
- package/es/tree/src/utils.d.ts +1 -1
- package/es/tree-select/src/TreeSelect.d.ts +11 -11
- package/es/typography/src/create-header.d.ts +3 -3
- package/es/typography/src/headers.d.ts +6 -6
- package/es/typography/src/p.d.ts +1 -1
- package/es/typography/src/text.d.ts +2 -2
- package/es/upload/src/Upload.d.ts +4 -4
- package/es/upload/src/UploadFile.d.ts +1 -1
- package/es/upload/src/UploadProgress.d.ts +1 -1
- package/es/upload/src/UploadTrigger.d.ts +3 -3
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/virtual-list/src/VirtualList.d.ts +4 -4
- package/es/vitest-setup.mjs +27 -0
- package/es/watermark/src/Watermark.d.ts +10 -10
- package/lib/_internal/clear/src/Clear.d.ts +1 -1
- package/lib/_internal/close/src/Close.d.ts +2 -2
- package/lib/_internal/fade-in-expand-transition/src/FadeInExpandTransition.d.ts +3 -3
- package/lib/_internal/focus-detector/src/FocusDetector.d.ts +1 -1
- package/lib/_internal/icon/src/Icon.d.ts +1 -1
- package/lib/_internal/loading/src/Loading.d.ts +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.d.ts +1 -1
- package/lib/_internal/select-menu/src/SelectGroupHeader.d.ts +2 -2
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +6 -6
- package/lib/_internal/select-menu/src/SelectOption.d.ts +2 -2
- package/lib/_internal/selection/src/Selection.d.ts +9 -9
- package/lib/_internal/slot-machine/src/SlotMachineNumber.d.ts +1 -1
- package/lib/_internal/suffix/src/Suffix.d.ts +1 -1
- package/lib/_mixins/use-config.d.ts +1 -1
- package/lib/_mixins/use-css-vars-class.d.ts +1 -1
- package/lib/_mixins/use-form-item.d.ts +1 -1
- package/lib/_mixins/use-hljs.d.ts +1 -1
- package/lib/_mixins/use-locale.d.ts +1 -1
- package/lib/_mixins/use-rtl.d.ts +1 -1
- package/lib/_mixins/use-style.d.ts +1 -1
- package/lib/_mixins/use-theme.d.ts +1 -1
- package/lib/_utils/composable/use-adjusted-to.d.ts +1 -1
- package/lib/_utils/composable/use-browser-location.d.ts +1 -1
- package/lib/_utils/composable/use-collection.d.ts +1 -1
- package/lib/_utils/composable/use-deferred-true.d.ts +1 -1
- package/lib/_utils/composable/use-is-composing.d.ts +1 -1
- package/lib/_utils/composable/use-lock-html-scroll.d.ts +1 -1
- package/lib/_utils/composable/use-resize.d.ts +1 -1
- package/lib/_utils/cssr/index.d.ts +1 -1
- package/lib/_utils/vue/flatten.d.ts +1 -1
- package/lib/_utils/vue/is-node-v-show-false.d.ts +1 -1
- package/lib/_utils/vue/render.d.ts +1 -1
- package/lib/_utils/vue/resolve-slot.d.ts +1 -1
- package/lib/affix/src/Affix.d.ts +3 -3
- package/lib/alert/src/Alert.d.ts +2 -2
- package/lib/anchor/src/AnchorAdapter.d.ts +2 -2
- package/lib/anchor/src/BaseAnchor.d.ts +3 -3
- package/lib/anchor/src/Link.d.ts +1 -1
- package/lib/auto-complete/src/AutoComplete.d.ts +7 -7
- package/lib/avatar/src/Avatar.d.ts +4 -4
- package/lib/avatar-group/src/AvatarGroup.d.ts +1 -1
- package/lib/back-top/src/BackTop.d.ts +2 -2
- package/lib/badge/src/Badge.d.ts +2 -2
- package/lib/breadcrumb/src/Breadcrumb.d.ts +2 -2
- package/lib/breadcrumb/src/BreadcrumbItem.d.ts +1 -1
- package/lib/button/src/Button.d.ts +11 -11
- package/lib/button/src/styles/index.cssr.js +7 -7
- package/lib/button-group/src/ButtonGroup.d.ts +1 -1
- package/lib/calendar/src/Calendar.d.ts +1 -1
- package/lib/card/src/Card.d.ts +3 -3
- package/lib/carousel/src/Carousel.d.ts +6 -6
- package/lib/carousel/src/CarouselDots.d.ts +1 -1
- package/lib/cascader/src/Cascader.d.ts +8 -8
- package/lib/cascader/src/CascaderMenu.d.ts +2 -2
- package/lib/cascader/src/CascaderOption.d.ts +2 -2
- package/lib/cascader/src/CascaderSelectMenu.d.ts +3 -3
- package/lib/cascader/src/CascaderSubmenu.d.ts +3 -3
- package/lib/checkbox/src/Checkbox.d.ts +10 -10
- package/lib/checkbox/src/CheckboxGroup.d.ts +2 -2
- package/lib/code/src/Code.d.ts +4 -4
- package/lib/collapse/src/Collapse.d.ts +2 -2
- package/lib/collapse/src/CollapseItem.d.ts +2 -2
- package/lib/collapse/src/CollapseItemContent.d.ts +1 -1
- package/lib/collapse-transition/src/CollapseTransition.d.ts +2 -2
- package/lib/color-picker/src/AlphaSlider.d.ts +3 -3
- package/lib/color-picker/src/ColorInput.d.ts +2 -2
- package/lib/color-picker/src/ColorInputUnit.d.ts +1 -1
- package/lib/color-picker/src/ColorPicker.d.ts +5 -5
- package/lib/color-picker/src/ColorPickerSwatches.d.ts +2 -2
- package/lib/color-picker/src/ColorPickerTrigger.d.ts +2 -2
- package/lib/color-picker/src/ColorPreview.d.ts +2 -2
- package/lib/color-picker/src/HueSlider.d.ts +1 -1
- package/lib/color-picker/src/Pallete.d.ts +1 -1
- package/lib/color-picker/src/utils.d.ts +1 -1
- package/lib/composables/use-theme-vars.d.ts +1 -1
- package/lib/config-provider/src/ConfigProvider.d.ts +5 -5
- package/lib/countdown/src/Countdown.d.ts +2 -2
- package/lib/data-table/src/DataTable.d.ts +6 -6
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/RenderFilter.d.ts +2 -2
- package/lib/data-table/src/HeaderButton/RenderSorter.d.ts +1 -1
- package/lib/data-table/src/HeaderButton/SortButton.d.ts +2 -2
- package/lib/data-table/src/TableParts/Body.d.ts +2 -2
- package/lib/data-table/src/TableParts/BodyCheckbox.d.ts +2 -2
- package/lib/data-table/src/TableParts/BodyRadio.d.ts +2 -2
- package/lib/data-table/src/TableParts/Cell.d.ts +1 -1
- package/lib/data-table/src/TableParts/ExpandTrigger.d.ts +2 -2
- package/lib/data-table/src/TableParts/Header.d.ts +1 -1
- package/lib/data-table/src/use-check.d.ts +1 -1
- package/lib/data-table/src/use-expand.d.ts +1 -1
- package/lib/data-table/src/use-group-header.d.ts +1 -1
- package/lib/data-table/src/use-scroll.d.ts +1 -1
- package/lib/data-table/src/use-sorter.d.ts +1 -1
- package/lib/data-table/src/use-table-data.d.ts +1 -1
- package/lib/date-picker/src/DatePicker.d.ts +4 -4
- package/lib/date-picker/src/interface.d.ts +6 -19
- package/lib/date-picker/src/panel/date.d.ts +1 -1
- package/lib/date-picker/src/panel/month.d.ts +2 -2
- package/lib/date-picker/src/panel/monthrange.d.ts +2 -2
- package/lib/date-picker/src/panel/panelHeader.d.ts +1 -1
- package/lib/date-picker/src/panel/use-calendar.d.ts +1 -1
- package/lib/date-picker/src/panel/use-calendar.js +7 -1
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -2
- package/lib/date-picker/src/panel/use-dual-calendar.js +5 -1
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -2
- package/lib/date-picker/src/panel/use-panel-common.js +1 -1
- package/lib/date-picker/src/props.js +1 -1
- package/lib/date-picker/src/utils.d.ts +12 -2
- package/lib/date-picker/src/utils.js +10 -0
- package/lib/date-picker/src/validation-utils.d.ts +1 -1
- package/lib/descriptions/src/Descriptions.d.ts +4 -4
- package/lib/descriptions/src/DescriptionsItem.d.ts +1 -1
- package/lib/descriptions/styles/light.d.ts +1 -1
- package/lib/dialog/src/Dialog.d.ts +3 -3
- package/lib/dialog/src/DialogEnvironment.d.ts +4 -4
- package/lib/dialog/src/DialogProvider.d.ts +1062 -720
- package/lib/dialog/src/composables.d.ts +1 -1
- package/lib/dialog/src/dialogProps.d.ts +1 -1
- package/lib/dialog/src/styles/index.cssr.js +17 -17
- package/lib/discrete/src/InjectionExtractor.d.ts +1 -1
- package/lib/discrete/src/discreteApp.d.ts +7 -7
- package/lib/divider/src/Divider.d.ts +2 -2
- package/lib/drawer/src/Drawer.d.ts +3 -3
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +2 -2
- package/lib/drawer/src/DrawerContent.d.ts +1 -1
- package/lib/dropdown/src/Dropdown.d.ts +10 -10
- package/lib/dropdown/src/DropdownGroup.d.ts +1 -1
- package/lib/dropdown/src/DropdownMenu.d.ts +1 -1
- package/lib/dropdown/src/DropdownOption.d.ts +2 -2
- package/lib/dropdown/src/DropdownRenderOption.d.ts +1 -1
- package/lib/dynamic-input/src/DynamicInput.d.ts +3 -3
- package/lib/dynamic-input/src/InputPreset.d.ts +1 -1
- package/lib/dynamic-input/src/PairPreset.d.ts +1 -1
- package/lib/dynamic-tags/src/DynamicTags.d.ts +5 -5
- package/lib/ellipsis/src/Ellipsis.d.ts +1 -1
- package/lib/empty/src/Empty.d.ts +2 -2
- package/lib/equation/src/Equation.d.ts +1 -1
- package/lib/flex/src/Flex.d.ts +4 -4
- package/lib/float-button/src/FloatButton.d.ts +3 -3
- package/lib/float-button-group/src/FloatButtonGroup.d.ts +2 -2
- package/lib/form/src/Form.d.ts +3 -3
- package/lib/form/src/FormItem.d.ts +3 -3
- package/lib/form/src/FormItemCol.d.ts +2 -2
- package/lib/form/src/FormItemGridItem.d.ts +3 -3
- package/lib/form/src/FormItemRow.d.ts +1 -1
- package/lib/form/src/utils.d.ts +2 -2
- package/lib/gradient-text/src/GradientText.d.ts +3 -3
- package/lib/grid/src/Grid.d.ts +6 -6
- package/lib/grid/src/GridItem.d.ts +3 -3
- package/lib/heatmap/src/Heatmap.d.ts +2 -2
- package/lib/heatmap/src/Rect.d.ts +1 -1
- package/lib/heatmap/styles/light.d.ts +1 -1
- package/lib/icon/src/Icon.d.ts +1 -1
- package/lib/icon-wrapper/src/IconWrapper.d.ts +2 -2
- package/lib/image/src/Image.d.ts +3 -3
- package/lib/image/src/ImagePreview.d.ts +1 -1
- package/lib/infinite-scroll/src/InfiniteScroll.d.ts +2 -2
- package/lib/input/src/Input.d.ts +17 -17
- package/lib/input/src/InputGroupLabel.d.ts +1 -1
- package/lib/input-number/src/InputNumber.d.ts +8 -8
- package/lib/input-otp/src/InputOtp.d.ts +4 -4
- package/lib/layout/src/Layout.d.ts +3 -3
- package/lib/layout/src/LayoutContent.d.ts +1 -1
- package/lib/layout/src/LayoutFooter.d.ts +1 -1
- package/lib/layout/src/LayoutHeader.d.ts +1 -1
- package/lib/layout/src/LayoutSider.d.ts +3 -3
- package/lib/layout/src/ToggleBar.d.ts +1 -1
- package/lib/layout/src/ToggleButton.d.ts +1 -1
- package/lib/legacy-grid/src/Col.d.ts +4 -4
- package/lib/legacy-grid/src/Row.d.ts +2 -2
- package/lib/legacy-transfer/src/Transfer.d.ts +5 -5
- package/lib/legacy-transfer/src/TransferFilter.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferHeader.d.ts +1 -1
- package/lib/legacy-transfer/src/TransferList.d.ts +4 -4
- package/lib/legacy-transfer/src/TransferListItem.d.ts +1 -1
- package/lib/legacy-transfer/src/use-transfer-data.d.ts +1 -1
- package/lib/list/src/List.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBar.d.ts +1 -1
- package/lib/loading-bar/src/LoadingBarProvider.d.ts +1 -1
- package/lib/log/src/Log.d.ts +5 -5
- package/lib/log/src/Log.js +3 -1
- package/lib/marquee/src/Marquee.d.ts +1 -1
- package/lib/mention/src/Mention.d.ts +12 -12
- package/lib/menu/src/Menu.d.ts +6 -6
- package/lib/menu/src/MenuOption.d.ts +3 -3
- package/lib/menu/src/MenuOptionContent.d.ts +1 -1
- package/lib/menu/src/MenuOptionGroup.d.ts +2 -2
- package/lib/menu/src/Submenu.d.ts +3 -3
- package/lib/menu/src/use-menu-child.d.ts +1 -1
- package/lib/menu/src/utils.d.ts +1 -1
- package/lib/message/src/Message.d.ts +1 -1
- package/lib/message/src/Message.js +0 -1
- package/lib/message/src/MessageEnvironment.d.ts +2 -2
- package/lib/message/src/MessageProvider.d.ts +2 -2
- package/lib/modal/src/BodyWrapper.d.ts +7 -7
- package/lib/modal/src/Modal.d.ts +7 -7
- package/lib/modal/src/ModalEnvironment.d.ts +7 -7
- package/lib/modal/src/presetProps.d.ts +1 -1
- package/lib/modal/src/styles/index.cssr.js +2 -2
- package/lib/notification/src/Notification.d.ts +3 -3
- package/lib/notification/src/NotificationContainer.d.ts +1 -1
- package/lib/notification/src/NotificationEnvironment.d.ts +2 -2
- package/lib/notification/src/NotificationProvider.d.ts +25 -25
- package/lib/number-animation/src/NumberAnimation.d.ts +2 -2
- package/lib/page-header/src/PageHeader.d.ts +1 -1
- package/lib/pagination/src/Pagination.d.ts +2 -2
- package/lib/pagination/styles/light.d.ts +1 -1
- package/lib/popconfirm/src/Popconfirm.d.ts +6 -6
- package/lib/popconfirm/src/PopconfirmPanel.d.ts +1 -1
- package/lib/popconfirm/styles/light.d.ts +1 -1
- package/lib/popover/src/Popover.d.ts +7 -7
- package/lib/popover/src/PopoverBody.d.ts +4 -4
- package/lib/popselect/src/Popselect.d.ts +63 -63
- package/lib/popselect/src/PopselectPanel.d.ts +5 -5
- package/lib/progress/src/Circle.js +1 -1
- package/lib/progress/src/Line.d.ts +1 -1
- package/lib/progress/src/MultipleCircle.d.ts +1 -1
- package/lib/progress/src/Progress.d.ts +3 -3
- package/lib/qr-code/src/QrCode.d.ts +3 -3
- package/lib/radio/src/RadioButton.d.ts +5 -5
- package/lib/radio/src/RadioGroup.d.ts +1 -1
- package/lib/radio/src/use-radio.d.ts +1 -1
- package/lib/rate/src/Rate.d.ts +2 -2
- package/lib/result/src/Result.d.ts +2 -2
- package/lib/scrollbar/src/Scrollbar.d.ts +2 -2
- package/lib/select/src/Select.d.ts +12 -12
- package/lib/skeleton/src/Skeleton.d.ts +3 -3
- package/lib/slider/src/Slider.d.ts +8 -8
- package/lib/slider/src/utils.d.ts +1 -1
- package/lib/space/src/Space.d.ts +4 -4
- package/lib/spin/src/Spin.d.ts +2 -2
- package/lib/split/src/Split.d.ts +3 -3
- package/lib/statistic/src/Statistic.d.ts +1 -1
- package/lib/steps/src/Step.d.ts +3 -2
- package/lib/steps/src/Step.js +48 -30
- package/lib/steps/src/Steps.d.ts +14 -1
- package/lib/steps/src/Steps.js +7 -2
- package/lib/steps/src/styles/index.cssr.js +8 -1
- package/lib/switch/src/Switch.d.ts +4 -4
- package/lib/table/src/Table.d.ts +1 -1
- package/lib/tabs/src/Tab.d.ts +9 -9
- package/lib/tabs/src/TabPane.d.ts +1 -1
- package/lib/tabs/src/Tabs.d.ts +9 -8
- package/lib/tabs/src/Tabs.js +5 -3
- package/lib/tag/src/Tag.d.ts +6 -6
- package/lib/theme-editor/src/ThemeEditor.d.ts +1 -1
- package/lib/thing/src/Thing.d.ts +1 -1
- package/lib/time/src/Time.d.ts +2 -2
- package/lib/time-picker/src/Panel.d.ts +3 -3
- package/lib/time-picker/src/PanelCol.d.ts +1 -1
- package/lib/time-picker/src/TimePicker.d.ts +5 -5
- package/lib/time-picker/src/utils.d.ts +1 -1
- package/lib/timeline/src/Timeline.d.ts +4 -4
- package/lib/timeline/src/TimelineItem.d.ts +2 -2
- package/lib/tooltip/src/Tooltip.d.ts +6 -6
- package/lib/transfer/src/Transfer.d.ts +5 -5
- package/lib/transfer/src/TransferFilter.d.ts +1 -1
- package/lib/transfer/src/TransferHeader.d.ts +1 -1
- package/lib/transfer/src/TransferList.d.ts +4 -4
- package/lib/transfer/src/TransferListItem.d.ts +3 -3
- package/lib/tree/src/MotionWrapper.d.ts +1 -1
- package/lib/tree/src/Tree.d.ts +8 -8
- package/lib/tree/src/TreeNode.d.ts +2 -2
- package/lib/tree/src/TreeNodeCheckbox.d.ts +3 -3
- package/lib/tree/src/TreeNodeContent.d.ts +3 -3
- package/lib/tree/src/TreeNodeSwitcher.d.ts +4 -4
- package/lib/tree/src/dnd.d.ts +1 -1
- package/lib/tree/src/keyboard.d.ts +1 -1
- package/lib/tree/src/utils.d.ts +1 -1
- package/lib/tree-select/src/TreeSelect.d.ts +11 -11
- package/lib/typography/src/create-header.d.ts +3 -3
- package/lib/typography/src/headers.d.ts +6 -6
- package/lib/typography/src/p.d.ts +1 -1
- package/lib/typography/src/text.d.ts +2 -2
- package/lib/upload/src/Upload.d.ts +4 -4
- package/lib/upload/src/UploadFile.d.ts +1 -1
- package/lib/upload/src/UploadProgress.d.ts +1 -1
- package/lib/upload/src/UploadTrigger.d.ts +3 -3
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/virtual-list/src/VirtualList.d.ts +4 -4
- package/lib/vitest-setup.js +29 -0
- package/lib/watermark/src/Watermark.d.ts +10 -10
- package/package.json +45 -48
- package/web-types.json +12 -2
- package/es/jest-setup.mjs +0 -5
- package/lib/jest-setup.js +0 -7
- /package/es/{jest-setup.d.ts → vitest-setup.d.ts} +0 -0
- /package/lib/{jest-setup.d.ts → vitest-setup.d.ts} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { Option } from './interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
source: BooleanConstructor;
|
|
5
5
|
label: {
|
|
@@ -869,7 +869,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
869
869
|
required: true;
|
|
870
870
|
};
|
|
871
871
|
}>> & Readonly<{}>, {
|
|
872
|
-
source: boolean;
|
|
873
872
|
disabled: boolean;
|
|
873
|
+
source: boolean;
|
|
874
874
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
875
875
|
export default _default;
|
package/lib/tree/src/Tree.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { CheckStrategy, TreeMateOptions } from 'treemate';
|
|
2
|
+
import type { PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
3
|
+
import type { VirtualListInst } from 'vueuc';
|
|
1
4
|
import type { ScrollbarInst } from '../../_internal';
|
|
2
5
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
6
|
import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar';
|
|
4
7
|
import type { AllowDrop, CheckOnClick, GetChildren, Key, OnLoad, RenderLabel, RenderPrefix, RenderSuffix, RenderSwitcherIcon, TreeDragInfo, TreeDropInfo, TreeNodeProps, TreeOption, TreeOptions, TreeOverrideNodeClickBehavior } from './interface';
|
|
5
|
-
import { type CheckStrategy, type TreeMateOptions } from 'treemate';
|
|
6
|
-
import { type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
7
|
-
import { type VirtualListInst } from 'vueuc';
|
|
8
8
|
import { defaultAllowDrop } from './dnd';
|
|
9
9
|
export declare function createTreeMateOptions<T>(keyField: string, childrenField: string, disabledField: string, getChildren: GetChildren | undefined): TreeMateOptions<T, T, T>;
|
|
10
10
|
export type OnUpdateCheckedKeys = (value: Array<string & number>, option: Array<TreeOption | null>, meta: {
|
|
@@ -1593,16 +1593,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1593
1593
|
}, any>;
|
|
1594
1594
|
}>>>;
|
|
1595
1595
|
}>> & Readonly<{}>, {
|
|
1596
|
-
readonly pattern: string;
|
|
1597
|
-
readonly data: TreeOptions;
|
|
1598
1596
|
readonly disabled: boolean;
|
|
1599
|
-
readonly
|
|
1600
|
-
readonly multiple: boolean;
|
|
1601
|
-
readonly draggable: boolean;
|
|
1597
|
+
readonly data: TreeOptions;
|
|
1602
1598
|
readonly internalScrollable: boolean;
|
|
1603
1599
|
readonly keyboard: boolean;
|
|
1600
|
+
readonly draggable: boolean;
|
|
1604
1601
|
readonly animated: boolean;
|
|
1605
1602
|
readonly allowCheckingNotLoaded: boolean;
|
|
1603
|
+
readonly multiple: boolean;
|
|
1606
1604
|
readonly disabledField: string;
|
|
1607
1605
|
readonly cascade: boolean;
|
|
1608
1606
|
readonly leafOnly: boolean;
|
|
@@ -1610,9 +1608,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1610
1608
|
readonly checkStrategy: CheckStrategy;
|
|
1611
1609
|
readonly labelField: string;
|
|
1612
1610
|
readonly childrenField: string;
|
|
1611
|
+
readonly pattern: string;
|
|
1613
1612
|
readonly accordion: boolean;
|
|
1614
1613
|
readonly defaultExpandAll: boolean;
|
|
1615
1614
|
readonly indent: number;
|
|
1615
|
+
readonly ellipsis: boolean;
|
|
1616
1616
|
readonly keyField: string;
|
|
1617
1617
|
readonly defaultExpandedKeys: Key[];
|
|
1618
1618
|
readonly cancelable: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { ComponentPublicInstance, PropType, VNode } from 'vue';
|
|
2
|
+
import type { TmNode } from './interface';
|
|
3
3
|
declare const TreeNode: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
clsPrefix: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
clsPrefix: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -221,10 +221,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
221
221
|
indeterminate: BooleanConstructor;
|
|
222
222
|
onCheck: PropType<(value: boolean) => void>;
|
|
223
223
|
}>> & Readonly<{}>, {
|
|
224
|
-
right: boolean;
|
|
225
224
|
disabled: boolean;
|
|
225
|
+
right: boolean;
|
|
226
|
+
focusable: boolean;
|
|
226
227
|
checked: boolean;
|
|
227
228
|
indeterminate: boolean;
|
|
228
|
-
focusable: boolean;
|
|
229
229
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
230
230
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { HTMLAttributes, PropType } from 'vue';
|
|
2
|
+
import type { TmNode } from './interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
clsPrefix: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -39,7 +39,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
39
39
|
nodeProps: PropType<HTMLAttributes>;
|
|
40
40
|
}>> & Readonly<{}>, {
|
|
41
41
|
disabled: boolean;
|
|
42
|
-
checked: boolean;
|
|
43
42
|
selected: boolean;
|
|
43
|
+
checked: boolean;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { TmNode } from './interface';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
clsPrefix: {
|
|
5
5
|
type: StringConstructor;
|
|
@@ -37,9 +37,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
37
37
|
required: true;
|
|
38
38
|
};
|
|
39
39
|
}>> & Readonly<{}>, {
|
|
40
|
-
hide: boolean;
|
|
41
|
-
expanded: boolean;
|
|
42
40
|
loading: boolean;
|
|
43
41
|
selected: boolean;
|
|
42
|
+
expanded: boolean;
|
|
43
|
+
hide: boolean;
|
|
44
44
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
45
45
|
export default _default;
|
package/lib/tree/src/dnd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { VNode } from 'vue';
|
|
1
2
|
import type { DropPosition, TreeOption } from './interface';
|
|
2
|
-
import { type VNode } from 'vue';
|
|
3
3
|
export declare function renderDropMark({ position, offsetLevel, indent, el }: {
|
|
4
4
|
position: 'before' | 'inside' | 'after';
|
|
5
5
|
offsetLevel: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { Ref } from 'vue';
|
|
2
3
|
import type { Key, TmNode, TreeOption, TreeOverrideNodeClickBehavior, TreeOverrideNodeClickBehaviorReturn } from './interface';
|
|
3
|
-
import { type Ref } from 'vue';
|
|
4
4
|
export declare function useKeyboard({ props, fNodesRef, mergedExpandedKeysRef, mergedSelectedKeysRef, mergedCheckedKeysRef, handleCheck, handleSelect, handleSwitcherClick }: {
|
|
5
5
|
props: {
|
|
6
6
|
keyboard: boolean;
|
package/lib/tree/src/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CheckStrategy } from 'treemate';
|
|
2
|
+
import type { ComputedRef } from 'vue';
|
|
2
3
|
import type { Key, TmNode, TreeOption } from './interface';
|
|
3
|
-
import { type ComputedRef } from 'vue';
|
|
4
4
|
export declare function useMergedCheckStrategy(props: {
|
|
5
5
|
leafOnly: boolean;
|
|
6
6
|
checkStrategy: CheckStrategy;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type { CheckStrategy } from 'treemate';
|
|
2
|
+
import type { HTMLAttributes, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
3
|
+
import type { FollowerInst, FollowerPlacement } from 'vueuc';
|
|
4
|
+
import type { InternalSelectionInst } from '../../_internal';
|
|
5
|
+
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
1
6
|
import type { FormValidationStatus } from '../../form/src/public-types';
|
|
2
7
|
import type { PopoverProps } from '../../popover';
|
|
3
8
|
import type { SelectBaseOption, SelectOption } from '../../select/src/interface';
|
|
4
9
|
import type { GetChildren, InternalTreeInst, Key, TreeOption, TreeOverrideNodeClickBehaviorReturn } from '../../tree/src/interface';
|
|
5
10
|
import type { OnUpdateValue, TreeSelectNodeProps, TreeSelectOption, TreeSelectRenderLabel, TreeSelectRenderPrefix, TreeSelectRenderSuffix, TreeSelectRenderTag } from './interface';
|
|
6
|
-
import { type CheckStrategy } from 'treemate';
|
|
7
|
-
import { type HTMLAttributes, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
8
|
-
import { type FollowerInst, type FollowerPlacement } from 'vueuc';
|
|
9
|
-
import { type InternalSelectionInst } from '../../_internal';
|
|
10
|
-
import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
|
|
11
11
|
type OnLoad = (node: TreeSelectOption) => Promise<void>;
|
|
12
12
|
export declare const treeSelectProps: {
|
|
13
13
|
readonly renderLabel: PropType<TreeSelectRenderLabel>;
|
|
@@ -2441,19 +2441,19 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2441
2441
|
}>;
|
|
2442
2442
|
}>>>;
|
|
2443
2443
|
}>> & Readonly<{}>, {
|
|
2444
|
-
readonly options: TreeSelectOption[];
|
|
2445
|
-
readonly to: string | boolean | HTMLElement;
|
|
2446
2444
|
readonly disabled: boolean | undefined;
|
|
2447
|
-
readonly show: boolean | undefined;
|
|
2448
|
-
readonly separator: string;
|
|
2449
|
-
readonly multiple: boolean;
|
|
2450
|
-
readonly loading: boolean;
|
|
2451
2445
|
readonly bordered: boolean;
|
|
2446
|
+
readonly to: string | boolean | HTMLElement;
|
|
2452
2447
|
readonly clearable: boolean;
|
|
2453
2448
|
readonly defaultValue: string | number | (string | number)[] | null;
|
|
2449
|
+
readonly loading: boolean;
|
|
2454
2450
|
readonly placement: FollowerPlacement;
|
|
2451
|
+
readonly options: TreeSelectOption[];
|
|
2452
|
+
readonly show: boolean | undefined;
|
|
2453
|
+
readonly separator: string;
|
|
2455
2454
|
readonly defaultShow: boolean;
|
|
2456
2455
|
readonly allowCheckingNotLoaded: boolean;
|
|
2456
|
+
readonly multiple: boolean;
|
|
2457
2457
|
readonly filterable: boolean;
|
|
2458
2458
|
readonly disabledField: string;
|
|
2459
2459
|
readonly clearFilterAfterSelect: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const headerProps: {
|
|
4
4
|
readonly type: {
|
|
5
5
|
readonly type: PropType<"info" | "success" | "warning" | "error" | "default">;
|
|
@@ -632,7 +632,7 @@ declare const _default: (level: "1" | "2" | "3" | "4" | "5" | "6") => import("vu
|
|
|
632
632
|
ulPadding: string;
|
|
633
633
|
}, any>>>;
|
|
634
634
|
}>> & Readonly<{}>, {
|
|
635
|
-
readonly type: "
|
|
635
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
636
636
|
readonly alignText: boolean;
|
|
637
637
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
638
638
|
export default _default;
|
|
@@ -423,7 +423,7 @@ export declare const NH1: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
423
423
|
ulPadding: string;
|
|
424
424
|
}, any>>>;
|
|
425
425
|
}>> & Readonly<{}>, {
|
|
426
|
-
readonly type: "
|
|
426
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
427
427
|
readonly alignText: boolean;
|
|
428
428
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
429
429
|
export declare const NH2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -851,7 +851,7 @@ export declare const NH2: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
851
851
|
ulPadding: string;
|
|
852
852
|
}, any>>>;
|
|
853
853
|
}>> & Readonly<{}>, {
|
|
854
|
-
readonly type: "
|
|
854
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
855
855
|
readonly alignText: boolean;
|
|
856
856
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
857
857
|
export declare const NH3: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1279,7 +1279,7 @@ export declare const NH3: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1279
1279
|
ulPadding: string;
|
|
1280
1280
|
}, any>>>;
|
|
1281
1281
|
}>> & Readonly<{}>, {
|
|
1282
|
-
readonly type: "
|
|
1282
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
1283
1283
|
readonly alignText: boolean;
|
|
1284
1284
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1285
1285
|
export declare const NH4: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -1707,7 +1707,7 @@ export declare const NH4: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
1707
1707
|
ulPadding: string;
|
|
1708
1708
|
}, any>>>;
|
|
1709
1709
|
}>> & Readonly<{}>, {
|
|
1710
|
-
readonly type: "
|
|
1710
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
1711
1711
|
readonly alignText: boolean;
|
|
1712
1712
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1713
1713
|
export declare const NH5: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -2135,7 +2135,7 @@ export declare const NH5: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2135
2135
|
ulPadding: string;
|
|
2136
2136
|
}, any>>>;
|
|
2137
2137
|
}>> & Readonly<{}>, {
|
|
2138
|
-
readonly type: "
|
|
2138
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
2139
2139
|
readonly alignText: boolean;
|
|
2140
2140
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2141
2141
|
export declare const NH6: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
@@ -2563,6 +2563,6 @@ export declare const NH6: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
2563
2563
|
ulPadding: string;
|
|
2564
2564
|
}, any>>>;
|
|
2565
2565
|
}>> & Readonly<{}>, {
|
|
2566
|
-
readonly type: "
|
|
2566
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
2567
2567
|
readonly alignText: boolean;
|
|
2568
2568
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -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 pProps: {
|
|
4
4
|
depth: PropType<1 | 2 | 3 | "1" | "2" | "3">;
|
|
5
5
|
theme: PropType<import("../../_mixins").Theme<"Typography", {
|
|
@@ -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 textProps: {
|
|
4
4
|
readonly code: BooleanConstructor;
|
|
5
5
|
readonly type: {
|
|
@@ -667,8 +667,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
667
667
|
readonly delete: boolean;
|
|
668
668
|
readonly code: boolean;
|
|
669
669
|
readonly strong: boolean;
|
|
670
|
+
readonly as: string;
|
|
670
671
|
readonly italic: boolean;
|
|
671
672
|
readonly underline: boolean;
|
|
672
|
-
readonly as: string;
|
|
673
673
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
674
674
|
export default _default;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { CSSProperties, InputHTMLAttributes, PropType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { ImageGroupProps } from '../../image';
|
|
3
4
|
import type { CreateThumbnailUrl, CustomRequest, FuncOrRecordOrUndef, ListType, OnBeforeUpload, OnError, OnPreview, OnRetry, OnUpdateFileList, RenderIcon, ShouldUseThumbnailUrl } from './interface';
|
|
4
5
|
import type { UploadFileInfo, UploadOnChange, UploadOnDownload, UploadOnFinish, UploadOnRemove, UploadSettledFileInfo } from './public-types';
|
|
5
|
-
import { type CSSProperties, type InputHTMLAttributes, type PropType } from 'vue';
|
|
6
6
|
export declare const uploadProps: {
|
|
7
7
|
readonly name: {
|
|
8
8
|
readonly type: StringConstructor;
|
|
@@ -2770,14 +2770,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2770
2770
|
}, any>;
|
|
2771
2771
|
}>>>;
|
|
2772
2772
|
}>> & Readonly<{}>, {
|
|
2773
|
-
readonly method: string;
|
|
2774
|
-
readonly name: string;
|
|
2775
|
-
readonly abstract: boolean;
|
|
2776
2773
|
readonly disabled: boolean | undefined;
|
|
2774
|
+
readonly name: string;
|
|
2777
2775
|
readonly multiple: boolean;
|
|
2776
|
+
readonly abstract: boolean;
|
|
2778
2777
|
readonly showTrigger: boolean;
|
|
2779
2778
|
readonly directory: boolean;
|
|
2780
2779
|
readonly directoryDnd: boolean;
|
|
2780
|
+
readonly method: string;
|
|
2781
2781
|
readonly showFileList: boolean;
|
|
2782
2782
|
readonly withCredentials: boolean;
|
|
2783
2783
|
readonly responseType: XMLHttpRequestResponseType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { ImageInst } from '../../image';
|
|
2
3
|
import type { ListType } from './interface';
|
|
3
4
|
import type { UploadSettledFileInfo } from './public-types';
|
|
4
|
-
import { type PropType } from 'vue';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
clsPrefix: {
|
|
7
7
|
type: StringConstructor;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
+
import type { SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { UploadTriggerDefaultSlotOptions } from './interface';
|
|
2
|
-
import { type SlotsType, type VNode } from 'vue';
|
|
3
3
|
export interface UploadTriggerSlots {
|
|
4
4
|
default?: (options: UploadTriggerDefaultSlotOptions) => VNode[];
|
|
5
5
|
}
|
|
6
6
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
abstract: BooleanConstructor;
|
|
8
|
-
}>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
8
|
+
}>, () => JSX.Element | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
9
9
|
[key: string]: any;
|
|
10
|
-
}>[] |
|
|
10
|
+
}>[] | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
11
|
abstract: BooleanConstructor;
|
|
12
12
|
}>> & Readonly<{}>, {
|
|
13
13
|
abstract: boolean;
|
package/lib/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: "2.43.
|
|
1
|
+
declare const _default: "2.43.2";
|
|
2
2
|
export default _default;
|
package/lib/version.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
2
|
+
import type { VirtualListInst, VirtualListItemData, VirtualListScrollToOptions } from 'vueuc';
|
|
3
|
+
import type { ScrollbarInst } from '../../_internal';
|
|
1
4
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
5
|
import type { ScrollbarProps } from '../../scrollbar/src/Scrollbar';
|
|
3
|
-
import { type CSSProperties, type PropType } from 'vue';
|
|
4
|
-
import { type VirtualListInst, type VirtualListItemData, type VirtualListScrollToOptions } from 'vueuc';
|
|
5
|
-
import { type ScrollbarInst } from '../../_internal';
|
|
6
6
|
export { type VirtualListInst } from 'vueuc';
|
|
7
7
|
export declare const virtualListProps: {
|
|
8
8
|
readonly scrollbarProps: PropType<ScrollbarProps>;
|
|
@@ -151,9 +151,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
151
151
|
readonly default: 0;
|
|
152
152
|
};
|
|
153
153
|
}>> & Readonly<{}>, {
|
|
154
|
-
readonly paddingBottom: string | number;
|
|
155
154
|
readonly paddingTop: string | number;
|
|
156
155
|
readonly items: VirtualListItemData[];
|
|
156
|
+
readonly paddingBottom: string | number;
|
|
157
157
|
readonly keyField: string;
|
|
158
158
|
readonly itemResizable: boolean;
|
|
159
159
|
readonly visibleItemsTag: string | object;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const _utils_1 = require("./_utils");
|
|
4
|
+
// Polyfill browser APIs
|
|
5
|
+
class _ResizeObserver {
|
|
6
|
+
observe() { }
|
|
7
|
+
unobserve() { }
|
|
8
|
+
disconnect() { }
|
|
9
|
+
}
|
|
10
|
+
function _matchMedia(query) {
|
|
11
|
+
return {
|
|
12
|
+
matches: false,
|
|
13
|
+
media: query,
|
|
14
|
+
onchange: null,
|
|
15
|
+
addListener: () => { },
|
|
16
|
+
removeListener: () => { },
|
|
17
|
+
addEventListener: () => { },
|
|
18
|
+
removeEventListener: () => { },
|
|
19
|
+
dispatchEvent: () => false
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
if ((0, _utils_1.isJsdom)() && typeof window !== 'undefined') {
|
|
23
|
+
window.ResizeObserver = _ResizeObserver;
|
|
24
|
+
window.matchMedia = _matchMedia;
|
|
25
|
+
}
|
|
26
|
+
// https://github.com/jsdom/jsdom/issues/1422
|
|
27
|
+
if (_utils_1.isBrowser) {
|
|
28
|
+
HTMLDivElement.prototype.scrollTo = () => { };
|
|
29
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const watermarkProps: {
|
|
4
4
|
readonly debug: BooleanConstructor;
|
|
5
5
|
readonly cross: BooleanConstructor;
|
|
@@ -286,21 +286,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
286
286
|
}, unknown>>>;
|
|
287
287
|
}>> & Readonly<{}>, {
|
|
288
288
|
readonly fontSize: number;
|
|
289
|
-
readonly fontStretch: string;
|
|
290
|
-
readonly fontStyle: "normal" | "italic" | "oblique" | `oblique ${number}deg`;
|
|
291
|
-
readonly fontVariant: string;
|
|
292
289
|
readonly fontWeight: number;
|
|
293
|
-
readonly height: number;
|
|
294
290
|
readonly lineHeight: number;
|
|
295
|
-
readonly rotate: number;
|
|
296
|
-
readonly textAlign: "left" | "right" | "center";
|
|
297
|
-
readonly width: number;
|
|
298
291
|
readonly zIndex: number;
|
|
299
|
-
readonly
|
|
292
|
+
readonly width: number;
|
|
293
|
+
readonly height: number;
|
|
294
|
+
readonly fontStyle: "normal" | "italic" | "oblique" | `oblique ${number}deg`;
|
|
295
|
+
readonly fontVariant: string;
|
|
296
|
+
readonly textAlign: "left" | "right" | "center";
|
|
297
|
+
readonly rotate: number;
|
|
298
|
+
readonly fontStretch: string;
|
|
300
299
|
readonly xGap: number;
|
|
301
300
|
readonly yGap: number;
|
|
302
301
|
readonly selectable: boolean;
|
|
303
302
|
readonly debug: boolean;
|
|
303
|
+
readonly cross: boolean;
|
|
304
304
|
readonly fullscreen: boolean;
|
|
305
305
|
readonly yOffset: number;
|
|
306
306
|
readonly xOffset: number;
|