@tmagic/form 1.4.16 → 1.5.0-beta.1

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.
Files changed (42) hide show
  1. package/package.json +5 -9
  2. package/types/index.d.ts +3233 -39
  3. package/src/shims-vue.d.ts +0 -6
  4. package/types/Form.vue.d.ts +0 -118
  5. package/types/FormBox.vue.d.ts +0 -578
  6. package/types/FormDialog.vue.d.ts +0 -587
  7. package/types/FormDrawer.vue.d.ts +0 -599
  8. package/types/containers/Col.vue.d.ts +0 -40
  9. package/types/containers/Container.vue.d.ts +0 -72
  10. package/types/containers/Fieldset.vue.d.ts +0 -61
  11. package/types/containers/GroupList.vue.d.ts +0 -38
  12. package/types/containers/GroupListItem.vue.d.ts +0 -44
  13. package/types/containers/Panel.vue.d.ts +0 -48
  14. package/types/containers/Row.vue.d.ts +0 -40
  15. package/types/containers/Step.vue.d.ts +0 -50
  16. package/types/containers/Table.vue.d.ts +0 -96
  17. package/types/containers/Tabs.vue.d.ts +0 -57
  18. package/types/fields/Cascader.vue.d.ts +0 -16
  19. package/types/fields/Checkbox.vue.d.ts +0 -16
  20. package/types/fields/CheckboxGroup.vue.d.ts +0 -16
  21. package/types/fields/ColorPicker.vue.d.ts +0 -16
  22. package/types/fields/Date.vue.d.ts +0 -16
  23. package/types/fields/DateTime.vue.d.ts +0 -16
  24. package/types/fields/Daterange.vue.d.ts +0 -16
  25. package/types/fields/Display.vue.d.ts +0 -12
  26. package/types/fields/DynamicField.vue.d.ts +0 -16
  27. package/types/fields/Hidden.vue.d.ts +0 -12
  28. package/types/fields/Link.vue.d.ts +0 -16
  29. package/types/fields/Number.vue.d.ts +0 -18
  30. package/types/fields/NumberRange.vue.d.ts +0 -16
  31. package/types/fields/RadioGroup.vue.d.ts +0 -16
  32. package/types/fields/Select.vue.d.ts +0 -16
  33. package/types/fields/Switch.vue.d.ts +0 -16
  34. package/types/fields/Text.vue.d.ts +0 -18
  35. package/types/fields/Textarea.vue.d.ts +0 -18
  36. package/types/fields/Time.vue.d.ts +0 -16
  37. package/types/fields/Timerange.vue.d.ts +0 -16
  38. package/types/schema.d.ts +0 -605
  39. package/types/utils/config.d.ts +0 -3
  40. package/types/utils/containerProps.d.ts +0 -26
  41. package/types/utils/form.d.ts +0 -9
  42. package/types/utils/useAddField.d.ts +0 -1
