@tmagic/form 1.3.4 → 1.3.6
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 +24 -20
- package/dist/tmagic-form.js.map +1 -1
- package/dist/tmagic-form.umd.cjs +24 -20
- package/dist/tmagic-form.umd.cjs.map +1 -1
- package/package.json +9 -9
- package/src/containers/Container.vue +1 -0
- package/src/fields/Cascader.vue +6 -2
- package/types/Form.vue.d.ts +5 -1
- package/types/FormBox.vue.d.ts +14 -6
- package/types/FormDialog.vue.d.ts +15 -6
- package/types/FormDrawer.vue.d.ts +18 -6
- package/types/containers/Col.vue.d.ts +4 -1
- package/types/containers/Container.vue.d.ts +4 -1
- package/types/containers/Fieldset.vue.d.ts +4 -1
- package/types/containers/GroupList.vue.d.ts +4 -1
- package/types/containers/GroupListItem.vue.d.ts +6 -1
- package/types/containers/Panel.vue.d.ts +4 -1
- package/types/containers/Row.vue.d.ts +4 -1
- package/types/containers/Step.vue.d.ts +4 -1
- package/types/containers/Table.vue.d.ts +8 -4
- package/types/containers/Tabs.vue.d.ts +4 -1
- package/types/fields/Cascader.vue.d.ts +3 -1
- package/types/fields/Checkbox.vue.d.ts +3 -1
- package/types/fields/CheckboxGroup.vue.d.ts +3 -1
- package/types/fields/ColorPicker.vue.d.ts +5 -1
- package/types/fields/Date.vue.d.ts +5 -1
- package/types/fields/DateTime.vue.d.ts +5 -1
- package/types/fields/Daterange.vue.d.ts +3 -1
- package/types/fields/DynamicField.vue.d.ts +3 -1
- package/types/fields/Link.vue.d.ts +3 -1
- package/types/fields/Number.vue.d.ts +7 -1
- package/types/fields/NumberRange.vue.d.ts +5 -1
- package/types/fields/RadioGroup.vue.d.ts +3 -1
- package/types/fields/Select.vue.d.ts +3 -1
- package/types/fields/Switch.vue.d.ts +5 -1
- package/types/fields/Text.vue.d.ts +7 -1
- package/types/fields/Textarea.vue.d.ts +7 -1
- package/types/fields/Time.vue.d.ts +5 -1
- package/types/fields/Timerange.vue.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.3.
|
|
2
|
+
"version": "1.3.6",
|
|
3
3
|
"name": "@tmagic/form",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -29,16 +29,16 @@
|
|
|
29
29
|
"clear:type": "rimraf ./types"
|
|
30
30
|
},
|
|
31
31
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
32
|
+
"node": ">=18"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
35
35
|
"type": "git",
|
|
36
36
|
"url": "https://github.com/Tencent/tmagic-editor.git"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@element-plus/icons-vue": "^2.
|
|
40
|
-
"@tmagic/design": "1.3.
|
|
41
|
-
"@tmagic/utils": "1.3.
|
|
39
|
+
"@element-plus/icons-vue": "^2.3.1",
|
|
40
|
+
"@tmagic/design": "1.3.6",
|
|
41
|
+
"@tmagic/utils": "1.3.6",
|
|
42
42
|
"lodash-es": "^4.17.21",
|
|
43
43
|
"sortablejs": "^1.14.0",
|
|
44
44
|
"vue": "^3.3.8"
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@babel/core": "^7.18.0",
|
|
51
51
|
"@types/lodash-es": "^4.17.4",
|
|
52
|
-
"@types/node": "^
|
|
52
|
+
"@types/node": "^18.19.0",
|
|
53
53
|
"@types/sortablejs": "^1.10.7",
|
|
54
|
-
"@vitejs/plugin-vue": "^4.2
|
|
54
|
+
"@vitejs/plugin-vue": "^4.5.2",
|
|
55
55
|
"@vue/compiler-sfc": "^3.3.8",
|
|
56
56
|
"@vue/test-utils": "^2.3.2",
|
|
57
57
|
"rimraf": "^3.0.2",
|
|
58
58
|
"sass": "^1.35.1",
|
|
59
59
|
"typescript": "^5.0.4",
|
|
60
|
-
"vite": "^
|
|
61
|
-
"vue-tsc": "^1.
|
|
60
|
+
"vite": "^5.0.7",
|
|
61
|
+
"vue-tsc": "^1.8.25"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/fields/Cascader.vue
CHANGED
|
@@ -23,7 +23,7 @@ import { inject, ref, watchEffect } from 'vue';
|
|
|
23
23
|
|
|
24
24
|
import { TMagicCascader } from '@tmagic/design';
|
|
25
25
|
|
|
26
|
-
import type { CascaderConfig, FieldProps, FormState } from '../schema';
|
|
26
|
+
import type { CascaderConfig, CascaderOption, FieldProps, FormState } from '../schema';
|
|
27
27
|
import { getConfig } from '../utils/config';
|
|
28
28
|
import { useAddField } from '../utils/useAddField';
|
|
29
29
|
|
|
@@ -43,7 +43,7 @@ const requestFunc = getConfig('request') as Function;
|
|
|
43
43
|
|
|
44
44
|
const tMagicCascader = ref<InstanceType<typeof TMagicCascader>>();
|
|
45
45
|
|
|
46
|
-
const options =
|
|
46
|
+
const options = ref<CascaderOption[]>([]);
|
|
47
47
|
const remoteData = ref<any>(null);
|
|
48
48
|
|
|
49
49
|
const setRemoteOptions = async function () {
|
|
@@ -86,6 +86,10 @@ if (typeof props.config.options === 'function' && props.model && mForm) {
|
|
|
86
86
|
);
|
|
87
87
|
} else if (!props.config.options?.length || props.config.remote) {
|
|
88
88
|
Promise.resolve(setRemoteOptions());
|
|
89
|
+
} else if (Array.isArray(props.config.options)) {
|
|
90
|
+
watchEffect(() => {
|
|
91
|
+
options.value = props.config.options as CascaderOption[];
|
|
92
|
+
});
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
const changeHandler = (value: any) => {
|
package/types/Form.vue.d.ts
CHANGED
|
@@ -40,7 +40,11 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
40
40
|
changeHandler: () => void;
|
|
41
41
|
resetForm: () => any;
|
|
42
42
|
submitForm: (native?: boolean | undefined) => Promise<any>;
|
|
43
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
43
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
|
+
change: (...args: any[]) => void;
|
|
45
|
+
"field-input": (...args: any[]) => void;
|
|
46
|
+
"field-change": (...args: any[]) => void;
|
|
47
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
44
48
|
/** 表单配置 */
|
|
45
49
|
config: FormConfig;
|
|
46
50
|
/** 表单值 */
|
package/types/FormBox.vue.d.ts
CHANGED
|
@@ -126,7 +126,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
126
126
|
}>;
|
|
127
127
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
128
128
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
129
|
-
$emit: (event: "change"
|
|
129
|
+
$emit: ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void);
|
|
130
130
|
$el: any;
|
|
131
131
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
132
132
|
config: {
|
|
@@ -200,7 +200,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
200
200
|
changeHandler: () => void;
|
|
201
201
|
resetForm: () => any;
|
|
202
202
|
submitForm: (native?: boolean | undefined) => Promise<any>;
|
|
203
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
203
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
204
|
+
change: (...args: any[]) => void;
|
|
205
|
+
"field-input": (...args: any[]) => void;
|
|
206
|
+
"field-change": (...args: any[]) => void;
|
|
207
|
+
}, string, {
|
|
204
208
|
config: FormConfig;
|
|
205
209
|
initValues: Record<string, any>;
|
|
206
210
|
lastValues: Record<string, any>;
|
|
@@ -310,7 +314,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
310
314
|
bodyHeight: import("vue").Ref<number>;
|
|
311
315
|
show: () => void;
|
|
312
316
|
hide: () => void;
|
|
313
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
317
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
318
|
+
change: (...args: any[]) => void;
|
|
319
|
+
submit: (...args: any[]) => void;
|
|
320
|
+
error: (...args: any[]) => void;
|
|
321
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
314
322
|
config?: FormConfig | undefined;
|
|
315
323
|
values?: Object | undefined;
|
|
316
324
|
parentValues?: Object | undefined;
|
|
@@ -353,11 +361,11 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
353
361
|
default: D[K];
|
|
354
362
|
}> : P[K];
|
|
355
363
|
};
|
|
364
|
+
type __VLS_Prettify<T> = {
|
|
365
|
+
[K in keyof T]: T[K];
|
|
366
|
+
} & {};
|
|
356
367
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
357
368
|
new (): {
|
|
358
369
|
$slots: S;
|
|
359
370
|
};
|
|
360
371
|
};
|
|
361
|
-
type __VLS_Prettify<T> = {
|
|
362
|
-
[K in keyof T]: T[K];
|
|
363
|
-
} & {};
|
|
@@ -129,7 +129,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
129
129
|
}>;
|
|
130
130
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
131
131
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
132
|
-
$emit: (event: "change"
|
|
132
|
+
$emit: ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void);
|
|
133
133
|
$el: any;
|
|
134
134
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
135
135
|
config: {
|
|
@@ -203,7 +203,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
203
203
|
changeHandler: () => void;
|
|
204
204
|
resetForm: () => any;
|
|
205
205
|
submitForm: (native?: boolean | undefined) => Promise<any>;
|
|
206
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
206
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
207
|
+
change: (...args: any[]) => void;
|
|
208
|
+
"field-input": (...args: any[]) => void;
|
|
209
|
+
"field-change": (...args: any[]) => void;
|
|
210
|
+
}, string, {
|
|
207
211
|
config: FormConfig;
|
|
208
212
|
initValues: Record<string, any>;
|
|
209
213
|
lastValues: Record<string, any>;
|
|
@@ -315,7 +319,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
315
319
|
save: () => Promise<void>;
|
|
316
320
|
show: () => void;
|
|
317
321
|
hide: () => void;
|
|
318
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
322
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
323
|
+
change: (...args: any[]) => void;
|
|
324
|
+
submit: (...args: any[]) => void;
|
|
325
|
+
error: (...args: any[]) => void;
|
|
326
|
+
close: (...args: any[]) => void;
|
|
327
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
319
328
|
config?: FormConfig | undefined;
|
|
320
329
|
values?: Object | undefined;
|
|
321
330
|
parentValues?: Object | undefined;
|
|
@@ -362,11 +371,11 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
362
371
|
default: D[K];
|
|
363
372
|
}> : P[K];
|
|
364
373
|
};
|
|
374
|
+
type __VLS_Prettify<T> = {
|
|
375
|
+
[K in keyof T]: T[K];
|
|
376
|
+
} & {};
|
|
365
377
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
366
378
|
new (): {
|
|
367
379
|
$slots: S;
|
|
368
380
|
};
|
|
369
381
|
};
|
|
370
|
-
type __VLS_Prettify<T> = {
|
|
371
|
-
[K in keyof T]: T[K];
|
|
372
|
-
} & {};
|
|
@@ -132,7 +132,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
132
132
|
}>;
|
|
133
133
|
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
134
134
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
135
|
-
$emit: (event: "change"
|
|
135
|
+
$emit: ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void);
|
|
136
136
|
$el: any;
|
|
137
137
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
138
138
|
config: {
|
|
@@ -206,7 +206,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
206
206
|
changeHandler: () => void;
|
|
207
207
|
resetForm: () => any;
|
|
208
208
|
submitForm: (native?: boolean | undefined) => Promise<any>;
|
|
209
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
209
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
210
|
+
change: (...args: any[]) => void;
|
|
211
|
+
"field-input": (...args: any[]) => void;
|
|
212
|
+
"field-change": (...args: any[]) => void;
|
|
213
|
+
}, string, {
|
|
210
214
|
config: FormConfig;
|
|
211
215
|
initValues: Record<string, any>;
|
|
212
216
|
lastValues: Record<string, any>;
|
|
@@ -317,7 +321,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
317
321
|
show: () => void;
|
|
318
322
|
hide: () => void;
|
|
319
323
|
handleClose: () => void;
|
|
320
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
324
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
325
|
+
change: (...args: any[]) => void;
|
|
326
|
+
submit: (...args: any[]) => void;
|
|
327
|
+
error: (...args: any[]) => void;
|
|
328
|
+
close: (...args: any[]) => void;
|
|
329
|
+
closed: (...args: any[]) => void;
|
|
330
|
+
open: (...args: any[]) => void;
|
|
331
|
+
opened: (...args: any[]) => void;
|
|
332
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
321
333
|
config?: FormConfig | undefined;
|
|
322
334
|
values?: Object | undefined;
|
|
323
335
|
parentValues?: Object | undefined;
|
|
@@ -371,11 +383,11 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
371
383
|
default: D[K];
|
|
372
384
|
}> : P[K];
|
|
373
385
|
};
|
|
386
|
+
type __VLS_Prettify<T> = {
|
|
387
|
+
[K in keyof T]: T[K];
|
|
388
|
+
} & {};
|
|
374
389
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
375
390
|
new (): {
|
|
376
391
|
$slots: S;
|
|
377
392
|
};
|
|
378
393
|
};
|
|
379
|
-
type __VLS_Prettify<T> = {
|
|
380
|
-
[K in keyof T]: T[K];
|
|
381
|
-
} & {};
|
|
@@ -10,7 +10,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
10
10
|
size?: string | undefined;
|
|
11
11
|
prop?: string | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
|
+
addDiffCount: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
17
|
model: any;
|
|
15
18
|
lastValues?: any;
|
|
16
19
|
isCompare?: boolean | undefined;
|
|
@@ -19,7 +19,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
19
|
expandMore: boolean;
|
|
20
20
|
lastValues: () => {};
|
|
21
21
|
isCompare: boolean;
|
|
22
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
22
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
change: (...args: any[]) => void;
|
|
24
|
+
addDiffCount: (...args: any[]) => void;
|
|
25
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
23
26
|
/** 表单值 */
|
|
24
27
|
model: FormValue;
|
|
25
28
|
/** 需对比的值(开启对比模式时传入) */
|
|
@@ -14,7 +14,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
prop: string;
|
|
15
15
|
lastValues: () => {};
|
|
16
16
|
isCompare: boolean;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
change: (...args: any[]) => void;
|
|
19
|
+
addDiffCount: (...args: any[]) => void;
|
|
20
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
21
|
labelWidth?: string | undefined;
|
|
19
22
|
prop: string;
|
|
20
23
|
size?: string | undefined;
|
|
@@ -9,7 +9,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
prop?: string | undefined;
|
|
10
10
|
size?: string | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
change: (...args: any[]) => void;
|
|
14
|
+
addDiffCount: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
16
|
model: any;
|
|
14
17
|
lastValues?: any;
|
|
15
18
|
isCompare?: boolean | undefined;
|
|
@@ -10,7 +10,12 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
10
10
|
size?: string | undefined;
|
|
11
11
|
index: number;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
|
+
addDiffCount: (...args: any[]) => void;
|
|
16
|
+
"swap-item": (...args: any[]) => void;
|
|
17
|
+
"remove-item": (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
19
|
model: any;
|
|
15
20
|
lastValues: any;
|
|
16
21
|
isCompare?: boolean | undefined;
|
|
@@ -9,7 +9,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
9
9
|
prop?: string | undefined;
|
|
10
10
|
size?: string | undefined;
|
|
11
11
|
disabled?: boolean | undefined;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
change: (...args: any[]) => void;
|
|
14
|
+
addDiffCount: (...args: any[]) => void;
|
|
15
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
16
|
model: any;
|
|
14
17
|
lastValues?: any;
|
|
15
18
|
isCompare?: boolean | undefined;
|
|
@@ -10,7 +10,10 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
10
10
|
size?: string | undefined;
|
|
11
11
|
expandMore?: boolean | undefined;
|
|
12
12
|
disabled?: boolean | undefined;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
|
+
addDiffCount: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
17
|
model: any;
|
|
15
18
|
lastValues?: any;
|
|
16
19
|
isCompare?: boolean | undefined;
|
|
@@ -10,7 +10,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
10
10
|
disabled?: boolean | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
stepActive: number;
|
|
13
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
change: (...args: any[]) => void;
|
|
15
|
+
addDiffCount: (...args: any[]) => void;
|
|
16
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
17
|
model: any;
|
|
15
18
|
lastValues?: any;
|
|
16
19
|
isCompare?: boolean | undefined;
|
|
@@ -23,7 +23,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
23
23
|
isCompare: boolean;
|
|
24
24
|
}>, {
|
|
25
25
|
toggleRowSelection: (row: any, selected: boolean) => void;
|
|
26
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
26
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
27
|
+
select: (...args: any[]) => void;
|
|
28
|
+
change: (...args: any[]) => void;
|
|
29
|
+
addDiffCount: (...args: any[]) => void;
|
|
30
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
27
31
|
model: any;
|
|
28
32
|
lastValues?: any;
|
|
29
33
|
isCompare?: boolean | undefined;
|
|
@@ -80,11 +84,11 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
80
84
|
default: D[K];
|
|
81
85
|
}> : P[K];
|
|
82
86
|
};
|
|
87
|
+
type __VLS_Prettify<T> = {
|
|
88
|
+
[K in keyof T]: T[K];
|
|
89
|
+
} & {};
|
|
83
90
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
84
91
|
new (): {
|
|
85
92
|
$slots: S;
|
|
86
93
|
};
|
|
87
94
|
};
|
|
88
|
-
type __VLS_Prettify<T> = {
|
|
89
|
-
[K in keyof T]: T[K];
|
|
90
|
-
} & {};
|
|
@@ -13,7 +13,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
13
13
|
}>, {
|
|
14
14
|
lastValues: () => {};
|
|
15
15
|
isCompare: boolean;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
17
|
+
change: (...args: any[]) => void;
|
|
18
|
+
addDiffCount: (...args: any[]) => void;
|
|
19
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
17
20
|
model: any;
|
|
18
21
|
lastValues?: any;
|
|
19
22
|
isCompare?: boolean | undefined;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { CascaderConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<CascaderConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<CascaderConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<CascaderConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { CheckboxConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<CheckboxConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<CheckboxConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<CheckboxConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { CheckboxGroupConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<CheckboxGroupConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<CheckboxGroupConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<CheckboxGroupConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { ColorPickConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<ColorPickConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<ColorPickConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: string) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<ColorPickConfig>>>> & {
|
|
5
|
+
onChange?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { DateConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DateConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DateConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: string) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<DateConfig>>>> & {
|
|
5
|
+
onChange?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { DateTimeConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DateTimeConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DateTimeConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: string) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<DateTimeConfig>>>> & {
|
|
5
|
+
onChange?: ((value: string) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { DaterangeConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DaterangeConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DaterangeConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<DaterangeConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { DynamicFieldConfig, FieldProps } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DynamicFieldConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<DynamicFieldConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<DynamicFieldConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { FieldProps, LinkConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<LinkConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<LinkConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<LinkConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { FieldProps, NumberConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<NumberConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<NumberConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (values: number) => void;
|
|
4
|
+
input: (values: number) => void;
|
|
5
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<NumberConfig>>>> & {
|
|
6
|
+
onChange?: ((values: number) => any) | undefined;
|
|
7
|
+
onInput?: ((values: number) => any) | undefined;
|
|
8
|
+
}, {}, {}>;
|
|
3
9
|
export default _default;
|
|
4
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { FieldProps, NumberRangeConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<NumberRangeConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<NumberRangeConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (values: [number, number]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<NumberRangeConfig>>>> & {
|
|
5
|
+
onChange?: ((values: [number, number]) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { FieldProps, RadioGroupConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<RadioGroupConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<RadioGroupConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<RadioGroupConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type { FieldProps, SelectConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<SelectConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<SelectConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (...args: any[]) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<SelectConfig>>>> & {
|
|
3
5
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
4
6
|
}, {}, {}>;
|
|
5
7
|
export default _default;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { FieldProps, SwitchConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<SwitchConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<SwitchConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: any) => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<SwitchConfig>>>> & {
|
|
5
|
+
onChange?: ((value: any) => any) | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
3
7
|
export default _default;
|
|
4
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
9
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import type { FieldProps, TextConfig } from '../schema';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<TextConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<FieldProps<TextConfig>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3
|
+
change: (value: string) => void;
|
|
4
|
+
input: (value: string) => void;
|
|
5
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FieldProps<TextConfig>>>> & {
|
|
6
|
+
onChange?: ((value: string) => any) | undefined;
|
|
7
|
+
onInput?: ((value: string) => any) | undefined;
|
|
8
|
+
}, {}, {}>;
|
|
3
9
|
export default _default;
|
|
4
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
11
|
type __VLS_TypePropsToRuntimeProps<T> = {
|