antdv-next 1.8.0 → 1.8.2
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/PurePanel.js +1 -1
- package/dist/_util/hooks/index.js +1 -1
- package/dist/_util/hooks/useZIndex.js +14 -15
- package/dist/affix/index.js +25 -5
- package/dist/alert/Alert.d.ts +2 -2
- package/dist/alert/Alert.js +3 -3
- package/dist/alert/style/index.js +14 -8
- package/dist/anchor/Anchor.js +3 -1
- package/dist/antd-with-locales.esm.js +19221 -16952
- package/dist/antd-with-locales.js +114 -111
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +19006 -16739
- package/dist/antd.js +114 -111
- package/dist/app/App.js +2 -2
- package/dist/auto-complete/index.js +2 -2
- package/dist/avatar/Avatar.js +2 -2
- package/dist/avatar/AvatarGroup.js +1 -1
- package/dist/badge/Ribbon.js +1 -1
- package/dist/badge/index.js +2 -2
- package/dist/badge/style/ribbon.d.ts +0 -1
- package/dist/border-beam/BorderBeam.js +1 -1
- package/dist/border-beam/style/index.d.ts +0 -1
- package/dist/breadcrumb/Breadcrumb.js +2 -2
- package/dist/button/Button.js +1 -1
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.d.ts +0 -1
- package/dist/calendar/generateCalendar.js +2 -2
- package/dist/card/Card.js +2 -2
- package/dist/card/CardGrid.js +1 -1
- package/dist/card/CardMeta.js +1 -1
- package/dist/card/style/index.js +2 -2
- package/dist/carousel/index.js +2 -2
- package/dist/cascader/Panel.js +1 -1
- package/dist/cascader/index.js +4 -4
- package/dist/cascader/style/panel.d.ts +0 -1
- package/dist/checkbox/Checkbox.js +2 -2
- package/dist/checkbox/Group.js +1 -1
- package/dist/collapse/Collapse.js +2 -2
- package/dist/color-picker/ColorPicker.js +2 -2
- package/dist/components.d.ts +2 -2
- package/dist/config-provider/context.d.ts +2 -0
- package/dist/config-provider/define.d.ts +5 -1
- package/dist/config-provider/index.js +38 -4
- package/dist/date-picker/generatePicker/generateRangePicker.js +3 -3
- package/dist/date-picker/generatePicker/generateSinglePicker.js +3 -3
- package/dist/date-picker/generatePicker/useComponents.js +2 -2
- package/dist/date-picker/hooks/useMergedPickerSemantic.js +1 -1
- package/dist/date-picker/style/index.d.ts +0 -1
- package/dist/date-picker/style/panel.js +14 -13
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/descriptions/index.js +2 -2
- package/dist/divider/index.js +1 -1
- package/dist/drawer/DrawerPanel.js +1 -1
- package/dist/drawer/index.js +3 -3
- package/dist/dropdown/dropdown.js +3 -3
- package/dist/empty/index.js +2 -1
- package/dist/empty/style/index.d.ts +0 -1
- package/dist/float-button/BackTop.js +2 -2
- package/dist/float-button/FloatButton.js +1 -1
- package/dist/float-button/FloatButtonGroup.js +2 -2
- package/dist/float-button/PurePanel.js +1 -1
- package/dist/form/ErrorList.js +1 -1
- package/dist/form/Form.js +2 -2
- package/dist/form/FormItem/ItemHolder.js +3 -3
- package/dist/form/FormItem/index.js +1 -1
- package/dist/form/FormItemLabel.js +1 -1
- package/dist/form/context.d.ts +1 -1
- package/dist/form/hooks/useVariant.js +1 -1
- package/dist/grid/col.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +6 -6
- package/dist/image/index.js +9 -5
- package/dist/index.d.ts +2 -2
- package/dist/input/Group.js +2 -2
- package/dist/input/Input.js +2 -2
- package/dist/input/OTP/OTPInput.js +1 -1
- package/dist/input/OTP/index.js +2 -2
- package/dist/input/Password.js +1 -1
- package/dist/input/Search.js +2 -2
- package/dist/input/TextArea.js +2 -2
- package/dist/input/style/otp.d.ts +0 -1
- package/dist/input/style/search.d.ts +0 -1
- package/dist/input/style/textarea.d.ts +0 -1
- package/dist/input-number/index.js +3 -3
- package/dist/input-number/style/index.d.ts +0 -1
- package/dist/layout/Sider.js +2 -2
- package/dist/layout/style/sider.d.ts +0 -1
- package/dist/listy/index.js +1 -1
- package/dist/locale/id_ID.js +8 -6
- package/dist/locale/uz_UZ.js +12 -12
- package/dist/masonry/Masonry.js +1 -1
- package/dist/mentions/index.js +3 -3
- package/dist/menu/MenuDivider.js +1 -1
- package/dist/menu/menu.js +3 -3
- package/dist/message/PurePanel.js +2 -2
- package/dist/message/style/index.d.ts +0 -1
- package/dist/message/useMessage.js +2 -2
- package/dist/modal/ConfirmDialog.js +2 -2
- package/dist/modal/Modal.js +4 -4
- package/dist/modal/PurePanel.js +1 -1
- package/dist/modal/confirm.js +5 -6
- package/dist/notification/PurePanel.js +2 -2
- package/dist/notification/index.js +6 -7
- package/dist/notification/useNotification.js +2 -2
- package/dist/package.js +1 -1
- package/dist/pagination/Pagination.js +4 -4
- package/dist/popconfirm/index.js +2 -2
- package/dist/popover/PurePanel.js +2 -2
- package/dist/popover/index.js +1 -1
- package/dist/progress/progress.js +3 -3
- package/dist/qrcode/index.js +3 -3
- package/dist/radio/group.js +2 -2
- package/dist/radio/radio.js +2 -2
- package/dist/rate/index.js +2 -2
- package/dist/result/index.js +1 -1
- package/dist/segmented/index.js +1 -1
- package/dist/select/index.js +4 -4
- package/dist/select/style/index.d.ts +0 -1
- package/dist/skeleton/Avatar.js +1 -1
- package/dist/skeleton/Button.js +1 -1
- package/dist/skeleton/Element.js +1 -1
- package/dist/skeleton/Input.js +1 -1
- package/dist/skeleton/Node.js +1 -1
- package/dist/skeleton/Skeleton.js +1 -1
- package/dist/slider/index.js +1 -1
- package/dist/space/Addon.js +1 -1
- package/dist/space/index.js +1 -1
- package/dist/space/style/addon.d.ts +0 -1
- package/dist/space/style/compact.d.ts +0 -1
- package/dist/spin/index.js +2 -2
- package/dist/splitter/Splitter.js +2 -2
- package/dist/statistic/Statistic.js +1 -1
- package/dist/statistic/Timer.js +1 -1
- package/dist/steps/index.js +3 -3
- package/dist/switch/index.js +2 -2
- package/dist/table/InternalTable.js +10 -4
- package/dist/table/hooks/useFilter/FilterDropdown.js +1 -1
- package/dist/table/hooks/useSelection.js +1 -1
- package/dist/table/hooks/useSorter.js +22 -11
- package/dist/table/style/expand.js +4 -1
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/index.js +3 -3
- package/dist/tag/CheckableTag.js +1 -1
- package/dist/tag/CheckableTagGroup.d.ts +0 -1
- package/dist/tag/CheckableTagGroup.js +0 -4
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tag/index.js +1 -1
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/themes/dark/index.js +1 -1
- package/dist/theme/useToken.js +2 -2
- package/dist/timeline/Timeline.js +1 -1
- package/dist/timeline/useItems.js +1 -1
- package/dist/tooltip/PurePanel.js +1 -1
- package/dist/tooltip/index.js +2 -2
- package/dist/tour/index.js +1 -1
- package/dist/transfer/Section.js +1 -1
- package/dist/transfer/Transfer.js +3 -3
- package/dist/tree/DirectoryTree.js +2 -2
- package/dist/tree/Tree.js +4 -4
- package/dist/tree-select/index.js +4 -4
- package/dist/typography/Base/index.js +2 -2
- package/dist/typography/Editable.js +6 -2
- package/dist/typography/Typography.js +1 -1
- package/dist/upload/Upload.js +11 -6
- package/dist/upload/UploadList/ListItem.js +1 -1
- package/dist/upload/UploadList/index.js +19 -12
- package/dist/version/token.json +1 -1
- package/dist/watermark/index.d.ts +13 -4
- package/dist/watermark/index.js +11 -7
- package/dist/watermark/useRafDebounce.js +1 -2
- package/package.json +10 -10
- package/web-tags.json +14 -6
- package/web-types.json +29 -12
package/dist/app/App.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning } from "../_util/warning.js";
|
|
4
4
|
import { AppConfigProvider, useAppConfig, useAppContextProvider } from "./context.js";
|
|
5
5
|
import useMessage from "../message/useMessage.js";
|
|
6
6
|
import useModal from "../modal/useModal/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
4
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
5
5
|
import genPurePanel from "../_util/PurePanel.js";
|
|
6
6
|
import { getCustomSuffix } from "../select/useIcons.js";
|
package/dist/avatar/Avatar.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
|
-
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
1
|
import { normalizeStyle as normalizeStyle$1 } from "../_util/styleUtils.js";
|
|
4
2
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
|
+
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
5
|
import { getSlotPropsFnRun } from "../_util/tools.js";
|
|
6
6
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
7
|
import { isRenderable } from "../_util/is.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
4
4
|
import { useAvatarProvider } from "./AvatarContext.js";
|
|
5
5
|
import style_default from "./style/index.js";
|
package/dist/badge/Ribbon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
4
4
|
import { isPresetColor } from "../_util/colors.js";
|
|
5
5
|
import ribbon_default from "./style/ribbon.js";
|
package/dist/badge/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { formatUnit } from "../_util/styleUtils.js";
|
|
4
2
|
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
5
5
|
import { clsx as clsx$1, getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
6
6
|
import { isPresetColor } from "../_util/colors.js";
|
|
7
7
|
import { isRenderable } from "../_util/is.js";
|
|
@@ -2,7 +2,6 @@ import { SeedToken } from "../../theme/interface/seeds.js";
|
|
|
2
2
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
3
3
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
4
4
|
import "../../theme/interface/index.js";
|
|
5
|
-
import "../../theme/internal.js";
|
|
6
5
|
//#region src/badge/style/ribbon.d.ts
|
|
7
6
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
8
7
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
1
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
2
|
import { genCssVar } from "../theme/util/genStyleUtils.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
4
|
import { isNonNullable, isNumber } from "../_util/is.js";
|
|
5
5
|
import { getBorderBeamGradient } from "./util.js";
|
|
6
6
|
import useBorderSize from "./hooks/useBorderSize.js";
|
|
@@ -2,7 +2,6 @@ import { SeedToken } from "../../theme/interface/seeds.js";
|
|
|
2
2
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
3
3
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
4
4
|
import "../../theme/interface/index.js";
|
|
5
|
-
import "../../theme/internal.js";
|
|
6
5
|
//#region src/border-beam/style/index.d.ts
|
|
7
6
|
type ComponentToken = object;
|
|
8
7
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
4
4
|
import { useBreadcrumbProvider } from "./BreadcrumbContext.js";
|
|
5
5
|
import BreadcrumbSeparator from "./BreadcrumbSeparator.js";
|
|
@@ -125,7 +125,7 @@ const Breadcrumb = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit,
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
128
|
-
const breadcrumbClassName = clsx(prefixCls.value, contextClassName.value, { [`${prefixCls}-rtl`]: direction.value === "rtl" }, className, rootClass, mergedClassNames.value?.root, hashId.value, cssVarCls.value);
|
|
128
|
+
const breadcrumbClassName = clsx(prefixCls.value, contextClassName.value, { [`${prefixCls.value}-rtl`]: direction.value === "rtl" }, className, rootClass, mergedClassNames.value?.root, hashId.value, cssVarCls.value);
|
|
129
129
|
const mergedStyle = {
|
|
130
130
|
...mergedStyles.value?.root,
|
|
131
131
|
...style
|
package/dist/button/Button.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
4
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
4
|
-
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
6
6
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
7
7
|
import useVariant from "../form/hooks/useVariant.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CSSProperties, VNodeChild } from "vue";
|
|
2
2
|
//#region src/button/buttonHelper.d.ts
|
|
3
3
|
declare const isTwoCNChar: (string: string) => boolean;
|
|
4
|
-
declare function isUnBorderedButtonVariant(type?: ButtonVariantType): type is "
|
|
4
|
+
declare function isUnBorderedButtonVariant(type?: ButtonVariantType): type is "text" | "link";
|
|
5
5
|
declare function spaceChildren(children: VNodeChild[], needInserted: boolean, style?: CSSProperties, className?: string): VNodeChild[];
|
|
6
6
|
declare const _ButtonTypes: readonly ["default", "primary", "dashed", "link", "text"];
|
|
7
7
|
type ButtonType = (typeof _ButtonTypes)[number];
|
|
@@ -3,7 +3,6 @@ import { AliasToken } from "../../theme/interface/alias.js";
|
|
|
3
3
|
import { ComponentToken } from "./token.js";
|
|
4
4
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
5
5
|
import "../../theme/interface/index.js";
|
|
6
|
-
import "../../theme/internal.js";
|
|
7
6
|
//#region src/button/style/index.d.ts
|
|
8
7
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
9
8
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
4
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
5
|
import en_US_default from "./locale/en_US.js";
|
|
6
6
|
import useLocale from "../locale/useLocale.js";
|
package/dist/card/Card.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
3
4
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
4
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { getSlotPropsFnRun, toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
6
6
|
import { isRenderable } from "../_util/is.js";
|
|
7
7
|
import useVariant from "../form/hooks/useVariant.js";
|
package/dist/card/CardGrid.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef } from "vue";
|
|
4
4
|
import { clsx } from "@v-c/util";
|
|
5
5
|
//#region src/card/CardGrid.tsx
|
package/dist/card/CardMeta.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
4
4
|
import { isRenderable } from "../_util/is.js";
|
|
5
5
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
package/dist/card/style/index.js
CHANGED
|
@@ -66,7 +66,7 @@ const genCardGridStyle = (token) => {
|
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
68
|
const genCardActionsStyle = (token) => {
|
|
69
|
-
const {
|
|
69
|
+
const { antCls, iconCls, actionsLiMargin, cardActionsIconSize, colorBorderSecondary, actionsBg } = token;
|
|
70
70
|
return {
|
|
71
71
|
margin: 0,
|
|
72
72
|
padding: 0,
|
|
@@ -91,7 +91,7 @@ const genCardActionsStyle = (token) => {
|
|
|
91
91
|
color: token.colorPrimary,
|
|
92
92
|
transition: `color ${token.motionDurationMid}`
|
|
93
93
|
},
|
|
94
|
-
[`a:not(${
|
|
94
|
+
[`a:not(${antCls}-btn), > ${iconCls}`]: {
|
|
95
95
|
display: "inline-block",
|
|
96
96
|
width: "100%",
|
|
97
97
|
color: token.colorIcon,
|
package/dist/carousel/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
1
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
+
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
4
|
import { getSlotPropsFnRun } from "../_util/tools.js";
|
|
5
5
|
import localeValues from "../locale/en_US.js";
|
|
6
6
|
import useLocale from "../locale/useLocale.js";
|
package/dist/cascader/Panel.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getSlotPropsFnRun, getSlotPropsFnRunWithFallback, toPropsRefs } from "../_util/tools.js";
|
|
4
4
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
5
5
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
package/dist/cascader/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
4
|
+
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
2
5
|
import { useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
6
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
7
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
6
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
7
|
-
import { useZIndex } from "../_util/hooks/useZIndex.js";
|
|
8
8
|
import { getSlotPropsFnRun, getSlotPropsFnRunWithFallback, toPropsRefs } from "../_util/tools.js";
|
|
9
9
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
10
10
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
@@ -26,8 +26,8 @@ import style_default$1 from "./style/index.js";
|
|
|
26
26
|
import CascaderPanel from "./Panel.js";
|
|
27
27
|
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
|
28
28
|
import { clsx } from "@v-c/util";
|
|
29
|
-
import { getTransitionName } from "@v-c/util/dist/utils/transition";
|
|
30
29
|
import { omit as omit$1 } from "es-toolkit";
|
|
30
|
+
import { getTransitionName } from "@v-c/util/dist/utils/transition";
|
|
31
31
|
import VcCascader, { SHOW_CHILD, SHOW_PARENT } from "@v-c/cascader";
|
|
32
32
|
//#region src/cascader/index.tsx
|
|
33
33
|
function highlightKeyword(str, lowerKeyword, prefixCls) {
|
|
@@ -2,7 +2,6 @@ import { SeedToken } from "../../theme/interface/seeds.js";
|
|
|
2
2
|
import { AliasToken } from "../../theme/interface/alias.js";
|
|
3
3
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
4
4
|
import "../../theme/interface/index.js";
|
|
5
|
-
import "../../theme/internal.js";
|
|
6
5
|
//#region src/cascader/style/panel.d.ts
|
|
7
6
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => import("vue").Ref<string, string>;
|
|
8
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
4
|
import { useFormItemContext, useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
5
|
import { toPropsRefs } from "../_util/tools.js";
|
|
6
6
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
7
7
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
package/dist/checkbox/Group.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useBaseConfig } from "../config-provider/context.js";
|
|
2
1
|
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
4
4
|
import { useDisabledContext } from "../config-provider/DisabledContext.js";
|
|
5
5
|
import style_default from "./style/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
1
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
3
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
|
-
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import { toPropsRefs } from "../_util/tools.js";
|
|
5
5
|
import initCollapseMotion from "../_util/motion.js";
|
|
6
6
|
import { resolveSlotsNode } from "../_util/vnode/index.js";
|
|
@@ -9,8 +9,8 @@ import CollapsePanel, { COLLAPSE_PANEL_MARK } from "./CollapsePanel.js";
|
|
|
9
9
|
import style_default from "./style/index.js";
|
|
10
10
|
import { computed, createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
11
11
|
import { classNames } from "@v-c/util";
|
|
12
|
-
import { RightOutlined } from "@antdv-next/icons";
|
|
13
12
|
import { omit as omit$1 } from "es-toolkit";
|
|
13
|
+
import { RightOutlined } from "@antdv-next/icons";
|
|
14
14
|
import VcCollapse from "@v-c/collapse";
|
|
15
15
|
//#region src/collapse/Collapse.tsx
|
|
16
16
|
const Collapse = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots }) => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
4
|
import { useFormItemInputContext } from "../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
4
5
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
5
6
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
6
7
|
import { ContextIsolator } from "../_util/ContextIsolator.js";
|
|
7
|
-
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
8
8
|
import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
9
9
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
10
10
|
import useMergedArrow from "../tooltip/hooks/useMergedArrow.js";
|
package/dist/components.d.ts
CHANGED
|
@@ -167,5 +167,5 @@ import Typography, { TypographyLink, TypographyParagraph, TypographyText, Typogr
|
|
|
167
167
|
import { DraggerProps } from "./upload/Dragger.js";
|
|
168
168
|
import { UploadRef } from "./upload/Upload.js";
|
|
169
169
|
import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
|
|
170
|
-
import Watermark, { WatermarkProps, WatermarkRef } from "./watermark/index.js";
|
|
171
|
-
export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$11 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkProps, type WatermarkRef, type WeekPickerProps, staticMethods as message, staticMethods$1 as notification, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useTree };
|
|
170
|
+
import Watermark, { WatermarkEmits, WatermarkProps, WatermarkRef, WatermarkSlots } from "./watermark/index.js";
|
|
171
|
+
export { Affix, type AffixEmits, type AffixProps, type AffixRef, Alert, type AlertEmits, type AlertProps, type AlertSemanticType, type AlertSlots, Anchor, type AnchorEmits, type AnchorLinkProps, type AnchorProps, type AnchorSlots, type AntTreeNode, type AntTreeNodeCheckedEvent, type AntTreeNodeExpandedEvent, type AntTreeNodeMouseEvent, type AntTreeNodeProps, type AntTreeNodeSelectedEvent, type AntdTreeNodeAttribute, _default as App, type AppProps, AutoComplete, type AutoCompleteClassNamesType, type AutoCompleteEmits, Option as AutoCompleteOption, type AutoCompleteProps, type AutoCompleteSlots, type AutoCompleteStylesType, Avatar, type AvatarEmits, AvatarGroup, type AvatarGroupProps, type AvatarGroupRef, type AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamProps, _default$1 as Breadcrumb, type BreadcrumbEmits, _default$2 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$3 as BreadcrumbSeparator, type BreadcrumbSlots, Button, type ButtonColorType, type ButtonEmits, type ButtonHTMLType, type ButtonProps, type ButtonSemanticName, type ButtonShape, type SizeType as ButtonSize, type ButtonSlots, type ButtonType, type ButtonVariantType, _default$4 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, _default$5 as Card, type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Carousel, type CarouselEmits, type CarouselProps, type CarouselRef, type CarouselSlots, Cascader, type CascaderEmits, CascaderPanel, type CascaderPanelEmits, type CascaderPanelProps, type CascaderPanelSlots, type CascaderProps, type CascaderSlots, CheckableTag, CheckableTagGroup, type CheckableTagProps, InternalCheckbox as Checkbox, type CheckboxEmits, CheckboxGroup, type CheckboxGroupEmits, type CheckboxGroupProps, type CheckboxGroupSlots, type CheckboxOptionType, type CheckboxProps, type CheckboxSlots, Col, type ColProps, type ColSize, Collapse, CollapsePanel, type CollapsePanelProps, type CollapsePanelSlots, type CollapseProps, type AggregationColor as Color, ColorPicker, type ColorPickerEmits, type ColorPickerProps, type ColorPickerSlots, type ColorValueType, _default$6 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$7 as DatePicker, type DatePickerEmits, type DatePickerProps, type DatePickerSlots, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, type DescriptionsItemProps, type DescriptionsItemSlots, type DescriptionsItemType, type DescriptionsProps, type DescriptionsRef, type DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, type DividerRef, Drawer, type DrawerEmits, type DrawerProps, type DrawerResizableConfig, type DrawerSlots, Dropdown, type DropdownArrowOptions, type DropdownEmits, type DropdownProps, type DropdownSlots, _default$8 as Empty, type EmptyProps, type EmptyRef, type EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, type FloatButtonGroupRef, type FloatButtonProps, type FloatButtonRef, InternalForm as Form, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, _default_1 as Image, type ImageEmits, type PreviewConfig as ImagePreviewConfig, ImagePreviewGroup, type ImagePreviewGroupProps, type ImageProps, type ImageSlots, CompoundedInput as Input, type InputEmits, InputGroup, type InputGroupProps, InputNumber, type InputNumberEmits, type InputNumberProps, type VcInputNumberRef as InputNumberRef, type InputNumberStepContext, type ValueType as InputNumberValueType, InputOTP, type OTPEmits as InputOTPEmits, type OTPProps as InputOTPProps, type OTPSlots as InputOTPSlots, InputPassword, type PasswordProps as InputPasswordProps, type InputPasswordRef, type InputProps, type InputRef, InputSearch, type SearchProps as InputSearchProps, type InputSearchRef, type InputSlots, type InputTextAreaRef, type KeyWise, type KeyWiseTransferItem, Layout, LayoutContent, LayoutFooter, LayoutHeader, type BasicProps as LayoutProps, LayoutSider, type LegacyButtonType, type ListStyle, Listy, type ListyClassNames, type ListyProps, type ListyRef, type ListyScrollToConfig, type ListyStyles, _default$9 as Masonry, type MasonryEmits, type MasonryProps, type MasonryRef, type MasonrySlots, type MentionPlacement, Mentions, type MentionsClassNamesType, type MentionsEmits, Option$1 as MentionsOption, type MentionsOptionProps, type MentionsProps, type MentionsRef, type MentionsSlots, type MentionsStylesType, _default$10 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$11 as Modal, type ModalEmits, type ModalProps, type ModalSlots, type MonthPickerProps, Pagination, type PaginationClassNamesType, type PaginationComponents, type PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, type PaginationSizeChangerProps, type PaginationSlots, type PaginationStylesType, Popconfirm, type PopconfirmEmits, type PopconfirmProps, type PopconfirmSlots, Popover, type PopoverEmits, type PopoverProps, type PopoverRef, type PopoverSlots, Progress, type ProgressProps, QRCode, type QRCodeEmits, type QRCodeProps, type QRCodeRef, InternalRadio as Radio, RadioButton, type RadioChangeEvent, type RadioEmits, RadioGroup, type RadioGroupEmits, type RadioGroupOptionType, type RadioGroupProps, type RadioGroupSlots, type RadioOptionType, type RadioProps, type RadioSlots, type RangePickerProps, Rate, type RateEmits, type RateProps, type RenderResult, type RenderResultObject, _default$12 as Result, type ResultProps, type ResultRef, type ResultSlots, type ResultStatusType, Row, type RowProps, type Rule, type RuleObject, type RuleRender, type RuleType, Segmented, type SegmentedEmits, type SegmentedOptions, type SegmentedProps, type SegmentedSlots, Select, type SelectAllLabel, type SelectEmits, type SelectInfo, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, type SkeletonRef, Slider, type SliderEmits, type SliderProps, type SliderRef, Space, SpaceAddon, SpaceCompact, type SpaceCompactProps, type SpaceCompactRef, type SpaceProps, type SpaceSize, type SpaceSlots, _default$13 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$14 as Statistic, type StatisticProps, type StatisticRef, StatisticTimer, type StatisticTimerProps, type StepItem, Steps, type StepsEmits, type StepsProps, type StepsSlots, SubMenu, type SubMenuProps, Switch, type SwitchEmits, type SwitchProps, type SwitchSize, type SwitchSlots, TabPane, type TabPaneProps, _default$15 as Table, type TableClassNamesType, Column as TableColumn, ColumnGroup as TableColumnGroup, type ColumnType as TableColumnType, type ColumnsType as TableColumnsType, type DataIndex as TableDataIndex, type TableEmits, type FilterDropdownProps as TableFilterDropdownProps, type TableLocale, type TablePaginationConfig, type TableProps, type TableRowSelection, type TableSlots, type SortOrder as TableSortOrder, type SorterResult as TableSorterResult, type TableStylesType, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, type TabsEmits, type TabsProps, type TabsRef, type TabsSlots, Tag, type TagProps, type TagSlots, InternalTextArea as TextArea, type TextAreaProps, type TextAreaRef, _default$16 as TimePicker, type TimePickerEmits, type TimePickerLocale, type TimePickerProps, type TimePickerSlots, TimeRangePicker, type TimeRangePickerEmits, type TimeRangePickerProps, type TimeRangePickerSlots, Timeline, TimelineItem, type TimelineItemProps, type TimelineItemSlots, type TimelineItemType, type TimelineProps, _default$17 as Tooltip, type TooltipAlignConfig, type TooltipEmits, type TooltipPlacement, type TooltipProps, type TooltipRef, type TooltipSlots, Tour, type TourEmits, type TourLocale, type TourProps, type TourSlots, type TourStepItem, type TourStylesType, InternalTransfer as Transfer, type TransferClassNamesType, type TransferCustomListBodyProps, type TransferDirection, type TransferEmits, type TransferItem, type TransferKey, type TransferListBodyProps, type TransferListProps, type TransferLocale, type TransferOperationProps, type PaginationType as TransferPaginationType, type TransferProps, type TransferRef, type TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeInstance, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, type UseTreeConfig as TreeUseTreeConfig, Typography, type BlockProps as TypographyBaseProps, TypographyLink, type LinkProps as TypographyLinkProps, TypographyParagraph, type ParagraphProps as TypographyParagraphProps, TypographyText, type TextProps as TypographyTextProps, TypographyTitle, type TitleProps as TypographyTitleProps, UniqueProvider, Upload, type UploadChangeParam, UploadDragger, type DraggerProps as UploadDraggerProps, type UploadEmits, type UploadFile, type UploadProps, type UploadRef, type UploadSlots, Watermark, type WatermarkEmits, type WatermarkProps, type WatermarkRef, type WatermarkSlots, type WeekPickerProps, staticMethods as message, staticMethods$1 as notification, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useTree };
|
|
@@ -381,6 +381,7 @@ interface ConfigComponentProps {
|
|
|
381
381
|
select?: SelectConfig;
|
|
382
382
|
app?: ComponentStyleConfig;
|
|
383
383
|
alert?: AlertConfig;
|
|
384
|
+
affix?: ComponentStyleConfig;
|
|
384
385
|
anchor?: AnchorStyleConfig;
|
|
385
386
|
button?: ButtonConfig;
|
|
386
387
|
divider?: DividerConfig;
|
|
@@ -441,6 +442,7 @@ interface ConfigComponentProps {
|
|
|
441
442
|
flex?: FlexConfig;
|
|
442
443
|
qrcode?: QRcodeConfig;
|
|
443
444
|
wave?: WaveConfig;
|
|
445
|
+
watermark?: ComponentStyleConfig;
|
|
444
446
|
}
|
|
445
447
|
interface ConfigConsumerProps extends ConfigComponentProps {
|
|
446
448
|
getTargetContainer?: () => HTMLElement;
|
|
@@ -4,7 +4,7 @@ import { ColumnType } from "../table/interface.js";
|
|
|
4
4
|
import "../table/index.js";
|
|
5
5
|
import { Locale } from "../locale/index.js";
|
|
6
6
|
import { RenderEmptyHandler } from "./defaultRenderEmpty.js";
|
|
7
|
-
import { AlertConfig, AnchorStyleConfig, AutoCompleteConfig, BadgeConfig, BreadcrumbConfig, ButtonConfig, CSPConfig, CalendarConfig, CardConfig, CardMetaConfig, CascaderConfig, CheckboxConfig, CollapseConfig, ColorPickerConfig, ComponentStyleConfig, DatePickerConfig, DescriptionsConfig, DirectionType, DividerConfig, DrawerConfig, DropdownConfig, EmptyConfig, FlexConfig, FloatButtonConfig, FloatButtonGroupConfig, FormConfig, ImageConfig, InputConfig, InputNumberConfig, InputPasswordConfig, InputSearchConfig, ListyConfig, MasonryConfig, MentionsConfig, MenuConfig, ModalConfig, NotificationConfig, OTPConfig, PaginationConfig, PopconfirmConfig, PopoverConfig, PopupOverflow, ProgressConfig, RadioConfig, RangePickerConfig, ResultConfig, RibbonConfig, SegmentedConfig, SelectConfig, SkeletonConfig, SliderConfig, SpaceConfig, SpinConfig, SplitterConfig, StatisticConfig, StepsConfig, SwitchStyleConfig, TableConfig, TabsConfig, TagConfig, TextAreaConfig, ThemeConfig, TimePickerConfig, TimelineConfig, TooltipConfig, TourConfig, TransferConfig, TreeConfig, TreeSelectConfig, TypographyConfig, UploadConfig, Variant, WaveConfig } from "./context.js";
|
|
7
|
+
import { AlertConfig, AnchorStyleConfig, AutoCompleteConfig, BadgeConfig, BreadcrumbConfig, ButtonConfig, CSPConfig, CalendarConfig, CardConfig, CardMetaConfig, CascaderConfig, CheckboxConfig, CollapseConfig, ColorPickerConfig, ComponentStyleConfig, DatePickerConfig, DescriptionsConfig, DirectionType, DividerConfig, DrawerConfig, DropdownConfig, EmptyConfig, FlexConfig, FloatButtonConfig, FloatButtonGroupConfig, FormConfig, ImageConfig, InputConfig, InputNumberConfig, InputPasswordConfig, InputSearchConfig, ListyConfig, MasonryConfig, MentionsConfig, MenuConfig, ModalConfig, NotificationConfig, OTPConfig, PaginationConfig, PopconfirmConfig, PopoverConfig, PopupOverflow, ProgressConfig, QRcodeConfig, RadioConfig, RangePickerConfig, ResultConfig, RibbonConfig, SegmentedConfig, SelectConfig, SkeletonConfig, SliderConfig, SpaceConfig, SpinConfig, SplitterConfig, StatisticConfig, StepsConfig, SwitchStyleConfig, TableConfig, TabsConfig, TagConfig, TextAreaConfig, ThemeConfig, TimePickerConfig, TimelineConfig, TooltipConfig, TourConfig, TransferConfig, TreeConfig, TreeSelectConfig, TypographyConfig, UploadConfig, Variant, WaveConfig } from "./context.js";
|
|
8
8
|
//#region src/config-provider/define.d.ts
|
|
9
9
|
interface ConfigProviderProps {
|
|
10
10
|
getTargetContainer?: () => HTMLElement | Window;
|
|
@@ -57,7 +57,9 @@ interface ConfigProviderProps {
|
|
|
57
57
|
theme?: ThemeConfig;
|
|
58
58
|
warning?: WarningContextProps;
|
|
59
59
|
alert?: AlertConfig;
|
|
60
|
+
affix?: ComponentStyleConfig;
|
|
60
61
|
app?: ComponentStyleConfig;
|
|
62
|
+
borderBeam?: ComponentStyleConfig;
|
|
61
63
|
anchor?: AnchorStyleConfig;
|
|
62
64
|
button?: ButtonConfig;
|
|
63
65
|
calendar?: CalendarConfig;
|
|
@@ -88,6 +90,7 @@ interface ConfigProviderProps {
|
|
|
88
90
|
descriptions?: DescriptionsConfig;
|
|
89
91
|
empty?: EmptyConfig;
|
|
90
92
|
badge?: BadgeConfig;
|
|
93
|
+
qrcode?: QRcodeConfig;
|
|
91
94
|
radio?: RadioConfig;
|
|
92
95
|
rate?: ComponentStyleConfig;
|
|
93
96
|
ribbon?: RibbonConfig;
|
|
@@ -116,6 +119,7 @@ interface ConfigProviderProps {
|
|
|
116
119
|
tooltip?: TooltipConfig;
|
|
117
120
|
popover?: PopoverConfig;
|
|
118
121
|
popconfirm?: PopconfirmConfig;
|
|
122
|
+
watermark?: ComponentStyleConfig;
|
|
119
123
|
}
|
|
120
124
|
interface ConfigProviderSlots {
|
|
121
125
|
renderEmpty?: (componentName?: string) => any;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ANT_MARK, LocaleProvider, useLocaleContext } from "../locale/index.js";
|
|
1
|
+
import { useConfig, useConfigProvider } from "./context.js";
|
|
3
2
|
import seedToken from "../theme/themes/seed.js";
|
|
4
3
|
import defaultTheme from "../theme/themes/default/theme.js";
|
|
5
4
|
import { DesignTokenProvider } from "../theme/context.js";
|
|
6
|
-
import { useConfig, useConfigProvider } from "./context.js";
|
|
7
|
-
import { SizeProvider } from "./SizeContext.js";
|
|
8
5
|
import useResetIconStyle from "../theme/util/useResetIconStyle.js";
|
|
6
|
+
import { useWarningProvider } from "../_util/warning.js";
|
|
7
|
+
import { ANT_MARK, LocaleProvider, useLocaleContext } from "../locale/index.js";
|
|
8
|
+
import { SizeProvider } from "./SizeContext.js";
|
|
9
9
|
import UniqueProvider from "../tooltip/UniqueProvider/index.js";
|
|
10
10
|
import { DisabledContextProvider } from "./DisabledContext.js";
|
|
11
11
|
import { useExportConfig } from "./hooks/useConfig.js";
|
|
@@ -33,6 +33,7 @@ const PASSED_PROPS = [
|
|
|
33
33
|
"treeSelect",
|
|
34
34
|
"button",
|
|
35
35
|
"alert",
|
|
36
|
+
"affix",
|
|
36
37
|
"app",
|
|
37
38
|
"cascader",
|
|
38
39
|
"borderBeam",
|
|
@@ -164,6 +165,7 @@ const ProviderChildren = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
164
165
|
carousel: props.carousel,
|
|
165
166
|
cardMeta: props.cardMeta,
|
|
166
167
|
ribbon: props.ribbon,
|
|
168
|
+
watermark: props.watermark,
|
|
167
169
|
warning: props.warning
|
|
168
170
|
};
|
|
169
171
|
const config = { ...parentConfig };
|
|
@@ -395,10 +397,18 @@ const ProviderChildren = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
395
397
|
type: Object,
|
|
396
398
|
required: false
|
|
397
399
|
},
|
|
400
|
+
affix: {
|
|
401
|
+
type: Object,
|
|
402
|
+
required: false
|
|
403
|
+
},
|
|
398
404
|
app: {
|
|
399
405
|
type: Object,
|
|
400
406
|
required: false
|
|
401
407
|
},
|
|
408
|
+
borderBeam: {
|
|
409
|
+
type: Object,
|
|
410
|
+
required: false
|
|
411
|
+
},
|
|
402
412
|
anchor: {
|
|
403
413
|
type: Object,
|
|
404
414
|
required: false
|
|
@@ -519,6 +529,10 @@ const ProviderChildren = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
519
529
|
type: Object,
|
|
520
530
|
required: false
|
|
521
531
|
},
|
|
532
|
+
qrcode: {
|
|
533
|
+
type: Object,
|
|
534
|
+
required: false
|
|
535
|
+
},
|
|
522
536
|
radio: {
|
|
523
537
|
type: Object,
|
|
524
538
|
required: false
|
|
@@ -630,6 +644,10 @@ const ProviderChildren = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
630
644
|
popconfirm: {
|
|
631
645
|
type: Object,
|
|
632
646
|
required: false
|
|
647
|
+
},
|
|
648
|
+
watermark: {
|
|
649
|
+
type: Object,
|
|
650
|
+
required: false
|
|
633
651
|
}
|
|
634
652
|
}, providerDefaultProps),
|
|
635
653
|
inheritAttrs: false
|
|
@@ -775,10 +793,18 @@ const ConfigProvider = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
775
793
|
type: Object,
|
|
776
794
|
required: false
|
|
777
795
|
},
|
|
796
|
+
affix: {
|
|
797
|
+
type: Object,
|
|
798
|
+
required: false
|
|
799
|
+
},
|
|
778
800
|
app: {
|
|
779
801
|
type: Object,
|
|
780
802
|
required: false
|
|
781
803
|
},
|
|
804
|
+
borderBeam: {
|
|
805
|
+
type: Object,
|
|
806
|
+
required: false
|
|
807
|
+
},
|
|
782
808
|
anchor: {
|
|
783
809
|
type: Object,
|
|
784
810
|
required: false
|
|
@@ -899,6 +925,10 @@ const ConfigProvider = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
899
925
|
type: Object,
|
|
900
926
|
required: false
|
|
901
927
|
},
|
|
928
|
+
qrcode: {
|
|
929
|
+
type: Object,
|
|
930
|
+
required: false
|
|
931
|
+
},
|
|
902
932
|
radio: {
|
|
903
933
|
type: Object,
|
|
904
934
|
required: false
|
|
@@ -1010,6 +1040,10 @@ const ConfigProvider = /* @__PURE__ */ defineComponent((props, { slots }) => {
|
|
|
1010
1040
|
popconfirm: {
|
|
1011
1041
|
type: Object,
|
|
1012
1042
|
required: false
|
|
1043
|
+
},
|
|
1044
|
+
watermark: {
|
|
1045
|
+
type: Object,
|
|
1046
|
+
required: false
|
|
1013
1047
|
}
|
|
1014
1048
|
}, providerDefaultProps),
|
|
1015
1049
|
name: "AConfigProvider",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { getAttrStyleAndClass } from "../../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../../_util/warning.js";
|
|
4
|
+
import { useZIndex } from "../../_util/hooks/useZIndex.js";
|
|
2
5
|
import { useFormItemInputContext } from "../../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../../config-provider/context.js";
|
|
4
6
|
import { useSize } from "../../config-provider/hooks/useSize.js";
|
|
5
7
|
import { useCompactItemContext } from "../../space/Compact.js";
|
|
6
8
|
import { ContextIsolator } from "../../_util/ContextIsolator.js";
|
|
7
|
-
import { getAttrStyleAndClass } from "../../_util/hooks/useMergeSemantic.js";
|
|
8
|
-
import { useZIndex } from "../../_util/hooks/useZIndex.js";
|
|
9
9
|
import fallbackProp from "../../_util/fallbackProp.js";
|
|
10
10
|
import { getSlotPropsFnRun, toPropsRefs } from "../../_util/tools.js";
|
|
11
11
|
import useCSSVarCls from "../../config-provider/hooks/useCSSVarCls.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import { getAttrStyleAndClass } from "../../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentBaseConfig } from "../../config-provider/context.js";
|
|
1
3
|
import { devUseWarning, isDev } from "../../_util/warning.js";
|
|
4
|
+
import { useZIndex } from "../../_util/hooks/useZIndex.js";
|
|
2
5
|
import { useFormItemInputContext } from "../../form/context.js";
|
|
3
|
-
import { useComponentBaseConfig } from "../../config-provider/context.js";
|
|
4
6
|
import { useSize } from "../../config-provider/hooks/useSize.js";
|
|
5
7
|
import { useCompactItemContext } from "../../space/Compact.js";
|
|
6
8
|
import { ContextIsolator } from "../../_util/ContextIsolator.js";
|
|
7
|
-
import { getAttrStyleAndClass } from "../../_util/hooks/useMergeSemantic.js";
|
|
8
|
-
import { useZIndex } from "../../_util/hooks/useZIndex.js";
|
|
9
9
|
import fallbackProp from "../../_util/fallbackProp.js";
|
|
10
10
|
import { getSlotPropsFnRun, toPropsRefs } from "../../_util/tools.js";
|
|
11
11
|
import useCSSVarCls from "../../config-provider/hooks/useCSSVarCls.js";
|
|
@@ -2,8 +2,8 @@ import PickerButton from "../PickerButton.js";
|
|
|
2
2
|
//#region src/date-picker/generatePicker/useComponents.ts
|
|
3
3
|
function useComponents(components) {
|
|
4
4
|
return {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
...components ?? {},
|
|
6
|
+
okButton: components?.okButton ?? components?.button ?? PickerButton
|
|
7
7
|
};
|
|
8
8
|
}
|
|
9
9
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useComponentConfig } from "../../config-provider/context.js";
|
|
2
1
|
import { useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../../_util/hooks/useMergeSemantic.js";
|
|
2
|
+
import { useComponentConfig } from "../../config-provider/context.js";
|
|
3
3
|
import { computed, unref } from "vue";
|
|
4
4
|
import { clsx } from "@v-c/util";
|
|
5
5
|
//#region src/date-picker/hooks/useMergedPickerSemantic.ts
|
|
@@ -4,7 +4,6 @@ import { ComponentToken, PanelComponentToken, PickerPanelToken, initPanelCompone
|
|
|
4
4
|
import { genPanelStyle } from "./panel.js";
|
|
5
5
|
import { ComponentTokenMap } from "../../theme/interface/components.js";
|
|
6
6
|
import "../../theme/interface/index.js";
|
|
7
|
-
import "../../theme/internal.js";
|
|
8
7
|
//#region src/date-picker/style/index.d.ts
|
|
9
8
|
declare const _default: (prefixCls: import("vue").Ref<string>, rootCls?: import("vue").Ref<string | undefined>, tokenResult?: import("@antdv-next/cssinjs").UseTokenReturn<ComponentTokenMap, AliasToken, SeedToken> | undefined) => readonly [import("vue").Ref<string, string>, import("vue").ComputedRef<string | undefined>];
|
|
10
9
|
//#endregion
|