@@ -1,6 +0,0 @@
1
- declare module '*.vue' {
2
- import { DefineComponent } from 'vue';
3
-
4
- const component: DefineComponent<{}, {}, any>;
5
- export default component;
6
- }
@@ -1,118 +0,0 @@
1
- import type { FormConfig, FormState, FormValue } from './schema';
2
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
- /** 表单配置 */
4
- config: FormConfig;
5
- /** 表单值 */
6
- initValues: Record<string, any>;
7
- /** 需对比的值(开启对比模式时传入) */
8
- lastValues?: Record<string, any>;
9
- /** 是否开启对比模式 */
10
- isCompare?: boolean;
11
- parentValues?: Record<string, any>;
12
- labelWidth?: string;
13
- disabled?: boolean;
14
- height?: string;
15
- stepActive?: string | number;
16
- size?: "small" | "default" | "large";
17
- inline?: boolean;
18
- labelPosition?: string;
19
- keyProp?: string;
20
- popperClass?: string;
21
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
22
- }>, {
23
- config: () => never[];
24
- initValues: () => {};
25
- lastValues: () => {};
26
- isCompare: boolean;
27
- parentValues: () => {};
28
- labelWidth: string;
29
- disabled: boolean;
30
- height: string;
31
- stepActive: number;
32
- inline: boolean;
33
- labelPosition: string;
34
- keyProp: string;
35
- }>, {
36
- values: import("vue").Ref<FormValue, FormValue>;
37
- lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
38
- formState: FormState;
39
- initialized: import("vue").Ref<boolean, boolean>;
40
- changeHandler: () => void;
41
- resetForm: () => any;
42
- submitForm: (native?: boolean) => Promise<any>;
43
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
- change: (...args: any[]) => void;
45
- error: (...args: any[]) => void;
46
- "field-input": (...args: any[]) => void;
47
- "field-change": (...args: any[]) => void;
48
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
49
- /** 表单配置 */
50
- config: FormConfig;
51
- /** 表单值 */
52
- initValues: Record<string, any>;
53
- /** 需对比的值(开启对比模式时传入) */
54
- lastValues?: Record<string, any>;
55
- /** 是否开启对比模式 */
56
- isCompare?: boolean;
57
- parentValues?: Record<string, any>;
58
- labelWidth?: string;
59
- disabled?: boolean;
60
- height?: string;
61
- stepActive?: string | number;
62
- size?: "small" | "default" | "large";
63
- inline?: boolean;
64
- labelPosition?: string;
65
- keyProp?: string;
66
- popperClass?: string;
67
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
68
- }>, {
69
- config: () => never[];
70
- initValues: () => {};
71
- lastValues: () => {};
72
- isCompare: boolean;
73
- parentValues: () => {};
74
- labelWidth: string;
75
- disabled: boolean;
76
- height: string;
77
- stepActive: number;
78
- inline: boolean;
79
- labelPosition: string;
80
- keyProp: string;
81
- }>>> & {
82
- onChange?: ((...args: any[]) => any) | undefined;
83
- onError?: ((...args: any[]) => any) | undefined;
84
- "onField-input"?: ((...args: any[]) => any) | undefined;
85
- "onField-change"?: ((...args: any[]) => any) | undefined;
86
- }, {
87
- config: FormConfig;
88
- initValues: Record<string, any>;
89
- lastValues: Record<string, any>;
90
- isCompare: boolean;
91
- keyProp: string;
92
- parentValues: Record<string, any>;
93
- labelWidth: string;
94
- disabled: boolean;
95
- stepActive: string | number;
96
- height: string;
97
- inline: boolean;
98
- labelPosition: string;
99
- }, {}>;
100
- export default _default;
101
-
102
- type __VLS_WithDefaults<P, D> = {
103
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
104
- default: D[K];
105
- }> : P[K];
106
- };
107
- type __VLS_Prettify<T> = {
108
- [K in keyof T]: T[K];
109
- } & {};
110
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
111
- type __VLS_TypePropsToOption<T> = {
112
- [K in keyof T]-?: {} extends Pick<T, K> ? {
113
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
114
- } : {
115
- type: import('vue').PropType<T[K]>;
116
- required: true;
117
- };
118
- };
@@ -1,578 +0,0 @@
1
- import type { FormConfig } from './schema';
2
- declare function __VLS_template(): {
3
- default?(_: {}): any;
4
- left?(_: {}): any;
5
- footer?(_: {}): any;
6
- };
7
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
8
- config?: FormConfig;
9
- values?: Object;
10
- parentValues?: Object;
11
- width?: number;
12
- height?: number;
13
- labelWidth?: string;
14
- disabled?: boolean;
15
- size?: "small" | "default" | "large";
16
- confirmText?: string;
17
- inline?: boolean;
18
- labelPosition?: string;
19
- }>, {
20
- config: () => never[];
21
- values: () => {};
22
- confirmText: string;
23
- }>, {
24
- form: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
25
- config: {
26
- type: import("vue").PropType<FormConfig>;
27
- required: true;
28
- default: () => never[];
29
- };
30
- popperClass: {
31
- type: import("vue").PropType<string>;
32
- };
33
- initValues: {
34
- type: import("vue").PropType<Record<string, any>>;
35
- required: true;
36
- default: () => {};
37
- };
38
- lastValues: {
39
- type: import("vue").PropType<Record<string, any>>;
40
- default: () => {};
41
- };
42
- isCompare: {
43
- type: import("vue").PropType<boolean>;
44
- default: boolean;
45
- };
46
- keyProp: {
47
- type: import("vue").PropType<string>;
48
- default: string;
49
- };
50
- parentValues: {
51
- type: import("vue").PropType<Record<string, any>>;
52
- default: () => {};
53
- };
54
- labelWidth: {
55
- type: import("vue").PropType<string>;
56
- default: string;
57
- };
58
- disabled: {
59
- type: import("vue").PropType<boolean>;
60
- default: boolean;
61
- };
62
- stepActive: {
63
- type: import("vue").PropType<string | number>;
64
- default: number;
65
- };
66
- size: {
67
- type: import("vue").PropType<"large" | "default" | "small">;
68
- };
69
- height: {
70
- type: import("vue").PropType<string>;
71
- default: string;
72
- };
73
- inline: {
74
- type: import("vue").PropType<boolean>;
75
- default: boolean;
76
- };
77
- labelPosition: {
78
- type: import("vue").PropType<string>;
79
- default: string;
80
- };
81
- extendState: {
82
- type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
83
- };
84
- }>> & {
85
- onChange?: ((...args: any[]) => any) | undefined;
86
- onError?: ((...args: any[]) => any) | undefined;
87
- "onField-input"?: ((...args: any[]) => any) | undefined;
88
- "onField-change"?: ((...args: any[]) => any) | undefined;
89
- }, {
90
- values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
91
- lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
92
- formState: import("./schema").FormState;
93
- initialized: import("vue").Ref<boolean, boolean>;
94
- changeHandler: () => void;
95
- resetForm: () => any;
96
- submitForm: (native?: boolean) => Promise<any>;
97
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
- change: (...args: any[]) => void;
99
- error: (...args: any[]) => void;
100
- "field-input": (...args: any[]) => void;
101
- "field-change": (...args: any[]) => void;
102
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
103
- config: {
104
- type: import("vue").PropType<FormConfig>;
105
- required: true;
106
- default: () => never[];
107
- };
108
- popperClass: {
109
- type: import("vue").PropType<string>;
110
- };
111
- initValues: {
112
- type: import("vue").PropType<Record<string, any>>;
113
- required: true;
114
- default: () => {};
115
- };
116
- lastValues: {
117
- type: import("vue").PropType<Record<string, any>>;
118
- default: () => {};
119
- };
120
- isCompare: {
121
- type: import("vue").PropType<boolean>;
122
- default: boolean;
123
- };
124
- keyProp: {
125
- type: import("vue").PropType<string>;
126
- default: string;
127
- };
128
- parentValues: {
129
- type: import("vue").PropType<Record<string, any>>;
130
- default: () => {};
131
- };
132
- labelWidth: {
133
- type: import("vue").PropType<string>;
134
- default: string;
135
- };
136
- disabled: {
137
- type: import("vue").PropType<boolean>;
138
- default: boolean;
139
- };
140
- stepActive: {
141
- type: import("vue").PropType<string | number>;
142
- default: number;
143
- };
144
- size: {
145
- type: import("vue").PropType<"large" | "default" | "small">;
146
- };
147
- height: {
148
- type: import("vue").PropType<string>;
149
- default: string;
150
- };
151
- inline: {
152
- type: import("vue").PropType<boolean>;
153
- default: boolean;
154
- };
155
- labelPosition: {
156
- type: import("vue").PropType<string>;
157
- default: string;
158
- };
159
- extendState: {
160
- type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
161
- };
162
- }>> & {
163
- onChange?: ((...args: any[]) => any) | undefined;
164
- onError?: ((...args: any[]) => any) | undefined;
165
- "onField-input"?: ((...args: any[]) => any) | undefined;
166
- "onField-change"?: ((...args: any[]) => any) | undefined;
167
- }, {
168
- config: FormConfig;
169
- initValues: Record<string, any>;
170
- lastValues: Record<string, any>;
171
- isCompare: boolean;
172
- keyProp: string;
173
- parentValues: Record<string, any>;
174
- labelWidth: string;
175
- disabled: boolean;
176
- stepActive: string | number;
177
- height: string;
178
- inline: boolean;
179
- labelPosition: string;
180
- }, true, {}, {}, {
181
- P: {};
182
- B: {};
183
- D: {};
184
- C: {};
185
- M: {};
186
- Defaults: {};
187
- }, Readonly<import("vue").ExtractPropTypes<{
188
- config: {
189
- type: import("vue").PropType<FormConfig>;
190
- required: true;
191
- default: () => never[];
192
- };
193
- popperClass: {
194
- type: import("vue").PropType<string>;
195
- };
196
- initValues: {
197
- type: import("vue").PropType<Record<string, any>>;
198
- required: true;
199
- default: () => {};
200
- };
201
- lastValues: {
202
- type: import("vue").PropType<Record<string, any>>;
203
- default: () => {};
204
- };
205
- isCompare: {
206
- type: import("vue").PropType<boolean>;
207
- default: boolean;
208
- };
209
- keyProp: {
210
- type: import("vue").PropType<string>;
211
- default: string;
212
- };
213
- parentValues: {
214
- type: import("vue").PropType<Record<string, any>>;
215
- default: () => {};
216
- };
217
- labelWidth: {
218
- type: import("vue").PropType<string>;
219
- default: string;
220
- };
221
- disabled: {
222
- type: import("vue").PropType<boolean>;
223
- default: boolean;
224
- };
225
- stepActive: {
226
- type: import("vue").PropType<string | number>;
227
- default: number;
228
- };
229
- size: {
230
- type: import("vue").PropType<"large" | "default" | "small">;
231
- };
232
- height: {
233
- type: import("vue").PropType<string>;
234
- default: string;
235
- };
236
- inline: {
237
- type: import("vue").PropType<boolean>;
238
- default: boolean;
239
- };
240
- labelPosition: {
241
- type: import("vue").PropType<string>;
242
- default: string;
243
- };
244
- extendState: {
245
- type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
246
- };
247
- }>> & {
248
- onChange?: ((...args: any[]) => any) | undefined;
249
- onError?: ((...args: any[]) => any) | undefined;
250
- "onField-input"?: ((...args: any[]) => any) | undefined;
251
- "onField-change"?: ((...args: any[]) => any) | undefined;
252
- }, {
253
- values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
254
- lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
255
- formState: import("./schema").FormState;
256
- initialized: import("vue").Ref<boolean, boolean>;
257
- changeHandler: () => void;
258
- resetForm: () => any;
259
- submitForm: (native?: boolean) => Promise<any>;
260
- }, {}, {}, {}, {
261
- config: FormConfig;
262
- initValues: Record<string, any>;
263
- lastValues: Record<string, any>;
264
- isCompare: boolean;
265
- keyProp: string;
266
- parentValues: Record<string, any>;
267
- labelWidth: string;
268
- disabled: boolean;
269
- stepActive: string | number;
270
- height: string;
271
- inline: boolean;
272
- labelPosition: string;
273
- }> | undefined, import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
274
- config: {
275
- type: import("vue").PropType<FormConfig>;
276
- required: true;
277
- default: () => never[];
278
- };
279
- popperClass: {
280
- type: import("vue").PropType<string>;
281
- };
282
- initValues: {
283
- type: import("vue").PropType<Record<string, any>>;
284
- required: true;
285
- default: () => {};
286
- };
287
- lastValues: {
288
- type: import("vue").PropType<Record<string, any>>;
289
- default: () => {};
290
- };
291
- isCompare: {
292
- type: import("vue").PropType<boolean>;
293
- default: boolean;
294
- };
295
- keyProp: {
296
- type: import("vue").PropType<string>;
297
- default: string;
298
- };
299
- parentValues: {
300
- type: import("vue").PropType<Record<string, any>>;
301
- default: () => {};
302
- };
303
- labelWidth: {
304
- type: import("vue").PropType<string>;
305
- default: string;
306
- };
307
- disabled: {
308
- type: import("vue").PropType<boolean>;
309
- default: boolean;
310
- };
311
- stepActive: {
312
- type: import("vue").PropType<string | number>;
313
- default: number;
314
- };
315
- size: {
316
- type: import("vue").PropType<"large" | "default" | "small">;
317
- };
318
- height: {
319
- type: import("vue").PropType<string>;
320
- default: string;
321
- };
322
- inline: {
323
- type: import("vue").PropType<boolean>;
324
- default: boolean;
325
- };
326
- labelPosition: {
327
- type: import("vue").PropType<string>;
328
- default: string;
329
- };
330
- extendState: {
331
- type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
332
- };
333
- }>> & {
334
- onChange?: ((...args: any[]) => any) | undefined;
335
- onError?: ((...args: any[]) => any) | undefined;
336
- "onField-input"?: ((...args: any[]) => any) | undefined;
337
- "onField-change"?: ((...args: any[]) => any) | undefined;
338
- }, {
339
- values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
340
- lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
341
- formState: import("./schema").FormState;
342
- initialized: import("vue").Ref<boolean, boolean>;
343
- changeHandler: () => void;
344
- resetForm: () => any;
345
- submitForm: (native?: boolean) => Promise<any>;
346
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
347
- change: (...args: any[]) => void;
348
- error: (...args: any[]) => void;
349
- "field-input": (...args: any[]) => void;
350
- "field-change": (...args: any[]) => void;
351
- }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
352
- config: {
353
- type: import("vue").PropType<FormConfig>;
354
- required: true;
355
- default: () => never[];
356
- };
357
- popperClass: {
358
- type: import("vue").PropType<string>;
359
- };
360
- initValues: {
361
- type: import("vue").PropType<Record<string, any>>;
362
- required: true;
363
- default: () => {};
364
- };
365
- lastValues: {
366
- type: import("vue").PropType<Record<string, any>>;
367
- default: () => {};
368
- };
369
- isCompare: {
370
- type: import("vue").PropType<boolean>;
371
- default: boolean;
372
- };
373
- keyProp: {
374
- type: import("vue").PropType<string>;
375
- default: string;
376
- };
377
- parentValues: {
378
- type: import("vue").PropType<Record<string, any>>;
379
- default: () => {};
380
- };
381
- labelWidth: {
382
- type: import("vue").PropType<string>;
383
- default: string;
384
- };
385
- disabled: {
386
- type: import("vue").PropType<boolean>;
387
- default: boolean;
388
- };
389
- stepActive: {
390
- type: import("vue").PropType<string | number>;
391
- default: number;
392
- };
393
- size: {
394
- type: import("vue").PropType<"large" | "default" | "small">;
395
- };
396
- height: {
397
- type: import("vue").PropType<string>;
398
- default: string;
399
- };
400
- inline: {
401
- type: import("vue").PropType<boolean>;
402
- default: boolean;
403
- };
404
- labelPosition: {
405
- type: import("vue").PropType<string>;
406
- default: string;
407
- };
408
- extendState: {
409
- type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
410
- };
411
- }>> & {
412
- onChange?: ((...args: any[]) => any) | undefined;
413
- onError?: ((...args: any[]) => any) | undefined;
414
- "onField-input"?: ((...args: any[]) => any) | undefined;
415
- "onField-change"?: ((...args: any[]) => any) | undefined;
416
- }, {
417
- config: FormConfig;
418
- initValues: Record<string, any>;
419
- lastValues: Record<string, any>;
420
- isCompare: boolean;
421
- keyProp: string;
422
- parentValues: Record<string, any>;
423
- labelWidth: string;
424
- disabled: boolean;
425
- stepActive: string | number;
426
- height: string;
427
- inline: boolean;
428
- labelPosition: string;
429
- }, true, {}, {}, {
430
- P: {};
431
- B: {};
432
- D: {};
433
- C: {};
434
- M: {};
435
- Defaults: {};
436
- }, Readonly<import("vue").ExtractPropTypes<{
437
- config: {
438
- type: import("vue").PropType<FormConfig>;
439
- required: true;
440
- default: () => never[];
441
- };
442
- popperClass: {
443
- type: import("vue").PropType<string>;
444
- };
445
- initValues: {
446
- type: import("vue").PropType<Record<string, any>>;
447
- required: true;
448
- default: () => {};
449
- };
450
- lastValues: {
451
- type: import("vue").PropType<Record<string, any>>;
452
- default: () => {};
453
- };
454
- isCompare: {
455
- type: import("vue").PropType<boolean>;
456
- default: boolean;
457
- };
458
- keyProp: {
459
- type: import("vue").PropType<string>;
460
- default: string;
461
- };
462
- parentValues: {
463
- type: import("vue").PropType<Record<string, any>>;
464
- default: () => {};
465
- };
466
- labelWidth: {
467
- type: import("vue").PropType<string>;
468
- default: string;
469
- };
470
- disabled: {
471
- type: import("vue").PropType<boolean>;
472
- default: boolean;
473
- };
474
- stepActive: {
475
- type: import("vue").PropType<string | number>;
476
- default: number;
477
- };
478
- size: {
479
- type: import("vue").PropType<"large" | "default" | "small">;
480
- };
481
- height: {
482
- type: import("vue").PropType<string>;
483
- default: string;
484
- };
485
- inline: {
486
- type: import("vue").PropType<boolean>;
487
- default: boolean;
488
- };
489
- labelPosition: {
490
- type: import("vue").PropType<string>;
491
- default: string;
492
- };
493
- extendState: {
494
- type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
495
- };
496
- }>> & {
497
- onChange?: ((...args: any[]) => any) | undefined;
498
- onError?: ((...args: any[]) => any) | undefined;
499
- "onField-input"?: ((...args: any[]) => any) | undefined;
500
- "onField-change"?: ((...args: any[]) => any) | undefined;
501
- }, {
502
- values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
503
- lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
504
- formState: import("./schema").FormState;
505
- initialized: import("vue").Ref<boolean, boolean>;
506
- changeHandler: () => void;
507
- resetForm: () => any;
508
- submitForm: (native?: boolean) => Promise<any>;
509
- }, {}, {}, {}, {
510
- config: FormConfig;
511
- initValues: Record<string, any>;
512
- lastValues: Record<string, any>;
513
- isCompare: boolean;
514
- keyProp: string;
515
- parentValues: Record<string, any>;
516
- labelWidth: string;
517
- disabled: boolean;
518
- stepActive: string | number;
519
- height: string;
520
- inline: boolean;
521
- labelPosition: string;
522
- }> | undefined>;
523
- saveFetch: import("vue").Ref<boolean, boolean>;
524
- show: () => void;
525
- hide: () => void;
526
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
527
- change: (...args: any[]) => void;
528
- error: (...args: any[]) => void;
529
- submit: (...args: any[]) => void;
530
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
531
- config?: FormConfig;
532
- values?: Object;
533
- parentValues?: Object;
534
- width?: number;
535
- height?: number;
536
- labelWidth?: string;
537
- disabled?: boolean;
538
- size?: "small" | "default" | "large";
539
- confirmText?: string;
540
- inline?: boolean;
541
- labelPosition?: string;
542
- }>, {
543
- config: () => never[];
544
- values: () => {};
545
- confirmText: string;
546
- }>>> & {
547
- onChange?: ((...args: any[]) => any) | undefined;
548
- onSubmit?: ((...args: any[]) => any) | undefined;
549
- onError?: ((...args: any[]) => any) | undefined;
550
- }, {
551
- config: FormConfig;
552
- values: Object;
553
- confirmText: string;
554
- }, {}>;
555
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
556
- export default _default;
557
- type __VLS_WithDefaults<P, D> = {
558
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
559
- default: D[K];
560
- }> : P[K];
561
- };
562
- type __VLS_Prettify<T> = {
563
- [K in keyof T]: T[K];
564
- } & {};
565
- type __VLS_WithTemplateSlots<T, S> = T & {
566
- new (): {
567
- $slots: S;
568
- };
569
- };
570
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
571
- type __VLS_TypePropsToOption<T> = {
572
- [K in keyof T]-?: {} extends Pick<T, K> ? {
573
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
574
- } : {
575
- type: import('vue').PropType<T[K]>;
576
- required: true;
577
- };
578
- };