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
package/dist/tree/Tree.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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
|
-
import * as
|
|
4
|
+
import * as vue767 from "vue";
|
|
5
5
|
import { CSSProperties, SlotsType } from "vue";
|
|
6
6
|
import { BasicDataNode, DataNode, TreeProps as TreeProps$1, TreeRef } from "@v-c/tree";
|
|
7
7
|
import { Key as Key$1 } from "@v-c/util/dist/type";
|
|
@@ -18,8 +18,8 @@ interface AntdTreeNodeAttribute {
|
|
|
18
18
|
selected: boolean;
|
|
19
19
|
checked: boolean;
|
|
20
20
|
halfChecked: boolean;
|
|
21
|
-
title: VueNode;
|
|
22
|
-
children: VueNode;
|
|
21
|
+
title: VueNode$1;
|
|
22
|
+
children: VueNode$1;
|
|
23
23
|
pos: string;
|
|
24
24
|
dragOver: boolean;
|
|
25
25
|
dragOverGapTop: boolean;
|
|
@@ -44,7 +44,7 @@ interface AntTreeNodeProps {
|
|
|
44
44
|
selected?: boolean;
|
|
45
45
|
selectable?: boolean;
|
|
46
46
|
icon?: TreeIcon;
|
|
47
|
-
children?: VueNode;
|
|
47
|
+
children?: VueNode$1;
|
|
48
48
|
[customProp: string]: any;
|
|
49
49
|
}
|
|
50
50
|
type AntTreeNode = AntTreeNodeProps;
|
|
@@ -83,7 +83,7 @@ interface AntTreeNodeDropEvent {
|
|
|
83
83
|
type TreeNodeNormal = DataNode;
|
|
84
84
|
type DraggableFn = (node: DataNode) => boolean;
|
|
85
85
|
interface DraggableConfig {
|
|
86
|
-
icon?: VueNode;
|
|
86
|
+
icon?: VueNode$1;
|
|
87
87
|
nodeDraggable?: DraggableFn;
|
|
88
88
|
}
|
|
89
89
|
type TreeSemanticName = keyof TreeSemanticClassNames & keyof TreeSemanticStyles;
|
|
@@ -92,12 +92,14 @@ interface TreeSemanticClassNames {
|
|
|
92
92
|
item?: string;
|
|
93
93
|
itemIcon?: string;
|
|
94
94
|
itemTitle?: string;
|
|
95
|
+
itemSwitcher?: string;
|
|
95
96
|
}
|
|
96
97
|
interface TreeSemanticStyles {
|
|
97
98
|
root?: CSSProperties;
|
|
98
99
|
item?: CSSProperties;
|
|
99
100
|
itemIcon?: CSSProperties;
|
|
100
101
|
itemTitle?: CSSProperties;
|
|
102
|
+
itemSwitcher?: CSSProperties;
|
|
101
103
|
}
|
|
102
104
|
type TreeClassNamesType = SemanticClassNamesType<TreeProps, TreeSemanticClassNames>;
|
|
103
105
|
type TreeStylesType = SemanticStylesType<TreeProps, TreeSemanticStyles>;
|
|
@@ -146,7 +148,7 @@ interface TreeProps<T extends BasicDataNode = DataNode> extends Omit<TreeProps$1
|
|
|
146
148
|
showIcon?: boolean;
|
|
147
149
|
icon?: TreeIcon;
|
|
148
150
|
switcherIcon?: SwitcherIcon;
|
|
149
|
-
switcherLoadingIcon?: VueNode;
|
|
151
|
+
switcherLoadingIcon?: VueNode$1;
|
|
150
152
|
prefixCls?: string;
|
|
151
153
|
blockNode?: boolean;
|
|
152
154
|
tabindex?: number;
|
|
@@ -215,6 +217,6 @@ interface TreeSlots {
|
|
|
215
217
|
icon: (props: AntdTreeNodeAttribute) => any;
|
|
216
218
|
titleRender: TreeProps$1['titleRender'];
|
|
217
219
|
}
|
|
218
|
-
declare const Tree:
|
|
220
|
+
declare const Tree: vue767.DefineSetupFnComponent<TreeProps<BasicDataNode>, TreeEmits, SlotsType<TreeSlots>, TreeProps<BasicDataNode>, vue767.PublicProps>;
|
|
219
221
|
//#endregion
|
|
220
222
|
export { AntTreeNode, AntTreeNodeBaseEvent, AntTreeNodeCheckedEvent, AntTreeNodeDragEnterEvent, AntTreeNodeDropEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, SwitcherIcon, TreeClassNamesType, TreeEmits, TreeEmitsProps, TreeLeafIcon, TreeNodeNormal, TreeProps, type TreeRef, TreeSemanticClassNames, TreeSemanticName, TreeSemanticStyles, TreeSlots, TreeStylesType, Tree as default };
|
package/dist/tree/Tree.js
CHANGED
|
@@ -360,10 +360,6 @@ const Tree = /* @__PURE__ */ defineComponent((props, { slots, emit, expose, attr
|
|
|
360
360
|
type: Function,
|
|
361
361
|
required: false
|
|
362
362
|
},
|
|
363
|
-
onMouseUp: {
|
|
364
|
-
type: Function,
|
|
365
|
-
required: false
|
|
366
|
-
},
|
|
367
363
|
loadData: {
|
|
368
364
|
type: Function,
|
|
369
365
|
required: false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
2
2
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import { CSSUtil } from "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue755 from "vue";
|
|
5
5
|
import { CSSInterpolation, CSSObject } from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/tree/style/index.d.ts
|
|
@@ -69,6 +69,6 @@ declare function genTreeStyle(prefixCls: string, token: AliasToken & TreeSharedT
|
|
|
69
69
|
enableDirectory?: boolean): CSSInterpolation;
|
|
70
70
|
declare function initComponentToken(token: AliasToken): TreeSharedToken;
|
|
71
71
|
declare const prepareComponentToken: GetDefaultToken<'Tree'>;
|
|
72
|
-
declare const _default: (prefixCls:
|
|
72
|
+
declare const _default: (prefixCls: vue755.Ref<string>, rootCls?: vue755.Ref<string | undefined>) => readonly [vue755.Ref<string, string>, vue755.ComputedRef<string | undefined>];
|
|
73
73
|
//#endregion
|
|
74
74
|
export { ComponentToken, TreeSharedToken, TreeToken, _default as default, genBaseStyle, genTreeStyle, initComponentToken, prepareComponentToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DirectionType } from "../../config-provider/context.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue_jsx_runtime32 from "vue/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/tree/utils/dropIndicator.d.ts
|
|
5
5
|
declare const offset = 4;
|
|
@@ -9,6 +9,6 @@ declare function dropIndicatorRender(props: {
|
|
|
9
9
|
indent: number;
|
|
10
10
|
prefixCls: string;
|
|
11
11
|
direction: DirectionType;
|
|
12
|
-
}):
|
|
12
|
+
}): vue_jsx_runtime32.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { dropIndicatorRender as default, offset };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { VueNode } from "../../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
2
|
import { AntTreeNodeProps, SwitcherIcon, TreeLeafIcon } from "../Tree.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1080 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/tree/utils/iconUtil.d.ts
|
|
6
6
|
interface SwitcherIconProps {
|
|
7
7
|
prefixCls: string;
|
|
8
8
|
treeNodeProps: AntTreeNodeProps;
|
|
9
9
|
switcherIcon?: SwitcherIcon;
|
|
10
|
-
switcherLoadingIcon?: VueNode;
|
|
10
|
+
switcherLoadingIcon?: VueNode$1;
|
|
11
11
|
showLine?: boolean | {
|
|
12
12
|
showLeafIcon: boolean | TreeLeafIcon;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
declare const SwitcherIconCom:
|
|
15
|
+
declare const SwitcherIconCom: vue1080.DefineSetupFnComponent<SwitcherIconProps, {}, {}, SwitcherIconProps & {}, vue1080.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SwitcherIconCom as default };
|
|
@@ -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 { SizeType } from "../config-provider/SizeContext.js";
|
|
@@ -7,7 +7,7 @@ import { SelectCommonPlacement } from "../_util/motion.js";
|
|
|
7
7
|
import { SwitcherIcon, TreeProps } from "../tree/Tree.js";
|
|
8
8
|
import "../tree/index.js";
|
|
9
9
|
import { Variant } from "../config-provider/context.js";
|
|
10
|
-
import * as
|
|
10
|
+
import * as vue126 from "vue";
|
|
11
11
|
import { App, CSSProperties, SlotsType } from "vue";
|
|
12
12
|
import { DataNode, SHOW_ALL, SHOW_CHILD, SHOW_PARENT, TreeNode, TreeSelectProps as TreeSelectProps$1 } from "@v-c/tree-select";
|
|
13
13
|
|
|
@@ -16,7 +16,7 @@ type RawValue = string | number;
|
|
|
16
16
|
interface LabeledValue {
|
|
17
17
|
key?: string;
|
|
18
18
|
value: RawValue;
|
|
19
|
-
label: VueNode;
|
|
19
|
+
label: VueNode$1;
|
|
20
20
|
}
|
|
21
21
|
type SelectValue = RawValue | RawValue[] | LabeledValue | LabeledValue[];
|
|
22
22
|
type TreeSelectSemanticName = keyof TreeSelectSemanticClassNames & keyof TreeSelectSemanticStyles;
|
|
@@ -47,11 +47,13 @@ interface TreeSelectPopupSemanticClassNames {
|
|
|
47
47
|
root?: string;
|
|
48
48
|
item?: string;
|
|
49
49
|
itemTitle?: string;
|
|
50
|
+
itemSwitcher?: string;
|
|
50
51
|
}
|
|
51
52
|
interface TreeSelectPopupSemanticStyles {
|
|
52
53
|
root?: CSSProperties;
|
|
53
54
|
item?: CSSProperties;
|
|
54
55
|
itemTitle?: CSSProperties;
|
|
56
|
+
itemSwitcher?: CSSProperties;
|
|
55
57
|
}
|
|
56
58
|
type TreeSelectClassNamesType = SemanticClassNamesType<TreeSelectProps, TreeSelectSemanticClassNames> & {
|
|
57
59
|
popup?: TreeSelectPopupSemanticClassNames;
|
|
@@ -68,7 +70,7 @@ interface BaseTreeSelectProps<ValueType = any, OptionType extends DataNode = Dat
|
|
|
68
70
|
interface TreeSelectProps<ValueType = any, OptionType extends DataNode = DataNode> extends BaseTreeSelectProps<ValueType, OptionType>, TreeSelectEmitsProps {
|
|
69
71
|
styles?: TreeSelectStylesType;
|
|
70
72
|
classes?: TreeSelectClassNamesType;
|
|
71
|
-
suffixIcon?: VueNode;
|
|
73
|
+
suffixIcon?: VueNode$1;
|
|
72
74
|
size?: SizeType;
|
|
73
75
|
disabled?: boolean;
|
|
74
76
|
placement?: SelectCommonPlacement;
|
|
@@ -136,7 +138,7 @@ interface TreeSelectSlots {
|
|
|
136
138
|
switcherIcon?: () => any;
|
|
137
139
|
treeTitleRender?: (nodeData: DataNode) => any;
|
|
138
140
|
}
|
|
139
|
-
declare const InternalTreeSelect:
|
|
141
|
+
declare const InternalTreeSelect: vue126.DefineSetupFnComponent<TreeSelectProps<any, DataNode>, TreeSelectEmits, SlotsType<TreeSelectSlots>, TreeSelectProps<any, DataNode>, vue126.PublicProps>;
|
|
140
142
|
declare const TreeSelect: typeof InternalTreeSelect & {
|
|
141
143
|
install: (app: App) => void;
|
|
142
144
|
TreeNode: typeof TreeNode;
|
|
@@ -145,6 +147,6 @@ declare const TreeSelect: typeof InternalTreeSelect & {
|
|
|
145
147
|
SHOW_CHILD: typeof SHOW_CHILD;
|
|
146
148
|
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
147
149
|
};
|
|
148
|
-
declare const TreeSelectNode:
|
|
150
|
+
declare const TreeSelectNode: vue126.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any>, vue126.PublicProps>;
|
|
149
151
|
//#endregion
|
|
150
152
|
export { LabeledValue, SelectValue, TreeSelectClassNamesType, TreeSelectEmits, TreeSelectEmitsProps, TreeSelectNode, TreeSelectPopupSemanticClassNames, TreeSelectPopupSemanticName, TreeSelectPopupSemanticStyles, TreeSelectProps, TreeSelectSemanticClassNames, TreeSelectSemanticName, TreeSelectSemanticStyles, TreeSelectSlots, TreeSelectStylesType, TreeSelect as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { TreeSharedToken } from "../../tree/style/index.js";
|
|
2
2
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
3
3
|
import "../../theme/internal.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue969 from "vue";
|
|
5
5
|
import { ComputedRef } from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/tree-select/style/index.d.ts
|
|
8
8
|
interface ComponentToken extends TreeSharedToken {}
|
|
9
9
|
declare const prepareComponentToken: GetDefaultToken<'TreeSelect'>;
|
|
10
|
-
declare function useTreeSelectStyle(prefixCls: ComputedRef<string>, treePrefixCls: ComputedRef<string>, rootCls: ComputedRef<string>): readonly [
|
|
10
|
+
declare function useTreeSelectStyle(prefixCls: ComputedRef<string>, treePrefixCls: ComputedRef<string>, rootCls: ComputedRef<string>): readonly [vue969.Ref<string, string>, ComputedRef<string | undefined>];
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ComponentToken, useTreeSelectStyle as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Locale } from "../../locale/index.js";
|
|
2
2
|
import { CopyConfig } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue1061 from "vue";
|
|
4
4
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/typography/Base/CopyBtn.d.ts
|
|
@@ -19,6 +19,6 @@ interface CopyBtnEmits {
|
|
|
19
19
|
interface CopyBtnEmitsProps {
|
|
20
20
|
onCopy?: CopyBtnEmits['copy'];
|
|
21
21
|
}
|
|
22
|
-
declare const CopyBtn:
|
|
22
|
+
declare const CopyBtn: vue1061.DefineSetupFnComponent<CopyBtnProps, CopyBtnEmits, SlotsType<Record<string, never>>, CopyBtnProps, vue1061.PublicProps>;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { CopyBtnEmits, CopyBtnEmitsProps, CopyBtnProps, CopyBtn as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { EmptyEmit, VueNode } from "../../_util/type.js";
|
|
2
|
-
import * as
|
|
1
|
+
import { EmptyEmit, VueNode as VueNode$1 } from "../../_util/type.js";
|
|
2
|
+
import * as vue1057 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Base/Ellipsis.d.ts
|
|
6
6
|
interface EllipsisProps {
|
|
7
7
|
enableMeasure?: boolean;
|
|
8
|
-
text?: VueNode;
|
|
8
|
+
text?: VueNode$1;
|
|
9
9
|
width: number;
|
|
10
10
|
rows: number;
|
|
11
11
|
onEllipsis: (isEllipsis: boolean) => void;
|
|
@@ -16,8 +16,8 @@ interface EllipsisProps {
|
|
|
16
16
|
*/
|
|
17
17
|
miscDeps: any[];
|
|
18
18
|
}
|
|
19
|
-
declare const Ellipsis:
|
|
19
|
+
declare const Ellipsis: vue1057.DefineSetupFnComponent<EllipsisProps, EmptyEmit, SlotsType<{
|
|
20
20
|
default?: (nodeList: any[], canEllipsis: boolean) => any;
|
|
21
|
-
}>, EllipsisProps,
|
|
21
|
+
}>, EllipsisProps, vue1057.PublicProps>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { EllipsisProps, Ellipsis as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TooltipProps } from "../../tooltip/index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1065 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/typography/Base/EllipsisTooltip.d.ts
|
|
5
5
|
interface EmptyEmitsProps {}
|
|
@@ -12,6 +12,6 @@ interface EllipsisTooltipProps extends EmptyEmitsProps {
|
|
|
12
12
|
interface EllipsisTooltipSlots {
|
|
13
13
|
default?: () => any;
|
|
14
14
|
}
|
|
15
|
-
declare const EllipsisTooltip:
|
|
15
|
+
declare const EllipsisTooltip: vue1065.DefineComponent<EllipsisTooltipProps, {}, {}, {}, {}, vue1065.ComponentOptionsMixin, vue1065.ComponentOptionsMixin, {}, string, vue1065.PublicProps, Readonly<EllipsisTooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1065.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { EllipsisTooltipProps, EllipsisTooltipSlots, EmptyEmitsProps, EllipsisTooltip as default };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "../interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1029 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/typography/Base/index.d.ts
|
|
6
6
|
type TypographyBaseEmitsProps = { [K in keyof TypographyBaseEmits as `on${Capitalize<string & K>}`]?: TypographyBaseEmits[K] };
|
|
7
7
|
interface InternalBlockProps extends BlockProps, TypographyBaseEmitsProps {}
|
|
8
|
-
declare const Base:
|
|
8
|
+
declare const Base: vue1029.DefineSetupFnComponent<InternalBlockProps, TypographyBaseEmits, SlotsType<TypographySlots>, InternalBlockProps, vue1029.PublicProps>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { TypographyBaseEmitsProps, Base as default };
|
|
@@ -212,15 +212,16 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
212
212
|
tooltipProps.value?.title
|
|
213
213
|
].find(isValidText);
|
|
214
214
|
});
|
|
215
|
+
const placement = computed(() => props.actions?.placement ?? "end");
|
|
215
216
|
const renderExpand = () => {
|
|
216
217
|
const { expandable, symbol } = ellipsisConfig.value;
|
|
217
218
|
return expandable ? createVNode("button", {
|
|
218
219
|
"type": "button",
|
|
219
220
|
"key": "expand",
|
|
220
|
-
"class": classNames(`${prefixCls.value}-${expanded.value ? "collapse" : "expand"}`, mergedClassNames.value.
|
|
221
|
+
"class": classNames(`${prefixCls.value}-${expanded.value ? "collapse" : "expand"}`, mergedClassNames.value.action),
|
|
221
222
|
"onClick": (e) => onExpandClick(e, { expanded: !expanded.value }),
|
|
222
223
|
"aria-label": expanded.value ? textLocale?.value?.collapse : textLocale?.value?.expand,
|
|
223
|
-
"style": mergedStyles.value.
|
|
224
|
+
"style": mergedStyles.value.action
|
|
224
225
|
}, [typeof symbol === "function" ? symbol(expanded.value) : symbol]) : null;
|
|
225
226
|
};
|
|
226
227
|
const renderEdit = () => {
|
|
@@ -234,11 +235,11 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
234
235
|
}, { default: () => [createVNode("button", {
|
|
235
236
|
"type": "button",
|
|
236
237
|
"ref": editIconRef,
|
|
237
|
-
"class": classNames(`${prefixCls.value}-edit`, mergedClassNames.value.
|
|
238
|
+
"class": classNames(`${prefixCls.value}-edit`, mergedClassNames.value.action),
|
|
238
239
|
"onClick": onEditClick,
|
|
239
240
|
"aria-label": ariaLabel,
|
|
240
241
|
"tabindex": tabIndex,
|
|
241
|
-
"style": mergedStyles.value.
|
|
242
|
+
"style": mergedStyles.value.action
|
|
242
243
|
}, [icon || createVNode(EditOutlined, { role: "button" }, null)])] }) : null;
|
|
243
244
|
};
|
|
244
245
|
const renderCopy = () => {
|
|
@@ -250,8 +251,8 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
250
251
|
"onCopy": handleCopyClick,
|
|
251
252
|
"loading": copyLoading.value,
|
|
252
253
|
"iconOnly": childrenNodes.value.length === 0,
|
|
253
|
-
"className": mergedClassNames.value.
|
|
254
|
-
"style": mergedStyles.value.
|
|
254
|
+
"className": mergedClassNames.value.action,
|
|
255
|
+
"style": mergedStyles.value.action
|
|
255
256
|
}), null);
|
|
256
257
|
};
|
|
257
258
|
const renderOperations = (canEllipsis) => {
|
|
@@ -261,7 +262,8 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
261
262
|
if (!expandNode && !editNode && !copyNode) return null;
|
|
262
263
|
return createVNode("span", {
|
|
263
264
|
"key": "operations",
|
|
264
|
-
"class": `${prefixCls.value}-actions`,
|
|
265
|
+
"class": classNames(`${prefixCls.value}-actions`, mergedClassNames.value.actions, { [`${prefixCls.value}-actions-start`]: placement.value === "start" }),
|
|
266
|
+
"style": mergedStyles.value.actions,
|
|
265
267
|
"onMouseenter": () => {
|
|
266
268
|
isHoveringOperations.value = true;
|
|
267
269
|
},
|
|
@@ -275,14 +277,10 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
275
277
|
]);
|
|
276
278
|
};
|
|
277
279
|
const renderEllipsis = (canEllipsis) => {
|
|
278
|
-
return [
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}, [ELLIPSIS_STR]),
|
|
283
|
-
ellipsisConfig.value.suffix,
|
|
284
|
-
renderOperations(canEllipsis)
|
|
285
|
-
];
|
|
280
|
+
return [canEllipsis && !expanded.value && createVNode("span", {
|
|
281
|
+
"aria-hidden": true,
|
|
282
|
+
"key": "ellipsis"
|
|
283
|
+
}, [ELLIPSIS_STR]), ellipsisConfig.value.suffix];
|
|
286
284
|
};
|
|
287
285
|
const componentCls = computed(() => classNames({
|
|
288
286
|
[`${prefixCls.value}-${props.type}`]: props.type,
|
|
@@ -318,17 +316,15 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
318
316
|
emit("edit:end");
|
|
319
317
|
},
|
|
320
318
|
"prefixCls": prefixCls.value,
|
|
321
|
-
"className": classNames(attrClass,
|
|
322
|
-
"style": [
|
|
323
|
-
mergedStyles.value.root,
|
|
324
|
-
contextStyle.value,
|
|
325
|
-
attrStyle
|
|
326
|
-
],
|
|
319
|
+
"className": classNames(attrClass, props.rootClass, contextClassName.value),
|
|
320
|
+
"style": [contextStyle.value, attrStyle],
|
|
327
321
|
"direction": mergedDirection.value,
|
|
328
322
|
"component": props.component,
|
|
329
323
|
"maxLength": editConfig.value.maxLength,
|
|
330
324
|
"autoSize": editConfig.value.autoSize,
|
|
331
|
-
"enterIcon": editConfig.value.enterIcon
|
|
325
|
+
"enterIcon": editConfig.value.enterIcon,
|
|
326
|
+
"classes": mergedClassNames.value,
|
|
327
|
+
"styles": mergedStyles.value
|
|
332
328
|
}, null);
|
|
333
329
|
return createVNode(ResizeObserver, {
|
|
334
330
|
"onResize": onResize,
|
|
@@ -374,10 +370,15 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
374
370
|
...DECORATION_PROPS.map((key) => props[key])
|
|
375
371
|
]
|
|
376
372
|
}), { default: (node, canEllipsis) => {
|
|
377
|
-
return wrapperDecorations(props, createVNode(Fragment, null, [
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
|
|
373
|
+
return wrapperDecorations(props, createVNode(Fragment, null, [
|
|
374
|
+
placement.value === "start" ? renderOperations(canEllipsis) : null,
|
|
375
|
+
node.length > 0 && canEllipsis && !expanded.value && topAriaLabel.value ? createVNode("span", {
|
|
376
|
+
"key": "show-content",
|
|
377
|
+
"aria-hidden": true
|
|
378
|
+
}, [node]) : node,
|
|
379
|
+
createVNode(Fragment, null, [renderEllipsis(canEllipsis)]),
|
|
380
|
+
placement.value === "start" ? null : renderOperations(canEllipsis)
|
|
381
|
+
]));
|
|
381
382
|
} })] })] })] });
|
|
382
383
|
};
|
|
383
384
|
}, {
|
|
@@ -410,6 +411,10 @@ const Base = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) =>
|
|
|
410
411
|
required: false,
|
|
411
412
|
default: void 0
|
|
412
413
|
},
|
|
414
|
+
actions: {
|
|
415
|
+
type: Object,
|
|
416
|
+
required: false
|
|
417
|
+
},
|
|
413
418
|
code: {
|
|
414
419
|
type: Boolean,
|
|
415
420
|
required: false,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { EmptyEmit, VueNode } from "../_util/type.js";
|
|
1
|
+
import { EmptyEmit, VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
|
+
import { TypographySemanticClassNames, TypographySemanticStyles } from "./interface.js";
|
|
2
3
|
import { DirectionType } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
4
|
+
import * as vue150 from "vue";
|
|
4
5
|
import { CSSProperties, SlotsType } from "vue";
|
|
5
6
|
|
|
6
7
|
//#region src/typography/Editable.d.ts
|
|
@@ -16,9 +17,15 @@ interface EditableProps {
|
|
|
16
17
|
'direction'?: DirectionType;
|
|
17
18
|
'maxLength'?: number;
|
|
18
19
|
'autoSize'?: any;
|
|
19
|
-
'enterIcon'?: VueNode;
|
|
20
|
+
'enterIcon'?: VueNode$1;
|
|
20
21
|
'component'?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Semantic class names. `root` applies to the wrapper div, `textarea`
|
|
24
|
+
* applies to the TextArea. Mirrors ant-design 6.4 Editable.
|
|
25
|
+
*/
|
|
26
|
+
'classes'?: TypographySemanticClassNames;
|
|
27
|
+
'styles'?: TypographySemanticStyles;
|
|
21
28
|
}
|
|
22
|
-
declare const Editable:
|
|
29
|
+
declare const Editable: vue150.DefineSetupFnComponent<EditableProps, EmptyEmit, SlotsType<Record<string, never>>, EditableProps, vue150.PublicProps>;
|
|
23
30
|
//#endregion
|
|
24
31
|
export { EditableProps, Editable as default };
|
|
@@ -56,13 +56,18 @@ const Editable = /* @__PURE__ */ defineComponent((props) => {
|
|
|
56
56
|
const icon = props.enterIcon === void 0 ? createVNode(EnterOutlined, null, null) : props.enterIcon;
|
|
57
57
|
return () => {
|
|
58
58
|
const { component, className } = props;
|
|
59
|
+
const classes = props.classes ?? {};
|
|
60
|
+
const styles = props.styles ?? {};
|
|
59
61
|
const textAreaClassName = clsx(prefixCls.value, `${prefixCls.value}-edit-content`, {
|
|
60
62
|
[`${prefixCls.value}-rtl`]: direction.value === "rtl",
|
|
61
63
|
[`${prefixCls.value}-${component}`]: !!component
|
|
62
|
-
}, className, hashId.value, cssVarCls.value);
|
|
64
|
+
}, className, classes.root, hashId.value, cssVarCls.value);
|
|
63
65
|
return createVNode("div", {
|
|
64
66
|
"class": textAreaClassName,
|
|
65
|
-
"style":
|
|
67
|
+
"style": {
|
|
68
|
+
...styles.root,
|
|
69
|
+
...props.style
|
|
70
|
+
}
|
|
66
71
|
}, [createVNode(TextArea_default, {
|
|
67
72
|
"ref": ref,
|
|
68
73
|
"maxlength": maxLength.value,
|
|
@@ -75,7 +80,9 @@ const Editable = /* @__PURE__ */ defineComponent((props) => {
|
|
|
75
80
|
"onBlur": onBlur,
|
|
76
81
|
"aria-label": props["aria-label"],
|
|
77
82
|
"rows": 1,
|
|
78
|
-
"autoSize": autoSize.value
|
|
83
|
+
"autoSize": autoSize.value,
|
|
84
|
+
"class": classes.textarea,
|
|
85
|
+
"style": styles.textarea
|
|
79
86
|
}, null), icon !== null ? cloneElement(icon, { class: `${prefixCls.value}-edit-content-confirm` }) : null]);
|
|
80
87
|
};
|
|
81
88
|
}, {
|
|
@@ -136,6 +143,14 @@ const Editable = /* @__PURE__ */ defineComponent((props) => {
|
|
|
136
143
|
component: {
|
|
137
144
|
type: String,
|
|
138
145
|
required: false
|
|
146
|
+
},
|
|
147
|
+
classes: {
|
|
148
|
+
type: Object,
|
|
149
|
+
required: false
|
|
150
|
+
},
|
|
151
|
+
styles: {
|
|
152
|
+
type: Object,
|
|
153
|
+
required: false
|
|
139
154
|
}
|
|
140
155
|
}, defaults),
|
|
141
156
|
name: "TypographyEditable",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue113 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: vue113.DefineSetupFnComponent<LinkProps, TypographyBaseEmits, SlotsType<TypographySlots>, LinkProps, vue113.PublicProps>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { LinkProps, TypographyBaseEmitsProps, Link as default };
|
package/dist/typography/Link.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue219 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: vue219.DefineSetupFnComponent<ParagraphProps, TypographyBaseEmits, SlotsType<TypographySlots>, ParagraphProps, vue219.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 vue229 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: vue229.DefineSetupFnComponent<TextProps, TypographyBaseEmits, SlotsType<TypographySlots>, TextProps, vue229.PublicProps>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { TextProps, TypographyBaseEmitsProps, Text as default };
|
package/dist/typography/Text.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BlockProps, TypographyBaseEmits, TypographySlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue318 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: vue318.DefineSetupFnComponent<TitleProps, TypographyBaseEmits, SlotsType<TypographySlots>, TitleProps, vue318.PublicProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { TitleProps, TypographyBaseEmitsProps, Title as default };
|
package/dist/typography/Title.js
CHANGED
|
@@ -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 vue227 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: vue227.DefineSetupFnComponent<TypographyBaseProps, EmptyEmit, SlotsType<TypographySlots>, TypographyBaseProps, vue227.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { Typography as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue931 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: vue931.ShallowRef<boolean, boolean>;
|
|
12
|
+
copyLoading: vue931.ShallowRef<boolean, boolean>;
|
|
13
13
|
onClick: (e?: MouseEvent) => Promise<void>;
|
|
14
14
|
};
|
|
15
15
|
//#endregion
|