antdv-next 1.5.0 → 1.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_util/hooks/useClosable.d.ts +4 -2
- package/dist/_util/hooks/useClosable.js +9 -3
- package/dist/_util/hooks/useMergeSemantic.d.ts +7 -4
- package/dist/_util/hooks/useMergeSemantic.js +8 -3
- package/dist/_util/statusUtils.d.ts +1 -1
- package/dist/_util/vueNode.d.ts +2 -6
- package/dist/alert/style/index.d.ts +5 -0
- package/dist/alert/style/index.js +2 -1
- package/dist/anchor/Anchor.js +12 -6
- package/dist/antd-with-locales.esm.js +12799 -12587
- package/dist/antd-with-locales.js +82 -82
- package/dist/antd.css +1 -1
- package/dist/antd.esm.js +10540 -10546
- package/dist/antd.js +57 -57
- package/dist/avatar/AvatarGroup.d.ts +4 -1
- package/dist/avatar/AvatarGroup.js +6 -4
- package/dist/avatar/index.d.ts +2 -2
- package/dist/badge/Ribbon.d.ts +4 -1
- package/dist/badge/Ribbon.js +11 -11
- package/dist/badge/index.d.ts +3 -2
- package/dist/badge/index.js +26 -24
- package/dist/border-beam/BorderBeam.d.ts +1 -0
- package/dist/border-beam/BorderBeam.js +30 -11
- package/dist/border-beam/hooks/useBorderSize.d.ts +3 -7
- package/dist/border-beam/hooks/useBorderSize.js +25 -26
- package/dist/border-beam/style/index.js +9 -8
- package/dist/border-beam/util.d.ts +3 -1
- package/dist/border-beam/util.js +4 -1
- package/dist/breadcrumb/Breadcrumb.d.ts +4 -1
- package/dist/breadcrumb/Breadcrumb.js +12 -7
- package/dist/breadcrumb/index.d.ts +2 -2
- package/dist/button/Button.js +5 -14
- package/dist/button/buttonHelper.d.ts +1 -1
- package/dist/button/style/index.js +0 -1
- package/dist/calendar/generateCalendar.d.ts +4 -1
- package/dist/calendar/generateCalendar.js +8 -5
- package/dist/calendar/index.d.ts +2 -2
- package/dist/calendar/locale/sq_AL.d.ts +2 -0
- package/dist/calendar/locale/sq_AL.js +5 -0
- package/dist/card/CardGrid.d.ts +4 -1
- package/dist/card/CardGrid.js +7 -4
- package/dist/card/CardMeta.d.ts +4 -1
- package/dist/card/CardMeta.js +5 -3
- package/dist/card/index.d.ts +3 -3
- package/dist/carousel/index.d.ts +1 -0
- package/dist/carousel/index.js +13 -10
- package/dist/collapse/Collapse.js +2 -4
- package/dist/color-picker/ColorPicker.js +4 -7
- package/dist/color-picker/components/ColorTrigger.js +1 -1
- package/dist/color-picker/style/index.js +1 -0
- package/dist/components.d.ts +25 -21
- package/dist/components.js +4 -3
- package/dist/config-provider/context.d.ts +24 -8
- package/dist/config-provider/define.d.ts +2 -1
- package/dist/config-provider/index.js +10 -0
- package/dist/date-picker/generatePicker/generateRangePicker.js +6 -7
- package/dist/date-picker/generatePicker/generateSinglePicker.js +2 -5
- package/dist/date-picker/generatePicker/useComponents.d.ts +2 -2
- package/dist/date-picker/hooks/useMergedPickerSemantic.d.ts +1 -1
- package/dist/date-picker/hooks/useMergedPickerSemantic.js +7 -3
- package/dist/date-picker/locale/sq_AL.d.ts +6 -0
- package/dist/date-picker/locale/sq_AL.js +72 -0
- package/dist/date-picker/locale/zh_TW.js +2 -2
- package/dist/date-picker/util.d.ts +2 -6
- package/dist/descriptions/hooks/useItems.d.ts +4 -4
- package/dist/descriptions/index.d.ts +4 -1
- package/dist/descriptions/index.js +5 -2
- package/dist/divider/index.d.ts +4 -1
- package/dist/divider/index.js +9 -6
- package/dist/drawer/DrawerPanel.js +5 -3
- package/dist/drawer/index.js +9 -13
- package/dist/drawer/style/index.js +1 -0
- package/dist/dropdown/dropdown.js +4 -6
- package/dist/empty/index.d.ts +4 -1
- package/dist/empty/index.js +5 -2
- package/dist/float-button/BackTop.d.ts +2 -0
- package/dist/float-button/BackTop.js +25 -43
- package/dist/float-button/FloatButtonGroup.d.ts +4 -1
- package/dist/float-button/FloatButtonGroup.js +5 -4
- package/dist/float-button/hooks/useScroll.d.ts +16 -0
- package/dist/float-button/hooks/useScroll.js +80 -0
- package/dist/float-button/index.d.ts +2 -2
- package/dist/float-button/style/button.js +23 -0
- package/dist/form/ErrorList.js +2 -2
- package/dist/form/FormItem/ItemHolder.js +1 -1
- package/dist/form/FormItem/index.js +26 -28
- package/dist/form/context.d.ts +1 -1
- package/dist/form/hooks/useVariant.d.ts +2 -2
- package/dist/form/hooks/useVariant.js +15 -5
- package/dist/form/style/index.js +25 -12
- package/dist/form/types.d.ts +11 -3
- package/dist/form/utils/validateUtil.js +4 -0
- package/dist/image/hooks/usePreviewConfig.d.ts +5 -4
- package/dist/image/index.js +8 -9
- package/dist/index.d.ts +25 -21
- package/dist/index.js +2 -2
- package/dist/input/OTP/index.js +6 -3
- package/dist/input/Password.js +4 -1
- package/dist/input/Search.js +11 -6
- package/dist/input/index.d.ts +1 -1
- package/dist/input/style/token.js +2 -1
- package/dist/input/style/variants.js +1 -1
- package/dist/listy/interface.d.ts +3 -2
- package/dist/listy/style/index.js +5 -1
- package/dist/locale/en_US.js +4 -0
- package/dist/locale/index.d.ts +4 -0
- package/dist/locale/is_IS.js +1 -1
- package/dist/locale/mn_MN.js +1 -1
- package/dist/locale/sq_AL.d.ts +5 -0
- package/dist/locale/sq_AL.js +151 -0
- package/dist/locale/zh_CN.js +4 -0
- package/dist/locale/zh_TW.js +41 -41
- package/dist/masonry/Masonry.js +4 -4
- package/dist/mentions/index.d.ts +1 -0
- package/dist/mentions/index.js +4 -0
- package/dist/menu/MenuItem.js +12 -2
- package/dist/menu/SubMenu.d.ts +1 -1
- package/dist/menu/style/vertical.js +2 -6
- package/dist/message/useMessage.js +4 -4
- package/dist/modal/PurePanel.js +4 -7
- package/dist/notification/index.js +2 -1
- package/dist/notification/useNotification.js +12 -9
- package/dist/package.js +1 -1
- package/dist/package.json.d.ts +4 -0
- package/dist/pagination/Pagination.js +14 -6
- package/dist/pagination/index.d.ts +2 -2
- package/dist/pagination/interface.d.ts +20 -3
- package/dist/popconfirm/index.js +17 -8
- package/dist/popover/PurePanel.js +10 -0
- package/dist/popover/index.js +24 -16
- package/dist/qrcode/index.d.ts +4 -1
- package/dist/qrcode/index.js +16 -13
- package/dist/radio/group.js +2 -2
- package/dist/rate/style/index.js +12 -9
- package/dist/result/index.d.ts +4 -1
- package/dist/result/index.js +7 -4
- package/dist/select/index.js +1 -1
- package/dist/select/style/dropdown.js +4 -0
- package/dist/select/style/index.js +1 -1
- package/dist/select/style/select-input.js +1 -1
- package/dist/select/style/token.js +4 -2
- package/dist/select/useIcons.d.ts +2 -6
- package/dist/skeleton/Skeleton.d.ts +4 -1
- package/dist/skeleton/Skeleton.js +10 -4
- package/dist/skeleton/index.d.ts +2 -2
- package/dist/slider/SliderTooltip.js +5 -0
- package/dist/slider/index.d.ts +5 -1
- package/dist/slider/index.js +9 -9
- package/dist/space/Compact.d.ts +5 -2
- package/dist/space/Compact.js +8 -3
- package/dist/space/index.d.ts +2 -2
- package/dist/space/index.js +3 -3
- package/dist/spin/index.d.ts +4 -1
- package/dist/spin/index.js +7 -5
- package/dist/splitter/Splitter.d.ts +4 -1
- package/dist/splitter/Splitter.js +4 -2
- package/dist/splitter/index.d.ts +2 -2
- package/dist/splitter/style/index.js +2 -1
- package/dist/statistic/Statistic.d.ts +4 -1
- package/dist/statistic/index.d.ts +2 -2
- package/dist/steps/index.js +6 -8
- package/dist/steps/style/index.js +2 -1
- package/dist/table/InternalTable.js +5 -4
- package/dist/table/hooks/useFilter/FilterDropdown.js +2 -2
- package/dist/table/style/radius.js +4 -0
- package/dist/table/style/virtual.js +4 -0
- package/dist/tag/hooks/useColor.d.ts +1 -1
- package/dist/tag/index.js +3 -3
- package/dist/theme/interface/seeds.d.ts +8 -0
- package/dist/theme/themes/seed.js +1 -0
- package/dist/theme/util/alias.js +1 -1
- package/dist/time-picker/locale/sq_AL.d.ts +5 -0
- package/dist/time-picker/locale/sq_AL.js +7 -0
- package/dist/timeline/Timeline.js +5 -7
- package/dist/tooltip/PurePanel.js +5 -0
- package/dist/tooltip/index.d.ts +1 -0
- package/dist/tooltip/index.js +27 -13
- package/dist/tour/index.js +10 -13
- package/dist/tour/panelRender.js +2 -8
- package/dist/transfer/ListBody.js +2 -1
- package/dist/transfer/ListItem.d.ts +1 -0
- package/dist/transfer/ListItem.js +6 -2
- package/dist/transfer/Transfer.d.ts +4 -1
- package/dist/transfer/Transfer.js +5 -2
- package/dist/transfer/index.d.ts +2 -2
- package/dist/transfer/search.js +2 -2
- package/dist/tree/index.d.ts +3 -2
- package/dist/tree/index.js +3 -2
- package/dist/tree/style/index.js +4 -0
- package/dist/tree/utils/dictUtil.js +3 -2
- package/dist/typography/Base/EllipsisTooltip.d.ts +6 -1
- package/dist/typography/Base/EllipsisTooltip.js +2 -2
- package/dist/typography/Base/index.js +9 -26
- package/dist/typography/hooks/useCopyClick.d.ts +1 -1
- package/dist/typography/hooks/useCopyClick.js +5 -15
- package/dist/upload/Upload.js +7 -9
- package/dist/upload/UploadList/ListItem.js +6 -13
- package/dist/upload/UploadList/index.js +8 -2
- package/dist/upload/index.d.ts +2 -2
- package/dist/version/token-meta.json +1 -0
- package/dist/version/token.json +1 -0
- package/dist/watermark/index.d.ts +4 -1
- package/dist/watermark/index.js +2 -1
- package/package.json +13 -9
- package/web-tags.json +1980 -1947
- package/web-types.json +5808 -5730
- package/dist/slider/useRafLock.d.ts +0 -5
- package/dist/slider/useRafLock.js +0 -23
|
@@ -60,6 +60,9 @@ interface CalendarProps<DateType> extends CalendarEmitsProps<DateType> {
|
|
|
60
60
|
fullscreen?: boolean;
|
|
61
61
|
showWeek?: boolean;
|
|
62
62
|
}
|
|
63
|
+
interface CalendarRef {
|
|
64
|
+
nativeElement: HTMLDivElement;
|
|
65
|
+
}
|
|
63
66
|
declare const calendarProps: string[];
|
|
64
67
|
interface CalendarSlots {
|
|
65
68
|
dateFullCellRender?: (ctx: {
|
|
@@ -104,4 +107,4 @@ interface CalendarEmitsProps<DateType = AnyObject> {
|
|
|
104
107
|
}
|
|
105
108
|
declare function generateCalendar<DateType extends AnyObject>(generateConfig: GenerateConfig<DateType>): import("vue").DefineSetupFnComponent<CalendarProps<DateType>, CalendarEmits<DateType>, SlotsType<CalendarSlots>, CalendarProps<DateType>, import("vue").PublicProps>;
|
|
106
109
|
//#endregion
|
|
107
|
-
export { CalendarClassNamesType, CalendarEmits, CalendarEmitsProps, CalendarMode, CalendarProps, CalendarSemanticClassNames, CalendarSemanticName, CalendarSemanticStyles, CalendarSlots, CalendarStylesType, HeaderRender, SelectInfo, calendarProps, generateCalendar as default };
|
|
110
|
+
export { CalendarClassNamesType, CalendarEmits, CalendarEmitsProps, CalendarMode, CalendarProps, CalendarRef, CalendarSemanticClassNames, CalendarSemanticName, CalendarSemanticStyles, CalendarSlots, CalendarStylesType, HeaderRender, SelectInfo, calendarProps, generateCalendar as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { devUseWarning, isDev } from "../_util/warning.js";
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
|
-
import { getAttrStyleAndClass, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
+
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.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";
|
|
7
7
|
import CalendarHeader from "./Header.js";
|
|
8
8
|
import style_default from "./style/index.js";
|
|
9
|
-
import { computed, createVNode, defineComponent, mergeProps, ref, watch } from "vue";
|
|
9
|
+
import { computed, createVNode, defineComponent, mergeProps, ref, shallowRef, watch } from "vue";
|
|
10
10
|
import { clsx } from "@v-c/util";
|
|
11
11
|
import { PickerPanel } from "@v-c/picker";
|
|
12
12
|
//#region src/calendar/generateCalendar.tsx
|
|
@@ -44,7 +44,7 @@ function isSameDate(date1, date2, config) {
|
|
|
44
44
|
return isSameMonth(date1, date2, config) && getDate(date1) === getDate(date2);
|
|
45
45
|
}
|
|
46
46
|
function generateCalendar(generateConfig) {
|
|
47
|
-
return /* @__PURE__ */ defineComponent((props, { slots, attrs, emit }) => {
|
|
47
|
+
return /* @__PURE__ */ defineComponent((props, { slots, attrs, emit, expose }) => {
|
|
48
48
|
const { prefixCls, direction, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles } = useComponentBaseConfig("calendar", props, [], "picker");
|
|
49
49
|
const mergedProps = computed(() => ({
|
|
50
50
|
...props,
|
|
@@ -52,7 +52,8 @@ function generateCalendar(generateConfig) {
|
|
|
52
52
|
fullscreen: props.fullscreen,
|
|
53
53
|
showWeek: props.showWeek
|
|
54
54
|
}));
|
|
55
|
-
const
|
|
55
|
+
const contextStyleRoot = useSemanticRootStyle(contextStyle);
|
|
56
|
+
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, computed(() => props.classes)), useToArr(contextStyles, contextStyleRoot, computed(() => props.styles)), useToProps(mergedProps));
|
|
56
57
|
const rootCls = useCSSVarCls(prefixCls);
|
|
57
58
|
const [hashId, cssVarCls] = style_default(prefixCls, rootCls);
|
|
58
59
|
const today = generateConfig.getNow();
|
|
@@ -170,6 +171,8 @@ function generateCalendar(generateConfig) {
|
|
|
170
171
|
panelStyles
|
|
171
172
|
};
|
|
172
173
|
});
|
|
174
|
+
const nativeElementRef = shallowRef();
|
|
175
|
+
expose({ nativeElement: nativeElementRef });
|
|
173
176
|
return () => {
|
|
174
177
|
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
175
178
|
const { root, header, panelClassNames } = splitClassNames.value;
|
|
@@ -185,6 +188,7 @@ function generateCalendar(generateConfig) {
|
|
|
185
188
|
const hasHeaderRender = slots.headerRender || props.headerRender;
|
|
186
189
|
const headerNode = hasHeaderRender ? resolveRender("headerRender", [headerConfig], headerConfig) : void 0;
|
|
187
190
|
return createVNode("div", mergeProps({
|
|
191
|
+
"ref": nativeElementRef,
|
|
188
192
|
"class": clsx(calendarPrefixCls.value, {
|
|
189
193
|
[`${calendarPrefixCls.value}-full`]: props.fullscreen !== false,
|
|
190
194
|
[`${calendarPrefixCls.value}-mini`]: props.fullscreen === false,
|
|
@@ -192,7 +196,6 @@ function generateCalendar(generateConfig) {
|
|
|
192
196
|
}, contextClassName.value, props.rootClass, root, rootCls.value, hashId.value, cssVarCls.value, className),
|
|
193
197
|
"style": {
|
|
194
198
|
...rootStyle,
|
|
195
|
-
...contextStyle.value,
|
|
196
199
|
...style
|
|
197
200
|
}
|
|
198
201
|
}, restAttrs), [hasHeaderRender ? headerNode : createVNode(CalendarHeader, {
|
package/dist/calendar/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import generateCalendar, { CalendarEmits, CalendarMode, CalendarProps, CalendarSlots } from "./generateCalendar.js";
|
|
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
4
|
declare const Calendar: import("vue").DefineSetupFnComponent<CalendarProps<Dayjs>, CalendarEmits<Dayjs>, import("vue").SlotsType<CalendarSlots>, CalendarProps<Dayjs>, import("vue").PublicProps>;
|
|
@@ -7,4 +7,4 @@ type CalendarType = typeof Calendar & {
|
|
|
7
7
|
};
|
|
8
8
|
declare const _default: CalendarType;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { type CalendarMode, type CalendarProps, CalendarType, _default as default };
|
|
10
|
+
export { type CalendarMode, type CalendarProps, type CalendarRef, CalendarType, _default as default };
|
package/dist/card/CardGrid.d.ts
CHANGED
|
@@ -3,6 +3,9 @@ interface CardGridProps {
|
|
|
3
3
|
prefixCls?: string;
|
|
4
4
|
hoverable?: boolean;
|
|
5
5
|
}
|
|
6
|
+
interface CardGridRef {
|
|
7
|
+
nativeElement: HTMLDivElement;
|
|
8
|
+
}
|
|
6
9
|
declare const CardGrid: import("vue").DefineSetupFnComponent<CardGridProps, {}, {}, CardGridProps & {}, import("vue").PublicProps>;
|
|
7
10
|
//#endregion
|
|
8
|
-
export { CardGridProps, CardGrid as default };
|
|
11
|
+
export { CardGridProps, CardGridRef, CardGrid as default };
|
package/dist/card/CardGrid.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { useBaseConfig } from "../config-provider/context.js";
|
|
2
2
|
import { getAttrStyleAndClass } from "../_util/hooks/useMergeSemantic.js";
|
|
3
|
-
import { createVNode, defineComponent, mergeDefaults, mergeProps } from "vue";
|
|
3
|
+
import { createVNode, defineComponent, mergeDefaults, mergeProps, shallowRef } from "vue";
|
|
4
4
|
import { clsx } from "@v-c/util";
|
|
5
5
|
//#region src/card/CardGrid.tsx
|
|
6
|
-
const CardGrid = /* @__PURE__ */ defineComponent((props, { attrs, slots }) => {
|
|
6
|
+
const CardGrid = /* @__PURE__ */ defineComponent((props, { attrs, slots, expose }) => {
|
|
7
7
|
const { prefixCls } = useBaseConfig("card", props);
|
|
8
|
+
const nativeElementRef = shallowRef();
|
|
9
|
+
expose({ nativeElement: nativeElementRef });
|
|
8
10
|
return () => {
|
|
9
11
|
const prefix = `${prefixCls.value}-grid`;
|
|
10
12
|
const { className, restAttrs, style } = getAttrStyleAndClass(attrs);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
+
const classString = clsx(prefix, className, { [`${prefix}-hoverable`]: props.hoverable });
|
|
14
|
+
return createVNode("div", mergeProps({ "ref": nativeElementRef }, restAttrs, {
|
|
15
|
+
"class": classString,
|
|
13
16
|
"style": style
|
|
14
17
|
}), [slots?.default?.()]);
|
|
15
18
|
};
|
package/dist/card/CardMeta.d.ts
CHANGED
|
@@ -28,6 +28,9 @@ interface CardMetaProps {
|
|
|
28
28
|
classes?: CardMetaClassNamesType;
|
|
29
29
|
styles?: CardMetaStylesType;
|
|
30
30
|
}
|
|
31
|
+
interface CardMetaRef {
|
|
32
|
+
nativeElement: HTMLDivElement;
|
|
33
|
+
}
|
|
31
34
|
interface CardMetaSlots {
|
|
32
35
|
avatar?: () => any;
|
|
33
36
|
title?: () => any;
|
|
@@ -36,4 +39,4 @@ interface CardMetaSlots {
|
|
|
36
39
|
}
|
|
37
40
|
declare const CardMeta: import("vue").DefineSetupFnComponent<CardMetaProps, EmptyEmit, SlotsType<CardMetaSlots>, CardMetaProps, import("vue").PublicProps>;
|
|
38
41
|
//#endregion
|
|
39
|
-
export { CardMetaClassNamesType, CardMetaProps, CardMetaSemanticClassNames, CardMetaSemanticName, CardMetaSemanticStyles, CardMetaSlots, CardMetaStylesType, CardMeta as default };
|
|
42
|
+
export { CardMetaClassNamesType, CardMetaProps, CardMetaRef, CardMetaSemanticClassNames, CardMetaSemanticName, CardMetaSemanticStyles, CardMetaSlots, CardMetaStylesType, CardMeta as default };
|
package/dist/card/CardMeta.js
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
2
2
|
import { getAttrStyleAndClass, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
3
3
|
import { getSlotPropsFnRun, toPropsRefs } from "../_util/tools.js";
|
|
4
|
-
import { computed, createVNode, defineComponent, mergeProps } from "vue";
|
|
4
|
+
import { computed, createVNode, defineComponent, mergeProps, shallowRef } from "vue";
|
|
5
5
|
import { clsx } from "@v-c/util";
|
|
6
6
|
//#region src/card/CardMeta.tsx
|
|
7
|
-
const CardMeta = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
7
|
+
const CardMeta = /* @__PURE__ */ defineComponent((props, { slots, attrs, expose }) => {
|
|
8
8
|
const { prefixCls, class: contextClassName, style: contextStyle, classes: contextClassNames, styles: contextStyles } = useComponentBaseConfig("cardMeta", props, [], "card");
|
|
9
9
|
const { classes: cardMetaClassNames, styles } = toPropsRefs(props, "classes", "styles");
|
|
10
10
|
const metaPrefixCls = computed(() => `${prefixCls.value}-meta`);
|
|
11
11
|
const mergedProps = computed(() => props);
|
|
12
12
|
const contextStyleRoot = useSemanticRootStyle(contextStyle);
|
|
13
13
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, cardMetaClassNames), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps));
|
|
14
|
+
const nativeElementRef = shallowRef();
|
|
15
|
+
expose({ nativeElement: nativeElementRef });
|
|
14
16
|
return () => {
|
|
15
17
|
const { className, style, restAttrs } = getAttrStyleAndClass(attrs);
|
|
16
18
|
const rootClassNames = clsx(metaPrefixCls.value, className, contextClassName.value, mergedClassNames.value?.root);
|
|
@@ -41,7 +43,7 @@ const CardMeta = /* @__PURE__ */ defineComponent((props, { slots, attrs }) => {
|
|
|
41
43
|
"class": sectionClassNames,
|
|
42
44
|
"style": mergedStyles.value.section
|
|
43
45
|
}, [titleDom, descriptionDom]) : null;
|
|
44
|
-
return createVNode("div", mergeProps(restAttrs, {
|
|
46
|
+
return createVNode("div", mergeProps({ "ref": nativeElementRef }, restAttrs, {
|
|
45
47
|
"class": rootClassNames,
|
|
46
48
|
"style": rootStyles
|
|
47
49
|
}), [avatarDom, metaDetail]);
|
package/dist/card/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import Card, { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./Card.js";
|
|
2
|
-
import CardMeta, { CardMetaProps } from "./CardMeta.js";
|
|
3
|
-
import CardGrid, { CardGridProps } from "./CardGrid.js";
|
|
4
|
-
export { type CardEmits, CardGrid, type CardGridProps, CardMeta, type CardMetaProps, type CardProps, type CardSize, type CardSlots, type CardTabListType, Card as default };
|
|
2
|
+
import CardMeta, { CardMetaProps, CardMetaRef } from "./CardMeta.js";
|
|
3
|
+
import CardGrid, { CardGridProps, CardGridRef } from "./CardGrid.js";
|
|
4
|
+
export { type CardEmits, CardGrid, type CardGridProps, type CardGridRef, CardMeta, type CardMetaProps, type CardMetaRef, type CardProps, type CardSize, type CardSlots, type CardTabListType, Card as default };
|
package/dist/carousel/index.d.ts
CHANGED
package/dist/carousel/index.js
CHANGED
|
@@ -2,8 +2,10 @@ import { devUseWarning, isDev } from "../_util/warning.js";
|
|
|
2
2
|
import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
3
3
|
import { getAttrStyleAndClass as getAttrStyleAndClass$1 } from "../_util/hooks/useMergeSemantic.js";
|
|
4
4
|
import { getSlotPropsFnRun } from "../_util/tools.js";
|
|
5
|
+
import localeValues from "../locale/en_US.js";
|
|
6
|
+
import useLocale from "../locale/useLocale.js";
|
|
5
7
|
import style_default, { DotDuration } from "./style/index.js";
|
|
6
|
-
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, shallowRef, watch } from "vue";
|
|
8
|
+
import { computed, createVNode, defineComponent, isVNode, mergeDefaults, mergeProps, onMounted, shallowRef, watch } from "vue";
|
|
7
9
|
import { clsx } from "@v-c/util";
|
|
8
10
|
import { filterEmpty } from "@v-c/util/dist/props-util";
|
|
9
11
|
import { omit } from "es-toolkit";
|
|
@@ -59,11 +61,14 @@ const Carousel = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
59
61
|
});
|
|
60
62
|
const mergedVertical = computed(() => props?.vertical ?? (mergedDotPlacement.value === "start" || mergedDotPlacement.value === "end"));
|
|
61
63
|
const { prefixCls, direction, class: contextClassName, style: contextStyle } = useComponentBaseConfig("carousel", props);
|
|
64
|
+
const [contextLocale] = useLocale("Carousel", localeValues.Carousel);
|
|
62
65
|
const slickRef = shallowRef();
|
|
66
|
+
const nativeElementRef = shallowRef();
|
|
63
67
|
const goTo = (slide, dontAnimate = false) => {
|
|
64
68
|
slickRef.value?.slickGoTo?.(slide, dontAnimate);
|
|
65
69
|
};
|
|
66
70
|
expose({
|
|
71
|
+
nativeElement: nativeElementRef,
|
|
67
72
|
goTo,
|
|
68
73
|
autoPlay: (playType) => slickRef?.value?.innerSlider?.autoPlay?.(playType),
|
|
69
74
|
next: () => slickRef?.value?.innerSlider?.slickNext?.(),
|
|
@@ -72,17 +77,15 @@ const Carousel = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
72
77
|
});
|
|
73
78
|
const count = shallowRef(0);
|
|
74
79
|
const isRTL = computed(() => (props?.rtl ?? direction.value === "rtl") && !props.vertical);
|
|
75
|
-
|
|
76
|
-
count,
|
|
77
|
-
() => props?.initialSlide,
|
|
78
|
-
isRTL
|
|
79
|
-
], () => {
|
|
80
|
+
const syncInitialSlide = () => {
|
|
80
81
|
const { initialSlide = 0 } = props;
|
|
81
82
|
if (count.value > 0) {
|
|
82
83
|
const newIndex = isRTL.value ? count.value - initialSlide - 1 : initialSlide;
|
|
83
84
|
goTo(newIndex, false);
|
|
84
85
|
}
|
|
85
|
-
}
|
|
86
|
+
};
|
|
87
|
+
onMounted(syncInitialSlide);
|
|
88
|
+
watch([() => props?.initialSlide, isRTL], syncInitialSlide);
|
|
86
89
|
if (isDev) devUseWarning("Carousel").deprecated(!props?.dotPosition, "dotPosition", "dotPlacement");
|
|
87
90
|
const [hashId, cssVarCls] = style_default(prefixCls);
|
|
88
91
|
const onAttrs = {
|
|
@@ -132,7 +135,7 @@ const Carousel = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
132
135
|
if (count.value !== childNodes.length) count.value = childNodes.length;
|
|
133
136
|
const prevArrow = getSlotPropsFnRun(slots, props, "prevArrow");
|
|
134
137
|
const nextArrow = getSlotPropsFnRun(slots, props, "nextArrow");
|
|
135
|
-
return createVNode("div", mergeProps(restAttrs, {
|
|
138
|
+
return createVNode("div", mergeProps({ "ref": nativeElementRef }, restAttrs, {
|
|
136
139
|
"class": className,
|
|
137
140
|
"id": id,
|
|
138
141
|
"style": dotDurationStyle
|
|
@@ -140,8 +143,8 @@ const Carousel = /* @__PURE__ */ defineComponent((props, { slots, emit, expose,
|
|
|
140
143
|
"dots": enableDots,
|
|
141
144
|
"dotsClass": dsClass,
|
|
142
145
|
"arrows": arrows,
|
|
143
|
-
"prevArrow": prevArrow ?? createVNode(ArrowButton, { "aria-label": isRTL.value ?
|
|
144
|
-
"nextArrow": nextArrow ?? createVNode(ArrowButton, { "aria-label": isRTL.value ?
|
|
146
|
+
"prevArrow": prevArrow ?? createVNode(ArrowButton, { "aria-label": isRTL.value ? contextLocale.value.nextSlide : contextLocale.value.prevSlide }, null),
|
|
147
|
+
"nextArrow": nextArrow ?? createVNode(ArrowButton, { "aria-label": isRTL.value ? contextLocale.value.prevSlide : contextLocale.value.nextSlide }, null),
|
|
145
148
|
"draggable": draggable,
|
|
146
149
|
"verticalSwiping": mergedVertical.value,
|
|
147
150
|
"autoplaySpeed": autoplaySpeed,
|
|
@@ -30,10 +30,8 @@ const Collapse = /* @__PURE__ */ defineComponent((props, { attrs, emit, slots })
|
|
|
30
30
|
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps));
|
|
31
31
|
const renderExpandIcon = (panelProps = {}) => {
|
|
32
32
|
const mergedExpandIcon = slots?.expandIcon ?? props?.expandIcon ?? expandIcon.value;
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
"aria-label": panelProps.isActive ? "expanded" : "collapsed"
|
|
36
|
-
}, null);
|
|
33
|
+
const iconIsInteractive = panelProps.collapsible === "header" || panelProps.collapsible === "icon";
|
|
34
|
+
const icon = typeof mergedExpandIcon === "function" ? mergedExpandIcon?.(panelProps) : createVNode(RightOutlined, mergeProps({ "rotate": panelProps.isActive ? direction.value === "rtl" ? -90 : 90 : void 0 }, iconIsInteractive ? { "aria-label": panelProps.isActive ? "expanded" : "collapsed" } : { "aria-hidden": "true" }), null);
|
|
37
35
|
return cloneElement(icon, () => {
|
|
38
36
|
return { class: classNames(icon.props?.class, `${prefixCls.value}-arrow`) };
|
|
39
37
|
});
|
|
@@ -2,7 +2,7 @@ import { useComponentBaseConfig } from "../config-provider/context.js";
|
|
|
2
2
|
import { useSize } from "../config-provider/hooks/useSize.js";
|
|
3
3
|
import { useCompactItemContext } from "../space/Compact.js";
|
|
4
4
|
import { ContextIsolator } from "../_util/ContextIsolator.js";
|
|
5
|
-
import { getAttrStyleAndClass as getAttrStyleAndClass$1, useMergeSemantic, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
5
|
+
import { getAttrStyleAndClass as getAttrStyleAndClass$1, useMergeSemantic, useSemanticRootStyle, useToArr, useToProps } from "../_util/hooks/useMergeSemantic.js";
|
|
6
6
|
import { toPropsRefs as toPropsRefs$1 } from "../_util/tools.js";
|
|
7
7
|
import useCSSVarCls from "../config-provider/hooks/useCSSVarCls.js";
|
|
8
8
|
import useMergedArrow from "../tooltip/hooks/useMergedArrow.js";
|
|
@@ -45,7 +45,8 @@ const ColorPicker = /* @__PURE__ */ defineComponent((props, { slots, expose, emi
|
|
|
45
45
|
size: mergedSize.value
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
|
-
const
|
|
48
|
+
const contextStyleRoot = useSemanticRootStyle(contextStyle);
|
|
49
|
+
const [mergedClassNames, mergedStyles] = useMergeSemantic(useToArr(contextClassNames, classes), useToArr(contextStyles, contextStyleRoot, styles), useToProps(mergedProps), computed(() => ({ popup: { _default: "root" } })));
|
|
49
50
|
const internalPopupOpen = shallowRef(open.value ?? false);
|
|
50
51
|
watch(open, (val) => {
|
|
51
52
|
internalPopupOpen.value = val ?? false;
|
|
@@ -150,10 +151,6 @@ const ColorPicker = /* @__PURE__ */ defineComponent((props, { slots, expose, emi
|
|
|
150
151
|
autoAdjustOverflow,
|
|
151
152
|
destroyOnHidden
|
|
152
153
|
};
|
|
153
|
-
const mergedStyle = {
|
|
154
|
-
...contextStyle.value,
|
|
155
|
-
...style
|
|
156
|
-
};
|
|
157
154
|
const mergedShowText = showText ? typeof showText === "function" ? (color) => showText({ color }) : showText : void 0;
|
|
158
155
|
const panelNode = createVNode(ContextIsolator, { "form": true }, { default: () => [createVNode(ColorPickerPanel_default, mergeProps(restAttrs, {
|
|
159
156
|
"prefixCls": prefixCls.value,
|
|
@@ -183,7 +180,7 @@ const ColorPicker = /* @__PURE__ */ defineComponent((props, { slots, expose, emi
|
|
|
183
180
|
"activeIndex": popupOpen.value ? activeIndex.value : -1,
|
|
184
181
|
"open": popupOpen.value,
|
|
185
182
|
"className": mergedCls,
|
|
186
|
-
"style":
|
|
183
|
+
"style": style,
|
|
187
184
|
"prefixCls": prefixCls.value,
|
|
188
185
|
"disabled": mergedDisabled.value,
|
|
189
186
|
"showText": mergedShowText,
|
|
@@ -55,7 +55,7 @@ var ColorTrigger_default = /* @__PURE__ */ defineComponent((props, { attrs }) =>
|
|
|
55
55
|
"style": [styles.root, style]
|
|
56
56
|
}), [containerNode.value, props.showText && createVNode("div", {
|
|
57
57
|
"class": [colorTextPrefixCls.value, classes.description],
|
|
58
|
-
"style":
|
|
58
|
+
"style": styles.description
|
|
59
59
|
}, [desc.value])]);
|
|
60
60
|
};
|
|
61
61
|
}, {
|
package/dist/components.d.ts
CHANGED
|
@@ -10,15 +10,15 @@ import InternalFormItem, { FormItemEmits, FormItemProps, FormItemSlots } from ".
|
|
|
10
10
|
import { DatePickerEmits, DatePickerSlots } from "./date-picker/generatePicker/generateSinglePicker.js";
|
|
11
11
|
import _default$14, { TimePickerEmits, TimePickerLocale, TimePickerProps, TimePickerSlots, TimeRangePicker, TimeRangePickerEmits, TimeRangePickerProps } from "./time-picker/index.js";
|
|
12
12
|
import _default$5, { DateMonthPicker, DatePickerProps, DateQuarterPicker, DateRangePicker, DateWeekPicker, DateYearPicker, MonthPickerProps, RangePickerProps, WeekPickerProps } from "./date-picker/index.js";
|
|
13
|
-
import _default$6, { EmptyProps, EmptySlots } from "./empty/index.js";
|
|
13
|
+
import _default$6, { 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
|
-
import { PaginationClassNamesType, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationSlots, PaginationStylesType } from "./pagination/interface.js";
|
|
16
|
+
import { PaginationClassNamesType, PaginationComponents, PaginationConfig, PaginationEmits, PaginationLocale, PaginationPosition, PaginationSizeChangerProps, PaginationSlots, PaginationStylesType } from "./pagination/interface.js";
|
|
17
17
|
import Pagination from "./pagination/Pagination.js";
|
|
18
18
|
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
|
-
import _default$11, { SpinProps, SpinSlots } from "./spin/index.js";
|
|
21
|
+
import _default$11, { SpinProps, SpinRef, SpinSlots } from "./spin/index.js";
|
|
22
22
|
import InternalCheckbox, { CheckboxEmits, CheckboxProps, CheckboxSlots } from "./checkbox/Checkbox.js";
|
|
23
23
|
import CheckboxGroup, { CheckboxGroupEmits, CheckboxGroupProps, CheckboxGroupSlots, CheckboxOptionType } from "./checkbox/Group.js";
|
|
24
24
|
import "./checkbox/index.js";
|
|
@@ -38,6 +38,7 @@ import _default$13, { DataIndex, Summary, SummaryCell, SummaryRow } from "./tabl
|
|
|
38
38
|
import { TourEmits, TourLocale, TourSlots, TourStylesType } from "./tour/interface.js";
|
|
39
39
|
import Tour, { TourProps, TourStepItem } from "./tour/index.js";
|
|
40
40
|
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";
|
|
41
|
+
import { TransferRef } from "./transfer/Transfer.js";
|
|
41
42
|
import { TransferOperationProps } from "./transfer/Actions.js";
|
|
42
43
|
import { TransferSearchEmits, TransferSearchProps, TransferSearchSlots } from "./transfer/search.js";
|
|
43
44
|
import InternalTransfer, { TransferProps } from "./transfer/index.js";
|
|
@@ -52,17 +53,17 @@ import { Affix, AffixEmits, AffixProps, AffixRef } from "./affix/index.js";
|
|
|
52
53
|
import { AnchorLinkProps } from "./anchor/AnchorLink.js";
|
|
53
54
|
import Anchor, { AnchorEmits, AnchorProps, AnchorSlots } from "./anchor/Anchor.js";
|
|
54
55
|
import "./anchor/index.js";
|
|
55
|
-
import { RibbonProps } from "./badge/Ribbon.js";
|
|
56
|
+
import { RibbonProps, RibbonRef } from "./badge/Ribbon.js";
|
|
56
57
|
import Badge, { BadgeProps, BadgeRibbon, BadgeSlots } from "./badge/index.js";
|
|
57
58
|
import _default$1, { BreadcrumbItemProps } from "./breadcrumb/BreadcrumbItem.js";
|
|
58
59
|
import _default$2 from "./breadcrumb/BreadcrumbSeparator.js";
|
|
59
|
-
import Breadcrumb, { BreadcrumbEmits, BreadcrumbProps, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
60
|
-
import { CalendarMode, CalendarProps } from "./calendar/generateCalendar.js";
|
|
60
|
+
import Breadcrumb, { BreadcrumbEmits, BreadcrumbProps, BreadcrumbRef, BreadcrumbSlots, ItemType } from "./breadcrumb/Breadcrumb.js";
|
|
61
|
+
import { CalendarMode, CalendarProps, CalendarRef } from "./calendar/generateCalendar.js";
|
|
61
62
|
import _default$3 from "./calendar/index.js";
|
|
62
63
|
import TabPane, { TabPaneProps } from "./tabs/TabPane.js";
|
|
63
64
|
import Tabs, { TabsEmits, TabsProps, TabsRef, TabsSlots } from "./tabs/index.js";
|
|
64
65
|
import Card, { CardEmits, CardProps, CardSize, CardSlots, CardTabListType } from "./card/Card.js";
|
|
65
|
-
import CardMeta, { CardMetaProps } from "./card/CardMeta.js";
|
|
66
|
+
import CardMeta, { CardMetaProps, CardMetaRef } from "./card/CardMeta.js";
|
|
66
67
|
import CascaderPanel, { CascaderPanelEmits, CascaderPanelProps, CascaderPanelSlots } from "./cascader/Panel.js";
|
|
67
68
|
import Cascader, { CascaderEmits, CascaderProps, CascaderSlots } from "./cascader/index.js";
|
|
68
69
|
import Collapse, { CollapseProps } from "./collapse/Collapse.js";
|
|
@@ -73,19 +74,20 @@ import { ColorPickerEmits, ColorPickerSlots, ColorValueType } from "./color-pick
|
|
|
73
74
|
import ColorPicker from "./color-picker/ColorPicker.js";
|
|
74
75
|
import { ColorPickerProps } from "./color-picker/index.js";
|
|
75
76
|
import DescriptionsItem, { DescriptionsItemProps, DescriptionsItemSlots } from "./descriptions/Item.js";
|
|
76
|
-
import Descriptions, { DescriptionsItemType, DescriptionsProps, DescriptionsSlots } from "./descriptions/index.js";
|
|
77
|
-
import Divider, { DividerProps } from "./divider/index.js";
|
|
77
|
+
import Descriptions, { DescriptionsItemType, DescriptionsProps, DescriptionsRef, DescriptionsSlots } from "./descriptions/index.js";
|
|
78
|
+
import Divider, { DividerProps, DividerRef } from "./divider/index.js";
|
|
78
79
|
import Drawer, { DrawerEmits, DrawerProps, DrawerResizableConfig, DrawerSlots } from "./drawer/index.js";
|
|
79
80
|
import { FlexProps } from "./flex/interface.js";
|
|
80
81
|
import Flex, { FlexSlots } from "./flex/index.js";
|
|
81
82
|
import FloatButton, { FloatButtonProps, FloatButtonRef } from "./float-button/FloatButton.js";
|
|
82
|
-
import FloatButtonGroup, { FloatButtonGroupProps } from "./float-button/FloatButtonGroup.js";
|
|
83
|
+
import FloatButtonGroup, { FloatButtonGroupProps, FloatButtonGroupRef } from "./float-button/FloatButtonGroup.js";
|
|
83
84
|
import BackTopWithInstall from "./float-button/BackTop.js";
|
|
84
85
|
import "./float-button/index.js";
|
|
85
86
|
import _default_1, { ImageEmits, ImagePreviewGroup, ImagePreviewGroupProps, ImageProps, ImageSlots, PreviewConfig } from "./image/index.js";
|
|
86
87
|
import InputNumber, { InputNumberEmits, InputNumberProps, InputNumberRef as VcInputNumberRef, InputNumberStepContext, ValueType } from "./input-number/index.js";
|
|
87
88
|
import { InputEmits, InputProps, InputRef, InputSlots } from "./input/Input.js";
|
|
88
89
|
import { OTPEmits, OTPProps, OTPSlots } from "./input/OTP/index.js";
|
|
90
|
+
import { InputPasswordRef, PasswordProps } from "./input/Password.js";
|
|
89
91
|
import { InputSearchRef, SearchProps } from "./input/Search.js";
|
|
90
92
|
import InternalTextArea, { InputTextAreaRef, TextAreaProps, TextAreaRef } from "./input/TextArea.js";
|
|
91
93
|
import { ListyClassNames, ListyProps, ListyRef, ListyScrollToConfig, ListyStyles } from "./listy/interface.js";
|
|
@@ -94,22 +96,24 @@ import { MasonryEmits, MasonryProps, MasonryRef, MasonrySlots } from "./masonry/
|
|
|
94
96
|
import useNotification from "./notification/useNotification.js";
|
|
95
97
|
import staticMethods$1 from "./notification/index.js";
|
|
96
98
|
import { QRCodeEmits } from "./qrcode/interface.js";
|
|
97
|
-
import QRCode, { QRCodeProps } from "./qrcode/index.js";
|
|
99
|
+
import QRCode, { QRCodeProps, QRCodeRef } from "./qrcode/index.js";
|
|
98
100
|
import { RadioChangeEvent, RadioEmits, RadioGroupEmits, RadioGroupOptionType, RadioGroupSlots, RadioSlots } from "./radio/interface.js";
|
|
99
|
-
import _default$10, { ResultProps, ResultSlots, ResultStatusType } from "./result/index.js";
|
|
101
|
+
import _default$10, { ResultProps, ResultRef, ResultSlots, ResultStatusType } from "./result/index.js";
|
|
100
102
|
import Segmented, { SegmentedEmits, SegmentedOptions, SegmentedProps, SegmentedSlots } from "./segmented/index.js";
|
|
101
103
|
import SkeletonAvatar from "./skeleton/Avatar.js";
|
|
102
104
|
import SkeletonButton from "./skeleton/Button.js";
|
|
103
105
|
import SkeletonNode from "./skeleton/Node.js";
|
|
104
106
|
import SkeletonImage from "./skeleton/Image.js";
|
|
105
107
|
import SkeletonInput from "./skeleton/Input.js";
|
|
106
|
-
import SkeletonWithSubComponents, { SkeletonProps } from "./skeleton/Skeleton.js";
|
|
108
|
+
import SkeletonWithSubComponents, { SkeletonProps, SkeletonRef } from "./skeleton/Skeleton.js";
|
|
107
109
|
import "./skeleton/index.js";
|
|
108
|
-
import Slider, { SliderEmits, SliderProps } from "./slider/index.js";
|
|
110
|
+
import Slider, { SliderEmits, SliderProps, SliderRef } from "./slider/index.js";
|
|
111
|
+
import { SpaceCompactProps, SpaceCompactRef } from "./space/Compact.js";
|
|
109
112
|
import Space, { SpaceAddon, SpaceCompact, SpaceProps, SpaceSize, SpaceSlots } from "./space/index.js";
|
|
110
113
|
import { SplitterEmits, SplitterSlots } from "./splitter/interface.js";
|
|
111
|
-
import Splitter from "./splitter/Splitter.js";
|
|
114
|
+
import Splitter, { SplitterRef } from "./splitter/Splitter.js";
|
|
112
115
|
import { SplitterPanel, SplitterProps } from "./splitter/index.js";
|
|
116
|
+
import { StatisticRef } from "./statistic/Statistic.js";
|
|
113
117
|
import _default$12, { StatisticProps, StatisticTimer, StatisticTimerProps } from "./statistic/index.js";
|
|
114
118
|
import Steps, { StepItem, StepsEmits, StepsProps, StepsSlots } from "./steps/index.js";
|
|
115
119
|
import Switch, { SwitchEmits, SwitchProps, SwitchSize, SwitchSlots } from "./switch/index.js";
|
|
@@ -121,7 +125,7 @@ import { TimelineItem, TimelineItemProps, TimelineItemSlots } from "./timeline/T
|
|
|
121
125
|
import "./timeline/index.js";
|
|
122
126
|
import { AntTreeNode, AntTreeNodeCheckedEvent, AntTreeNodeExpandedEvent, AntTreeNodeMouseEvent, AntTreeNodeProps, AntTreeNodeSelectedEvent, AntdTreeNodeAttribute, TreeEmits, TreeProps, TreeSlots } from "./tree/Tree.js";
|
|
123
127
|
import DirectoryTree, { DirectoryTreeEmits, DirectoryTreeProps, DirectoryTreeSlots, ExpandAction } from "./tree/DirectoryTree.js";
|
|
124
|
-
import Tree, { BasicDataNode, DataNode } from "./tree/index.js";
|
|
128
|
+
import Tree, { BasicDataNode, DataNode, TreeInstance, UseTreeConfig, useTree } from "./tree/index.js";
|
|
125
129
|
import TreeSelect, { TreeSelectEmits, TreeSelectNode, TreeSelectProps, TreeSelectSlots } from "./tree-select/index.js";
|
|
126
130
|
import { BlockProps } from "./typography/interface.js";
|
|
127
131
|
import { ButtonColorType, ButtonHTMLType, ButtonShape, ButtonType, ButtonVariantType } from "./button/buttonHelper.js";
|
|
@@ -132,19 +136,18 @@ import { AppProps } from "./app/App.js";
|
|
|
132
136
|
import _default from "./app/index.js";
|
|
133
137
|
import AutoComplete, { AutoCompleteClassNamesType, AutoCompleteEmits, AutoCompleteProps, AutoCompleteSlots, AutoCompleteStylesType, DataSourceItemObject, DataSourceItemType, Option } from "./auto-complete/index.js";
|
|
134
138
|
import { AvatarEmits, AvatarProps, AvatarSlots } from "./avatar/Avatar.js";
|
|
135
|
-
import AvatarGroup, { AvatarGroupProps } from "./avatar/AvatarGroup.js";
|
|
139
|
+
import AvatarGroup, { AvatarGroupProps, AvatarGroupRef } from "./avatar/AvatarGroup.js";
|
|
136
140
|
import Avatar from "./avatar/index.js";
|
|
137
141
|
import { BorderBeamColor, BorderBeamGradient } from "./border-beam/util.js";
|
|
138
142
|
import BorderBeam, { BorderBeamProps } from "./border-beam/BorderBeam.js";
|
|
139
143
|
import "./border-beam/index.js";
|
|
140
144
|
import "./breadcrumb/index.js";
|
|
141
|
-
import CardGrid, { CardGridProps } from "./card/CardGrid.js";
|
|
145
|
+
import CardGrid, { CardGridProps, CardGridRef } from "./card/CardGrid.js";
|
|
142
146
|
import "./card/index.js";
|
|
143
147
|
import Carousel, { CarouselEmits, CarouselProps, CarouselRef, CarouselSlots } from "./carousel/index.js";
|
|
144
148
|
import { FormHookInstance, useForm, useFormInstance } from "./form/hooks/useForm.js";
|
|
145
149
|
import "./form/index.js";
|
|
146
150
|
import { InputGroupProps } from "./input/Group.js";
|
|
147
|
-
import { InputPasswordRef, PasswordProps } from "./input/Password.js";
|
|
148
151
|
import CompoundedInput, { InputGroup, InputOTP, InputPassword, InputSearch } from "./input/index.js";
|
|
149
152
|
import Layout, { BasicProps } from "./layout/layout.js";
|
|
150
153
|
import { LayoutContent, LayoutFooter, LayoutHeader, LayoutSider, useLayoutSider } from "./layout/index.js";
|
|
@@ -162,6 +165,7 @@ import { TitleProps } from "./typography/Title.js";
|
|
|
162
165
|
import { ParagraphProps } from "./typography/Paragraph.js";
|
|
163
166
|
import Typography, { TypographyLink, TypographyParagraph, TypographyText, TypographyTitle } from "./typography/index.js";
|
|
164
167
|
import { DraggerProps } from "./upload/Dragger.js";
|
|
168
|
+
import { UploadRef } from "./upload/Upload.js";
|
|
165
169
|
import Upload, { UploadDragger, UploadProps } from "./upload/index.js";
|
|
166
|
-
import Watermark, { WatermarkProps } from "./watermark/index.js";
|
|
167
|
-
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 AvatarProps, type AvatarSlots, BackTopWithInstall as BackTop, Badge, type BadgeProps, BadgeRibbon, type RibbonProps as BadgeRibbonProps, 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, _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, Card, type CardEmits, CardGrid, type CardGridProps, CardMeta, type CardMetaProps, 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 DescriptionsSlots, DirectoryTree, type DirectoryTreeEmits, type ExpandAction as DirectoryTreeExpandAction, type DirectoryTreeProps, type DirectoryTreeSlots, Divider, type DividerProps, 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 EmptySlots, Flex, type FlexProps, type FlexSlots, FloatButton, FloatButtonGroup, type FloatButtonGroupProps, 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, 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 PaginationConfig, type PaginationEmits, type PaginationLocale, type PaginationPosition, type PaginationProps, 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, 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 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, SelectOptGroup, SelectOption, type SelectProps, type SelectSlots, type SelectValue, SkeletonWithSubComponents as Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonInput, SkeletonNode, type SkeletonProps, Slider, type SliderEmits, type SliderProps, Space, SpaceAddon, SpaceCompact, type SpaceProps, type SpaceSize, type SpaceSlots, _default$11 as Spin, type SpinProps, type SpinSlots, Splitter, type SplitterEmits, SplitterPanel, type SplitterProps, type SplitterSlots, _default$12 as Statistic, type StatisticProps, 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, 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 TransferRender, type TransferSearchEmits, type TransferSearchOption, type TransferSearchProps, type TransferSearchSlots, type TransferSlots, type TransferStylesType, Tree, type DataNode as TreeDataNode, type TreeEmits, type TreeProps, TreeSelect, type TreeSelectEmits, type TreeSelectNode, type TreeSelectProps, type TreeSelectSlots, type TreeSlots, 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 UploadSlots, Watermark, type WatermarkProps, type WeekPickerProps, staticMethods as message, staticMethods$1 as notification, useExportConfig as useConfig, useForm, useFormInstance, useLayoutSider, useMessage, useModal, useNotification };
|
|
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, 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, 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, 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 };
|
package/dist/components.js
CHANGED
|
@@ -90,7 +90,7 @@ import Switch from "./switch/index.js";
|
|
|
90
90
|
import Column from "./table/Column.js";
|
|
91
91
|
import ColumnGroup from "./table/ColumnGroup.js";
|
|
92
92
|
import DirectoryTree from "./tree/DirectoryTree.js";
|
|
93
|
-
import Tree from "./tree/index.js";
|
|
93
|
+
import Tree, { useTree } from "./tree/index.js";
|
|
94
94
|
import InternalTable, { Summary, SummaryCell, SummaryRow } from "./table/index.js";
|
|
95
95
|
import CheckableTag from "./tag/CheckableTag.js";
|
|
96
96
|
import CheckableTagGroup from "./tag/CheckableTagGroup.js";
|
|
@@ -247,7 +247,8 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
247
247
|
useLayoutSider: () => useLayoutSider,
|
|
248
248
|
useMessage: () => useMessage,
|
|
249
249
|
useModal: () => useModal,
|
|
250
|
-
useNotification: () => useNotification
|
|
250
|
+
useNotification: () => useNotification,
|
|
251
|
+
useTree: () => useTree
|
|
251
252
|
});
|
|
252
253
|
//#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, form_default as 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 };
|
|
254
|
+
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_default as 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 };
|