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
package/es/space/src/Space.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type CSSProperties, type PropType } from 'vue';
|
|
3
3
|
type Align = 'stretch' | 'baseline' | 'start' | 'end' | 'center' | 'flex-end' | 'flex-start';
|
|
4
4
|
export type Justify = 'start' | 'end' | 'center' | 'space-around' | 'space-between' | 'space-evenly';
|
|
5
5
|
export declare const spaceProps: {
|
|
@@ -139,12 +139,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
139
139
|
gapLarge: string;
|
|
140
140
|
}, any>>>;
|
|
141
141
|
}>> & Readonly<{}>, {
|
|
142
|
-
readonly inline: boolean;
|
|
143
|
-
readonly size: number | [number, number] | "small" | "medium" | "large";
|
|
144
142
|
readonly reverse: boolean;
|
|
145
|
-
readonly
|
|
143
|
+
readonly size: number | "small" | "medium" | "large" | [number, number];
|
|
146
144
|
readonly vertical: boolean;
|
|
145
|
+
readonly inline: boolean;
|
|
147
146
|
readonly justify: Justify;
|
|
147
|
+
readonly wrap: boolean;
|
|
148
148
|
readonly wrapItem: boolean;
|
|
149
149
|
readonly internalUseGap: boolean;
|
|
150
150
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/es/spin/src/Spin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export declare const spinProps: {
|
|
4
4
|
contentClass: StringConstructor;
|
|
5
5
|
contentStyle: PropType<CSSProperties | string>;
|
package/es/split/src/Split.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
1
3
|
import type { SplitOnUpdateSize } from './types';
|
|
2
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
3
|
-
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const splitProps: {
|
|
5
5
|
readonly direction: {
|
|
6
6
|
readonly type: PropType<"horizontal" | "vertical">;
|
|
@@ -171,9 +171,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
171
171
|
}>> & Readonly<{}>, {
|
|
172
172
|
readonly disabled: boolean;
|
|
173
173
|
readonly max: string | number;
|
|
174
|
+
readonly defaultSize: string | number;
|
|
174
175
|
readonly direction: "horizontal" | "vertical";
|
|
175
176
|
readonly min: string | number;
|
|
176
|
-
readonly defaultSize: string | number;
|
|
177
177
|
readonly resizeTriggerSize: number;
|
|
178
178
|
}, SlotsType<SplitSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
179
179
|
export default _default;
|
package/es/steps/src/Step.d.ts
CHANGED
|
@@ -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 stepProps: {
|
|
4
4
|
readonly status: PropType<"process" | "finish" | "error" | "wait">;
|
|
5
5
|
readonly title: StringConstructor;
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
28
28
|
}>, {
|
|
29
29
|
stepsSlots: import("./Steps").StepsSlots;
|
|
30
30
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
31
|
-
vertical: import("vue").
|
|
31
|
+
vertical: import("vue").Ref<boolean, boolean>;
|
|
32
32
|
mergedStatus: import("vue").ComputedRef<"error" | "wait" | "finish" | "process">;
|
|
33
33
|
handleStepClick: import("vue").ComputedRef<(() => void) | undefined>;
|
|
34
34
|
cssVars: import("vue").ComputedRef<{
|
|
@@ -47,6 +47,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
47
47
|
}> | undefined;
|
|
48
48
|
themeClass: import("vue").Ref<string, string> | undefined;
|
|
49
49
|
onRender: (() => void) | undefined;
|
|
50
|
+
contentPlacement: import("vue").Ref<"bottom" | "right", "bottom" | "right">;
|
|
50
51
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
52
|
readonly status: PropType<"process" | "finish" | "error" | "wait">;
|
|
52
53
|
readonly title: StringConstructor;
|
package/es/steps/src/Step.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { computed, defineComponent, h, inject } from 'vue';
|
|
1
|
+
import { computed, defineComponent, Fragment, h, inject, toRef } from 'vue';
|
|
2
2
|
import { NBaseIcon, NIconSwitchTransition } from "../../_internal/index.mjs";
|
|
3
3
|
import { CloseIcon as ErrorIcon, CheckmarkIcon as FinishedIcon } from "../../_internal/icons/index.mjs";
|
|
4
4
|
import { useConfig, useThemeClass } from "../../_mixins/index.mjs";
|
|
@@ -31,9 +31,8 @@ export default defineComponent({
|
|
|
31
31
|
mergedClsPrefixRef,
|
|
32
32
|
stepsSlots
|
|
33
33
|
} = NSteps;
|
|
34
|
-
const verticalRef =
|
|
35
|
-
|
|
36
|
-
});
|
|
34
|
+
const verticalRef = toRef(stepsProps, 'vertical');
|
|
35
|
+
const contentPlacementRef = toRef(stepsProps, 'contentPlacement');
|
|
37
36
|
const mergedStatusRef = computed(() => {
|
|
38
37
|
const {
|
|
39
38
|
status
|
|
@@ -130,7 +129,8 @@ export default defineComponent({
|
|
|
130
129
|
handleStepClick,
|
|
131
130
|
cssVars: inlineThemeDisabled ? undefined : cssVarsRef,
|
|
132
131
|
themeClass: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.themeClass,
|
|
133
|
-
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender
|
|
132
|
+
onRender: themeClassHandle === null || themeClassHandle === void 0 ? void 0 : themeClassHandle.onRender,
|
|
133
|
+
contentPlacement: contentPlacementRef
|
|
134
134
|
};
|
|
135
135
|
},
|
|
136
136
|
render() {
|
|
@@ -138,7 +138,9 @@ export default defineComponent({
|
|
|
138
138
|
mergedClsPrefix,
|
|
139
139
|
onRender,
|
|
140
140
|
handleStepClick,
|
|
141
|
-
disabled
|
|
141
|
+
disabled,
|
|
142
|
+
contentPlacement,
|
|
143
|
+
vertical
|
|
142
144
|
} = this;
|
|
143
145
|
const descriptionNode = resolveWrappedSlot(this.$slots.default, children => {
|
|
144
146
|
const mergedDescription = children || this.description;
|
|
@@ -149,13 +151,16 @@ export default defineComponent({
|
|
|
149
151
|
}
|
|
150
152
|
return null;
|
|
151
153
|
});
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
154
|
+
const splitorNode = h("div", {
|
|
155
|
+
class: `${mergedClsPrefix}-step-splitor`
|
|
156
|
+
});
|
|
157
|
+
const indicatorNode =
|
|
158
|
+
// We need a key here to prevent reconcile progress from affecting styling.
|
|
159
|
+
// A DOM can be reused so if it is used both for A component & B component,
|
|
160
|
+
// the styling transition bewteen two components may be incorrect.
|
|
161
|
+
h("div", {
|
|
162
|
+
class: `${mergedClsPrefix}-step-indicator`,
|
|
163
|
+
key: contentPlacement
|
|
159
164
|
}, h("div", {
|
|
160
165
|
class: `${mergedClsPrefix}-step-indicator-slot`
|
|
161
166
|
}, h(NIconSwitchTransition, null, {
|
|
@@ -181,16 +186,27 @@ export default defineComponent({
|
|
|
181
186
|
}) : null;
|
|
182
187
|
});
|
|
183
188
|
}
|
|
184
|
-
})),
|
|
185
|
-
|
|
186
|
-
}) : null), h("div", {
|
|
189
|
+
})), vertical ? splitorNode : null);
|
|
190
|
+
const contentNode = h("div", {
|
|
187
191
|
class: `${mergedClsPrefix}-step-content`
|
|
188
192
|
}, h("div", {
|
|
189
193
|
class: `${mergedClsPrefix}-step-content-header`
|
|
190
194
|
}, h("div", {
|
|
191
195
|
class: `${mergedClsPrefix}-step-content-header__title`
|
|
192
|
-
}, resolveSlot(this.$slots.title, () => [this.title])), !
|
|
193
|
-
|
|
194
|
-
|
|
196
|
+
}, resolveSlot(this.$slots.title, () => [this.title])), !vertical && contentPlacement === 'right' ? splitorNode : null), descriptionNode);
|
|
197
|
+
let stepNode;
|
|
198
|
+
if (!vertical && contentPlacement === 'bottom') {
|
|
199
|
+
stepNode = h(Fragment, null, h("div", {
|
|
200
|
+
class: `${mergedClsPrefix}-step-line`
|
|
201
|
+
}, indicatorNode, splitorNode), contentNode);
|
|
202
|
+
} else {
|
|
203
|
+
stepNode = h(Fragment, null, indicatorNode, contentNode);
|
|
204
|
+
}
|
|
205
|
+
onRender === null || onRender === void 0 ? void 0 : onRender();
|
|
206
|
+
return h("div", {
|
|
207
|
+
class: [`${mergedClsPrefix}-step`, disabled && `${mergedClsPrefix}-step--disabled`, !disabled && handleStepClick && `${mergedClsPrefix}-step--clickable`, this.themeClass, descriptionNode && `${mergedClsPrefix}-step--show-description`, `${mergedClsPrefix}-step--${this.mergedStatus}-status`],
|
|
208
|
+
style: this.cssVars,
|
|
209
|
+
onClick: handleStepClick
|
|
210
|
+
}, stepNode);
|
|
195
211
|
}
|
|
196
212
|
});
|
package/es/steps/src/Steps.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType, Ref, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { MergedTheme } from '../../_mixins';
|
|
2
3
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
4
|
import type { StepsTheme } from '../styles';
|
|
4
|
-
import { type ExtractPropTypes, type PropType, type Ref, type SlotsType, type VNode } from 'vue';
|
|
5
5
|
export declare const stepsProps: {
|
|
6
6
|
current: NumberConstructor;
|
|
7
7
|
status: {
|
|
@@ -13,6 +13,10 @@ export declare const stepsProps: {
|
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
vertical: BooleanConstructor;
|
|
16
|
+
contentPlacement: {
|
|
17
|
+
type: PropType<"right" | "bottom">;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
'onUpdate:current': PropType<MaybeArray<(current: number) => void>>;
|
|
17
21
|
onUpdateCurrent: PropType<MaybeArray<(current: number) => void>>;
|
|
18
22
|
theme: PropType<import("../../_mixins").Theme<"Steps", {
|
|
@@ -145,6 +149,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
145
149
|
default: string;
|
|
146
150
|
};
|
|
147
151
|
vertical: BooleanConstructor;
|
|
152
|
+
contentPlacement: {
|
|
153
|
+
type: PropType<"right" | "bottom">;
|
|
154
|
+
default: string;
|
|
155
|
+
};
|
|
148
156
|
'onUpdate:current': PropType<MaybeArray<(current: number) => void>>;
|
|
149
157
|
onUpdateCurrent: PropType<MaybeArray<(current: number) => void>>;
|
|
150
158
|
theme: PropType<import("../../_mixins").Theme<"Steps", {
|
|
@@ -266,6 +274,10 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
266
274
|
default: string;
|
|
267
275
|
};
|
|
268
276
|
vertical: BooleanConstructor;
|
|
277
|
+
contentPlacement: {
|
|
278
|
+
type: PropType<"right" | "bottom">;
|
|
279
|
+
default: string;
|
|
280
|
+
};
|
|
269
281
|
'onUpdate:current': PropType<MaybeArray<(current: number) => void>>;
|
|
270
282
|
onUpdateCurrent: PropType<MaybeArray<(current: number) => void>>;
|
|
271
283
|
theme: PropType<import("../../_mixins").Theme<"Steps", {
|
|
@@ -377,5 +389,6 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
377
389
|
size: "small" | "medium";
|
|
378
390
|
status: "error" | "wait" | "finish" | "process";
|
|
379
391
|
vertical: boolean;
|
|
392
|
+
contentPlacement: "bottom" | "right";
|
|
380
393
|
}, SlotsType<StepsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
381
394
|
export default _default;
|
package/es/steps/src/Steps.mjs
CHANGED
|
@@ -25,6 +25,10 @@ export const stepsProps = Object.assign(Object.assign({}, useTheme.props), {
|
|
|
25
25
|
default: 'medium'
|
|
26
26
|
},
|
|
27
27
|
vertical: Boolean,
|
|
28
|
+
contentPlacement: {
|
|
29
|
+
type: String,
|
|
30
|
+
default: 'right'
|
|
31
|
+
},
|
|
28
32
|
'onUpdate:current': [Function, Array],
|
|
29
33
|
onUpdateCurrent: [Function, Array]
|
|
30
34
|
});
|
|
@@ -58,7 +62,7 @@ export default defineComponent({
|
|
|
58
62
|
mergedClsPrefix
|
|
59
63
|
} = this;
|
|
60
64
|
return h("div", {
|
|
61
|
-
class: [`${mergedClsPrefix}-steps`, this.rtlEnabled && `${mergedClsPrefix}-steps--rtl`, this.vertical && `${mergedClsPrefix}-steps--vertical`]
|
|
65
|
+
class: [`${mergedClsPrefix}-steps`, this.rtlEnabled && `${mergedClsPrefix}-steps--rtl`, this.vertical && `${mergedClsPrefix}-steps--vertical`, this.contentPlacement === 'bottom' && `${mergedClsPrefix}-steps--content-bottom`]
|
|
62
66
|
}, stepsWithIndex(flatten(getSlot(this))));
|
|
63
67
|
}
|
|
64
68
|
});
|
|
@@ -99,4 +99,11 @@ export default cB('steps', `
|
|
|
99
99
|
margin: 0 !important;
|
|
100
100
|
left: calc(var(--n-indicator-size) / 2);
|
|
101
101
|
height: calc(100% - var(--n-indicator-size));
|
|
102
|
-
`)])]), cB('step-content', [cE('description', 'margin-top: 8px;')])])])])])
|
|
102
|
+
`)])]), cB('step-content', [cE('description', 'margin-top: 8px;')])])])])]), cM('content-bottom', [cNotM('vertical', [c('>', [cB('step', 'flex-direction: column', [c('>', [cB('step-line', 'display: flex;', [c('>', [cB('step-splitor', `
|
|
103
|
+
margin-top: 0;
|
|
104
|
+
align-self: center;
|
|
105
|
+
`)])])]), c('>', [cB('step-content', 'margin-top: calc(var(--n-indicator-size) / 2 - var(--n-step-header-font-size) / 2);', [cB('step-content-header', `
|
|
106
|
+
margin-left: 0;
|
|
107
|
+
`), cB('step-content__description', `
|
|
108
|
+
margin-left: 0;
|
|
109
|
+
`)])])])])])])]);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { OnUpdateValue } from './interface';
|
|
3
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
4
4
|
export declare const switchProps: {
|
|
5
5
|
readonly size: {
|
|
6
6
|
readonly type: PropType<"small" | "medium" | "large">;
|
|
@@ -463,11 +463,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
463
463
|
}, any>>>;
|
|
464
464
|
}>> & Readonly<{}>, {
|
|
465
465
|
readonly value: string | number | boolean | undefined;
|
|
466
|
-
readonly size: "small" | "medium" | "large";
|
|
467
466
|
readonly disabled: boolean | undefined;
|
|
468
|
-
readonly
|
|
469
|
-
readonly loading: boolean;
|
|
467
|
+
readonly size: "small" | "medium" | "large";
|
|
470
468
|
readonly defaultValue: string | number | boolean;
|
|
469
|
+
readonly loading: boolean;
|
|
470
|
+
readonly round: boolean;
|
|
471
471
|
readonly checkedValue: string | number | boolean;
|
|
472
472
|
readonly uncheckedValue: string | number | boolean;
|
|
473
473
|
readonly rubberBand: boolean;
|
package/es/table/src/Table.d.ts
CHANGED
package/es/tabs/src/Tab.d.ts
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
2
|
export declare const tabProps: {
|
|
3
|
+
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
4
|
+
readonly disabled: BooleanConstructor;
|
|
3
5
|
readonly name: {
|
|
4
6
|
readonly type: import("vue").PropType<string | number>;
|
|
5
7
|
readonly required: true;
|
|
6
8
|
};
|
|
7
|
-
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
8
|
-
readonly disabled: BooleanConstructor;
|
|
9
|
-
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
10
9
|
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
11
10
|
readonly closable: {
|
|
12
11
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
13
12
|
readonly default: undefined;
|
|
14
13
|
};
|
|
14
|
+
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
15
15
|
readonly internalLeftPadded: BooleanConstructor;
|
|
16
16
|
readonly internalAddable: BooleanConstructor;
|
|
17
17
|
readonly internalCreatedByPane: BooleanConstructor;
|
|
18
18
|
};
|
|
19
19
|
export type TabProps = ExtractPublicPropTypes<typeof tabProps>;
|
|
20
20
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
21
|
+
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
22
|
+
readonly disabled: BooleanConstructor;
|
|
21
23
|
readonly name: {
|
|
22
24
|
readonly type: import("vue").PropType<string | number>;
|
|
23
25
|
readonly required: true;
|
|
24
26
|
};
|
|
25
|
-
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
26
|
-
readonly disabled: BooleanConstructor;
|
|
27
|
-
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
28
27
|
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
29
28
|
readonly closable: {
|
|
30
29
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
31
30
|
readonly default: undefined;
|
|
32
31
|
};
|
|
32
|
+
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
33
33
|
readonly internalLeftPadded: BooleanConstructor;
|
|
34
34
|
readonly internalAddable: BooleanConstructor;
|
|
35
35
|
readonly internalCreatedByPane: BooleanConstructor;
|
|
@@ -46,18 +46,18 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
46
46
|
handleClose(e: MouseEvent): void;
|
|
47
47
|
activateTab(): void;
|
|
48
48
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
50
|
+
readonly disabled: BooleanConstructor;
|
|
49
51
|
readonly name: {
|
|
50
52
|
readonly type: import("vue").PropType<string | number>;
|
|
51
53
|
readonly required: true;
|
|
52
54
|
};
|
|
53
|
-
readonly label: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
54
|
-
readonly disabled: BooleanConstructor;
|
|
55
|
-
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
56
55
|
readonly tabProps: import("vue").PropType<import("vue").HTMLAttributes>;
|
|
57
56
|
readonly closable: {
|
|
58
57
|
readonly type: import("vue").PropType<boolean | undefined>;
|
|
59
58
|
readonly default: undefined;
|
|
60
59
|
};
|
|
60
|
+
readonly tab: import("vue").PropType<string | number | import("vue").VNode | (() => import("vue").VNodeChild)>;
|
|
61
61
|
readonly internalLeftPadded: BooleanConstructor;
|
|
62
62
|
readonly internalAddable: BooleanConstructor;
|
|
63
63
|
readonly internalCreatedByPane: BooleanConstructor;
|
package/es/tabs/src/TabPane.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { HTMLAttributes, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type HTMLAttributes, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
3
3
|
export declare const tabPaneProps: {
|
|
4
4
|
readonly tab: PropType<string | number | VNode | (() => VNodeChild)>;
|
|
5
5
|
readonly name: {
|
package/es/tabs/src/Tabs.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import type { ComponentPublicInstance, CSSProperties, ExtractPropTypes, PropType, SlotsType, VNode } from 'vue';
|
|
2
|
+
import type { VXScrollInst } from 'vueuc';
|
|
1
3
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
4
|
import type { Addable, OnBeforeLeave, OnClose, OnUpdateValue, TabsType } from './interface';
|
|
3
|
-
import {
|
|
4
|
-
import { type VXScrollInst } from 'vueuc';
|
|
5
|
+
import { nextTick } from 'vue';
|
|
5
6
|
export declare const tabsProps: {
|
|
6
7
|
readonly value: PropType<string | number>;
|
|
7
8
|
readonly defaultValue: PropType<string | number>;
|
|
@@ -734,12 +735,12 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
734
735
|
addTabFixed: import("vue").Ref<boolean, boolean>;
|
|
735
736
|
tabWrapperStyle: import("vue").ComputedRef<{
|
|
736
737
|
display: string;
|
|
737
|
-
justifyContent: "start" | "end" | "space-around" | "space-between" | "space-evenly"
|
|
738
|
+
justifyContent: "center" | "start" | "end" | "space-around" | "space-between" | "space-evenly";
|
|
738
739
|
} | undefined>;
|
|
739
|
-
handleNavResize:
|
|
740
|
+
handleNavResize: (entry: ResizeObserverEntry) => void;
|
|
740
741
|
mergedSize: import("vue").ComputedRef<"small" | "medium" | "large">;
|
|
741
|
-
handleScroll:
|
|
742
|
-
handleTabsResize:
|
|
742
|
+
handleScroll: (e: Event) => void;
|
|
743
|
+
handleTabsResize: (entry: ResizeObserverEntry) => void;
|
|
743
744
|
cssVars: import("vue").ComputedRef<{
|
|
744
745
|
'--n-bezier': string;
|
|
745
746
|
'--n-color-segment': string;
|
|
@@ -775,7 +776,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
775
776
|
'--n-tab-color-segment': string;
|
|
776
777
|
}> | undefined;
|
|
777
778
|
themeClass: import("vue").Ref<string, string> | undefined;
|
|
778
|
-
animationDirection: import("vue").Ref<"
|
|
779
|
+
animationDirection: import("vue").Ref<"prev" | "next", "prev" | "next">;
|
|
779
780
|
renderNameListRef: {
|
|
780
781
|
value: Array<string | number>;
|
|
781
782
|
};
|
|
@@ -1106,7 +1107,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
1106
1107
|
readonly type: TabsType;
|
|
1107
1108
|
readonly size: "small" | "medium" | "large";
|
|
1108
1109
|
readonly closable: boolean;
|
|
1109
|
-
readonly placement: "
|
|
1110
|
+
readonly placement: "top" | "bottom" | "left" | "right";
|
|
1110
1111
|
readonly trigger: "click" | "hover";
|
|
1111
1112
|
readonly animated: boolean;
|
|
1112
1113
|
readonly tabsPadding: number;
|
package/es/tabs/src/Tabs.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { throttle } from 'lodash';
|
|
1
|
+
import { throttle as _throttle } from 'lodash-es';
|
|
2
2
|
import { depx, getPadding } from 'seemly';
|
|
3
3
|
import { onFontsReady, useCompitable, useMergedState } from 'vooks';
|
|
4
4
|
import { cloneVNode, computed, defineComponent, h, nextTick, onMounted, provide, ref, toRef, TransitionGroup, vShow, watch, watchEffect, withDirectives } from 'vue';
|
|
@@ -9,6 +9,8 @@ import { tabsLight } from "../styles/index.mjs";
|
|
|
9
9
|
import { tabsInjectionKey } from "./interface.mjs";
|
|
10
10
|
import style from "./styles/index.cssr.mjs";
|
|
11
11
|
import Tab from "./Tab.mjs";
|
|
12
|
+
// Fix vue-tsc error
|
|
13
|
+
const throttle = _throttle;
|
|
12
14
|
export const tabsProps = Object.assign(Object.assign({}, useTheme.props), {
|
|
13
15
|
value: [String, Number],
|
|
14
16
|
defaultValue: [String, Number],
|
package/es/tag/src/Tag.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType, Ref, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
|
-
import { type PropType, type Ref, type SlotsType, type VNode } from 'vue';
|
|
3
3
|
export interface TagPublicMethods {
|
|
4
4
|
setTextContent: (textContent: string) => void;
|
|
5
5
|
}
|
|
@@ -970,14 +970,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
970
970
|
closeMargin: string;
|
|
971
971
|
}, any>>>;
|
|
972
972
|
}>> & Readonly<{}>, {
|
|
973
|
-
type: "error" | "default" | "info" | "warning" | "success" | "primary";
|
|
974
|
-
size: "small" | "medium" | "large" | "tiny";
|
|
975
973
|
disabled: boolean | undefined;
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
checked: boolean;
|
|
974
|
+
type: "default" | "info" | "warning" | "error" | "success" | "primary";
|
|
975
|
+
size: "tiny" | "small" | "medium" | "large";
|
|
979
976
|
bordered: boolean | undefined;
|
|
980
977
|
closable: boolean;
|
|
978
|
+
round: boolean;
|
|
979
|
+
strong: boolean;
|
|
980
|
+
checked: boolean;
|
|
981
981
|
checkable: boolean;
|
|
982
982
|
triggerClickOnClose: boolean;
|
|
983
983
|
internalCloseFocusable: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cloneDeep, merge } from 'lodash';
|
|
1
|
+
import { cloneDeep, merge } from 'lodash-es';
|
|
2
2
|
import { computed, defineComponent, Fragment, h, inject, ref, toRaw, watch } from 'vue';
|
|
3
3
|
import { useLocale } from "../../_mixins/index.mjs";
|
|
4
4
|
import { download, lockHtmlScrollRightCompensationRef } from "../../_utils/index.mjs";
|
package/es/thing/src/Thing.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
3
3
|
export declare const thingProps: {
|
|
4
4
|
title: StringConstructor;
|
|
5
5
|
titleExtra: StringConstructor;
|
package/es/time/src/Time.d.ts
CHANGED
|
@@ -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 timeProps: {
|
|
4
4
|
readonly time: {
|
|
5
5
|
readonly type: PropType<number | Date>;
|
|
@@ -58,8 +58,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
58
58
|
}>> & Readonly<{}>, {
|
|
59
59
|
readonly type: "relative" | "date" | "datetime";
|
|
60
60
|
readonly to: number | Date;
|
|
61
|
-
readonly time: number | Date;
|
|
62
61
|
readonly text: boolean;
|
|
62
|
+
readonly time: number | Date;
|
|
63
63
|
readonly unix: boolean;
|
|
64
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
65
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { MaybeArray } from '../../_utils';
|
|
2
|
-
import {
|
|
3
|
-
import { type IsHourDisabled, type IsMinuteDisabled, type IsSecondDisabled, type Item, type ItemValue } from './interface';
|
|
3
|
+
import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled, Item, ItemValue } from './interface';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
actions: {
|
|
6
6
|
type: PropType<Array<"clear" | "now" | "confirm"> | null>;
|
|
@@ -846,7 +846,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
846
846
|
use12Hours: BooleanConstructor;
|
|
847
847
|
}>> & Readonly<{}>, {
|
|
848
848
|
transitionDisabled: boolean;
|
|
849
|
-
actions: ("clear" | "
|
|
849
|
+
actions: ("clear" | "now" | "confirm")[] | null;
|
|
850
850
|
use12Hours: boolean;
|
|
851
851
|
isValueInvalid: boolean;
|
|
852
852
|
isHourInvalid: boolean;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { PropType, VNode } from 'vue';
|
|
2
|
+
import type { FollowerPlacement } from 'vueuc';
|
|
1
3
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
4
|
import type { FormValidationStatus } from '../../form/src/public-types';
|
|
3
5
|
import type { IsHourDisabled, IsMinuteDisabled, IsSecondDisabled, ItemValue, OnUpdateFormattedValue, OnUpdateValue, PanelRef, Size } from './interface';
|
|
4
|
-
import { type PropType, type VNode } from 'vue';
|
|
5
|
-
import { type FollowerPlacement } from 'vueuc';
|
|
6
6
|
export declare const timePickerProps: {
|
|
7
7
|
to: {
|
|
8
8
|
type: PropType<HTMLElement | string | boolean>;
|
|
@@ -3573,15 +3573,15 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3573
3573
|
}>;
|
|
3574
3574
|
}>>>;
|
|
3575
3575
|
}>> & Readonly<{}>, {
|
|
3576
|
-
to: string | boolean | HTMLElement;
|
|
3577
3576
|
disabled: boolean | undefined;
|
|
3578
|
-
show: boolean | undefined;
|
|
3579
|
-
format: string;
|
|
3580
3577
|
showIcon: boolean;
|
|
3581
3578
|
bordered: boolean | undefined;
|
|
3579
|
+
to: string | boolean | HTMLElement;
|
|
3582
3580
|
clearable: boolean;
|
|
3583
3581
|
defaultValue: number | null;
|
|
3584
3582
|
placement: FollowerPlacement;
|
|
3583
|
+
show: boolean | undefined;
|
|
3584
|
+
format: string;
|
|
3585
3585
|
inputReadonly: boolean;
|
|
3586
3586
|
use12Hours: boolean;
|
|
3587
3587
|
stateful: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType, Ref } from 'vue';
|
|
2
|
+
import type { MergedTheme } from '../../_mixins';
|
|
3
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
1
4
|
import type { TimelineTheme } from '../styles';
|
|
2
|
-
import { type ExtractPropTypes, type PropType, type Ref } from 'vue';
|
|
3
|
-
import { type MergedTheme } from '../../_mixins';
|
|
4
|
-
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
5
5
|
export declare const timelineProps: {
|
|
6
6
|
readonly horizontal: BooleanConstructor;
|
|
7
7
|
readonly itemPlacement: {
|
|
@@ -260,8 +260,8 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
260
260
|
iconSizeLarge: string;
|
|
261
261
|
}, any>>>;
|
|
262
262
|
}>> & Readonly<{}>, {
|
|
263
|
-
readonly size: "medium" | "large";
|
|
264
263
|
readonly horizontal: boolean;
|
|
264
|
+
readonly size: "medium" | "large";
|
|
265
265
|
readonly itemPlacement: "left" | "right";
|
|
266
266
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
267
267
|
export default _default;
|
|
@@ -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 timelineItemProps: {
|
|
4
4
|
time: PropType<string | number>;
|
|
5
5
|
title: StringConstructor;
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
default: string;
|
|
67
67
|
};
|
|
68
68
|
}>> & Readonly<{}>, {
|
|
69
|
-
type: "
|
|
69
|
+
type: "default" | "info" | "warning" | "error" | "success";
|
|
70
70
|
lineType: "default" | "dashed";
|
|
71
71
|
}, SlotsType<TimelineItemSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
72
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { SlotsType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { PopoverInst, PopoverSlots } from '../../popover';
|
|
3
|
-
import { type SlotsType } from 'vue';
|
|
4
4
|
export type TooltipInst = PopoverInst;
|
|
5
5
|
export declare const tooltipProps: {
|
|
6
6
|
theme: import("vue").PropType<import("../../_mixins").Theme<"Tooltip", {
|
|
@@ -669,21 +669,21 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
669
669
|
minWidth: NumberConstructor;
|
|
670
670
|
maxWidth: NumberConstructor;
|
|
671
671
|
}>> & Readonly<{}>, {
|
|
672
|
-
to: string | boolean | HTMLElement;
|
|
673
672
|
disabled: boolean;
|
|
674
|
-
show: boolean | undefined;
|
|
675
|
-
flip: boolean;
|
|
676
|
-
width: number | "trigger";
|
|
677
|
-
duration: number;
|
|
678
673
|
raw: boolean;
|
|
674
|
+
to: string | boolean | HTMLElement;
|
|
679
675
|
placement: import("vueuc").FollowerPlacement;
|
|
676
|
+
width: number | "trigger";
|
|
677
|
+
show: boolean | undefined;
|
|
680
678
|
showArrow: boolean;
|
|
681
679
|
trigger: import("../..").PopoverTrigger;
|
|
682
680
|
arrow: boolean | undefined;
|
|
683
681
|
defaultShow: boolean;
|
|
684
682
|
delay: number;
|
|
683
|
+
duration: number;
|
|
685
684
|
arrowPointToCenter: boolean;
|
|
686
685
|
displayDirective: "show" | "if";
|
|
686
|
+
flip: boolean;
|
|
687
687
|
animated: boolean;
|
|
688
688
|
overlap: boolean;
|
|
689
689
|
keepAliveOnHover: boolean;
|