antdv-next 1.7.0 → 1.7.1
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/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +11 -1
- package/dist/_util/vueNode.js +17 -1
- package/dist/affix/index.js +12 -9
- package/dist/anchor/Anchor.js +11 -6
- package/dist/anchor/style/index.js +2 -3
- package/dist/antd-with-locales.esm.js +16246 -18306
- package/dist/antd-with-locales.js +80 -87
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +14610 -16673
- package/dist/antd.js +80 -87
- package/dist/avatar/Avatar.js +1 -1
- package/dist/avatar/AvatarContext.d.ts +2 -2
- package/dist/avatar/AvatarGroup.js +3 -5
- package/dist/breadcrumb/index.d.ts +8 -1
- package/dist/calendar/generateCalendar.d.ts +10 -10
- package/dist/calendar/index.d.ts +1 -1
- package/dist/card/index.d.ts +8 -1
- package/dist/card/style/index.js +3 -7
- package/dist/cascader/hooks/useIcons.js +3 -2
- package/dist/cascader/index.d.ts +2 -0
- package/dist/checkbox/Group.js +4 -4
- package/dist/color-picker/style/input.js +6 -11
- package/dist/components.d.ts +23 -23
- package/dist/components.js +1 -2
- package/dist/config-provider/context.d.ts +3 -2
- package/dist/date-picker/generatePicker/generateRangePicker.js +4 -4
- package/dist/date-picker/generatePicker/generateSinglePicker.js +4 -4
- package/dist/date-picker/generatePicker/interface.d.ts +17 -5
- package/dist/date-picker/generatePicker/useComponents.d.ts +1 -14
- package/dist/date-picker/util.d.ts +6 -2
- package/dist/descriptions/hooks/useItems.d.ts +6 -6
- package/dist/dropdown/style/index.js +0 -6
- package/dist/empty/index.js +2 -1
- package/dist/float-button/BackTop.js +2 -1
- package/dist/form/Form.js +8 -7
- package/dist/form/FormItem/index.js +9 -7
- package/dist/form/FormItemLabel.js +1 -1
- package/dist/form/context.d.ts +2 -2
- package/dist/form/hooks/useVariant.d.ts +1 -1
- package/dist/grid/hooks/useBreakpoint.js +12 -6
- package/dist/image/PreviewGroup.d.ts +9 -2
- package/dist/image/hooks/usePreviewConfig.d.ts +7 -7
- package/dist/image/index.d.ts +3 -3
- package/dist/index.d.ts +25 -23
- package/dist/index.js +1 -2
- package/dist/input/style/index.js +2 -15
- package/dist/listy/interface.d.ts +23 -4
- package/dist/listy/style/index.js +1 -0
- package/dist/message/style/index.js +2 -1
- package/dist/modal/PurePanel.js +2 -2
- package/dist/modal/style/confirm.js +1 -1
- package/dist/notification/style/index.d.ts +3 -0
- package/dist/notification/style/index.js +4 -5
- package/dist/package.js +1 -1
- package/dist/pagination/style/index.js +12 -4
- package/dist/popconfirm/index.js +2 -1
- package/dist/progress/Line.js +2 -1
- package/dist/progress/progress.js +1 -1
- package/dist/qrcode/QrcodeStatus.js +2 -1
- package/dist/select/useIcons.d.ts +6 -2
- package/dist/slider/index.d.ts +6 -1
- package/dist/slider/index.js +5 -3
- package/dist/space/Compact.d.ts +1 -1
- package/dist/space/Item.d.ts +1 -0
- package/dist/space/Item.js +6 -2
- package/dist/space/index.js +1 -0
- package/dist/spin/Indicator/index.js +5 -1
- package/dist/splitter/Splitter.js +8 -2
- package/dist/splitter/interface.d.ts +1 -0
- package/dist/statistic/Statistic.d.ts +3 -0
- package/dist/statistic/Statistic.js +2 -1
- package/dist/steps/index.js +9 -7
- package/dist/switch/index.js +8 -2
- package/dist/table/InternalTable.js +20 -5
- package/dist/table/index.d.ts +2 -2
- package/dist/table/util.d.ts +1 -1
- package/dist/tabs/style/index.js +2 -6
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/time-picker/index.d.ts +10 -9
- package/dist/time-picker/index.js +20 -83
- package/dist/tooltip/style/index.js +0 -1
- package/dist/tree/DirectoryTree.d.ts +19 -7
- package/dist/tree/Tree.d.ts +73 -58
- package/dist/tree/index.d.ts +8 -5
- package/dist/tree/index.js +4 -3
- package/dist/upload/utils.js +8 -3
- package/dist/version/token.json +1 -1
- package/package.json +20 -20
- package/web-tags.json +6 -2
- package/web-types.json +11 -3
package/dist/avatar/Avatar.js
CHANGED
|
@@ -66,7 +66,7 @@ const Avatar = /* @__PURE__ */ defineComponent((props, { slots, attrs, emit, exp
|
|
|
66
66
|
return currentSize ? {
|
|
67
67
|
width: `${currentSize}px`,
|
|
68
68
|
height: `${currentSize}px`,
|
|
69
|
-
fontSize:
|
|
69
|
+
fontSize: hasIcon || children.length ? `${currentSize / 2}px` : "18px"
|
|
70
70
|
} : {};
|
|
71
71
|
};
|
|
72
72
|
const responsiveSizeStyle = responsiveSizeStyleFn();
|
|
@@ -11,7 +11,7 @@ interface AvatarContextType {
|
|
|
11
11
|
shape?: 'circle' | 'square';
|
|
12
12
|
}
|
|
13
13
|
declare function useAvatarContext(): Ref<{
|
|
14
|
-
size?: number |
|
|
14
|
+
size?: number | "default" | SizeType | {
|
|
15
15
|
xxxl?: number | undefined;
|
|
16
16
|
xxl?: number | undefined;
|
|
17
17
|
xl?: number | undefined;
|
|
@@ -22,7 +22,7 @@ declare function useAvatarContext(): Ref<{
|
|
|
22
22
|
};
|
|
23
23
|
shape?: "circle" | "square" | undefined;
|
|
24
24
|
}, AvatarContextType | {
|
|
25
|
-
size?: number |
|
|
25
|
+
size?: number | "default" | SizeType | {
|
|
26
26
|
xxxl?: number | undefined;
|
|
27
27
|
xxl?: number | undefined;
|
|
28
28
|
xl?: number | undefined;
|
|
@@ -33,6 +33,7 @@ const AvatarGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, expo
|
|
|
33
33
|
});
|
|
34
34
|
const mergeCount = max?.count;
|
|
35
35
|
const numOfChildren = childrenWithProps.length;
|
|
36
|
+
let childrenToRender = childrenWithProps;
|
|
36
37
|
if (mergeCount && mergeCount < numOfChildren) {
|
|
37
38
|
const childrenShow = childrenWithProps.slice(0, mergeCount);
|
|
38
39
|
const childrenHidden = childrenWithProps.slice(mergeCount, numOfChildren);
|
|
@@ -50,15 +51,12 @@ const AvatarGroup = /* @__PURE__ */ defineComponent((props, { slots, attrs, expo
|
|
|
50
51
|
"key": "avatar-popover-key",
|
|
51
52
|
"destroyOnHidden": true
|
|
52
53
|
}, popoverProps), { default: () => [createVNode(Avatar, { "style": mergeStyle }, { default: () => [`+${numOfChildren - mergeCount}`] })] }));
|
|
53
|
-
|
|
54
|
-
"class": cls,
|
|
55
|
-
"style": style
|
|
56
|
-
}), [childrenShow]);
|
|
54
|
+
childrenToRender = childrenShow;
|
|
57
55
|
}
|
|
58
56
|
return createVNode("div", mergeProps({ "ref": nativeElementRef }, restAttrs, {
|
|
59
57
|
"class": cls,
|
|
60
58
|
"style": style
|
|
61
|
-
}), [
|
|
59
|
+
}), [childrenToRender]);
|
|
62
60
|
};
|
|
63
61
|
}, {
|
|
64
62
|
props: {
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import _default, { BreadcrumbItemProps, SeparatorType } from "./BreadcrumbItem.js";
|
|
2
2
|
import _default$1 from "./BreadcrumbSeparator.js";
|
|
3
3
|
import Breadcrumb, { BreadcrumbEmits, BreadcrumbItemRenderContext, BreadcrumbProps, BreadcrumbRef, BreadcrumbSlots, ItemType } from "./Breadcrumb.js";
|
|
4
|
-
|
|
4
|
+
//#region src/breadcrumb/index.d.ts
|
|
5
|
+
type CompoundedBreadcrumb = typeof Breadcrumb & {
|
|
6
|
+
Item: typeof _default;
|
|
7
|
+
Separator: typeof _default$1;
|
|
8
|
+
};
|
|
9
|
+
declare const _default$2: CompoundedBreadcrumb;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { type BreadcrumbEmits, _default as BreadcrumbItem, type BreadcrumbItemProps, type BreadcrumbItemRenderContext, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$1 as BreadcrumbSeparator, type BreadcrumbSlots, type SeparatorType, _default$2 as default };
|
|
@@ -64,31 +64,31 @@ interface CalendarRef {
|
|
|
64
64
|
nativeElement: HTMLDivElement;
|
|
65
65
|
}
|
|
66
66
|
declare const calendarProps: string[];
|
|
67
|
-
interface CalendarSlots {
|
|
67
|
+
interface CalendarSlots<DateType = AnyObject> {
|
|
68
68
|
dateFullCellRender?: (ctx: {
|
|
69
|
-
date:
|
|
69
|
+
date: DateType;
|
|
70
70
|
}) => any;
|
|
71
71
|
dateCellRender?: (ctx: {
|
|
72
|
-
date:
|
|
72
|
+
date: DateType;
|
|
73
73
|
}) => any;
|
|
74
74
|
monthFullCellRender?: (ctx: {
|
|
75
|
-
date:
|
|
75
|
+
date: DateType;
|
|
76
76
|
}) => any;
|
|
77
77
|
monthCellRender?: (ctx: {
|
|
78
|
-
date:
|
|
78
|
+
date: DateType;
|
|
79
79
|
}) => any;
|
|
80
80
|
cellRender?: (ctx: {
|
|
81
|
-
date:
|
|
81
|
+
date: DateType;
|
|
82
82
|
info: any;
|
|
83
83
|
}) => any;
|
|
84
84
|
fullCellRender?: (ctx: {
|
|
85
|
-
date:
|
|
85
|
+
date: DateType;
|
|
86
86
|
info: any;
|
|
87
87
|
}) => any;
|
|
88
88
|
headerRender?: (config: {
|
|
89
|
-
value:
|
|
89
|
+
value: DateType;
|
|
90
90
|
type: CalendarMode;
|
|
91
|
-
onChange: (date:
|
|
91
|
+
onChange: (date: DateType) => void;
|
|
92
92
|
onTypeChange: (type: CalendarMode) => void;
|
|
93
93
|
}) => any;
|
|
94
94
|
[key: string]: any;
|
|
@@ -105,6 +105,6 @@ interface CalendarEmitsProps<DateType = AnyObject> {
|
|
|
105
105
|
onPanelChange?: CalendarEmits<DateType>['panelChange'];
|
|
106
106
|
onSelect?: CalendarEmits<DateType>['select'];
|
|
107
107
|
}
|
|
108
|
-
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): import("vue").DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots
|
|
108
|
+
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): import("vue").DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots<DateType>>, CalendarProps<DateType>, import("vue").PublicProps>;
|
|
109
109
|
//#endregion
|
|
110
110
|
export { CalendarClassNamesType, CalendarEmits, CalendarEmitsProps, CalendarMode, CalendarProps, CalendarRef, CalendarSemanticClassNames, CalendarSemanticName, CalendarSemanticStyles, CalendarSlots, CalendarStylesType, HeaderRender, SelectInfo, calendarProps, generateCalendar as default };
|
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import generateCalendar, { CalendarEmits, CalendarMode, CalendarProps, CalendarRef, CalendarSlots } from "./generateCalendar.js";
|
|
2
2
|
import { Dayjs } from "dayjs";
|
|
3
3
|
//#region src/calendar/index.d.ts
|
|
4
|
-
declare const Calendar: import("vue").DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, import("vue").SlotsType<CalendarSlots
|
|
4
|
+
declare const Calendar: import("vue").DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, import("vue").SlotsType<CalendarSlots<Dayjs>>, CalendarProps<Dayjs>, import("vue").PublicProps>;
|
|
5
5
|
type CalendarType = typeof Calendar & {
|
|
6
6
|
generateCalendar: typeof generateCalendar;
|
|
7
7
|
};
|
package/dist/card/index.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import Card, { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./Card.js";
|
|
2
2
|
import CardMeta, { CardMetaProps, CardMetaRef } from "./CardMeta.js";
|
|
3
3
|
import CardGrid, { CardGridProps, CardGridRef } from "./CardGrid.js";
|
|
4
|
-
|
|
4
|
+
//#region src/card/index.d.ts
|
|
5
|
+
type CompoundedCard = typeof Card & {
|
|
6
|
+
Grid: typeof CardGrid;
|
|
7
|
+
Meta: typeof CardMeta;
|
|
8
|
+
};
|
|
9
|
+
declare const _default: CompoundedCard;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, _default as default };
|
package/dist/card/style/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { mergeToken } from "../../theme/internal.js";
|
|
|
4
4
|
import { unit } from "@antdv-next/cssinjs";
|
|
5
5
|
//#region src/card/style/index.ts
|
|
6
6
|
const genCardHeadStyle = (token) => {
|
|
7
|
-
const { antCls,
|
|
7
|
+
const { antCls, headerHeight, headerPadding, tabsMarginBottom } = token;
|
|
8
8
|
return {
|
|
9
9
|
display: "flex",
|
|
10
10
|
justifyContent: "center",
|
|
@@ -28,10 +28,7 @@ const genCardHeadStyle = (token) => {
|
|
|
28
28
|
display: "inline-block",
|
|
29
29
|
flex: 1,
|
|
30
30
|
...textEllipsis,
|
|
31
|
-
[`
|
|
32
|
-
> ${componentCls}-typography,
|
|
33
|
-
> ${componentCls}-typography-edit-content
|
|
34
|
-
`]: {
|
|
31
|
+
[`> ${antCls}-typography`]: {
|
|
35
32
|
insetInlineStart: 0,
|
|
36
33
|
marginTop: 0,
|
|
37
34
|
marginBottom: 0
|
|
@@ -42,8 +39,7 @@ const genCardHeadStyle = (token) => {
|
|
|
42
39
|
marginBottom: tabsMarginBottom,
|
|
43
40
|
color: token.colorText,
|
|
44
41
|
fontWeight: 400,
|
|
45
|
-
fontSize: token.fontSize
|
|
46
|
-
"&-bar": { borderBottom: `${unit(token.lineWidth)} ${token.lineType} ${token.colorBorderSecondary}` }
|
|
42
|
+
fontSize: token.fontSize
|
|
47
43
|
}
|
|
48
44
|
};
|
|
49
45
|
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { cloneIfVNode } from "../../_util/vueNode.js";
|
|
1
2
|
import { createVNode } from "vue";
|
|
2
3
|
import { LeftOutlined, LoadingOutlined, RightOutlined } from "@antdv-next/icons";
|
|
3
4
|
//#region src/cascader/hooks/useIcons.tsx
|
|
@@ -6,8 +7,8 @@ const defaultExpandIcon = createVNode(RightOutlined, null, null);
|
|
|
6
7
|
const defaultRtlExpandIcon = createVNode(LeftOutlined, null, null);
|
|
7
8
|
function useIcons({ contextExpandIcon, contextLoadingIcon, expandIcon, loadingIcon, isRtl }) {
|
|
8
9
|
return {
|
|
9
|
-
expandIcon: expandIcon ?? contextExpandIcon ?? (isRtl ? defaultRtlExpandIcon : defaultExpandIcon),
|
|
10
|
-
loadingIcon: loadingIcon ?? contextLoadingIcon ?? defaultLoadingIcon
|
|
10
|
+
expandIcon: cloneIfVNode(expandIcon ?? contextExpandIcon ?? (isRtl ? defaultRtlExpandIcon : defaultExpandIcon)),
|
|
11
|
+
loadingIcon: cloneIfVNode(loadingIcon ?? contextLoadingIcon ?? defaultLoadingIcon)
|
|
11
12
|
};
|
|
12
13
|
}
|
|
13
14
|
//#endregion
|
package/dist/cascader/index.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ interface CascaderSemanticClassNames {
|
|
|
23
23
|
item?: string;
|
|
24
24
|
itemContent?: string;
|
|
25
25
|
itemRemove?: string;
|
|
26
|
+
clear?: string;
|
|
26
27
|
}
|
|
27
28
|
interface CascaderSemanticStyles {
|
|
28
29
|
root?: CSSProperties;
|
|
@@ -34,6 +35,7 @@ interface CascaderSemanticStyles {
|
|
|
34
35
|
item?: CSSProperties;
|
|
35
36
|
itemContent?: CSSProperties;
|
|
36
37
|
itemRemove?: CSSProperties;
|
|
38
|
+
clear?: CSSProperties;
|
|
37
39
|
}
|
|
38
40
|
type CascaderClassNamesType = SemanticClassNamesType<CascaderProps, CascaderSemanticClassNames, {
|
|
39
41
|
popup?: SelectPopupSemanticClassNames;
|
package/dist/checkbox/Group.js
CHANGED
|
@@ -15,7 +15,7 @@ function _isSlot(s) {
|
|
|
15
15
|
const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, attrs }) => {
|
|
16
16
|
const { prefixCls, direction } = useBaseConfig("checkbox", props);
|
|
17
17
|
const value = shallowRef(props?.value ?? props?.defaultValue ?? []);
|
|
18
|
-
|
|
18
|
+
let registeredValues = [];
|
|
19
19
|
watch(() => props.value, () => {
|
|
20
20
|
value.value = props?.value ?? [];
|
|
21
21
|
});
|
|
@@ -29,17 +29,17 @@ const CheckboxGroup = /* @__PURE__ */ defineComponent((props, { slots, emit, att
|
|
|
29
29
|
}).filter((item) => item !== null && item !== void 0 && item.value !== null && item.value !== void 0);
|
|
30
30
|
});
|
|
31
31
|
const cancelValue = (val) => {
|
|
32
|
-
registeredValues
|
|
32
|
+
registeredValues = registeredValues.filter((v) => v !== val);
|
|
33
33
|
};
|
|
34
34
|
const registerValue = (val) => {
|
|
35
|
-
registeredValues
|
|
35
|
+
registeredValues = [...registeredValues, val];
|
|
36
36
|
};
|
|
37
37
|
const toggleOption = (option) => {
|
|
38
38
|
const optionIndex = value.value.indexOf(option.value);
|
|
39
39
|
const newValue = [...value.value];
|
|
40
40
|
if (optionIndex === -1) newValue.push(option.value);
|
|
41
41
|
else newValue.splice(optionIndex, 1);
|
|
42
|
-
const sortVals = newValue.filter((val) => registeredValues.
|
|
42
|
+
const sortVals = newValue.filter((val) => registeredValues.includes(val)).sort((a, b) => {
|
|
43
43
|
return memoizedOptions.value.findIndex((opt) => opt.value === a) - memoizedOptions.value.findIndex((opt) => opt.value === b);
|
|
44
44
|
});
|
|
45
45
|
emit("change", sortVals);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { unit } from "@antdv-next/cssinjs";
|
|
2
2
|
//#region src/color-picker/style/input.ts
|
|
3
3
|
const genInputStyle = (token) => {
|
|
4
|
-
const { componentCls, antCls, fontSizeSM, lineHeightSM, colorPickerAlphaInputWidth, marginXXS, paddingXXS, controlHeightSM, marginXS,
|
|
4
|
+
const { componentCls, antCls, fontSizeSM, lineHeightSM, colorPickerAlphaInputWidth, marginXXS, paddingXXS, controlHeightSM, marginXS, paddingXS, colorTextPlaceholder, colorPickerInputNumberHandleWidth, lineWidth } = token;
|
|
5
5
|
return { [`${componentCls}-input-container`]: {
|
|
6
6
|
display: "flex",
|
|
7
7
|
[`${componentCls}-steppers${antCls}-input-number`]: {
|
|
@@ -22,16 +22,11 @@ const genInputStyle = (token) => {
|
|
|
22
22
|
marginInlineEnd: marginXS,
|
|
23
23
|
width: "auto",
|
|
24
24
|
"&-single": {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
[`${antCls}-select-
|
|
30
|
-
[`${antCls}-select-selection-item`]: {
|
|
31
|
-
paddingInlineEnd: token.calc(fontSizeIcon).add(marginXXS).equal(),
|
|
32
|
-
fontSize: fontSizeSM,
|
|
33
|
-
lineHeight: unit(controlHeightSM)
|
|
34
|
-
},
|
|
25
|
+
padding: 0,
|
|
26
|
+
border: 0,
|
|
27
|
+
fontSize: fontSizeSM,
|
|
28
|
+
lineHeight: unit(controlHeightSM),
|
|
29
|
+
[`${antCls}-select-content`]: { marginInlineEnd: marginXXS },
|
|
35
30
|
[`${antCls}-select-item-option-content`]: {
|
|
36
31
|
fontSize: fontSizeSM,
|
|
37
32
|
lineHeight: lineHeightSM
|
package/dist/components.d.ts
CHANGED
|
@@ -3,14 +3,14 @@ import Col, { ColProps, ColSize } from "./grid/col.js";
|
|
|
3
3
|
import Row, { RowProps } from "./grid/row.js";
|
|
4
4
|
import "./grid/index.js";
|
|
5
5
|
import UniqueProvider from "./tooltip/UniqueProvider/index.js";
|
|
6
|
-
import _default$
|
|
6
|
+
import _default$17, { TooltipAlignConfig, TooltipEmits, TooltipPlacement, TooltipProps, TooltipRef, TooltipSlots } from "./tooltip/index.js";
|
|
7
7
|
import { Rule, RuleObject, RuleRender, RuleType } from "./form/types.js";
|
|
8
8
|
import InternalForm, { FormEmits, FormInstance, 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
|
-
import _default$
|
|
12
|
-
import _default$
|
|
13
|
-
import _default$
|
|
11
|
+
import _default$16, { TimePickerEmits, TimePickerLocale, TimePickerProps, TimePickerSlots, TimeRangePicker, TimeRangePickerEmits, TimeRangePickerProps, TimeRangePickerSlots } from "./time-picker/index.js";
|
|
12
|
+
import _default$7, { DateMonthPicker, DatePickerProps, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, MonthPickerProps, RangePickerProps, WeekPickerProps } from "./date-picker/index.js";
|
|
13
|
+
import _default$8, { EmptyProps, EmptyRef, EmptySlots } from "./empty/index.js";
|
|
14
14
|
import { ModalEmits, 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";
|
|
@@ -19,7 +19,7 @@ import { PaginationProps } from "./pagination/index.js";
|
|
|
19
19
|
import Popover, { PopoverEmits, PopoverProps, PopoverRef, PopoverSlots } from "./popover/index.js";
|
|
20
20
|
import Popconfirm, { PopconfirmEmits, PopconfirmProps, PopconfirmSlots } from "./popconfirm/index.js";
|
|
21
21
|
import { SplitterEmits, SplitterSlots } from "./splitter/interface.js";
|
|
22
|
-
import _default$
|
|
22
|
+
import _default$13, { SpinProps, SpinRef, SpinSlots } from "./spin/index.js";
|
|
23
23
|
import InternalCheckbox, { CheckboxEmits, CheckboxProps, CheckboxSlots } from "./checkbox/Checkbox.js";
|
|
24
24
|
import CheckboxGroup, { CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType } from "./checkbox/Group.js";
|
|
25
25
|
import "./checkbox/index.js";
|
|
@@ -28,14 +28,14 @@ import { MenuEmits, MenuSlots } from "./menu/menu.js";
|
|
|
28
28
|
import MenuItemGroup, { MenuItemGroupProps } from "./menu/MenuItemGroup.js";
|
|
29
29
|
import SubMenu, { SubMenuProps } from "./menu/SubMenu.js";
|
|
30
30
|
import MenuDivider from "./menu/MenuDivider.js";
|
|
31
|
-
import _default$
|
|
31
|
+
import _default$10, { MenuInfo, MenuItem, MenuItemType, MenuProps, MenuRef, SelectInfo } from "./menu/index.js";
|
|
32
32
|
import { DropdownArrowOptions, DropdownEmits, DropdownProps, DropdownSlots } from "./dropdown/dropdown.js";
|
|
33
33
|
import Dropdown from "./dropdown/index.js";
|
|
34
|
-
import { ColumnType, ColumnsType, SortOrder, SorterResult, TableLocale, TablePaginationConfig, TableRowSelection } from "./table/interface.js";
|
|
34
|
+
import { ColumnType, ColumnsType, FilterDropdownProps, SortOrder, SorterResult, TableLocale, TablePaginationConfig, TableRowSelection } from "./table/interface.js";
|
|
35
35
|
import { TableClassNamesType, TableEmits, TableProps, TableSlots, TableStylesType } from "./table/InternalTable.js";
|
|
36
36
|
import Column from "./table/Column.js";
|
|
37
37
|
import ColumnGroup from "./table/ColumnGroup.js";
|
|
38
|
-
import _default$
|
|
38
|
+
import _default$15, { DataIndex, Summary, SummaryCell, SummaryRow } from "./table/index.js";
|
|
39
39
|
import { TourEmits, TourLocale, TourSlots, TourStylesType } from "./tour/interface.js";
|
|
40
40
|
import Tour, { TourProps, TourStepItem } from "./tour/index.js";
|
|
41
41
|
import { KeyWise, KeyWiseTransferItem, ListStyle, PaginationType, RenderResult, RenderResultObject, SelectAllLabel, TransferClassNamesType, TransferCustomListBodyProps, TransferDirection, TransferEmits, TransferItem, TransferKey, TransferListBodyProps, TransferListProps, TransferLocale, TransferRender, TransferSearchOption, TransferSlots, TransferStylesType } from "./transfer/interface.js";
|
|
@@ -47,7 +47,7 @@ import Progress, { ProgressProps } from "./progress/progress.js";
|
|
|
47
47
|
import "./progress/index.js";
|
|
48
48
|
import { UploadChangeParam, UploadEmits, UploadFile, UploadSlots } from "./upload/interface.js";
|
|
49
49
|
import { useExportConfig } from "./config-provider/hooks/useConfig.js";
|
|
50
|
-
import _default$
|
|
50
|
+
import _default$6, { ConfigProviderProps } from "./config-provider/index.js";
|
|
51
51
|
import Alert, { AlertEmits, AlertProps, AlertSemanticType, AlertSlots } from "./alert/Alert.js";
|
|
52
52
|
import "./alert/index.js";
|
|
53
53
|
import { Affix, AffixEmits, AffixProps, AffixRef } from "./affix/index.js";
|
|
@@ -56,14 +56,14 @@ import Anchor, { AnchorEmits, AnchorProps, AnchorSlots } from "./anchor/Anchor.j
|
|
|
56
56
|
import "./anchor/index.js";
|
|
57
57
|
import { RibbonProps, RibbonRef } from "./badge/Ribbon.js";
|
|
58
58
|
import Badge, { BadgeProps, BadgeRibbon, BadgeSlots } from "./badge/index.js";
|
|
59
|
-
import _default$
|
|
60
|
-
import _default$
|
|
61
|
-
import
|
|
59
|
+
import _default$2, { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
|
|
60
|
+
import _default$3 from "./breadcrumb/BreadcrumbSeparator.js";
|
|
61
|
+
import { BreadcrumbEmits, BreadcrumbProps, BreadcrumbRef, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
62
62
|
import { CalendarMode, CalendarProps, CalendarRef } from "./calendar/generateCalendar.js";
|
|
63
|
-
import _default$
|
|
63
|
+
import _default$4 from "./calendar/index.js";
|
|
64
64
|
import TabPane, { TabPaneProps } from "./tabs/TabPane.js";
|
|
65
65
|
import Tabs, { TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
|
|
66
|
-
import
|
|
66
|
+
import { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
|
|
67
67
|
import CardMeta, { CardMetaProps, CardMetaRef } from "./card/CardMeta.js";
|
|
68
68
|
import CascaderPanel, { CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots } from "./cascader/Panel.js";
|
|
69
69
|
import Cascader, { CascaderEmits, CascaderProps, CascaderSlots } from "./cascader/index.js";
|
|
@@ -99,7 +99,7 @@ import staticMethods$1 from "./notification/index.js";
|
|
|
99
99
|
import { QRCodeEmits } from "./qrcode/interface.js";
|
|
100
100
|
import QRCode, { QRCodeProps, QRCodeRef } from "./qrcode/index.js";
|
|
101
101
|
import { RadioChangeEvent, RadioEmits, RadioGroupEmits, RadioGroupOptionType, RadioGroupSlots, RadioSlots } from "./radio/interface.js";
|
|
102
|
-
import _default$
|
|
102
|
+
import _default$12, { ResultProps, ResultRef, ResultSlots, ResultStatusType } from "./result/index.js";
|
|
103
103
|
import Segmented, { SegmentedEmits, SegmentedOptions, SegmentedProps, SegmentedSlots } from "./segmented/index.js";
|
|
104
104
|
import SkeletonAvatar from "./skeleton/Avatar.js";
|
|
105
105
|
import SkeletonButton from "./skeleton/Button.js";
|
|
@@ -114,7 +114,7 @@ import Space, { SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots } fr
|
|
|
114
114
|
import Splitter, { SplitterRef } from "./splitter/Splitter.js";
|
|
115
115
|
import { SplitterPanel, SplitterProps } from "./splitter/index.js";
|
|
116
116
|
import { StatisticRef } from "./statistic/Statistic.js";
|
|
117
|
-
import _default$
|
|
117
|
+
import _default$14, { StatisticProps, StatisticTimer, StatisticTimerProps } from "./statistic/index.js";
|
|
118
118
|
import Steps, { StepItem, StepsEmits, StepsProps, StepsSlots } from "./steps/index.js";
|
|
119
119
|
import Switch, { SwitchEmits, SwitchProps, SwitchSize, SwitchSlots } from "./switch/index.js";
|
|
120
120
|
import CheckableTag, { CheckableTagProps } from "./tag/CheckableTag.js";
|
|
@@ -124,8 +124,8 @@ import Timeline, { TimelineItemType, TimelineProps } from "./timeline/Timeline.j
|
|
|
124
124
|
import { TimelineItem, TimelineItemProps, TimelineItemSlots } from "./timeline/TimelineItem.js";
|
|
125
125
|
import "./timeline/index.js";
|
|
126
126
|
import { AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, TreeEmits, TreeProps, TreeSlots } from "./tree/Tree.js";
|
|
127
|
-
import
|
|
128
|
-
import Tree, { BasicDataNode, DataNode, TreeInstance, UseTreeConfig, useTree } from "./tree/index.js";
|
|
127
|
+
import { DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction } from "./tree/DirectoryTree.js";
|
|
128
|
+
import Tree, { BasicDataNode, DataNode, DirectoryTree, TreeInstance, UseTreeConfig, useTree } from "./tree/index.js";
|
|
129
129
|
import TreeSelect, { TreeSelectEmits, TreeSelectNode, TreeSelectProps, TreeSelectSlots } from "./tree-select/index.js";
|
|
130
130
|
import { BlockProps } from "./typography/interface.js";
|
|
131
131
|
import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./button/buttonHelper.js";
|
|
@@ -141,9 +141,9 @@ import Avatar from "./avatar/index.js";
|
|
|
141
141
|
import { BorderBeamColor, BorderBeamGradient } from "./border-beam/util.js";
|
|
142
142
|
import BorderBeam, { BorderBeamProps } from "./border-beam/BorderBeam.js";
|
|
143
143
|
import "./border-beam/index.js";
|
|
144
|
-
import "./breadcrumb/index.js";
|
|
144
|
+
import _default$1 from "./breadcrumb/index.js";
|
|
145
145
|
import CardGrid, { CardGridProps, CardGridRef } from "./card/CardGrid.js";
|
|
146
|
-
import "./card/index.js";
|
|
146
|
+
import _default$5 from "./card/index.js";
|
|
147
147
|
import Carousel, { CarouselEmits, CarouselProps, CarouselRef, CarouselSlots } from "./carousel/index.js";
|
|
148
148
|
import { FormHookInstance, useForm, useFormInstance } from "./form/hooks/useForm.js";
|
|
149
149
|
import "./form/index.js";
|
|
@@ -151,11 +151,11 @@ import { InputGroupProps } from "./input/Group.js";
|
|
|
151
151
|
import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
|
|
152
152
|
import Layout, { BasicProps } from "./layout/layout.js";
|
|
153
153
|
import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
154
|
-
import _default$
|
|
154
|
+
import _default$9 from "./masonry/index.js";
|
|
155
155
|
import Mentions, { MentionPlacement, MentionsClassNamesType, MentionsEmits, MentionsOptionProps, MentionsProps, MentionsRef, MentionsSlots, MentionsStylesType, Option as Option$1 } from "./mentions/index.js";
|
|
156
156
|
import useMessage from "./message/useMessage.js";
|
|
157
157
|
import staticMethods from "./message/index.js";
|
|
158
|
-
import _default$
|
|
158
|
+
import _default$11, { ModalProps } from "./modal/index.js";
|
|
159
159
|
import InternalRadio from "./radio/radio.js";
|
|
160
160
|
import { RadioButton, RadioGroup, RadioGroupProps, RadioOptionType, RadioProps } from "./radio/index.js";
|
|
161
161
|
import Rate, { RateEmits, RateProps } from "./rate/index.js";
|
|
@@ -168,4 +168,4 @@ 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
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, Breadcrumb, type BreadcrumbEmits, _default$1 as BreadcrumbItem, type BreadcrumbItemProps, type ItemType as BreadcrumbItemType, type BreadcrumbProps, type BreadcrumbRef, _default$2 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$3 as Calendar, type CalendarMode, type CalendarProps, type CalendarRef, 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$4 as ConfigProvider, type ConfigProviderProps, type DataSourceItemObject, type DataSourceItemType, DateMonthPicker, _default$5 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$6 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$7 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$8 as Menu, MenuDivider, type MenuEmits, type MenuInfo, MenuItem, MenuItemGroup, type MenuItemGroupProps, type MenuItemProps, type MenuItemType, type MenuProps, type MenuRef, type MenuSlots, _default$9 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$10 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$11 as Spin, type SpinProps, type SpinRef, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterRef, type SplitterSlots, _default$12 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$13 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 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$14 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$15 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 };
|
|
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 };
|
package/dist/components.js
CHANGED
|
@@ -89,8 +89,7 @@ import Steps from "./steps/index.js";
|
|
|
89
89
|
import Switch from "./switch/index.js";
|
|
90
90
|
import Column from "./table/Column.js";
|
|
91
91
|
import ColumnGroup from "./table/ColumnGroup.js";
|
|
92
|
-
import DirectoryTree from "./tree/
|
|
93
|
-
import Tree, { useTree } from "./tree/index.js";
|
|
92
|
+
import Tree, { DirectoryTree, useTree } from "./tree/index.js";
|
|
94
93
|
import InternalTable, { Summary, SummaryCell, SummaryRow } from "./table/index.js";
|
|
95
94
|
import CheckableTag from "./tag/CheckableTag.js";
|
|
96
95
|
import CheckableTagGroup from "./tag/CheckableTagGroup.js";
|
|
@@ -90,7 +90,7 @@ import { TreeSelectProps } from "../tree-select/index.js";
|
|
|
90
90
|
import { BlockProps } from "../typography/interface.js";
|
|
91
91
|
import { ButtonProps } from "../button/Button.js";
|
|
92
92
|
import "../button/index.js";
|
|
93
|
-
import { CSSProperties, Ref } from "vue";
|
|
93
|
+
import { AriaAttributes, CSSProperties, Ref } from "vue";
|
|
94
94
|
import { DerivativeFunc } from "@antdv-next/cssinjs";
|
|
95
95
|
import { MoreProps } from "@v-c/tabs";
|
|
96
96
|
//#region src/config-provider/context.d.ts
|
|
@@ -232,7 +232,8 @@ type ButtonConfig = ComponentStyleConfig & Pick<ButtonProps, 'classes' | 'styles
|
|
|
232
232
|
loadingIcon?: VueNode;
|
|
233
233
|
};
|
|
234
234
|
type FlexConfig = ComponentStyleConfig & Pick<FlexProps, 'vertical'>;
|
|
235
|
-
type AlertConfig = ComponentStyleConfig & Pick<AlertProps, 'variant' | 'closeIcon' | '
|
|
235
|
+
type AlertConfig = ComponentStyleConfig & Pick<AlertProps, 'variant' | 'closeIcon' | 'classes' | 'styles'> & {
|
|
236
|
+
closable?: boolean | (Pick<Exclude<NonNullable<AlertProps['closable']>, boolean>, 'closeIcon'> & AriaAttributes);
|
|
236
237
|
successIcon?: VueNode;
|
|
237
238
|
infoIcon?: VueNode;
|
|
238
239
|
warningIcon?: VueNode;
|
|
@@ -210,6 +210,10 @@ function generateRangePicker(generateConfig) {
|
|
|
210
210
|
};
|
|
211
211
|
}, {
|
|
212
212
|
props: {
|
|
213
|
+
components: {
|
|
214
|
+
type: Object,
|
|
215
|
+
required: false
|
|
216
|
+
},
|
|
213
217
|
locale: {
|
|
214
218
|
type: Object,
|
|
215
219
|
required: false
|
|
@@ -488,10 +492,6 @@ function generateRangePicker(generateConfig) {
|
|
|
488
492
|
type: String,
|
|
489
493
|
required: false
|
|
490
494
|
},
|
|
491
|
-
components: {
|
|
492
|
-
type: Object,
|
|
493
|
-
required: false
|
|
494
|
-
},
|
|
495
495
|
inputRender: {
|
|
496
496
|
type: Function,
|
|
497
497
|
required: false
|
|
@@ -217,6 +217,10 @@ function generatePicker(generateConfig) {
|
|
|
217
217
|
};
|
|
218
218
|
}, {
|
|
219
219
|
props: {
|
|
220
|
+
components: {
|
|
221
|
+
type: Object,
|
|
222
|
+
required: false
|
|
223
|
+
},
|
|
220
224
|
locale: {
|
|
221
225
|
type: Object,
|
|
222
226
|
required: false
|
|
@@ -486,10 +490,6 @@ function generatePicker(generateConfig) {
|
|
|
486
490
|
type: String,
|
|
487
491
|
required: false
|
|
488
492
|
},
|
|
489
|
-
components: {
|
|
490
|
-
type: Object,
|
|
491
|
-
required: false
|
|
492
|
-
},
|
|
493
493
|
inputRender: {
|
|
494
494
|
type: Function,
|
|
495
495
|
required: false
|
|
@@ -5,8 +5,8 @@ import { SizeType } from "../../config-provider/SizeContext.js";
|
|
|
5
5
|
import { InputStatus } from "../../_util/statusUtils.js";
|
|
6
6
|
import { TimePickerLocale } from "../../time-picker/index.js";
|
|
7
7
|
import { Variant } from "../../config-provider/context.js";
|
|
8
|
-
import { CSSProperties, Ref } from "vue";
|
|
9
|
-
import { Locale, PickerProps as PickerProps$1, PickerRef, RangePickerProps as RangePickerProps$1 } from "@v-c/picker";
|
|
8
|
+
import { CSSProperties, Component, Ref } from "vue";
|
|
9
|
+
import { Components, Locale, PickerProps as PickerProps$1, PickerRef, RangePickerProps as RangePickerProps$1 } from "@v-c/picker";
|
|
10
10
|
//#region src/date-picker/generatePicker/interface.d.ts
|
|
11
11
|
declare const _DataPickerPlacements: readonly ["bottomLeft", "bottomRight", "topLeft", "topRight"];
|
|
12
12
|
type DataPickerPlacement = (typeof _DataPickerPlacements)[number];
|
|
@@ -154,9 +154,21 @@ interface BaseDefaultProps<Props> {
|
|
|
154
154
|
autocomplete?: string;
|
|
155
155
|
}
|
|
156
156
|
/** Base Single Picker props */
|
|
157
|
-
|
|
157
|
+
/**
|
|
158
|
+
* Custom panel / button / input components. Like React's `ComponentType<SharedPanelProps>`,
|
|
159
|
+
* a component that only declares the panel props it uses is accepted.
|
|
160
|
+
*/
|
|
161
|
+
type PickerComponents = Partial<Record<Exclude<keyof Components, 'button' | 'input'>, Component>> & {
|
|
162
|
+
button?: Component | string;
|
|
163
|
+
input?: Component | string;
|
|
164
|
+
};
|
|
165
|
+
interface PickerProps<DateType extends AnyObject = any> extends BaseDefaultProps<DateType>, Omit<PickerProps$1, 'placement' | 'locale' | 'generateConfig' | 'hideHeader' | 'classNames' | 'styles' | 'components' | RcEventKeys | 'className' | 'style' | 'rootClassName'> {
|
|
166
|
+
components?: PickerComponents;
|
|
167
|
+
}
|
|
158
168
|
/** Base Range Picker props */
|
|
159
|
-
interface RangePickerProps<DateType extends AnyObject = any> extends BaseDefaultProps<DateType>, Omit<RangePickerProps$1<DateType>, 'placement' | 'locale' | 'generateConfig' | 'hideHeader' | 'classNames' | 'styles' | RcEventKeys | 'className' | 'style' | 'rootClassName'> {
|
|
169
|
+
interface RangePickerProps<DateType extends AnyObject = any> extends BaseDefaultProps<DateType>, Omit<RangePickerProps$1<DateType>, 'placement' | 'locale' | 'generateConfig' | 'hideHeader' | 'classNames' | 'styles' | 'components' | RcEventKeys | 'className' | 'style' | 'rootClassName'> {
|
|
170
|
+
components?: PickerComponents;
|
|
171
|
+
}
|
|
160
172
|
type GenericTimePickerProps<DateType extends AnyObject = any> = Omit<PickerProps<DateType>, 'picker' | 'showTime'>;
|
|
161
173
|
type MultiValueType<ValueType, IsMultiple extends boolean = false> = IsMultiple extends true ? ValueType[] : ValueType;
|
|
162
174
|
/**
|
|
@@ -170,4 +182,4 @@ type PickerPropsWithMultiple<DateType extends AnyObject = any, InnerPickerProps
|
|
|
170
182
|
value?: MultiValueType<ValueType, IsMultiple> | null;
|
|
171
183
|
};
|
|
172
184
|
//#endregion
|
|
173
|
-
export { AdditionalPickerLocaleLangProps, AdditionalPickerLocaleProps, BaseDefaultProps, DatePickerClassNamesType, DatePickerPanelSemanticClassNames, DatePickerPanelSemanticName, DatePickerPanelSemanticStyles, DatePickerSemanticClassNames, DatePickerSemanticName, DatePickerSemanticStyles, DatePickerStylesType, GenericTimePickerProps, InjectDefaultProps, PickerLocale, PickerProps, PickerPropsWithMultiple, type PickerRef, RangePickerProps, RequiredSemanticPicker };
|
|
185
|
+
export { AdditionalPickerLocaleLangProps, AdditionalPickerLocaleProps, BaseDefaultProps, DatePickerClassNamesType, DatePickerPanelSemanticClassNames, DatePickerPanelSemanticName, DatePickerPanelSemanticStyles, DatePickerSemanticClassNames, DatePickerSemanticName, DatePickerSemanticStyles, DatePickerStylesType, GenericTimePickerProps, InjectDefaultProps, PickerComponents, PickerLocale, PickerProps, PickerPropsWithMultiple, type PickerRef, RangePickerProps, RequiredSemanticPicker };
|
|
@@ -1,18 +1,5 @@
|
|
|
1
|
-
import { ButtonProps } from "../../button/Button.js";
|
|
2
|
-
import "../../index.js";
|
|
3
1
|
import { Components } from "@v-c/picker";
|
|
4
2
|
//#region src/date-picker/generatePicker/useComponents.d.ts
|
|
5
|
-
declare function useComponents(components?: Components):
|
|
6
|
-
time?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
7
|
-
year?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
8
|
-
month?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
9
|
-
date?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
10
|
-
week?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
11
|
-
quarter?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
12
|
-
decade?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
13
|
-
datetime?: import("vue").DefineComponent<import("@v-c/picker/dist/interface").SharedPanelProps<any>> | undefined;
|
|
14
|
-
button: string | import("vue").DefineSetupFnComponent<ButtonProps, {}, {}, ButtonProps & {}, import("vue").PublicProps> | import("vue").DefineComponent;
|
|
15
|
-
input?: (import("vue").DefineComponent | string) | undefined;
|
|
16
|
-
};
|
|
3
|
+
declare function useComponents(components?: Components): Components;
|
|
17
4
|
//#endregion
|
|
18
5
|
export { useComponents as default };
|
|
@@ -9,11 +9,15 @@ declare function getRangePlaceholder(locale: PickerLocale, picker?: PickerMode,
|
|
|
9
9
|
declare function useIcons(props: Pick<PickerProps$1, 'allowClear' | 'clearIcon' | 'removeIcon'>, prefixCls: string, context?: {
|
|
10
10
|
allowClear?: AllowClear;
|
|
11
11
|
clearIcon?: VueNode;
|
|
12
|
-
}): readonly [false, string | number | boolean | import("vue
|
|
12
|
+
}): readonly [false, string | number | boolean | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}> | RenderNodeFn<any[]> | null] | readonly [{
|
|
13
15
|
readonly disabled?: boolean;
|
|
14
16
|
readonly tabIndex?: number;
|
|
15
17
|
readonly label?: string;
|
|
16
18
|
readonly clearIcon: any;
|
|
17
|
-
}, string | number | boolean | import("vue
|
|
19
|
+
}, string | number | boolean | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}> | RenderNodeFn<any[]> | null];
|
|
18
22
|
//#endregion
|
|
19
23
|
export { getPlaceholder, getRangePlaceholder, useIcons };
|