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,4 +1,4 @@
|
|
|
1
|
+
import type { Ref } from 'vue';
|
|
1
2
|
import type { DialogApiInjection, DialogReactive } from './DialogProvider';
|
|
2
|
-
import { type Ref } from 'vue';
|
|
3
3
|
export declare function useDialog(): DialogApiInjection;
|
|
4
4
|
export declare function useDialogReactiveList(): Ref<readonly DialogReactive[]>;
|
|
@@ -39,4 +39,4 @@ declare const dialogProps: {
|
|
|
39
39
|
};
|
|
40
40
|
export type DialogProps = ExtractPublicPropTypes<typeof dialogProps>;
|
|
41
41
|
export { dialogProps };
|
|
42
|
-
export declare const dialogPropKeys: ("type" | "
|
|
42
|
+
export declare const dialogPropKeys: ("type" | "title" | "showIcon" | "bordered" | "closable" | "onClose" | "icon" | "content" | "loading" | "iconPlacement" | "contentClass" | "contentStyle" | "action" | "closeFocusable" | "negativeText" | "positiveText" | "positiveButtonProps" | "negativeButtonProps" | "titleClass" | "titleStyle" | "actionClass" | "actionStyle" | "onPositiveClick" | "onNegativeClick")[];
|
|
@@ -41,23 +41,23 @@ export default c([cB('dialog', `
|
|
|
41
41
|
border-color .3s var(--n-bezier),
|
|
42
42
|
background-color .3s var(--n-bezier),
|
|
43
43
|
color .3s var(--n-bezier);
|
|
44
|
-
`, [cE('icon',
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
44
|
+
`, [cE('icon', `
|
|
45
|
+
color: var(--n-icon-color);
|
|
46
|
+
`), cM('bordered', `
|
|
47
|
+
border: var(--n-border);
|
|
48
|
+
`), cM('icon-top', [cE('close', `
|
|
49
|
+
margin: var(--n-close-margin);
|
|
50
|
+
`), cE('icon', `
|
|
51
|
+
margin: var(--n-icon-margin);
|
|
52
|
+
`), cE('content', `
|
|
53
|
+
text-align: center;
|
|
54
|
+
`), cE('title', `
|
|
55
|
+
justify-content: center;
|
|
56
|
+
`), cE('action', `
|
|
57
|
+
justify-content: center;
|
|
58
|
+
`)]), cM('icon-left', [cE('icon', `
|
|
59
|
+
margin: var(--n-icon-margin);
|
|
60
|
+
`), cM('closable', [cE('title', `
|
|
61
61
|
padding-right: calc(var(--n-close-size) + 6px);
|
|
62
62
|
`)])]), cE('close', `
|
|
63
63
|
position: absolute;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
2
|
export declare const NInjectionExtractor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
onSetup: PropType<() => void>;
|
|
4
4
|
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { App, Component } from 'vue';
|
|
2
|
+
import type { ConfigProviderProps } from '../../config-provider';
|
|
3
|
+
import type { DialogApi } from '../../dialog';
|
|
4
|
+
import type { LoadingBarApi } from '../../loading-bar';
|
|
5
|
+
import type { MessageApi } from '../../message';
|
|
6
|
+
import type { ModalApi } from '../../modal';
|
|
7
|
+
import type { NotificationApi } from '../../notification';
|
|
1
8
|
import type { DiscreteApiType, MaybeRef } from './interface';
|
|
2
|
-
import { type App, type Component } from 'vue';
|
|
3
|
-
import { type ConfigProviderProps } from '../../config-provider';
|
|
4
|
-
import { type DialogApi } from '../../dialog';
|
|
5
|
-
import { type LoadingBarApi } from '../../loading-bar';
|
|
6
|
-
import { type MessageApi } from '../../message';
|
|
7
|
-
import { type ModalApi } from '../../modal';
|
|
8
|
-
import { type NotificationApi } from '../../notification';
|
|
9
9
|
export type Provider<P = any> = new (...args: any[]) => {
|
|
10
10
|
$props: P;
|
|
11
11
|
};
|
|
@@ -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 dividerProps: {
|
|
4
4
|
readonly titlePlacement: {
|
|
5
5
|
readonly type: PropType<"left" | "center" | "right">;
|
|
@@ -79,8 +79,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
79
79
|
fontWeight: string;
|
|
80
80
|
}, any>>>;
|
|
81
81
|
}>> & Readonly<{}>, {
|
|
82
|
-
readonly dashed: boolean;
|
|
83
82
|
readonly vertical: boolean;
|
|
83
|
+
readonly dashed: boolean;
|
|
84
84
|
readonly titlePlacement: "left" | "right" | "center";
|
|
85
85
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
86
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties, PropType } from 'vue';
|
|
1
2
|
import type { ScrollbarProps } from '../../_internal';
|
|
2
3
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
4
|
import type { Placement } from './DrawerBodyWrapper';
|
|
4
|
-
import { type CSSProperties, type PropType } from 'vue';
|
|
5
5
|
export declare const drawerProps: {
|
|
6
6
|
readonly show: BooleanConstructor;
|
|
7
7
|
readonly width: PropType<string | number>;
|
|
@@ -645,13 +645,13 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
645
645
|
}, any>;
|
|
646
646
|
}>>>;
|
|
647
647
|
}>> & Readonly<{}>, {
|
|
648
|
-
readonly show: boolean;
|
|
649
|
-
readonly autoFocus: boolean;
|
|
650
648
|
readonly placement: Placement;
|
|
649
|
+
readonly show: boolean;
|
|
651
650
|
readonly displayDirective: "show" | "if";
|
|
652
651
|
readonly resizable: boolean;
|
|
653
652
|
readonly blockScroll: boolean;
|
|
654
653
|
readonly closeOnEsc: boolean;
|
|
654
|
+
readonly autoFocus: boolean;
|
|
655
655
|
readonly maskClosable: boolean;
|
|
656
656
|
readonly showMask: boolean | "transparent";
|
|
657
657
|
readonly nativeScrollbar: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CSSProperties, DirectiveArguments, PropType } from 'vue';
|
|
1
2
|
import type { ScrollbarProps } from '../../_internal';
|
|
2
|
-
import { type CSSProperties, type DirectiveArguments, type PropType } from 'vue';
|
|
3
3
|
export type Placement = 'left' | 'right' | 'top' | 'bottom';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
blockScroll: BooleanConstructor;
|
|
@@ -196,9 +196,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
196
196
|
onEsc: PropType<(e: KeyboardEvent) => void>;
|
|
197
197
|
}>> & Readonly<{}>, {
|
|
198
198
|
show: boolean | undefined;
|
|
199
|
-
autoFocus: boolean;
|
|
200
199
|
resizable: boolean;
|
|
201
200
|
blockScroll: boolean;
|
|
201
|
+
autoFocus: boolean;
|
|
202
202
|
trapFocus: boolean;
|
|
203
203
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
204
204
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ScrollbarProps } from '../../_internal';
|
|
2
3
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode } from 'vue';
|
|
4
4
|
export declare const drawerContentProps: {
|
|
5
5
|
title: StringConstructor;
|
|
6
6
|
headerClass: StringConstructor;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import type { Key, TreeNode } from 'treemate';
|
|
2
|
+
import type { PropType, Ref } from 'vue';
|
|
1
3
|
import type { FollowerPlacement } from 'vueuc';
|
|
4
|
+
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
5
|
import type { DropdownMenuProps, DropdownMixedOption, NodeProps, OnUpdateValue, OnUpdateValueImpl, RenderIcon, RenderIconImpl, RenderLabel, RenderLabelImpl, RenderOption, RenderOptionImpl } from './interface';
|
|
3
|
-
import { type Key, type TreeNode } from 'treemate';
|
|
4
|
-
import { type PropType, type Ref } from 'vue';
|
|
5
|
-
import { type ExtractPublicPropTypes, type MaybeArray } from '../../_utils';
|
|
6
6
|
export interface DropdownInjection {
|
|
7
7
|
renderLabelRef: Ref<RenderLabelImpl | undefined>;
|
|
8
8
|
renderIconRef: Ref<RenderIconImpl | undefined>;
|
|
@@ -1245,24 +1245,24 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1245
1245
|
readonly minWidth: NumberConstructor;
|
|
1246
1246
|
readonly maxWidth: NumberConstructor;
|
|
1247
1247
|
}>> & Readonly<{}>, {
|
|
1248
|
-
readonly options: DropdownMixedOption[];
|
|
1249
|
-
readonly size: "small" | "medium" | "large" | "huge";
|
|
1250
|
-
readonly to: string | boolean | HTMLElement;
|
|
1251
1248
|
readonly disabled: boolean;
|
|
1252
|
-
readonly
|
|
1253
|
-
readonly flip: boolean;
|
|
1254
|
-
readonly width: number | "trigger";
|
|
1255
|
-
readonly duration: number;
|
|
1249
|
+
readonly size: "small" | "medium" | "large" | "huge";
|
|
1256
1250
|
readonly raw: boolean;
|
|
1251
|
+
readonly to: string | boolean | HTMLElement;
|
|
1257
1252
|
readonly placement: FollowerPlacement;
|
|
1253
|
+
readonly options: DropdownMixedOption[];
|
|
1254
|
+
readonly width: number | "trigger";
|
|
1255
|
+
readonly show: boolean | undefined;
|
|
1258
1256
|
readonly keyboard: boolean;
|
|
1259
1257
|
readonly showArrow: boolean;
|
|
1260
1258
|
readonly trigger: import("../..").PopoverTrigger;
|
|
1261
1259
|
readonly arrow: boolean | undefined;
|
|
1262
1260
|
readonly defaultShow: boolean;
|
|
1263
1261
|
readonly delay: number;
|
|
1262
|
+
readonly duration: number;
|
|
1264
1263
|
readonly arrowPointToCenter: boolean;
|
|
1265
1264
|
readonly displayDirective: "show" | "if";
|
|
1265
|
+
readonly flip: boolean;
|
|
1266
1266
|
readonly animated: boolean;
|
|
1267
1267
|
readonly overlap: boolean;
|
|
1268
1268
|
readonly keepAliveOnHover: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
2
3
|
import type { DropdownGroupOption, DropdownIgnoredOption, DropdownOption } from './interface';
|
|
3
|
-
import { type PropType } from 'vue';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
clsPrefix: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { CSSProperties, PropType, Ref } from 'vue';
|
|
2
3
|
import type { DropdownGroupOption, DropdownIgnoredOption, DropdownOption } from './interface';
|
|
3
|
-
import { type CSSProperties, type PropType, type Ref } from 'vue';
|
|
4
4
|
export interface NDropdownMenuInjection {
|
|
5
5
|
showIconRef: Ref<boolean>;
|
|
6
6
|
hasSubmenuRef: Ref<boolean>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { HTMLAttributes, PropType, Ref } from 'vue';
|
|
3
|
+
import type { FollowerPlacement } from 'vueuc';
|
|
2
4
|
import type { MenuGroupOption } from '../../menu/src/interface';
|
|
3
5
|
import type { DropdownGroupOption, DropdownIgnoredOption, DropdownOption } from './interface';
|
|
4
|
-
import { type HTMLAttributes, type PropType, type Ref } from 'vue';
|
|
5
|
-
import { type FollowerPlacement } from 'vueuc';
|
|
6
6
|
export interface NDropdownOptionInjection {
|
|
7
7
|
enteringSubmenuRef: Ref<boolean>;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { TreeNode } from 'treemate';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
2
3
|
import type { DropdownRenderOption } from './interface';
|
|
3
|
-
import { type PropType } from 'vue';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
tmNode: {
|
|
6
6
|
type: PropType<TreeNode<DropdownRenderOption>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { ButtonProps } from '../../button';
|
|
3
4
|
import type { DynamicInputActionSlotProps, DynamicInputDefaultSlotProps, OnUpdateValue } from './interface';
|
|
4
|
-
import { type CSSProperties, type PropType, type VNode } from 'vue';
|
|
5
5
|
export declare const dynamicInputProps: {
|
|
6
6
|
readonly max: NumberConstructor;
|
|
7
7
|
readonly min: {
|
|
@@ -3021,10 +3021,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3021
3021
|
}, any>;
|
|
3022
3022
|
}>>>;
|
|
3023
3023
|
}>> & Readonly<{}>, {
|
|
3024
|
-
readonly placeholder: string;
|
|
3025
3024
|
readonly disabled: boolean;
|
|
3026
|
-
readonly min: number;
|
|
3027
3025
|
readonly defaultValue: any[];
|
|
3026
|
+
readonly placeholder: string;
|
|
3027
|
+
readonly min: number;
|
|
3028
3028
|
readonly preset: "input" | "pair";
|
|
3029
3029
|
readonly keyPlaceholder: string;
|
|
3030
3030
|
readonly valuePlaceholder: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
2
3
|
import type { InputProps } from '../../input';
|
|
3
4
|
import type { DynamicTagsInputSlotProps, DynamicTagsOption, DynamicTagsTriggerSlotProps, OnCreate, OnUpdateValue } from './interface';
|
|
4
|
-
import { type CSSProperties, type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
5
5
|
export declare const dynamicTagsProps: {
|
|
6
6
|
size: {
|
|
7
7
|
type: PropType<"small" | "medium" | "large">;
|
|
@@ -2381,7 +2381,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2381
2381
|
scrollTo: (options: ScrollToOptions) => void;
|
|
2382
2382
|
} | null>;
|
|
2383
2383
|
localizedAdd: import("vue").ComputedRef<string>;
|
|
2384
|
-
inputSize: import("vue").ComputedRef<"
|
|
2384
|
+
inputSize: import("vue").ComputedRef<"tiny" | "small" | "medium">;
|
|
2385
2385
|
inputValue: import("vue").Ref<string, string>;
|
|
2386
2386
|
showInput: import("vue").Ref<boolean, boolean>;
|
|
2387
2387
|
inputForceFocused: import("vue").Ref<boolean, boolean>;
|
|
@@ -3981,12 +3981,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
3981
3981
|
}, any>;
|
|
3982
3982
|
}>>>;
|
|
3983
3983
|
}>> & Readonly<{}>, {
|
|
3984
|
-
type: "error" | "default" | "info" | "warning" | "success" | "primary";
|
|
3985
|
-
size: "small" | "medium" | "large";
|
|
3986
3984
|
disabled: boolean | undefined;
|
|
3987
|
-
|
|
3985
|
+
type: "default" | "info" | "warning" | "error" | "success" | "primary";
|
|
3986
|
+
size: "small" | "medium" | "large";
|
|
3988
3987
|
closable: boolean;
|
|
3989
3988
|
defaultValue: (string | DynamicTagsOption)[];
|
|
3989
|
+
round: boolean;
|
|
3990
3990
|
onCreate: OnCreate;
|
|
3991
3991
|
}, SlotsType<DynamicTagsSlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3992
3992
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { PropType, SlotsType, VNode } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { PopoverProps } from '../../popover/src/Popover';
|
|
3
|
-
import { type PropType, type SlotsType, type VNode } from 'vue';
|
|
4
4
|
export declare function createLineClampClass(clsPrefix: string): string;
|
|
5
5
|
export declare function createCursorClass(clsPrefix: string, cursor: string): string;
|
|
6
6
|
export declare const ellipsisProps: {
|
package/es/empty/src/Empty.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { PropType, SlotsType, VNode, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
|
-
import { type PropType, type SlotsType, type VNode, type VNodeChild } from 'vue';
|
|
3
3
|
export declare const emptyProps: {
|
|
4
4
|
description: StringConstructor;
|
|
5
5
|
showDescription: {
|
|
@@ -202,7 +202,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
202
202
|
iconSizeHuge: string;
|
|
203
203
|
}, any>>>;
|
|
204
204
|
}>> & Readonly<{}>, {
|
|
205
|
-
size: "
|
|
205
|
+
size: "tiny" | "small" | "medium" | "large" | "huge";
|
|
206
206
|
showIcon: boolean;
|
|
207
207
|
showDescription: boolean;
|
|
208
208
|
}, SlotsType<EmptySlots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { KatexOptions } from 'katex';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
2
3
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
4
|
import type { Katex } from '../../config-provider/src/katex';
|
|
4
|
-
import { type PropType } from 'vue';
|
|
5
5
|
export declare const equationProps: {
|
|
6
6
|
readonly value: StringConstructor;
|
|
7
7
|
readonly katex: PropType<Katex>;
|
package/es/flex/src/Flex.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { FlexAlign, FlexJustify } from './type';
|
|
3
|
-
import { type PropType } from 'vue';
|
|
4
4
|
export declare const flexProps: {
|
|
5
5
|
readonly align: PropType<FlexAlign>;
|
|
6
6
|
readonly justify: {
|
|
@@ -107,11 +107,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
107
107
|
gapLarge: string;
|
|
108
108
|
}, any>>>;
|
|
109
109
|
}>> & Readonly<{}>, {
|
|
110
|
-
readonly inline: boolean;
|
|
111
|
-
readonly size: number | [number, number] | "small" | "medium" | "large";
|
|
112
110
|
readonly reverse: boolean;
|
|
113
|
-
readonly
|
|
111
|
+
readonly size: number | "small" | "medium" | "large" | [number, number];
|
|
114
112
|
readonly vertical: boolean;
|
|
113
|
+
readonly inline: boolean;
|
|
115
114
|
readonly justify: import("csstype").Property.JustifyContent;
|
|
115
|
+
readonly wrap: boolean;
|
|
116
116
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
117
117
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { CSSProperties, PropType, SlotsType, VNode } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes, MaybeArray } from '../../_utils';
|
|
3
3
|
export declare const floatButtonProps: {
|
|
4
4
|
readonly width: {
|
|
5
5
|
readonly type: PropType<string | number>;
|
|
@@ -262,8 +262,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
262
262
|
}>> & Readonly<{}>, {
|
|
263
263
|
readonly type: "default" | "primary";
|
|
264
264
|
readonly position: "fixed" | "absolute" | "relative";
|
|
265
|
-
readonly height: string | number;
|
|
266
265
|
readonly width: string | number;
|
|
266
|
+
readonly height: string | number;
|
|
267
267
|
readonly shape: "circle" | "square";
|
|
268
268
|
readonly showMenu: boolean;
|
|
269
269
|
readonly onUpdateShowMenu: MaybeArray<(value: boolean) => void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PropType, Ref } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
3
3
|
export interface ButtonGroupInjection {
|
|
4
4
|
shapeRef: Ref<'circle' | 'square'>;
|
|
5
5
|
}
|
package/es/form/src/Form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
1
3
|
import type { FormInst, FormRules, FormValidateMessages, LabelAlign, LabelPlacement, Size } from './interface';
|
|
2
|
-
import { type ExtractPropTypes, type PropType } from 'vue';
|
|
3
|
-
import { type ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const formProps: {
|
|
5
5
|
readonly inline: BooleanConstructor;
|
|
6
6
|
readonly labelWidth: PropType<number | string>;
|
|
@@ -394,9 +394,9 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
394
394
|
labelFontWeight: string;
|
|
395
395
|
}, any>>>;
|
|
396
396
|
}>> & Readonly<{}>, {
|
|
397
|
-
readonly inline: boolean;
|
|
398
397
|
readonly disabled: boolean;
|
|
399
398
|
readonly onSubmit: (e: Event) => void;
|
|
399
|
+
readonly inline: boolean;
|
|
400
400
|
readonly labelPlacement: LabelPlacement;
|
|
401
401
|
readonly model: Record<string, any>;
|
|
402
402
|
readonly showRequireMark: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CSSProperties, ExtractPropTypes, LabelHTMLAttributes, PropType, VNodeChild } from 'vue';
|
|
1
2
|
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
2
3
|
import type { FormItemInternalValidate, FormItemRule, LabelAlign, LabelPlacement } from './interface';
|
|
3
|
-
import { type CSSProperties, type ExtractPropTypes, type LabelHTMLAttributes, type PropType, type VNodeChild } from 'vue';
|
|
4
4
|
export declare const formItemProps: {
|
|
5
5
|
readonly label: StringConstructor;
|
|
6
6
|
readonly labelWidth: PropType<string | number>;
|
|
@@ -133,7 +133,7 @@ export declare const formItemProps: {
|
|
|
133
133
|
};
|
|
134
134
|
export type FormItemSetupProps = ExtractPropTypes<typeof formItemProps>;
|
|
135
135
|
export type FormItemProps = ExtractPublicPropTypes<typeof formItemProps>;
|
|
136
|
-
export declare const formItemPropKeys: ("label" | "size" | "
|
|
136
|
+
export declare const formItemPropKeys: ("label" | "size" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "contentClass" | "contentStyle" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps")[];
|
|
137
137
|
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
138
138
|
readonly label: StringConstructor;
|
|
139
139
|
readonly labelWidth: PropType<string | number>;
|
|
@@ -296,7 +296,7 @@ declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
|
296
296
|
mergedLabelAlign: import("vue").ComputedRef<LabelAlign | undefined>;
|
|
297
297
|
mergedShowRequireMark: import("vue").ComputedRef<boolean | undefined>;
|
|
298
298
|
mergedRequireMarkPlacement: import("vue").ComputedRef<"left" | "right" | "right-hanging">;
|
|
299
|
-
mergedValidationStatus: import("vue").ComputedRef<"
|
|
299
|
+
mergedValidationStatus: import("vue").ComputedRef<"warning" | "error" | "success" | undefined>;
|
|
300
300
|
mergedShowFeedback: import("vue").ComputedRef<boolean>;
|
|
301
301
|
mergedShowLabel: import("vue").ComputedRef<boolean>;
|
|
302
302
|
isAutoLabelWidth: import("vue").ComputedRef<boolean>;
|
package/es/form/src/FormItem.mjs
CHANGED
|
@@ -26,7 +26,7 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
|
|
|
26
26
|
});
|
|
27
27
|
};
|
|
28
28
|
import Schema from 'async-validator';
|
|
29
|
-
import { get } from 'lodash';
|
|
29
|
+
import { get } from 'lodash-es';
|
|
30
30
|
import { createId } from 'seemly';
|
|
31
31
|
import { computed, defineComponent, h, inject, onMounted, provide, ref, toRef, Transition, watch } from 'vue';
|
|
32
32
|
import { useConfig, useTheme, useThemeClass } from "../../_mixins/index.mjs";
|
|
@@ -146,7 +146,7 @@ export declare const formItemColProps: {
|
|
|
146
146
|
readonly default: 0;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
export declare const formItemColPropKeys: ("label" | "
|
|
149
|
+
export declare const formItemColPropKeys: ("label" | "push" | "size" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "offset" | "span" | "contentClass" | "contentStyle" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps" | "pull")[];
|
|
150
150
|
export type FormItemColProps = ExtractPublicPropTypes<typeof formItemColProps>;
|
|
151
151
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
152
152
|
readonly label: StringConstructor;
|
|
@@ -454,9 +454,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
454
454
|
};
|
|
455
455
|
}>> & Readonly<{}>, {
|
|
456
456
|
readonly push: import("../../legacy-grid/src/interface").Span;
|
|
457
|
+
readonly offset: import("../../legacy-grid/src/interface").Span;
|
|
457
458
|
readonly span: import("../../legacy-grid/src/interface").Span;
|
|
458
459
|
readonly first: boolean;
|
|
459
|
-
readonly offset: import("../../legacy-grid/src/interface").Span;
|
|
460
460
|
readonly required: boolean;
|
|
461
461
|
readonly showRequireMark: boolean | undefined;
|
|
462
462
|
readonly showFeedback: boolean | undefined;
|
|
@@ -146,7 +146,7 @@ export declare const formItemGiProps: {
|
|
|
146
146
|
readonly default: true;
|
|
147
147
|
};
|
|
148
148
|
};
|
|
149
|
-
export declare const formItemGiPropKeys: ("label" | "size" | "
|
|
149
|
+
export declare const formItemGiPropKeys: ("label" | "size" | "theme" | "themeOverrides" | "builtinThemeOverrides" | "offset" | "span" | "contentClass" | "contentStyle" | "suffix" | "first" | "labelPlacement" | "labelAlign" | "labelStyle" | "required" | "labelWidth" | "showRequireMark" | "requireMarkPlacement" | "showFeedback" | "showLabel" | "path" | "rulePath" | "rule" | "ignorePathChange" | "validationStatus" | "feedback" | "feedbackClass" | "feedbackStyle" | "labelProps" | "privateOffset" | "privateSpan" | "privateColStart" | "privateShow")[];
|
|
150
150
|
export type FormItemGiProps = ExtractPublicPropTypes<typeof formItemGiProps>;
|
|
151
151
|
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
152
152
|
readonly label: StringConstructor;
|
|
@@ -453,11 +453,11 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
453
453
|
readonly default: true;
|
|
454
454
|
};
|
|
455
455
|
}>> & Readonly<{}>, {
|
|
456
|
+
readonly offset: string | number;
|
|
456
457
|
readonly span: string | number;
|
|
458
|
+
readonly suffix: boolean;
|
|
457
459
|
readonly first: boolean;
|
|
458
|
-
readonly offset: string | number;
|
|
459
460
|
readonly required: boolean;
|
|
460
|
-
readonly suffix: boolean;
|
|
461
461
|
readonly showRequireMark: boolean | undefined;
|
|
462
462
|
readonly showFeedback: boolean | undefined;
|
|
463
463
|
readonly showLabel: boolean | undefined;
|
|
@@ -470,9 +470,9 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
470
470
|
justifyContent: StringConstructor;
|
|
471
471
|
}>> & Readonly<{}>, {
|
|
472
472
|
push: import("../../legacy-grid/src/interface").Span;
|
|
473
|
+
offset: import("../../legacy-grid/src/interface").Span;
|
|
473
474
|
span: import("../../legacy-grid/src/interface").Span;
|
|
474
475
|
first: boolean;
|
|
475
|
-
offset: import("../../legacy-grid/src/interface").Span;
|
|
476
476
|
required: boolean;
|
|
477
477
|
showRequireMark: boolean | undefined;
|
|
478
478
|
showFeedback: boolean | undefined;
|
package/es/form/src/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ComputedRef } from 'vue';
|
|
1
2
|
import type { FormItemSetupProps } from './FormItem';
|
|
2
3
|
import type { FormItemRule, Size } from './interface';
|
|
3
|
-
import { type ComputedRef } from 'vue';
|
|
4
4
|
export declare function formItemSize(props: FormItemSetupProps): {
|
|
5
5
|
mergedSize: ComputedRef<Size>;
|
|
6
6
|
};
|
|
@@ -12,7 +12,7 @@ export declare function formItemMisc(props: FormItemSetupProps): {
|
|
|
12
12
|
mergedLabelAlign: ComputedRef<import("./interface").LabelAlign | undefined>;
|
|
13
13
|
mergedShowRequireMark: ComputedRef<boolean | undefined>;
|
|
14
14
|
mergedRequireMarkPlacement: ComputedRef<"left" | "right" | "right-hanging">;
|
|
15
|
-
mergedValidationStatus: ComputedRef<"
|
|
15
|
+
mergedValidationStatus: ComputedRef<"warning" | "error" | "success" | undefined>;
|
|
16
16
|
mergedShowFeedback: ComputedRef<boolean>;
|
|
17
17
|
mergedShowLabel: ComputedRef<boolean>;
|
|
18
18
|
isAutoLabelWidth: ComputedRef<boolean>;
|
package/es/form/src/utils.mjs
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
|
type Gradient = string | {
|
|
4
4
|
deg?: string | number;
|
|
5
5
|
from: string;
|
|
@@ -111,7 +111,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
111
111
|
}, any>>>;
|
|
112
112
|
}>, {
|
|
113
113
|
mergedClsPrefix: import("vue").Ref<string, string>;
|
|
114
|
-
compatibleType: import("vue").ComputedRef<"
|
|
114
|
+
compatibleType: import("vue").ComputedRef<"info" | "warning" | "error" | "success" | "primary">;
|
|
115
115
|
styleFontSize: import("vue").ComputedRef<string | number | undefined>;
|
|
116
116
|
styleBgImage: import("vue").ComputedRef<string | undefined>;
|
|
117
117
|
cssVars: import("vue").ComputedRef<{
|
|
@@ -175,6 +175,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
175
175
|
colorEndSuccess: string;
|
|
176
176
|
}, any>>>;
|
|
177
177
|
}>> & Readonly<{}>, {
|
|
178
|
-
readonly type: "
|
|
178
|
+
readonly type: "info" | "warning" | "error" | "success" | "primary" | "danger";
|
|
179
179
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
180
180
|
export default _default;
|
package/es/grid/src/Grid.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import type { CSSProperties, PropType, Ref } from 'vue';
|
|
2
|
+
import type { VResizeObserverOnResize } from 'vueuc';
|
|
3
|
+
import type { ExtractPublicPropTypes } from '../../_utils';
|
|
4
4
|
export declare const gridProps: {
|
|
5
5
|
readonly layoutShiftDisabled: BooleanConstructor;
|
|
6
6
|
readonly responsive: {
|
|
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
66
66
|
mergedClsPrefix: Ref<string, string>;
|
|
67
67
|
style: import("vue").ComputedRef<CSSProperties>;
|
|
68
68
|
isResponsive: import("vue").ComputedRef<boolean>;
|
|
69
|
-
responsiveQuery: import("vue").ComputedRef<number | ("
|
|
69
|
+
responsiveQuery: import("vue").ComputedRef<number | ("s" | "xs" | "m" | "l" | "xl" | "xxl")[] | undefined>;
|
|
70
70
|
responsiveCols: import("vue").ComputedRef<number>;
|
|
71
71
|
handleResize: import("vue").ComputedRef<VResizeObserverOnResize | undefined>;
|
|
72
72
|
overflow: Ref<boolean, boolean>;
|
|
@@ -96,10 +96,10 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
96
96
|
readonly default: 0;
|
|
97
97
|
};
|
|
98
98
|
}>> & Readonly<{}>, {
|
|
99
|
-
readonly
|
|
100
|
-
readonly responsive: "screen" | "self";
|
|
99
|
+
readonly responsive: "self" | "screen";
|
|
101
100
|
readonly collapsed: boolean;
|
|
102
101
|
readonly layoutShiftDisabled: boolean;
|
|
102
|
+
readonly cols: string | number;
|
|
103
103
|
readonly itemResponsive: boolean;
|
|
104
104
|
readonly collapsedRows: number;
|
|
105
105
|
readonly xGap: string | number;
|