@tmagic/form 1.2.0-beta.25 → 1.2.0-beta.26
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/tmagic-form.js +4 -2
- package/dist/tmagic-form.js.map +1 -1
- package/dist/tmagic-form.umd.cjs +4 -2
- package/dist/tmagic-form.umd.cjs.map +1 -1
- package/package.json +4 -4
- package/src/fields/Cascader.vue +1 -1
- package/src/fields/Checkbox.vue +1 -1
- package/src/fields/CheckboxGroup.vue +7 -2
- package/src/fields/ColorPicker.vue +1 -1
- package/src/fields/Date.vue +1 -1
- package/src/fields/DateTime.vue +1 -1
- package/src/fields/Daterange.vue +1 -1
- package/src/fields/DynamicField.vue +1 -1
- package/src/fields/Link.vue +1 -1
- package/src/fields/Number.vue +1 -1
- package/src/fields/RadioGroup.vue +8 -4
- package/src/fields/Select.vue +1 -1
- package/src/fields/Switch.vue +1 -1
- package/src/fields/Text.vue +1 -1
- package/src/fields/Textarea.vue +1 -1
- package/src/fields/Time.vue +1 -1
- package/types/Form.vue.d.ts +32 -170
- package/types/containers/Col.vue.d.ts +11 -77
- package/types/containers/Container.vue.d.ts +16 -98
- package/types/containers/Fieldset.vue.d.ts +14 -90
- package/types/containers/GroupList.vue.d.ts +10 -74
- package/types/containers/GroupListItem.vue.d.ts +11 -83
- package/types/containers/Row.vue.d.ts +11 -77
- package/types/containers/Step.vue.d.ts +12 -82
- package/types/containers/Tabs.vue.d.ts +11 -77
- 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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.2.0-beta.
|
|
2
|
+
"version": "1.2.0-beta.26",
|
|
3
3
|
"name": "@tmagic/form",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@element-plus/icons-vue": "^2.0.9",
|
|
39
|
-
"@tmagic/design": "1.2.0-beta.
|
|
40
|
-
"@tmagic/utils": "1.2.0-beta.
|
|
39
|
+
"@tmagic/design": "1.2.0-beta.26",
|
|
40
|
+
"@tmagic/utils": "1.2.0-beta.26",
|
|
41
41
|
"lodash-es": "^4.17.21",
|
|
42
42
|
"sortablejs": "^1.14.0",
|
|
43
43
|
"vue": "^3.2.37"
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
"typescript": "^4.7.4",
|
|
59
59
|
"vite": "^3.1.3",
|
|
60
60
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
|
61
|
-
"vue-tsc": "^1.0.
|
|
61
|
+
"vue-tsc": "^1.0.11"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/fields/Cascader.vue
CHANGED
package/src/fields/Checkbox.vue
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<TMagicCheckboxGroup v-model="model[name]" :size="size" :disabled="disabled" @change="changeHandler">
|
|
3
|
-
<TMagicCheckbox
|
|
3
|
+
<TMagicCheckbox
|
|
4
|
+
v-for="option in options"
|
|
5
|
+
:label="option.value"
|
|
6
|
+
:value="option.value"
|
|
7
|
+
:key="option.value"
|
|
8
|
+
:disabled="option.disabled"
|
|
4
9
|
>{{ option.text }}
|
|
5
10
|
</TMagicCheckbox>
|
|
6
11
|
</TMagicCheckboxGroup>
|
|
@@ -23,7 +28,7 @@ const props = defineProps<{
|
|
|
23
28
|
name: string;
|
|
24
29
|
prop: string;
|
|
25
30
|
disabled?: boolean;
|
|
26
|
-
size
|
|
31
|
+
size?: 'large' | 'default' | 'small';
|
|
27
32
|
}>();
|
|
28
33
|
|
|
29
34
|
const emit = defineEmits(['change']);
|
package/src/fields/Date.vue
CHANGED
package/src/fields/DateTime.vue
CHANGED
package/src/fields/Daterange.vue
CHANGED
package/src/fields/Link.vue
CHANGED
package/src/fields/Number.vue
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<TMagicRadioGroup v-if="model" v-model="model[name]" :size="size" :disabled="disabled" @change="changeHandler">
|
|
3
|
-
<TMagicRadio
|
|
4
|
-
option.
|
|
5
|
-
|
|
3
|
+
<TMagicRadio
|
|
4
|
+
v-for="option in config.options"
|
|
5
|
+
:label="option.value"
|
|
6
|
+
:value="option.value"
|
|
7
|
+
:key="`${option.value}`"
|
|
8
|
+
>{{ option.text }}</TMagicRadio
|
|
9
|
+
>
|
|
6
10
|
</TMagicRadioGroup>
|
|
7
11
|
</template>
|
|
8
12
|
|
|
@@ -20,7 +24,7 @@ const props = defineProps<{
|
|
|
20
24
|
name: string;
|
|
21
25
|
prop: string;
|
|
22
26
|
disabled?: boolean;
|
|
23
|
-
size
|
|
27
|
+
size?: 'large' | 'default' | 'small';
|
|
24
28
|
}>();
|
|
25
29
|
|
|
26
30
|
const emit = defineEmits(['change']);
|
package/src/fields/Select.vue
CHANGED
package/src/fields/Switch.vue
CHANGED
package/src/fields/Text.vue
CHANGED
package/src/fields/Textarea.vue
CHANGED
package/src/fields/Time.vue
CHANGED
package/types/Form.vue.d.ts
CHANGED
|
@@ -1,167 +1,5 @@
|
|
|
1
1
|
import type { FormConfig, FormState, FormValue } from './schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{
|
|
7
|
-
config: FormConfig;
|
|
8
|
-
initValues: Object;
|
|
9
|
-
keyProp: string;
|
|
10
|
-
parentValues: Object;
|
|
11
|
-
labelWidth: string;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
stepActive: string | number;
|
|
14
|
-
height: string;
|
|
15
|
-
inline: boolean;
|
|
16
|
-
labelPosition: string;
|
|
17
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
-
config: FormConfig;
|
|
19
|
-
initValues: Object;
|
|
20
|
-
parentValues?: Object | undefined;
|
|
21
|
-
labelWidth?: string | undefined;
|
|
22
|
-
disabled?: boolean | undefined;
|
|
23
|
-
height?: string | undefined;
|
|
24
|
-
stepActive?: string | number | undefined;
|
|
25
|
-
size?: "small" | "default" | "large" | undefined;
|
|
26
|
-
inline?: boolean | undefined;
|
|
27
|
-
labelPosition?: string | undefined;
|
|
28
|
-
keyProp?: string | undefined;
|
|
29
|
-
popperClass?: string | undefined;
|
|
30
|
-
}>, {
|
|
31
|
-
config: () => never[];
|
|
32
|
-
initValues: () => {};
|
|
33
|
-
parentValues: () => {};
|
|
34
|
-
labelWidth: string;
|
|
35
|
-
disabled: boolean;
|
|
36
|
-
height: string;
|
|
37
|
-
stepActive: number;
|
|
38
|
-
inline: boolean;
|
|
39
|
-
labelPosition: string;
|
|
40
|
-
keyProp: string;
|
|
41
|
-
}>>> & {
|
|
42
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "config" | "initValues" | "keyProp" | "parentValues" | "labelWidth" | "disabled" | "stepActive" | "height" | "inline" | "labelPosition">;
|
|
46
|
-
$attrs: {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
$refs: {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
};
|
|
52
|
-
$slots: Readonly<{
|
|
53
|
-
[name: string]: import("vue").Slot | undefined;
|
|
54
|
-
}>;
|
|
55
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
56
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
57
|
-
$emit: (event: "change" | "field-input" | "field-change", ...args: any[]) => void;
|
|
58
|
-
$el: any;
|
|
59
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
60
|
-
config: FormConfig;
|
|
61
|
-
initValues: Object;
|
|
62
|
-
parentValues?: Object | undefined;
|
|
63
|
-
labelWidth?: string | undefined;
|
|
64
|
-
disabled?: boolean | undefined;
|
|
65
|
-
height?: string | undefined;
|
|
66
|
-
stepActive?: string | number | undefined;
|
|
67
|
-
size?: "small" | "default" | "large" | undefined;
|
|
68
|
-
inline?: boolean | undefined;
|
|
69
|
-
labelPosition?: string | undefined;
|
|
70
|
-
keyProp?: string | undefined;
|
|
71
|
-
popperClass?: string | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
config: () => never[];
|
|
74
|
-
initValues: () => {};
|
|
75
|
-
parentValues: () => {};
|
|
76
|
-
labelWidth: string;
|
|
77
|
-
disabled: boolean;
|
|
78
|
-
height: string;
|
|
79
|
-
stepActive: number;
|
|
80
|
-
inline: boolean;
|
|
81
|
-
labelPosition: string;
|
|
82
|
-
keyProp: string;
|
|
83
|
-
}>>> & {
|
|
84
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
87
|
-
}, {
|
|
88
|
-
values: import("vue").Ref<FormValue>;
|
|
89
|
-
formState: FormState;
|
|
90
|
-
initialized: import("vue").Ref<boolean>;
|
|
91
|
-
changeHandler: () => void;
|
|
92
|
-
resetForm: () => any;
|
|
93
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
94
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "field-input" | "field-change")[], string, {
|
|
95
|
-
config: FormConfig;
|
|
96
|
-
initValues: Object;
|
|
97
|
-
keyProp: string;
|
|
98
|
-
parentValues: Object;
|
|
99
|
-
labelWidth: string;
|
|
100
|
-
disabled: boolean;
|
|
101
|
-
stepActive: string | number;
|
|
102
|
-
height: string;
|
|
103
|
-
inline: boolean;
|
|
104
|
-
labelPosition: string;
|
|
105
|
-
}> & {
|
|
106
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
107
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
108
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
109
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
110
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
111
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
112
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
113
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
119
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
120
|
-
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;
|
|
121
|
-
};
|
|
122
|
-
$forceUpdate: () => void;
|
|
123
|
-
$nextTick: typeof import("vue").nextTick;
|
|
124
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
125
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
126
|
-
config: FormConfig;
|
|
127
|
-
initValues: Object;
|
|
128
|
-
parentValues?: Object | undefined;
|
|
129
|
-
labelWidth?: string | undefined;
|
|
130
|
-
disabled?: boolean | undefined;
|
|
131
|
-
height?: string | undefined;
|
|
132
|
-
stepActive?: string | number | undefined;
|
|
133
|
-
size?: "small" | "default" | "large" | undefined;
|
|
134
|
-
inline?: boolean | undefined;
|
|
135
|
-
labelPosition?: string | undefined;
|
|
136
|
-
keyProp?: string | undefined;
|
|
137
|
-
popperClass?: string | undefined;
|
|
138
|
-
}>, {
|
|
139
|
-
config: () => never[];
|
|
140
|
-
initValues: () => {};
|
|
141
|
-
parentValues: () => {};
|
|
142
|
-
labelWidth: string;
|
|
143
|
-
disabled: boolean;
|
|
144
|
-
height: string;
|
|
145
|
-
stepActive: number;
|
|
146
|
-
inline: boolean;
|
|
147
|
-
labelPosition: string;
|
|
148
|
-
keyProp: string;
|
|
149
|
-
}>>> & {
|
|
150
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
151
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
152
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
153
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
154
|
-
values: import("vue").Ref<FormValue>;
|
|
155
|
-
formState: FormState;
|
|
156
|
-
initialized: import("vue").Ref<boolean>;
|
|
157
|
-
changeHandler: () => void;
|
|
158
|
-
resetForm: () => any;
|
|
159
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
160
|
-
}> & {} & import("vue").ComponentCustomProperties;
|
|
161
|
-
__isFragment?: undefined;
|
|
162
|
-
__isTeleport?: undefined;
|
|
163
|
-
__isSuspense?: undefined;
|
|
164
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
165
3
|
config: FormConfig;
|
|
166
4
|
initValues: Object;
|
|
167
5
|
parentValues?: Object | undefined;
|
|
@@ -185,18 +23,42 @@ declare const _default: {
|
|
|
185
23
|
inline: boolean;
|
|
186
24
|
labelPosition: string;
|
|
187
25
|
keyProp: string;
|
|
188
|
-
}
|
|
189
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
}, {
|
|
26
|
+
}>, {
|
|
193
27
|
values: import("vue").Ref<FormValue>;
|
|
194
28
|
formState: FormState;
|
|
195
29
|
initialized: import("vue").Ref<boolean>;
|
|
196
30
|
changeHandler: () => void;
|
|
197
31
|
resetForm: () => any;
|
|
198
32
|
submitForm: (native?: boolean) => Promise<any>;
|
|
199
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "field-input" | "field-change")[], "change" | "field-input" | "field-change", {
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "field-input" | "field-change")[], "change" | "field-input" | "field-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
34
|
+
config: FormConfig;
|
|
35
|
+
initValues: Object;
|
|
36
|
+
parentValues?: Object | undefined;
|
|
37
|
+
labelWidth?: string | undefined;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
height?: string | undefined;
|
|
40
|
+
stepActive?: string | number | undefined;
|
|
41
|
+
size?: "small" | "default" | "large" | undefined;
|
|
42
|
+
inline?: boolean | undefined;
|
|
43
|
+
labelPosition?: string | undefined;
|
|
44
|
+
keyProp?: string | undefined;
|
|
45
|
+
popperClass?: string | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
config: () => never[];
|
|
48
|
+
initValues: () => {};
|
|
49
|
+
parentValues: () => {};
|
|
50
|
+
labelWidth: string;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
height: string;
|
|
53
|
+
stepActive: number;
|
|
54
|
+
inline: boolean;
|
|
55
|
+
labelPosition: string;
|
|
56
|
+
keyProp: string;
|
|
57
|
+
}>>> & {
|
|
58
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}, {
|
|
200
62
|
config: FormConfig;
|
|
201
63
|
initValues: Object;
|
|
202
64
|
keyProp: string;
|
|
@@ -207,7 +69,7 @@ declare const _default: {
|
|
|
207
69
|
height: string;
|
|
208
70
|
inline: boolean;
|
|
209
71
|
labelPosition: string;
|
|
210
|
-
}
|
|
72
|
+
}>;
|
|
211
73
|
export default _default;
|
|
212
74
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
213
75
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,80 +1,14 @@
|
|
|
1
1
|
import { ChildConfig } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
size?: string | undefined;
|
|
13
|
-
prop?: string | undefined;
|
|
14
|
-
disabled?: boolean | undefined;
|
|
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
|
-
model: any;
|
|
33
|
-
config: ChildConfig;
|
|
34
|
-
labelWidth?: string | undefined;
|
|
35
|
-
expandMore?: boolean | undefined;
|
|
36
|
-
span?: number | undefined;
|
|
37
|
-
size?: string | undefined;
|
|
38
|
-
prop?: string | undefined;
|
|
39
|
-
disabled?: boolean | undefined;
|
|
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
|
-
model: any;
|
|
64
|
-
config: ChildConfig;
|
|
65
|
-
labelWidth?: string | undefined;
|
|
66
|
-
expandMore?: boolean | undefined;
|
|
67
|
-
span?: number | undefined;
|
|
68
|
-
size?: string | undefined;
|
|
69
|
-
prop?: string | undefined;
|
|
70
|
-
disabled?: boolean | undefined;
|
|
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<{
|
|
3
|
+
model: any;
|
|
4
|
+
config: ChildConfig;
|
|
5
|
+
labelWidth?: string | undefined;
|
|
6
|
+
expandMore?: boolean | undefined;
|
|
7
|
+
span?: number | undefined;
|
|
8
|
+
size?: string | undefined;
|
|
9
|
+
prop?: string | undefined;
|
|
10
|
+
disabled?: boolean | 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<{
|
|
78
12
|
model: any;
|
|
79
13
|
config: ChildConfig;
|
|
80
14
|
labelWidth?: string | undefined;
|
|
@@ -85,7 +19,7 @@ declare const _default: {
|
|
|
85
19
|
disabled?: boolean | 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> = {
|