kui-vue 5.7.0 → 5.8.0
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/ai/evals/cases.json +18 -0
- package/ai/kui-components.json +1071 -107
- package/ai/kui-components.schema.json +33 -0
- package/dist/index.js +2 -2
- package/es/index.js +533 -26
- package/es/locale/de.js +6 -2
- package/es/locale/el.js +6 -2
- package/es/locale/en.js +6 -2
- package/es/locale/fr.js +6 -2
- package/es/locale/it.js +6 -2
- package/es/locale/ja.js +6 -2
- package/es/locale/ko.js +6 -2
- package/es/locale/ru.js +6 -2
- package/es/locale/th.js +6 -2
- package/es/locale/uk.js +6 -2
- package/es/locale/vi.js +6 -2
- package/es/locale/zh-CN.js +6 -2
- package/es/locale/zh-TW.js +6 -2
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +2 -2
- package/lib/locale/el.cjs +2 -2
- package/lib/locale/en.cjs +2 -2
- package/lib/locale/fr.cjs +2 -2
- package/lib/locale/it.cjs +2 -2
- package/lib/locale/ja.cjs +2 -2
- package/lib/locale/ko.cjs +2 -2
- package/lib/locale/ru.cjs +2 -2
- package/lib/locale/th.cjs +2 -2
- package/lib/locale/uk.cjs +2 -2
- package/lib/locale/vi.cjs +2 -2
- package/lib/locale/zh-CN.cjs +2 -2
- package/lib/locale/zh-TW.cjs +2 -2
- package/package.json +4 -2
- package/style/base.css +1 -1
- package/style/components.css +2 -2
- package/style/index.css +2 -2
- package/style/motion.css +1 -1
- package/style/theme.css +1 -1
- package/types/calendar/index.d.ts +97 -0
- package/types/components.d.ts +10 -2
- package/types/feature-card/index.d.ts +46 -3
- package/types/global.d.ts +9 -0
- package/types/kanban/index.d.ts +137 -0
- package/types/list-panel/index.d.ts +78 -0
- package/types/locale/de.d.cts +2 -0
- package/types/locale/de.d.ts +2 -0
- package/types/locale/el.d.cts +2 -0
- package/types/locale/el.d.ts +2 -0
- package/types/locale/en.d.cts +2 -0
- package/types/locale/en.d.ts +2 -0
- package/types/locale/fr.d.cts +2 -0
- package/types/locale/fr.d.ts +2 -0
- package/types/locale/it.d.cts +2 -0
- package/types/locale/it.d.ts +2 -0
- package/types/locale/ja.d.cts +2 -0
- package/types/locale/ja.d.ts +2 -0
- package/types/locale/ko.d.cts +2 -0
- package/types/locale/ko.d.ts +2 -0
- package/types/locale/ru.d.cts +2 -0
- package/types/locale/ru.d.ts +2 -0
- package/types/locale/th.d.cts +2 -0
- package/types/locale/th.d.ts +2 -0
- package/types/locale/uk.d.cts +2 -0
- package/types/locale/uk.d.ts +2 -0
- package/types/locale/vi.d.cts +2 -0
- package/types/locale/vi.d.ts +2 -0
- package/types/locale/zh-CN.d.cts +2 -0
- package/types/locale/zh-CN.d.ts +2 -0
- package/types/locale/zh-TW.d.cts +2 -0
- package/types/locale/zh-TW.d.ts +2 -0
- package/types/page-header/index.d.ts +14 -0
- package/types/table/column-setting.d.ts +75 -0
- package/types/table/index.d.ts +15 -0
- package/vetur/attributes.json +380 -32
- package/vetur/tags.json +125 -4
- package/vetur/web-types.json +710 -38
package/es/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* kui-vue v5.
|
|
2
|
+
* kui-vue v5.8.0
|
|
3
3
|
* Copyright 2017-present, kui-vue.
|
|
4
4
|
* All rights reserved.
|
|
5
5
|
* Homepage: https://k-ui.cn
|
|
@@ -2961,6 +2961,178 @@ var Card = /* @__PURE__ */ defineComponent({
|
|
|
2961
2961
|
}
|
|
2962
2962
|
});
|
|
2963
2963
|
//#endregion
|
|
2964
|
+
//#region components/calendar/index.tsx
|
|
2965
|
+
var calendarProps = {
|
|
2966
|
+
modelValue: String,
|
|
2967
|
+
events: {
|
|
2968
|
+
type: Array,
|
|
2969
|
+
default: () => []
|
|
2970
|
+
},
|
|
2971
|
+
firstDayOfWeek: Number,
|
|
2972
|
+
maxEvents: {
|
|
2973
|
+
type: Number,
|
|
2974
|
+
default: 3
|
|
2975
|
+
},
|
|
2976
|
+
showToolbar: {
|
|
2977
|
+
type: Boolean,
|
|
2978
|
+
default: true
|
|
2979
|
+
},
|
|
2980
|
+
todayText: String,
|
|
2981
|
+
weekdays: Array,
|
|
2982
|
+
onChange: Function,
|
|
2983
|
+
onMonthChange: Function,
|
|
2984
|
+
onEventClick: Function
|
|
2985
|
+
};
|
|
2986
|
+
var pad = (value) => String(value).padStart(2, "0");
|
|
2987
|
+
var dateKey = (date) => `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
|
|
2988
|
+
var parseDate = (value) => {
|
|
2989
|
+
if (value && /^\d{4}-\d{2}-\d{2}$/.test(value)) {
|
|
2990
|
+
const [year, month, day] = value.split("-").map(Number);
|
|
2991
|
+
return new Date(year, month - 1, day);
|
|
2992
|
+
}
|
|
2993
|
+
return /* @__PURE__ */ new Date();
|
|
2994
|
+
};
|
|
2995
|
+
var Calendar = /* @__PURE__ */ defineComponent({
|
|
2996
|
+
name: "Calendar",
|
|
2997
|
+
props: calendarProps,
|
|
2998
|
+
emits: [
|
|
2999
|
+
"update:modelValue",
|
|
3000
|
+
"change",
|
|
3001
|
+
"monthChange",
|
|
3002
|
+
"eventClick"
|
|
3003
|
+
],
|
|
3004
|
+
setup(props, { attrs, emit, slots }) {
|
|
3005
|
+
const injectedLocale = inject("locale", zh_CN_default);
|
|
3006
|
+
const locale = computed(() => isRef(injectedLocale) ? injectedLocale.value : injectedLocale);
|
|
3007
|
+
const localeName = computed(() => locale.value.name || "zh-cn");
|
|
3008
|
+
const resolvedFirstDay = computed(() => {
|
|
3009
|
+
if (props.firstDayOfWeek !== void 0) return Math.min(6, Math.max(0, props.firstDayOfWeek));
|
|
3010
|
+
try {
|
|
3011
|
+
const firstDay = new Intl.Locale(localeName.value).weekInfo?.firstDay;
|
|
3012
|
+
if (firstDay) return firstDay % 7;
|
|
3013
|
+
} catch {}
|
|
3014
|
+
return /^en(?:-|$)/i.test(localeName.value) ? 0 : 1;
|
|
3015
|
+
});
|
|
3016
|
+
const localizedWeekdays = computed(() => Array.from({ length: 7 }, (_, index) => new Intl.DateTimeFormat(localeName.value, { weekday: "short" }).format(new Date(2021, 7, 1 + index))));
|
|
3017
|
+
const weekdayLabels = computed(() => props.weekdays?.length === 7 ? props.weekdays : localizedWeekdays.value);
|
|
3018
|
+
const resolvedTodayText = computed(() => props.todayText || locale.value.k.datePicker.today || "Today");
|
|
3019
|
+
const monthTitle = computed(() => new Intl.DateTimeFormat(localeName.value, {
|
|
3020
|
+
year: "numeric",
|
|
3021
|
+
month: "long"
|
|
3022
|
+
}).format(new Date(viewYear.value, viewMonth.value, 1)));
|
|
3023
|
+
const initial = parseDate(props.modelValue);
|
|
3024
|
+
const viewYear = ref(initial.getFullYear());
|
|
3025
|
+
const viewMonth = ref(initial.getMonth());
|
|
3026
|
+
const today = dateKey(/* @__PURE__ */ new Date());
|
|
3027
|
+
watch(() => props.modelValue, (value) => {
|
|
3028
|
+
if (!value) return;
|
|
3029
|
+
const date = parseDate(value);
|
|
3030
|
+
viewYear.value = date.getFullYear();
|
|
3031
|
+
viewMonth.value = date.getMonth();
|
|
3032
|
+
});
|
|
3033
|
+
const orderedWeekdays = computed(() => Array.from({ length: 7 }, (_, index) => weekdayLabels.value[(resolvedFirstDay.value + index) % 7]));
|
|
3034
|
+
const cells = computed(() => {
|
|
3035
|
+
const offset = (new Date(viewYear.value, viewMonth.value, 1).getDay() - resolvedFirstDay.value + 7) % 7;
|
|
3036
|
+
const start = new Date(viewYear.value, viewMonth.value, 1 - offset);
|
|
3037
|
+
return Array.from({ length: 42 }, (_, index) => {
|
|
3038
|
+
const date = new Date(start);
|
|
3039
|
+
date.setDate(start.getDate() + index);
|
|
3040
|
+
const key = dateKey(date);
|
|
3041
|
+
return {
|
|
3042
|
+
date: key,
|
|
3043
|
+
day: date.getDate(),
|
|
3044
|
+
currentMonth: date.getMonth() === viewMonth.value,
|
|
3045
|
+
events: props.events.filter((event) => event.date === key)
|
|
3046
|
+
};
|
|
3047
|
+
});
|
|
3048
|
+
});
|
|
3049
|
+
const select = (cell) => {
|
|
3050
|
+
emit("update:modelValue", cell.date);
|
|
3051
|
+
emit("change", cell.date, cell);
|
|
3052
|
+
};
|
|
3053
|
+
const changeMonth = (offset) => {
|
|
3054
|
+
const date = new Date(viewYear.value, viewMonth.value + offset, 1);
|
|
3055
|
+
viewYear.value = date.getFullYear();
|
|
3056
|
+
viewMonth.value = date.getMonth();
|
|
3057
|
+
emit("monthChange", {
|
|
3058
|
+
year: viewYear.value,
|
|
3059
|
+
month: viewMonth.value + 1
|
|
3060
|
+
});
|
|
3061
|
+
};
|
|
3062
|
+
const goToday = () => {
|
|
3063
|
+
const date = /* @__PURE__ */ new Date();
|
|
3064
|
+
viewYear.value = date.getFullYear();
|
|
3065
|
+
viewMonth.value = date.getMonth();
|
|
3066
|
+
const cell = {
|
|
3067
|
+
date: today,
|
|
3068
|
+
day: date.getDate(),
|
|
3069
|
+
currentMonth: true,
|
|
3070
|
+
events: props.events.filter((event) => event.date === today)
|
|
3071
|
+
};
|
|
3072
|
+
emit("update:modelValue", today);
|
|
3073
|
+
emit("change", today, cell);
|
|
3074
|
+
emit("monthChange", {
|
|
3075
|
+
year: viewYear.value,
|
|
3076
|
+
month: viewMonth.value + 1
|
|
3077
|
+
});
|
|
3078
|
+
};
|
|
3079
|
+
return () => {
|
|
3080
|
+
const { class: customClass, ...restAttrs } = attrs;
|
|
3081
|
+
return createVNode("div", mergeProps(restAttrs, { "class": ["k-calendar", customClass] }), [
|
|
3082
|
+
props.showToolbar && createVNode("div", { "class": "k-calendar-toolbar" }, [
|
|
3083
|
+
createVNode(ButtonGroup, null, { default: () => [
|
|
3084
|
+
createVNode(Button, {
|
|
3085
|
+
"icon": ChevronLeft,
|
|
3086
|
+
"onClick": () => changeMonth(-1)
|
|
3087
|
+
}, null),
|
|
3088
|
+
createVNode(Button, { "onClick": goToday }, { default: () => [resolvedTodayText.value] }),
|
|
3089
|
+
createVNode(Button, {
|
|
3090
|
+
"icon": ChevronRight,
|
|
3091
|
+
"onClick": () => changeMonth(1)
|
|
3092
|
+
}, null)
|
|
3093
|
+
] }),
|
|
3094
|
+
createVNode("div", { "class": "k-calendar-title" }, [slots.title?.({
|
|
3095
|
+
year: viewYear.value,
|
|
3096
|
+
month: viewMonth.value + 1
|
|
3097
|
+
}) || monthTitle.value]),
|
|
3098
|
+
createVNode("div", { "class": "k-calendar-extra" }, [slots.extra?.()])
|
|
3099
|
+
]),
|
|
3100
|
+
createVNode("div", { "class": "k-calendar-weekdays" }, [orderedWeekdays.value.map((day) => createVNode("span", null, [day]))]),
|
|
3101
|
+
createVNode("div", { "class": "k-calendar-grid" }, [cells.value.map((cell) => createVNode("div", {
|
|
3102
|
+
"data-date": cell.date,
|
|
3103
|
+
"class": ["k-calendar-cell", {
|
|
3104
|
+
"k-calendar-cell-outside": !cell.currentMonth,
|
|
3105
|
+
"k-calendar-cell-today": cell.date === today,
|
|
3106
|
+
"k-calendar-cell-selected": cell.date === props.modelValue
|
|
3107
|
+
}],
|
|
3108
|
+
"role": "button",
|
|
3109
|
+
"tabindex": 0,
|
|
3110
|
+
"onClick": () => select(cell),
|
|
3111
|
+
"onKeydown": (event) => event.key === "Enter" && select(cell)
|
|
3112
|
+
}, [slots.dateCell?.(cell) || createVNode("span", { "class": "k-calendar-date" }, [cell.day]), createVNode("div", { "class": "k-calendar-events" }, [cell.events.slice(0, props.maxEvents).map((event) => slots.event?.({
|
|
3113
|
+
event,
|
|
3114
|
+
cell
|
|
3115
|
+
}) || createVNode("button", {
|
|
3116
|
+
"type": "button",
|
|
3117
|
+
"class": "k-calendar-event",
|
|
3118
|
+
"style": { "--k-calendar-event-color": event.color },
|
|
3119
|
+
"onClick": (e) => {
|
|
3120
|
+
e.stopPropagation();
|
|
3121
|
+
emit("eventClick", event, cell);
|
|
3122
|
+
}
|
|
3123
|
+
}, [
|
|
3124
|
+
createVNode("i", null, null),
|
|
3125
|
+
event.time && createVNode("em", null, [event.time]),
|
|
3126
|
+
createVNode("span", null, [event.title])
|
|
3127
|
+
])), cell.events.length > props.maxEvents && createVNode("small", null, [slots.more?.({
|
|
3128
|
+
count: cell.events.length - props.maxEvents,
|
|
3129
|
+
cell
|
|
3130
|
+
}) || `+${cell.events.length - props.maxEvents}`])])]))])
|
|
3131
|
+
]);
|
|
3132
|
+
};
|
|
3133
|
+
}
|
|
3134
|
+
});
|
|
3135
|
+
//#endregion
|
|
2964
3136
|
//#region components/feature-card/index.tsx
|
|
2965
3137
|
var FeatureCard = /* @__PURE__ */ defineComponent({
|
|
2966
3138
|
name: "FeatureCard",
|
|
@@ -2979,20 +3151,69 @@ var FeatureCard = /* @__PURE__ */ defineComponent({
|
|
|
2979
3151
|
shape: {
|
|
2980
3152
|
type: String,
|
|
2981
3153
|
default: "round"
|
|
2982
|
-
}
|
|
3154
|
+
},
|
|
3155
|
+
size: {
|
|
3156
|
+
type: String,
|
|
3157
|
+
default: "medium"
|
|
3158
|
+
},
|
|
3159
|
+
direction: {
|
|
3160
|
+
type: String,
|
|
3161
|
+
default: "horizontal"
|
|
3162
|
+
},
|
|
3163
|
+
clickable: Boolean,
|
|
3164
|
+
disabled: Boolean,
|
|
3165
|
+
color: String,
|
|
3166
|
+
iconBackground: String,
|
|
3167
|
+
onClick: Function
|
|
2983
3168
|
},
|
|
2984
|
-
|
|
3169
|
+
emits: ["click"],
|
|
3170
|
+
setup(props, { attrs, emit, slots }) {
|
|
3171
|
+
const handleClick = (event) => {
|
|
3172
|
+
if (props.disabled) {
|
|
3173
|
+
event.preventDefault();
|
|
3174
|
+
return;
|
|
3175
|
+
}
|
|
3176
|
+
emit("click", event);
|
|
3177
|
+
};
|
|
3178
|
+
const handleKeydown = (event) => {
|
|
3179
|
+
if (!props.clickable || props.disabled || !["Enter", " "].includes(event.key)) return;
|
|
3180
|
+
event.preventDefault();
|
|
3181
|
+
event.currentTarget.click();
|
|
3182
|
+
};
|
|
2985
3183
|
return () => {
|
|
2986
|
-
const { class: customClass, ...restAttrs } = attrs;
|
|
2987
|
-
return createVNode("div", mergeProps(restAttrs, {
|
|
2988
|
-
"
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
3184
|
+
const { class: customClass, style: customStyle, ...restAttrs } = attrs;
|
|
3185
|
+
return createVNode("div", mergeProps(restAttrs, {
|
|
3186
|
+
"class": [
|
|
3187
|
+
"k-feature-card",
|
|
3188
|
+
customClass,
|
|
3189
|
+
{
|
|
3190
|
+
"k-feature-card-bordered": props.bordered,
|
|
3191
|
+
[`k-feature-card-${props.theme}`]: props.theme,
|
|
3192
|
+
[`k-feature-card-${props.shape}`]: props.shape,
|
|
3193
|
+
[`k-feature-card-${props.size}`]: props.size,
|
|
3194
|
+
[`k-feature-card-${props.direction}`]: props.direction,
|
|
3195
|
+
"k-feature-card-clickable": props.clickable,
|
|
3196
|
+
"k-feature-card-disabled": props.disabled
|
|
3197
|
+
}
|
|
3198
|
+
],
|
|
3199
|
+
"style": [{
|
|
3200
|
+
"--k-feature-card-color": props.color,
|
|
3201
|
+
"--k-feature-card-icon-bg": props.iconBackground
|
|
3202
|
+
}, customStyle],
|
|
3203
|
+
"role": props.clickable ? "button" : void 0,
|
|
3204
|
+
"tabindex": props.clickable && !props.disabled ? 0 : void 0,
|
|
3205
|
+
"aria-disabled": props.clickable && props.disabled ? "true" : void 0,
|
|
3206
|
+
"onClick": handleClick,
|
|
3207
|
+
"onKeydown": handleKeydown
|
|
3208
|
+
}), [
|
|
3209
|
+
(props.icon || slots.icon) && createVNode("div", { "class": "k-feature-card-icon" }, [slots.icon?.() || createVNode(Icon, { "type": props.icon }, null)]),
|
|
3210
|
+
createVNode("div", { "class": "k-feature-card-content" }, [
|
|
3211
|
+
(props.title || slots.title) && createVNode("div", { "class": "k-feature-card-title" }, [slots.title?.() || props.title]),
|
|
3212
|
+
(props.desc || slots.desc) && createVNode("div", { "class": "k-feature-card-desc" }, [slots.desc?.() || props.desc]),
|
|
3213
|
+
slots.default?.()
|
|
3214
|
+
]),
|
|
3215
|
+
slots.extra && createVNode("div", { "class": "k-feature-card-extra" }, [slots.extra()])
|
|
3216
|
+
]);
|
|
2996
3217
|
};
|
|
2997
3218
|
}
|
|
2998
3219
|
});
|
|
@@ -3717,6 +3938,53 @@ var FlameWrap = /* @__PURE__ */ defineComponent({
|
|
|
3717
3938
|
}
|
|
3718
3939
|
});
|
|
3719
3940
|
//#endregion
|
|
3941
|
+
//#region components/list-panel/index.tsx
|
|
3942
|
+
var ListPanel = /* @__PURE__ */ defineComponent({
|
|
3943
|
+
name: "ListPanel",
|
|
3944
|
+
props: {
|
|
3945
|
+
summary: [String, Number],
|
|
3946
|
+
bordered: {
|
|
3947
|
+
type: Boolean,
|
|
3948
|
+
default: false
|
|
3949
|
+
},
|
|
3950
|
+
theme: {
|
|
3951
|
+
type: String,
|
|
3952
|
+
default: "outline"
|
|
3953
|
+
},
|
|
3954
|
+
shape: {
|
|
3955
|
+
type: String,
|
|
3956
|
+
default: "round"
|
|
3957
|
+
},
|
|
3958
|
+
size: {
|
|
3959
|
+
type: String,
|
|
3960
|
+
default: "medium"
|
|
3961
|
+
},
|
|
3962
|
+
selectedCount: {
|
|
3963
|
+
type: Number,
|
|
3964
|
+
default: 0
|
|
3965
|
+
}
|
|
3966
|
+
},
|
|
3967
|
+
setup(props, { attrs, slots }) {
|
|
3968
|
+
return () => {
|
|
3969
|
+
const { class: customClass, ...restAttrs } = attrs;
|
|
3970
|
+
const hasSummary = props.summary !== void 0 || Boolean(slots.summary);
|
|
3971
|
+
const hasSelection = props.selectedCount > 0 && Boolean(slots.selection);
|
|
3972
|
+
const hasToolbar = Boolean(slots.filters || slots.actions || hasSummary || hasSelection);
|
|
3973
|
+
return createVNode(Card, mergeProps(restAttrs, {
|
|
3974
|
+
"class": ["k-list-panel", customClass],
|
|
3975
|
+
"bordered": props.bordered,
|
|
3976
|
+
"theme": props.theme,
|
|
3977
|
+
"shape": props.shape,
|
|
3978
|
+
"size": props.size
|
|
3979
|
+
}), { default: () => [
|
|
3980
|
+
hasToolbar && createVNode("div", { "class": ["k-list-panel-toolbar", { "k-list-panel-toolbar-selection": hasSelection }] }, [hasSelection ? createVNode("div", { "class": "k-list-panel-selection" }, [slots.selection?.({ count: props.selectedCount })]) : createVNode(Fragment, null, [slots.filters && createVNode("div", { "class": "k-list-panel-filters" }, [slots.filters()]), (hasSummary || slots.actions) && createVNode("div", { "class": "k-list-panel-toolbar-extra" }, [hasSummary && createVNode("div", { "class": "k-list-panel-summary" }, [slots.summary?.() || String(props.summary ?? "")]), slots.actions?.()])])]),
|
|
3981
|
+
createVNode("div", { "class": "k-list-panel-content" }, [slots.default?.()]),
|
|
3982
|
+
slots.footer && createVNode("div", { "class": "k-list-panel-footer" }, [slots.footer()])
|
|
3983
|
+
] });
|
|
3984
|
+
};
|
|
3985
|
+
}
|
|
3986
|
+
});
|
|
3987
|
+
//#endregion
|
|
3720
3988
|
//#region components/directives/resize.ts
|
|
3721
3989
|
var resize = {
|
|
3722
3990
|
mounted(_, { value }) {
|
|
@@ -6991,10 +7259,11 @@ var Space = /* @__PURE__ */ defineComponent({
|
|
|
6991
7259
|
const vNodes = [];
|
|
6992
7260
|
for (let i = 0; i < children.length; i++) {
|
|
6993
7261
|
const pre = props.vertical ? "vertical-" : "";
|
|
7262
|
+
const grouped = children.length > 1;
|
|
6994
7263
|
const p = { class: {
|
|
6995
|
-
[`k-space-${pre}first-item`]: i === 0,
|
|
7264
|
+
[`k-space-${pre}first-item`]: grouped && i === 0,
|
|
6996
7265
|
[`k-space-${pre}item`]: i > 0 && i < children.length - 1,
|
|
6997
|
-
[`k-space-${pre}last-item`]: i === children.length - 1
|
|
7266
|
+
[`k-space-${pre}last-item`]: grouped && i === children.length - 1
|
|
6998
7267
|
} };
|
|
6999
7268
|
if (typeof size === "string") p.size = size;
|
|
7000
7269
|
const child = props.compact ? cloneVNode(children[i], p, true, true) : h("div", p, [children[i]]);
|
|
@@ -12505,11 +12774,19 @@ var Sider = /* @__PURE__ */ defineComponent({
|
|
|
12505
12774
|
onBeforeUnmount(() => {
|
|
12506
12775
|
collectSider?.(false);
|
|
12507
12776
|
});
|
|
12508
|
-
const
|
|
12509
|
-
|
|
12777
|
+
const siderStyle = computed(() => {
|
|
12778
|
+
const siderWidth = props.collapsible && props.collapsed ? props.collapsedWidth : props.width;
|
|
12779
|
+
const width = typeof siderWidth === "number" ? `${siderWidth}px` : siderWidth;
|
|
12780
|
+
return {
|
|
12781
|
+
width,
|
|
12782
|
+
flex: `0 0 ${width}`,
|
|
12783
|
+
maxWidth: width,
|
|
12784
|
+
minWidth: width
|
|
12785
|
+
};
|
|
12786
|
+
});
|
|
12510
12787
|
return () => createVNode("aside", {
|
|
12511
12788
|
"class": `k-${props.suffixCls}`,
|
|
12512
|
-
"style": siderStyle
|
|
12789
|
+
"style": siderStyle.value
|
|
12513
12790
|
}, [slots.default?.()]);
|
|
12514
12791
|
}
|
|
12515
12792
|
});
|
|
@@ -12712,6 +12989,7 @@ var SubMenu = /* @__PURE__ */ defineComponent({
|
|
|
12712
12989
|
const top = ref(0);
|
|
12713
12990
|
const left = ref(0);
|
|
12714
12991
|
const minWidth = ref("");
|
|
12992
|
+
const popupPositioned = ref(false);
|
|
12715
12993
|
const key = getCurrentInstance()?.vnode.key;
|
|
12716
12994
|
const dropdownContext = inject(DropdownContextKey, null);
|
|
12717
12995
|
const menuContext = inject(MenuContextKey, null);
|
|
@@ -12752,6 +13030,7 @@ var SubMenu = /* @__PURE__ */ defineComponent({
|
|
|
12752
13030
|
});
|
|
12753
13031
|
};
|
|
12754
13032
|
const updatePosition = () => {
|
|
13033
|
+
popupPositioned.value = false;
|
|
12755
13034
|
if (menuContext?.mode == "horizontal" && subMenuContext?.keyPath.length || menuContext?.mode == "vertical" || menuContext?.mode == "inline" && menuContext?.inlineCollapsed) currentPlacement.value = "right-top";
|
|
12756
13035
|
nextTick(() => {
|
|
12757
13036
|
setPlacement({
|
|
@@ -12763,6 +13042,7 @@ var SubMenu = /* @__PURE__ */ defineComponent({
|
|
|
12763
13042
|
left,
|
|
12764
13043
|
offset: 8
|
|
12765
13044
|
});
|
|
13045
|
+
popupPositioned.value = true;
|
|
12766
13046
|
});
|
|
12767
13047
|
};
|
|
12768
13048
|
const usePopup = () => menuContext?.mode === "horizontal" || menuContext?.mode === "vertical" || menuContext?.popupInlineCollapsed;
|
|
@@ -12779,7 +13059,8 @@ var SubMenu = /* @__PURE__ */ defineComponent({
|
|
|
12779
13059
|
minWidth: menuContext?.mode == "horizontal" ? minWidth.value : null,
|
|
12780
13060
|
top: top.value + "px",
|
|
12781
13061
|
left: leftValue + "px",
|
|
12782
|
-
transformOrigin: transOrigin.value
|
|
13062
|
+
transformOrigin: transOrigin.value,
|
|
13063
|
+
visibility: popup && !popupPositioned.value ? "hidden" : void 0
|
|
12783
13064
|
},
|
|
12784
13065
|
onMouseenter: () => {
|
|
12785
13066
|
clearCurrentPopTimer();
|
|
@@ -12803,6 +13084,9 @@ var SubMenu = /* @__PURE__ */ defineComponent({
|
|
|
12803
13084
|
"disabled": !popup
|
|
12804
13085
|
}, { default: () => [createVNode(Transition, transitionProps, { default: () => [withDirectives(createVNode("div", containerProps, [createVNode("div", { "class": popup ? `k-${preCls}-sub` : void 0 }, [createVNode("ul", { "class": `k-menu k-menu-${popup ? "vertical" : menuContext?.mode}` }, [slots.default?.()])])]), [[vShow, opened]])] })] });
|
|
12805
13086
|
};
|
|
13087
|
+
watch(() => menuContext?.popupInlineCollapsed, (popup) => {
|
|
13088
|
+
if (popup) popupPositioned.value = false;
|
|
13089
|
+
});
|
|
12806
13090
|
return () => {
|
|
12807
13091
|
const selected = menuContext?.selectedKeys.includes(key) && !menuContext?.dropdown;
|
|
12808
13092
|
const opened = menuContext?.openKeys.includes(key);
|
|
@@ -14379,6 +14663,25 @@ var Page = /* @__PURE__ */ defineComponent({
|
|
|
14379
14663
|
}
|
|
14380
14664
|
});
|
|
14381
14665
|
//#endregion
|
|
14666
|
+
//#region components/page-header/index.tsx
|
|
14667
|
+
var PageHeader = /* @__PURE__ */ defineComponent({
|
|
14668
|
+
name: "PageHeader",
|
|
14669
|
+
props: {
|
|
14670
|
+
title: String,
|
|
14671
|
+
description: String
|
|
14672
|
+
},
|
|
14673
|
+
setup(props, { attrs, slots }) {
|
|
14674
|
+
return () => {
|
|
14675
|
+
const { class: customClass, ...restAttrs } = attrs;
|
|
14676
|
+
return createVNode("header", mergeProps(restAttrs, { "class": ["k-page-header", customClass] }), [createVNode("div", { "class": "k-page-header-main" }, [
|
|
14677
|
+
slots.breadcrumb?.(),
|
|
14678
|
+
createVNode("div", { "class": "k-page-header-heading" }, [slots.back?.(), createVNode("div", { "class": "k-page-header-copy" }, [(props.title || slots.title) && createVNode("div", { "class": "k-page-header-title" }, [slots.title?.() || props.title]), (props.description || slots.description) && createVNode("div", { "class": "k-page-header-description" }, [slots.description?.() || props.description])])]),
|
|
14679
|
+
slots.default?.()
|
|
14680
|
+
]), slots.actions && createVNode("div", { "class": "k-page-header-actions" }, [slots.actions()])]);
|
|
14681
|
+
};
|
|
14682
|
+
}
|
|
14683
|
+
});
|
|
14684
|
+
//#endregion
|
|
14382
14685
|
//#region components/poptip/index.tsx
|
|
14383
14686
|
var poptipProps = {
|
|
14384
14687
|
dark: Boolean,
|
|
@@ -19797,6 +20100,78 @@ var flattenTreeData = ({ data, childrenColumnName, expandedKeys, getKey, sortRec
|
|
|
19797
20100
|
return rows;
|
|
19798
20101
|
};
|
|
19799
20102
|
//#endregion
|
|
20103
|
+
//#region components/table/column-setting.tsx
|
|
20104
|
+
var TableColumnSetting = /* @__PURE__ */ defineComponent({
|
|
20105
|
+
name: "TableColumnSetting",
|
|
20106
|
+
props: {
|
|
20107
|
+
columns: {
|
|
20108
|
+
type: Array,
|
|
20109
|
+
default: () => []
|
|
20110
|
+
},
|
|
20111
|
+
hiddenKeys: {
|
|
20112
|
+
type: Array,
|
|
20113
|
+
default: () => []
|
|
20114
|
+
},
|
|
20115
|
+
disabledKeys: {
|
|
20116
|
+
type: Array,
|
|
20117
|
+
default: () => []
|
|
20118
|
+
},
|
|
20119
|
+
title: String,
|
|
20120
|
+
resetText: String,
|
|
20121
|
+
size: String,
|
|
20122
|
+
showReset: {
|
|
20123
|
+
type: Boolean,
|
|
20124
|
+
default: true
|
|
20125
|
+
}
|
|
20126
|
+
},
|
|
20127
|
+
emits: ["update:hiddenKeys", "change"],
|
|
20128
|
+
setup(props, { emit, slots }) {
|
|
20129
|
+
const injectedLocale = inject("locale", zh_CN_default);
|
|
20130
|
+
const locale = computed(() => "value" in injectedLocale ? injectedLocale.value : injectedLocale);
|
|
20131
|
+
const title = computed(() => props.title || locale.value.k.table.columnSettings || "Column settings");
|
|
20132
|
+
const resetText = computed(() => props.resetText || locale.value.k.table.resetColumns || "Reset");
|
|
20133
|
+
const leafColumns = computed(() => {
|
|
20134
|
+
const result = [];
|
|
20135
|
+
const collect = (columns) => columns.forEach((column) => column.children?.length ? collect(column.children) : result.push(column));
|
|
20136
|
+
collect(props.columns);
|
|
20137
|
+
return result;
|
|
20138
|
+
});
|
|
20139
|
+
const configurableColumns = computed(() => leafColumns.value.filter((column) => !props.disabledKeys.includes(column.key)));
|
|
20140
|
+
const visibleKeys = computed(() => configurableColumns.value.map((column) => column.key).filter((key) => !props.hiddenKeys.includes(key)));
|
|
20141
|
+
const options = computed(() => configurableColumns.value.map((column) => ({
|
|
20142
|
+
label: column.title,
|
|
20143
|
+
value: column.key
|
|
20144
|
+
})));
|
|
20145
|
+
const update = (values) => {
|
|
20146
|
+
const selected = new Set(values.map(String));
|
|
20147
|
+
const configurable = new Set(configurableColumns.value.map((column) => column.key));
|
|
20148
|
+
const next = [...props.hiddenKeys.filter((key) => !configurable.has(key)), ...configurableColumns.value.map((column) => column.key).filter((key) => !selected.has(key))];
|
|
20149
|
+
emit("update:hiddenKeys", next);
|
|
20150
|
+
emit("change", next);
|
|
20151
|
+
};
|
|
20152
|
+
const reset = () => update(configurableColumns.value.map((column) => column.key));
|
|
20153
|
+
return () => createVNode(Poptip, {
|
|
20154
|
+
"trigger": "click",
|
|
20155
|
+
"placement": "bottom-right",
|
|
20156
|
+
"title": title.value
|
|
20157
|
+
}, {
|
|
20158
|
+
default: () => slots.default?.() || createVNode(Button, { "size": props.size }, { default: () => [title.value] }),
|
|
20159
|
+
content: () => createVNode("div", { "class": "k-table-column-setting" }, [createVNode(CheckboxGroup, {
|
|
20160
|
+
"modelValue": visibleKeys.value,
|
|
20161
|
+
"options": options.value,
|
|
20162
|
+
"direction": "vertical",
|
|
20163
|
+
"size": props.size,
|
|
20164
|
+
"onChange": update
|
|
20165
|
+
}, null), props.showReset && createVNode(Button, {
|
|
20166
|
+
"class": "k-table-column-setting-reset",
|
|
20167
|
+
"theme": "plain",
|
|
20168
|
+
"size": "small",
|
|
20169
|
+
"onClick": reset
|
|
20170
|
+
}, { default: () => [resetText.value] })])
|
|
20171
|
+
});
|
|
20172
|
+
}
|
|
20173
|
+
});
|
|
20174
|
+
//#endregion
|
|
19800
20175
|
//#region components/table/index.tsx
|
|
19801
20176
|
var Table = /* @__PURE__ */ defineComponent({
|
|
19802
20177
|
name: "Table",
|
|
@@ -19809,6 +20184,10 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
19809
20184
|
type: Array,
|
|
19810
20185
|
default: () => []
|
|
19811
20186
|
},
|
|
20187
|
+
hiddenColumnKeys: {
|
|
20188
|
+
type: Array,
|
|
20189
|
+
default: () => []
|
|
20190
|
+
},
|
|
19812
20191
|
selectedKeys: {
|
|
19813
20192
|
type: Array,
|
|
19814
20193
|
default: () => []
|
|
@@ -19887,7 +20266,19 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
19887
20266
|
watch(() => props.selectedKeys, (val) => {
|
|
19888
20267
|
innerSelectedKeys.value = new Set(val);
|
|
19889
20268
|
});
|
|
19890
|
-
const
|
|
20269
|
+
const visibleColumns = computed(() => {
|
|
20270
|
+
const filter = (columns) => columns.flatMap((column) => {
|
|
20271
|
+
if (props.hiddenColumnKeys.includes(column.key)) return [];
|
|
20272
|
+
if (!column.children?.length) return [column];
|
|
20273
|
+
const children = filter(column.children);
|
|
20274
|
+
return children.length ? [{
|
|
20275
|
+
...column,
|
|
20276
|
+
children
|
|
20277
|
+
}] : [];
|
|
20278
|
+
});
|
|
20279
|
+
return filter(props.columns);
|
|
20280
|
+
});
|
|
20281
|
+
const flattedColumns = computed(() => flattenColumns(visibleColumns.value));
|
|
19891
20282
|
const headerRows = computed(() => {
|
|
19892
20283
|
const rows = [];
|
|
19893
20284
|
let maxDepth = 0;
|
|
@@ -19897,7 +20288,7 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
19897
20288
|
else maxDepth = Math.max(maxDepth, depth + 1);
|
|
19898
20289
|
});
|
|
19899
20290
|
};
|
|
19900
|
-
getDepth(
|
|
20291
|
+
getDepth(visibleColumns.value);
|
|
19901
20292
|
const traverse = (cols, depth) => {
|
|
19902
20293
|
if (!rows[depth]) rows[depth] = [];
|
|
19903
20294
|
cols.forEach((col) => {
|
|
@@ -19910,7 +20301,7 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
19910
20301
|
rows[depth].push(cell);
|
|
19911
20302
|
});
|
|
19912
20303
|
};
|
|
19913
|
-
traverse(
|
|
20304
|
+
traverse(visibleColumns.value, 0);
|
|
19914
20305
|
return {
|
|
19915
20306
|
rows,
|
|
19916
20307
|
maxDepth
|
|
@@ -20292,8 +20683,8 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
20292
20683
|
]);
|
|
20293
20684
|
const renderTable = (isHeader, isBody) => {
|
|
20294
20685
|
const tableStyle = {
|
|
20295
|
-
width:
|
|
20296
|
-
minWidth:
|
|
20686
|
+
width: "100%",
|
|
20687
|
+
minWidth: (typeof props.scroll.x === "number" ? `${props.scroll.x}px` : props.scroll.x) || "100%",
|
|
20297
20688
|
tableLayout: "fixed"
|
|
20298
20689
|
};
|
|
20299
20690
|
return createVNode("table", { "style": tableStyle }, [
|
|
@@ -20313,7 +20704,7 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
20313
20704
|
"k-table-ping-right": pingRight.value,
|
|
20314
20705
|
"k-table-virtual": virtualEnabled.value
|
|
20315
20706
|
}];
|
|
20316
|
-
const isEmpty = !visibleTreeRows.value.length || !
|
|
20707
|
+
const isEmpty = !visibleTreeRows.value.length || !visibleColumns.value.length;
|
|
20317
20708
|
const splitHeader = isSplit.value && createVNode("div", {
|
|
20318
20709
|
"class": "k-table-thead",
|
|
20319
20710
|
"ref": headerWrapperRef,
|
|
@@ -20339,6 +20730,117 @@ var Table = /* @__PURE__ */ defineComponent({
|
|
|
20339
20730
|
};
|
|
20340
20731
|
}
|
|
20341
20732
|
});
|
|
20733
|
+
//#endregion
|
|
20734
|
+
//#region components/kanban/index.tsx
|
|
20735
|
+
var Kanban = /* @__PURE__ */ defineComponent({
|
|
20736
|
+
name: "Kanban",
|
|
20737
|
+
props: {
|
|
20738
|
+
columns: {
|
|
20739
|
+
type: Array,
|
|
20740
|
+
default: () => []
|
|
20741
|
+
},
|
|
20742
|
+
data: {
|
|
20743
|
+
type: Array,
|
|
20744
|
+
default: () => []
|
|
20745
|
+
},
|
|
20746
|
+
rowKey: {
|
|
20747
|
+
type: String,
|
|
20748
|
+
default: "id"
|
|
20749
|
+
},
|
|
20750
|
+
statusKey: {
|
|
20751
|
+
type: String,
|
|
20752
|
+
default: "status"
|
|
20753
|
+
},
|
|
20754
|
+
draggable: {
|
|
20755
|
+
type: Boolean,
|
|
20756
|
+
default: true
|
|
20757
|
+
},
|
|
20758
|
+
emptyText: {
|
|
20759
|
+
type: String,
|
|
20760
|
+
default: "暂无数据"
|
|
20761
|
+
},
|
|
20762
|
+
minColumnWidth: {
|
|
20763
|
+
type: [Number, String],
|
|
20764
|
+
default: 250
|
|
20765
|
+
},
|
|
20766
|
+
theme: {
|
|
20767
|
+
type: String,
|
|
20768
|
+
default: "fill"
|
|
20769
|
+
},
|
|
20770
|
+
onMove: Function,
|
|
20771
|
+
onItemClick: Function
|
|
20772
|
+
},
|
|
20773
|
+
emits: ["move", "itemClick"],
|
|
20774
|
+
setup(props, { attrs, emit, slots }) {
|
|
20775
|
+
const draggingKey = ref();
|
|
20776
|
+
const dragOverKey = ref();
|
|
20777
|
+
const grouped = computed(() => Object.fromEntries(props.columns.map((column) => [column.key, props.data.filter((item) => item[props.statusKey] === column.key)])));
|
|
20778
|
+
const clear = () => {
|
|
20779
|
+
draggingKey.value = void 0;
|
|
20780
|
+
dragOverKey.value = void 0;
|
|
20781
|
+
};
|
|
20782
|
+
const drop = (column) => {
|
|
20783
|
+
const item = props.data.find((entry) => entry[props.rowKey] === draggingKey.value);
|
|
20784
|
+
if (item && item[props.statusKey] !== column.key) emit("move", {
|
|
20785
|
+
item,
|
|
20786
|
+
from: item[props.statusKey],
|
|
20787
|
+
to: column.key
|
|
20788
|
+
});
|
|
20789
|
+
clear();
|
|
20790
|
+
};
|
|
20791
|
+
return () => {
|
|
20792
|
+
const width = typeof props.minColumnWidth === "number" ? `${props.minColumnWidth}px` : props.minColumnWidth;
|
|
20793
|
+
const { class: customClass, style: customStyle, ...restAttrs } = attrs;
|
|
20794
|
+
return createVNode("div", mergeProps(restAttrs, {
|
|
20795
|
+
"class": [
|
|
20796
|
+
"k-kanban",
|
|
20797
|
+
`k-kanban-${props.theme}`,
|
|
20798
|
+
customClass
|
|
20799
|
+
],
|
|
20800
|
+
"style": [{
|
|
20801
|
+
"--k-kanban-column-width": width,
|
|
20802
|
+
"--k-kanban-columns": props.columns.length
|
|
20803
|
+
}, customStyle]
|
|
20804
|
+
}), [props.columns.map((column) => {
|
|
20805
|
+
const items = grouped.value[column.key] || [];
|
|
20806
|
+
return createVNode("section", {
|
|
20807
|
+
"class": ["k-kanban-column", { "k-kanban-column-drag-over": dragOverKey.value === column.key }],
|
|
20808
|
+
"onDragover": (event) => {
|
|
20809
|
+
if (!props.draggable) return;
|
|
20810
|
+
event.preventDefault();
|
|
20811
|
+
dragOverKey.value = column.key;
|
|
20812
|
+
},
|
|
20813
|
+
"onDragleave": () => dragOverKey.value = void 0,
|
|
20814
|
+
"onDrop": () => drop(column)
|
|
20815
|
+
}, [
|
|
20816
|
+
createVNode("header", { "class": "k-kanban-column-header" }, [slots.columnTitle?.({
|
|
20817
|
+
column,
|
|
20818
|
+
items
|
|
20819
|
+
}) || createVNode(Fragment, null, [
|
|
20820
|
+
createVNode("i", { "style": { background: column.color } }, null),
|
|
20821
|
+
createVNode("strong", null, [column.title]),
|
|
20822
|
+
createVNode("em", null, [items.length])
|
|
20823
|
+
])]),
|
|
20824
|
+
createVNode("div", { "class": "k-kanban-column-content" }, [items.map((item, index) => createVNode("div", {
|
|
20825
|
+
"class": "k-kanban-item",
|
|
20826
|
+
"draggable": props.draggable,
|
|
20827
|
+
"onDragstart": () => draggingKey.value = item[props.rowKey],
|
|
20828
|
+
"onDragend": clear,
|
|
20829
|
+
"onClick": () => emit("itemClick", item, column)
|
|
20830
|
+
}, [slots.item?.({
|
|
20831
|
+
item,
|
|
20832
|
+
column,
|
|
20833
|
+
index
|
|
20834
|
+
})])), !items.length && (slots.empty?.({ column }) || createVNode(Empty, { "description": props.emptyText }, null))]),
|
|
20835
|
+
slots.footer && createVNode("footer", { "class": "k-kanban-column-footer" }, [slots.footer({
|
|
20836
|
+
column,
|
|
20837
|
+
items
|
|
20838
|
+
})])
|
|
20839
|
+
]);
|
|
20840
|
+
})]);
|
|
20841
|
+
};
|
|
20842
|
+
}
|
|
20843
|
+
});
|
|
20342
20844
|
var tour_default = /* @__PURE__ */ defineComponent({
|
|
20343
20845
|
name: "Tour",
|
|
20344
20846
|
props: {
|
|
@@ -22960,6 +23462,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
22960
23462
|
BreadcrumbItem: () => BreadcrumbItem,
|
|
22961
23463
|
Button: () => Button,
|
|
22962
23464
|
ButtonGroup: () => ButtonGroup,
|
|
23465
|
+
Calendar: () => Calendar,
|
|
22963
23466
|
Card: () => Card,
|
|
22964
23467
|
CardMeta: () => CardMeta,
|
|
22965
23468
|
Carousel: () => Carousel,
|
|
@@ -23003,7 +23506,9 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
23003
23506
|
InputNumber: () => InputNumber,
|
|
23004
23507
|
InputOTP: () => input_otp_default,
|
|
23005
23508
|
InputTag: () => input_tag_default,
|
|
23509
|
+
Kanban: () => Kanban,
|
|
23006
23510
|
Layout: () => Layout,
|
|
23511
|
+
ListPanel: () => ListPanel,
|
|
23007
23512
|
Mentions: () => mentions_default,
|
|
23008
23513
|
Menu: () => Menu,
|
|
23009
23514
|
MenuDivider: () => MenuDivider,
|
|
@@ -23015,6 +23520,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
23015
23520
|
NoticePanel: () => NoticePanel,
|
|
23016
23521
|
Option: () => Option,
|
|
23017
23522
|
Page: () => Page,
|
|
23523
|
+
PageHeader: () => PageHeader,
|
|
23018
23524
|
Popconfirm: () => Popconfirm,
|
|
23019
23525
|
PopconfirmPanel: () => PopconfirmPanel,
|
|
23020
23526
|
Poptip: () => Poptip,
|
|
@@ -23048,6 +23554,7 @@ var components_exports = /* @__PURE__ */ __exportAll({
|
|
|
23048
23554
|
Switch: () => Switch,
|
|
23049
23555
|
TabPanel: () => TabPanel,
|
|
23050
23556
|
Table: () => Table,
|
|
23557
|
+
TableColumnSetting: () => TableColumnSetting,
|
|
23051
23558
|
Tabs: () => Tabs,
|
|
23052
23559
|
Tag: () => Tag,
|
|
23053
23560
|
TextArea: () => TextArea,
|
|
@@ -23103,4 +23610,4 @@ var UI = {
|
|
|
23103
23610
|
var install = UI.install;
|
|
23104
23611
|
var version = UI.version;
|
|
23105
23612
|
//#endregion
|
|
23106
|
-
export { Affix, Alert, Anchor, AnchorLink, auto_complete_default as AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Card, CardMeta, Carousel, CarouselItem, Cascader, CheckCard, CheckCardGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapsePanel, ColorPicker, ColorPickerPanel, ConfigProvider, Content, DatePicker, DatePickerPanel, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, FeatureCard, feedback_panel_default as FeedbackPanel, FlameWrap, Flex, Footer, Form, FormItem, Grid, GridItem, Header, Icon, Image$1 as Image, ImageGroup, Input, InputGroup, InputNumber, input_otp_default as InputOTP, input_tag_default as InputTag, Layout, mentions_default as Mentions, Menu, MenuDivider, MenuGroup, MenuItem, MessagePanel, modal_default as Modal, ModalPanel, NoticePanel, Option, Page, Popconfirm, PopconfirmPanel, Poptip, PoptipPanel, Progress, QRCode, Radio, RadioButton, RadioGroup, Rate, result_default as Result, Ripple, Row, Select, Sider, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, Slider, Space, Spin, Splitter, SplitterPanel, StatCard, StatNumber, Step, steps_default as Steps, SubMenu, Switch, TabPanel, Table, Tabs, Tag, TextArea, TimeLine, TimeLineItem, Tooltip, TooltipPanel, tour_default as Tour, transfer_default as Transfer, Tree, TreeSelect, Typography, TypographyParagraph, TypographyText, TypographyTitle, Upload, VirtualList, Watermark, UI as default, install, loading, message, modal, notice, Theme as theme, version };
|
|
23613
|
+
export { Affix, Alert, Anchor, AnchorLink, auto_complete_default as AutoComplete, Avatar, AvatarGroup, BackTop, Badge, Breadcrumb, BreadcrumbItem, Button, ButtonGroup, Calendar, Card, CardMeta, Carousel, CarouselItem, Cascader, CheckCard, CheckCardGroup, Checkbox, CheckboxGroup, Col, Collapse, CollapsePanel, ColorPicker, ColorPickerPanel, ConfigProvider, Content, DatePicker, DatePickerPanel, Descriptions, DescriptionsItem, Divider, Drawer, Dropdown, DropdownButton, Empty, FeatureCard, feedback_panel_default as FeedbackPanel, FlameWrap, Flex, Footer, Form, FormItem, Grid, GridItem, Header, Icon, Image$1 as Image, ImageGroup, Input, InputGroup, InputNumber, input_otp_default as InputOTP, input_tag_default as InputTag, Kanban, Layout, ListPanel, mentions_default as Mentions, Menu, MenuDivider, MenuGroup, MenuItem, MessagePanel, modal_default as Modal, ModalPanel, NoticePanel, Option, Page, PageHeader, Popconfirm, PopconfirmPanel, Poptip, PoptipPanel, Progress, QRCode, Radio, RadioButton, RadioGroup, Rate, result_default as Result, Ripple, Row, Select, Sider, Skeleton, SkeletonAvatar, SkeletonButton, SkeletonImage, SkeletonText, Slider, Space, Spin, Splitter, SplitterPanel, StatCard, StatNumber, Step, steps_default as Steps, SubMenu, Switch, TabPanel, Table, TableColumnSetting, Tabs, Tag, TextArea, TimeLine, TimeLineItem, Tooltip, TooltipPanel, tour_default as Tour, transfer_default as Transfer, Tree, TreeSelect, Typography, TypographyParagraph, TypographyText, TypographyTitle, Upload, VirtualList, Watermark, UI as default, install, loading, message, modal, notice, Theme as theme, version };
|