kui-vue 6.0.0 → 6.2.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.en-US.md +21 -1
- package/AI.md +37 -1
- package/ai/behaviors.json +82 -0
- package/ai/evals/README.md +59 -0
- package/ai/evals/cases.json +91 -24
- package/ai/evals/config.json +4 -0
- package/ai/evals/evaluate.mjs +267 -0
- package/ai/evals/run.mjs +118 -0
- package/ai/kui-components.json +7894 -955
- package/ai/kui-components.schema.json +67 -0
- package/ai/mcp.mjs +210 -166
- package/ai/skills/kui-vue/SKILL.md +2 -1
- package/ai/skills/kui-vue/references/mcp.md +12 -12
- package/ai/templates/form.vue +49 -0
- package/ai/templates/index.json +23 -0
- package/ai/templates/modal-editor.vue +59 -0
- package/ai/templates/table.vue +63 -0
- package/ai/validate.mjs +225 -0
- package/dist/index.js +2 -2
- package/es/index.js +2180 -2179
- package/es/locale/de.js +1 -1
- package/es/locale/el.js +1 -1
- package/es/locale/en.js +1 -1
- package/es/locale/fr.js +1 -1
- package/es/locale/it.js +1 -1
- package/es/locale/ja.js +1 -1
- package/es/locale/ko.js +1 -1
- package/es/locale/ru.js +1 -1
- package/es/locale/th.js +1 -1
- package/es/locale/uk.js +1 -1
- package/es/locale/vi.js +1 -1
- package/es/locale/zh-CN.js +1 -1
- package/es/locale/zh-TW.js +1 -1
- package/lib/index.cjs +2 -2
- package/lib/locale/de.cjs +1 -1
- package/lib/locale/el.cjs +1 -1
- package/lib/locale/en.cjs +1 -1
- package/lib/locale/fr.cjs +1 -1
- package/lib/locale/it.cjs +1 -1
- package/lib/locale/ja.cjs +1 -1
- package/lib/locale/ko.cjs +1 -1
- package/lib/locale/ru.cjs +1 -1
- package/lib/locale/th.cjs +1 -1
- package/lib/locale/uk.cjs +1 -1
- package/lib/locale/vi.cjs +1 -1
- package/lib/locale/zh-CN.cjs +1 -1
- package/lib/locale/zh-TW.cjs +1 -1
- package/package.json +37 -31
- 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 +2 -2
- package/types/affix/index.d.ts +5 -5
- package/types/alert/index.d.ts +9 -7
- package/types/anchor/anchor-link.d.ts +4 -4
- package/types/anchor/anchor.d.ts +6 -6
- package/types/anchor/context.d.ts +1 -1
- package/types/anchor/index.d.ts +4 -4
- package/types/auto-complete/index.d.ts +7 -11
- package/types/avatar/avatar-group.d.ts +5 -5
- package/types/avatar/avatar.d.ts +6 -6
- package/types/avatar/context.d.ts +1 -1
- package/types/avatar/index.d.ts +4 -4
- package/types/back-top/index.d.ts +5 -5
- package/types/badge/index.d.ts +6 -6
- package/types/base/transition.d.ts +1 -1
- package/types/breadcrumb/breadcrumb-item.d.ts +6 -6
- package/types/breadcrumb/breadcrumb.d.ts +4 -4
- package/types/breadcrumb/index.d.ts +4 -4
- package/types/button/button-group.d.ts +5 -5
- package/types/button/button.d.ts +4 -4
- package/types/button/index.d.ts +4 -4
- package/types/calendar/index.d.ts +8 -5
- package/types/card/card-meta.d.ts +4 -4
- package/types/card/index.d.ts +8 -8
- package/types/carousel/carousel-item.d.ts +1 -1
- package/types/carousel/carousel.d.ts +20 -7
- package/types/carousel/index.d.ts +3 -3
- package/types/cascader/index.d.ts +41 -32
- package/types/cascader/types.d.ts +7 -3
- package/types/check-card/check-card-group.d.ts +10 -7
- package/types/check-card/check-card.d.ts +21 -8
- package/types/check-card/context.d.ts +3 -3
- package/types/check-card/index.d.ts +5 -5
- package/types/check-card/types.d.ts +2 -2
- package/types/checkbox/checkbox-group.d.ts +20 -7
- package/types/checkbox/checkbox.d.ts +4 -3
- package/types/checkbox/index.d.ts +5 -5
- package/types/collapse/collapse-panel.d.ts +6 -6
- package/types/collapse/collapse.d.ts +7 -7
- package/types/collapse/context.d.ts +1 -1
- package/types/collapse/index.d.ts +4 -4
- package/types/color-picker/alpha.d.ts +10 -6
- package/types/color-picker/hue.d.ts +7 -4
- package/types/color-picker/index.d.ts +34 -20
- package/types/color-picker/mode.d.ts +9 -9
- package/types/color-picker/paint.d.ts +9 -6
- package/types/color-picker/presets.d.ts +7 -7
- package/types/color-picker/types.d.ts +1 -0
- package/types/components.d.ts +166 -161
- package/types/config/context.d.ts +2 -2
- package/types/config/index.d.ts +7 -7
- package/types/config/popup.d.ts +1 -1
- package/types/const/types.d.ts +2 -2
- package/types/date-picker/index.d.ts +49 -19
- package/types/descriptions/descriptions-item.d.ts +5 -5
- package/types/descriptions/descriptions.d.ts +5 -5
- package/types/descriptions/index.d.ts +4 -2
- package/types/directives/outsiteclick.d.ts +1 -1
- package/types/directives/resize.d.ts +1 -1
- package/types/directives/scroll.d.ts +1 -1
- package/types/divider/index.d.ts +5 -5
- package/types/drawer/index.d.ts +24 -11
- package/types/dropdown/dropdown-button.d.ts +7 -7
- package/types/dropdown/dropdown.d.ts +12 -16
- package/types/dropdown/index.d.ts +4 -2
- package/types/dropdown/trigger.d.ts +6 -6
- package/types/empty/index.d.ts +1 -1
- package/types/feature-card/index.d.ts +7 -7
- package/types/feedback-panel/feedback-panel.d.ts +7 -7
- package/types/feedback-panel/index.d.ts +3 -3
- package/types/flame-wrap/index.d.ts +9 -9
- package/types/flex/index.d.ts +7 -7
- package/types/flex/types.d.ts +1 -1
- package/types/form/context.d.ts +3 -3
- package/types/form/form-item.d.ts +6 -6
- package/types/form/form.d.ts +9 -13
- package/types/form/index.d.ts +6 -6
- package/types/global.d.ts +2 -0
- package/types/grid/grid-item.d.ts +2 -2
- package/types/grid/grid.d.ts +3 -3
- package/types/grid/index.d.ts +5 -5
- package/types/grid/useBreakpoint.d.ts +1 -1
- package/types/icon/index.d.ts +8 -8
- package/types/image/context.d.ts +2 -2
- package/types/image/group.d.ts +4 -4
- package/types/image/image.d.ts +7 -7
- package/types/image/index.d.ts +5 -5
- package/types/image/instance.d.ts +11 -4
- package/types/image/preview.d.ts +6 -6
- package/types/index.d.cts +2 -2
- package/types/index.d.ts +2 -2
- package/types/input/index.d.ts +6 -6
- package/types/input/input-box.d.ts +6 -6
- package/types/input/input-group.d.ts +5 -5
- package/types/input/input.d.ts +27 -10
- package/types/input/textarea.d.ts +17 -8
- package/types/input-number/index.d.ts +10 -7
- package/types/input-otp/index.d.ts +3 -3
- package/types/input-otp/input-otp.d.ts +21 -8
- package/types/input-tag/index.d.ts +6 -6
- package/types/kanban/index.d.ts +5 -5
- package/types/layout/index.d.ts +17 -17
- package/types/list-panel/index.d.ts +7 -7
- package/types/mentions/index.d.ts +7 -7
- package/types/menu/index.d.ts +6 -6
- package/types/menu/menu-context.d.ts +4 -2
- package/types/menu/menu-divider.d.ts +1 -1
- package/types/menu/menu-group.d.ts +4 -4
- package/types/menu/menu-item.d.ts +10 -6
- package/types/menu/menu.d.ts +24 -17
- package/types/menu/recursive-menu.d.ts +5 -5
- package/types/menu/sub-menu.d.ts +6 -6
- package/types/menu/types.d.ts +2 -2
- package/types/message/index.d.ts +3 -3
- package/types/modal/index.d.ts +15 -10
- package/types/modal/modal.d.ts +25 -97
- package/types/modal/toast.d.ts +11 -10
- package/types/notice/container.d.ts +3 -3
- package/types/notice/content.d.ts +10 -77
- package/types/notice/index.d.ts +3 -3
- package/types/notice/instance.d.ts +2 -2
- package/types/page/index.d.ts +6 -6
- package/types/page-header/index.d.ts +4 -4
- package/types/popconfirm/index.d.ts +8 -45
- package/types/poptip/index.d.ts +9 -47
- package/types/popup/index.d.ts +251 -0
- package/types/popup/layers.d.ts +9 -0
- package/types/popup/types.d.ts +15 -0
- package/types/progress/index.d.ts +6 -6
- package/types/qrcode/index.d.ts +7 -7
- package/types/radio/index.d.ts +8 -7
- package/types/radio/radio-button.d.ts +8 -8
- package/types/radio/radio-group.d.ts +4 -3
- package/types/radio/radio.d.ts +7 -7
- package/types/radio/types.d.ts +1 -1
- package/types/rate/index.d.ts +7 -7
- package/types/rate/star.d.ts +7 -7
- package/types/result/index.d.ts +3 -3
- package/types/result/result.d.ts +7 -7
- package/types/ripple/index.d.ts +6 -6
- package/types/row-col/col.d.ts +4 -4
- package/types/row-col/index.d.ts +4 -4
- package/types/row-col/row.d.ts +4 -4
- package/types/segmented/index.d.ts +6 -4
- package/types/select/index.d.ts +5 -5
- package/types/select/option.d.ts +13 -14
- package/types/select/select.d.ts +10 -6
- package/types/select/types.d.ts +1 -1
- package/types/skeleton/index.d.ts +10 -10
- package/types/skeleton/skeleton-avatar.d.ts +13 -13
- package/types/skeleton/skeleton-button.d.ts +15 -15
- package/types/skeleton/skeleton-image.d.ts +11 -11
- package/types/skeleton/skeleton-text.d.ts +11 -11
- package/types/skeleton/skeleton.d.ts +15 -15
- package/types/skeleton/types.d.ts +2 -2
- package/types/skeleton/use-skeleton-loading.d.ts +1 -1
- package/types/slider/index.d.ts +8 -3
- package/types/slider/thumb.d.ts +7 -7
- package/types/space/index.d.ts +4 -4
- package/types/spin/index.d.ts +18 -5
- package/types/splitter/index.d.ts +2 -2
- package/types/splitter/splitter-panel.d.ts +4 -4
- package/types/splitter/splitter.d.ts +6 -6
- package/types/stat-card/countup.d.ts +4 -4
- package/types/stat-card/index.d.ts +5 -5
- package/types/stat-card/rollup.d.ts +6 -4
- package/types/stat-card/stat-card.d.ts +7 -7
- package/types/stat-card/stat-number.d.ts +19 -6
- package/types/stat-card/types.d.ts +1 -1
- package/types/stat-card/utils/countup.d.ts +1 -1
- package/types/stat-card/utils/odometer.d.ts +8 -5
- package/types/steps/index.d.ts +8 -8
- package/types/switch/index.d.ts +3 -2
- package/types/table/column-setting.d.ts +7 -7
- package/types/table/index.d.ts +13 -26
- package/types/table/types.d.ts +2 -2
- package/types/table/utils.d.ts +1 -1
- package/types/tabs/index.d.ts +5 -4
- package/types/tabs/tab-panel.d.ts +6 -6
- package/types/tabs/tabs.d.ts +6 -6
- package/types/tabs/types.d.ts +1 -1
- package/types/tag/index.d.ts +9 -7
- package/types/time-line/index.d.ts +5 -5
- package/types/time-line/timeline-item.d.ts +5 -5
- package/types/time-line/timeline.d.ts +6 -6
- package/types/tooltip/index.d.ts +21 -35
- package/types/tour/index.d.ts +34 -23
- package/types/transfer/index.d.ts +18 -5
- package/types/tree/context.d.ts +1 -1
- package/types/tree/index.d.ts +13 -10
- package/types/tree/types.d.ts +1 -1
- package/types/tree/utils.d.ts +1 -1
- package/types/tree-select/index.d.ts +14 -7
- package/types/typography/index.d.ts +26 -17
- package/types/upload/file-list.d.ts +8 -8
- package/types/upload/index.d.ts +9 -22
- package/types/upload/picture-sort.d.ts +2 -0
- package/types/upload/selector.d.ts +9 -9
- package/types/upload/types.d.ts +1 -1
- package/types/utils/checked.d.ts +1 -1
- package/types/utils/model-value.d.ts +10 -0
- package/types/utils/number.d.ts +1 -1
- package/types/utils/placement.d.ts +1 -1
- package/types/utils/popup.d.ts +11 -0
- package/types/utils/selection-tags.d.ts +18 -0
- package/types/utils/vnode.d.ts +3 -3
- package/types/utils/vue.d.ts +7 -1
- package/types/virtual-list/index.d.ts +6 -6
- package/types/watermark/index.d.ts +8 -8
- package/vetur/attributes.json +1717 -781
- package/vetur/tags.json +359 -159
- package/vetur/web-types.json +7563 -6197
- package/types/directives/transfer.d.ts +0 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
2
|
export interface CalendarEventData {
|
|
3
3
|
key: string | number;
|
|
4
4
|
date: string;
|
|
@@ -15,6 +15,7 @@ export interface CalendarDateCell {
|
|
|
15
15
|
}
|
|
16
16
|
declare const calendarProps: {
|
|
17
17
|
modelValue: StringConstructor;
|
|
18
|
+
value: StringConstructor;
|
|
18
19
|
events: {
|
|
19
20
|
type: PropType<CalendarEventData[]>;
|
|
20
21
|
default: () => never[];
|
|
@@ -32,8 +33,9 @@ declare const calendarProps: {
|
|
|
32
33
|
weekdays: PropType<string[]>;
|
|
33
34
|
};
|
|
34
35
|
export type CalendarProps = ExtractPropTypes<typeof calendarProps>;
|
|
35
|
-
declare const Calendar: import(
|
|
36
|
+
declare const Calendar: import("vue").DefineComponent<ExtractPropTypes<{
|
|
36
37
|
modelValue: StringConstructor;
|
|
38
|
+
value: StringConstructor;
|
|
37
39
|
events: {
|
|
38
40
|
type: PropType<CalendarEventData[]>;
|
|
39
41
|
default: () => never[];
|
|
@@ -49,7 +51,7 @@ declare const Calendar: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
49
51
|
};
|
|
50
52
|
todayText: StringConstructor;
|
|
51
53
|
weekdays: PropType<string[]>;
|
|
52
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
54
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
55
|
"update:modelValue": (date: string) => boolean;
|
|
54
56
|
change: (date: string, cell: CalendarDateCell) => boolean;
|
|
55
57
|
monthChange: (value: {
|
|
@@ -57,8 +59,9 @@ declare const Calendar: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
57
59
|
month: number;
|
|
58
60
|
}) => boolean;
|
|
59
61
|
eventClick: (event: CalendarEventData, cell: CalendarDateCell) => boolean;
|
|
60
|
-
}, string, import(
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
61
63
|
modelValue: StringConstructor;
|
|
64
|
+
value: StringConstructor;
|
|
62
65
|
events: {
|
|
63
66
|
type: PropType<CalendarEventData[]>;
|
|
64
67
|
default: () => never[];
|
|
@@ -86,5 +89,5 @@ declare const Calendar: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
86
89
|
events: CalendarEventData[];
|
|
87
90
|
maxEvents: number;
|
|
88
91
|
showToolbar: boolean;
|
|
89
|
-
}, {}, {}, {}, string, import(
|
|
92
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
93
|
export default Calendar;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
2
|
declare const cardMetaProps: {
|
|
3
3
|
avatar: PropType<string | VNodeChild>;
|
|
4
4
|
title: PropType<VNodeChild>;
|
|
5
5
|
description: PropType<VNodeChild>;
|
|
6
6
|
};
|
|
7
7
|
export type CardMetaProps = ExtractPropTypes<typeof cardMetaProps>;
|
|
8
|
-
declare const CardMeta: import(
|
|
8
|
+
declare const CardMeta: import("vue").DefineComponent<ExtractPropTypes<{
|
|
9
9
|
avatar: PropType<string | VNodeChild>;
|
|
10
10
|
title: PropType<VNodeChild>;
|
|
11
11
|
description: PropType<VNodeChild>;
|
|
12
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
12
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
13
13
|
avatar: PropType<string | VNodeChild>;
|
|
14
14
|
title: PropType<VNodeChild>;
|
|
15
15
|
description: PropType<VNodeChild>;
|
|
16
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
16
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
17
|
export default CardMeta;
|
package/types/card/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { BooleanType, SizeType, SurfaceShapeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
4
|
-
import
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { BooleanType, SizeType, SurfaceShapeType, ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
|
+
import CardMeta from "./card-meta";
|
|
5
5
|
export type CardShape = SurfaceShapeType;
|
|
6
6
|
declare const cardProps: {
|
|
7
7
|
bordered: {
|
|
@@ -25,7 +25,7 @@ declare const cardProps: {
|
|
|
25
25
|
cover: PropType<string | VNodeChild>;
|
|
26
26
|
};
|
|
27
27
|
export type CardProps = ExtractPropTypes<typeof cardProps>;
|
|
28
|
-
declare const Card: import(
|
|
28
|
+
declare const Card: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
29
|
bordered: {
|
|
30
30
|
type: BooleanType;
|
|
31
31
|
default: boolean;
|
|
@@ -45,7 +45,7 @@ declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
45
45
|
title: StringConstructor;
|
|
46
46
|
icon: PropType<IconType[]>;
|
|
47
47
|
cover: PropType<string | VNodeChild>;
|
|
48
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
48
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
49
49
|
bordered: {
|
|
50
50
|
type: BooleanType;
|
|
51
51
|
default: boolean;
|
|
@@ -70,7 +70,7 @@ declare const Card: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
70
70
|
theme: ThemeType;
|
|
71
71
|
shape: SurfaceShapeType;
|
|
72
72
|
bordered: boolean | undefined;
|
|
73
|
-
}, {}, {}, {}, string, import(
|
|
74
|
-
export type { CardMetaProps } from
|
|
73
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
export type { CardMetaProps } from "./card-meta";
|
|
75
75
|
export { CardMeta };
|
|
76
76
|
export default Card;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const CarouselItem: import(
|
|
1
|
+
declare const CarouselItem: import("vue").DefineComponent<{}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
2
|
export default CarouselItem;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { BooleanType } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
3
|
declare const carouselProps: {
|
|
4
4
|
modelValue: {
|
|
5
|
+
type: NumberConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
value: {
|
|
5
9
|
type: NumberConstructor;
|
|
6
10
|
default: number;
|
|
7
11
|
};
|
|
@@ -25,8 +29,12 @@ declare const carouselProps: {
|
|
|
25
29
|
};
|
|
26
30
|
};
|
|
27
31
|
export type CarouselProps = ExtractPropTypes<typeof carouselProps>;
|
|
28
|
-
declare const Carousel: import(
|
|
32
|
+
declare const Carousel: import("vue").DefineComponent<ExtractPropTypes<{
|
|
29
33
|
modelValue: {
|
|
34
|
+
type: NumberConstructor;
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
value: {
|
|
30
38
|
type: NumberConstructor;
|
|
31
39
|
default: number;
|
|
32
40
|
};
|
|
@@ -48,11 +56,15 @@ declare const Carousel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
48
56
|
type: BooleanType;
|
|
49
57
|
default: boolean;
|
|
50
58
|
};
|
|
51
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import(
|
|
59
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
52
60
|
"update:modelValue": (value: number) => boolean;
|
|
53
61
|
change: (value: number) => boolean;
|
|
54
|
-
}, string, import(
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
55
63
|
modelValue: {
|
|
64
|
+
type: NumberConstructor;
|
|
65
|
+
default: undefined;
|
|
66
|
+
};
|
|
67
|
+
value: {
|
|
56
68
|
type: NumberConstructor;
|
|
57
69
|
default: number;
|
|
58
70
|
};
|
|
@@ -80,11 +92,12 @@ declare const Carousel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
80
92
|
}>, {
|
|
81
93
|
height: number;
|
|
82
94
|
vertical: boolean;
|
|
95
|
+
value: number;
|
|
83
96
|
modelValue: number;
|
|
84
97
|
loop: boolean | undefined;
|
|
85
98
|
delay: number;
|
|
86
99
|
dots: boolean | undefined;
|
|
87
100
|
}, {}, {}, {
|
|
88
|
-
resize: import(
|
|
89
|
-
}, string, import(
|
|
101
|
+
resize: import("vue").ObjectDirective<any, any, string, any>;
|
|
102
|
+
}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
103
|
export default Carousel;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { CarouselProps } from
|
|
1
|
+
import Carousel from "./carousel";
|
|
2
|
+
import CarouselItem from "./carousel-item";
|
|
3
|
+
export type { CarouselProps } from "./carousel";
|
|
4
4
|
export { Carousel, CarouselItem };
|
|
@@ -1,43 +1,47 @@
|
|
|
1
|
-
import { CascaderOption, CascaderValue } from
|
|
2
|
-
declare const _default: import(
|
|
1
|
+
import { type CascaderOption, type CascaderValue } from "./types";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
3
|
modelValue: {
|
|
4
|
-
type: import(
|
|
4
|
+
type: import("vue").PropType<CascaderValue>;
|
|
5
|
+
default: undefined;
|
|
6
|
+
};
|
|
7
|
+
value: {
|
|
8
|
+
type: import("vue").PropType<CascaderValue>;
|
|
5
9
|
default: () => never[];
|
|
6
10
|
};
|
|
7
11
|
options: {
|
|
8
|
-
type: import(
|
|
12
|
+
type: import("vue").PropType<CascaderOption[]>;
|
|
9
13
|
default: () => never[];
|
|
10
14
|
};
|
|
11
15
|
theme: {
|
|
12
|
-
type: import(
|
|
16
|
+
type: import("vue").PropType<import("..").ThemeType>;
|
|
13
17
|
default: string;
|
|
14
18
|
};
|
|
15
19
|
bordered: {
|
|
16
|
-
type: import(
|
|
20
|
+
type: import("..").BooleanType;
|
|
17
21
|
default: boolean;
|
|
18
22
|
};
|
|
19
|
-
shape: import(
|
|
23
|
+
shape: import("vue").PropType<import("..").ShapeType>;
|
|
20
24
|
showArrow: {
|
|
21
|
-
type: import(
|
|
25
|
+
type: import("..").BooleanType;
|
|
22
26
|
default: boolean;
|
|
23
27
|
};
|
|
24
28
|
placeholder: {
|
|
25
29
|
type: StringConstructor;
|
|
26
30
|
default: string;
|
|
27
31
|
};
|
|
28
|
-
icon: import(
|
|
29
|
-
arrowIcon: import(
|
|
32
|
+
icon: import("vue").PropType<import("..").IconType[]>;
|
|
33
|
+
arrowIcon: import("vue").PropType<import("..").IconType[]>;
|
|
30
34
|
emptyText: StringConstructor;
|
|
31
|
-
loadData: import(
|
|
35
|
+
loadData: import("vue").PropType<import("./types").CascaderLoadData>;
|
|
32
36
|
disabled: BooleanConstructor;
|
|
33
37
|
readonly: BooleanConstructor;
|
|
34
38
|
clearable: {
|
|
35
39
|
type: BooleanConstructor;
|
|
36
40
|
default: boolean;
|
|
37
41
|
};
|
|
38
|
-
size: import(
|
|
42
|
+
size: import("vue").PropType<import("..").SizeType>;
|
|
39
43
|
expandTrigger: {
|
|
40
|
-
type: import(
|
|
44
|
+
type: import("vue").PropType<"click" | "hover">;
|
|
41
45
|
default: string;
|
|
42
46
|
};
|
|
43
47
|
showAllLevels: {
|
|
@@ -49,53 +53,57 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
49
53
|
default: string;
|
|
50
54
|
};
|
|
51
55
|
placement: {
|
|
52
|
-
type: import(
|
|
56
|
+
type: import("vue").PropType<import("..").DropPlacementsType>;
|
|
53
57
|
default: string;
|
|
54
58
|
};
|
|
55
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
59
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
56
60
|
"update:modelValue": (value: CascaderValue) => boolean;
|
|
57
61
|
change: (value: CascaderValue) => boolean;
|
|
58
62
|
openChange: (open: boolean) => boolean;
|
|
59
63
|
expandChange: (value: CascaderValue) => boolean;
|
|
60
|
-
}, string, import(
|
|
64
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
65
|
modelValue: {
|
|
62
|
-
type: import(
|
|
66
|
+
type: import("vue").PropType<CascaderValue>;
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
value: {
|
|
70
|
+
type: import("vue").PropType<CascaderValue>;
|
|
63
71
|
default: () => never[];
|
|
64
72
|
};
|
|
65
73
|
options: {
|
|
66
|
-
type: import(
|
|
74
|
+
type: import("vue").PropType<CascaderOption[]>;
|
|
67
75
|
default: () => never[];
|
|
68
76
|
};
|
|
69
77
|
theme: {
|
|
70
|
-
type: import(
|
|
78
|
+
type: import("vue").PropType<import("..").ThemeType>;
|
|
71
79
|
default: string;
|
|
72
80
|
};
|
|
73
81
|
bordered: {
|
|
74
|
-
type: import(
|
|
82
|
+
type: import("..").BooleanType;
|
|
75
83
|
default: boolean;
|
|
76
84
|
};
|
|
77
|
-
shape: import(
|
|
85
|
+
shape: import("vue").PropType<import("..").ShapeType>;
|
|
78
86
|
showArrow: {
|
|
79
|
-
type: import(
|
|
87
|
+
type: import("..").BooleanType;
|
|
80
88
|
default: boolean;
|
|
81
89
|
};
|
|
82
90
|
placeholder: {
|
|
83
91
|
type: StringConstructor;
|
|
84
92
|
default: string;
|
|
85
93
|
};
|
|
86
|
-
icon: import(
|
|
87
|
-
arrowIcon: import(
|
|
94
|
+
icon: import("vue").PropType<import("..").IconType[]>;
|
|
95
|
+
arrowIcon: import("vue").PropType<import("..").IconType[]>;
|
|
88
96
|
emptyText: StringConstructor;
|
|
89
|
-
loadData: import(
|
|
97
|
+
loadData: import("vue").PropType<import("./types").CascaderLoadData>;
|
|
90
98
|
disabled: BooleanConstructor;
|
|
91
99
|
readonly: BooleanConstructor;
|
|
92
100
|
clearable: {
|
|
93
101
|
type: BooleanConstructor;
|
|
94
102
|
default: boolean;
|
|
95
103
|
};
|
|
96
|
-
size: import(
|
|
104
|
+
size: import("vue").PropType<import("..").SizeType>;
|
|
97
105
|
expandTrigger: {
|
|
98
|
-
type: import(
|
|
106
|
+
type: import("vue").PropType<"click" | "hover">;
|
|
99
107
|
default: string;
|
|
100
108
|
};
|
|
101
109
|
showAllLevels: {
|
|
@@ -107,20 +115,21 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
107
115
|
default: string;
|
|
108
116
|
};
|
|
109
117
|
placement: {
|
|
110
|
-
type: import(
|
|
118
|
+
type: import("vue").PropType<import("..").DropPlacementsType>;
|
|
111
119
|
default: string;
|
|
112
120
|
};
|
|
113
121
|
}>> & Readonly<{
|
|
114
122
|
onChange?: ((value: CascaderValue) => any) | undefined;
|
|
115
|
-
"onUpdate:modelValue"?: ((value: CascaderValue) => any) | undefined;
|
|
116
123
|
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
124
|
+
"onUpdate:modelValue"?: ((value: CascaderValue) => any) | undefined;
|
|
117
125
|
onExpandChange?: ((value: CascaderValue) => any) | undefined;
|
|
118
126
|
}>, {
|
|
119
127
|
separator: string;
|
|
120
128
|
disabled: boolean;
|
|
121
|
-
|
|
129
|
+
placement: import("..").DropPlacementsType;
|
|
130
|
+
theme: import("..").ThemeType;
|
|
131
|
+
value: CascaderValue;
|
|
122
132
|
bordered: boolean | undefined;
|
|
123
|
-
placement: import('..').DropPlacementsType;
|
|
124
133
|
modelValue: CascaderValue;
|
|
125
134
|
readonly: boolean;
|
|
126
135
|
clearable: boolean;
|
|
@@ -129,5 +138,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
129
138
|
showArrow: boolean | undefined;
|
|
130
139
|
expandTrigger: "click" | "hover";
|
|
131
140
|
showAllLevels: boolean;
|
|
132
|
-
}, {}, {}, {}, string, import(
|
|
141
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
133
142
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DropPlacementsType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { IconType } from "../icon";
|
|
4
4
|
export interface CascaderOption {
|
|
5
5
|
value: string | number;
|
|
6
6
|
label: string;
|
|
@@ -12,6 +12,10 @@ export type CascaderValue = Array<string | number>;
|
|
|
12
12
|
export type CascaderLoadData = (option: CascaderOption, path: CascaderOption[]) => Promise<CascaderOption[] | void>;
|
|
13
13
|
export declare const cascaderProps: {
|
|
14
14
|
modelValue: {
|
|
15
|
+
type: PropType<CascaderValue>;
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
value: {
|
|
15
19
|
type: PropType<CascaderValue>;
|
|
16
20
|
default: () => never[];
|
|
17
21
|
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, DirectionType, ShapeType, SizeType } from
|
|
3
|
-
import { CheckCardOption, CheckCardTheme, CheckCardValue } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType, ShapeType, SizeType } from "../const/types";
|
|
3
|
+
import type { CheckCardOption, CheckCardTheme, CheckCardValue } from "./types";
|
|
4
4
|
declare const checkCardGroupProps: {
|
|
5
5
|
modelValue: PropType<CheckCardValue>;
|
|
6
|
+
value: PropType<CheckCardValue>;
|
|
6
7
|
options: PropType<CheckCardOption[]>;
|
|
7
8
|
disabled: BooleanType;
|
|
8
9
|
readonly: BooleanType;
|
|
@@ -24,8 +25,9 @@ declare const checkCardGroupProps: {
|
|
|
24
25
|
};
|
|
25
26
|
};
|
|
26
27
|
export type CheckCardGroupProps = ExtractPropTypes<typeof checkCardGroupProps>;
|
|
27
|
-
declare const _default: import(
|
|
28
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
28
29
|
modelValue: PropType<CheckCardValue>;
|
|
30
|
+
value: PropType<CheckCardValue>;
|
|
29
31
|
options: PropType<CheckCardOption[]>;
|
|
30
32
|
disabled: BooleanType;
|
|
31
33
|
readonly: BooleanType;
|
|
@@ -45,11 +47,12 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
45
47
|
type: PropType<ShapeType>;
|
|
46
48
|
default: string;
|
|
47
49
|
};
|
|
48
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
50
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
49
51
|
"update:modelValue": (value: CheckCardValue) => value is string | number;
|
|
50
52
|
change: (value: CheckCardValue) => value is string | number;
|
|
51
|
-
}, string, import(
|
|
53
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
52
54
|
modelValue: PropType<CheckCardValue>;
|
|
55
|
+
value: PropType<CheckCardValue>;
|
|
53
56
|
options: PropType<CheckCardOption[]>;
|
|
54
57
|
disabled: BooleanType;
|
|
55
58
|
readonly: BooleanType;
|
|
@@ -77,5 +80,5 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
77
80
|
size: SizeType;
|
|
78
81
|
theme: CheckCardTheme;
|
|
79
82
|
shape: ShapeType;
|
|
80
|
-
}, {}, {}, {}, string, import(
|
|
83
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
84
|
export default _default;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, ShapeType, SizeType } from
|
|
3
|
-
import { IconType } from
|
|
4
|
-
import { CheckCardChangeEvent, CheckCardTheme, CheckCardValue } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ShapeType, SizeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
|
+
import type { CheckCardChangeEvent, CheckCardTheme, CheckCardValue } from "./types";
|
|
5
5
|
declare const checkCardProps: {
|
|
6
6
|
modelValue: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: undefined;
|
|
9
|
+
};
|
|
10
|
+
checked: {
|
|
7
11
|
type: BooleanConstructor;
|
|
8
12
|
default: boolean;
|
|
9
13
|
};
|
|
@@ -32,8 +36,12 @@ declare const checkCardProps: {
|
|
|
32
36
|
};
|
|
33
37
|
};
|
|
34
38
|
export type CheckCardProps = ExtractPropTypes<typeof checkCardProps>;
|
|
35
|
-
declare const _default: import(
|
|
39
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
36
40
|
modelValue: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: undefined;
|
|
43
|
+
};
|
|
44
|
+
checked: {
|
|
37
45
|
type: BooleanConstructor;
|
|
38
46
|
default: boolean;
|
|
39
47
|
};
|
|
@@ -60,11 +68,15 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
60
68
|
type: PropType<ShapeType>;
|
|
61
69
|
default: string;
|
|
62
70
|
};
|
|
63
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
71
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
64
72
|
"update:modelValue": (checked: boolean) => boolean;
|
|
65
73
|
change: (event: CheckCardChangeEvent) => boolean;
|
|
66
|
-
}, string, import(
|
|
74
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
67
75
|
modelValue: {
|
|
76
|
+
type: BooleanConstructor;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
checked: {
|
|
68
80
|
type: BooleanConstructor;
|
|
69
81
|
default: boolean;
|
|
70
82
|
};
|
|
@@ -99,6 +111,7 @@ declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
99
111
|
theme: CheckCardTheme;
|
|
100
112
|
shape: ShapeType;
|
|
101
113
|
modelValue: boolean;
|
|
114
|
+
checked: boolean;
|
|
102
115
|
showIndicator: boolean | undefined;
|
|
103
|
-
}, {}, {}, {}, string, import(
|
|
116
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
117
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComputedRef, InjectionKey } from
|
|
2
|
-
import { ShapeType, SizeType } from
|
|
3
|
-
import { CheckCardTheme, CheckCardValue } from
|
|
1
|
+
import type { ComputedRef, InjectionKey } from "vue";
|
|
2
|
+
import type { ShapeType, SizeType } from "../const/types";
|
|
3
|
+
import type { CheckCardTheme, CheckCardValue } from "./types";
|
|
4
4
|
export interface CheckCardRegistryItem {
|
|
5
5
|
element: HTMLElement;
|
|
6
6
|
disabled: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { CheckCardGroupProps } from
|
|
4
|
-
export type { CheckCardProps } from
|
|
5
|
-
export type { CheckCardChangeEvent, CheckCardOption, CheckCardTheme, CheckCardValue, } from
|
|
1
|
+
import CheckCard from "./check-card";
|
|
2
|
+
import CheckCardGroup from "./check-card-group";
|
|
3
|
+
export type { CheckCardGroupProps } from "./check-card-group";
|
|
4
|
+
export type { CheckCardProps } from "./check-card";
|
|
5
|
+
export type { CheckCardChangeEvent, CheckCardOption, CheckCardTheme, CheckCardValue, } from "./types";
|
|
6
6
|
export { CheckCard, CheckCardGroup };
|
|
7
7
|
export default CheckCard;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DirectionType, ShapeType, SizeType } from
|
|
2
|
-
import { IconType } from
|
|
1
|
+
import type { DirectionType, ShapeType, SizeType } from "../const/types";
|
|
2
|
+
import type { IconType } from "../icon";
|
|
3
3
|
export type CheckCardValue = string | number;
|
|
4
4
|
export type CheckCardTheme = "outline" | "fill";
|
|
5
5
|
export interface CheckCardOption {
|
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, DirectionType, SizeType, ThemeType } from
|
|
3
|
-
import { CheckboxOption, CheckboxValue } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { CheckboxOption, CheckboxValue } from "./types";
|
|
4
4
|
declare const checkboxGroupProps: {
|
|
5
5
|
modelValue: {
|
|
6
|
+
type: PropType<CheckboxValue[]>;
|
|
7
|
+
default: undefined;
|
|
8
|
+
};
|
|
9
|
+
value: {
|
|
6
10
|
type: PropType<CheckboxValue[]>;
|
|
7
11
|
default: () => never[];
|
|
8
12
|
};
|
|
@@ -22,8 +26,12 @@ declare const checkboxGroupProps: {
|
|
|
22
26
|
};
|
|
23
27
|
};
|
|
24
28
|
export type CheckboxGroupProps = ExtractPropTypes<typeof checkboxGroupProps>;
|
|
25
|
-
declare const FormCheckboxGroup: import(
|
|
29
|
+
declare const FormCheckboxGroup: import("vue").DefineComponent<ExtractPropTypes<{
|
|
26
30
|
modelValue: {
|
|
31
|
+
type: PropType<CheckboxValue[]>;
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
value: {
|
|
27
35
|
type: PropType<CheckboxValue[]>;
|
|
28
36
|
default: () => never[];
|
|
29
37
|
};
|
|
@@ -41,11 +49,15 @@ declare const FormCheckboxGroup: import('vue').DefineComponent<ExtractPropTypes<
|
|
|
41
49
|
size: {
|
|
42
50
|
type: PropType<SizeType>;
|
|
43
51
|
};
|
|
44
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
52
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
45
53
|
"update:modelValue": (value: CheckboxValue[]) => boolean;
|
|
46
54
|
change: (value: CheckboxValue[]) => boolean;
|
|
47
|
-
}, string, import(
|
|
55
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
48
56
|
modelValue: {
|
|
57
|
+
type: PropType<CheckboxValue[]>;
|
|
58
|
+
default: undefined;
|
|
59
|
+
};
|
|
60
|
+
value: {
|
|
49
61
|
type: PropType<CheckboxValue[]>;
|
|
50
62
|
default: () => never[];
|
|
51
63
|
};
|
|
@@ -69,6 +81,7 @@ declare const FormCheckboxGroup: import('vue').DefineComponent<ExtractPropTypes<
|
|
|
69
81
|
}>, {
|
|
70
82
|
direction: DirectionType;
|
|
71
83
|
theme: ThemeType;
|
|
84
|
+
value: CheckboxValue[];
|
|
72
85
|
modelValue: CheckboxValue[];
|
|
73
|
-
}, {}, {}, {}, string, import(
|
|
86
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
87
|
export default FormCheckboxGroup;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, HTMLAttributes, PropType, VNodeProps } from
|
|
2
|
-
import { BooleanType, SizeType, ThemeType, ValueType } from
|
|
3
|
-
import { CheckboxChangeEvent } from
|
|
1
|
+
import { type ExtractPropTypes, type HTMLAttributes, type PropType, type VNodeProps } from "vue";
|
|
2
|
+
import type { BooleanType, SizeType, ThemeType, ValueType } from "../const/types";
|
|
3
|
+
import type { CheckboxChangeEvent } from "./types";
|
|
4
4
|
declare const checkboxProps: {
|
|
5
5
|
checked: {
|
|
6
6
|
type: BooleanType;
|
|
@@ -39,6 +39,7 @@ type CheckboxModelProps<T extends string | number | boolean> = {
|
|
|
39
39
|
type CheckboxPublicProps = Omit<Partial<CheckboxProps>, "modelValue" | "valueType"> & Omit<HTMLAttributes, "onChange"> & {
|
|
40
40
|
key?: VNodeProps["key"];
|
|
41
41
|
onChange?: (event: CheckboxChangeEvent) => void;
|
|
42
|
+
"onUpdate:checked"?: (checked: boolean) => void;
|
|
42
43
|
};
|
|
43
44
|
type CheckboxComponent = {
|
|
44
45
|
new (props: CheckboxPublicProps & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { CheckboxProps } from
|
|
4
|
-
export type { CheckboxGroupProps } from
|
|
5
|
-
export type { CheckboxChangeEvent as ChangeEvent, CheckboxOption, CheckboxValue } from
|
|
1
|
+
import Checkbox from "./checkbox";
|
|
2
|
+
import CheckboxGroup from "./checkbox-group";
|
|
3
|
+
export type { CheckboxProps } from "./checkbox";
|
|
4
|
+
export type { CheckboxGroupProps } from "./checkbox-group";
|
|
5
|
+
export type { CheckboxChangeEvent, CheckboxChangeEvent as ChangeEvent, CheckboxOption, CheckboxValue, } from "./types";
|
|
6
6
|
export { Checkbox, CheckboxGroup };
|
|
7
7
|
export default Checkbox;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { PropType, ExtractPropTypes, VNodeChild } from
|
|
2
|
-
import { CollapseKey } from
|
|
1
|
+
import { type PropType, type ExtractPropTypes, type VNodeChild } from "vue";
|
|
2
|
+
import { type CollapseKey } from "./context";
|
|
3
3
|
declare const collapsePanelProps: {
|
|
4
4
|
title: PropType<VNodeChild>;
|
|
5
5
|
disabled: BooleanConstructor;
|
|
6
6
|
};
|
|
7
7
|
export type CollapsePanelProps = ExtractPropTypes<typeof collapsePanelProps>;
|
|
8
|
-
declare const CollapsePanel: import(
|
|
8
|
+
declare const CollapsePanel: import("vue").DefineComponent<ExtractPropTypes<{
|
|
9
9
|
title: PropType<VNodeChild>;
|
|
10
10
|
disabled: BooleanConstructor;
|
|
11
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
11
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
12
|
expand: (key: CollapseKey) => key is string | number;
|
|
13
|
-
}, string, import(
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
14
14
|
title: PropType<VNodeChild>;
|
|
15
15
|
disabled: BooleanConstructor;
|
|
16
16
|
}>> & Readonly<{
|
|
17
17
|
onExpand?: ((key: CollapseKey) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
disabled: boolean;
|
|
20
|
-
}, {}, {}, {}, string, import(
|
|
20
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
21
|
export default CollapsePanel;
|