antdv-next 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/ActionButton.d.ts +2 -2
- package/dist/_util/ContextIsolator.d.ts +3 -3
- package/dist/_util/PurePanel.d.ts +3 -3
- package/dist/_util/hooks/useClosable.d.ts +2 -2
- package/dist/_util/hooks/useMergeSemantic.d.ts +4 -4
- package/dist/_util/hooks/useMergedMask.d.ts +3 -3
- package/dist/_util/instance.d.ts +2 -2
- package/dist/_util/responsiveObserver.d.ts +2 -2
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +7 -2
- package/dist/_util/wave/WaveEffect.d.ts +5 -5
- package/dist/_util/wave/index.d.ts +2 -2
- package/dist/_util/wave/style.d.ts +2 -2
- package/dist/_util/zindexContext.d.ts +3 -3
- package/dist/affix/index.d.ts +3 -3
- package/dist/affix/style/index.d.ts +2 -2
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/style/index.d.ts +2 -2
- package/dist/anchor/Anchor.d.ts +2 -2
- package/dist/anchor/AnchorLink.d.ts +2 -2
- package/dist/anchor/style/index.d.ts +2 -2
- package/dist/antd-with-locales.esm.js +12783 -10789
- package/dist/antd-with-locales.js +81 -85
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +11588 -9596
- package/dist/antd.js +81 -85
- package/dist/app/App.d.ts +2 -2
- package/dist/app/context.d.ts +2 -2
- package/dist/app/style/index.d.ts +2 -2
- package/dist/auto-complete/index.d.ts +2 -2
- package/dist/avatar/Avatar.d.ts +2 -2
- package/dist/avatar/AvatarGroup.d.ts +2 -2
- package/dist/avatar/style/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +2 -2
- package/dist/badge/ScrollNumber.d.ts +2 -2
- package/dist/badge/SingleNumber.d.ts +2 -2
- package/dist/badge/index.d.ts +3 -3
- package/dist/badge/style/index.d.ts +2 -2
- package/dist/badge/style/ribbon.d.ts +2 -2
- package/dist/breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/breadcrumb/BreadcrumbItem.d.ts +3 -3
- 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 +2 -2
- package/dist/button/DefaultLoadingIcon.d.ts +2 -2
- package/dist/button/IconWrapper.d.ts +2 -2
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/compact.d.ts +4 -4
- package/dist/button/style/index.d.ts +2 -2
- package/dist/calendar/Header.d.ts +2 -2
- package/dist/calendar/generateCalendar.d.ts +2 -2
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/style/index.d.ts +2 -2
- package/dist/card/Card.d.ts +2 -2
- package/dist/card/CardGrid.d.ts +2 -2
- package/dist/card/CardMeta.d.ts +2 -2
- package/dist/card/style/index.d.ts +2 -2
- package/dist/carousel/index.d.ts +2 -2
- package/dist/carousel/style/index.d.ts +2 -2
- package/dist/cascader/Panel.d.ts +2 -2
- package/dist/cascader/hooks/useBase.d.ts +5 -5
- package/dist/cascader/hooks/useCheckable.d.ts +2 -2
- package/dist/cascader/index.d.ts +2 -2
- package/dist/cascader/style/index.d.ts +2 -2
- package/dist/cascader/style/panel.d.ts +2 -2
- package/dist/checkbox/Checkbox.d.ts +2 -2
- package/dist/checkbox/Group.d.ts +2 -2
- package/dist/checkbox/style/index.d.ts +4 -4
- package/dist/collapse/Collapse.d.ts +5 -3
- package/dist/collapse/Collapse.js +19 -2
- package/dist/collapse/CollapsePanel.d.ts +17 -5
- package/dist/collapse/CollapsePanel.js +77 -69
- package/dist/collapse/index.d.ts +2 -2
- package/dist/collapse/index.js +3 -1
- package/dist/collapse/style/index.d.ts +2 -2
- package/dist/color-picker/ColorPicker.d.ts +2 -2
- package/dist/color-picker/ColorPickerPanel.d.ts +2 -2
- package/dist/color-picker/components/ColorAlphaInput.d.ts +2 -2
- package/dist/color-picker/components/ColorClear.d.ts +2 -2
- package/dist/color-picker/components/ColorHexInput.d.ts +2 -2
- package/dist/color-picker/components/ColorHsbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorInput.d.ts +2 -2
- package/dist/color-picker/components/ColorPresets.d.ts +2 -2
- package/dist/color-picker/components/ColorRgbInput.d.ts +2 -2
- package/dist/color-picker/components/ColorSlider.d.ts +3 -3
- package/dist/color-picker/components/ColorSteppers.d.ts +2 -2
- package/dist/color-picker/components/ColorTrigger.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/GradientColorBar.d.ts +2 -2
- package/dist/color-picker/components/PanelPicker/index.d.ts +2 -2
- package/dist/color-picker/components/PanelPresets.d.ts +2 -2
- package/dist/color-picker/context.d.ts +3 -3
- package/dist/color-picker/hooks/useModeColor.d.ts +2 -2
- package/dist/color-picker/style/index.d.ts +2 -2
- package/dist/components.d.ts +4 -2
- package/dist/components.js +5 -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 +15 -15
- package/dist/config-provider/defaultRenderEmpty.d.ts +2 -2
- package/dist/config-provider/hooks/useCSSVarCls.d.ts +2 -2
- package/dist/config-provider/hooks/useConfig.d.ts +3 -3
- package/dist/config-provider/hooks/useSize.d.ts +2 -2
- package/dist/config-provider/hooks/useTheme.d.ts +2 -2
- package/dist/config-provider/index.d.ts +4 -4
- package/dist/date-picker/generatePicker/SuffixIcon.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateRangePicker.d.ts +2 -2
- package/dist/date-picker/generatePicker/generateSinglePicker.d.ts +7 -7
- package/dist/date-picker/generatePicker/index.d.ts +8 -8
- package/dist/date-picker/generatePicker/useComponents.d.ts +11 -11
- package/dist/date-picker/index.d.ts +13 -13
- package/dist/date-picker/style/index.d.ts +2 -2
- package/dist/date-picker/util.d.ts +3 -3
- package/dist/descriptions/Cell.d.ts +2 -2
- package/dist/descriptions/Item.d.ts +2 -2
- package/dist/descriptions/Row.d.ts +2 -2
- package/dist/descriptions/hooks/useItems.d.ts +10 -10
- package/dist/descriptions/hooks/useRow.d.ts +2 -2
- package/dist/descriptions/index.d.ts +2 -2
- package/dist/descriptions/index.js +1 -1
- package/dist/descriptions/style/index.d.ts +2 -2
- package/dist/divider/index.d.ts +2 -2
- package/dist/divider/style/index.d.ts +2 -2
- package/dist/drawer/DrawerPanel.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -3
- package/dist/drawer/style/index.d.ts +2 -2
- package/dist/drawer/useFocusable.d.ts +2 -2
- package/dist/dropdown/dropdown.d.ts +2 -2
- package/dist/dropdown/style/index.d.ts +2 -2
- package/dist/empty/empty.d.ts +2 -2
- package/dist/empty/index.d.ts +5 -5
- package/dist/empty/simple.d.ts +2 -2
- package/dist/empty/style/index.d.ts +2 -2
- package/dist/flex/index.d.ts +2 -2
- package/dist/flex/style/index.d.ts +2 -2
- package/dist/float-button/BackTop.d.ts +2 -2
- package/dist/float-button/FloatButton.d.ts +2 -2
- package/dist/float-button/FloatButtonGroup.d.ts +2 -2
- package/dist/float-button/PurePanel.d.ts +2 -2
- package/dist/float-button/context.d.ts +3 -3
- package/dist/float-button/style/index.d.ts +2 -2
- package/dist/form/ErrorList.d.ts +2 -2
- package/dist/form/Form.d.ts +2 -2
- package/dist/form/FormItem/ItemHolder.d.ts +3 -3
- package/dist/form/FormItem/ItemHolder.js +1 -1
- package/dist/form/FormItem/StatusProvider.d.ts +2 -2
- package/dist/form/FormItem/index.d.ts +5 -5
- package/dist/form/FormItem/index.js +24 -13
- package/dist/form/FormItemInput.d.ts +2 -2
- package/dist/form/FormItemLabel.d.ts +3 -3
- package/dist/form/context.d.ts +6 -6
- 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/form/types.d.ts +6 -3
- package/dist/form/utils/messages.d.ts +1 -0
- package/dist/form/utils/messages.js +1 -0
- package/dist/form/utils/validateUtil.js +2 -0
- package/dist/grid/col.d.ts +2 -2
- package/dist/grid/index.d.ts +2 -2
- package/dist/grid/row.d.ts +2 -2
- package/dist/grid/style/index.d.ts +3 -3
- package/dist/image/PreviewGroup.d.ts +12 -12
- package/dist/image/hooks/useMergedPreviewConfig.d.ts +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +11 -11
- package/dist/image/index.d.ts +3 -3
- package/dist/image/style/index.d.ts +2 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -1
- package/dist/input/Group.d.ts +3 -3
- package/dist/input/Input.d.ts +2 -2
- package/dist/input/OTP/OTPInput.d.ts +3 -3
- package/dist/input/OTP/index.d.ts +2 -2
- package/dist/input/Password.d.ts +2 -2
- package/dist/input/Search.d.ts +2 -2
- package/dist/input/Search.js +3 -4
- package/dist/input/TextArea.d.ts +2 -2
- package/dist/input/index.d.ts +7 -7
- 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-number/index.d.ts +2 -2
- 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/locale/zh_CN.js +2 -2
- package/dist/masonry/Masonry.d.ts +2 -2
- package/dist/masonry/MasonryItem.d.ts +2 -2
- package/dist/masonry/hooks/usePositions.d.ts +2 -2
- package/dist/masonry/style/index.d.ts +2 -2
- package/dist/mentions/index.d.ts +2 -2
- package/dist/mentions/style/index.d.ts +2 -2
- package/dist/menu/MenuContext.d.ts +3 -3
- package/dist/menu/MenuDivider.d.ts +2 -2
- package/dist/menu/MenuItem.d.ts +2 -2
- package/dist/menu/MenuItemGroup.d.ts +16 -0
- package/dist/menu/MenuItemGroup.js +51 -0
- package/dist/menu/OverrideContext.d.ts +3 -3
- package/dist/menu/SubMenu.d.ts +2 -2
- package/dist/menu/index.d.ts +7 -5
- package/dist/menu/index.js +4 -1
- package/dist/menu/menu.d.ts +2 -2
- package/dist/menu/menu.js +5 -14
- package/dist/menu/style/index.d.ts +2 -2
- package/dist/message/PurePanel.d.ts +3 -3
- package/dist/message/style/index.d.ts +2 -2
- package/dist/message/useMessage.d.ts +3 -3
- package/dist/modal/ConfirmDialog.d.ts +4 -4
- package/dist/modal/Modal.d.ts +2 -2
- package/dist/modal/PurePanel.d.ts +2 -2
- package/dist/modal/components/ConfirmCancelBtn.d.ts +2 -2
- package/dist/modal/components/ConfirmOkBtn.d.ts +2 -2
- package/dist/modal/components/NormalCancelBtn.d.ts +2 -2
- package/dist/modal/components/NormalOkBtn.d.ts +2 -2
- package/dist/modal/shared.d.ts +4 -4
- package/dist/modal/style/confirm.d.ts +4 -4
- package/dist/modal/style/index.d.ts +2 -2
- package/dist/modal/useModal/HookModal.d.ts +3 -3
- package/dist/notification/PurePanel.d.ts +3 -3
- package/dist/notification/style/index.d.ts +2 -2
- package/dist/notification/style/pure-panel.d.ts +4 -4
- package/dist/notification/useNotification.d.ts +3 -3
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.d.ts +2 -2
- package/dist/pagination/Pagination.js +6 -6
- package/dist/pagination/style/bordered.d.ts +4 -4
- package/dist/pagination/style/index.d.ts +2 -2
- package/dist/popconfirm/PurePanel.d.ts +3 -3
- package/dist/popconfirm/index.d.ts +2 -2
- package/dist/popconfirm/style/index.d.ts +2 -2
- package/dist/popover/PurePanel.d.ts +4 -4
- package/dist/popover/index.d.ts +2 -2
- package/dist/popover/style/index.d.ts +2 -2
- package/dist/progress/Circle.d.ts +3 -3
- package/dist/progress/Line.d.ts +3 -3
- package/dist/progress/Steps.d.ts +2 -2
- package/dist/progress/progress.d.ts +2 -2
- package/dist/progress/style/index.d.ts +2 -2
- package/dist/qrcode/QrcodeStatus.d.ts +2 -2
- package/dist/qrcode/index.d.ts +2 -2
- package/dist/qrcode/style/index.d.ts +2 -2
- package/dist/radio/group.d.ts +2 -2
- package/dist/radio/index.d.ts +3 -3
- package/dist/radio/radio.d.ts +2 -2
- package/dist/radio/radioButton.d.ts +2 -2
- package/dist/radio/style/index.d.ts +2 -2
- package/dist/rate/index.d.ts +2 -2
- package/dist/rate/style/index.d.ts +2 -2
- package/dist/result/index.d.ts +2 -2
- package/dist/result/noFound.d.ts +2 -2
- package/dist/result/serverError.d.ts +2 -2
- package/dist/result/style/index.d.ts +2 -2
- package/dist/result/unauthorized.d.ts +2 -2
- package/dist/segmented/index.d.ts +2 -2
- package/dist/segmented/style/index.d.ts +2 -2
- package/dist/select/index.d.ts +4 -4
- package/dist/select/index.js +2 -0
- package/dist/select/style/index.d.ts +2 -2
- package/dist/select/style/select-input.js +2 -2
- 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 +4 -4
- 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 +2 -2
- package/dist/spin/Indicator/Looper.d.ts +2 -2
- package/dist/spin/Indicator/Progress.d.ts +2 -2
- package/dist/spin/Indicator/index.d.ts +2 -2
- package/dist/spin/index.d.ts +2 -2
- package/dist/spin/style/index.d.ts +2 -2
- package/dist/spin/usePercent.d.ts +2 -2
- package/dist/splitter/Panel.d.ts +3 -3
- package/dist/splitter/SplitBar.d.ts +2 -2
- package/dist/splitter/Splitter.d.ts +2 -2
- package/dist/splitter/hooks/useResizable.d.ts +2 -2
- package/dist/splitter/hooks/useResize.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.d.ts +2 -2
- package/dist/splitter/hooks/useSizes.js +1 -3
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.d.ts +2 -2
- package/dist/statistic/Number.d.ts +2 -2
- package/dist/statistic/Statistic.d.ts +2 -2
- package/dist/statistic/Timer.d.ts +2 -2
- package/dist/statistic/index.d.ts +2 -2
- package/dist/statistic/style/index.d.ts +2 -2
- package/dist/steps/PanelArrow.d.ts +2 -2
- package/dist/steps/ProgressIcon.d.ts +2 -2
- package/dist/steps/index.d.ts +2 -2
- package/dist/steps/style/index.d.ts +2 -2
- package/dist/switch/index.d.ts +2 -2
- package/dist/switch/style/index.d.ts +2 -2
- package/dist/table/Column.d.ts +2 -2
- package/dist/table/ColumnGroup.d.ts +2 -2
- package/dist/table/ExpandIcon.d.ts +2 -2
- package/dist/table/InternalTable.d.ts +2 -2
- package/dist/table/Table.d.ts +2 -2
- package/dist/table/TableMeasureRowContext.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterDropdown.d.ts +3 -3
- package/dist/table/hooks/useFilter/FilterWrapper.d.ts +3 -3
- package/dist/table/hooks/useFilter/index.d.ts +7 -7
- package/dist/table/hooks/usePagination.d.ts +2 -2
- package/dist/table/hooks/useSelection.d.ts +2 -2
- package/dist/table/hooks/useSorter.d.ts +2 -2
- package/dist/table/style/index.d.ts +2 -2
- package/dist/tabs/TabPane.d.ts +2 -2
- package/dist/tabs/hooks/useLegacyItems.d.ts +2 -2
- package/dist/tabs/index.d.ts +2 -2
- package/dist/tabs/index.js +0 -3
- package/dist/tabs/style/index.d.ts +2 -2
- package/dist/tag/CheckableTag.d.ts +2 -2
- package/dist/tag/CheckableTagGroup.d.ts +2 -2
- package/dist/tag/hooks/useColor.d.ts +2 -2
- package/dist/tag/index.d.ts +2 -2
- package/dist/tag/style/index.d.ts +2 -2
- package/dist/tag/style/presetCmp.d.ts +4 -4
- package/dist/tag/style/statusCmp.d.ts +4 -4
- package/dist/theme/context.d.ts +3 -3
- package/dist/theme/index.d.ts +7 -7
- package/dist/theme/util/genStyleUtils.d.ts +14 -14
- package/dist/time-picker/index.d.ts +4 -4
- package/dist/timeline/Timeline.d.ts +2 -2
- package/dist/timeline/TimelineItem.d.ts +2 -2
- package/dist/timeline/style/index.d.ts +2 -2
- package/dist/tooltip/PurePanel.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/MotionContent.d.ts +2 -2
- package/dist/tooltip/UniqueProvider/index.d.ts +2 -2
- package/dist/tooltip/index.d.ts +2 -2
- package/dist/tooltip/style/index.d.ts +2 -2
- package/dist/tour/PurePanel.d.ts +2 -2
- package/dist/tour/index.d.ts +2 -2
- package/dist/tour/panelRender.d.ts +2 -2
- package/dist/tour/style/index.d.ts +2 -2
- package/dist/transfer/Actions.d.ts +2 -2
- package/dist/transfer/ListBody.d.ts +2 -2
- package/dist/transfer/ListItem.d.ts +2 -2
- package/dist/transfer/Section.d.ts +2 -2
- package/dist/transfer/Transfer.d.ts +2 -2
- package/dist/transfer/hooks/useData.d.ts +2 -2
- package/dist/transfer/style/index.d.ts +2 -2
- package/dist/tree/DirectoryTree.d.ts +2 -2
- package/dist/tree/DirectoryTree.js +8 -0
- package/dist/tree/Tree.d.ts +2 -2
- package/dist/tree/Tree.js +8 -0
- package/dist/tree/style/index.d.ts +7 -3
- package/dist/tree/style/index.js +10 -9
- package/dist/tree/utils/iconUtil.d.ts +2 -2
- package/dist/tree-select/index.d.ts +3 -3
- package/dist/tree-select/style/index.d.ts +2 -2
- package/dist/typography/Base/CopyBtn.d.ts +2 -2
- package/dist/typography/Base/Ellipsis.d.ts +3 -3
- package/dist/typography/Base/EllipsisTooltip.d.ts +2 -2
- package/dist/typography/Base/index.d.ts +2 -2
- package/dist/typography/Editable.d.ts +2 -2
- package/dist/typography/Link.d.ts +2 -2
- package/dist/typography/Paragraph.d.ts +2 -2
- package/dist/typography/Text.d.ts +2 -2
- package/dist/typography/Title.d.ts +2 -2
- package/dist/typography/Typography.d.ts +2 -2
- package/dist/typography/hooks/useCopyClick.d.ts +3 -3
- package/dist/typography/hooks/useMergedConfig.d.ts +2 -2
- package/dist/typography/hooks/useTooltipProps.d.ts +2 -2
- package/dist/typography/index.d.ts +5 -5
- package/dist/typography/style/index.d.ts +2 -2
- package/dist/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/watermark/context.d.ts +2 -2
- package/dist/watermark/index.d.ts +2 -2
- package/global.d.ts +4 -0
- package/package.json +13 -13
- package/web-tags.json +1614 -1530
- package/web-types.json +5376 -5168
package/dist/theme/index.d.ts
CHANGED
|
@@ -5,22 +5,22 @@ import { GlobalToken } from "./interface/cssinjs-utils.js";
|
|
|
5
5
|
import { MappingAlgorithm } from "./interface/index.js";
|
|
6
6
|
import getDesignToken from "./getDesignToken.js";
|
|
7
7
|
import derivative from "./themes/default/index.js";
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
8
|
+
import * as vue434 from "vue";
|
|
9
|
+
import * as _antdv_next_cssinjs15 from "@antdv-next/cssinjs";
|
|
10
10
|
|
|
11
11
|
//#region src/theme/index.d.ts
|
|
12
12
|
/** Get current context Design Token. Will be different if you are using nest theme config. */
|
|
13
13
|
declare function useToken(): {
|
|
14
|
-
theme:
|
|
15
|
-
token:
|
|
16
|
-
hashId:
|
|
14
|
+
theme: vue434.Ref<_antdv_next_cssinjs15.Theme<SeedToken, AliasToken>, _antdv_next_cssinjs15.Theme<SeedToken, AliasToken>>;
|
|
15
|
+
token: vue434.Ref<GlobalToken, GlobalToken>;
|
|
16
|
+
hashId: vue434.Ref<string, string>;
|
|
17
17
|
};
|
|
18
18
|
declare const _default: {
|
|
19
19
|
/** Default seedToken */defaultSeed: SeedToken;
|
|
20
20
|
useToken: typeof useToken;
|
|
21
21
|
defaultAlgorithm: typeof derivative;
|
|
22
|
-
darkAlgorithm:
|
|
23
|
-
compactAlgorithm:
|
|
22
|
+
darkAlgorithm: _antdv_next_cssinjs15.DerivativeFunc<SeedToken, MapToken>;
|
|
23
|
+
compactAlgorithm: _antdv_next_cssinjs15.DerivativeFunc<SeedToken, MapToken>;
|
|
24
24
|
getDesignToken: typeof getDesignToken;
|
|
25
25
|
/**
|
|
26
26
|
* @private Private variable
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import { AliasToken } from "../interface/alias.js";
|
|
2
2
|
import { ComponentTokenMap } from "../interface/components.js";
|
|
3
3
|
import "../interface/index.js";
|
|
4
|
-
import * as
|
|
5
|
-
import * as
|
|
4
|
+
import * as vue93 from "vue";
|
|
5
|
+
import * as _antdv_next_cssinjs0 from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/theme/util/genStyleUtils.d.ts
|
|
8
|
-
declare const genComponentStyleHook: <C extends keyof ComponentTokenMap>(componentName: C | [C, string], styleFn:
|
|
8
|
+
declare const genComponentStyleHook: <C extends keyof ComponentTokenMap>(componentName: C | [C, string], styleFn: _antdv_next_cssinjs0.GenStyleFn<ComponentTokenMap, AliasToken, C>, getDefaultToken?: _antdv_next_cssinjs0.GetDefaultToken<ComponentTokenMap, AliasToken, C> | undefined, options?: {
|
|
9
9
|
resetStyle?: boolean;
|
|
10
10
|
resetFont?: boolean;
|
|
11
|
-
deprecatedTokens?: [keyof Exclude<
|
|
11
|
+
deprecatedTokens?: [keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>, keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>][] | undefined;
|
|
12
12
|
clientOnly?: boolean;
|
|
13
13
|
order?: number;
|
|
14
14
|
injectStyle?: boolean;
|
|
15
|
-
unitless?: Partial<Record<keyof Exclude<
|
|
16
|
-
} | undefined) => (prefixCls:
|
|
15
|
+
unitless?: Partial<Record<keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>, boolean>> | undefined;
|
|
16
|
+
} | undefined) => (prefixCls: vue93.Ref<string>, rootCls?: vue93.Ref<string | undefined>) => vue93.Ref<string, string>, genStyleHooks: <C extends keyof ComponentTokenMap>(component: C | [C, string], styleFn: _antdv_next_cssinjs0.GenStyleFn<ComponentTokenMap, AliasToken, C>, getDefaultToken?: _antdv_next_cssinjs0.GetDefaultToken<ComponentTokenMap, AliasToken, C> | undefined, options?: {
|
|
17
17
|
resetStyle?: boolean;
|
|
18
18
|
resetFont?: boolean;
|
|
19
|
-
deprecatedTokens?: [keyof Exclude<
|
|
20
|
-
unitless?: Partial<Record<keyof Exclude<
|
|
19
|
+
deprecatedTokens?: [keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>, keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>][] | undefined;
|
|
20
|
+
unitless?: Partial<Record<keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>, boolean>> | undefined;
|
|
21
21
|
clientOnly?: boolean;
|
|
22
22
|
order?: number;
|
|
23
23
|
injectStyle?: boolean;
|
|
24
|
-
} | undefined) => (prefixCls:
|
|
24
|
+
} | undefined) => (prefixCls: vue93.Ref<string>, rootCls?: vue93.Ref<string | undefined>) => readonly [vue93.Ref<string, string>, vue93.ComputedRef<string | undefined>], genSubStyleComponent: <C extends keyof ComponentTokenMap>(componentName: C | [C, string], styleFn: _antdv_next_cssinjs0.GenStyleFn<ComponentTokenMap, AliasToken, C>, getDefaultToken?: _antdv_next_cssinjs0.GetDefaultToken<ComponentTokenMap, AliasToken, C> | undefined, options?: {
|
|
25
25
|
resetStyle?: boolean;
|
|
26
26
|
resetFont?: boolean;
|
|
27
|
-
deprecatedTokens?: [keyof Exclude<
|
|
27
|
+
deprecatedTokens?: [keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>, keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>][] | undefined;
|
|
28
28
|
clientOnly?: boolean;
|
|
29
29
|
order?: number;
|
|
30
30
|
injectStyle?: boolean;
|
|
31
|
-
unitless?: Partial<Record<keyof Exclude<
|
|
32
|
-
} | undefined) =>
|
|
31
|
+
unitless?: Partial<Record<keyof Exclude<_antdv_next_cssinjs0.OverrideTokenMap<ComponentTokenMap, AliasToken>[C], undefined>, boolean>> | undefined;
|
|
32
|
+
} | undefined) => vue93.DefineComponent<vue93.ExtractPropTypes<{
|
|
33
33
|
prefixCls: StringConstructor;
|
|
34
34
|
rootCls: StringConstructor;
|
|
35
|
-
}>, () => null, {}, {}, {},
|
|
35
|
+
}>, () => null, {}, {}, {}, vue93.ComponentOptionsMixin, vue93.ComponentOptionsMixin, {}, string, vue93.PublicProps, Readonly<vue93.ExtractPropTypes<{
|
|
36
36
|
prefixCls: StringConstructor;
|
|
37
37
|
rootCls: StringConstructor;
|
|
38
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string,
|
|
38
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, vue93.ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
type CssVarName = (name: string) => `--${string}`;
|
|
40
40
|
type CssVarRef = (name: string, fallback?: string | number) => `var(--${string})`;
|
|
41
41
|
declare function genCssVar(antCls: string, component: string): readonly [varName: CssVarName, varRef: CssVarRef];
|
|
@@ -4,7 +4,7 @@ import "../_util/hooks/index.js";
|
|
|
4
4
|
import { InputStatus } from "../_util/statusUtils.js";
|
|
5
5
|
import "../date-picker/generatePicker/index.js";
|
|
6
6
|
import { PickerProps as PickerProps$1, RangePickerProps as RangePickerProps$1 } from "../date-picker/generatePicker/interface.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as vue445 from "vue";
|
|
8
8
|
import { CSSProperties, SlotsType } from "vue";
|
|
9
9
|
import { PickerMode } from "@v-c/picker";
|
|
10
10
|
|
|
@@ -71,7 +71,7 @@ interface TimeRangePickerEmits<DateType = AnyObject> {
|
|
|
71
71
|
'blur': (e: FocusEvent, info: any) => void;
|
|
72
72
|
'keydown': (e: KeyboardEvent, preventDefault: VoidFunction) => void;
|
|
73
73
|
}
|
|
74
|
-
declare const RangePicker$1:
|
|
74
|
+
declare const RangePicker$1: vue445.DefineSetupFnComponent<TimeRangePickerProps, TimeRangePickerEmits<AnyObject>, {}, TimeRangePickerProps, vue445.PublicProps>;
|
|
75
75
|
interface TimePickerProps extends Omit<PickerTimeProps<AnyObject>, 'picker' | 'classes' | 'styles'>, TimePickerEmitsProps {
|
|
76
76
|
addon?: () => VueNode;
|
|
77
77
|
status?: InputStatus;
|
|
@@ -124,12 +124,12 @@ interface TimePickerEmitsProps<DateType = AnyObject> {
|
|
|
124
124
|
onBlur?: TimePickerEmits<DateType>['blur'];
|
|
125
125
|
onKeydown?: TimePickerEmits<DateType>['keydown'];
|
|
126
126
|
}
|
|
127
|
-
declare const TimePicker:
|
|
127
|
+
declare const TimePicker: vue445.DefineSetupFnComponent<TimePickerProps, TimePickerEmits<AnyObject>, SlotsType<TimePickerSlots>, TimePickerProps, vue445.PublicProps>;
|
|
128
128
|
type MergedTimePicker = typeof TimePicker & {
|
|
129
129
|
RangePicker: typeof RangePicker$1;
|
|
130
130
|
_InternalPanelDoNotUseOrYouWillBeFired: any;
|
|
131
131
|
};
|
|
132
132
|
declare const _default: MergedTimePicker;
|
|
133
|
-
declare const TimeRangePicker:
|
|
133
|
+
declare const TimeRangePicker: vue445.DefineSetupFnComponent<TimeRangePickerProps, TimeRangePickerEmits<AnyObject>, {}, TimeRangePickerProps, vue445.PublicProps>;
|
|
134
134
|
//#endregion
|
|
135
135
|
export { MergedTimePicker, PickerTimeProps, RangePickerTimeProps, TimePickerClassNames, TimePickerEmits, TimePickerEmitsProps, TimePickerLocale, TimePickerPanelSemanticClassNames, TimePickerPanelSemanticName, TimePickerPanelSemanticStyles, TimePickerProps, TimePickerSemanticClassNames, TimePickerSemanticName, TimePickerSemanticStyles, TimePickerSlots, TimePickerStyles, TimeRangePicker, TimeRangePickerEmits, TimeRangePickerEmitsProps, TimeRangePickerProps, _default as default };
|
|
@@ -3,7 +3,7 @@ import { SemanticClassNamesType, SemanticStylesType } from "../_util/hooks/useMe
|
|
|
3
3
|
import "../_util/hooks/index.js";
|
|
4
4
|
import { StepItem, StepsProps, StepsSemanticClassNames, StepsSemanticName, StepsSemanticStyles } from "../steps/index.js";
|
|
5
5
|
import { ComponentBaseProps } from "../config-provider/context.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as vue439 from "vue";
|
|
7
7
|
import { CSSProperties, SlotsType } from "vue";
|
|
8
8
|
import { LiteralUnion } from "@v-c/util/dist/type";
|
|
9
9
|
|
|
@@ -79,6 +79,6 @@ interface TimelineSlots {
|
|
|
79
79
|
index: number;
|
|
80
80
|
}) => void;
|
|
81
81
|
}
|
|
82
|
-
declare const Timeline:
|
|
82
|
+
declare const Timeline: vue439.DefineSetupFnComponent<TimelineProps, EmptyEmit, SlotsType<TimelineSlots>, TimelineProps, vue439.PublicProps>;
|
|
83
83
|
//#endregion
|
|
84
84
|
export { ItemPlacement, ItemPosition, TimelineClassNamesType, TimelineItemType, TimelineMode, TimelineProps, TimelineSemanticClassNames, TimelineSemanticName, TimelineSemanticStyles, TimelineSlots, TimelineStylesType, Timeline as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmptyEmit } from "../_util/type.js";
|
|
2
2
|
import { TimelineItemType } from "./Timeline.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue437 from "vue";
|
|
4
4
|
import { SlotsType } from "vue";
|
|
5
5
|
|
|
6
6
|
//#region src/timeline/TimelineItem.d.ts
|
|
@@ -11,6 +11,6 @@ interface TimelineItemSlots {
|
|
|
11
11
|
content?: () => any;
|
|
12
12
|
icon?: () => any;
|
|
13
13
|
}
|
|
14
|
-
declare const TimelineItem:
|
|
14
|
+
declare const TimelineItem: vue437.DefineSetupFnComponent<TimelineItemProps, EmptyEmit, SlotsType<TimelineItemSlots>, TimelineItemProps, vue437.PublicProps>;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { TIMELINE_ITEM_MARK, TimelineItem, TimelineItemProps, TimelineItemSlots };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FullToken, GetDefaultToken } from "../../theme/interface/cssinjs-utils.js";
|
|
2
2
|
import "../../theme/internal.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue766 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/timeline/style/index.d.ts
|
|
6
6
|
interface ComponentToken {
|
|
@@ -41,6 +41,6 @@ interface TimelineToken extends FullToken<'Timeline'> {
|
|
|
41
41
|
paddingInlineEnd: number;
|
|
42
42
|
}
|
|
43
43
|
declare const prepareComponentToken: GetDefaultToken<'Timeline'>;
|
|
44
|
-
declare const _default: (prefixCls:
|
|
44
|
+
declare const _default: (prefixCls: vue766.Ref<string>, rootCls?: vue766.Ref<string | undefined>) => readonly [vue766.Ref<string, string>, vue766.ComputedRef<string | undefined>];
|
|
45
45
|
//#endregion
|
|
46
46
|
export { ComponentToken, TimelineToken, _default as default, prepareComponentToken };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { TooltipProps } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue441 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/tooltip/PurePanel.d.ts
|
|
5
5
|
interface PurePanelProps extends TooltipProps {}
|
|
6
6
|
/** @private Internal Component. Do not use in your production. */
|
|
7
|
-
declare const PurePanel:
|
|
7
|
+
declare const PurePanel: vue441.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue441.PublicProps>;
|
|
8
8
|
//#endregion
|
|
9
9
|
export { PurePanelProps, PurePanel as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue1013 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/tooltip/UniqueProvider/MotionContent.d.ts
|
|
4
|
-
declare const MotionContent:
|
|
4
|
+
declare const MotionContent: vue1013.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue1013.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { MotionContent as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue1015 from "vue";
|
|
2
2
|
|
|
3
3
|
//#region src/tooltip/UniqueProvider/index.d.ts
|
|
4
|
-
declare const UniqueProvider:
|
|
4
|
+
declare const UniqueProvider: vue1015.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue1015.PublicProps>;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { UniqueProvider as default };
|
package/dist/tooltip/index.d.ts
CHANGED
|
@@ -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 vue443 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";
|
|
@@ -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: vue443.DefineSetupFnComponent<InternalTooltipProps, TooltipEmits, SlotsType<TooltipSlots>, InternalTooltipProps, vue443.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 vue1017 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 [vue1017.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 vue452 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: vue452.DefineSetupFnComponent<PurePanelProps, {}, {}, PurePanelProps & {}, vue452.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 vue454 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: vue454.DefineSetupFnComponent<InternalTourProps, TourEmits, SlotsType<TourSlots>, InternalTourProps, vue454.PublicProps>;
|
|
16
16
|
type TourProps = InternalTourProps;
|
|
17
17
|
type TourStepItem = TourStepProps;
|
|
18
18
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TourProps, TourStepProps } from "./interface.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as vue833 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: vue833.DefineSetupFnComponent<TourPanelProps, {}, {}, TourPanelProps & {}, vue833.PublicProps>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { TourPanel as default };
|
|
@@ -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 vue965 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: vue965.Ref<string>, rootCls?: vue965.Ref<string | undefined>) => readonly [vue965.Ref<string, string>, vue965.ComputedRef<string | undefined>];
|
|
32
32
|
//#endregion
|
|
33
33
|
export { ComponentToken, _default as default, prepareComponentToken };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } 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
|
|
@@ -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 vue869 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: vue869.DefineSetupFnComponent<TransferListBodyProps<KeyWiseTransferItem>, {}, {}, TransferListBodyProps<KeyWiseTransferItem> & {}, vue869.PublicProps>;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { ExistPagination, ListBodyRef, TransferListBody as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../_util/type.js";
|
|
2
2
|
import { KeyWiseTransferItem, TransferSemanticClassNames, TransferSemanticStyles } from "./interface.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue508 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/transfer/ListItem.d.ts
|
|
6
6
|
interface ListItemProps<RecordType> {
|
|
@@ -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: vue508.DefineSetupFnComponent<ListItemProps<KeyWiseTransferItem>, {}, {}, ListItemProps<KeyWiseTransferItem> & {}, vue508.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 vue510 from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/transfer/Section.d.ts
|
|
5
|
-
declare const TransferSection:
|
|
5
|
+
declare const TransferSection: vue510.DefineSetupFnComponent<TransferListProps<KeyWiseTransferItem>, {}, {}, TransferListProps<KeyWiseTransferItem> & {}, vue510.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 vue512 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: vue512.DefineSetupFnComponent<InternalTransferProps, TransferEmits, SlotsType<TransferSlots<any>>, InternalTransferProps, vue512.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { InternalTransferProps, TransferEmitsProps, Transfer as default };
|
|
@@ -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 vue969 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 [vue969.ComputedRef<RecordType[]>, vue969.ComputedRef<KeyWise<RecordType>[]>, vue969.ComputedRef<KeyWise<RecordType>[]>];
|
|
9
9
|
//#endregion
|
|
10
10
|
export { useData 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 vue974 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: vue974.Ref<string>, rootCls?: vue974.Ref<string | undefined>) => readonly [vue974.Ref<string, string>, vue974.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 vue758 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: vue758.DefineSetupFnComponent<DirectoryTreeProps<BasicDataNode>, DirectoryTreeEmits, SlotsType<DirectoryTreeSlots>, DirectoryTreeProps<BasicDataNode>, vue758.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { DirectoryTreeEmits, DirectoryTreeEmitsProps, DirectoryTreeEmitsType, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction, DirectoryTree as default };
|
|
@@ -351,6 +351,14 @@ const DirectoryTree = /* @__PURE__ */ defineComponent((props, { slots, emit, exp
|
|
|
351
351
|
type: Function,
|
|
352
352
|
required: false
|
|
353
353
|
},
|
|
354
|
+
onMouseDown: {
|
|
355
|
+
type: Function,
|
|
356
|
+
required: false
|
|
357
|
+
},
|
|
358
|
+
onMouseUp: {
|
|
359
|
+
type: Function,
|
|
360
|
+
required: false
|
|
361
|
+
},
|
|
354
362
|
loadData: {
|
|
355
363
|
type: Function,
|
|
356
364
|
required: false
|
package/dist/tree/Tree.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VueNode } 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 vue925 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";
|
|
@@ -215,6 +215,6 @@ interface TreeSlots {
|
|
|
215
215
|
icon: (props: AntdTreeNodeAttribute) => any;
|
|
216
216
|
titleRender: TreeProps$1['titleRender'];
|
|
217
217
|
}
|
|
218
|
-
declare const Tree:
|
|
218
|
+
declare const Tree: vue925.DefineSetupFnComponent<TreeProps<BasicDataNode>, TreeEmits, SlotsType<TreeSlots>, TreeProps<BasicDataNode>, vue925.PublicProps>;
|
|
219
219
|
//#endregion
|
|
220
220
|
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
|
@@ -356,6 +356,14 @@ const Tree = /* @__PURE__ */ defineComponent((props, { slots, emit, expose, attr
|
|
|
356
356
|
type: Function,
|
|
357
357
|
required: false
|
|
358
358
|
},
|
|
359
|
+
onMouseDown: {
|
|
360
|
+
type: Function,
|
|
361
|
+
required: false
|
|
362
|
+
},
|
|
363
|
+
onMouseUp: {
|
|
364
|
+
type: Function,
|
|
365
|
+
required: false
|
|
366
|
+
},
|
|
359
367
|
loadData: {
|
|
360
368
|
type: Function,
|
|
361
369
|
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 vue978 from "vue";
|
|
5
5
|
import { CSSInterpolation, CSSObject } from "@antdv-next/cssinjs";
|
|
6
6
|
|
|
7
7
|
//#region src/tree/style/index.d.ts
|
|
@@ -11,6 +11,11 @@ interface TreeSharedToken {
|
|
|
11
11
|
* @descEN Node title height
|
|
12
12
|
*/
|
|
13
13
|
titleHeight: number;
|
|
14
|
+
/**
|
|
15
|
+
* @desc 展开按钮宽度
|
|
16
|
+
* @descEN Switcher width of tree
|
|
17
|
+
*/
|
|
18
|
+
switcherSize?: number;
|
|
14
19
|
/**
|
|
15
20
|
* @desc 缩进宽度
|
|
16
21
|
* @descEN Indent width of tree
|
|
@@ -61,10 +66,9 @@ declare function genTreeStyle(prefixCls: string, token: AliasToken & TreeSharedT
|
|
|
61
66
|
* @descEN Whether to enable directory style
|
|
62
67
|
* @default true
|
|
63
68
|
*/
|
|
64
|
-
|
|
65
69
|
enableDirectory?: boolean): CSSInterpolation;
|
|
66
70
|
declare function initComponentToken(token: AliasToken): TreeSharedToken;
|
|
67
71
|
declare const prepareComponentToken: GetDefaultToken<'Tree'>;
|
|
68
|
-
declare const _default: (prefixCls:
|
|
72
|
+
declare const _default: (prefixCls: vue978.Ref<string>, rootCls?: vue978.Ref<string | undefined>) => readonly [vue978.Ref<string, string>, vue978.ComputedRef<string | undefined>];
|
|
69
73
|
//#endregion
|
|
70
74
|
export { ComponentToken, TreeSharedToken, TreeToken, _default as default, genBaseStyle, genTreeStyle, initComponentToken, prepareComponentToken };
|
package/dist/tree/style/index.js
CHANGED
|
@@ -41,7 +41,7 @@ function getDropIndicatorStyle(prefixCls, token) {
|
|
|
41
41
|
} };
|
|
42
42
|
}
|
|
43
43
|
function genBaseStyle(prefixCls, token) {
|
|
44
|
-
const { treeCls, treeNodeCls, treeNodePadding, titleHeight, indentSize, motionDurationMid, nodeSelectedBg, nodeHoverBg, colorTextQuaternary, controlItemBgActiveDisabled } = token;
|
|
44
|
+
const { treeCls, treeNodeCls, treeNodePadding, titleHeight, indentSize, switcherSize, motionDurationMid, nodeSelectedBg, nodeHoverBg, colorTextQuaternary, controlItemBgActiveDisabled } = token;
|
|
45
45
|
return { [treeCls]: {
|
|
46
46
|
...resetComponent(token),
|
|
47
47
|
["--rc-virtual-list-scrollbar-bg"]: token.colorSplit,
|
|
@@ -104,7 +104,7 @@ function genBaseStyle(prefixCls, token) {
|
|
|
104
104
|
cursor: "grab",
|
|
105
105
|
[`${treeCls}-draggable-icon`]: {
|
|
106
106
|
flexShrink: 0,
|
|
107
|
-
width:
|
|
107
|
+
width: switcherSize,
|
|
108
108
|
textAlign: "center",
|
|
109
109
|
visibility: "visible",
|
|
110
110
|
color: colorTextQuaternary
|
|
@@ -122,14 +122,14 @@ function genBaseStyle(prefixCls, token) {
|
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
[`${treeCls}-draggable-icon`]: { visibility: "hidden" },
|
|
125
|
-
[`${treeCls}-switcher, ${treeCls}-checkbox`]: { marginInlineEnd: token.calc(token.calc(
|
|
125
|
+
[`${treeCls}-switcher, ${treeCls}-checkbox`]: { marginInlineEnd: token.calc(token.calc(switcherSize).sub(token.controlInteractiveSize)).div(2).equal() },
|
|
126
126
|
[`${treeCls}-checkbox`]: { flexShrink: 0 },
|
|
127
127
|
[`${treeCls}-switcher`]: {
|
|
128
128
|
...getSwitchStyle(prefixCls, token),
|
|
129
129
|
position: "relative",
|
|
130
130
|
flex: "none",
|
|
131
131
|
alignSelf: "stretch",
|
|
132
|
-
width:
|
|
132
|
+
width: switcherSize,
|
|
133
133
|
textAlign: "center",
|
|
134
134
|
cursor: "pointer",
|
|
135
135
|
userSelect: "none",
|
|
@@ -138,7 +138,7 @@ function genBaseStyle(prefixCls, token) {
|
|
|
138
138
|
"&:before": {
|
|
139
139
|
pointerEvents: "none",
|
|
140
140
|
content: "\"\"",
|
|
141
|
-
width:
|
|
141
|
+
width: switcherSize,
|
|
142
142
|
height: titleHeight,
|
|
143
143
|
position: "absolute",
|
|
144
144
|
left: {
|
|
@@ -161,7 +161,7 @@ function genBaseStyle(prefixCls, token) {
|
|
|
161
161
|
"&:before": {
|
|
162
162
|
position: "absolute",
|
|
163
163
|
top: 0,
|
|
164
|
-
insetInlineEnd: token.calc(
|
|
164
|
+
insetInlineEnd: token.calc(switcherSize).div(2).equal(),
|
|
165
165
|
bottom: token.calc(treeNodePadding).mul(-1).equal(),
|
|
166
166
|
marginInlineStart: -1,
|
|
167
167
|
borderInlineEnd: `1px solid ${token.colorBorder}`,
|
|
@@ -169,7 +169,7 @@ function genBaseStyle(prefixCls, token) {
|
|
|
169
169
|
},
|
|
170
170
|
"&:after": {
|
|
171
171
|
position: "absolute",
|
|
172
|
-
width: token.calc(token.calc(
|
|
172
|
+
width: token.calc(token.calc(switcherSize).div(2).equal()).mul(.8).equal(),
|
|
173
173
|
height: token.calc(titleHeight).div(2).equal(),
|
|
174
174
|
borderBottom: `1px solid ${token.colorBorder}`,
|
|
175
175
|
content: "\"\""
|
|
@@ -198,7 +198,7 @@ function genBaseStyle(prefixCls, token) {
|
|
|
198
198
|
},
|
|
199
199
|
[`${treeCls}-iconEle`]: {
|
|
200
200
|
display: "inline-block",
|
|
201
|
-
width:
|
|
201
|
+
width: switcherSize,
|
|
202
202
|
height: titleHeight,
|
|
203
203
|
textAlign: "center",
|
|
204
204
|
verticalAlign: "top",
|
|
@@ -214,7 +214,7 @@ function genBaseStyle(prefixCls, token) {
|
|
|
214
214
|
"&:before": {
|
|
215
215
|
position: "absolute",
|
|
216
216
|
top: 0,
|
|
217
|
-
insetInlineEnd: token.calc(
|
|
217
|
+
insetInlineEnd: token.calc(switcherSize).div(2).equal(),
|
|
218
218
|
bottom: token.calc(treeNodePadding).mul(-1).equal(),
|
|
219
219
|
borderInlineEnd: `1px solid ${token.colorBorder}`,
|
|
220
220
|
content: "\"\""
|
|
@@ -247,6 +247,7 @@ function initComponentToken(token) {
|
|
|
247
247
|
const titleHeight = controlHeightSM;
|
|
248
248
|
return {
|
|
249
249
|
titleHeight,
|
|
250
|
+
switcherSize: titleHeight,
|
|
250
251
|
indentSize: titleHeight,
|
|
251
252
|
nodeHoverBg: controlItemBgHover,
|
|
252
253
|
nodeHoverColor: token.colorText,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { VueNode } from "../../_util/type.js";
|
|
2
2
|
import { AntTreeNodeProps, SwitcherIcon, TreeLeafIcon } from "../Tree.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as vue972 from "vue";
|
|
4
4
|
|
|
5
5
|
//#region src/tree/utils/iconUtil.d.ts
|
|
6
6
|
interface SwitcherIconProps {
|
|
@@ -12,6 +12,6 @@ interface SwitcherIconProps {
|
|
|
12
12
|
showLeafIcon: boolean | TreeLeafIcon;
|
|
13
13
|
};
|
|
14
14
|
}
|
|
15
|
-
declare const SwitcherIconCom:
|
|
15
|
+
declare const SwitcherIconCom: vue972.DefineSetupFnComponent<SwitcherIconProps, {}, {}, SwitcherIconProps & {}, vue972.PublicProps>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SwitcherIconCom as default };
|