antdv-next 1.1.9 → 1.2.1
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 +2 -2
- 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/motion.js +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +7 -2
- 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/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/index.js +5 -4
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +11385 -11672
- package/dist/antd-with-locales.js +99 -119
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +7378 -7665
- package/dist/antd.js +91 -111
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +12 -5
- package/dist/auto-complete/index.js +5 -1
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +11 -5
- package/dist/breadcrumb/Breadcrumb.js +6 -1
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/index.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 +2 -2
- 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/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +2 -2
- 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 +2 -2
- package/dist/cascader/style/columns.js +6 -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 +2 -2
- package/dist/checkbox/style/index.d.ts +2 -2
- package/dist/collapse/Collapse.d.ts +2 -2
- package/dist/collapse/CollapsePanel.d.ts +2 -2
- 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 +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- 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 +15 -15
- 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 -1
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- 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/util.d.ts +3 -7
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- 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 +2 -2
- package/dist/drawer/index.d.ts +3 -3
- 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/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- 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/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- 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 +2 -2
- package/dist/form/Form.d.ts +2 -2
- 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 +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- 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 +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +9 -7
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/image/style/index.js +6 -2
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -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 +2 -2
- package/dist/input-number/index.d.ts +2 -2
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/input-number/style/index.js +8 -8
- 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 +2 -2
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- 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 +2 -2
- package/dist/menu/MenuItemGroup.d.ts +2 -2
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- 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/message/PurePanel.d.ts +3 -3
- package/dist/message/index.js +3 -3
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/confirm.js +8 -2
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/PurePanel.js +1 -1
- package/dist/notification/index.js +3 -3
- package/dist/notification/style/index.d.ts +2 -2
- package/dist/notification/style/index.js +5 -1
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- 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/radio/style/index.js +1 -1
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/index.js +8 -2
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +1 -2
- package/dist/select/useIcons.d.ts +5 -10
- 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 +4 -4
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/addon.js +1 -0
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +2 -2
- 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 +2 -2
- package/dist/spin/index.d.ts +2 -2
- 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/SplitBar.d.ts +2 -2
- package/dist/splitter/SplitBar.js +12 -1
- package/dist/splitter/Splitter.d.ts +2 -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/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +5 -2
- package/dist/statistic/Number.js +13 -2
- package/dist/statistic/Statistic.d.ts +4 -2
- package/dist/statistic/Statistic.js +11 -8
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/switch/index.d.ts +2 -2
- 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 +11 -4
- package/dist/table/Table.d.ts +2 -2
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.js +13 -9
- 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 +23 -23
- package/dist/table/hooks/useFilter/index.js +18 -7
- 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 +2 -2
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -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 +5 -4
- package/dist/theme/interface/maps/colors.d.ts +4 -0
- package/dist/theme/themes/ColorMap.d.ts +1 -1
- package/dist/theme/themes/dark/colors.js +2 -1
- package/dist/theme/themes/default/colors.js +2 -1
- package/dist/theme/util/alias.js +32 -29
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/timeline/Timeline.d.ts +2 -2
- 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 +2 -2
- 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/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Section.js +5 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/search.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/transfer/style/index.js +5 -1
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/style/index.js +5 -1
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- 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 +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +7 -6
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- 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/style/index.d.ts +2 -2
- package/dist/typography/style/mixins.js +37 -0
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/Upload.js +1 -3
- 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/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/package.json +7 -7
- package/web-tags.json +1641 -1625
- package/web-types.json +4810 -4753
|
@@ -145,7 +145,9 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
145
145
|
watch([canUseCssEllipsis, mergedEnableEllipsis], () => {
|
|
146
146
|
cssEllipsis.value = canUseCssEllipsis.value && mergedEnableEllipsis.value;
|
|
147
147
|
}, { immediate: true });
|
|
148
|
-
const
|
|
148
|
+
const tooltipProps = useTooltipProps_default(computed(() => ellipsisConfig.value.tooltip), computed(() => editConfig.value.text), childrenNodes);
|
|
149
|
+
const needNativeEllipsisMeasure = computed(() => cssEllipsis.value && !!tooltipProps.value?.title);
|
|
150
|
+
const isMergedEllipsis = computed(() => mergedEnableEllipsis.value && (cssEllipsis.value ? needNativeEllipsisMeasure.value && isNativeEllipsis.value : isJsEllipsis.value));
|
|
149
151
|
const cssTextOverflow = computed(() => mergedEnableEllipsis.value && rows.value === 1 && cssEllipsis.value);
|
|
150
152
|
const cssLineClamp = computed(() => mergedEnableEllipsis.value && rows.value > 1 && cssEllipsis.value);
|
|
151
153
|
const onExpandClick = (e, info) => {
|
|
@@ -167,22 +169,22 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
167
169
|
};
|
|
168
170
|
watch(() => [
|
|
169
171
|
enableEllipsis.value,
|
|
170
|
-
|
|
172
|
+
needNativeEllipsisMeasure.value,
|
|
171
173
|
childrenNodes.value,
|
|
172
174
|
cssLineClamp.value,
|
|
173
175
|
isNativeVisible.value,
|
|
174
176
|
ellipsisWidth.value
|
|
175
177
|
], () => {
|
|
176
178
|
const textEle = typographyDom.value;
|
|
177
|
-
if (enableEllipsis.value &&
|
|
179
|
+
if (enableEllipsis.value && needNativeEllipsisMeasure.value && textEle) {
|
|
178
180
|
const currentEllipsis = isEleEllipsis(textEle);
|
|
179
181
|
if (isNativeEllipsis.value !== currentEllipsis) isNativeEllipsis.value = currentEllipsis;
|
|
180
182
|
}
|
|
181
183
|
}, { flush: "post" });
|
|
182
184
|
let observer = null;
|
|
183
|
-
watch(() => [
|
|
185
|
+
watch(() => [needNativeEllipsisMeasure.value, mergedEnableEllipsis.value], () => {
|
|
184
186
|
observer?.disconnect();
|
|
185
|
-
if (typeof IntersectionObserver === "undefined" || !typographyDom.value || !
|
|
187
|
+
if (typeof IntersectionObserver === "undefined" || !typographyDom.value || !needNativeEllipsisMeasure.value || !mergedEnableEllipsis.value) return;
|
|
186
188
|
observer = new IntersectionObserver(() => {
|
|
187
189
|
if (typographyDom.value) isNativeVisible.value = !!typographyDom.value.offsetParent;
|
|
188
190
|
});
|
|
@@ -195,7 +197,6 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
195
197
|
observer?.disconnect();
|
|
196
198
|
observer = null;
|
|
197
199
|
});
|
|
198
|
-
const tooltipProps = useTooltipProps_default(computed(() => ellipsisConfig.value.tooltip), computed(() => editConfig.value.text), childrenNodes);
|
|
199
200
|
const getChildrenText = computed(() => {
|
|
200
201
|
for (const node of childrenNodes.value) {
|
|
201
202
|
if (isValidText(node)) return node;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
2
2
|
import { DirectionType } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue382 from "vue";
|
|
4
4
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/typography/Editable.d.ts
|
|
@@ -19,6 +19,6 @@ interface EditableProps {
|
|
|
19
19
|
'enterIcon'?: VueNode;
|
|
20
20
|
'component'?: string;
|
|
21
21
|
}
|
|
22
|
-
declare const Editable:
|
|
22
|
+
declare const Editable: vue382.DefineSetupFnComponent<EditableProps, EmptyEmit, SlotsType<Record<string, never>>, EditableProps, vue382.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { EditableProps, Editable as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue384 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Link.d.ts
|
|
@@ -10,6 +10,6 @@ interface LinkProps extends BlockProps, TypographyBaseEmitsProps {
|
|
|
10
10
|
target?: string;
|
|
11
11
|
rel?: string;
|
|
12
12
|
}
|
|
13
|
-
declare const Link:
|
|
13
|
+
declare const Link: vue384.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, SlotsType<TypographySlots>, LinkProps, vue384.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { LinkProps, TypographyBaseEmitsProps, Link as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue388 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Paragraph.d.ts
|
|
6
6
|
type TypographyBaseEmitsProps = { [K in keyof TypographyBaseEmits as `on${Capitalize<string & K>}`]?: TypographyBaseEmits[K] };
|
|
7
7
|
interface ParagraphProps extends BlockProps, TypographyBaseEmitsProps {}
|
|
8
|
-
declare const Paragraph:
|
|
8
|
+
declare const Paragraph: vue388.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, SlotsType<TypographySlots>, ParagraphProps, vue388.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { ParagraphProps, TypographyBaseEmitsProps, Paragraph as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, EllipsisConfig, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue386 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Text.d.ts
|
|
@@ -7,6 +7,6 @@ type TypographyBaseEmitsProps = { [K in keyof TypographyBaseEmits as `on${Capita
|
|
|
7
7
|
interface TextProps extends BlockProps, TypographyBaseEmitsProps {
|
|
8
8
|
ellipsis?: boolean | Omit<EllipsisConfig, 'expandable' | 'rows' | 'onExpand'>;
|
|
9
9
|
}
|
|
10
|
-
declare const Text:
|
|
10
|
+
declare const Text: vue386.DefineSetupFnComponent<TextProps, TypographyBaseEmits, SlotsType<TypographySlots>, TextProps, vue386.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { TextProps, TypographyBaseEmitsProps, Text as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue394 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Title.d.ts
|
|
@@ -8,6 +8,6 @@ declare const TITLE_ELE_LIST: readonly [1, 2, 3, 4, 5];
|
|
|
8
8
|
interface TitleProps extends Omit<BlockProps, 'strong'>, TypographyBaseEmitsProps {
|
|
9
9
|
level?: (typeof TITLE_ELE_LIST)[number];
|
|
10
10
|
}
|
|
11
|
-
declare const Title:
|
|
11
|
+
declare const Title: vue394.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, SlotsType<TypographySlots>, TitleProps, vue394.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { TitleProps, TypographyBaseEmitsProps, Title as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { TypographyBaseProps, TypographySlots } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue396 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/typography/Typography.d.ts
|
|
7
|
-
declare const Typography:
|
|
7
|
+
declare const Typography: vue396.DefineSetupFnComponent<TypographyBaseProps, EmptyEmit, SlotsType<TypographySlots>, TypographyBaseProps, vue396.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Typography as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue945 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/typography/hooks/useCopyClick.d.ts
|
|
4
4
|
declare function useCopyClick({
|
|
@@ -8,8 +8,8 @@ declare function useCopyClick({
|
|
|
8
8
|
copyConfig: any;
|
|
9
9
|
getText?: () => any;
|
|
10
10
|
}): {
|
|
11
|
-
copied:
|
|
12
|
-
copyLoading:
|
|
11
|
+
copied: vue945.ShallowRef<boolean, boolean>;
|
|
12
|
+
copyLoading: vue945.ShallowRef<boolean, boolean>;
|
|
13
13
|
onClick: (e?: MouseEvent) => Promise<void>;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue947 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 [vue947.ComputedRef<boolean>, vue947.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 vue804 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): vue804.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 vue402 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: vue402.DefineSetupFnComponent<TextProps, TypographyBaseEmits, vue402.SlotsType<TypographySlots>, TextProps, vue402.PublicProps>;
|
|
11
|
+
declare const TypographyLink: vue402.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, vue402.SlotsType<TypographySlots>, LinkProps, vue402.PublicProps>;
|
|
12
|
+
declare const TypographyTitle: vue402.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, vue402.SlotsType<TypographySlots>, TitleProps, vue402.PublicProps>;
|
|
13
|
+
declare const TypographyParagraph: vue402.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, vue402.SlotsType<TypographySlots>, ParagraphProps, vue402.PublicProps>;
|
|
14
14
|
declare const Typography: typeof Typography$1 & {
|
|
15
15
|
Text: typeof Text$1;
|
|
16
16
|
Link: typeof Link;
|
|
@@ -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 vue941 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: vue941.Ref<string>, rootCls?: vue941.Ref<string | undefined>) => readonly [vue941.Ref<string, string>, vue941.ComputedRef<string | undefined>];
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ComponentToken, TypographyToken, _default as default, prepareComponentToken };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { operationUnit } from "../../style/index.js";
|
|
2
|
+
import { unit } from "@antdv-next/cssinjs";
|
|
2
3
|
import { gold } from "@ant-design/colors";
|
|
3
4
|
|
|
4
5
|
//#region src/typography/style/mixins.ts
|
|
@@ -116,6 +117,42 @@ const getResetStyles = (token) => ({
|
|
|
116
117
|
paddingBlock: 0,
|
|
117
118
|
borderInlineStart: "4px solid rgba(100, 100, 100, 0.2)",
|
|
118
119
|
opacity: .85
|
|
120
|
+
},
|
|
121
|
+
table: {
|
|
122
|
+
width: "100%",
|
|
123
|
+
textAlign: "start",
|
|
124
|
+
borderCollapse: "separate",
|
|
125
|
+
borderSpacing: 0,
|
|
126
|
+
marginBlock: "1em",
|
|
127
|
+
"th, td": {
|
|
128
|
+
padding: unit(token.padding),
|
|
129
|
+
overflowWrap: "break-word",
|
|
130
|
+
borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorSplit}`
|
|
131
|
+
},
|
|
132
|
+
"thead > tr:first-child > th:first-child": { borderStartStartRadius: token.borderRadiusLG },
|
|
133
|
+
"thead > tr:first-child > th:last-child": { borderStartEndRadius: token.borderRadiusLG },
|
|
134
|
+
"thead > tr > th": {
|
|
135
|
+
textAlign: "start",
|
|
136
|
+
position: "relative",
|
|
137
|
+
color: token.colorTextHeading,
|
|
138
|
+
fontWeight: token.fontWeightStrong,
|
|
139
|
+
backgroundColor: token.colorFillAlter,
|
|
140
|
+
transition: `background-color ${token.motionDurationMid} ease`,
|
|
141
|
+
"&:not(:last-child)::before": {
|
|
142
|
+
position: "absolute",
|
|
143
|
+
top: "50%",
|
|
144
|
+
insetInlineEnd: 0,
|
|
145
|
+
width: 1,
|
|
146
|
+
height: "1.6em",
|
|
147
|
+
backgroundColor: token.colorSplit,
|
|
148
|
+
transform: "translateY(-50%)",
|
|
149
|
+
content: "\"\""
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
"tbody > tr": {
|
|
153
|
+
"> th, > td": { transition: `background-color ${token.motionDurationMid} ease` },
|
|
154
|
+
"&:hover > th, &:hover > td": { backgroundColor: token.colorFillAlter }
|
|
155
|
+
}
|
|
119
156
|
}
|
|
120
157
|
});
|
|
121
158
|
const getEditableStyles = (token) => {
|
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 vue805 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: vue805.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, SlotsType<UploadSlots<any>>, UploadProps<any> & {
|
|
11
11
|
height?: number;
|
|
12
|
-
},
|
|
12
|
+
}, vue805.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 vue811 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: vue811.DefineSetupFnComponent<InternalUploadProps, UploadEmits<any>, SlotsType<UploadSlots<any>>, InternalUploadProps, vue811.PublicProps>;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { InternalUploadProps, LIST_IGNORE, UploadEmitsProps, UploadRef, InternalUpload as default };
|
package/dist/upload/Upload.js
CHANGED
|
@@ -212,9 +212,7 @@ const InternalUpload = /* @__PURE__ */ defineComponent((props, { slots, attrs, e
|
|
|
212
212
|
"listType": listType.value,
|
|
213
213
|
"items": mergedFileList.value,
|
|
214
214
|
"previewFile": props.previewFile,
|
|
215
|
-
"onPreview":
|
|
216
|
-
if (props?.onPreview) props?.onPreview?.(file);
|
|
217
|
-
},
|
|
215
|
+
"onPreview": props.onPreview,
|
|
218
216
|
"onDownload": (file) => {
|
|
219
217
|
if (props.onDownload) props?.onDownload?.(file);
|
|
220
218
|
else if (file.url) window.open(file.url);
|
|
@@ -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 vue1057 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: vue1057.DefineSetupFnComponent<ListItemProps, EmptyEmit, SlotsType<Record<string, never>>, ListItemProps, vue1057.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 vue1065 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: vue1065.DefineSetupFnComponent<InternalUploadListProps, UploadListEmits, SlotsType<UploadListSlots<any>>, InternalUploadListProps, vue1065.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 vue813 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: vue813.DefineSetupFnComponent<DraggerProps<any>, EmptyEmit, vue813.SlotsType<UploadSlots<any>>, UploadProps$1<any> & {
|
|
18
18
|
height?: number;
|
|
19
|
-
},
|
|
19
|
+
}, vue813.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 vue1075 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: vue1075.Ref<string>, rootCls?: vue1075.Ref<string | undefined>) => readonly [vue1075.Ref<string, string>, vue1075.ComputedRef<string | undefined>];
|
|
25
25
|
//#endregion
|
|
26
26
|
export { ComponentToken, UploadToken, _default as default, prepareComponentToken };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue867 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: vue867.DefineSetupFnComponent<WatermarkContextProps, {}, {}, WatermarkContextProps & {}, vue867.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 vue818 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: vue818.DefineSetupFnComponent<WatermarkProps, {}, {}, WatermarkProps & {}, vue818.PublicProps>;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { WatermarkProps, Watermark as default };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "antdv-next",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.1
|
|
4
|
+
"version": "1.2.1",
|
|
5
5
|
"description": "Ant Design Vue3 Component Library",
|
|
6
6
|
"author": {
|
|
7
7
|
"email": "aibayanyu@gamil.com",
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
"@v-c/collapse": "^1.0.0",
|
|
150
150
|
"@v-c/color-picker": "^1.0.6",
|
|
151
151
|
"@v-c/dialog": "^1.0.3",
|
|
152
|
-
"@v-c/drawer": "^1.0.
|
|
152
|
+
"@v-c/drawer": "^1.0.6",
|
|
153
153
|
"@v-c/dropdown": "^1.0.2",
|
|
154
|
-
"@v-c/image": "^1.0.
|
|
154
|
+
"@v-c/image": "^1.0.11",
|
|
155
155
|
"@v-c/input": "^1.0.3",
|
|
156
156
|
"@v-c/input-number": "^1.0.5",
|
|
157
157
|
"@v-c/mentions": "^1.0.0",
|
|
@@ -164,23 +164,23 @@
|
|
|
164
164
|
"@v-c/qrcode": "^1.0.0",
|
|
165
165
|
"@v-c/rate": "^1.0.1",
|
|
166
166
|
"@v-c/resize-observer": "^1.0.8",
|
|
167
|
-
"@v-c/segmented": "^1.0.
|
|
167
|
+
"@v-c/segmented": "^1.0.2",
|
|
168
168
|
"@v-c/select": "^1.0.20",
|
|
169
169
|
"@v-c/slick": "^1.0.2",
|
|
170
170
|
"@v-c/slider": "^1.0.10",
|
|
171
171
|
"@v-c/steps": "^1.0.0",
|
|
172
172
|
"@v-c/switch": "^1.0.0",
|
|
173
|
-
"@v-c/table": "^1.0.
|
|
173
|
+
"@v-c/table": "^1.0.6",
|
|
174
174
|
"@v-c/tabs": "^1.0.2",
|
|
175
175
|
"@v-c/textarea": "^1.0.4",
|
|
176
176
|
"@v-c/tooltip": "^1.0.3",
|
|
177
177
|
"@v-c/tour": "^1.0.3",
|
|
178
|
-
"@v-c/tree": "^1.0.
|
|
178
|
+
"@v-c/tree": "^1.0.6",
|
|
179
179
|
"@v-c/tree-select": "^1.0.3",
|
|
180
180
|
"@v-c/trigger": "^1.0.14",
|
|
181
181
|
"@v-c/upload": "^1.0.0",
|
|
182
182
|
"@v-c/util": "^1.0.19",
|
|
183
|
-
"@v-c/virtual-list": "^1.0.
|
|
183
|
+
"@v-c/virtual-list": "^1.0.7",
|
|
184
184
|
"@vueuse/core": "^14.2.1",
|
|
185
185
|
"dayjs": "^1.11.20",
|
|
186
186
|
"es-toolkit": "1.45.1",
|