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,9 +1,9 @@
|
|
|
1
|
+
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
import type { VirtualListInst } from 'vueuc';
|
|
1
4
|
import type { SelectGroupOption, SelectIgnoredOption, SelectOption, SelectTreeMate, Value } from '../../../select/src/interface';
|
|
2
5
|
import type { ScrollbarInst } from '../../scrollbar';
|
|
3
6
|
import type { NodeProps, RenderLabel, RenderOption, Size } from './interface';
|
|
4
|
-
import { type TreeNode } from 'treemate';
|
|
5
|
-
import { type PropType } from 'vue';
|
|
6
|
-
import { type VirtualListInst } from 'vueuc';
|
|
7
7
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
clsPrefix: {
|
|
9
9
|
type: StringConstructor;
|
|
@@ -700,12 +700,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
700
700
|
}>> & Readonly<{}>, {
|
|
701
701
|
value: Value | null;
|
|
702
702
|
size: Size;
|
|
703
|
-
|
|
704
|
-
multiple: boolean;
|
|
703
|
+
inlineThemeDisabled: boolean;
|
|
705
704
|
loading: boolean;
|
|
705
|
+
show: boolean;
|
|
706
706
|
focusable: boolean;
|
|
707
|
-
inlineThemeDisabled: boolean;
|
|
708
707
|
scrollable: boolean;
|
|
708
|
+
multiple: boolean;
|
|
709
709
|
virtualScroll: boolean;
|
|
710
710
|
valueField: string;
|
|
711
711
|
labelField: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { PropType, Ref } from 'vue';
|
|
2
3
|
import type { SelectOption } from '../../../select/src/interface';
|
|
3
|
-
import {
|
|
4
|
-
import { type RenderLabelImpl, type RenderOptionImpl } from './interface';
|
|
4
|
+
import type { RenderLabelImpl, RenderOptionImpl } from './interface';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
clsPrefix: {
|
|
7
7
|
type: StringConstructor;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { InputHTMLAttributes, PropType } from 'vue';
|
|
2
|
+
import type { VOverflowInst } from 'vueuc';
|
|
1
3
|
import type { FormValidationStatus } from '../../../form/src/public-types';
|
|
4
|
+
import type { PopoverProps } from '../../../popover';
|
|
2
5
|
import type { SelectBaseOption } from '../../../select/src/interface';
|
|
3
6
|
import type { TagRef } from '../../../tag/src/Tag';
|
|
4
7
|
import type { RenderLabel, RenderLabelImpl } from '../../select-menu/src/interface';
|
|
5
8
|
import type { RenderTag } from './interface';
|
|
6
|
-
import { type InputHTMLAttributes, type PropType } from 'vue';
|
|
7
|
-
import { type VOverflowInst } from 'vueuc';
|
|
8
|
-
import { type PopoverProps } from '../../../popover';
|
|
9
9
|
export interface InternalSelectionInst {
|
|
10
10
|
isComposing: boolean;
|
|
11
11
|
focus: () => void;
|
|
@@ -866,23 +866,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
866
866
|
}>;
|
|
867
867
|
}>>>;
|
|
868
868
|
}>> & Readonly<{}>, {
|
|
869
|
-
pattern: string;
|
|
870
|
-
size: "small" | "medium" | "large" | "tiny";
|
|
871
869
|
disabled: boolean;
|
|
872
|
-
|
|
873
|
-
active: boolean;
|
|
874
|
-
autofocus: boolean;
|
|
875
|
-
loading: boolean;
|
|
870
|
+
size: "tiny" | "small" | "medium" | "large";
|
|
876
871
|
bordered: boolean | undefined;
|
|
877
872
|
inlineThemeDisabled: boolean;
|
|
878
873
|
clearable: boolean;
|
|
874
|
+
loading: boolean;
|
|
875
|
+
active: boolean;
|
|
879
876
|
showArrow: boolean;
|
|
877
|
+
multiple: boolean;
|
|
880
878
|
filterable: boolean;
|
|
881
879
|
valueField: string;
|
|
882
880
|
labelField: string;
|
|
881
|
+
pattern: string;
|
|
883
882
|
selectedOption: SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | /*elided*/ any>, selected: boolean) => import("vue").VNodeChild)> | null;
|
|
884
883
|
selectedOptions: SelectBaseOption<string | number, string | ((option: SelectBaseOption<string | number, string | /*elided*/ any>, selected: boolean) => import("vue").VNodeChild)>[] | null;
|
|
885
884
|
focused: boolean;
|
|
886
885
|
ignoreComposition: boolean;
|
|
886
|
+
autofocus: boolean;
|
|
887
887
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
888
888
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
1
2
|
import type { Breakpoints, GlobalComponentConfig, RtlEnabledState } from '../config-provider/src/internal-interface';
|
|
2
|
-
import { type ComputedRef, type Ref } from 'vue';
|
|
3
3
|
type UseConfigProps = Readonly<{
|
|
4
4
|
bordered?: boolean;
|
|
5
5
|
[key: string]: unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
2
|
export declare function useThemeClass(componentName: string, hashRef: Ref<string> | undefined, cssVarsRef: ComputedRef<Record<string, string>> | undefined, props: {
|
|
3
3
|
themeOverrides?: unknown;
|
|
4
4
|
builtinThemeOverrides?: unknown;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
1
2
|
import type { FormValidationStatus } from '../form/src/public-types';
|
|
2
|
-
import { type ComputedRef, type Ref } from 'vue';
|
|
3
3
|
type FormItemSize = 'small' | 'medium' | 'large';
|
|
4
4
|
type AllowedSize = 'tiny' | 'small' | 'medium' | 'large' | 'huge' | number;
|
|
5
5
|
export interface FormItemInjection {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { NLocale } from '../locales/common/enUS';
|
|
2
3
|
import type { NDateLocale } from '../locales/date/enUS';
|
|
3
|
-
import { type Ref } from 'vue';
|
|
4
4
|
export default function useLocale<T extends keyof NLocale>(ns: T): {
|
|
5
5
|
localeRef: Ref<NLocale[T]>;
|
|
6
6
|
dateLocaleRef: Ref<NDateLocale>;
|
package/lib/_mixins/use-rtl.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { RtlEnabledState, RtlItem } from '../config-provider/src/internal-interface';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
3
3
|
export declare function useRtl(mountId: string, rtlStateRef: Ref<RtlEnabledState | undefined> | undefined, clsPrefixRef: Ref<string>): Ref<RtlItem | undefined> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { CNode } from 'css-render';
|
|
2
|
+
import type { ComputedRef, PropType, Ref } from 'vue';
|
|
2
3
|
import type { ThemeCommonVars } from '../_styles/common';
|
|
3
4
|
import type { GlobalTheme } from '../config-provider';
|
|
4
|
-
import { type ComputedRef, type PropType, type Ref } from 'vue';
|
|
5
5
|
export interface Theme<N, T = Record<string, unknown>, R = any> {
|
|
6
6
|
name: N;
|
|
7
7
|
common?: ThemeCommonVars;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { InjectionKey, Ref } from 'vue';
|
|
2
2
|
export declare function useInjectionInstanceCollection(injectionName: string | InjectionKey<unknown>, collectionKey: string, registerKeyRef: Ref<string | undefined>): void;
|
|
3
3
|
export declare function useInjectionCollection(injectionName: string | InjectionKey<unknown>, collectionKey: string, valueRef: Ref<any>): void;
|
|
4
4
|
export declare function useInjectionElementCollection(injectionName: string | InjectionKey<unknown>, collectionKey: string, getElement: () => HTMLElement | null): void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
2
|
export declare function useDeferredTrue(valueRef: Ref<any>, delay: number, shouldDelayRef: Ref<boolean>): Ref<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
2
|
export declare function useIsComposing(): Ref<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
2
|
export declare function useOnResize(elRef: Ref<HTMLElement | null>, onResize: (() => void) | undefined): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { CNode, CProperties } from 'css-render';
|
|
2
2
|
declare const namespace = "n";
|
|
3
3
|
declare const prefix = ".n-";
|
|
4
4
|
declare const c: import("css-render").createCNode<import("css-render").CSelector>, find: import("css-render").CFindTarget;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { VNode, VNodeChild } from 'vue';
|
|
2
2
|
export declare function flatten(vNodes: VNodeChild[], filterCommentNode?: boolean, result?: VNode[]): VNode[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { VNode } from 'vue';
|
|
2
2
|
export declare function isNodeVShowFalse(vNode: VNode): boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
2
|
export declare function render<T extends any[]>(r: string | number | undefined | null | ((...args: [...T]) => VNodeChild) | unknown, ...args: [...T]): VNodeChild;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { Slot, VNodeArrayChildren, VNodeChild } from 'vue';
|
|
2
2
|
export declare function ensureValidVNode(vnodes: VNodeArrayChildren): VNodeArrayChildren | null;
|
|
3
3
|
/**
|
|
4
4
|
* We shouldn't use the following functions with slot flags `_: 1, 2, 3`
|
package/lib/affix/src/Affix.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { ScrollTarget } from './utils';
|
|
3
|
-
import { type CSSProperties, type PropType } from 'vue';
|
|
4
4
|
export declare const affixProps: {
|
|
5
5
|
readonly listenTo: PropType<string | ScrollTarget | (() => HTMLElement) | undefined>;
|
|
6
6
|
readonly top: NumberConstructor;
|
|
@@ -27,7 +27,7 @@ export declare const affixProps: {
|
|
|
27
27
|
readonly default: undefined;
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
export declare const affixPropKeys: ("
|
|
30
|
+
export declare const affixPropKeys: ("listenTo" | "top" | "bottom" | "triggerTop" | "triggerBottom" | "position" | "offsetTop" | "offsetBottom" | "target")[];
|
|
31
31
|
export type AffixProps = ExtractPublicPropTypes<typeof affixProps>;
|
|
32
32
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
33
33
|
readonly listenTo: PropType<string | ScrollTarget | (() => HTMLElement) | undefined>;
|
|
@@ -85,9 +85,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
85
85
|
readonly default: undefined;
|
|
86
86
|
};
|
|
87
87
|
}>> & Readonly<{}>, {
|
|
88
|
-
readonly target: (() => HTMLElement) | undefined;
|
|
89
88
|
readonly position: "fixed" | "absolute";
|
|
90
89
|
readonly offsetTop: number | undefined;
|
|
91
90
|
readonly offsetBottom: number | undefined;
|
|
91
|
+
readonly target: (() => HTMLElement) | undefined;
|
|
92
92
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
93
93
|
export default _default;
|
package/lib/alert/src/Alert.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 alertProps: {
|
|
4
4
|
title: StringConstructor;
|
|
5
5
|
showIcon: {
|
|
@@ -759,7 +759,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
759
759
|
padding: string;
|
|
760
760
|
}, any>>>;
|
|
761
761
|
}>> & Readonly<{}>, {
|
|
762
|
-
type: "
|
|
762
|
+
type: "default" | "info" | "warning" | "error" | "success";
|
|
763
763
|
showIcon: boolean;
|
|
764
764
|
bordered: boolean;
|
|
765
765
|
closable: boolean;
|
|
@@ -261,13 +261,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
261
261
|
}, any>>>;
|
|
262
262
|
}>> & Readonly<{}>, {
|
|
263
263
|
readonly type: "block" | "rail";
|
|
264
|
-
readonly bound: number;
|
|
265
|
-
readonly target: (() => HTMLElement) | undefined;
|
|
266
264
|
readonly position: "fixed" | "absolute";
|
|
267
265
|
readonly offsetTop: number | undefined;
|
|
268
266
|
readonly offsetBottom: number | undefined;
|
|
267
|
+
readonly target: (() => HTMLElement) | undefined;
|
|
269
268
|
readonly showRail: boolean;
|
|
270
269
|
readonly showBackground: boolean;
|
|
270
|
+
readonly bound: number;
|
|
271
271
|
readonly internalScrollable: boolean;
|
|
272
272
|
readonly ignoreGap: boolean;
|
|
273
273
|
readonly affix: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { OffsetTarget } from './utils';
|
|
2
|
-
import { type PropType } from 'vue';
|
|
3
3
|
export interface BaseAnchorInst {
|
|
4
4
|
setActiveHref: (href: string) => void;
|
|
5
5
|
}
|
|
@@ -24,7 +24,7 @@ export declare const baseAnchorProps: {
|
|
|
24
24
|
readonly ignoreGap: BooleanConstructor;
|
|
25
25
|
readonly offsetTarget: PropType<string | OffsetTarget | (() => HTMLElement)>;
|
|
26
26
|
};
|
|
27
|
-
export declare const baseAnchorPropKeys: ("type" | "
|
|
27
|
+
export declare const baseAnchorPropKeys: ("type" | "showRail" | "showBackground" | "bound" | "internalScrollable" | "ignoreGap" | "offsetTarget")[];
|
|
28
28
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
29
29
|
mergedClsPrefix: {
|
|
30
30
|
type: StringConstructor;
|
|
@@ -83,9 +83,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
83
83
|
offsetTarget: PropType<string | OffsetTarget | (() => HTMLElement)>;
|
|
84
84
|
}>> & Readonly<{}>, {
|
|
85
85
|
type: "block" | "rail";
|
|
86
|
-
bound: number;
|
|
87
86
|
showRail: boolean;
|
|
88
87
|
showBackground: boolean;
|
|
88
|
+
bound: number;
|
|
89
89
|
internalScrollable: boolean;
|
|
90
90
|
ignoreGap: boolean;
|
|
91
91
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/lib/anchor/src/Link.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Ref, SlotsType } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { AnchorLinkSlots } from './public-types';
|
|
3
|
-
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export interface AnchorInjection {
|
|
5
5
|
activeHref: Ref<string | null>;
|
|
6
6
|
mergedClsPrefix: Ref<string>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { HTMLAttributes, InputHTMLAttributes, PropType, SlotsType, VNode } from 'vue';
|
|
3
|
+
import type { FollowerPlacement } from 'vueuc';
|
|
1
4
|
import type { RenderLabel, RenderOption } from '../../_internal/select-menu/src/interface';
|
|
5
|
+
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
6
|
import type { FormValidationStatus } from '../../form/src/public-types';
|
|
3
7
|
import type { SelectBaseOption, SelectGroupOption, SelectIgnoredOption } from '../../select/src/interface';
|
|
4
8
|
import type { AutoCompleteDefaultSlotProps, AutoCompleteOptions, OnSelect, OnUpdateValue } from './interface';
|
|
5
|
-
import { type TreeNode } from 'treemate';
|
|
6
|
-
import { type HTMLAttributes, type InputHTMLAttributes, type PropType, type SlotsType, type VNode } from 'vue';
|
|
7
|
-
import { type FollowerPlacement } from 'vueuc';
|
|
8
|
-
import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
|
|
9
9
|
export declare const autoCompleteProps: {
|
|
10
10
|
readonly to: {
|
|
11
11
|
type: PropType<HTMLElement | string | boolean>;
|
|
@@ -1771,17 +1771,17 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1771
1771
|
}>;
|
|
1772
1772
|
}>>>;
|
|
1773
1773
|
}>> & Readonly<{}>, {
|
|
1774
|
-
readonly options: AutoCompleteOptions;
|
|
1775
|
-
readonly to: string | boolean | HTMLElement;
|
|
1776
1774
|
readonly disabled: boolean | undefined;
|
|
1777
|
-
readonly loading: boolean;
|
|
1778
1775
|
readonly bordered: boolean | undefined;
|
|
1776
|
+
readonly to: string | boolean | HTMLElement;
|
|
1779
1777
|
readonly append: boolean;
|
|
1780
1778
|
readonly clearable: boolean;
|
|
1781
1779
|
readonly defaultValue: string | null;
|
|
1780
|
+
readonly loading: boolean;
|
|
1782
1781
|
readonly placement: FollowerPlacement;
|
|
1783
1782
|
readonly blurAfterSelect: boolean;
|
|
1784
1783
|
readonly clearAfterSelect: boolean;
|
|
1785
1784
|
readonly showEmpty: boolean;
|
|
1785
|
+
readonly options: AutoCompleteOptions;
|
|
1786
1786
|
}, SlotsType<AutoCompleteSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1787
1787
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ImgHTMLAttributes, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
+
import type { IntersectionObserverOptions } from '../../image/src/utils';
|
|
2
4
|
import type { ObjectFit, Size } from './interface';
|
|
3
|
-
import { type ImgHTMLAttributes, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
4
|
-
import { type IntersectionObserverOptions } from '../../image/src/utils';
|
|
5
5
|
export declare const avatarProps: {
|
|
6
6
|
readonly size: PropType<Size>;
|
|
7
7
|
readonly src: StringConstructor;
|
|
@@ -228,9 +228,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
228
228
|
colorPopover: string;
|
|
229
229
|
}, any>>>;
|
|
230
230
|
}>> & Readonly<{}>, {
|
|
231
|
-
readonly
|
|
231
|
+
readonly bordered: boolean;
|
|
232
232
|
readonly circle: boolean;
|
|
233
|
+
readonly round: boolean;
|
|
233
234
|
readonly lazy: boolean;
|
|
234
|
-
readonly bordered: boolean;
|
|
235
235
|
}, SlotsType<AvatarSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
236
236
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { Size } from '../../avatar/src/interface';
|
|
3
4
|
import type { AvatarGroupAvatarSlotProps, AvatarGroupOption, AvatarGroupRestSlotProps } from './public-types';
|
|
4
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
5
5
|
export interface AvatarGroupInjection {
|
|
6
6
|
size?: Size | undefined;
|
|
7
7
|
}
|
|
@@ -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 backTopProps: {
|
|
4
4
|
readonly show: {
|
|
5
5
|
readonly type: PropType<boolean | undefined>;
|
|
@@ -249,9 +249,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
249
249
|
iconSize: string;
|
|
250
250
|
}, any>>>;
|
|
251
251
|
}>> & Readonly<{}>, {
|
|
252
|
+
readonly bottom: string | number;
|
|
252
253
|
readonly right: string | number;
|
|
253
254
|
readonly to: string | HTMLElement;
|
|
254
|
-
readonly bottom: string | number;
|
|
255
255
|
readonly show: boolean | undefined;
|
|
256
256
|
readonly visibilityHeight: number;
|
|
257
257
|
readonly 'onUpdate:show': Function;
|
package/lib/badge/src/Badge.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 badgeProps: {
|
|
4
4
|
readonly value: PropType<string | number>;
|
|
5
5
|
readonly max: NumberConstructor;
|
|
@@ -152,7 +152,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
152
152
|
fontFamily: string;
|
|
153
153
|
}, any>>>;
|
|
154
154
|
}>> & Readonly<{}>, {
|
|
155
|
-
readonly type: "
|
|
155
|
+
readonly type: "default" | "info" | "warning" | "error" | "success";
|
|
156
156
|
readonly show: boolean;
|
|
157
157
|
readonly dot: boolean;
|
|
158
158
|
readonly showZero: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { Ref } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export interface BreadcrumbInjection {
|
|
4
4
|
separatorRef: Ref<string>;
|
|
5
5
|
mergedClsPrefixRef: Ref<string>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ExtractPropTypes, PropType, SlotsType, VNode } from 'vue';
|
|
2
2
|
export declare const breadcrumbItemProps: {
|
|
3
3
|
readonly separator: StringConstructor;
|
|
4
4
|
readonly href: StringConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { ButtonHTMLAttributes, ExtractPropTypes, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
1
2
|
import type { BaseWaveRef } from '../../_internal';
|
|
2
3
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
4
|
import type { Size, Type } from './interface';
|
|
4
|
-
import { type ButtonHTMLAttributes, type ExtractPropTypes, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
5
5
|
export declare const buttonProps: {
|
|
6
6
|
readonly color: StringConstructor;
|
|
7
7
|
readonly textColor: StringConstructor;
|
|
@@ -1341,7 +1341,7 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
1341
1341
|
} | null>;
|
|
1342
1342
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
1343
1343
|
mergedFocusable: import("vue").ComputedRef<boolean>;
|
|
1344
|
-
mergedSize: import("vue").ComputedRef<"
|
|
1344
|
+
mergedSize: import("vue").ComputedRef<"tiny" | "small" | "medium" | "large">;
|
|
1345
1345
|
showBorder: import("vue").ComputedRef<boolean>;
|
|
1346
1346
|
enterPressed: import("vue").Ref<boolean, boolean>;
|
|
1347
1347
|
rtlEnabled: import("vue").Ref<import("../../config-provider/src/internal-interface").RtlItem | undefined, import("../../config-provider/src/internal-interface").RtlItem | undefined> | undefined;
|
|
@@ -2053,25 +2053,25 @@ declare const Button: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
2053
2053
|
rippleDuration: string;
|
|
2054
2054
|
}, any>>>;
|
|
2055
2055
|
}>> & Readonly<{}>, {
|
|
2056
|
+
readonly disabled: boolean;
|
|
2056
2057
|
readonly type: Type;
|
|
2057
|
-
readonly
|
|
2058
|
+
readonly bordered: boolean;
|
|
2058
2059
|
readonly block: boolean;
|
|
2059
|
-
readonly
|
|
2060
|
-
readonly
|
|
2060
|
+
readonly loading: boolean;
|
|
2061
|
+
readonly circle: boolean;
|
|
2061
2062
|
readonly round: boolean;
|
|
2062
|
-
readonly dashed: boolean;
|
|
2063
2063
|
readonly text: boolean;
|
|
2064
|
-
readonly
|
|
2065
|
-
readonly loading: boolean;
|
|
2066
|
-
readonly focusable: boolean;
|
|
2067
|
-
readonly bordered: boolean;
|
|
2064
|
+
readonly strong: boolean;
|
|
2068
2065
|
readonly tertiary: boolean;
|
|
2069
2066
|
readonly ghost: boolean;
|
|
2070
2067
|
readonly secondary: boolean;
|
|
2071
2068
|
readonly quaternary: boolean;
|
|
2069
|
+
readonly focusable: boolean;
|
|
2072
2070
|
readonly keyboard: boolean;
|
|
2071
|
+
readonly tag: keyof HTMLElementTagNameMap;
|
|
2072
|
+
readonly dashed: boolean;
|
|
2073
2073
|
readonly iconPlacement: "left" | "right";
|
|
2074
|
-
readonly attrType: "
|
|
2074
|
+
readonly attrType: "button" | "submit" | "reset";
|
|
2075
2075
|
readonly nativeFocusBehavior: boolean;
|
|
2076
2076
|
}, SlotsType<ButtonSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2077
2077
|
type InternalButtonProps = ExtractPropTypes<typeof buttonProps>;
|
|
@@ -132,13 +132,13 @@ exports.default = (0, cssr_1.c)([(0, cssr_1.cB)('button', `
|
|
|
132
132
|
border-radius: inherit;
|
|
133
133
|
transition: border-color .3s var(--n-bezier);
|
|
134
134
|
pointer-events: none;
|
|
135
|
-
`), (0, cssr_1.cE)('border',
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
135
|
+
`), (0, cssr_1.cE)('border', `
|
|
136
|
+
border: var(--n-border);
|
|
137
|
+
`), (0, cssr_1.cE)('state-border', `
|
|
138
|
+
border: var(--n-border);
|
|
139
|
+
border-color: #0000;
|
|
140
|
+
z-index: 1;
|
|
141
|
+
`), (0, cssr_1.cE)('icon', `
|
|
142
142
|
margin: var(--n-icon-margin);
|
|
143
143
|
margin-left: 0;
|
|
144
144
|
height: var(--n-icon-size);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { Size } from '../../button/src/interface';
|
|
3
|
-
import { type PropType } from 'vue';
|
|
4
4
|
export interface ButtonGroupInjection {
|
|
5
5
|
size?: Size | undefined;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { CalendarDefaultSlotProps, CalendarHeaderSlotProps, DateItem, OnPanelChange, OnUpdateValue } from './interface';
|
|
3
|
-
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
4
4
|
export declare const calendarProps: {
|
|
5
5
|
readonly isDateDisabled: PropType<(date: number) => boolean | undefined>;
|
|
6
6
|
readonly value: NumberConstructor;
|
package/lib/card/src/Card.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
3
3
|
export interface CardSegmented {
|
|
4
4
|
content?: boolean | 'soft';
|
|
5
5
|
footer?: boolean | 'soft';
|
|
@@ -43,7 +43,7 @@ export declare const cardBaseProps: {
|
|
|
43
43
|
readonly headerExtra: PropType<() => VNodeChild>;
|
|
44
44
|
readonly closeFocusable: BooleanConstructor;
|
|
45
45
|
};
|
|
46
|
-
export declare const cardBasePropKeys: ("
|
|
46
|
+
export declare const cardBasePropKeys: ("size" | "title" | "bordered" | "closable" | "onClose" | "content" | "cover" | "footer" | "tag" | "contentClass" | "contentStyle" | "headerClass" | "headerStyle" | "headerExtraClass" | "headerExtraStyle" | "footerClass" | "footerStyle" | "embedded" | "segmented" | "hoverable" | "role" | "action" | "headerExtra" | "closeFocusable")[];
|
|
47
47
|
export declare const cardProps: {
|
|
48
48
|
title: PropType<string | (() => VNodeChild)>;
|
|
49
49
|
contentClass: StringConstructor;
|
|
@@ -580,10 +580,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
580
580
|
closeSize: string;
|
|
581
581
|
}, any>>>;
|
|
582
582
|
}>> & Readonly<{}>, {
|
|
583
|
-
tag: keyof HTMLElementTagNameMap;
|
|
584
583
|
size: "small" | "medium" | "large" | "huge";
|
|
585
584
|
bordered: boolean;
|
|
586
585
|
closable: boolean;
|
|
586
|
+
tag: keyof HTMLElementTagNameMap;
|
|
587
587
|
embedded: boolean;
|
|
588
588
|
segmented: boolean | CardSegmented;
|
|
589
589
|
hoverable: boolean;
|
|
@@ -329,23 +329,23 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
329
329
|
arrowColor: string;
|
|
330
330
|
}, any>>>;
|
|
331
331
|
}>> & Readonly<{}>, {
|
|
332
|
-
effect: "card" | "slide" | "fade" | "custom";
|
|
333
|
-
direction: "horizontal" | "vertical";
|
|
334
|
-
draggable: boolean;
|
|
335
|
-
autoplay: boolean;
|
|
336
|
-
loop: boolean;
|
|
337
332
|
keyboard: boolean;
|
|
338
333
|
defaultIndex: number;
|
|
339
334
|
showArrow: boolean;
|
|
340
335
|
dotType: "dot" | "line";
|
|
341
|
-
dotPlacement: "
|
|
336
|
+
dotPlacement: "top" | "bottom" | "left" | "right";
|
|
342
337
|
slidesPerView: number | "auto";
|
|
343
338
|
spaceBetween: number;
|
|
344
339
|
centeredSlides: boolean;
|
|
340
|
+
direction: "horizontal" | "vertical";
|
|
341
|
+
autoplay: boolean;
|
|
345
342
|
interval: number;
|
|
343
|
+
loop: boolean;
|
|
344
|
+
effect: "card" | "slide" | "fade" | "custom";
|
|
346
345
|
showDots: boolean;
|
|
347
346
|
trigger: "click" | "hover";
|
|
348
347
|
transitionStyle: Partial<Pick<CSSProperties, "transitionDuration" | "transitionTimingFunction">>;
|
|
348
|
+
draggable: boolean;
|
|
349
349
|
touchable: boolean;
|
|
350
350
|
mousewheel: boolean;
|
|
351
351
|
}, SlotsType<CarouselSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -65,7 +65,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
65
65
|
}>> & Readonly<{}>, {
|
|
66
66
|
keyboard: boolean;
|
|
67
67
|
currentIndex: number;
|
|
68
|
-
dotType: "
|
|
68
|
+
dotType: "dot" | "line" | "never";
|
|
69
69
|
trigger: "click" | "hover";
|
|
70
70
|
total: number;
|
|
71
71
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|