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,12 +1,12 @@
|
|
|
1
|
+
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { PropType, SlotsType, VNode } from 'vue';
|
|
3
|
+
import type { FollowerInst, FollowerPlacement } from 'vueuc';
|
|
1
4
|
import type { RenderLabel } from '../../_internal/select-menu/src/interface';
|
|
2
5
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
6
|
import type { FormValidationStatus } from '../../form/src/public-types';
|
|
4
7
|
import type { Size as InputSize } from '../../input/src/interface';
|
|
5
8
|
import type { SelectBaseOption, SelectGroupOption, SelectIgnoredOption } from '../../select/src/interface';
|
|
6
9
|
import type { MentionOption } from './interface';
|
|
7
|
-
import { type TreeNode } from 'treemate';
|
|
8
|
-
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
9
|
-
import { type FollowerInst, type FollowerPlacement } from 'vueuc';
|
|
10
10
|
export declare const mentionProps: {
|
|
11
11
|
readonly to: {
|
|
12
12
|
type: PropType<HTMLElement | string | boolean>;
|
|
@@ -1015,7 +1015,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1015
1015
|
namespace: import("vue").ComputedRef<string | undefined>;
|
|
1016
1016
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
1017
1017
|
mergedBordered: import("vue").ComputedRef<boolean>;
|
|
1018
|
-
mergedSize: import("vue").ComputedRef<"
|
|
1018
|
+
mergedSize: import("vue").ComputedRef<"tiny" | "small" | "medium" | "large">;
|
|
1019
1019
|
mergedStatus: import("vue").ComputedRef<FormValidationStatus | undefined>;
|
|
1020
1020
|
mergedTheme: import("vue").ComputedRef<{
|
|
1021
1021
|
common: import("../..").ThemeCommonVars;
|
|
@@ -1794,18 +1794,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1794
1794
|
}>;
|
|
1795
1795
|
}>>>;
|
|
1796
1796
|
}>> & Readonly<{}>, {
|
|
1797
|
-
readonly type: "textarea" | "text";
|
|
1798
|
-
readonly prefix: string | string[];
|
|
1799
|
-
readonly options: MentionOption[];
|
|
1800
|
-
readonly filter: (pattern: string, option: MentionOption) => boolean;
|
|
1801
|
-
readonly placeholder: string;
|
|
1802
|
-
readonly to: string | boolean | HTMLElement;
|
|
1803
1797
|
readonly disabled: boolean;
|
|
1804
|
-
readonly
|
|
1805
|
-
readonly
|
|
1798
|
+
readonly type: "text" | "textarea";
|
|
1799
|
+
readonly filter: (pattern: string, option: MentionOption) => boolean;
|
|
1806
1800
|
readonly bordered: boolean | undefined;
|
|
1801
|
+
readonly to: string | boolean | HTMLElement;
|
|
1807
1802
|
readonly defaultValue: string;
|
|
1803
|
+
readonly loading: boolean;
|
|
1804
|
+
readonly placeholder: string;
|
|
1808
1805
|
readonly placement: FollowerPlacement;
|
|
1806
|
+
readonly options: MentionOption[];
|
|
1807
|
+
readonly separator: string;
|
|
1808
|
+
readonly prefix: string | string[];
|
|
1809
1809
|
readonly internalDebug: boolean;
|
|
1810
1810
|
}, SlotsType<MentionSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1811
1811
|
export default _default;
|
package/es/menu/src/Menu.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import type { Key } from 'treemate';
|
|
2
|
+
import type { ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
3
|
+
import type { FollowerPlacement, VOverflowInst } from 'vueuc';
|
|
1
4
|
import type { MaybeArray } from '../../_utils';
|
|
2
5
|
import type { DropdownProps } from '../../dropdown';
|
|
3
6
|
import type { MenuGroupOption, MenuIgnoredOption, MenuMixedOption, MenuNodeProps, MenuOption, OnUpdateKeys, OnUpdateValue } from './interface';
|
|
4
|
-
import { type Key } from 'treemate';
|
|
5
|
-
import { type ExtractPropTypes, type PropType, type VNodeChild } from 'vue';
|
|
6
|
-
import { type FollowerPlacement, type VOverflowInst } from 'vueuc';
|
|
7
7
|
export declare const menuProps: {
|
|
8
8
|
readonly options: {
|
|
9
9
|
readonly type: PropType<MenuMixedOption[]>;
|
|
@@ -2365,18 +2365,18 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
2365
2365
|
}>;
|
|
2366
2366
|
}>>>;
|
|
2367
2367
|
}>> & Readonly<{}>, {
|
|
2368
|
-
readonly options: MenuMixedOption[];
|
|
2369
|
-
readonly mode: "horizontal" | "vertical";
|
|
2370
2368
|
readonly disabled: boolean;
|
|
2371
|
-
readonly show: boolean;
|
|
2372
2369
|
readonly iconSize: number;
|
|
2373
2370
|
readonly defaultValue: Key | null;
|
|
2371
|
+
readonly options: MenuMixedOption[];
|
|
2372
|
+
readonly show: boolean;
|
|
2374
2373
|
readonly responsive: boolean;
|
|
2375
2374
|
readonly disabledField: string;
|
|
2376
2375
|
readonly labelField: string;
|
|
2377
2376
|
readonly childrenField: string;
|
|
2378
2377
|
readonly accordion: boolean;
|
|
2379
2378
|
readonly collapsed: boolean | undefined;
|
|
2379
|
+
readonly mode: "horizontal" | "vertical";
|
|
2380
2380
|
readonly defaultExpandAll: boolean;
|
|
2381
2381
|
readonly indent: number;
|
|
2382
2382
|
readonly inverted: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { TmNode } from './interface';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
3
3
|
export declare const menuItemProps: {
|
|
4
4
|
readonly tmNode: {
|
|
5
5
|
readonly type: PropType<TmNode>;
|
|
@@ -21,7 +21,7 @@ export declare const menuItemProps: {
|
|
|
21
21
|
readonly title: PropType<string | (() => import("vue").VNodeChild)>;
|
|
22
22
|
readonly extra: PropType<string | (() => import("vue").VNodeChild)>;
|
|
23
23
|
};
|
|
24
|
-
export declare const menuItemPropKeys: ("
|
|
24
|
+
export declare const menuItemPropKeys: ("disabled" | "title" | "icon" | "onClick" | "root" | "extra" | "level" | "isGroup" | "tmNode" | "internalKey")[];
|
|
25
25
|
export declare const NMenuOption: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
26
26
|
readonly tmNode: {
|
|
27
27
|
readonly type: PropType<TmNode>;
|
|
@@ -610,7 +610,7 @@ export declare const NMenuOption: import("vue").DefineComponent<import("vue").Ex
|
|
|
610
610
|
readonly title: PropType<string | (() => import("vue").VNodeChild)>;
|
|
611
611
|
readonly extra: PropType<string | (() => import("vue").VNodeChild)>;
|
|
612
612
|
}>> & Readonly<{}>, {
|
|
613
|
-
readonly root: boolean;
|
|
614
613
|
readonly disabled: boolean;
|
|
614
|
+
readonly root: boolean;
|
|
615
615
|
readonly isGroup: boolean;
|
|
616
616
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { TmNode } from './interface';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
collapsed: BooleanConstructor;
|
|
5
5
|
disabled: BooleanConstructor;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { TmNode } from './interface';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
3
3
|
export declare const menuItemGroupProps: {
|
|
4
4
|
readonly tmNode: {
|
|
5
5
|
readonly type: PropType<TmNode>;
|
|
@@ -22,7 +22,7 @@ export declare const menuItemGroupProps: {
|
|
|
22
22
|
readonly title: PropType<string | (() => import("vue").VNodeChild)>;
|
|
23
23
|
readonly extra: PropType<string | (() => import("vue").VNodeChild)>;
|
|
24
24
|
};
|
|
25
|
-
export declare const menuItemGroupPropKeys: ("
|
|
25
|
+
export declare const menuItemGroupPropKeys: ("title" | "root" | "extra" | "tmNodes" | "level" | "isGroup" | "tmNode" | "internalKey")[];
|
|
26
26
|
export declare const NMenuOptionGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
27
27
|
readonly tmNode: {
|
|
28
28
|
readonly type: PropType<TmNode>;
|
package/es/menu/src/Submenu.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType, VNodeChild } from 'vue';
|
|
1
2
|
import type { MenuMixedOption, TmNode } from './interface';
|
|
2
|
-
import { type PropType, type VNodeChild } from 'vue';
|
|
3
3
|
export declare const submenuProps: {
|
|
4
4
|
readonly rawNodes: {
|
|
5
5
|
readonly type: PropType<MenuMixedOption[]>;
|
|
@@ -35,7 +35,7 @@ export declare const submenuProps: {
|
|
|
35
35
|
readonly title: PropType<string | (() => VNodeChild)>;
|
|
36
36
|
readonly extra: PropType<string | (() => VNodeChild)>;
|
|
37
37
|
};
|
|
38
|
-
export declare const submenuPropKeys: ("
|
|
38
|
+
export declare const submenuPropKeys: ("disabled" | "title" | "icon" | "onClick" | "root" | "extra" | "tmNodes" | "level" | "isGroup" | "tmNode" | "internalKey" | "isEllipsisPlaceholder" | "rawNodes" | "domId" | "virtualChildActive")[];
|
|
39
39
|
export declare const NSubmenu: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
40
40
|
readonly rawNodes: {
|
|
41
41
|
readonly type: PropType<MenuMixedOption[]>;
|
|
@@ -659,8 +659,8 @@ export declare const NSubmenu: import("vue").DefineComponent<import("vue").Extra
|
|
|
659
659
|
readonly title: PropType<string | (() => VNodeChild)>;
|
|
660
660
|
readonly extra: PropType<string | (() => VNodeChild)>;
|
|
661
661
|
}>> & Readonly<{}>, {
|
|
662
|
-
readonly root: boolean;
|
|
663
662
|
readonly disabled: boolean;
|
|
663
|
+
readonly root: boolean;
|
|
664
664
|
readonly tmNodes: TmNode[];
|
|
665
665
|
readonly isGroup: boolean;
|
|
666
666
|
readonly isEllipsisPlaceholder: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { Key } from 'treemate';
|
|
2
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
3
|
import type { FollowerPlacement } from 'vueuc';
|
|
3
4
|
import type { MergedTheme } from '../../_mixins/use-theme';
|
|
4
5
|
import type { MenuTheme } from '../styles';
|
|
5
6
|
import type { OnUpdateValueImpl } from './interface';
|
|
6
7
|
import type { MenuSetupProps } from './Menu';
|
|
7
8
|
import type { UseMenuChildProps } from './use-menu-child-props';
|
|
8
|
-
import { type ComputedRef, type Ref } from 'vue';
|
|
9
9
|
export interface MenuInjection {
|
|
10
10
|
props: MenuSetupProps;
|
|
11
11
|
mergedCollapsedRef: Ref<boolean>;
|
package/es/menu/src/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { VNode } from 'vue';
|
|
2
3
|
import type { MenuGroupOption, MenuIgnoredOption, MenuMixedOption, MenuOption } from './interface';
|
|
3
4
|
import type { MenuSetupProps } from './Menu';
|
|
4
|
-
import { type VNode } from 'vue';
|
|
5
5
|
export declare function isIgnoredNode(rawNode: MenuMixedOption): rawNode is MenuIgnoredOption;
|
|
6
6
|
export declare function isDividerNode(rawNode: MenuMixedOption): rawNode is MenuIgnoredOption;
|
|
7
7
|
export declare function itemRenderer(tmNode: TreeNode<MenuOption, MenuGroupOption, MenuIgnoredOption>, menuProps: MenuSetupProps): VNode | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType, VNodeChild } from 'vue';
|
|
1
2
|
import type { MessageRenderMessage, MessageType } from './types';
|
|
2
|
-
import { type PropType, type VNodeChild } from 'vue';
|
|
3
3
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
render: PropType<MessageRenderMessage>;
|
|
5
5
|
icon: PropType<() => VNodeChild>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable no-cond-assign */
|
|
2
1
|
import { computed, defineComponent, h, inject } from 'vue';
|
|
3
2
|
import { NBaseClose, NBaseIcon, NBaseLoading, NIconSwitchTransition } from "../../_internal/index.mjs";
|
|
4
3
|
import { ErrorIcon, InfoIcon, SuccessIcon, WarningIcon } from "../../_internal/icons/index.mjs";
|
|
@@ -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
|
duration: {
|
|
4
4
|
type: NumberConstructor;
|
|
@@ -67,9 +67,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
67
67
|
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
68
68
|
}>> & Readonly<{}>, {
|
|
69
69
|
type: import("./types").MessageType;
|
|
70
|
-
duration: number;
|
|
71
70
|
showIcon: boolean;
|
|
72
71
|
closable: boolean;
|
|
72
|
+
duration: number;
|
|
73
73
|
keepAliveOnHover: boolean;
|
|
74
74
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
75
75
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties, ExtractPropTypes, PropType, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { MessageOptions, MessageType } from './types';
|
|
3
|
-
import { type CSSProperties, type ExtractPropTypes, type PropType, type VNodeChild } from 'vue';
|
|
4
4
|
type ContentType = string | (() => VNodeChild);
|
|
5
5
|
export interface MessageApiInjection {
|
|
6
6
|
create: (content: ContentType, options?: MessageOptions) => MessageReactive;
|
|
@@ -745,9 +745,9 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
745
745
|
fontSize: string;
|
|
746
746
|
}, any>>>;
|
|
747
747
|
}>> & Readonly<{}>, {
|
|
748
|
-
duration: number;
|
|
749
748
|
closable: boolean;
|
|
750
749
|
placement: "top" | "bottom" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
750
|
+
duration: number;
|
|
751
751
|
keepAliveOnHover: boolean;
|
|
752
752
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
753
753
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ComponentPublicInstance, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
2
|
+
import type { ScrollbarInst } from '../../_internal';
|
|
1
3
|
import type { ModalDraggableOptions } from './interface';
|
|
2
4
|
import type { ModalSlots } from './Modal';
|
|
3
|
-
import { type ComponentPublicInstance, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
4
|
-
import { type ScrollbarInst } from '../../_internal';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
renderMask: PropType<() => VNodeChild>;
|
|
7
7
|
onClickoutside: PropType<(e: MouseEvent) => void>;
|
|
@@ -1282,20 +1282,20 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1282
1282
|
};
|
|
1283
1283
|
maskHidden: BooleanConstructor;
|
|
1284
1284
|
}>> & Readonly<{}>, {
|
|
1285
|
-
type: "
|
|
1286
|
-
tag: keyof HTMLElementTagNameMap;
|
|
1285
|
+
type: "default" | "info" | "warning" | "error" | "success";
|
|
1287
1286
|
size: "small" | "medium" | "large" | "huge";
|
|
1288
|
-
draggable: boolean | ModalDraggableOptions;
|
|
1289
|
-
loading: boolean;
|
|
1290
|
-
autoFocus: boolean;
|
|
1291
1287
|
showIcon: boolean;
|
|
1292
1288
|
bordered: boolean;
|
|
1293
1289
|
closable: boolean;
|
|
1290
|
+
loading: boolean;
|
|
1291
|
+
tag: keyof HTMLElementTagNameMap;
|
|
1294
1292
|
embedded: boolean;
|
|
1295
1293
|
segmented: boolean | import("../..").CardSegmented;
|
|
1296
1294
|
hoverable: boolean;
|
|
1297
1295
|
closeFocusable: boolean;
|
|
1296
|
+
draggable: boolean | ModalDraggableOptions;
|
|
1298
1297
|
blockScroll: boolean;
|
|
1298
|
+
autoFocus: boolean;
|
|
1299
1299
|
trapFocus: boolean;
|
|
1300
1300
|
maskHidden: boolean;
|
|
1301
1301
|
}, SlotsType<ModalSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/modal/src/Modal.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { CardSlots } from '../../card';
|
|
3
4
|
import type { DialogSlots } from '../../dialog';
|
|
4
5
|
import type { ModalDraggableOptions } from './interface';
|
|
5
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
6
6
|
export declare const modalProps: {
|
|
7
7
|
draggable: PropType<boolean | ModalDraggableOptions>;
|
|
8
8
|
onEsc: PropType<() => void>;
|
|
@@ -3009,16 +3009,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3009
3009
|
}, any>;
|
|
3010
3010
|
}>>>;
|
|
3011
3011
|
}>> & Readonly<{}>, {
|
|
3012
|
-
type: "
|
|
3013
|
-
tag: keyof HTMLElementTagNameMap;
|
|
3012
|
+
type: "default" | "info" | "warning" | "error" | "success";
|
|
3014
3013
|
size: "small" | "medium" | "large" | "huge";
|
|
3015
|
-
show: boolean;
|
|
3016
|
-
transformOrigin: "center" | "mouse";
|
|
3017
|
-
loading: boolean;
|
|
3018
|
-
autoFocus: boolean;
|
|
3019
3014
|
showIcon: boolean;
|
|
3020
3015
|
bordered: boolean;
|
|
3021
3016
|
closable: boolean;
|
|
3017
|
+
loading: boolean;
|
|
3018
|
+
show: boolean;
|
|
3019
|
+
transformOrigin: "center" | "mouse";
|
|
3020
|
+
tag: keyof HTMLElementTagNameMap;
|
|
3022
3021
|
embedded: boolean;
|
|
3023
3022
|
segmented: boolean | import("../..").CardSegmented;
|
|
3024
3023
|
hoverable: boolean;
|
|
@@ -3026,6 +3025,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3026
3025
|
displayDirective: "show" | "if";
|
|
3027
3026
|
blockScroll: boolean;
|
|
3028
3027
|
closeOnEsc: boolean;
|
|
3028
|
+
autoFocus: boolean;
|
|
3029
3029
|
maskClosable: boolean;
|
|
3030
3030
|
showMask: boolean;
|
|
3031
3031
|
trapFocus: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
2
|
export declare const NModalEnvironment: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
internalKey: {
|
|
4
4
|
type: StringConstructor;
|
|
@@ -2010,16 +2010,15 @@ export declare const NModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
2010
2010
|
}, any>;
|
|
2011
2011
|
}>>>;
|
|
2012
2012
|
}>> & Readonly<{}>, {
|
|
2013
|
-
type: "
|
|
2014
|
-
tag: keyof HTMLElementTagNameMap;
|
|
2013
|
+
type: "default" | "info" | "warning" | "error" | "success";
|
|
2015
2014
|
size: "small" | "medium" | "large" | "huge";
|
|
2016
|
-
show: boolean;
|
|
2017
|
-
transformOrigin: "center" | "mouse";
|
|
2018
|
-
loading: boolean;
|
|
2019
|
-
autoFocus: boolean;
|
|
2020
2015
|
showIcon: boolean;
|
|
2021
2016
|
bordered: boolean;
|
|
2022
2017
|
closable: boolean;
|
|
2018
|
+
loading: boolean;
|
|
2019
|
+
show: boolean;
|
|
2020
|
+
transformOrigin: "center" | "mouse";
|
|
2021
|
+
tag: keyof HTMLElementTagNameMap;
|
|
2023
2022
|
embedded: boolean;
|
|
2024
2023
|
segmented: boolean | import("../..").CardSegmented;
|
|
2025
2024
|
hoverable: boolean;
|
|
@@ -2027,6 +2026,7 @@ export declare const NModalEnvironment: import("vue").DefineComponent<import("vu
|
|
|
2027
2026
|
displayDirective: "show" | "if";
|
|
2028
2027
|
blockScroll: boolean;
|
|
2029
2028
|
closeOnEsc: boolean;
|
|
2029
|
+
autoFocus: boolean;
|
|
2030
2030
|
maskClosable: boolean;
|
|
2031
2031
|
showMask: boolean;
|
|
2032
2032
|
trapFocus: boolean;
|
|
@@ -57,5 +57,5 @@ declare const presetProps: {
|
|
|
57
57
|
footer: import("vue").PropType<() => import("vue").VNodeChild>;
|
|
58
58
|
headerExtra: import("vue").PropType<() => import("vue").VNodeChild>;
|
|
59
59
|
};
|
|
60
|
-
declare const presetPropsKeys: ("type" | "
|
|
60
|
+
declare const presetPropsKeys: ("type" | "size" | "title" | "showIcon" | "bordered" | "closable" | "onClose" | "icon" | "content" | "loading" | "cover" | "footer" | "tag" | "iconPlacement" | "contentClass" | "contentStyle" | "headerClass" | "headerStyle" | "headerExtraClass" | "headerExtraStyle" | "footerClass" | "footerStyle" | "embedded" | "segmented" | "hoverable" | "role" | "action" | "headerExtra" | "closeFocusable" | "negativeText" | "positiveText" | "positiveButtonProps" | "negativeButtonProps" | "titleClass" | "titleStyle" | "actionClass" | "actionStyle" | "onPositiveClick" | "onNegativeClick")[];
|
|
61
61
|
export { presetProps, presetPropsKeys };
|
|
@@ -37,9 +37,9 @@ export default c([cB('modal-container', `
|
|
|
37
37
|
min-height: 100%;
|
|
38
38
|
display: flex;
|
|
39
39
|
position: relative;
|
|
40
|
-
`), cM('mask-hidden', `pointer-events: none;`, [c('> *', `
|
|
40
|
+
`), cM('mask-hidden', `pointer-events: none;`, [cB('modal-scroll-content', [c('> *', `
|
|
41
41
|
pointer-events: all;
|
|
42
|
-
`)])]), cB('modal', `
|
|
42
|
+
`)])])]), cB('modal', `
|
|
43
43
|
position: relative;
|
|
44
44
|
align-self: center;
|
|
45
45
|
color: var(--n-text-color);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PropType, VNodeChild } from 'vue';
|
|
2
2
|
export declare const notificationProps: {
|
|
3
3
|
readonly closable: {
|
|
4
4
|
readonly type: BooleanConstructor;
|
|
@@ -22,7 +22,7 @@ export declare const notificationProps: {
|
|
|
22
22
|
readonly onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
23
23
|
readonly onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
24
24
|
};
|
|
25
|
-
export declare const notificationPropKeys: ("type" | "
|
|
25
|
+
export declare const notificationPropKeys: ("type" | "title" | "closable" | "onClose" | "content" | "onMouseenter" | "onMouseleave" | "avatar" | "meta" | "action" | "keepAliveOnHover" | "description")[];
|
|
26
26
|
export declare const Notification: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
27
27
|
readonly closable: {
|
|
28
28
|
readonly type: BooleanConstructor;
|
|
@@ -108,7 +108,7 @@ export declare const Notification: import("vue").DefineComponent<import("vue").E
|
|
|
108
108
|
readonly onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
109
109
|
readonly onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
110
110
|
}>> & Readonly<{}>, {
|
|
111
|
-
readonly type: "
|
|
111
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
112
112
|
readonly closable: boolean;
|
|
113
113
|
readonly keepAliveOnHover: boolean;
|
|
114
114
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { NotificationPlacement } from './NotificationProvider';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
3
3
|
export declare const NotificationContainer: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
4
|
scrollable: {
|
|
5
5
|
type: BooleanConstructor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
2
|
export declare const notificationEnvOptions: {
|
|
3
3
|
readonly duration: NumberConstructor;
|
|
4
4
|
readonly onClose: PropType<() => Promise<boolean> | boolean | any>;
|
|
@@ -110,7 +110,7 @@ export declare const NotificationEnvironment: import("vue").DefineComponent<Extr
|
|
|
110
110
|
onMouseenter: PropType<(e: MouseEvent) => void>;
|
|
111
111
|
onMouseleave: PropType<(e: MouseEvent) => void>;
|
|
112
112
|
}>> & Readonly<{}>, {
|
|
113
|
-
type: "
|
|
113
|
+
type: "default" | "info" | "warning" | "error" | "success";
|
|
114
114
|
closable: boolean;
|
|
115
115
|
keepAliveOnHover: boolean;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { CSSProperties, ExtractPropTypes, PropType, Ref } from 'vue';
|
|
1
2
|
import type { MergedTheme } from '../../_mixins';
|
|
3
|
+
import type { ExtractPublicPropTypes, Mutable } from '../../_utils';
|
|
4
|
+
import type { NotificationTheme } from '../styles';
|
|
2
5
|
import type { NotificationOptions } from './NotificationEnvironment';
|
|
3
|
-
import { type CSSProperties, type ExtractPropTypes, type PropType, type Ref } from 'vue';
|
|
4
|
-
import { type ExtractPublicPropTypes, type Mutable } from '../../_utils';
|
|
5
|
-
import { type NotificationTheme } from '../styles';
|
|
6
6
|
export type NotificationPlacement = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right' | 'top' | 'bottom';
|
|
7
7
|
export interface NotificationProviderInjection {
|
|
8
8
|
props: ExtractPropTypes<typeof notificationProviderProps>;
|
|
@@ -337,48 +337,48 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
337
337
|
readonly destroy: () => void;
|
|
338
338
|
readonly hide: () => void;
|
|
339
339
|
readonly deactivate: () => void;
|
|
340
|
-
type?: "
|
|
340
|
+
type?: "default" | "info" | "warning" | "error" | "success" | undefined;
|
|
341
341
|
closable?: boolean | undefined;
|
|
342
342
|
keepAliveOnHover?: boolean | undefined;
|
|
343
|
-
meta?: string | (() => import("vue").VNodeChild) | undefined;
|
|
344
|
-
content?: string | (() => import("vue").VNodeChild) | undefined;
|
|
345
|
-
description?: string | (() => import("vue").VNodeChild) | undefined;
|
|
346
|
-
onAfterEnter?: (() => void) | undefined;
|
|
347
|
-
onLeave?: (() => void) | undefined;
|
|
348
|
-
onAfterLeave?: (() => void) | undefined;
|
|
349
343
|
title?: string | (() => import("vue").VNodeChild) | undefined;
|
|
350
|
-
duration?: number | undefined;
|
|
351
|
-
onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
352
|
-
onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
353
344
|
onClose?: (() => Promise<boolean> | boolean | any) | undefined;
|
|
354
|
-
|
|
345
|
+
onAfterLeave?: (() => void) | undefined;
|
|
355
346
|
onAfterHide?: (() => void) | undefined;
|
|
347
|
+
content?: string | (() => import("vue").VNodeChild) | undefined;
|
|
348
|
+
onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
349
|
+
onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
356
350
|
avatar?: (() => import("vue").VNodeChild) | undefined;
|
|
357
351
|
onHide?: (() => void) | undefined;
|
|
352
|
+
meta?: string | (() => import("vue").VNodeChild) | undefined;
|
|
353
|
+
action?: string | (() => import("vue").VNodeChild) | undefined;
|
|
354
|
+
duration?: number | undefined;
|
|
355
|
+
onAfterEnter?: (() => void) | undefined;
|
|
356
|
+
description?: string | (() => import("vue").VNodeChild) | undefined;
|
|
357
|
+
onLeave?: (() => void) | undefined;
|
|
358
358
|
onAfterShow?: (() => void) | undefined;
|
|
359
359
|
}[], NotificationReactive[] | {
|
|
360
360
|
readonly key: string;
|
|
361
361
|
readonly destroy: () => void;
|
|
362
362
|
readonly hide: () => void;
|
|
363
363
|
readonly deactivate: () => void;
|
|
364
|
-
type?: "
|
|
364
|
+
type?: "default" | "info" | "warning" | "error" | "success" | undefined;
|
|
365
365
|
closable?: boolean | undefined;
|
|
366
366
|
keepAliveOnHover?: boolean | undefined;
|
|
367
|
-
meta?: string | (() => import("vue").VNodeChild) | undefined;
|
|
368
|
-
content?: string | (() => import("vue").VNodeChild) | undefined;
|
|
369
|
-
description?: string | (() => import("vue").VNodeChild) | undefined;
|
|
370
|
-
onAfterEnter?: (() => void) | undefined;
|
|
371
|
-
onLeave?: (() => void) | undefined;
|
|
372
|
-
onAfterLeave?: (() => void) | undefined;
|
|
373
367
|
title?: string | (() => import("vue").VNodeChild) | undefined;
|
|
374
|
-
duration?: number | undefined;
|
|
375
|
-
onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
376
|
-
onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
377
368
|
onClose?: (() => Promise<boolean> | boolean | any) | undefined;
|
|
378
|
-
|
|
369
|
+
onAfterLeave?: (() => void) | undefined;
|
|
379
370
|
onAfterHide?: (() => void) | undefined;
|
|
371
|
+
content?: string | (() => import("vue").VNodeChild) | undefined;
|
|
372
|
+
onMouseenter?: ((e: MouseEvent) => void) | undefined;
|
|
373
|
+
onMouseleave?: ((e: MouseEvent) => void) | undefined;
|
|
380
374
|
avatar?: (() => import("vue").VNodeChild) | undefined;
|
|
381
375
|
onHide?: (() => void) | undefined;
|
|
376
|
+
meta?: string | (() => import("vue").VNodeChild) | undefined;
|
|
377
|
+
action?: string | (() => import("vue").VNodeChild) | undefined;
|
|
378
|
+
duration?: number | undefined;
|
|
379
|
+
onAfterEnter?: (() => void) | undefined;
|
|
380
|
+
description?: string | (() => import("vue").VNodeChild) | undefined;
|
|
381
|
+
onLeave?: (() => void) | undefined;
|
|
382
382
|
onAfterShow?: (() => void) | undefined;
|
|
383
383
|
}[]>;
|
|
384
384
|
notificationRefs: Record<string, NotificationRef>;
|
|
@@ -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 numberAnimationProps: {
|
|
4
4
|
to: {
|
|
5
5
|
type: NumberConstructor;
|
|
@@ -87,8 +87,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
87
87
|
}>> & Readonly<{}>, {
|
|
88
88
|
to: number;
|
|
89
89
|
active: boolean;
|
|
90
|
-
duration: number;
|
|
91
90
|
from: number;
|
|
91
|
+
duration: number;
|
|
92
92
|
precision: number;
|
|
93
93
|
showSeparator: boolean;
|
|
94
94
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
3
3
|
export declare const pageHeaderProps: {
|
|
4
4
|
title: StringConstructor;
|
|
5
5
|
subtitle: StringConstructor;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { Size as InputSize } from '../../input/src/interface';
|
|
3
4
|
import type { SelectProps } from '../../select';
|
|
4
5
|
import type { Size as SelectSize } from '../../select/src/interface';
|
|
5
6
|
import type { PaginationInfo, PaginationLabelInfo, PaginationRenderLabel, PaginationSizeOption, RenderGoto, RenderNext, RenderPrefix, RenderPrev, RenderSuffix, Size } from './interface';
|
|
6
7
|
import type { PageItem } from './utils';
|
|
7
|
-
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
8
8
|
export declare const paginationProps: {
|
|
9
9
|
readonly simple: BooleanConstructor;
|
|
10
10
|
readonly page: NumberConstructor;
|
|
@@ -4546,9 +4546,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4546
4546
|
}>;
|
|
4547
4547
|
}>>>;
|
|
4548
4548
|
}>> & Readonly<{}>, {
|
|
4549
|
+
readonly disabled: boolean;
|
|
4549
4550
|
readonly size: Size;
|
|
4550
4551
|
readonly to: string | boolean | HTMLElement;
|
|
4551
|
-
readonly disabled: boolean;
|
|
4552
4552
|
readonly simple: boolean;
|
|
4553
4553
|
readonly defaultPage: number;
|
|
4554
4554
|
readonly defaultPageCount: number;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { ButtonProps } from '../../button';
|
|
3
4
|
import type { PopoverTrigger } from '../../popover';
|
|
4
5
|
import type { InternalPopoverInst } from '../../popover/src/interface';
|
|
5
|
-
import { type ExtractPropTypes, type PropType, type SlotsType, type VNode } from 'vue';
|
|
6
6
|
export declare const popconfirmProps: {
|
|
7
7
|
positiveText: PropType<string | null>;
|
|
8
8
|
negativeText: PropType<string | null>;
|
|
@@ -2727,22 +2727,22 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
2727
2727
|
}>;
|
|
2728
2728
|
}>>>;
|
|
2729
2729
|
}>> & Readonly<{}>, {
|
|
2730
|
-
to: string | boolean | HTMLElement;
|
|
2731
2730
|
disabled: boolean;
|
|
2732
|
-
show: boolean | undefined;
|
|
2733
|
-
flip: boolean;
|
|
2734
|
-
width: number | "trigger";
|
|
2735
|
-
duration: number;
|
|
2736
2731
|
raw: boolean;
|
|
2737
2732
|
showIcon: boolean;
|
|
2733
|
+
to: string | boolean | HTMLElement;
|
|
2738
2734
|
placement: import("vueuc").FollowerPlacement;
|
|
2735
|
+
width: number | "trigger";
|
|
2736
|
+
show: boolean | undefined;
|
|
2739
2737
|
showArrow: boolean;
|
|
2740
2738
|
trigger: PopoverTrigger;
|
|
2741
2739
|
arrow: boolean | undefined;
|
|
2742
2740
|
defaultShow: boolean;
|
|
2743
2741
|
delay: number;
|
|
2742
|
+
duration: number;
|
|
2744
2743
|
arrowPointToCenter: boolean;
|
|
2745
2744
|
displayDirective: "show" | "if";
|
|
2745
|
+
flip: boolean;
|
|
2746
2746
|
animated: boolean;
|
|
2747
2747
|
overlap: boolean;
|
|
2748
2748
|
keepAliveOnHover: boolean;
|