@tmagic/form 1.2.0-beta.8 → 1.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/dist/style.css +1 -1
- package/dist/{tmagic-form.mjs → tmagic-form.js} +322 -126
- package/dist/tmagic-form.js.map +1 -0
- package/dist/{tmagic-form.umd.js → tmagic-form.umd.cjs} +321 -124
- package/dist/tmagic-form.umd.cjs.map +1 -0
- package/package.json +10 -8
- package/src/Form.vue +11 -3
- package/src/FormDialog.vue +3 -1
- package/src/containers/Col.vue +3 -1
- package/src/containers/Container.vue +12 -6
- package/src/containers/Fieldset.vue +4 -1
- package/src/containers/GroupList.vue +4 -2
- package/src/containers/GroupListItem.vue +8 -5
- package/src/containers/Panel.vue +4 -1
- package/src/containers/Row.vue +3 -1
- package/src/containers/Step.vue +3 -1
- package/src/containers/Table.vue +44 -18
- package/src/containers/Tabs.vue +9 -4
- package/src/fields/Cascader.vue +2 -2
- package/src/fields/Checkbox.vue +2 -2
- package/src/fields/CheckboxGroup.vue +8 -3
- package/src/fields/ColorPicker.vue +2 -2
- package/src/fields/Date.vue +3 -3
- package/src/fields/DateTime.vue +2 -2
- package/src/fields/Daterange.vue +2 -2
- package/src/fields/Display.vue +1 -1
- package/src/fields/DynamicField.vue +2 -2
- package/src/fields/Hidden.vue +1 -1
- package/src/fields/Link.vue +2 -2
- package/src/fields/Number.vue +2 -2
- package/src/fields/RadioGroup.vue +9 -5
- package/src/fields/Select.vue +63 -24
- package/src/fields/SelectOptionGroups.vue +1 -1
- package/src/fields/SelectOptions.vue +1 -1
- package/src/fields/Switch.vue +2 -2
- package/src/fields/Text.vue +2 -2
- package/src/fields/Textarea.vue +2 -2
- package/src/fields/Time.vue +4 -2
- package/src/schema.ts +18 -4
- package/src/theme/form.scss +1 -1
- package/src/utils/form.ts +9 -5
- package/types/Form.vue.d.ts +32 -170
- package/types/FormDialog.vue.d.ts +4 -0
- package/types/containers/Col.vue.d.ts +12 -74
- package/types/containers/Container.vue.d.ts +17 -95
- package/types/containers/Fieldset.vue.d.ts +15 -87
- package/types/containers/GroupList.vue.d.ts +11 -71
- package/types/containers/GroupListItem.vue.d.ts +12 -80
- package/types/containers/Panel.vue.d.ts +4 -0
- package/types/containers/Row.vue.d.ts +12 -74
- package/types/containers/Step.vue.d.ts +13 -79
- package/types/containers/Table.vue.d.ts +4 -0
- package/types/containers/Tabs.vue.d.ts +12 -74
- package/types/fields/Cascader.vue.d.ts +12 -78
- package/types/fields/Checkbox.vue.d.ts +12 -78
- package/types/fields/CheckboxGroup.vue.d.ts +12 -78
- package/types/fields/ColorPicker.vue.d.ts +12 -78
- package/types/fields/Date.vue.d.ts +12 -78
- package/types/fields/DateTime.vue.d.ts +12 -78
- package/types/fields/Daterange.vue.d.ts +12 -78
- package/types/fields/Display.vue.d.ts +9 -65
- package/types/fields/DynamicField.vue.d.ts +12 -78
- package/types/fields/Hidden.vue.d.ts +9 -65
- package/types/fields/Link.vue.d.ts +12 -78
- package/types/fields/Number.vue.d.ts +12 -81
- package/types/fields/RadioGroup.vue.d.ts +12 -78
- package/types/fields/Select.vue.d.ts +12 -79
- package/types/fields/SelectOptionGroups.vue.d.ts +4 -50
- package/types/fields/SelectOptions.vue.d.ts +5 -53
- package/types/fields/Switch.vue.d.ts +12 -78
- package/types/fields/Text.vue.d.ts +12 -81
- package/types/fields/Textarea.vue.d.ts +12 -81
- package/types/fields/Time.vue.d.ts +12 -78
- package/types/schema.d.ts +17 -4
- package/types/utils/form.d.ts +2 -1
- package/dist/tmagic-form.mjs.map +0 -1
- package/dist/tmagic-form.umd.js.map +0 -1
|
@@ -1,80 +1,5 @@
|
|
|
1
1
|
import { RadioGroupConfig } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
config: RadioGroupConfig;
|
|
8
|
-
model: any;
|
|
9
|
-
initValues?: any;
|
|
10
|
-
values?: any;
|
|
11
|
-
name: string;
|
|
12
|
-
prop: string;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
size: 'mini' | 'small' | 'medium';
|
|
15
|
-
}>>> & {
|
|
16
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
18
|
-
$attrs: {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
$refs: {
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
$slots: Readonly<{
|
|
25
|
-
[name: string]: import("vue").Slot | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
30
|
-
$el: any;
|
|
31
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
32
|
-
config: RadioGroupConfig;
|
|
33
|
-
model: any;
|
|
34
|
-
initValues?: any;
|
|
35
|
-
values?: any;
|
|
36
|
-
name: string;
|
|
37
|
-
prop: string;
|
|
38
|
-
disabled?: boolean | undefined;
|
|
39
|
-
size: 'mini' | 'small' | 'medium';
|
|
40
|
-
}>>> & {
|
|
41
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
|
|
43
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
58
|
-
};
|
|
59
|
-
$forceUpdate: () => void;
|
|
60
|
-
$nextTick: typeof import("vue").nextTick;
|
|
61
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
62
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
63
|
-
config: RadioGroupConfig;
|
|
64
|
-
model: any;
|
|
65
|
-
initValues?: any;
|
|
66
|
-
values?: any;
|
|
67
|
-
name: string;
|
|
68
|
-
prop: string;
|
|
69
|
-
disabled?: boolean | undefined;
|
|
70
|
-
size: 'mini' | 'small' | 'medium';
|
|
71
|
-
}>>> & {
|
|
72
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
74
|
-
__isFragment?: undefined;
|
|
75
|
-
__isTeleport?: undefined;
|
|
76
|
-
__isSuspense?: undefined;
|
|
77
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
78
3
|
config: RadioGroupConfig;
|
|
79
4
|
model: any;
|
|
80
5
|
initValues?: any;
|
|
@@ -82,10 +7,19 @@ declare const _default: {
|
|
|
82
7
|
name: string;
|
|
83
8
|
prop: string;
|
|
84
9
|
disabled?: boolean | undefined;
|
|
85
|
-
size
|
|
10
|
+
size?: "small" | "default" | "large" | undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
config: RadioGroupConfig;
|
|
13
|
+
model: any;
|
|
14
|
+
initValues?: any;
|
|
15
|
+
values?: any;
|
|
16
|
+
name: string;
|
|
17
|
+
prop: string;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
size?: "small" | "default" | "large" | undefined;
|
|
86
20
|
}>>> & {
|
|
87
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
}, {}
|
|
22
|
+
}, {}>;
|
|
89
23
|
export default _default;
|
|
90
24
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
91
25
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,81 +1,5 @@
|
|
|
1
|
-
import { nextTick } from 'vue';
|
|
2
1
|
import { SelectConfig } from '../schema';
|
|
3
|
-
declare const _default: {
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
$: import("vue").ComponentInternalInstance;
|
|
6
|
-
$data: {};
|
|
7
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
8
|
-
config: SelectConfig;
|
|
9
|
-
model: any;
|
|
10
|
-
initValues?: any;
|
|
11
|
-
values?: any;
|
|
12
|
-
name: string;
|
|
13
|
-
prop: string;
|
|
14
|
-
disabled?: boolean | undefined;
|
|
15
|
-
size: 'mini' | 'small' | 'medium';
|
|
16
|
-
}>>> & {
|
|
17
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
19
|
-
$attrs: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
};
|
|
22
|
-
$refs: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
$slots: Readonly<{
|
|
26
|
-
[name: string]: import("vue").Slot | undefined;
|
|
27
|
-
}>;
|
|
28
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
30
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
31
|
-
$el: any;
|
|
32
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
33
|
-
config: SelectConfig;
|
|
34
|
-
model: any;
|
|
35
|
-
initValues?: any;
|
|
36
|
-
values?: any;
|
|
37
|
-
name: string;
|
|
38
|
-
prop: string;
|
|
39
|
-
disabled?: boolean | undefined;
|
|
40
|
-
size: 'mini' | 'small' | 'medium';
|
|
41
|
-
}>>> & {
|
|
42
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
|
|
44
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
59
|
-
};
|
|
60
|
-
$forceUpdate: () => void;
|
|
61
|
-
$nextTick: typeof nextTick;
|
|
62
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
63
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
64
|
-
config: SelectConfig;
|
|
65
|
-
model: any;
|
|
66
|
-
initValues?: any;
|
|
67
|
-
values?: any;
|
|
68
|
-
name: string;
|
|
69
|
-
prop: string;
|
|
70
|
-
disabled?: boolean | undefined;
|
|
71
|
-
size: 'mini' | 'small' | 'medium';
|
|
72
|
-
}>>> & {
|
|
73
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
74
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
75
|
-
__isFragment?: undefined;
|
|
76
|
-
__isTeleport?: undefined;
|
|
77
|
-
__isSuspense?: undefined;
|
|
78
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
79
3
|
config: SelectConfig;
|
|
80
4
|
model: any;
|
|
81
5
|
initValues?: any;
|
|
@@ -83,10 +7,19 @@ declare const _default: {
|
|
|
83
7
|
name: string;
|
|
84
8
|
prop: string;
|
|
85
9
|
disabled?: boolean | undefined;
|
|
86
|
-
size
|
|
10
|
+
size?: "small" | "default" | "large" | undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
config: SelectConfig;
|
|
13
|
+
model: any;
|
|
14
|
+
initValues?: any;
|
|
15
|
+
values?: any;
|
|
16
|
+
name: string;
|
|
17
|
+
prop: string;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
size?: "small" | "default" | "large" | undefined;
|
|
87
20
|
}>>> & {
|
|
88
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
89
|
-
}, {}
|
|
22
|
+
}, {}>;
|
|
90
23
|
export default _default;
|
|
91
24
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
92
25
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,55 +1,9 @@
|
|
|
1
1
|
import { SelectGroupOption } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
options: SelectGroupOption[];
|
|
8
|
-
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
9
|
-
$attrs: {
|
|
10
|
-
[x: string]: unknown;
|
|
11
|
-
};
|
|
12
|
-
$refs: {
|
|
13
|
-
[x: string]: unknown;
|
|
14
|
-
};
|
|
15
|
-
$slots: Readonly<{
|
|
16
|
-
[name: string]: import("vue").Slot | undefined;
|
|
17
|
-
}>;
|
|
18
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
19
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
20
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
21
|
-
$el: any;
|
|
22
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
23
|
-
options: SelectGroupOption[];
|
|
24
|
-
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
25
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
26
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
27
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
38
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
39
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
40
|
-
};
|
|
41
|
-
$forceUpdate: () => void;
|
|
42
|
-
$nextTick: typeof import("vue").nextTick;
|
|
43
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
44
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
45
|
-
options: SelectGroupOption[];
|
|
46
|
-
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
47
|
-
__isFragment?: undefined;
|
|
48
|
-
__isTeleport?: undefined;
|
|
49
|
-
__isSuspense?: undefined;
|
|
50
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
51
3
|
options: SelectGroupOption[];
|
|
52
|
-
}
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
+
options: SelectGroupOption[];
|
|
6
|
+
}>>>, {}>;
|
|
53
7
|
export default _default;
|
|
54
8
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
9
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,59 +1,11 @@
|
|
|
1
1
|
import { SelectOption } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
options: SelectOption[];
|
|
8
|
-
valueKey?: string | undefined;
|
|
9
|
-
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
10
|
-
$attrs: {
|
|
11
|
-
[x: string]: unknown;
|
|
12
|
-
};
|
|
13
|
-
$refs: {
|
|
14
|
-
[x: string]: unknown;
|
|
15
|
-
};
|
|
16
|
-
$slots: Readonly<{
|
|
17
|
-
[name: string]: import("vue").Slot | undefined;
|
|
18
|
-
}>;
|
|
19
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
20
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
21
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
22
|
-
$el: any;
|
|
23
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
24
|
-
options: SelectOption[];
|
|
25
|
-
valueKey?: string | undefined;
|
|
26
|
-
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
27
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
28
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
29
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
30
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
31
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
32
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
40
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
41
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
42
|
-
};
|
|
43
|
-
$forceUpdate: () => void;
|
|
44
|
-
$nextTick: typeof import("vue").nextTick;
|
|
45
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
46
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
47
|
-
options: SelectOption[];
|
|
48
|
-
valueKey?: string | undefined;
|
|
49
|
-
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
50
|
-
__isFragment?: undefined;
|
|
51
|
-
__isTeleport?: undefined;
|
|
52
|
-
__isSuspense?: undefined;
|
|
53
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
54
3
|
options: SelectOption[];
|
|
55
4
|
valueKey?: string | undefined;
|
|
56
|
-
}
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
options: SelectOption[];
|
|
7
|
+
valueKey?: string | undefined;
|
|
8
|
+
}>>>, {}>;
|
|
57
9
|
export default _default;
|
|
58
10
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
59
11
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,80 +1,5 @@
|
|
|
1
1
|
import { SwitchConfig } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
config: SwitchConfig;
|
|
8
|
-
model: any;
|
|
9
|
-
initValues?: any;
|
|
10
|
-
values?: any;
|
|
11
|
-
name: string;
|
|
12
|
-
prop: string;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
size: 'mini' | 'small' | 'medium';
|
|
15
|
-
}>>> & {
|
|
16
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
18
|
-
$attrs: {
|
|
19
|
-
[x: string]: unknown;
|
|
20
|
-
};
|
|
21
|
-
$refs: {
|
|
22
|
-
[x: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
$slots: Readonly<{
|
|
25
|
-
[name: string]: import("vue").Slot | undefined;
|
|
26
|
-
}>;
|
|
27
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
30
|
-
$el: any;
|
|
31
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
32
|
-
config: SwitchConfig;
|
|
33
|
-
model: any;
|
|
34
|
-
initValues?: any;
|
|
35
|
-
values?: any;
|
|
36
|
-
name: string;
|
|
37
|
-
prop: string;
|
|
38
|
-
disabled?: boolean | undefined;
|
|
39
|
-
size: 'mini' | 'small' | 'medium';
|
|
40
|
-
}>>> & {
|
|
41
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
|
|
43
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
56
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
57
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
58
|
-
};
|
|
59
|
-
$forceUpdate: () => void;
|
|
60
|
-
$nextTick: typeof import("vue").nextTick;
|
|
61
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
62
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
63
|
-
config: SwitchConfig;
|
|
64
|
-
model: any;
|
|
65
|
-
initValues?: any;
|
|
66
|
-
values?: any;
|
|
67
|
-
name: string;
|
|
68
|
-
prop: string;
|
|
69
|
-
disabled?: boolean | undefined;
|
|
70
|
-
size: 'mini' | 'small' | 'medium';
|
|
71
|
-
}>>> & {
|
|
72
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
73
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
74
|
-
__isFragment?: undefined;
|
|
75
|
-
__isTeleport?: undefined;
|
|
76
|
-
__isSuspense?: undefined;
|
|
77
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
78
3
|
config: SwitchConfig;
|
|
79
4
|
model: any;
|
|
80
5
|
initValues?: any;
|
|
@@ -82,10 +7,19 @@ declare const _default: {
|
|
|
82
7
|
name: string;
|
|
83
8
|
prop: string;
|
|
84
9
|
disabled?: boolean | undefined;
|
|
85
|
-
size
|
|
10
|
+
size?: "small" | "default" | "large" | undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
config: SwitchConfig;
|
|
13
|
+
model: any;
|
|
14
|
+
initValues?: any;
|
|
15
|
+
values?: any;
|
|
16
|
+
name: string;
|
|
17
|
+
prop: string;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
size?: "small" | "default" | "large" | undefined;
|
|
86
20
|
}>>> & {
|
|
87
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
88
|
-
}, {}
|
|
22
|
+
}, {}>;
|
|
89
23
|
export default _default;
|
|
90
24
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
91
25
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,83 +1,5 @@
|
|
|
1
1
|
import { TextConfig } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
config: TextConfig;
|
|
8
|
-
model: any;
|
|
9
|
-
initValues?: any;
|
|
10
|
-
values?: any;
|
|
11
|
-
name: string;
|
|
12
|
-
prop: string;
|
|
13
|
-
disabled?: boolean | undefined;
|
|
14
|
-
size: 'mini' | 'small' | 'medium';
|
|
15
|
-
}>>> & {
|
|
16
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
19
|
-
$attrs: {
|
|
20
|
-
[x: string]: unknown;
|
|
21
|
-
};
|
|
22
|
-
$refs: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
$slots: Readonly<{
|
|
26
|
-
[name: string]: import("vue").Slot | undefined;
|
|
27
|
-
}>;
|
|
28
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
30
|
-
$emit: (event: "change" | "input", ...args: any[]) => void;
|
|
31
|
-
$el: any;
|
|
32
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
33
|
-
config: TextConfig;
|
|
34
|
-
model: any;
|
|
35
|
-
initValues?: any;
|
|
36
|
-
values?: any;
|
|
37
|
-
name: string;
|
|
38
|
-
prop: string;
|
|
39
|
-
disabled?: boolean | undefined;
|
|
40
|
-
size: 'mini' | 'small' | 'medium';
|
|
41
|
-
}>>> & {
|
|
42
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input")[], string, {}> & {
|
|
45
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
59
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
60
|
-
};
|
|
61
|
-
$forceUpdate: () => void;
|
|
62
|
-
$nextTick: typeof import("vue").nextTick;
|
|
63
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
64
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
65
|
-
config: TextConfig;
|
|
66
|
-
model: any;
|
|
67
|
-
initValues?: any;
|
|
68
|
-
values?: any;
|
|
69
|
-
name: string;
|
|
70
|
-
prop: string;
|
|
71
|
-
disabled?: boolean | undefined;
|
|
72
|
-
size: 'mini' | 'small' | 'medium';
|
|
73
|
-
}>>> & {
|
|
74
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
75
|
-
onInput?: ((...args: any[]) => any) | undefined;
|
|
76
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
77
|
-
__isFragment?: undefined;
|
|
78
|
-
__isTeleport?: undefined;
|
|
79
|
-
__isSuspense?: undefined;
|
|
80
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
81
3
|
config: TextConfig;
|
|
82
4
|
model: any;
|
|
83
5
|
initValues?: any;
|
|
@@ -85,11 +7,20 @@ declare const _default: {
|
|
|
85
7
|
name: string;
|
|
86
8
|
prop: string;
|
|
87
9
|
disabled?: boolean | undefined;
|
|
88
|
-
size
|
|
10
|
+
size?: "small" | "default" | "large" | undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "input")[], "change" | "input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
config: TextConfig;
|
|
13
|
+
model: any;
|
|
14
|
+
initValues?: any;
|
|
15
|
+
values?: any;
|
|
16
|
+
name: string;
|
|
17
|
+
prop: string;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
size?: "small" | "default" | "large" | undefined;
|
|
89
20
|
}>>> & {
|
|
90
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
91
22
|
onInput?: ((...args: any[]) => any) | undefined;
|
|
92
|
-
}, {}
|
|
23
|
+
}, {}>;
|
|
93
24
|
export default _default;
|
|
94
25
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
95
26
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|