antdv-next 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/ActionButton.d.ts +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +7 -7
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +4 -9
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/wave/util.d.ts +1 -1
- package/dist/_util/wave/util.js +1 -1
- package/dist/_util/zindexContext.d.ts +2 -2
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +17 -10
- package/dist/alert/Alert.js +9 -3
- package/dist/alert/style/index.d.ts +3 -3
- package/dist/anchor/Anchor.d.ts +3 -3
- package/dist/anchor/Anchor.js +2 -2
- package/dist/anchor/AnchorLink.d.ts +9 -4
- package/dist/anchor/AnchorLink.js +5 -1
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +14614 -14290
- package/dist/antd-with-locales.js +73 -80
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10754 -10431
- package/dist/antd.js +70 -77
- package/dist/app/App.d.ts +2 -2
- package/dist/app/App.js +6 -1
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +6 -6
- package/dist/auto-complete/index.js +1 -1
- package/dist/avatar/Avatar.d.ts +5 -5
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +3 -3
- package/dist/badge/Ribbon.d.ts +4 -4
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +6 -6
- package/dist/badge/style/index.d.ts +7 -2
- package/dist/badge/style/index.js +4 -3
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/border-beam/BorderBeam.d.ts +19 -0
- package/dist/border-beam/BorderBeam.js +82 -0
- package/dist/border-beam/hooks/useBorderSize.d.ts +12 -0
- package/dist/border-beam/hooks/useBorderSize.js +42 -0
- package/dist/border-beam/index.d.ts +3 -0
- package/dist/border-beam/index.js +7 -0
- package/dist/border-beam/style/index.d.ts +7 -0
- package/dist/border-beam/style/index.js +59 -0
- package/dist/border-beam/util.d.ts +11 -0
- package/dist/border-beam/util.js +35 -0
- package/dist/breadcrumb/Breadcrumb.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbItem.d.ts +7 -7
- package/dist/breadcrumb/BreadcrumbSeparator.d.ts +2 -2
- package/dist/breadcrumb/style/index.d.ts +2 -2
- package/dist/breadcrumb/useItemRender.d.ts +2 -2
- package/dist/button/Button.d.ts +4 -4
- package/dist/button/Button.js +1 -0
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/button/style/index.js +5 -0
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +12 -10
- package/dist/calendar/generateCalendar.js +8 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +11 -11
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +6 -6
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +5 -5
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +4 -4
- package/dist/cascader/index.js +11 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +4 -4
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +5 -5
- package/dist/collapse/CollapsePanel.d.ts +5 -5
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +4 -4
- package/dist/color-picker/interface.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +4 -1
- package/dist/components.js +3 -1
- package/dist/config-provider/DisabledContext.d.ts +2 -2
- package/dist/config-provider/SizeContext.d.ts +2 -2
- package/dist/config-provider/context.d.ts +67 -34
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/config-provider/index.js +2 -0
- package/dist/date-picker/PickerButton.d.ts +2 -2
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +5 -5
- package/dist/date-picker/generatePicker/SuffixIcon.js +1 -1
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +4 -4
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +9 -9
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -0
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/style/index.js +13 -3
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +5 -5
- package/dist/descriptions/Item.d.ts +5 -5
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/Row.js +3 -3
- package/dist/descriptions/hooks/useItems.d.ts +13 -13
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +5 -5
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +7 -7
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/index.js +5 -2
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/dropdown/style/index.js +1 -1
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +8 -8
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/BackTop.js +5 -0
- package/dist/float-button/FloatButton.d.ts +8 -7
- package/dist/float-button/FloatButton.js +6 -0
- package/dist/float-button/FloatButtonGroup.d.ts +4 -4
- package/dist/float-button/FloatButtonGroup.js +5 -0
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/PurePanel.js +10 -0
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +8 -4
- package/dist/form/ErrorList.js +13 -2
- package/dist/form/Form.d.ts +9 -2
- package/dist/form/Form.js +10 -4
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +2 -2
- package/dist/form/FormItemInput.d.ts +6 -6
- package/dist/form/FormItemInput.js +6 -2
- package/dist/form/FormItemLabel.d.ts +7 -7
- package/dist/form/context.d.ts +7 -7
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/style/fallbackCmp.d.ts +4 -4
- package/dist/form/style/index.d.ts +2 -2
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +6 -6
- package/dist/image/hooks/usePreviewConfig.d.ts +10 -10
- package/dist/image/index.d.ts +12 -5
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +3 -1
- package/dist/index.js +2 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +10 -7
- package/dist/input/Input.js +8 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/OTPInput.js +4 -0
- package/dist/input/OTP/index.d.ts +4 -4
- package/dist/input/Password.d.ts +4 -4
- package/dist/input/Password.js +4 -0
- package/dist/input/Search.d.ts +14 -4
- package/dist/input/Search.js +19 -2
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +6 -6
- package/dist/input/style/index.d.ts +3 -3
- package/dist/input/style/otp.d.ts +2 -2
- package/dist/input/style/search.d.ts +2 -2
- package/dist/input/style/textarea.d.ts +2 -2
- package/dist/input/style/variants.js +14 -8
- package/dist/input-number/index.d.ts +9 -9
- package/dist/input-number/style/index.d.ts +2 -2
- package/dist/layout/Sider.d.ts +2 -2
- package/dist/layout/index.d.ts +5 -5
- package/dist/layout/layout.d.ts +5 -5
- package/dist/layout/style/index.d.ts +2 -2
- package/dist/layout/style/sider.d.ts +2 -2
- package/dist/locale/index.d.ts +2 -2
- package/dist/locale/useLocale.d.ts +2 -2
- package/dist/masonry/Masonry.d.ts +3 -3
- package/dist/masonry/MasonryItem.d.ts +4 -4
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +6 -6
- package/dist/mentions/index.js +7 -1
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +5 -5
- package/dist/menu/MenuItemGroup.d.ts +4 -4
- package/dist/menu/OverrideContext.d.ts +5 -5
- package/dist/menu/SubMenu.d.ts +4 -4
- package/dist/menu/index.d.ts +3 -3
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/menu/style/index.js +11 -3
- package/dist/menu/style/vertical.js +2 -1
- package/dist/message/PureList.d.ts +28 -0
- package/dist/message/PureList.js +75 -0
- package/dist/message/PurePanel.d.ts +17 -9
- package/dist/message/PurePanel.js +33 -38
- package/dist/message/index.d.ts +3 -0
- package/dist/message/index.js +3 -1
- package/dist/message/interface.d.ts +11 -5
- package/dist/message/style/index.d.ts +12 -6
- package/dist/message/style/index.js +102 -98
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/message/useMessage.js +18 -14
- package/dist/message/util.js +1 -1
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/Modal.js +7 -3
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +4 -4
- package/dist/modal/components/ConfirmOkBtn.d.ts +4 -4
- package/dist/modal/components/NormalCancelBtn.d.ts +4 -4
- package/dist/modal/components/NormalOkBtn.d.ts +4 -4
- package/dist/modal/interface.d.ts +22 -14
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +4 -4
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PureList.d.ts +32 -0
- package/dist/notification/PureList.js +72 -0
- package/dist/notification/PurePanel.d.ts +16 -13
- package/dist/notification/PurePanel.js +42 -19
- package/dist/notification/index.d.ts +3 -0
- package/dist/notification/index.js +3 -1
- package/dist/notification/interface.d.ts +8 -8
- package/dist/notification/style/index.d.ts +27 -26
- package/dist/notification/style/index.js +104 -174
- package/dist/notification/style/notification.d.ts +23 -0
- package/dist/notification/style/notification.js +195 -0
- package/dist/notification/style/placement.d.ts +1 -0
- package/dist/notification/style/placement.js +125 -60
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/notification/useNotification.js +22 -14
- package/dist/notification/util.d.ts +14 -4
- package/dist/notification/util.js +18 -52
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +12 -12
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/interface.d.ts +7 -7
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +6 -7
- package/dist/popconfirm/PurePanel.js +4 -1
- package/dist/popconfirm/index.d.ts +16 -12
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +7 -7
- package/dist/popover/index.d.ts +5 -5
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +7 -7
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +4 -4
- package/dist/result/style/index.js +1 -1
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +4 -4
- package/dist/segmented/index.js +1 -1
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +8 -8
- package/dist/select/index.js +1 -1
- package/dist/select/style/dropdown.js +1 -1
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +10 -5
- package/dist/select/useIcons.d.ts +5 -5
- package/dist/select/usePopupRender.d.ts +2 -2
- package/dist/skeleton/Avatar.d.ts +2 -2
- package/dist/skeleton/Button.d.ts +2 -2
- package/dist/skeleton/Element.d.ts +2 -2
- package/dist/skeleton/Image.d.ts +2 -2
- package/dist/skeleton/Input.d.ts +2 -2
- package/dist/skeleton/Node.d.ts +2 -2
- package/dist/skeleton/Paragraph.d.ts +2 -2
- package/dist/skeleton/Skeleton.d.ts +2 -2
- package/dist/skeleton/Title.d.ts +2 -2
- package/dist/skeleton/style/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.d.ts +3 -3
- package/dist/slider/index.d.ts +2 -2
- package/dist/slider/style/index.d.ts +2 -2
- package/dist/space/Addon.d.ts +2 -2
- package/dist/space/Compact.d.ts +6 -6
- package/dist/space/Item.d.ts +2 -2
- package/dist/space/index.d.ts +6 -6
- package/dist/space/style/addon.d.ts +2 -2
- package/dist/space/style/compact.d.ts +2 -2
- package/dist/space/style/index.d.ts +16 -3
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +4 -4
- package/dist/spin/index.d.ts +7 -7
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/Panel.js +14 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/Splitter.js +8 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/interface.d.ts +21 -4
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +6 -6
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +3 -3
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +8 -8
- package/dist/steps/style/index.d.ts +3 -3
- package/dist/style/compact-item-vertical.js +2 -1
- package/dist/style/compact-item.js +6 -6
- package/dist/switch/index.d.ts +5 -5
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/InternalTable.js +6 -4
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilledColumns.d.ts +14 -0
- package/dist/table/hooks/useFilledColumns.js +41 -0
- package/dist/table/hooks/useFilter/FilterSearch.d.ts +2 -2
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +21 -21
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +9 -7
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +4 -4
- package/dist/tag/CheckableTagGroup.d.ts +4 -4
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +7 -5
- package/dist/tag/index.js +7 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +2 -2
- package/dist/theme/index.d.ts +4 -4
- package/dist/theme/interface/alias.d.ts +14 -0
- package/dist/theme/interface/components.d.ts +118 -116
- package/dist/theme/interface/maps/colors.d.ts +14 -0
- package/dist/theme/interface/maps/font.d.ts +5 -5
- package/dist/theme/themes/default/theme.d.ts +2 -2
- package/dist/theme/themes/shared/genColorMapToken.js +2 -0
- package/dist/theme/useToken.js +1 -1
- package/dist/theme/util/alias.js +2 -0
- package/dist/theme/util/genStyleUtils.d.ts +6 -6
- package/dist/time-picker/index.d.ts +6 -6
- package/dist/time-picker/index.js +4 -0
- package/dist/timeline/Timeline.d.ts +11 -11
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +5 -5
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/index.js +5 -0
- package/dist/tour/interface.d.ts +6 -4
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/panelRender.js +4 -9
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +4 -4
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +4 -4
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/Transfer.js +34 -4
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/interface.d.ts +47 -15
- package/dist/transfer/search.d.ts +4 -4
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/DirectoryTree.js +0 -4
- package/dist/tree/Tree.d.ts +10 -8
- package/dist/tree/Tree.js +0 -4
- package/dist/tree/style/index.d.ts +2 -2
- package/dist/tree/utils/dropIndicator.d.ts +2 -2
- package/dist/tree/utils/iconUtil.d.ts +4 -4
- package/dist/tree-select/index.d.ts +8 -6
- package/dist/tree-select/index.js +1 -1
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +5 -5
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Base/index.js +31 -26
- package/dist/typography/Editable.d.ts +11 -4
- package/dist/typography/Editable.js +18 -3
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Link.js +4 -0
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Paragraph.js +4 -0
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Text.js +4 -0
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Title.js +4 -0
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/interface.d.ts +25 -17
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/upload/Dragger.d.ts +3 -3
- package/dist/upload/Upload.d.ts +2 -2
- package/dist/upload/UploadList/ListItem.d.ts +2 -2
- package/dist/upload/UploadList/index.d.ts +2 -2
- package/dist/upload/index.d.ts +3 -3
- package/dist/upload/style/index.d.ts +2 -2
- package/dist/upload/utils.js +1 -1
- package/dist/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/dist/watermark/index.js +4 -3
- package/package.json +65 -29
- package/web-tags.json +1251 -1233
- package/web-types.json +3794 -3750
- package/dist/notification/style/pure-panel.d.ts +0 -12
- package/dist/notification/style/pure-panel.js +0 -18
- package/dist/notification/style/stack.d.ts +0 -9
- package/dist/notification/style/stack.js +0 -88
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue1051 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/tooltip/UniqueProvider/MotionContent.d.ts
|
|
4
|
-
declare const MotionContent:
|
|
4
|
+
declare const MotionContent: vue1051.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue1051.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { MotionContent as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue987 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/tooltip/UniqueProvider/index.d.ts
|
|
4
|
-
declare const UniqueProvider:
|
|
4
|
+
declare const UniqueProvider: vue987.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue987.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { UniqueProvider as default };
|
package/dist/tooltip/index.d.ts
CHANGED
|
@@ -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 { PresetColorType } from "../_util/colors.js";
|
|
@@ -6,7 +6,7 @@ import { AdjustOverflow } from "../_util/placements.js";
|
|
|
6
6
|
import PurePanel from "./PurePanel.js";
|
|
7
7
|
import UniqueProvider from "./UniqueProvider/index.js";
|
|
8
8
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
9
|
-
import * as
|
|
9
|
+
import * as vue696 from "vue";
|
|
10
10
|
import { CSSProperties, SlotsType } from "vue";
|
|
11
11
|
import { TooltipProps as TooltipProps$1, placements } from "@v-c/tooltip";
|
|
12
12
|
import { ActionType, AlignType } from "@v-c/trigger";
|
|
@@ -73,8 +73,8 @@ interface TriggerCommonApi extends ComponentBaseProps {
|
|
|
73
73
|
interface TooltipProps extends TriggerCommonApi, TooltipEmitsProps {
|
|
74
74
|
afterOpenChange?: (open: boolean) => void;
|
|
75
75
|
builtinPlacements?: typeof placements;
|
|
76
|
-
title?: VueNode;
|
|
77
|
-
overlay?: VueNode;
|
|
76
|
+
title?: VueNode$1;
|
|
77
|
+
overlay?: VueNode$1;
|
|
78
78
|
openClass?: string;
|
|
79
79
|
unique?: boolean;
|
|
80
80
|
}
|
|
@@ -97,7 +97,7 @@ interface TooltipSlots {
|
|
|
97
97
|
interface InternalTooltipProps extends TooltipProps {
|
|
98
98
|
dataPopoverInject?: boolean;
|
|
99
99
|
}
|
|
100
|
-
declare const InternalTooltip:
|
|
100
|
+
declare const InternalTooltip: vue696.DefineSetupFnComponent<InternalTooltipProps, TooltipEmits, SlotsType<TooltipSlots>, InternalTooltipProps, vue696.PublicProps>;
|
|
101
101
|
declare const _default: typeof InternalTooltip & {
|
|
102
102
|
UniqueProvider: typeof UniqueProvider;
|
|
103
103
|
_InternalPanelDoNotUseOrYouWillBeFired: typeof PurePanel;
|
|
@@ -2,7 +2,7 @@ import { ArrowToken } from "../../style/roundedArrow.js";
|
|
|
2
2
|
import { ArrowOffsetToken } from "../../style/placementArrow.js";
|
|
3
3
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
4
4
|
import "../../theme/internal.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1007 from "vue";
|
|
6
6
|
import { ComputedRef } from "vue";
|
|
7
7
|
|
|
8
8
|
//#region src/tooltip/style/index.d.ts
|
|
@@ -20,6 +20,6 @@ interface ComponentToken extends ArrowOffsetToken, ArrowToken {
|
|
|
20
20
|
zIndexPopup: number;
|
|
21
21
|
}
|
|
22
22
|
declare const prepareComponentToken: GetDefaultToken<'Tooltip'>;
|
|
23
|
-
declare const _default: (prefixCls: ComputedRef<string>, rootCls: ComputedRef<string>, injectStyle?: boolean) => readonly [
|
|
23
|
+
declare const _default: (prefixCls: ComputedRef<string>, rootCls: ComputedRef<string>, injectStyle?: boolean) => readonly [vue1007.Ref<string, string>, ComputedRef<string | undefined>];
|
|
24
24
|
//#endregion
|
|
25
25
|
export { ComponentToken, _default as default, prepareComponentToken };
|
package/dist/tour/PurePanel.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TourStepProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue806 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/tour/PurePanel.d.ts
|
|
5
5
|
interface PurePanelProps extends TourStepProps {}
|
|
6
6
|
/** @private Internal Component. Do not use in your production. */
|
|
7
|
-
declare const PurePanel:
|
|
7
|
+
declare const PurePanel: vue806.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue806.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PurePanelProps, PurePanel as default };
|
package/dist/tour/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TourEmits, TourLocale, TourProps as TourProps$1, TourSemanticName, TourSlots, TourStepProps, TourStylesType } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue1063 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/tour/index.d.ts
|
|
@@ -12,7 +12,7 @@ interface TourEmitsProps {
|
|
|
12
12
|
'onUpdate:current'?: TourEmits['update:current'];
|
|
13
13
|
onPopupAlign?: TourEmits['popupAlign'];
|
|
14
14
|
}
|
|
15
|
-
declare const Tour:
|
|
15
|
+
declare const Tour: vue1063.DefineSetupFnComponent<InternalTourProps, TourEmits, SlotsType<TourSlots>, InternalTourProps, vue1063.PublicProps>;
|
|
16
16
|
type TourProps = InternalTourProps;
|
|
17
17
|
type TourStepItem = TourStepProps;
|
|
18
18
|
//#endregion
|
package/dist/tour/index.js
CHANGED
|
@@ -253,6 +253,11 @@ const Tour = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) =>
|
|
|
253
253
|
type: Boolean,
|
|
254
254
|
required: false,
|
|
255
255
|
default: void 0
|
|
256
|
+
},
|
|
257
|
+
keyboard: {
|
|
258
|
+
type: Boolean,
|
|
259
|
+
required: false,
|
|
260
|
+
default: void 0
|
|
256
261
|
}
|
|
257
262
|
},
|
|
258
263
|
emits: [
|
package/dist/tour/interface.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { SemanticClassNames, SemanticClassNamesType, SemanticStyles, SemanticStylesType } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
@@ -19,6 +19,7 @@ interface TourSemanticClassNames {
|
|
|
19
19
|
header?: string;
|
|
20
20
|
title?: string;
|
|
21
21
|
description?: string;
|
|
22
|
+
close?: string;
|
|
22
23
|
}
|
|
23
24
|
interface TourSemanticStyles {
|
|
24
25
|
root?: CSSProperties;
|
|
@@ -32,6 +33,7 @@ interface TourSemanticStyles {
|
|
|
32
33
|
header?: CSSProperties;
|
|
33
34
|
title?: CSSProperties;
|
|
34
35
|
description?: CSSProperties;
|
|
36
|
+
close?: CSSProperties;
|
|
35
37
|
}
|
|
36
38
|
type TourClassNamesType = SemanticClassNamesType<TourProps, TourSemanticClassNames>;
|
|
37
39
|
type TourStylesType = SemanticStylesType<TourProps, TourSemanticStyles>;
|
|
@@ -83,15 +85,15 @@ interface TourSlots {
|
|
|
83
85
|
}) => any;
|
|
84
86
|
}
|
|
85
87
|
interface TourStepProps extends Omit<TourStepProps$1, 'className'> {
|
|
86
|
-
cover?: VueNode;
|
|
88
|
+
cover?: VueNode$1;
|
|
87
89
|
nextButtonProps?: {
|
|
88
|
-
children?: VueNode;
|
|
90
|
+
children?: VueNode$1;
|
|
89
91
|
onClick?: () => void;
|
|
90
92
|
class?: string;
|
|
91
93
|
style?: CSSProperties;
|
|
92
94
|
};
|
|
93
95
|
prevButtonProps?: {
|
|
94
|
-
children?: VueNode;
|
|
96
|
+
children?: VueNode$1;
|
|
95
97
|
onClick?: () => void;
|
|
96
98
|
class?: string;
|
|
97
99
|
style?: CSSProperties;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TourProps, TourStepProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue775 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/tour/panelRender.d.ts
|
|
5
5
|
interface TourPanelProps {
|
|
@@ -23,6 +23,6 @@ interface TourPanelProps {
|
|
|
23
23
|
isLast: boolean;
|
|
24
24
|
}) => any;
|
|
25
25
|
}
|
|
26
|
-
declare const TourPanel:
|
|
26
|
+
declare const TourPanel: vue775.DefineSetupFnComponent<TourPanelProps, {}, {}, TourPanelProps & {}, vue775.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { TourPanel as default };
|
package/dist/tour/panelRender.js
CHANGED
|
@@ -21,7 +21,8 @@ const TourPanel = /* @__PURE__ */ defineComponent((props) => {
|
|
|
21
21
|
const mergedCloseIcon = createVNode("button", mergeProps({
|
|
22
22
|
"type": "button",
|
|
23
23
|
"onClick": onClose,
|
|
24
|
-
"class": `${prefixCls}-close`,
|
|
24
|
+
"class": clsx(`${prefixCls}-close`, classes.close),
|
|
25
|
+
"style": styles.close,
|
|
25
26
|
"aria-label": contextLocaleGlobal?.value.close
|
|
26
27
|
}, ariaProps), [closable?.closeIcon || createVNode(CloseOutlined, { "class": `${prefixCls}-close-icon` }, null)]);
|
|
27
28
|
const isLastStep = current === total - 1;
|
|
@@ -133,14 +134,8 @@ const TourPanel = /* @__PURE__ */ defineComponent((props) => {
|
|
|
133
134
|
type: Function,
|
|
134
135
|
required: false
|
|
135
136
|
},
|
|
136
|
-
classes: {
|
|
137
|
-
|
|
138
|
-
required: false
|
|
139
|
-
},
|
|
140
|
-
styles: {
|
|
141
|
-
type: [Object, Function],
|
|
142
|
-
required: false
|
|
143
|
-
},
|
|
137
|
+
classes: { required: false },
|
|
138
|
+
styles: { required: false },
|
|
144
139
|
actionsRender: {
|
|
145
140
|
type: Function,
|
|
146
141
|
required: false
|
|
@@ -2,7 +2,7 @@ import { ArrowToken } from "../../style/roundedArrow.js";
|
|
|
2
2
|
import { ArrowOffsetToken } from "../../style/placementArrow.js";
|
|
3
3
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
4
4
|
import "../../theme/internal.js";
|
|
5
|
-
import * as
|
|
5
|
+
import * as vue1012 from "vue";
|
|
6
6
|
|
|
7
7
|
//#region src/tour/style/index.d.ts
|
|
8
8
|
interface ComponentToken extends ArrowOffsetToken, ArrowToken {
|
|
@@ -28,6 +28,6 @@ interface ComponentToken extends ArrowOffsetToken, ArrowToken {
|
|
|
28
28
|
primaryNextBtnHoverBg: string;
|
|
29
29
|
}
|
|
30
30
|
declare const prepareComponentToken: GetDefaultToken<'Tour'>;
|
|
31
|
-
declare const _default: (prefixCls:
|
|
31
|
+
declare const _default: (prefixCls: vue1012.Ref<string>, rootCls?: vue1012.Ref<string | undefined>) => readonly [vue1012.Ref<string, string>, vue1012.ComputedRef<string | undefined>];
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { DirectionType } from "../config-provider/context.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue859 from "vue";
|
|
4
4
|
import { CSSProperties } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/transfer/Actions.d.ts
|
|
7
7
|
interface TransferOperationProps {
|
|
8
8
|
class?: string;
|
|
9
|
-
actions: VueNode[];
|
|
9
|
+
actions: VueNode$1[];
|
|
10
10
|
moveToLeft?: (event: MouseEvent) => void;
|
|
11
11
|
moveToRight?: (event: MouseEvent) => void;
|
|
12
12
|
leftActive?: boolean;
|
|
@@ -16,6 +16,6 @@ interface TransferOperationProps {
|
|
|
16
16
|
direction?: DirectionType;
|
|
17
17
|
oneWay?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const Actions:
|
|
19
|
+
declare const Actions: vue859.DefineSetupFnComponent<TransferOperationProps, {}, {}, TransferOperationProps & {}, vue859.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { TransferOperationProps, Actions as default };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { KeyWiseTransferItem, RenderedItem, TransferListBodyProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue967 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/transfer/ListBody.d.ts
|
|
5
5
|
type ExistPagination = Exclude<TransferListBodyProps<KeyWiseTransferItem>['pagination'], boolean>;
|
|
6
6
|
interface ListBodyRef<RecordType extends KeyWiseTransferItem> {
|
|
7
7
|
items?: RenderedItem<RecordType>[];
|
|
8
8
|
}
|
|
9
|
-
declare const TransferListBody:
|
|
9
|
+
declare const TransferListBody: vue967.DefineSetupFnComponent<TransferListBodyProps<KeyWiseTransferItem>, {}, {}, TransferListBodyProps<KeyWiseTransferItem> & {}, vue967.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ExistPagination, ListBodyRef, TransferListBody as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
2
|
import { KeyWiseTransferItem, TransferSemanticClassNames, TransferSemanticStyles } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue824 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/ListItem.d.ts
|
|
6
6
|
interface ListItemProps<RecordType> {
|
|
@@ -8,7 +8,7 @@ interface ListItemProps<RecordType> {
|
|
|
8
8
|
classes: TransferSemanticClassNames;
|
|
9
9
|
styles: TransferSemanticStyles;
|
|
10
10
|
renderedText?: string | number;
|
|
11
|
-
renderedEl: VueNode;
|
|
11
|
+
renderedEl: VueNode$1;
|
|
12
12
|
disabled?: boolean;
|
|
13
13
|
checked?: boolean;
|
|
14
14
|
onClick: (item: RecordType, e: MouseEvent) => void;
|
|
@@ -16,6 +16,6 @@ interface ListItemProps<RecordType> {
|
|
|
16
16
|
item: RecordType;
|
|
17
17
|
showRemove?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const ListItem:
|
|
19
|
+
declare const ListItem: vue824.DefineSetupFnComponent<ListItemProps<KeyWiseTransferItem>, {}, {}, ListItemProps<KeyWiseTransferItem> & {}, vue824.PublicProps>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { ListItem as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyWiseTransferItem, TransferListProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue130 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/transfer/Section.d.ts
|
|
5
|
-
declare const TransferSection:
|
|
5
|
+
declare const TransferSection: vue130.DefineSetupFnComponent<TransferListProps<KeyWiseTransferItem>, {}, {}, TransferListProps<KeyWiseTransferItem> & {}, vue130.PublicProps>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TransferSection as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransferEmits, TransferProps, TransferSlots } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue92 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/Transfer.d.ts
|
|
@@ -12,6 +12,6 @@ interface TransferEmitsProps {
|
|
|
12
12
|
'onUpdate:targetKeys'?: TransferEmits['update:targetKeys'];
|
|
13
13
|
'onUpdate:selectedKeys'?: TransferEmits['update:selectedKeys'];
|
|
14
14
|
}
|
|
15
|
-
declare const Transfer:
|
|
15
|
+
declare const Transfer: vue92.DefineSetupFnComponent<InternalTransferProps, TransferEmits, SlotsType<TransferSlots<any>>, InternalTransferProps, vue92.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { InternalTransferProps, TransferEmitsProps, Transfer as default };
|
|
@@ -164,6 +164,36 @@ const Transfer = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit })
|
|
|
164
164
|
const hasFeedback = computed(() => formItemInputContext.value.hasFeedback);
|
|
165
165
|
const mergedStatus = computed(() => getMergedStatus(formItemInputContext.value.status, props.status));
|
|
166
166
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, styles), useToProps(mergedProps));
|
|
167
|
+
const SECTION_SEMANTIC_KEYS = [
|
|
168
|
+
"section",
|
|
169
|
+
"header",
|
|
170
|
+
"title",
|
|
171
|
+
"body",
|
|
172
|
+
"list",
|
|
173
|
+
"item",
|
|
174
|
+
"itemIcon",
|
|
175
|
+
"itemContent",
|
|
176
|
+
"footer"
|
|
177
|
+
];
|
|
178
|
+
function mergeSideClasses(side) {
|
|
179
|
+
const sideOverrides = mergedClassNames.value[side] ?? {};
|
|
180
|
+
const next = { ...mergedClassNames.value };
|
|
181
|
+
SECTION_SEMANTIC_KEYS.forEach((key) => {
|
|
182
|
+
if (sideOverrides[key]) next[key] = clsx(mergedClassNames.value[key], sideOverrides[key]);
|
|
183
|
+
});
|
|
184
|
+
return next;
|
|
185
|
+
}
|
|
186
|
+
function mergeSideStyles(side) {
|
|
187
|
+
const sideOverrides = mergedStyles.value[side] ?? {};
|
|
188
|
+
const next = { ...mergedStyles.value };
|
|
189
|
+
SECTION_SEMANTIC_KEYS.forEach((key) => {
|
|
190
|
+
if (sideOverrides[key]) next[key] = {
|
|
191
|
+
...mergedStyles.value[key],
|
|
192
|
+
...sideOverrides[key]
|
|
193
|
+
};
|
|
194
|
+
});
|
|
195
|
+
return next;
|
|
196
|
+
}
|
|
167
197
|
const [contextLocale] = useLocale_default("Transfer", en_US_default.Transfer);
|
|
168
198
|
const listLocale = computed(() => ({
|
|
169
199
|
...contextLocale?.value,
|
|
@@ -230,8 +260,8 @@ const Transfer = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit })
|
|
|
230
260
|
createVNode(Section_default, mergeProps({
|
|
231
261
|
"prefixCls": prefixCls.value,
|
|
232
262
|
"style": handleListStyle("left"),
|
|
233
|
-
"classes":
|
|
234
|
-
"styles":
|
|
263
|
+
"classes": mergeSideClasses("source"),
|
|
264
|
+
"styles": mergeSideStyles("source"),
|
|
235
265
|
"titleText": leftTitle,
|
|
236
266
|
"dataSource": leftDataSource.value,
|
|
237
267
|
"filterOption": props.filterOption,
|
|
@@ -271,8 +301,8 @@ const Transfer = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit })
|
|
|
271
301
|
createVNode(Section_default, mergeProps({
|
|
272
302
|
"prefixCls": prefixCls.value,
|
|
273
303
|
"style": handleListStyle("right"),
|
|
274
|
-
"classes":
|
|
275
|
-
"styles":
|
|
304
|
+
"classes": mergeSideClasses("target"),
|
|
305
|
+
"styles": mergeSideStyles("target"),
|
|
276
306
|
"titleText": rightTitle,
|
|
277
307
|
"dataSource": rightDataSource.value,
|
|
278
308
|
"filterOption": props.filterOption,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AnyObject } from "../../_util/type.js";
|
|
2
2
|
import { KeyWise, TransferKey, TransferProps } from "../interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue928 from "vue";
|
|
4
4
|
import { Ref } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/transfer/hooks/useData.d.ts
|
|
7
7
|
type MaybeRef<T> = T | Ref<T>;
|
|
8
|
-
declare function useData<RecordType extends AnyObject>(dataSource?: MaybeRef<RecordType[] | undefined>, rowKey?: MaybeRef<TransferProps<RecordType>['rowKey']>, targetKeys?: MaybeRef<TransferKey[] | undefined>): readonly [
|
|
8
|
+
declare function useData<RecordType extends AnyObject>(dataSource?: MaybeRef<RecordType[] | undefined>, rowKey?: MaybeRef<TransferProps<RecordType>['rowKey']>, targetKeys?: MaybeRef<TransferKey[] | undefined>): readonly [vue928.ComputedRef<RecordType[]>, vue928.ComputedRef<KeyWise<RecordType>[]>, vue928.ComputedRef<KeyWise<RecordType>[]>];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { useData 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 { InputStatus } from "../_util/statusUtils.js";
|
|
@@ -15,10 +15,10 @@ type PaginationType = boolean | {
|
|
|
15
15
|
};
|
|
16
16
|
type TransferDirection = 'left' | 'right';
|
|
17
17
|
interface RenderResultObject {
|
|
18
|
-
label: VueNode;
|
|
18
|
+
label: VueNode$1;
|
|
19
19
|
value: string;
|
|
20
20
|
}
|
|
21
|
-
type RenderResult = VueNode | RenderResultObject | string | null;
|
|
21
|
+
type RenderResult = VueNode$1 | RenderResultObject | string | null;
|
|
22
22
|
interface TransferItem {
|
|
23
23
|
key?: TransferKey;
|
|
24
24
|
title?: string;
|
|
@@ -34,13 +34,13 @@ type TransferRender<RecordType> = (item: RecordType) => RenderResult;
|
|
|
34
34
|
interface ListStyle {
|
|
35
35
|
direction: TransferDirection;
|
|
36
36
|
}
|
|
37
|
-
type SelectAllLabel = VueNode | ((info: {
|
|
37
|
+
type SelectAllLabel = VueNode$1 | ((info: {
|
|
38
38
|
selectedCount: number;
|
|
39
39
|
totalCount: number;
|
|
40
|
-
}) => VueNode);
|
|
40
|
+
}) => VueNode$1);
|
|
41
41
|
interface TransferLocale {
|
|
42
|
-
titles?: VueNode[];
|
|
43
|
-
notFoundContent?: VueNode | VueNode[];
|
|
42
|
+
titles?: VueNode$1[];
|
|
43
|
+
notFoundContent?: VueNode$1 | VueNode$1[];
|
|
44
44
|
searchPlaceholder: string;
|
|
45
45
|
itemUnit: string;
|
|
46
46
|
itemsUnit: string;
|
|
@@ -56,6 +56,32 @@ interface TransferSearchOption {
|
|
|
56
56
|
placeholder?: string;
|
|
57
57
|
defaultValue?: string;
|
|
58
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* @since 1.3.0 (mirrors ant-design#57101)
|
|
61
|
+
* Per-side semantic overrides applied on top of the shared keys.
|
|
62
|
+
*/
|
|
63
|
+
interface TransferSectionSemanticClassNames {
|
|
64
|
+
section?: string;
|
|
65
|
+
header?: string;
|
|
66
|
+
title?: string;
|
|
67
|
+
body?: string;
|
|
68
|
+
list?: string;
|
|
69
|
+
item?: string;
|
|
70
|
+
itemIcon?: string;
|
|
71
|
+
itemContent?: string;
|
|
72
|
+
footer?: string;
|
|
73
|
+
}
|
|
74
|
+
interface TransferSectionSemanticStyles {
|
|
75
|
+
section?: CSSProperties;
|
|
76
|
+
header?: CSSProperties;
|
|
77
|
+
title?: CSSProperties;
|
|
78
|
+
body?: CSSProperties;
|
|
79
|
+
list?: CSSProperties;
|
|
80
|
+
item?: CSSProperties;
|
|
81
|
+
itemIcon?: CSSProperties;
|
|
82
|
+
itemContent?: CSSProperties;
|
|
83
|
+
footer?: CSSProperties;
|
|
84
|
+
}
|
|
59
85
|
interface TransferSemanticClassNames {
|
|
60
86
|
root?: string;
|
|
61
87
|
section?: string;
|
|
@@ -68,6 +94,10 @@ interface TransferSemanticClassNames {
|
|
|
68
94
|
itemContent?: string;
|
|
69
95
|
footer?: string;
|
|
70
96
|
actions?: string;
|
|
97
|
+
/** Per-side overrides applied on top of the shared keys. */
|
|
98
|
+
source?: TransferSectionSemanticClassNames;
|
|
99
|
+
/** Per-side overrides applied on top of the shared keys. */
|
|
100
|
+
target?: TransferSectionSemanticClassNames;
|
|
71
101
|
}
|
|
72
102
|
interface TransferSemanticStyles {
|
|
73
103
|
root?: CSSProperties;
|
|
@@ -81,6 +111,8 @@ interface TransferSemanticStyles {
|
|
|
81
111
|
itemContent?: CSSProperties;
|
|
82
112
|
footer?: CSSProperties;
|
|
83
113
|
actions?: CSSProperties;
|
|
114
|
+
source?: TransferSectionSemanticStyles;
|
|
115
|
+
target?: TransferSectionSemanticStyles;
|
|
84
116
|
}
|
|
85
117
|
type TransferClassNamesType = SemanticClassNamesType<TransferProps, TransferSemanticClassNames>;
|
|
86
118
|
type TransferStylesType = SemanticStylesType<TransferProps, TransferSemanticStyles>;
|
|
@@ -89,7 +121,7 @@ interface TransferListProps<RecordType> extends TransferLocale {
|
|
|
89
121
|
style?: CSSProperties;
|
|
90
122
|
classes?: TransferSemanticClassNames;
|
|
91
123
|
styles?: TransferSemanticStyles;
|
|
92
|
-
titleText: VueNode;
|
|
124
|
+
titleText: VueNode$1;
|
|
93
125
|
dataSource: RecordType[];
|
|
94
126
|
filterOption?: (filterText: string, item: RecordType, direction: TransferDirection) => boolean;
|
|
95
127
|
checkedKeys: TransferKey[];
|
|
@@ -112,11 +144,11 @@ interface TransferListProps<RecordType> extends TransferLocale {
|
|
|
112
144
|
selectAllLabel?: SelectAllLabel;
|
|
113
145
|
showRemove?: boolean;
|
|
114
146
|
pagination?: PaginationType;
|
|
115
|
-
selectionsIcon?: VueNode;
|
|
147
|
+
selectionsIcon?: VueNode$1;
|
|
116
148
|
}
|
|
117
149
|
interface RenderedItem<RecordType> {
|
|
118
150
|
renderedText: string;
|
|
119
|
-
renderedEl: VueNode;
|
|
151
|
+
renderedEl: VueNode$1;
|
|
120
152
|
item: RecordType;
|
|
121
153
|
}
|
|
122
154
|
declare const OmitProps: readonly ["handleFilter", "handleClear", "checkedKeys"];
|
|
@@ -141,10 +173,10 @@ interface TransferProps<RecordType = any> extends ComponentBaseProps {
|
|
|
141
173
|
selectedKeys?: TransferKey[];
|
|
142
174
|
render?: TransferRender<RecordType>;
|
|
143
175
|
labelRender?: (item: RecordType) => any;
|
|
144
|
-
titles?: VueNode[];
|
|
176
|
+
titles?: VueNode$1[];
|
|
145
177
|
/** @deprecated Please use `actions` instead. */
|
|
146
|
-
operations?: VueNode[];
|
|
147
|
-
actions?: VueNode[];
|
|
178
|
+
operations?: VueNode$1[];
|
|
179
|
+
actions?: VueNode$1[];
|
|
148
180
|
showSearch?: boolean | TransferSearchOption;
|
|
149
181
|
filterOption?: (inputValue: string, item: RecordType, direction: TransferDirection) => boolean;
|
|
150
182
|
locale?: Partial<TransferLocale>;
|
|
@@ -157,7 +189,7 @@ interface TransferProps<RecordType = any> extends ComponentBaseProps {
|
|
|
157
189
|
oneWay?: boolean;
|
|
158
190
|
pagination?: PaginationType;
|
|
159
191
|
status?: InputStatus;
|
|
160
|
-
selectionsIcon?: VueNode;
|
|
192
|
+
selectionsIcon?: VueNode$1;
|
|
161
193
|
}
|
|
162
194
|
interface TransferEmits {
|
|
163
195
|
'change': (targetKeys: TransferKey[], direction: TransferDirection, moveKeys: TransferKey[]) => void;
|
|
@@ -182,4 +214,4 @@ interface TransferSlots<RecordType = any> {
|
|
|
182
214
|
actions?: () => any;
|
|
183
215
|
}
|
|
184
216
|
//#endregion
|
|
185
|
-
export { KeyWise, KeyWiseTransferItem, ListStyle, OmitProp, OmitProps, PaginationType, RenderResult, RenderResultObject, RenderedItem, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSemanticClassNames, TransferSemanticStyles, TransferSlots, TransferStylesType };
|
|
217
|
+
export { KeyWise, KeyWiseTransferItem, ListStyle, OmitProp, OmitProps, PaginationType, RenderResult, RenderResultObject, RenderedItem, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferProps, TransferRender, TransferSearchOption, TransferSectionSemanticClassNames, TransferSectionSemanticStyles, TransferSemanticClassNames, TransferSemanticStyles, TransferSlots, TransferStylesType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { VueNode } from "../_util/type.js";
|
|
2
|
-
import * as
|
|
1
|
+
import { VueNode as VueNode$1 } from "../_util/type.js";
|
|
2
|
+
import * as vue88 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/search.d.ts
|
|
@@ -18,8 +18,8 @@ interface TransferSearchEmitsProps {
|
|
|
18
18
|
onClear?: TransferSearchEmits['clear'];
|
|
19
19
|
}
|
|
20
20
|
interface TransferSearchSlots {
|
|
21
|
-
prefix?: () => VueNode;
|
|
21
|
+
prefix?: () => VueNode$1;
|
|
22
22
|
}
|
|
23
|
-
declare const Search:
|
|
23
|
+
declare const Search: vue88.DefineSetupFnComponent<TransferSearchProps, TransferSearchEmits, SlotsType<TransferSearchSlots>, TransferSearchProps, vue88.PublicProps>;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { TransferSearchEmits, TransferSearchEmitsProps, TransferSearchProps, TransferSearchSlots, Search as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue940 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -36,6 +36,6 @@ interface ComponentToken {
|
|
|
36
36
|
headerHeight: number | string;
|
|
37
37
|
}
|
|
38
38
|
declare const prepareComponentToken: GetDefaultToken<'Transfer'>;
|
|
39
|
-
declare const _default: (prefixCls:
|
|
39
|
+
declare const _default: (prefixCls: vue940.Ref<string>, rootCls?: vue940.Ref<string | undefined>) => readonly [vue940.Ref<string, string>, vue940.ComputedRef<string | undefined>];
|
|
40
40
|
//#endregion
|
|
41
41
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TreeEmits, TreeProps as TreeProps$1, TreeSlots } from "./Tree.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue761 from "vue";
|
|
3
3
|
import { SlotsType } from "vue";
|
|
4
4
|
import { BasicDataNode, DataNode } from "@v-c/tree";
|
|
5
5
|
|
|
@@ -12,6 +12,6 @@ interface DirectoryTreeEmits extends TreeEmits {}
|
|
|
12
12
|
type DirectoryTreeEmitsProps = { [K in keyof DirectoryTreeEmits as `on${Capitalize<string & K>}`]?: DirectoryTreeEmits[K] };
|
|
13
13
|
type DirectoryTreeEmitsType = DirectoryTreeEmitsProps;
|
|
14
14
|
interface DirectoryTreeSlots extends TreeSlots {}
|
|
15
|
-
declare const DirectoryTree:
|
|
15
|
+
declare const DirectoryTree: vue761.DefineSetupFnComponent<DirectoryTreeProps<BasicDataNode>, DirectoryTreeEmits, SlotsType<DirectoryTreeSlots>, DirectoryTreeProps<BasicDataNode>, vue761.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DirectoryTreeEmits, DirectoryTreeEmitsProps, DirectoryTreeEmitsType, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction, DirectoryTree as default };
|
|
@@ -355,10 +355,6 @@ const DirectoryTree = /* @__PURE__ */ defineComponent((props, { slots, emit, exp
|
|
|
355
355
|
type: Function,
|
|
356
356
|
required: false
|
|
357
357
|
},
|
|
358
|
-
onMouseUp: {
|
|
359
|
-
type: Function,
|
|
360
|
-
required: false
|
|
361
|
-
},
|
|
362
358
|
loadData: {
|
|
363
359
|
type: Function,
|
|
364
360
|
required: false
|