antdv-next 1.2.2 → 1.3.0
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/dist/_util/ActionButton.d.ts +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +7 -7
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +4 -9
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/wave/util.d.ts +1 -1
- package/dist/_util/wave/util.js +1 -1
- package/dist/_util/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +17 -10
- package/dist/alert/Alert.js +9 -3
- package/dist/alert/style/index.d.ts +3 -3
- package/dist/anchor/Anchor.d.ts +3 -3
- package/dist/anchor/Anchor.js +2 -2
- package/dist/anchor/AnchorLink.d.ts +9 -4
- package/dist/anchor/AnchorLink.js +5 -1
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +14614 -14290
- package/dist/antd-with-locales.js +73 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10754 -10431
- package/dist/antd.js +70 -77
- package/dist/app/App.d.ts +2 -2
- package/dist/app/App.js +6 -1
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +6 -6
- package/dist/auto-complete/index.js +1 -1
- package/dist/avatar/Avatar.d.ts +5 -5
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +3 -3
- package/dist/badge/Ribbon.d.ts +4 -4
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +6 -6
- package/dist/badge/style/index.d.ts +7 -2
- package/dist/badge/style/index.js +4 -3
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +19 -0
- package/dist/border-beam/BorderBeam.js +82 -0
- package/dist/border-beam/hooks/useBorderSize.d.ts +12 -0
- package/dist/border-beam/hooks/useBorderSize.js +42 -0
- package/dist/border-beam/index.d.ts +3 -0
- package/dist/border-beam/index.js +7 -0
- package/dist/border-beam/style/index.d.ts +7 -0
- package/dist/border-beam/style/index.js +59 -0
- package/dist/border-beam/util.d.ts +11 -0
- package/dist/border-beam/util.js +35 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbItem.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +4 -4
- package/dist/button/Button.js +1 -0
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/button/style/index.js +5 -0
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +12 -10
- package/dist/calendar/generateCalendar.js +8 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +11 -11
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +6 -6
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +5 -5
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +4 -4
- package/dist/cascader/index.js +11 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +4 -4
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +5 -5
- package/dist/collapse/CollapsePanel.d.ts +5 -5
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +4 -4
- package/dist/color-picker/interface.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +4 -1
- package/dist/components.js +3 -1
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +67 -34
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/config-provider/index.js +2 -0
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +5 -5
- package/dist/date-picker/generatePicker/SuffixIcon.js +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -4
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +9 -9
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -0
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/style/index.js +13 -3
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +5 -5
- package/dist/descriptions/Item.d.ts +5 -5
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/Row.js +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +13 -13
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +5 -5
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +7 -7
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +5 -2
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/dropdown/style/index.js +1 -1
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +8 -8
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/BackTop.js +5 -0
- package/dist/float-button/FloatButton.d.ts +8 -7
- package/dist/float-button/FloatButton.js +6 -0
- package/dist/float-button/FloatButtonGroup.d.ts +4 -4
- package/dist/float-button/FloatButtonGroup.js +5 -0
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/PurePanel.js +10 -0
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +8 -4
- package/dist/form/ErrorList.js +13 -2
- package/dist/form/Form.d.ts +9 -2
- package/dist/form/Form.js +10 -4
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +6 -6
- package/dist/form/FormItemInput.js +6 -2
- package/dist/form/FormItemLabel.d.ts +7 -7
- package/dist/form/context.d.ts +7 -7
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +12 -5
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +10 -7
- package/dist/input/Input.js +8 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/OTPInput.js +4 -0
- package/dist/input/OTP/index.d.ts +4 -4
- package/dist/input/Password.d.ts +4 -4
- package/dist/input/Password.js +4 -0
- package/dist/input/Search.d.ts +14 -4
- package/dist/input/Search.js +19 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +6 -6
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/variants.js +14 -8
- package/dist/input-number/index.d.ts +9 -9
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/MasonryItem.d.ts +4 -4
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +6 -6
- package/dist/mentions/index.js +7 -1
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +5 -5
- package/dist/menu/MenuItemGroup.d.ts +4 -4
- package/dist/menu/OverrideContext.d.ts +5 -5
- package/dist/menu/SubMenu.d.ts +4 -4
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/index.js +11 -3
- package/dist/menu/style/vertical.js +2 -1
- package/dist/message/PureList.d.ts +28 -0
- package/dist/message/PureList.js +75 -0
- package/dist/message/PurePanel.d.ts +17 -9
- package/dist/message/PurePanel.js +33 -38
- package/dist/message/index.d.ts +3 -0
- package/dist/message/index.js +3 -1
- package/dist/message/interface.d.ts +11 -5
- package/dist/message/style/index.d.ts +12 -6
- package/dist/message/style/index.js +102 -98
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/message/useMessage.js +18 -14
- package/dist/message/util.js +1 -1
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/Modal.js +7 -3
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +4 -4
- package/dist/modal/components/ConfirmOkBtn.d.ts +4 -4
- package/dist/modal/components/NormalCancelBtn.d.ts +4 -4
- package/dist/modal/components/NormalOkBtn.d.ts +4 -4
- package/dist/modal/interface.d.ts +22 -14
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +4 -4
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PureList.d.ts +32 -0
- package/dist/notification/PureList.js +72 -0
- package/dist/notification/PurePanel.d.ts +16 -13
- package/dist/notification/PurePanel.js +42 -19
- package/dist/notification/index.d.ts +3 -0
- package/dist/notification/index.js +3 -1
- package/dist/notification/interface.d.ts +8 -8
- package/dist/notification/style/index.d.ts +27 -26
- package/dist/notification/style/index.js +104 -174
- package/dist/notification/style/notification.d.ts +23 -0
- package/dist/notification/style/notification.js +195 -0
- package/dist/notification/style/placement.d.ts +1 -0
- package/dist/notification/style/placement.js +125 -60
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/notification/useNotification.js +22 -14
- package/dist/notification/util.d.ts +14 -4
- package/dist/notification/util.js +18 -52
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +12 -12
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/interface.d.ts +7 -7
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +6 -7
- package/dist/popconfirm/PurePanel.js +4 -1
- package/dist/popconfirm/index.d.ts +16 -12
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +7 -7
- package/dist/popover/index.d.ts +5 -5
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +7 -7
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +4 -4
- package/dist/result/style/index.js +1 -1
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +4 -4
- package/dist/segmented/index.js +1 -1
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +8 -8
- package/dist/select/index.js +1 -1
- package/dist/select/style/dropdown.js +1 -1
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +10 -5
- package/dist/select/useIcons.d.ts +5 -5
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +6 -6
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +16 -3
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +4 -4
- package/dist/spin/index.d.ts +7 -7
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/Panel.js +14 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/Splitter.js +8 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/interface.d.ts +21 -4
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +6 -6
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +3 -3
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +8 -8
- package/dist/steps/style/index.d.ts +3 -3
- package/dist/style/compact-item-vertical.js +2 -1
- package/dist/style/compact-item.js +6 -6
- package/dist/switch/index.d.ts +5 -5
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/InternalTable.js +6 -4
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilledColumns.d.ts +14 -0
- package/dist/table/hooks/useFilledColumns.js +41 -0
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +21 -21
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +9 -7
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +4 -4
- package/dist/tag/CheckableTagGroup.d.ts +4 -4
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +7 -5
- package/dist/tag/index.js +7 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/interface/alias.d.ts +14 -0
- package/dist/theme/interface/components.d.ts +118 -116
- package/dist/theme/interface/maps/colors.d.ts +14 -0
- package/dist/theme/interface/maps/font.d.ts +5 -5
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/themes/shared/genColorMapToken.js +2 -0
- package/dist/theme/useToken.js +1 -1
- package/dist/theme/util/alias.js +2 -0
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +6 -6
- package/dist/time-picker/index.js +4 -0
- package/dist/timeline/Timeline.d.ts +11 -11
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +5 -5
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/index.js +5 -0
- package/dist/tour/interface.d.ts +6 -4
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/panelRender.js +4 -9
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +4 -4
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +4 -4
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/Transfer.js +34 -4
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/interface.d.ts +47 -15
- package/dist/transfer/search.d.ts +4 -4
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/DirectoryTree.js +0 -4
- package/dist/tree/Tree.d.ts +10 -8
- package/dist/tree/Tree.js +0 -4
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +4 -4
- package/dist/tree-select/index.d.ts +8 -6
- package/dist/tree-select/index.js +1 -1
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +5 -5
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +31 -26
- package/dist/typography/Editable.d.ts +11 -4
- package/dist/typography/Editable.js +18 -3
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Link.js +4 -0
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Paragraph.js +4 -0
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Text.js +4 -0
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Title.js +4 -0
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/interface.d.ts +25 -17
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/upload/utils.js +1 -1
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +4 -3
- package/package.json +65 -29
- package/web-tags.json +1251 -1233
- package/web-types.json +3794 -3750
- package/dist/notification/style/pure-panel.d.ts +0 -12
- package/dist/notification/style/pure-panel.js +0 -18
- package/dist/notification/style/stack.d.ts +0 -9
- package/dist/notification/style/stack.js +0 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue961 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/typography/hooks/useMergedConfig.d.ts
|
|
4
|
-
declare function useMergedConfig<Target>(propConfig: any, templateConfig?: Target): readonly [
|
|
4
|
+
declare function useMergedConfig<Target>(propConfig: any, templateConfig?: Target): readonly [vue961.ComputedRef<boolean>, vue961.ComputedRef<Target>];
|
|
5
5
|
//#endregion
|
|
6
6
|
export { useMergedConfig as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TooltipProps } from "../../tooltip/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue948 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/typography/hooks/useTooltipProps.d.ts
|
|
5
|
-
declare function useTooltipProps(tooltip: any, editConfigText: any, children: any):
|
|
5
|
+
declare function useTooltipProps(tooltip: any, editConfigText: any, children: any): vue948.ComputedRef<TooltipProps | undefined>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { useTooltipProps as default };
|
|
@@ -4,13 +4,13 @@ import Link, { LinkProps } from "./Link.js";
|
|
|
4
4
|
import Title, { TitleProps } from "./Title.js";
|
|
5
5
|
import Paragraph, { ParagraphProps } from "./Paragraph.js";
|
|
6
6
|
import Typography$1 from "./Typography.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue285 from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/typography/index.d.ts
|
|
10
|
-
declare const TypographyText:
|
|
11
|
-
declare const TypographyLink:
|
|
12
|
-
declare const TypographyTitle:
|
|
13
|
-
declare const TypographyParagraph:
|
|
10
|
+
declare const TypographyText: vue285.DefineSetupFnComponent<TextProps, TypographyBaseEmits, vue285.SlotsType<TypographySlots>, TextProps, vue285.PublicProps>;
|
|
11
|
+
declare const TypographyLink: vue285.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, vue285.SlotsType<TypographySlots>, LinkProps, vue285.PublicProps>;
|
|
12
|
+
declare const TypographyTitle: vue285.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, vue285.SlotsType<TypographySlots>, TitleProps, vue285.PublicProps>;
|
|
13
|
+
declare const TypographyParagraph: vue285.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, vue285.SlotsType<TypographySlots>, ParagraphProps, vue285.PublicProps>;
|
|
14
14
|
declare const Typography: typeof Typography$1 & {
|
|
15
15
|
Text: typeof Text$1;
|
|
16
16
|
Link: typeof Link;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { TooltipProps } from "../tooltip/index.js";
|
|
@@ -11,16 +11,16 @@ type BaseType = 'secondary' | 'success' | 'warning' | 'danger';
|
|
|
11
11
|
interface CopyConfig {
|
|
12
12
|
text?: string | (() => string | Promise<string>);
|
|
13
13
|
onCopy?: (event?: MouseEvent) => void;
|
|
14
|
-
icon?: VueNode | VueNode[];
|
|
15
|
-
tooltips?: VueNode | VueNode[] | false;
|
|
14
|
+
icon?: VueNode$1 | VueNode$1[];
|
|
15
|
+
tooltips?: VueNode$1 | VueNode$1[] | false;
|
|
16
16
|
format?: 'text/plain' | 'text/html';
|
|
17
17
|
tabIndex?: number;
|
|
18
18
|
}
|
|
19
19
|
interface EditConfig {
|
|
20
20
|
text?: string;
|
|
21
21
|
editing?: boolean;
|
|
22
|
-
icon?: VueNode;
|
|
23
|
-
tooltip?: VueNode;
|
|
22
|
+
icon?: VueNode$1;
|
|
23
|
+
tooltip?: VueNode$1;
|
|
24
24
|
onStart?: () => void;
|
|
25
25
|
onChange?: (value: string) => void;
|
|
26
26
|
onCancel?: () => void;
|
|
@@ -28,35 +28,39 @@ interface EditConfig {
|
|
|
28
28
|
maxLength?: number;
|
|
29
29
|
autoSize?: boolean | TextAreaProps['autoSize'];
|
|
30
30
|
triggerType?: ('icon' | 'text')[];
|
|
31
|
-
enterIcon?: VueNode;
|
|
31
|
+
enterIcon?: VueNode$1;
|
|
32
32
|
tabIndex?: number;
|
|
33
33
|
}
|
|
34
34
|
interface EllipsisConfig {
|
|
35
35
|
rows?: number;
|
|
36
36
|
expandable?: boolean | 'collapsible';
|
|
37
37
|
suffix?: string;
|
|
38
|
-
symbol?: VueNode | ((expanded: boolean) => VueNode);
|
|
38
|
+
symbol?: VueNode$1 | ((expanded: boolean) => VueNode$1);
|
|
39
39
|
defaultExpanded?: boolean;
|
|
40
40
|
expanded?: boolean;
|
|
41
41
|
onExpand?: (e: MouseEvent, info: {
|
|
42
42
|
expanded: boolean;
|
|
43
43
|
}) => void;
|
|
44
44
|
onEllipsis?: (ellipsis: boolean) => void;
|
|
45
|
-
tooltip?: VueNode | TooltipProps;
|
|
45
|
+
tooltip?: VueNode$1 | TooltipProps;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @since 1.3.0 (mirrors ant-design 6.4 ActionsConfig)
|
|
49
|
+
*/
|
|
50
|
+
interface ActionsConfig {
|
|
51
|
+
placement?: 'start' | 'end';
|
|
46
52
|
}
|
|
47
53
|
interface TypographySemanticClassNames {
|
|
48
54
|
root?: string;
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
content?: string;
|
|
55
|
+
actions?: string;
|
|
56
|
+
action?: string;
|
|
57
|
+
textarea?: string;
|
|
53
58
|
}
|
|
54
59
|
interface TypographySemanticStyles {
|
|
55
60
|
root?: CSSProperties;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
content?: CSSProperties;
|
|
61
|
+
actions?: CSSProperties;
|
|
62
|
+
action?: CSSProperties;
|
|
63
|
+
textarea?: CSSProperties;
|
|
60
64
|
}
|
|
61
65
|
type TypographyClassNamesType = SemanticClassNamesType<BlockProps, TypographySemanticClassNames>;
|
|
62
66
|
type TypographyStylesType = SemanticStylesType<BlockProps, TypographySemanticStyles>;
|
|
@@ -67,6 +71,10 @@ interface BlockProps extends ComponentBaseProps {
|
|
|
67
71
|
type?: BaseType;
|
|
68
72
|
disabled?: boolean;
|
|
69
73
|
ellipsis?: boolean | EllipsisConfig;
|
|
74
|
+
/**
|
|
75
|
+
* @since 1.3.0
|
|
76
|
+
*/
|
|
77
|
+
actions?: ActionsConfig;
|
|
70
78
|
code?: boolean;
|
|
71
79
|
mark?: boolean;
|
|
72
80
|
underline?: boolean;
|
|
@@ -103,4 +111,4 @@ interface TypographyBaseProps extends ComponentBaseProps {
|
|
|
103
111
|
title?: string;
|
|
104
112
|
}
|
|
105
113
|
//#endregion
|
|
106
|
-
export { BaseType, BlockProps, CopyConfig, EditConfig, EllipsisConfig, TypographyBaseEmits, TypographyBaseProps, TypographyClassNamesType, TypographySemanticClassNames, TypographySemanticStyles, TypographySlots, TypographyStylesType };
|
|
114
|
+
export { ActionsConfig, BaseType, BlockProps, CopyConfig, EditConfig, EllipsisConfig, TypographyBaseEmits, TypographyBaseProps, TypographyClassNamesType, TypographySemanticClassNames, TypographySemanticStyles, TypographySlots, TypographyStylesType };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue944 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/style/index.d.ts
|
|
6
6
|
/** Component only token. Which will handle additional calculation of alias token */
|
|
@@ -18,6 +18,6 @@ interface ComponentToken {
|
|
|
18
18
|
}
|
|
19
19
|
type TypographyToken = FullToken<'Typography'>;
|
|
20
20
|
declare const prepareComponentToken: GetDefaultToken<'Typography'>;
|
|
21
|
-
declare const _default: (prefixCls:
|
|
21
|
+
declare const _default: (prefixCls: vue944.Ref<string>, rootCls?: vue944.Ref<string | undefined>) => readonly [vue944.Ref<string, string>, vue944.ComputedRef<string | undefined>];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ComponentToken, TypographyToken, _default as default, prepareComponentToken };
|
package/dist/upload/Dragger.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { UploadProps, UploadSlots } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue283 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/upload/Dragger.d.ts
|
|
7
7
|
type DraggerProps<T = any> = UploadProps<T> & {
|
|
8
8
|
height?: number;
|
|
9
9
|
};
|
|
10
|
-
declare const Dragger:
|
|
10
|
+
declare const Dragger: vue283.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
11
11
|
height?: number;
|
|
12
|
-
},
|
|
12
|
+
}, vue283.PublicProps>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { DraggerProps, Dragger as default };
|
package/dist/upload/Upload.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UploadEmits, UploadFile, UploadProps as UploadProps$1, UploadSlots, VcFile as VcFile$1 } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue312 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { UploadProps } from "@v-c/upload";
|
|
5
5
|
|
|
@@ -26,6 +26,6 @@ interface UploadEmitsProps {
|
|
|
26
26
|
onDrop?: UploadEmits['drop'];
|
|
27
27
|
'onUpdate:fileList'?: UploadEmits['update:fileList'];
|
|
28
28
|
}
|
|
29
|
-
declare const InternalUpload:
|
|
29
|
+
declare const InternalUpload: vue312.DefineSetupFnComponent<InternalUploadProps, UploadEmits<any>, SlotsType<UploadSlots<any>>, InternalUploadProps, vue312.PublicProps>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { InternalUploadProps, LIST_IGNORE, UploadEmitsProps, UploadRef, InternalUpload as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../../_util/type.js";
|
|
2
2
|
import { ItemRender, UploadFile, UploadListProgressProps, UploadListType, UploadLocale, UploadSemanticClassNames, UploadSemanticStyles } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue953 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/upload/UploadList/ListItem.d.ts
|
|
@@ -28,6 +28,6 @@ interface ListItemProps {
|
|
|
28
28
|
onDownload: (file: UploadFile) => void;
|
|
29
29
|
progress?: UploadListProgressProps;
|
|
30
30
|
}
|
|
31
|
-
declare const ListItem:
|
|
31
|
+
declare const ListItem: vue953.DefineSetupFnComponent<ListItemProps, EmptyEmit, SlotsType<Record<string, never>>, ListItemProps, vue953.PublicProps>;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ListItemProps, ListItem as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { UploadListEmits, UploadListProps, UploadListSlots } from "../interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue955 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/upload/UploadList/index.d.ts
|
|
6
6
|
interface InternalUploadListProps extends UploadListProps, UploadListEmitsProps {}
|
|
7
7
|
interface UploadListEmitsProps {}
|
|
8
|
-
declare const UploadList:
|
|
8
|
+
declare const UploadList: vue955.DefineSetupFnComponent<InternalUploadListProps, UploadListEmits, SlotsType<UploadListSlots<any>>, InternalUploadListProps, vue955.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { InternalUploadListProps, UploadListEmitsProps, UploadList as default };
|
package/dist/upload/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { UploadChangeParam, UploadEmits, UploadFile, UploadProps as UploadProps$
|
|
|
3
3
|
import Dragger, { DraggerProps } from "./Dragger.js";
|
|
4
4
|
import InternalUpload, { InternalUploadProps } from "./Upload.js";
|
|
5
5
|
import { InternalUploadListProps } from "./UploadList/index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue826 from "vue";
|
|
7
7
|
import { App } from "vue";
|
|
8
8
|
|
|
9
9
|
//#region src/upload/index.d.ts
|
|
@@ -14,8 +14,8 @@ declare const Upload: typeof InternalUpload & {
|
|
|
14
14
|
Dragger: typeof Dragger;
|
|
15
15
|
LIST_IGNORE: string;
|
|
16
16
|
};
|
|
17
|
-
declare const UploadDragger:
|
|
17
|
+
declare const UploadDragger: vue826.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, vue826.SlotsType<UploadSlots<any>>, UploadProps$1<any> & {
|
|
18
18
|
height?: number;
|
|
19
|
-
},
|
|
19
|
+
}, vue826.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { type DraggerProps, type UploadChangeParam, UploadDragger, type UploadEmits, type UploadFile, UploadListProps, UploadProps, type UploadSlots, Upload as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue949 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/upload/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -21,6 +21,6 @@ interface UploadToken extends FullToken<'Upload'> {
|
|
|
21
21
|
uploadPicCardSize: number | string;
|
|
22
22
|
}
|
|
23
23
|
declare const prepareComponentToken: GetDefaultToken<'Upload'>;
|
|
24
|
-
declare const _default: (prefixCls:
|
|
24
|
+
declare const _default: (prefixCls: vue949.Ref<string>, rootCls?: vue949.Ref<string | undefined>) => readonly [vue949.Ref<string, string>, vue949.ComputedRef<string | undefined>];
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ComponentToken, UploadToken, _default as default, prepareComponentToken };
|
package/dist/upload/utils.js
CHANGED
|
@@ -40,7 +40,7 @@ function isImageUrl(file) {
|
|
|
40
40
|
if (file.type && !file.thumbUrl) return isImageFileType(file.type);
|
|
41
41
|
const url = file.thumbUrl || file.url || "";
|
|
42
42
|
const extension = extname(url);
|
|
43
|
-
if (/^data:image\//.test(url) || /(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test(extension)) return true;
|
|
43
|
+
if (/^data:image\//.test(url) || /(avif|webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif|tiff?)$/i.test(extension)) return true;
|
|
44
44
|
if (url.startsWith("data:")) return false;
|
|
45
45
|
if (extension) return false;
|
|
46
46
|
return true;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue448 from "vue";
|
|
2
2
|
import { Ref } from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/watermark/context.d.ts
|
|
@@ -8,7 +8,7 @@ interface WatermarkContextProps {
|
|
|
8
8
|
}
|
|
9
9
|
declare function useWatermarkProvider(props: WatermarkContextProps): void;
|
|
10
10
|
declare function useWatermarkContext(): WatermarkContextProps;
|
|
11
|
-
declare const WatermarkContextProvider:
|
|
11
|
+
declare const WatermarkContextProvider: vue448.DefineSetupFnComponent<WatermarkContextProps, {}, {}, WatermarkContextProps & {}, vue448.PublicProps>;
|
|
12
12
|
declare function usePanelRef(panelSelector?: Ref<string>): (_ele: any) => void;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { WatermarkContextProps, WatermarkContextProvider, usePanelRef, useWatermarkContext, useWatermarkProvider };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue374 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/watermark/index.d.ts
|
|
4
4
|
interface WatermarkProps {
|
|
@@ -22,6 +22,6 @@ interface WatermarkProps {
|
|
|
22
22
|
inherit?: boolean;
|
|
23
23
|
onRemove?: (() => void) | undefined;
|
|
24
24
|
}
|
|
25
|
-
declare const Watermark:
|
|
25
|
+
declare const Watermark: vue374.DefineSetupFnComponent<WatermarkProps, {}, {}, WatermarkProps & {}, vue374.PublicProps>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { WatermarkProps, Watermark as default };
|
package/dist/watermark/index.js
CHANGED
|
@@ -24,12 +24,12 @@ function getSizeDiff(prev, next) {
|
|
|
24
24
|
}
|
|
25
25
|
const DEFAULT_GAP_X = 100;
|
|
26
26
|
const DEFAULT_GAP_Y = 100;
|
|
27
|
+
const WATERMARK_Z_INDEX_OFFSET = 1;
|
|
27
28
|
const fixedStyle = {
|
|
28
29
|
position: "relative",
|
|
29
30
|
overflow: "hidden"
|
|
30
31
|
};
|
|
31
32
|
const defaults = {
|
|
32
|
-
zIndex: 9,
|
|
33
33
|
rotate: -22,
|
|
34
34
|
inherit: true,
|
|
35
35
|
gap: [DEFAULT_GAP_X, DEFAULT_GAP_Y],
|
|
@@ -37,6 +37,7 @@ const defaults = {
|
|
|
37
37
|
};
|
|
38
38
|
const Watermark = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
39
39
|
const [, token] = useToken();
|
|
40
|
+
const mergedZIndex = computed(() => props.zIndex ?? token.value.zIndexPopupBase - WATERMARK_Z_INDEX_OFFSET);
|
|
40
41
|
const onRemove = computed(() => props.onRemove);
|
|
41
42
|
const color = computed(() => props.font?.color ?? token.value.colorFill);
|
|
42
43
|
const fontSize = computed(() => props?.font?.fontSize ?? token.value?.fontSizeLG);
|
|
@@ -57,7 +58,7 @@ const Watermark = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
57
58
|
});
|
|
58
59
|
const markStyle = computed(() => {
|
|
59
60
|
const mergedMarkStyle = {
|
|
60
|
-
zIndex:
|
|
61
|
+
zIndex: mergedZIndex.value,
|
|
61
62
|
position: "absolute",
|
|
62
63
|
left: 0,
|
|
63
64
|
top: 0,
|
|
@@ -176,7 +177,7 @@ const Watermark = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
176
177
|
useMutateObserver(targetElements, onMutate);
|
|
177
178
|
watch([
|
|
178
179
|
() => props.offset,
|
|
179
|
-
|
|
180
|
+
mergedZIndex,
|
|
180
181
|
() => props.width,
|
|
181
182
|
() => props.height,
|
|
182
183
|
() => props.rotate,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antdv-next",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.3.0",
|
|
5
5
|
"description": "Ant Design Vue3 Component Library",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "aibayanyu@gamil.com",
|
|
@@ -28,9 +28,18 @@
|
|
|
28
28
|
"default": "./dist/index.js"
|
|
29
29
|
},
|
|
30
30
|
"./dist/*": {
|
|
31
|
-
"types":
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
"types": [
|
|
32
|
+
"./dist/*.d.ts",
|
|
33
|
+
"./dist/*/index.d.ts"
|
|
34
|
+
],
|
|
35
|
+
"import": [
|
|
36
|
+
"./dist/*.js",
|
|
37
|
+
"./dist/*/index.js"
|
|
38
|
+
],
|
|
39
|
+
"default": [
|
|
40
|
+
"./dist/*.js",
|
|
41
|
+
"./dist/*/index.js"
|
|
42
|
+
]
|
|
34
43
|
},
|
|
35
44
|
"./dist/locale/*": {
|
|
36
45
|
"types": "./dist/locale/*.d.ts",
|
|
@@ -43,9 +52,18 @@
|
|
|
43
52
|
"default": "./dist/locale/*.js"
|
|
44
53
|
},
|
|
45
54
|
"./date-picker/*": {
|
|
46
|
-
"types":
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
"types": [
|
|
56
|
+
"./dist/date-picker/*.d.ts",
|
|
57
|
+
"./dist/date-picker/*/index.d.ts"
|
|
58
|
+
],
|
|
59
|
+
"import": [
|
|
60
|
+
"./dist/date-picker/*.js",
|
|
61
|
+
"./dist/date-picker/*/index.js"
|
|
62
|
+
],
|
|
63
|
+
"default": [
|
|
64
|
+
"./dist/date-picker/*.js",
|
|
65
|
+
"./dist/date-picker/*/index.js"
|
|
66
|
+
]
|
|
49
67
|
},
|
|
50
68
|
"./date-picker/locale/*": {
|
|
51
69
|
"types": "./dist/date-picker/locale/*.d.ts",
|
|
@@ -53,9 +71,18 @@
|
|
|
53
71
|
"default": "./dist/date-picker/locale/*.js"
|
|
54
72
|
},
|
|
55
73
|
"./time-picker/*": {
|
|
56
|
-
"types":
|
|
57
|
-
|
|
58
|
-
|
|
74
|
+
"types": [
|
|
75
|
+
"./dist/time-picker/*.d.ts",
|
|
76
|
+
"./dist/time-picker/*/index.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"import": [
|
|
79
|
+
"./dist/time-picker/*.js",
|
|
80
|
+
"./dist/time-picker/*/index.js"
|
|
81
|
+
],
|
|
82
|
+
"default": [
|
|
83
|
+
"./dist/time-picker/*.js",
|
|
84
|
+
"./dist/time-picker/*/index.js"
|
|
85
|
+
]
|
|
59
86
|
},
|
|
60
87
|
"./time-picker/locale/*": {
|
|
61
88
|
"types": "./dist/date-picker/locale/*.d.ts",
|
|
@@ -68,9 +95,18 @@
|
|
|
68
95
|
"default": "./dist/date-picker/generate/index.js"
|
|
69
96
|
},
|
|
70
97
|
"./date-picker/generate/*": {
|
|
71
|
-
"types":
|
|
72
|
-
|
|
73
|
-
|
|
98
|
+
"types": [
|
|
99
|
+
"./dist/date-picker/generate/*.d.ts",
|
|
100
|
+
"./dist/date-picker/generate/*/index.d.ts"
|
|
101
|
+
],
|
|
102
|
+
"import": [
|
|
103
|
+
"./dist/date-picker/generate/*.js",
|
|
104
|
+
"./dist/date-picker/generate/*/index.js"
|
|
105
|
+
],
|
|
106
|
+
"default": [
|
|
107
|
+
"./dist/date-picker/generate/*.js",
|
|
108
|
+
"./dist/date-picker/generate/*/index.js"
|
|
109
|
+
]
|
|
74
110
|
},
|
|
75
111
|
"./global.d.ts": "./global.d.ts",
|
|
76
112
|
"./global": "./global.d.ts",
|
|
@@ -144,39 +180,39 @@
|
|
|
144
180
|
"@ant-design/fast-color": "^3.0.1",
|
|
145
181
|
"@antdv-next/icons": "^1.0.6",
|
|
146
182
|
"@v-c/async-validator": "^1.0.1",
|
|
147
|
-
"@v-c/cascader": "^1.0
|
|
183
|
+
"@v-c/cascader": "^1.1.0",
|
|
148
184
|
"@v-c/checkbox": "^1.0.1",
|
|
149
185
|
"@v-c/collapse": "^1.0.0",
|
|
150
186
|
"@v-c/color-picker": "^1.0.6",
|
|
151
|
-
"@v-c/dialog": "^1.0
|
|
187
|
+
"@v-c/dialog": "^1.1.0",
|
|
152
188
|
"@v-c/drawer": "^1.0.6",
|
|
153
189
|
"@v-c/dropdown": "^1.0.2",
|
|
154
190
|
"@v-c/image": "^1.0.11",
|
|
155
|
-
"@v-c/input": "^1.0
|
|
191
|
+
"@v-c/input": "^1.1.0",
|
|
156
192
|
"@v-c/input-number": "^1.0.5",
|
|
157
|
-
"@v-c/mentions": "^1.
|
|
158
|
-
"@v-c/menu": "^1.0
|
|
193
|
+
"@v-c/mentions": "^1.1.0",
|
|
194
|
+
"@v-c/menu": "^1.1.0",
|
|
159
195
|
"@v-c/mutate-observer": "^1.0.1",
|
|
160
|
-
"@v-c/notification": "^
|
|
196
|
+
"@v-c/notification": "^2.0.0",
|
|
161
197
|
"@v-c/pagination": "^1.0.0",
|
|
162
|
-
"@v-c/picker": "^1.0
|
|
198
|
+
"@v-c/picker": "^1.1.0",
|
|
163
199
|
"@v-c/progress": "^1.0.0",
|
|
164
200
|
"@v-c/qrcode": "^1.0.0",
|
|
165
201
|
"@v-c/rate": "^1.0.1",
|
|
166
|
-
"@v-c/resize-observer": "^1.0
|
|
202
|
+
"@v-c/resize-observer": "^1.1.0",
|
|
167
203
|
"@v-c/segmented": "^1.0.2",
|
|
168
|
-
"@v-c/select": "^1.0
|
|
204
|
+
"@v-c/select": "^1.1.0",
|
|
169
205
|
"@v-c/slick": "^1.0.2",
|
|
170
|
-
"@v-c/slider": "^1.0
|
|
206
|
+
"@v-c/slider": "^1.1.0",
|
|
171
207
|
"@v-c/steps": "^1.0.0",
|
|
172
208
|
"@v-c/switch": "^1.0.0",
|
|
173
|
-
"@v-c/table": "^1.
|
|
174
|
-
"@v-c/tabs": "^1.0
|
|
175
|
-
"@v-c/textarea": "^1.0
|
|
209
|
+
"@v-c/table": "^1.1.1",
|
|
210
|
+
"@v-c/tabs": "^1.1.0",
|
|
211
|
+
"@v-c/textarea": "^1.1.0",
|
|
176
212
|
"@v-c/tooltip": "^1.0.3",
|
|
177
|
-
"@v-c/tour": "^1.0
|
|
178
|
-
"@v-c/tree": "^1.0
|
|
179
|
-
"@v-c/tree-select": "^1.0
|
|
213
|
+
"@v-c/tour": "^1.1.0",
|
|
214
|
+
"@v-c/tree": "^1.1.0",
|
|
215
|
+
"@v-c/tree-select": "^1.1.0",
|
|
180
216
|
"@v-c/trigger": "^1.0.14",
|
|
181
217
|
"@v-c/upload": "^1.0.0",
|
|
182
218
|
"@v-c/util": "^1.0.19",
|