antdv-next 1.8.1 → 1.8.3
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/useClosable.d.ts +3 -3
- package/dist/_util/hooks/useClosable.js +9 -9
- package/dist/_util/hooks/useZIndex.js +14 -15
- package/dist/_util/vueNode.d.ts +6 -2
- package/dist/affix/index.js +27 -12
- 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 +19634 -19203
- package/dist/antd-with-locales.js +112 -112
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +17697 -17268
- package/dist/antd.js +113 -113
- 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.d.ts +4 -1
- package/dist/badge/index.js +6 -6
- package/dist/border-beam/BorderBeam.js +1 -1
- package/dist/breadcrumb/Breadcrumb.js +2 -2
- package/dist/button/Button.js +1 -1
- package/dist/button/style/index.js +8 -2
- package/dist/calendar/generateCalendar.js +3 -3
- 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/checkbox/Checkbox.js +3 -2
- package/dist/checkbox/Group.js +1 -1
- package/dist/collapse/Collapse.js +2 -2
- package/dist/color-picker/ColorPicker.js +6 -2
- package/dist/color-picker/ColorPickerPanel.js +4 -0
- package/dist/color-picker/components/ColorSlider.js +12 -4
- package/dist/color-picker/components/PanelPicker/GradientColorBar.js +2 -0
- package/dist/components.d.ts +12 -8
- package/dist/components.js +3 -3
- package/dist/config-provider/context.d.ts +5 -3
- package/dist/config-provider/context.js +3 -3
- 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/hooks/useMergedPickerSemantic.js +1 -1
- package/dist/date-picker/style/panel.js +3 -5
- package/dist/descriptions/hooks/useItems.d.ts +2 -2
- package/dist/descriptions/hooks/useRow.js +1 -1
- 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/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.d.ts +17 -44
- package/dist/form/Form.js +56 -7
- package/dist/form/FormItem/ItemHolder.js +3 -3
- package/dist/form/FormItem/index.d.ts +3 -3
- package/dist/form/FormItem/index.js +1 -1
- package/dist/form/FormItemLabel.js +1 -1
- package/dist/form/context.d.ts +3 -3
- package/dist/form/hooks/useForm.d.ts +4 -5
- package/dist/form/hooks/useVariant.js +1 -1
- package/dist/form/index.d.ts +29 -3
- package/dist/form/index.js +6 -6
- package/dist/form/types.d.ts +15 -7
- package/dist/grid/col.js +1 -1
- package/dist/grid/row.js +1 -1
- package/dist/image/PreviewGroup.js +2 -2
- package/dist/image/index.d.ts +5 -5
- package/dist/image/index.js +9 -5
- package/dist/index.d.ts +14 -7
- package/dist/index.js +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-number/index.js +3 -3
- package/dist/input-number/style/index.js +3 -2
- package/dist/layout/Sider.js +2 -2
- package/dist/layout/layout.js +2 -3
- 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 +5 -4
- package/dist/menu/MenuDivider.js +1 -1
- package/dist/menu/MenuItem.js +1 -1
- package/dist/menu/index.d.ts +2 -1
- package/dist/menu/index.js +29 -5
- package/dist/menu/menu.js +42 -18
- package/dist/message/PurePanel.js +2 -2
- package/dist/message/index.js +11 -9
- 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 +6 -8
- package/dist/modal/index.d.ts +2 -2
- package/dist/modal/interface.d.ts +1 -1
- package/dist/modal/useModal/index.js +9 -4
- package/dist/notification/PurePanel.js +2 -2
- package/dist/notification/index.js +8 -13
- package/dist/notification/useNotification.js +2 -2
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +1 -0
- 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/segmented/style/index.js +3 -2
- package/dist/select/index.d.ts +1 -0
- package/dist/select/index.js +5 -5
- 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/skeleton/style/index.js +9 -13
- package/dist/slider/SliderTooltip.js +0 -1
- package/dist/slider/index.d.ts +2 -0
- package/dist/slider/index.js +5 -1
- package/dist/space/Addon.js +1 -1
- package/dist/space/index.js +1 -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.d.ts +2 -2
- package/dist/statistic/Timer.js +1 -1
- package/dist/steps/index.js +5 -4
- package/dist/switch/index.js +2 -2
- package/dist/table/InternalTable.js +10 -4
- package/dist/table/hooks/useFilter/FilterDropdown.js +2 -2
- package/dist/table/hooks/usePagination.d.ts +1 -2
- package/dist/table/hooks/usePagination.js +1 -3
- package/dist/table/hooks/useSelection.js +1 -1
- package/dist/table/hooks/useSorter.js +26 -19
- package/dist/table/style/index.js +1 -0
- package/dist/table/style/size.js +1 -0
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/index.js +3 -3
- package/dist/tabs/style/index.js +5 -1
- 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/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 +5 -2
- package/dist/transfer/Section.js +1 -1
- package/dist/transfer/Transfer.js +3 -3
- package/dist/transfer/hooks/useSelection.js +2 -1
- package/dist/tree/DirectoryTree.js +6 -5
- package/dist/tree/Tree.js +4 -4
- package/dist/tree/utils/dictUtil.js +5 -8
- package/dist/tree-select/index.js +4 -4
- package/dist/typography/Base/index.js +5 -3
- package/dist/typography/Base/util.js +2 -1
- package/dist/typography/Editable.js +6 -2
- package/dist/typography/Typography.js +1 -1
- package/dist/upload/Upload.js +25 -16
- package/dist/upload/UploadList/ListItem.js +5 -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/dist/watermark/utils.js +1 -1
- package/package.json +42 -41
- package/web-tags.json +22 -14
- package/web-types.json +46 -23
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.d.ts
CHANGED
|
@@ -45,6 +45,9 @@ interface BadgeSlots {
|
|
|
45
45
|
count?: () => any;
|
|
46
46
|
text?: () => any;
|
|
47
47
|
}
|
|
48
|
+
interface BadgeRef {
|
|
49
|
+
nativeElement: HTMLSpanElement;
|
|
50
|
+
}
|
|
48
51
|
declare const InternalBadge: import("vue").DefineSetupFnComponent<BadgeProps, EmptyEmit, SlotsType<BadgeSlots>, BadgeProps, import("vue").PublicProps>;
|
|
49
52
|
declare const Badge: typeof InternalBadge & {
|
|
50
53
|
Ribbon: typeof _default;
|
|
@@ -53,4 +56,4 @@ declare const BadgeRibbon: import("vue").DefineSetupFnComponent<RibbonProps, Emp
|
|
|
53
56
|
type BadgeRibbonProps = RibbonProps;
|
|
54
57
|
type BadgeRibbonRef = RibbonRef;
|
|
55
58
|
//#endregion
|
|
56
|
-
export { BadgeClassNamesType, BadgeProps, BadgeRibbon, BadgeRibbonProps, BadgeRibbonRef, BadgeSemanticClassNames, BadgeSemanticName, BadgeSemanticStyles, BadgeSlots, BadgeStylesType, Badge as default };
|
|
59
|
+
export { BadgeClassNamesType, BadgeProps, BadgeRef, BadgeRibbon, BadgeRibbonProps, BadgeRibbonRef, BadgeSemanticClassNames, BadgeSemanticName, BadgeSemanticStyles, BadgeSlots, BadgeStylesType, Badge as default };
|
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";
|
|
@@ -20,8 +20,8 @@ const InternalBadge = /* @__PURE__ */ defineComponent((props, { slots, attrs, ex
|
|
|
20
20
|
const { class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles, prefixCls, direction, getPrefixCls } = useComponentBaseConfig("badge", props);
|
|
21
21
|
const { classes, styles } = toPropsRefs$1(props, "classes", "styles");
|
|
22
22
|
const mergedProps = computed(() => props);
|
|
23
|
-
const
|
|
24
|
-
expose({
|
|
23
|
+
const nativeElementRef = shallowRef();
|
|
24
|
+
expose({ nativeElement: nativeElementRef });
|
|
25
25
|
const [hashId, cssVarCls] = style_default(prefixCls);
|
|
26
26
|
if (isDev) devUseWarning("Badge").deprecated(props.size !== "default", "size=\"default\"", "size=\"medium\"");
|
|
27
27
|
const numberedDisplayCount = computed(() => {
|
|
@@ -117,7 +117,7 @@ const InternalBadge = /* @__PURE__ */ defineComponent((props, { slots, attrs, ex
|
|
|
117
117
|
if (isStatusBadge.value) {
|
|
118
118
|
const statusTextColor = mergedStyles.value.root?.color;
|
|
119
119
|
return createVNode("span", mergeProps(restAttrs, {
|
|
120
|
-
"ref":
|
|
120
|
+
"ref": nativeElementRef,
|
|
121
121
|
"class": badgeClassName,
|
|
122
122
|
"style": [offsetStyle.value, mergedStyles.value.root]
|
|
123
123
|
}), [createVNode("span", {
|
|
@@ -139,7 +139,7 @@ const InternalBadge = /* @__PURE__ */ defineComponent((props, { slots, attrs, ex
|
|
|
139
139
|
const scrollNumberStyle = {};
|
|
140
140
|
if (props.color && !isInternalColor.value) scrollNumberStyle.background = props.color;
|
|
141
141
|
return createVNode("span", mergeProps(restAttrs, {
|
|
142
|
-
"ref":
|
|
142
|
+
"ref": nativeElementRef,
|
|
143
143
|
"class": badgeClassName,
|
|
144
144
|
"style": mergedStyles.value.root
|
|
145
145
|
}), [
|
|
@@ -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";
|
|
@@ -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";
|
|
@@ -8,7 +8,7 @@ import genVariantStyle from "./variant.js";
|
|
|
8
8
|
import { unit } from "@antdv-next/cssinjs";
|
|
9
9
|
//#region src/button/style/index.ts
|
|
10
10
|
const genSharedButtonStyle = (token) => {
|
|
11
|
-
const { componentCls, iconCls, fontWeight, opacityLoading, motionDurationSlow, motionEaseInOut, iconGap, calc } = token;
|
|
11
|
+
const { componentCls, iconCls, fontWeight, opacityLoading, motionDurationMid, motionDurationSlow, motionEaseInOut, iconGap, calc } = token;
|
|
12
12
|
return { [componentCls]: {
|
|
13
13
|
outline: "none",
|
|
14
14
|
position: "relative",
|
|
@@ -21,7 +21,13 @@ const genSharedButtonStyle = (token) => {
|
|
|
21
21
|
textAlign: "center",
|
|
22
22
|
backgroundImage: "none",
|
|
23
23
|
cursor: "pointer",
|
|
24
|
-
transition:
|
|
24
|
+
transition: [
|
|
25
|
+
"color",
|
|
26
|
+
"background-color",
|
|
27
|
+
"border-color",
|
|
28
|
+
"box-shadow",
|
|
29
|
+
"opacity"
|
|
30
|
+
].map((prop) => `${prop} ${motionDurationMid} ${motionEaseInOut}`).join(","),
|
|
25
31
|
userSelect: "none",
|
|
26
32
|
touchAction: "manipulation",
|
|
27
33
|
...genNoMotionStyle(),
|
|
@@ -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";
|
|
@@ -82,7 +82,7 @@ function generateCalendar(generateConfig) {
|
|
|
82
82
|
const panelMode = computed(() => mergedMode.value === "year" ? "month" : "date");
|
|
83
83
|
const mergedDisabledDate = computed(() => {
|
|
84
84
|
return (date) => {
|
|
85
|
-
return (props.validRange ? generateConfig.isAfter(props.validRange[0], date) || generateConfig.isAfter(date, props.validRange[1]) : false) || !!props.disabledDate?.(date);
|
|
85
|
+
return (props.validRange ? generateConfig.isAfter(props.validRange[0], date) && !isSameDate(date, props.validRange[0], generateConfig) || generateConfig.isAfter(date, props.validRange[1]) && !isSameDate(date, props.validRange[1], generateConfig) : false) || !!props.disabledDate?.(date);
|
|
86
86
|
};
|
|
87
87
|
});
|
|
88
88
|
const triggerPanelChange = (date, newMode) => {
|
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) {
|
|
@@ -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";
|
|
@@ -109,6 +109,7 @@ const InternalCheckbox = /* @__PURE__ */ defineComponent((props, { slots, emit,
|
|
|
109
109
|
"onClick": onLabelClick
|
|
110
110
|
}, restAttrs), [createVNode(VcCheckbox, mergeProps(omit$1(props, keys), {
|
|
111
111
|
"onChange": (e) => {
|
|
112
|
+
if (checkboxRef.value?.input) checkboxRef.value.input.indeterminate = !!props.indeterminate;
|
|
112
113
|
emit("change", e);
|
|
113
114
|
},
|
|
114
115
|
"onUpdate:checked": (checked) => {
|
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";
|
|
@@ -227,6 +227,10 @@ const ColorPicker = /* @__PURE__ */ defineComponent((props, { slots, expose, emi
|
|
|
227
227
|
required: false,
|
|
228
228
|
default: void 0
|
|
229
229
|
},
|
|
230
|
+
locale: {
|
|
231
|
+
type: Object,
|
|
232
|
+
required: false
|
|
233
|
+
},
|
|
230
234
|
mode: {
|
|
231
235
|
type: [String, Array],
|
|
232
236
|
required: false
|
|
@@ -123,15 +123,19 @@ const GradientColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
|
123
123
|
},
|
|
124
124
|
min: {
|
|
125
125
|
type: Number,
|
|
126
|
-
required:
|
|
126
|
+
required: false
|
|
127
127
|
},
|
|
128
128
|
max: {
|
|
129
129
|
type: Number,
|
|
130
|
-
required:
|
|
130
|
+
required: false
|
|
131
131
|
},
|
|
132
132
|
disabled: {
|
|
133
133
|
type: Boolean,
|
|
134
134
|
required: true
|
|
135
|
+
},
|
|
136
|
+
"aria-label": {
|
|
137
|
+
type: String,
|
|
138
|
+
required: false
|
|
135
139
|
}
|
|
136
140
|
},
|
|
137
141
|
name: "GradientColorSlider",
|
|
@@ -160,11 +164,11 @@ const SingleColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
|
160
164
|
},
|
|
161
165
|
min: {
|
|
162
166
|
type: Number,
|
|
163
|
-
required:
|
|
167
|
+
required: false
|
|
164
168
|
},
|
|
165
169
|
max: {
|
|
166
170
|
type: Number,
|
|
167
|
-
required:
|
|
171
|
+
required: false
|
|
168
172
|
},
|
|
169
173
|
value: {
|
|
170
174
|
type: Number,
|
|
@@ -189,6 +193,10 @@ const SingleColorSlider = /* @__PURE__ */ defineComponent((props) => {
|
|
|
189
193
|
color: {
|
|
190
194
|
type: Object,
|
|
191
195
|
required: true
|
|
196
|
+
},
|
|
197
|
+
"aria-label": {
|
|
198
|
+
type: String,
|
|
199
|
+
required: false
|
|
192
200
|
}
|
|
193
201
|
},
|
|
194
202
|
name: "ColorSlider",
|
|
@@ -46,8 +46,10 @@ var GradientColorBar_default = /* @__PURE__ */ defineComponent((props) => {
|
|
|
46
46
|
props.onChange?.(new AggregationColor(nextColors), true);
|
|
47
47
|
};
|
|
48
48
|
const onKeyDelete = (index) => {
|
|
49
|
+
if (colorList.value.length <= 2) return;
|
|
49
50
|
const nextColors = [...colorList.value];
|
|
50
51
|
nextColors.splice(index, 1);
|
|
52
|
+
if (props.activeIndex >= nextColors.length) props.onActive(nextColors.length - 1);
|
|
51
53
|
const nextColor = new AggregationColor(nextColors);
|
|
52
54
|
props.onChange?.(nextColor);
|
|
53
55
|
props.onChangeComplete?.(nextColor);
|
package/dist/components.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ import Row, { RowProps } from "./grid/row.js";
|
|
|
4
4
|
import "./grid/index.js";
|
|
5
5
|
import UniqueProvider from "./tooltip/UniqueProvider/index.js";
|
|
6
6
|
import _default$17, { TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots } from "./tooltip/index.js";
|
|
7
|
-
import { Rule, RuleObject, RuleRender, RuleType } from "./form/types.js";
|
|
8
|
-
import
|
|
7
|
+
import { FormInstance, FormValues, Rule, RuleObject, RuleRender, RuleType } from "./form/types.js";
|
|
8
|
+
import { FormEmits, FormProps, FormSlots } from "./form/Form.js";
|
|
9
9
|
import InternalFormItem, { FormItemEmits, FormItemProps, FormItemSlots } from "./form/FormItem/index.js";
|
|
10
10
|
import { DatePickerEmits, DatePickerSlots } from "./date-picker/generatePicker/generateSinglePicker.js";
|
|
11
11
|
import _default$16, { TimePickerEmits, TimePickerLocale, TimePickerProps, TimePickerSlots, TimeRangePicker, TimeRangePickerEmits, TimeRangePickerProps, TimeRangePickerSlots } from "./time-picker/index.js";
|
|
12
12
|
import _default$7, { DateMonthPicker, DatePickerProps, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, MonthPickerProps, RangePickerProps, WeekPickerProps } from "./date-picker/index.js";
|
|
13
13
|
import _default$8, { EmptyProps, EmptyRef, EmptySlots } from "./empty/index.js";
|
|
14
|
-
import { ModalEmits, ModalSlots } from "./modal/interface.js";
|
|
14
|
+
import { ModalEmits, ModalFuncProps, ModalLocale, ModalSlots } from "./modal/interface.js";
|
|
15
15
|
import Select, { SelectEmits, SelectOptGroup, SelectOption, SelectProps, SelectSlots, SelectValue } from "./select/index.js";
|
|
16
16
|
import { PaginationClassNamesType, PaginationComponents, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationSizeChangerProps, PaginationSlots, PaginationStylesType } from "./pagination/interface.js";
|
|
17
17
|
import Pagination from "./pagination/Pagination.js";
|
|
@@ -24,6 +24,7 @@ import InternalCheckbox, { CheckboxEmits, CheckboxProps, CheckboxSlots } from ".
|
|
|
24
24
|
import CheckboxGroup, { CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType } from "./checkbox/Group.js";
|
|
25
25
|
import "./checkbox/index.js";
|
|
26
26
|
import { MenuItemProps } from "./menu/MenuItem.js";
|
|
27
|
+
import { MenuTheme } from "./menu/MenuContext.js";
|
|
27
28
|
import { MenuEmits, MenuSlots } from "./menu/menu.js";
|
|
28
29
|
import MenuItemGroup, { MenuItemGroupProps } from "./menu/MenuItemGroup.js";
|
|
29
30
|
import SubMenu, { SubMenuProps } from "./menu/SubMenu.js";
|
|
@@ -56,7 +57,7 @@ import Anchor, { AnchorEmits, AnchorProps, AnchorSlots } from "./anchor/Anchor.j
|
|
|
56
57
|
import "./anchor/index.js";
|
|
57
58
|
import AutoComplete, { AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
|
|
58
59
|
import { RibbonProps, RibbonRef } from "./badge/Ribbon.js";
|
|
59
|
-
import Badge, { BadgeProps, BadgeRibbon, BadgeSlots } from "./badge/index.js";
|
|
60
|
+
import Badge, { BadgeProps, BadgeRef, BadgeRibbon, BadgeSlots } from "./badge/index.js";
|
|
60
61
|
import _default$2, { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
|
|
61
62
|
import _default$3 from "./breadcrumb/BreadcrumbSeparator.js";
|
|
62
63
|
import { BreadcrumbEmits, BreadcrumbProps, BreadcrumbRef, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
@@ -95,6 +96,7 @@ import InternalTextArea, { InputTextAreaRef, TextAreaProps, TextAreaRef } from "
|
|
|
95
96
|
import { ListyClassNames, ListyProps, ListyRef, ListyScrollToConfig, ListyStyles } from "./listy/interface.js";
|
|
96
97
|
import Listy from "./listy/index.js";
|
|
97
98
|
import { MasonryEmits, MasonryProps, MasonryRef, MasonrySlots } from "./masonry/Masonry.js";
|
|
99
|
+
import { ArgsProps as ArgsProps$1 } from "./notification/interface.js";
|
|
98
100
|
import useNotification from "./notification/useNotification.js";
|
|
99
101
|
import staticMethods$1 from "./notification/index.js";
|
|
100
102
|
import { QRCodeEmits } from "./qrcode/interface.js";
|
|
@@ -132,6 +134,7 @@ import { BlockProps } from "./typography/interface.js";
|
|
|
132
134
|
import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./button/buttonHelper.js";
|
|
133
135
|
import Button, { ButtonEmits, ButtonProps, ButtonSemanticName, ButtonSlots, LegacyButtonType } from "./button/Button.js";
|
|
134
136
|
import "./button/index.js";
|
|
137
|
+
import { ArgsProps } from "./message/interface.js";
|
|
135
138
|
import useModal from "./modal/useModal/index.js";
|
|
136
139
|
import { AppProps } from "./app/App.js";
|
|
137
140
|
import _default from "./app/index.js";
|
|
@@ -139,17 +142,18 @@ import { AvatarEmits, AvatarProps, AvatarSlots } from "./avatar/Avatar.js";
|
|
|
139
142
|
import AvatarGroup, { AvatarGroupProps, AvatarGroupRef } from "./avatar/AvatarGroup.js";
|
|
140
143
|
import Avatar from "./avatar/index.js";
|
|
141
144
|
import { BorderBeamColor, BorderBeamGradient } from "./border-beam/util.js";
|
|
142
|
-
import BorderBeam, { BorderBeamProps } from "./border-beam/BorderBeam.js";
|
|
145
|
+
import BorderBeam, { BorderBeamItem, BorderBeamProps } from "./border-beam/BorderBeam.js";
|
|
143
146
|
import "./border-beam/index.js";
|
|
144
147
|
import _default$1 from "./breadcrumb/index.js";
|
|
145
148
|
import CardGrid, { CardGridProps, CardGridRef } from "./card/CardGrid.js";
|
|
146
149
|
import _default$5 from "./card/index.js";
|
|
147
150
|
import Carousel, { CarouselEmits, CarouselProps, CarouselRef, CarouselSlots } from "./carousel/index.js";
|
|
148
151
|
import { FormHookInstance, useForm, useFormInstance } from "./form/hooks/useForm.js";
|
|
149
|
-
import "./form/index.js";
|
|
152
|
+
import Form, { FormConstructor } from "./form/index.js";
|
|
150
153
|
import { InputGroupProps } from "./input/Group.js";
|
|
151
154
|
import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
|
|
152
155
|
import Layout, { BasicProps } from "./layout/layout.js";
|
|
156
|
+
import { SiderProps } from "./layout/Sider.js";
|
|
153
157
|
import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
154
158
|
import _default$9 from "./masonry/index.js";
|
|
155
159
|
import Mentions, { MentionPlacement, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option as Option$1 } from "./mentions/index.js";
|
|
@@ -167,5 +171,5 @@ import Typography, { TypographyLink, TypographyParagraph, TypographyText, Typogr
|
|
|
167
171
|
import { DraggerProps } from "./upload/Dragger.js";
|
|
168
172
|
import { UploadRef } from "./upload/Upload.js";
|
|
169
173
|
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 };
|
|
174
|
+
import Watermark, { WatermarkContent, WatermarkEmits, WatermarkFont, WatermarkProps, WatermarkRef, WatermarkSlots, WatermarkText } from "./watermark/index.js";
|
|
175
|
+
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, type BadgeRef, BadgeRibbon, type RibbonProps as BadgeRibbonProps, type RibbonRef as BadgeRibbonRef, type BadgeSlots, type BasicDataNode, BorderBeam, type BorderBeamColor, type BorderBeamGradient, type BorderBeamItem, 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, Form, type FormConstructor, type FormEmits, type FormHookInstance, type FormInstance, InternalFormItem as FormItem, type FormItemEmits, type FormItemProps, type FormItemSlots, type FormProps, type FormSlots, type FormValues, _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, type MenuTheme, type ArgsProps as MessageArgsProps, _default$11 as Modal, type ModalEmits, type ModalFuncProps, type ModalLocale, type ModalProps, type ModalSlots, type MonthPickerProps, type ArgsProps$1 as NotificationArgsProps, 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, type SiderProps, 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 WatermarkContent, type WatermarkEmits, type WatermarkFont, type WatermarkProps, type WatermarkRef, type WatermarkSlots, type WatermarkText, type WeekPickerProps, staticMethods as message, staticMethods$1 as notification, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification, useTree };
|
package/dist/components.js
CHANGED
|
@@ -68,7 +68,7 @@ import BackTopWithInstall from "./float-button/BackTop.js";
|
|
|
68
68
|
import FloatButtonGroup from "./float-button/FloatButtonGroup.js";
|
|
69
69
|
import float_button_default from "./float-button/index.js";
|
|
70
70
|
import InternalFormItem from "./form/FormItem/index.js";
|
|
71
|
-
import
|
|
71
|
+
import Form from "./form/index.js";
|
|
72
72
|
import Image, { ImagePreviewGroup } from "./image/index.js";
|
|
73
73
|
import InternalTextArea from "./input/TextArea.js";
|
|
74
74
|
import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
|
|
@@ -153,7 +153,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
153
153
|
Flex: () => Flex,
|
|
154
154
|
FloatButton: () => float_button_default,
|
|
155
155
|
FloatButtonGroup: () => FloatButtonGroup,
|
|
156
|
-
Form: () =>
|
|
156
|
+
Form: () => Form,
|
|
157
157
|
FormItem: () => InternalFormItem,
|
|
158
158
|
Image: () => Image,
|
|
159
159
|
ImagePreviewGroup: () => ImagePreviewGroup,
|
|
@@ -250,4 +250,4 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
250
250
|
useTree: () => useTree
|
|
251
251
|
});
|
|
252
252
|
//#endregion
|
|
253
|
-
export { Affix, alert_default as Alert, anchor_default as Anchor, App, AutoComplete, Option as AutoCompleteOption, Avatar, AvatarGroup, BackTopWithInstall as BackTop, Badge, BadgeRibbon, border_beam_default as BorderBeam, breadcrumb_default as Breadcrumb, BreadcrumbItem, BreadcrumbSeparator, button_default as Button, Calendar, card_default as Card, CardGrid, CardMeta, Carousel, Cascader, CascaderPanel, CheckableTag, CheckableTagGroup, checkbox_default as Checkbox, CheckboxGroup, Col, collapse_default as Collapse, CollapsePanel, color_picker_default as ColorPicker, ConfigProvider, DateMonthPicker, DatePicker, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, DirectoryTree, Divider, Drawer, Dropdown, Empty, Flex, float_button_default as FloatButton, FloatButtonGroup,
|
|
253
|
+
export { Affix, alert_default as Alert, anchor_default as Anchor, App, AutoComplete, Option as AutoCompleteOption, Avatar, AvatarGroup, BackTopWithInstall as BackTop, Badge, BadgeRibbon, border_beam_default as BorderBeam, breadcrumb_default as Breadcrumb, BreadcrumbItem, BreadcrumbSeparator, button_default as Button, Calendar, card_default as Card, CardGrid, CardMeta, Carousel, Cascader, CascaderPanel, CheckableTag, CheckableTagGroup, checkbox_default as Checkbox, CheckboxGroup, Col, collapse_default as Collapse, CollapsePanel, color_picker_default as ColorPicker, ConfigProvider, DateMonthPicker, DatePicker, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, Descriptions, DescriptionsItem, DirectoryTree, Divider, Drawer, Dropdown, Empty, Flex, float_button_default as FloatButton, FloatButtonGroup, Form, InternalFormItem as FormItem, Image, ImagePreviewGroup, CompoundedInput as Input, InputGroup, InputNumber, InputOTP, InputPassword, InputSearch, layout_default as Layout, LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, Listy, masonry_default as Masonry, Mentions, Option$1 as MentionsOption, Menu, MenuDivider, MenuItem, MenuItemGroup, Modal, pagination_default as Pagination, Popconfirm, Popover, Progress, QRCode, radio_default as Radio, RadioButton, RadioGroup, Rate, Result, Row, Segmented, Select, SelectOptGroup, SelectOption, skeleton_default as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, Slider, Space, SpaceAddon, SpaceCompact, Spin, splitter_default as Splitter, SplitterPanel, statistic_default as Statistic, StatisticTimer, Steps, SubMenu, Switch, TabPane, InternalTable as Table, Column as TableColumn, ColumnGroup as TableColumnGroup, Summary as TableSummary, SummaryCell as TableSummaryCell, SummaryRow as TableSummaryRow, Tabs, Tag, InternalTextArea as TextArea, TimePicker, TimeRangePicker, timeline_default as Timeline, TimelineItem, InternalTooltip as Tooltip, Tour, InternalTransfer as Transfer, Tree, TreeSelect, Typography, TypographyLink, TypographyParagraph, TypographyText, TypographyTitle, UniqueProvider, Upload, UploadDragger, Watermark, components_exports, 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;
|
|
@@ -488,7 +490,7 @@ declare function useBaseConfig<K extends string>(suffixCls?: K, props?: Componen
|
|
|
488
490
|
getPrefixCls: (suffixCls?: string, prefixCls?: string) => string;
|
|
489
491
|
prefixCls: Readonly<Ref<string, string>>;
|
|
490
492
|
direction: Readonly<Ref<DirectionType, DirectionType>>;
|
|
491
|
-
getPopupContainer:
|
|
493
|
+
getPopupContainer: NonNullable<ConfigConsumerProps["getPopupContainer"]>;
|
|
492
494
|
};
|
|
493
495
|
/**
|
|
494
496
|
* Get ConfigProvider configured component props.
|
|
@@ -506,9 +508,9 @@ declare function useComponentBaseConfig<T extends keyof ConfigComponentProps, K
|
|
|
506
508
|
direction: Readonly<Ref<DirectionType, DirectionType>>;
|
|
507
509
|
prefixCls: Readonly<Ref<string, string>>;
|
|
508
510
|
rootPrefixCls: Readonly<Ref<string, string>>;
|
|
509
|
-
getPopupContainer:
|
|
511
|
+
getPopupContainer: NonNullable<ConfigConsumerProps["getPopupContainer"]>;
|
|
510
512
|
getPrefixCls: (suffixCls?: string, customizePrefixCls?: string) => string;
|
|
511
|
-
getTargetContainer:
|
|
513
|
+
getTargetContainer: NonNullable<ConfigConsumerProps["getTargetContainer"]>;
|
|
512
514
|
virtual: Readonly<Ref<boolean | undefined, boolean | undefined>>;
|
|
513
515
|
renderEmpty: Readonly<Ref<RenderEmptyHandler | undefined, RenderEmptyHandler | undefined>>;
|
|
514
516
|
popupMatchSelectWidth: Readonly<Ref<boolean | undefined, boolean | undefined>>;
|