@tmagic/form 1.4.14 → 1.4.16
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/package.json +6 -6
- package/types/Form.vue.d.ts +30 -30
- package/types/FormBox.vue.d.ts +288 -37
- package/types/FormDialog.vue.d.ts +293 -42
- package/types/FormDrawer.vue.d.ts +295 -44
- package/types/containers/Col.vue.d.ts +14 -14
- package/types/containers/Container.vue.d.ts +16 -16
- package/types/containers/Fieldset.vue.d.ts +10 -10
- package/types/containers/GroupList.vue.d.ts +10 -10
- package/types/containers/GroupListItem.vue.d.ts +10 -10
- package/types/containers/Panel.vue.d.ts +19 -17
- package/types/containers/Row.vue.d.ts +12 -12
- package/types/containers/Step.vue.d.ts +10 -10
- package/types/containers/Table.vue.d.ts +32 -30
- package/types/containers/Tabs.vue.d.ts +12 -12
- package/types/utils/form.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.4.
|
|
2
|
+
"version": "1.4.16",
|
|
3
3
|
"name": "@tmagic/form",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -43,19 +43,19 @@
|
|
|
43
43
|
"@types/lodash-es": "^4.17.4",
|
|
44
44
|
"@types/node": "^18.19.0",
|
|
45
45
|
"@types/sortablejs": "^1.15.8",
|
|
46
|
-
"@vitejs/plugin-vue": "^5.
|
|
46
|
+
"@vitejs/plugin-vue": "^5.1.1",
|
|
47
47
|
"@vue/compiler-sfc": "^3.4.27",
|
|
48
48
|
"@vue/test-utils": "^2.4.6",
|
|
49
49
|
"rimraf": "^3.0.2",
|
|
50
50
|
"sass": "^1.77.0",
|
|
51
|
-
"vite": "^5.3.
|
|
51
|
+
"vite": "^5.3.5",
|
|
52
52
|
"vue-tsc": "^2.0.19"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"vue": "^3.4.
|
|
55
|
+
"vue": "^3.4.35",
|
|
56
56
|
"typescript": "*",
|
|
57
|
-
"@tmagic/
|
|
58
|
-
"@tmagic/
|
|
57
|
+
"@tmagic/utils": "1.4.16",
|
|
58
|
+
"@tmagic/design": "1.4.16"
|
|
59
59
|
},
|
|
60
60
|
"peerDependenciesMeta": {
|
|
61
61
|
"typescript": {
|
package/types/Form.vue.d.ts
CHANGED
|
@@ -5,20 +5,20 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
5
5
|
/** 表单值 */
|
|
6
6
|
initValues: Record<string, any>;
|
|
7
7
|
/** 需对比的值(开启对比模式时传入) */
|
|
8
|
-
lastValues?: Record<string, any
|
|
8
|
+
lastValues?: Record<string, any>;
|
|
9
9
|
/** 是否开启对比模式 */
|
|
10
|
-
isCompare?: boolean
|
|
11
|
-
parentValues?: Record<string, any
|
|
12
|
-
labelWidth?: string
|
|
13
|
-
disabled?: boolean
|
|
14
|
-
height?: string
|
|
15
|
-
stepActive?: string | number
|
|
16
|
-
size?: "
|
|
17
|
-
inline?: boolean
|
|
18
|
-
labelPosition?: string
|
|
19
|
-
keyProp?: string
|
|
20
|
-
popperClass?: string
|
|
21
|
-
extendState?: (
|
|
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
22
|
}>, {
|
|
23
23
|
config: () => never[];
|
|
24
24
|
initValues: () => {};
|
|
@@ -33,13 +33,13 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
33
33
|
labelPosition: string;
|
|
34
34
|
keyProp: string;
|
|
35
35
|
}>, {
|
|
36
|
-
values: import("vue").Ref<FormValue>;
|
|
37
|
-
lastValuesProcessed: import("vue").Ref<FormValue>;
|
|
36
|
+
values: import("vue").Ref<FormValue, FormValue>;
|
|
37
|
+
lastValuesProcessed: import("vue").Ref<FormValue, FormValue>;
|
|
38
38
|
formState: FormState;
|
|
39
|
-
initialized: import("vue").Ref<boolean>;
|
|
39
|
+
initialized: import("vue").Ref<boolean, boolean>;
|
|
40
40
|
changeHandler: () => void;
|
|
41
41
|
resetForm: () => any;
|
|
42
|
-
submitForm: (native?: boolean
|
|
42
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
43
43
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
44
44
|
change: (...args: any[]) => void;
|
|
45
45
|
error: (...args: any[]) => void;
|
|
@@ -51,20 +51,20 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
51
51
|
/** 表单值 */
|
|
52
52
|
initValues: Record<string, any>;
|
|
53
53
|
/** 需对比的值(开启对比模式时传入) */
|
|
54
|
-
lastValues?: Record<string, any
|
|
54
|
+
lastValues?: Record<string, any>;
|
|
55
55
|
/** 是否开启对比模式 */
|
|
56
|
-
isCompare?: boolean
|
|
57
|
-
parentValues?: Record<string, any
|
|
58
|
-
labelWidth?: string
|
|
59
|
-
disabled?: boolean
|
|
60
|
-
height?: string
|
|
61
|
-
stepActive?: string | number
|
|
62
|
-
size?: "
|
|
63
|
-
inline?: boolean
|
|
64
|
-
labelPosition?: string
|
|
65
|
-
keyProp?: string
|
|
66
|
-
popperClass?: string
|
|
67
|
-
extendState?: (
|
|
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
68
|
}>, {
|
|
69
69
|
config: () => never[];
|
|
70
70
|
initValues: () => {};
|
package/types/FormBox.vue.d.ts
CHANGED
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import type { FormConfig } from './schema';
|
|
2
|
-
declare
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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;
|
|
14
19
|
}>, {
|
|
15
20
|
config: () => never[];
|
|
16
21
|
values: () => {};
|
|
@@ -82,13 +87,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
82
87
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
83
88
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
84
89
|
}, {
|
|
85
|
-
values: import("vue").Ref<import("./schema").FormValue>;
|
|
86
|
-
lastValuesProcessed: import("vue").Ref<import("./schema").FormValue>;
|
|
90
|
+
values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
|
|
91
|
+
lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
|
|
87
92
|
formState: import("./schema").FormState;
|
|
88
|
-
initialized: import("vue").Ref<boolean>;
|
|
93
|
+
initialized: import("vue").Ref<boolean, boolean>;
|
|
89
94
|
changeHandler: () => void;
|
|
90
95
|
resetForm: () => any;
|
|
91
|
-
submitForm: (native?: boolean
|
|
96
|
+
submitForm: (native?: boolean) => Promise<any>;
|
|
92
97
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
93
98
|
change: (...args: any[]) => void;
|
|
94
99
|
error: (...args: any[]) => void;
|
|
@@ -245,13 +250,262 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
245
250
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
246
251
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
247
252
|
}, {
|
|
248
|
-
values: import("vue").Ref<import("./schema").FormValue>;
|
|
249
|
-
lastValuesProcessed: import("vue").Ref<import("./schema").FormValue>;
|
|
253
|
+
values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
|
|
254
|
+
lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
|
|
250
255
|
formState: import("./schema").FormState;
|
|
251
|
-
initialized: import("vue").Ref<boolean>;
|
|
256
|
+
initialized: import("vue").Ref<boolean, boolean>;
|
|
252
257
|
changeHandler: () => void;
|
|
253
258
|
resetForm: () => any;
|
|
254
|
-
submitForm: (native?: boolean
|
|
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>;
|
|
255
509
|
}, {}, {}, {}, {
|
|
256
510
|
config: FormConfig;
|
|
257
511
|
initValues: Record<string, any>;
|
|
@@ -266,7 +520,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
266
520
|
inline: boolean;
|
|
267
521
|
labelPosition: string;
|
|
268
522
|
}> | undefined>;
|
|
269
|
-
saveFetch: import("vue").Ref<boolean>;
|
|
523
|
+
saveFetch: import("vue").Ref<boolean, boolean>;
|
|
270
524
|
show: () => void;
|
|
271
525
|
hide: () => void;
|
|
272
526
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -274,17 +528,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
274
528
|
error: (...args: any[]) => void;
|
|
275
529
|
submit: (...args: any[]) => void;
|
|
276
530
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
277
|
-
config?: FormConfig
|
|
278
|
-
values?: Object
|
|
279
|
-
parentValues?: Object
|
|
280
|
-
width?: number
|
|
281
|
-
height?: number
|
|
282
|
-
labelWidth?: string
|
|
283
|
-
disabled?: boolean
|
|
284
|
-
size?: "
|
|
285
|
-
confirmText?: string
|
|
286
|
-
inline?: boolean
|
|
287
|
-
labelPosition?: string
|
|
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;
|
|
288
542
|
}>, {
|
|
289
543
|
config: () => never[];
|
|
290
544
|
values: () => {};
|
|
@@ -297,11 +551,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
297
551
|
config: FormConfig;
|
|
298
552
|
values: Object;
|
|
299
553
|
confirmText: string;
|
|
300
|
-
}, {}
|
|
301
|
-
|
|
302
|
-
left?(_: {}): any;
|
|
303
|
-
footer?(_: {}): any;
|
|
304
|
-
}>;
|
|
554
|
+
}, {}>;
|
|
555
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
305
556
|
export default _default;
|
|
306
557
|
type __VLS_WithDefaults<P, D> = {
|
|
307
558
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|