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,6 @@
|
|
|
1
|
-
import { DescriptionsColumn, DescriptionsProps
|
|
2
|
-
import
|
|
1
|
+
import type { DescriptionsColumn, DescriptionsProps } from "./descriptions";
|
|
2
|
+
import Descriptions from "./descriptions";
|
|
3
|
+
import type { DescriptionsItemProps } from "./descriptions-item";
|
|
4
|
+
import DescriptionsItem from "./descriptions-item";
|
|
3
5
|
export { Descriptions, DescriptionsItem };
|
|
4
6
|
export type { DescriptionsColumn, DescriptionsItemProps, DescriptionsProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ObjectDirective } from
|
|
1
|
+
import type { ObjectDirective } from "vue";
|
|
2
2
|
export declare const clickOutside: ObjectDirective;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ObjectDirective } from
|
|
1
|
+
import type { ObjectDirective } from "vue";
|
|
2
2
|
export declare const scroll: ObjectDirective;
|
package/types/divider/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, DirectionType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType } from "../const/types";
|
|
3
3
|
declare const dividerProps: {
|
|
4
4
|
type: {
|
|
5
5
|
type: PropType<DirectionType>;
|
|
@@ -13,7 +13,7 @@ declare const dividerProps: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export type DividerProps = ExtractPropTypes<typeof dividerProps>;
|
|
16
|
-
declare const Divider: import(
|
|
16
|
+
declare const Divider: import("vue").DefineComponent<ExtractPropTypes<{
|
|
17
17
|
type: {
|
|
18
18
|
type: PropType<DirectionType>;
|
|
19
19
|
default: string;
|
|
@@ -24,7 +24,7 @@ declare const Divider: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
24
24
|
type: PropType<"left" | "right" | "center">;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
27
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
28
28
|
type: {
|
|
29
29
|
type: PropType<DirectionType>;
|
|
30
30
|
default: string;
|
|
@@ -38,5 +38,5 @@ declare const Divider: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
38
38
|
}>> & Readonly<{}>, {
|
|
39
39
|
type: DirectionType;
|
|
40
40
|
orientation: "left" | "right" | "center";
|
|
41
|
-
}, {}, {}, {}, string, import(
|
|
41
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default Divider;
|
package/types/drawer/index.d.ts
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import { ComponentPublicInstance, ExtractPropTypes, PropType } from
|
|
2
|
-
import { DrawerPlacementsType } from
|
|
1
|
+
import { type ComponentPublicInstance, type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { DrawerPlacementsType } from "../const/types";
|
|
3
3
|
declare const drawerProps: {
|
|
4
|
-
modelValue:
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: undefined;
|
|
7
|
+
};
|
|
8
|
+
value: BooleanConstructor;
|
|
5
9
|
title: {
|
|
6
10
|
type: StringConstructor;
|
|
7
11
|
default: string;
|
|
@@ -49,8 +53,12 @@ declare const drawerProps: {
|
|
|
49
53
|
};
|
|
50
54
|
};
|
|
51
55
|
export type DrawerProps = ExtractPropTypes<typeof drawerProps>;
|
|
52
|
-
declare const Drawer: import(
|
|
53
|
-
modelValue:
|
|
56
|
+
declare const Drawer: import("vue").DefineComponent<ExtractPropTypes<{
|
|
57
|
+
modelValue: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
value: BooleanConstructor;
|
|
54
62
|
title: {
|
|
55
63
|
type: StringConstructor;
|
|
56
64
|
default: string;
|
|
@@ -96,14 +104,18 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
96
104
|
type: BooleanConstructor;
|
|
97
105
|
default: boolean;
|
|
98
106
|
};
|
|
99
|
-
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import(
|
|
107
|
+
}>, () => import("vue/jsx-runtime").JSX.Element | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
100
108
|
"update:modelValue": (visible: boolean) => boolean;
|
|
101
109
|
openChange: (visible: boolean) => boolean;
|
|
102
110
|
ok: () => true;
|
|
103
111
|
cancel: () => true;
|
|
104
112
|
close: () => true;
|
|
105
|
-
}, string, import(
|
|
106
|
-
modelValue:
|
|
113
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
114
|
+
modelValue: {
|
|
115
|
+
type: BooleanConstructor;
|
|
116
|
+
default: undefined;
|
|
117
|
+
};
|
|
118
|
+
value: BooleanConstructor;
|
|
107
119
|
title: {
|
|
108
120
|
type: StringConstructor;
|
|
109
121
|
default: string;
|
|
@@ -152,8 +164,8 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
152
164
|
}>> & Readonly<{
|
|
153
165
|
onCancel?: (() => any) | undefined;
|
|
154
166
|
onClose?: (() => any) | undefined;
|
|
155
|
-
"onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
|
|
156
167
|
onOpenChange?: ((visible: boolean) => any) | undefined;
|
|
168
|
+
"onUpdate:modelValue"?: ((visible: boolean) => any) | undefined;
|
|
157
169
|
onOk?: (() => any) | undefined;
|
|
158
170
|
}>, {
|
|
159
171
|
height: string | number;
|
|
@@ -162,10 +174,11 @@ declare const Drawer: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
162
174
|
footer: boolean;
|
|
163
175
|
title: string;
|
|
164
176
|
loading: boolean;
|
|
165
|
-
closable: boolean;
|
|
166
177
|
placement: DrawerPlacementsType;
|
|
178
|
+
value: boolean;
|
|
179
|
+
closable: boolean;
|
|
167
180
|
modelValue: boolean;
|
|
168
181
|
maskClosable: boolean;
|
|
169
182
|
escKey: boolean;
|
|
170
|
-
}, {}, {}, {}, string, import(
|
|
183
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
171
184
|
export default Drawer;
|
|
@@ -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, type PropType } from "vue";
|
|
2
|
+
import { type BooleanType, type DropPlacementsType, type ShapeType, type SizeType, type ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const dropdownButtonProps: {
|
|
5
5
|
size: PropType<SizeType>;
|
|
6
6
|
shape: PropType<ShapeType>;
|
|
@@ -14,7 +14,7 @@ declare const dropdownButtonProps: {
|
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
export type DropdownButtonProps = ExtractPropTypes<typeof dropdownButtonProps>;
|
|
17
|
-
declare const DropdownButton: import(
|
|
17
|
+
declare const DropdownButton: import("vue").DefineComponent<ExtractPropTypes<{
|
|
18
18
|
size: PropType<SizeType>;
|
|
19
19
|
shape: PropType<ShapeType>;
|
|
20
20
|
disabled: BooleanType;
|
|
@@ -25,9 +25,9 @@ declare const DropdownButton: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
25
25
|
type: PropType<DropPlacementsType>;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
28
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
29
29
|
click: (event: MouseEvent) => boolean;
|
|
30
|
-
}, string, import(
|
|
30
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
31
31
|
size: PropType<SizeType>;
|
|
32
32
|
shape: PropType<ShapeType>;
|
|
33
33
|
disabled: BooleanType;
|
|
@@ -42,5 +42,5 @@ declare const DropdownButton: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
42
42
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
43
43
|
}>, {
|
|
44
44
|
placement: DropPlacementsType;
|
|
45
|
-
}, {}, {}, {}, string, import(
|
|
45
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
46
46
|
export default DropdownButton;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComponentPublicInstance, ExtractPropTypes, PropType, Ref } from
|
|
2
|
-
import { BooleanType, DropPlacementsType, TriggerType } from
|
|
1
|
+
import { type ComponentPublicInstance, type ExtractPropTypes, type PropType, type Ref } from "vue";
|
|
2
|
+
import type { BooleanType, DropPlacementsType, TriggerType } from "../const/types";
|
|
3
3
|
declare const dropdownProps: {
|
|
4
4
|
trigger: {
|
|
5
5
|
type: PropType<TriggerType>;
|
|
@@ -18,7 +18,7 @@ declare const dropdownProps: {
|
|
|
18
18
|
target: PropType<Ref<HTMLElement | ComponentPublicInstance | null>>;
|
|
19
19
|
};
|
|
20
20
|
export type DropdownProps = ExtractPropTypes<typeof dropdownProps>;
|
|
21
|
-
declare const
|
|
21
|
+
declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
|
22
22
|
trigger: {
|
|
23
23
|
type: PropType<TriggerType>;
|
|
24
24
|
default: string;
|
|
@@ -34,12 +34,10 @@ declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
36
|
target: PropType<Ref<HTMLElement | ComponentPublicInstance | null>>;
|
|
37
|
-
}>, () => import(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
openChange: null;
|
|
42
|
-
}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
37
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:show": (show: boolean) => boolean;
|
|
39
|
+
openChange: (open: boolean) => boolean;
|
|
40
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
43
41
|
trigger: {
|
|
44
42
|
type: PropType<TriggerType>;
|
|
45
43
|
default: string;
|
|
@@ -56,13 +54,11 @@ declare const Dropdown: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
56
54
|
};
|
|
57
55
|
target: PropType<Ref<HTMLElement | ComponentPublicInstance | null>>;
|
|
58
56
|
}>> & Readonly<{
|
|
59
|
-
|
|
60
|
-
|
|
57
|
+
onOpenChange?: ((open: boolean) => any) | undefined;
|
|
58
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
61
59
|
}>, {
|
|
62
|
-
placement: DropPlacementsType;
|
|
63
60
|
trigger: TriggerType;
|
|
61
|
+
placement: DropPlacementsType;
|
|
64
62
|
arrow: boolean | undefined;
|
|
65
|
-
}, {}, {}, {
|
|
66
|
-
|
|
67
|
-
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
68
|
-
export default Dropdown;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
64
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { DropdownProps
|
|
2
|
-
import
|
|
1
|
+
import type { DropdownProps } from "./dropdown";
|
|
2
|
+
import Dropdown from "./dropdown";
|
|
3
|
+
import type { DropdownButtonProps } from "./dropdown-button";
|
|
4
|
+
import DropdownButton from "./dropdown-button";
|
|
3
5
|
export { Dropdown, DropdownButton };
|
|
4
6
|
export type { DropdownButtonProps, DropdownProps };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PropType } from
|
|
2
|
-
import { BooleanType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
4
|
-
declare const _default: import(
|
|
1
|
+
import { type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
5
|
icon: PropType<IconType[]>;
|
|
6
6
|
disabled: BooleanType;
|
|
7
7
|
theme: PropType<ThemeType>;
|
|
8
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
8
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
icon: PropType<IconType[]>;
|
|
10
10
|
disabled: BooleanType;
|
|
11
11
|
theme: PropType<ThemeType>;
|
|
12
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
12
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
package/types/empty/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from
|
|
1
|
+
import { type CSSProperties, type DefineComponent, type ExtractPropTypes, type HTMLAttributes, type PropType } from "vue";
|
|
2
2
|
declare const emptyProps: {
|
|
3
3
|
description: {
|
|
4
4
|
type: (BooleanConstructor | StringConstructor)[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, SizeType, SurfaceShapeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType } from "vue";
|
|
2
|
+
import type { BooleanType, SizeType, SurfaceShapeType, ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const featureCardProps: {
|
|
5
5
|
icon: PropType<IconType[]>;
|
|
6
6
|
title: StringConstructor;
|
|
@@ -31,7 +31,7 @@ declare const featureCardProps: {
|
|
|
31
31
|
iconBackground: StringConstructor;
|
|
32
32
|
};
|
|
33
33
|
export type FeatureCardProps = ExtractPropTypes<typeof featureCardProps>;
|
|
34
|
-
declare const FeatureCard: import(
|
|
34
|
+
declare const FeatureCard: import("vue").DefineComponent<ExtractPropTypes<{
|
|
35
35
|
icon: PropType<IconType[]>;
|
|
36
36
|
title: StringConstructor;
|
|
37
37
|
desc: StringConstructor;
|
|
@@ -59,9 +59,9 @@ declare const FeatureCard: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
59
59
|
disabled: BooleanType;
|
|
60
60
|
color: StringConstructor;
|
|
61
61
|
iconBackground: StringConstructor;
|
|
62
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
62
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
63
63
|
click: (event: MouseEvent) => boolean;
|
|
64
|
-
}, string, import(
|
|
64
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
65
65
|
icon: PropType<IconType[]>;
|
|
66
66
|
title: StringConstructor;
|
|
67
67
|
desc: StringConstructor;
|
|
@@ -97,5 +97,5 @@ declare const FeatureCard: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
97
97
|
theme: ThemeType;
|
|
98
98
|
shape: SurfaceShapeType;
|
|
99
99
|
bordered: boolean | undefined;
|
|
100
|
-
}, {}, {}, {}, string, import(
|
|
100
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
101
|
export default FeatureCard;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType, VNodeChild } from
|
|
2
|
-
import { FeedbackPanelKind, SurfaceShapeType, ThemeType } from
|
|
3
|
-
import { IconType } from
|
|
1
|
+
import { type ExtractPropTypes, type PropType, type VNodeChild } from "vue";
|
|
2
|
+
import type { FeedbackPanelKind, SurfaceShapeType, ThemeType } from "../const/types";
|
|
3
|
+
import { type IconType } from "../icon";
|
|
4
4
|
declare const feedbackPanelProps: {
|
|
5
5
|
kind: {
|
|
6
6
|
type: PropType<FeedbackPanelKind>;
|
|
@@ -20,7 +20,7 @@ declare const feedbackPanelProps: {
|
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
export type FeedbackPanelProps = ExtractPropTypes<typeof feedbackPanelProps>;
|
|
23
|
-
declare const FeedbackPanel: import(
|
|
23
|
+
declare const FeedbackPanel: import("vue").DefineComponent<ExtractPropTypes<{
|
|
24
24
|
kind: {
|
|
25
25
|
type: PropType<FeedbackPanelKind>;
|
|
26
26
|
default: string;
|
|
@@ -37,7 +37,7 @@ declare const FeedbackPanel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
37
37
|
type: PropType<SurfaceShapeType>;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
40
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
41
41
|
kind: {
|
|
42
42
|
type: PropType<FeedbackPanelKind>;
|
|
43
43
|
default: string;
|
|
@@ -59,6 +59,6 @@ declare const FeedbackPanel: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
59
59
|
theme: ThemeType;
|
|
60
60
|
shape: SurfaceShapeType;
|
|
61
61
|
kind: FeedbackPanelKind;
|
|
62
|
-
}, {}, {}, {}, string, import(
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
export default FeedbackPanel;
|
|
64
|
-
export type { FeedbackPanelKind } from
|
|
64
|
+
export type { FeedbackPanelKind } from "../const/types";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
export type { FeedbackPanelKind } from
|
|
3
|
-
export type { FeedbackPanelProps } from
|
|
1
|
+
import FeedbackPanel from "./feedback-panel";
|
|
2
|
+
export type { FeedbackPanelKind } from "../const/types";
|
|
3
|
+
export type { FeedbackPanelProps } from "./feedback-panel";
|
|
4
4
|
export default FeedbackPanel;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ExtractPropTypes } from
|
|
2
|
-
import { FlameWrapInstance, FlameWrapOptions } from
|
|
1
|
+
import { type ExtractPropTypes } from "vue";
|
|
2
|
+
import { type FlameWrapInstance, type FlameWrapOptions } from "./engine";
|
|
3
3
|
declare const flameWrapProps: {
|
|
4
4
|
color: {
|
|
5
|
-
type: import(
|
|
5
|
+
type: import("vue").PropType<[number, number, number]>;
|
|
6
6
|
validator: (value: unknown[]) => boolean;
|
|
7
7
|
};
|
|
8
8
|
intensity: NumberConstructor;
|
|
@@ -27,9 +27,9 @@ declare const flameWrapProps: {
|
|
|
27
27
|
};
|
|
28
28
|
export type FlameWrapProps = ExtractPropTypes<typeof flameWrapProps>;
|
|
29
29
|
export type { FlameWrapInstance, FlameWrapOptions };
|
|
30
|
-
declare const FlameWrap: import(
|
|
30
|
+
declare const FlameWrap: import("vue").DefineComponent<ExtractPropTypes<{
|
|
31
31
|
color: {
|
|
32
|
-
type: import(
|
|
32
|
+
type: import("vue").PropType<[number, number, number]>;
|
|
33
33
|
validator: (value: unknown[]) => boolean;
|
|
34
34
|
};
|
|
35
35
|
intensity: NumberConstructor;
|
|
@@ -51,11 +51,11 @@ declare const FlameWrap: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
51
51
|
smoke: NumberConstructor;
|
|
52
52
|
ember: NumberConstructor;
|
|
53
53
|
scorch: NumberConstructor;
|
|
54
|
-
}>, () => import(
|
|
54
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
55
55
|
[key: string]: any;
|
|
56
|
-
}>, {}, {}, {}, import(
|
|
56
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
57
57
|
color: {
|
|
58
|
-
type: import(
|
|
58
|
+
type: import("vue").PropType<[number, number, number]>;
|
|
59
59
|
validator: (value: unknown[]) => boolean;
|
|
60
60
|
};
|
|
61
61
|
intensity: NumberConstructor;
|
|
@@ -77,5 +77,5 @@ declare const FlameWrap: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
77
77
|
smoke: NumberConstructor;
|
|
78
78
|
ember: NumberConstructor;
|
|
79
79
|
scorch: NumberConstructor;
|
|
80
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
80
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
81
81
|
export default FlameWrap;
|
package/types/flex/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
import { FlexAlignType, FlexJustifyType, FlexSizeType } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
import type { FlexAlignType, FlexJustifyType, FlexSizeType } from "./types";
|
|
4
4
|
declare const flexProps: {
|
|
5
5
|
align: {
|
|
6
6
|
type: PropType<FlexAlignType>;
|
|
@@ -15,7 +15,7 @@ declare const flexProps: {
|
|
|
15
15
|
};
|
|
16
16
|
};
|
|
17
17
|
export type FlexProps = ExtractPropTypes<typeof flexProps>;
|
|
18
|
-
declare const Flex: import(
|
|
18
|
+
declare const Flex: import("vue").DefineComponent<ExtractPropTypes<{
|
|
19
19
|
align: {
|
|
20
20
|
type: PropType<FlexAlignType>;
|
|
21
21
|
};
|
|
@@ -27,7 +27,7 @@ declare const Flex: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
27
27
|
size: {
|
|
28
28
|
type: PropType<FlexSizeType>;
|
|
29
29
|
};
|
|
30
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
30
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
31
31
|
align: {
|
|
32
32
|
type: PropType<FlexAlignType>;
|
|
33
33
|
};
|
|
@@ -39,6 +39,6 @@ declare const Flex: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
39
39
|
size: {
|
|
40
40
|
type: PropType<FlexSizeType>;
|
|
41
41
|
};
|
|
42
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import(
|
|
42
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
43
43
|
export default Flex;
|
|
44
|
-
export type { FlexAlignType, FlexJustifyType, FlexSizeType } from
|
|
44
|
+
export type { FlexAlignType, FlexJustifyType, FlexSizeType } from "./types";
|
package/types/flex/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SizeType } from
|
|
1
|
+
import type { SizeType } from "../const/types";
|
|
2
2
|
export type FlexSizeType = SizeType | number | (string | number)[];
|
|
3
3
|
export type FlexAlignType = "start" | "flex-start" | "end" | "flex-end" | "center" | "baseline";
|
|
4
4
|
export type FlexJustifyType = "flex-start" | "center" | "flex-end" | "space-between" | "space-around" | "space-evenly";
|
package/types/form/context.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Attrs, ComputedRef, InjectionKey } from
|
|
2
|
-
import { DirectionType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { ColProps, FormRule, FormRules, FormValidateTrigger } from
|
|
1
|
+
import { type Attrs, type ComputedRef, type InjectionKey } from "vue";
|
|
2
|
+
import type { DirectionType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { ColProps, FormRule, FormRules, FormValidateTrigger } from "./types";
|
|
4
4
|
export interface FormItemRegistration {
|
|
5
5
|
prop?: string;
|
|
6
6
|
rules?: FormRule | FormRule[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
import { ColProps, FormRule } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
import type { ColProps, FormRule } from "./types";
|
|
4
4
|
declare const formItemProps: {
|
|
5
5
|
label: StringConstructor;
|
|
6
6
|
prop: StringConstructor;
|
|
@@ -13,7 +13,7 @@ declare const formItemProps: {
|
|
|
13
13
|
};
|
|
14
14
|
};
|
|
15
15
|
export type FormItemProps = ExtractPropTypes<typeof formItemProps>;
|
|
16
|
-
declare const FormItem: import(
|
|
16
|
+
declare const FormItem: import("vue").DefineComponent<ExtractPropTypes<{
|
|
17
17
|
label: StringConstructor;
|
|
18
18
|
prop: StringConstructor;
|
|
19
19
|
labelCol: PropType<ColProps>;
|
|
@@ -23,7 +23,7 @@ declare const FormItem: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
23
23
|
type: BooleanType;
|
|
24
24
|
default: undefined;
|
|
25
25
|
};
|
|
26
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
26
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
27
27
|
label: StringConstructor;
|
|
28
28
|
prop: StringConstructor;
|
|
29
29
|
labelCol: PropType<ColProps>;
|
|
@@ -35,5 +35,5 @@ declare const FormItem: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
35
35
|
};
|
|
36
36
|
}>> & Readonly<{}>, {
|
|
37
37
|
colon: boolean | undefined;
|
|
38
|
-
}, {}, {}, {}, string, import(
|
|
38
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
39
39
|
export default FormItem;
|
package/types/form/form.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ExtractPropTypes, PropType } from
|
|
2
|
-
import { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from
|
|
3
|
-
import { ColProps, FormRules } from
|
|
1
|
+
import type { ExtractPropTypes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType, DirectionType, ShapeType, SizeType, ThemeType } from "../const/types";
|
|
3
|
+
import type { ColProps, FormRules, FormSubmitEvent } from "./types";
|
|
4
4
|
declare const formProps: {
|
|
5
5
|
layout: {
|
|
6
6
|
type: PropType<DirectionType>;
|
|
@@ -26,7 +26,7 @@ declare const formProps: {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
export type FormProps = ExtractPropTypes<typeof formProps>;
|
|
29
|
-
declare const Form: import(
|
|
29
|
+
declare const Form: import("vue").DefineComponent<ExtractPropTypes<{
|
|
30
30
|
layout: {
|
|
31
31
|
type: PropType<DirectionType>;
|
|
32
32
|
default: string;
|
|
@@ -49,13 +49,11 @@ declare const Form: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
49
49
|
type: BooleanType;
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import(
|
|
52
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
53
|
change: (model: Record<string, unknown>) => boolean;
|
|
54
54
|
reset: () => true;
|
|
55
|
-
submit: (result:
|
|
56
|
-
|
|
57
|
-
}) => boolean;
|
|
58
|
-
}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
55
|
+
submit: (result: FormSubmitEvent) => boolean;
|
|
56
|
+
}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
59
57
|
layout: {
|
|
60
58
|
type: PropType<DirectionType>;
|
|
61
59
|
default: string;
|
|
@@ -81,11 +79,9 @@ declare const Form: import('vue').DefineComponent<ExtractPropTypes<{
|
|
|
81
79
|
}>> & Readonly<{
|
|
82
80
|
onChange?: ((model: Record<string, unknown>) => any) | undefined;
|
|
83
81
|
onReset?: (() => any) | undefined;
|
|
84
|
-
onSubmit?: ((result:
|
|
85
|
-
valid: boolean;
|
|
86
|
-
}) => any) | undefined;
|
|
82
|
+
onSubmit?: ((result: FormSubmitEvent) => any) | undefined;
|
|
87
83
|
}>, {
|
|
88
84
|
layout: DirectionType;
|
|
89
85
|
colon: boolean | undefined;
|
|
90
|
-
}, {}, {}, {}, string, import(
|
|
86
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
91
87
|
export default Form;
|
package/types/form/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { FormExpose } from
|
|
3
|
-
import
|
|
4
|
-
export type { FormProps } from
|
|
5
|
-
export type { FormRules, FormSubmitEvent } from
|
|
6
|
-
export type { FormItemProps } from
|
|
1
|
+
import Form from "./form";
|
|
2
|
+
import type { FormExpose } from "./types";
|
|
3
|
+
import FormItem from "./form-item";
|
|
4
|
+
export type { FormProps } from "./form";
|
|
5
|
+
export type { FormRules, FormSubmitEvent, FormExpose, FormValidateTrigger } from "./types";
|
|
6
|
+
export type { FormItemProps } from "./form-item";
|
|
7
7
|
export { Form, FormItem };
|
|
8
8
|
export type FormContext = InstanceType<typeof Form> & FormExpose;
|
package/types/global.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ declare module '@vue/runtime-core' {
|
|
|
5
5
|
export interface GlobalComponents {
|
|
6
6
|
Affix: typeof import('kui-vue')['Affix']
|
|
7
7
|
KAffix: typeof import('kui-vue')['Affix']
|
|
8
|
+
Popup: typeof import('kui-vue')['Popup']
|
|
9
|
+
KPopup: typeof import('kui-vue')['Popup']
|
|
8
10
|
Alert: typeof import('kui-vue')['Alert']
|
|
9
11
|
KAlert: typeof import('kui-vue')['Alert']
|
|
10
12
|
AutoComplete: typeof import('kui-vue')['AutoComplete']
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from
|
|
2
|
-
import { GridResponsive } from
|
|
1
|
+
import type { DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
+
import type { GridResponsive } from "./useBreakpoint";
|
|
3
3
|
declare const gridItemProps: {
|
|
4
4
|
span: {
|
|
5
5
|
type: PropType<GridResponsive<number>>;
|
package/types/grid/grid.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from
|
|
2
|
-
import { BooleanType } from
|
|
3
|
-
import { GridResponsive } from
|
|
1
|
+
import type { CSSProperties, DefineComponent, ExtractPropTypes, HTMLAttributes, PropType } from "vue";
|
|
2
|
+
import type { BooleanType } from "../const/types";
|
|
3
|
+
import type { GridResponsive } from "./useBreakpoint";
|
|
4
4
|
declare const gridProps: {
|
|
5
5
|
cols: {
|
|
6
6
|
type: PropType<GridResponsive<string | number>>;
|
package/types/grid/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
export type { GridProps } from
|
|
4
|
-
export type { GridItemProps } from
|
|
5
|
-
export type { GridBreakpoint, GridResponsive } from
|
|
1
|
+
import Grid from "./grid";
|
|
2
|
+
import GridItem from "./grid-item";
|
|
3
|
+
export type { GridProps } from "./grid";
|
|
4
|
+
export type { GridItemProps } from "./grid-item";
|
|
5
|
+
export type { GridBreakpoint, GridResponsive } from "./useBreakpoint";
|
|
6
6
|
export { Grid, GridItem };
|