@tmagic/form 1.4.15 → 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.
@@ -1,20 +1,25 @@
1
1
  import type { FormConfig } from './schema';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
- config?: FormConfig | undefined;
4
- values?: Object | undefined;
5
- parentValues?: Object | undefined;
6
- width?: string | number | undefined;
7
- labelWidth?: string | undefined;
8
- disabled?: boolean | undefined;
9
- closeOnPressEscape?: boolean | undefined;
10
- title?: string | undefined;
11
- zIndex?: number | undefined;
12
- size?: "large" | "default" | "small" | undefined;
13
- confirmText?: string | undefined;
14
- inline?: boolean | undefined;
15
- labelPosition?: string | undefined;
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?: string | number;
12
+ labelWidth?: string;
13
+ disabled?: boolean;
14
+ closeOnPressEscape?: boolean;
15
+ title?: string;
16
+ zIndex?: number;
17
+ size?: "small" | "default" | "large";
18
+ confirmText?: string;
19
+ inline?: boolean;
20
+ labelPosition?: string;
16
21
  /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
17
- beforeClose?: ((done: (cancel?: boolean | undefined) => void) => void) | undefined;
22
+ beforeClose?: (done: (cancel?: boolean) => void) => void;
18
23
  }>, {
19
24
  closeOnPressEscape: boolean;
20
25
  config: () => never[];
@@ -87,13 +92,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
87
92
  "onField-input"?: ((...args: any[]) => any) | undefined;
88
93
  "onField-change"?: ((...args: any[]) => any) | undefined;
89
94
  }, {
90
- values: import("vue").Ref<import("./schema").FormValue>;
91
- lastValuesProcessed: import("vue").Ref<import("./schema").FormValue>;
95
+ values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
96
+ lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
92
97
  formState: import("./schema").FormState;
93
- initialized: import("vue").Ref<boolean>;
98
+ initialized: import("vue").Ref<boolean, boolean>;
94
99
  changeHandler: () => void;
95
100
  resetForm: () => any;
96
- submitForm: (native?: boolean | undefined) => Promise<any>;
101
+ submitForm: (native?: boolean) => Promise<any>;
97
102
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
103
  change: (...args: any[]) => void;
99
104
  error: (...args: any[]) => void;
@@ -250,13 +255,262 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
250
255
  "onField-input"?: ((...args: any[]) => any) | undefined;
251
256
  "onField-change"?: ((...args: any[]) => any) | undefined;
252
257
  }, {
253
- values: import("vue").Ref<import("./schema").FormValue>;
254
- lastValuesProcessed: import("vue").Ref<import("./schema").FormValue>;
258
+ values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
259
+ lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
255
260
  formState: import("./schema").FormState;
256
- initialized: import("vue").Ref<boolean>;
261
+ initialized: import("vue").Ref<boolean, boolean>;
257
262
  changeHandler: () => void;
258
263
  resetForm: () => any;
259
- submitForm: (native?: boolean | undefined) => Promise<any>;
264
+ submitForm: (native?: boolean) => Promise<any>;
265
+ }, {}, {}, {}, {
266
+ config: FormConfig;
267
+ initValues: Record<string, any>;
268
+ lastValues: Record<string, any>;
269
+ isCompare: boolean;
270
+ keyProp: string;
271
+ parentValues: Record<string, any>;
272
+ labelWidth: string;
273
+ disabled: boolean;
274
+ stepActive: string | number;
275
+ height: string;
276
+ inline: boolean;
277
+ labelPosition: string;
278
+ }> | undefined, import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
279
+ config: {
280
+ type: import("vue").PropType<FormConfig>;
281
+ required: true;
282
+ default: () => never[];
283
+ };
284
+ popperClass: {
285
+ type: import("vue").PropType<string>;
286
+ };
287
+ initValues: {
288
+ type: import("vue").PropType<Record<string, any>>;
289
+ required: true;
290
+ default: () => {};
291
+ };
292
+ lastValues: {
293
+ type: import("vue").PropType<Record<string, any>>;
294
+ default: () => {};
295
+ };
296
+ isCompare: {
297
+ type: import("vue").PropType<boolean>;
298
+ default: boolean;
299
+ };
300
+ keyProp: {
301
+ type: import("vue").PropType<string>;
302
+ default: string;
303
+ };
304
+ parentValues: {
305
+ type: import("vue").PropType<Record<string, any>>;
306
+ default: () => {};
307
+ };
308
+ labelWidth: {
309
+ type: import("vue").PropType<string>;
310
+ default: string;
311
+ };
312
+ disabled: {
313
+ type: import("vue").PropType<boolean>;
314
+ default: boolean;
315
+ };
316
+ stepActive: {
317
+ type: import("vue").PropType<string | number>;
318
+ default: number;
319
+ };
320
+ size: {
321
+ type: import("vue").PropType<"large" | "default" | "small">;
322
+ };
323
+ height: {
324
+ type: import("vue").PropType<string>;
325
+ default: string;
326
+ };
327
+ inline: {
328
+ type: import("vue").PropType<boolean>;
329
+ default: boolean;
330
+ };
331
+ labelPosition: {
332
+ type: import("vue").PropType<string>;
333
+ default: string;
334
+ };
335
+ extendState: {
336
+ type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
337
+ };
338
+ }>> & {
339
+ onChange?: ((...args: any[]) => any) | undefined;
340
+ onError?: ((...args: any[]) => any) | undefined;
341
+ "onField-input"?: ((...args: any[]) => any) | undefined;
342
+ "onField-change"?: ((...args: any[]) => any) | undefined;
343
+ }, {
344
+ values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
345
+ lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
346
+ formState: import("./schema").FormState;
347
+ initialized: import("vue").Ref<boolean, boolean>;
348
+ changeHandler: () => void;
349
+ resetForm: () => any;
350
+ submitForm: (native?: boolean) => Promise<any>;
351
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
352
+ change: (...args: any[]) => void;
353
+ error: (...args: any[]) => void;
354
+ "field-input": (...args: any[]) => void;
355
+ "field-change": (...args: any[]) => void;
356
+ }, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
357
+ config: {
358
+ type: import("vue").PropType<FormConfig>;
359
+ required: true;
360
+ default: () => never[];
361
+ };
362
+ popperClass: {
363
+ type: import("vue").PropType<string>;
364
+ };
365
+ initValues: {
366
+ type: import("vue").PropType<Record<string, any>>;
367
+ required: true;
368
+ default: () => {};
369
+ };
370
+ lastValues: {
371
+ type: import("vue").PropType<Record<string, any>>;
372
+ default: () => {};
373
+ };
374
+ isCompare: {
375
+ type: import("vue").PropType<boolean>;
376
+ default: boolean;
377
+ };
378
+ keyProp: {
379
+ type: import("vue").PropType<string>;
380
+ default: string;
381
+ };
382
+ parentValues: {
383
+ type: import("vue").PropType<Record<string, any>>;
384
+ default: () => {};
385
+ };
386
+ labelWidth: {
387
+ type: import("vue").PropType<string>;
388
+ default: string;
389
+ };
390
+ disabled: {
391
+ type: import("vue").PropType<boolean>;
392
+ default: boolean;
393
+ };
394
+ stepActive: {
395
+ type: import("vue").PropType<string | number>;
396
+ default: number;
397
+ };
398
+ size: {
399
+ type: import("vue").PropType<"large" | "default" | "small">;
400
+ };
401
+ height: {
402
+ type: import("vue").PropType<string>;
403
+ default: string;
404
+ };
405
+ inline: {
406
+ type: import("vue").PropType<boolean>;
407
+ default: boolean;
408
+ };
409
+ labelPosition: {
410
+ type: import("vue").PropType<string>;
411
+ default: string;
412
+ };
413
+ extendState: {
414
+ type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
415
+ };
416
+ }>> & {
417
+ onChange?: ((...args: any[]) => any) | undefined;
418
+ onError?: ((...args: any[]) => any) | undefined;
419
+ "onField-input"?: ((...args: any[]) => any) | undefined;
420
+ "onField-change"?: ((...args: any[]) => any) | undefined;
421
+ }, {
422
+ config: FormConfig;
423
+ initValues: Record<string, any>;
424
+ lastValues: Record<string, any>;
425
+ isCompare: boolean;
426
+ keyProp: string;
427
+ parentValues: Record<string, any>;
428
+ labelWidth: string;
429
+ disabled: boolean;
430
+ stepActive: string | number;
431
+ height: string;
432
+ inline: boolean;
433
+ labelPosition: string;
434
+ }, true, {}, {}, {
435
+ P: {};
436
+ B: {};
437
+ D: {};
438
+ C: {};
439
+ M: {};
440
+ Defaults: {};
441
+ }, Readonly<import("vue").ExtractPropTypes<{
442
+ config: {
443
+ type: import("vue").PropType<FormConfig>;
444
+ required: true;
445
+ default: () => never[];
446
+ };
447
+ popperClass: {
448
+ type: import("vue").PropType<string>;
449
+ };
450
+ initValues: {
451
+ type: import("vue").PropType<Record<string, any>>;
452
+ required: true;
453
+ default: () => {};
454
+ };
455
+ lastValues: {
456
+ type: import("vue").PropType<Record<string, any>>;
457
+ default: () => {};
458
+ };
459
+ isCompare: {
460
+ type: import("vue").PropType<boolean>;
461
+ default: boolean;
462
+ };
463
+ keyProp: {
464
+ type: import("vue").PropType<string>;
465
+ default: string;
466
+ };
467
+ parentValues: {
468
+ type: import("vue").PropType<Record<string, any>>;
469
+ default: () => {};
470
+ };
471
+ labelWidth: {
472
+ type: import("vue").PropType<string>;
473
+ default: string;
474
+ };
475
+ disabled: {
476
+ type: import("vue").PropType<boolean>;
477
+ default: boolean;
478
+ };
479
+ stepActive: {
480
+ type: import("vue").PropType<string | number>;
481
+ default: number;
482
+ };
483
+ size: {
484
+ type: import("vue").PropType<"large" | "default" | "small">;
485
+ };
486
+ height: {
487
+ type: import("vue").PropType<string>;
488
+ default: string;
489
+ };
490
+ inline: {
491
+ type: import("vue").PropType<boolean>;
492
+ default: boolean;
493
+ };
494
+ labelPosition: {
495
+ type: import("vue").PropType<string>;
496
+ default: string;
497
+ };
498
+ extendState: {
499
+ type: import("vue").PropType<(state: import("./schema").FormState) => Record<string, any> | Promise<Record<string, any>>>;
500
+ };
501
+ }>> & {
502
+ onChange?: ((...args: any[]) => any) | undefined;
503
+ onError?: ((...args: any[]) => any) | undefined;
504
+ "onField-input"?: ((...args: any[]) => any) | undefined;
505
+ "onField-change"?: ((...args: any[]) => any) | undefined;
506
+ }, {
507
+ values: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
508
+ lastValuesProcessed: import("vue").Ref<import("./schema").FormValue, import("./schema").FormValue>;
509
+ formState: import("./schema").FormState;
510
+ initialized: import("vue").Ref<boolean, boolean>;
511
+ changeHandler: () => void;
512
+ resetForm: () => any;
513
+ submitForm: (native?: boolean) => Promise<any>;
260
514
  }, {}, {}, {}, {
261
515
  config: FormConfig;
262
516
  initValues: Record<string, any>;
@@ -271,8 +525,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
271
525
  inline: boolean;
272
526
  labelPosition: string;
273
527
  }> | undefined>;
274
- saveFetch: import("vue").Ref<boolean>;
275
- bodyHeight: import("vue").Ref<number>;
528
+ saveFetch: import("vue").Ref<boolean, boolean>;
529
+ bodyHeight: import("vue").Ref<number, number>;
276
530
  show: () => void;
277
531
  hide: () => void;
278
532
  handleClose: () => void;
@@ -285,21 +539,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
285
539
  open: (...args: any[]) => void;
286
540
  opened: (...args: any[]) => void;
287
541
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
288
- config?: FormConfig | undefined;
289
- values?: Object | undefined;
290
- parentValues?: Object | undefined;
291
- width?: string | number | undefined;
292
- labelWidth?: string | undefined;
293
- disabled?: boolean | undefined;
294
- closeOnPressEscape?: boolean | undefined;
295
- title?: string | undefined;
296
- zIndex?: number | undefined;
297
- size?: "large" | "default" | "small" | undefined;
298
- confirmText?: string | undefined;
299
- inline?: boolean | undefined;
300
- labelPosition?: string | undefined;
542
+ config?: FormConfig;
543
+ values?: Object;
544
+ parentValues?: Object;
545
+ width?: string | number;
546
+ labelWidth?: string;
547
+ disabled?: boolean;
548
+ closeOnPressEscape?: boolean;
549
+ title?: string;
550
+ zIndex?: number;
551
+ size?: "small" | "default" | "large";
552
+ confirmText?: string;
553
+ inline?: boolean;
554
+ labelPosition?: string;
301
555
  /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
302
- beforeClose?: ((done: (cancel?: boolean | undefined) => void) => void) | undefined;
556
+ beforeClose?: (done: (cancel?: boolean) => void) => void;
303
557
  }>, {
304
558
  closeOnPressEscape: boolean;
305
559
  config: () => never[];
@@ -318,11 +572,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
318
572
  values: Object;
319
573
  confirmText: string;
320
574
  closeOnPressEscape: boolean;
321
- }, {}>, {
322
- default?(_: {}): any;
323
- left?(_: {}): any;
324
- footer?(_: {}): any;
325
- }>;
575
+ }, {}>;
576
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
326
577
  export default _default;
327
578
  type __VLS_WithDefaults<P, D> = {
328
579
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
@@ -2,28 +2,28 @@ import { ChildConfig } from '../schema';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  model: any;
4
4
  lastValues?: any;
5
- isCompare?: boolean | undefined;
5
+ isCompare?: boolean;
6
6
  config: ChildConfig;
7
- labelWidth?: string | undefined;
8
- expandMore?: boolean | undefined;
9
- span?: number | undefined;
10
- size?: string | undefined;
11
- prop?: string | undefined;
12
- disabled?: boolean | undefined;
7
+ labelWidth?: string;
8
+ expandMore?: boolean;
9
+ span?: number;
10
+ size?: string;
11
+ prop?: string;
12
+ disabled?: boolean;
13
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  change: (...args: any[]) => void;
15
15
  addDiffCount: (...args: any[]) => void;
16
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
17
17
  model: any;
18
18
  lastValues?: any;
19
- isCompare?: boolean | undefined;
19
+ isCompare?: boolean;
20
20
  config: ChildConfig;
21
- labelWidth?: string | undefined;
22
- expandMore?: boolean | undefined;
23
- span?: number | undefined;
24
- size?: string | undefined;
25
- prop?: string | undefined;
26
- disabled?: boolean | undefined;
21
+ labelWidth?: string;
22
+ expandMore?: boolean;
23
+ span?: number;
24
+ size?: string;
25
+ prop?: string;
26
+ disabled?: boolean;
27
27
  }>>> & {
28
28
  onChange?: ((...args: any[]) => any) | undefined;
29
29
  onAddDiffCount?: ((...args: any[]) => any) | undefined;
@@ -3,16 +3,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
3
3
  /** 表单值 */
4
4
  model: FormValue;
5
5
  /** 需对比的值(开启对比模式时传入) */
6
- lastValues?: FormValue | undefined;
6
+ lastValues?: FormValue;
7
7
  config: ChildConfig;
8
- prop?: string | undefined;
9
- disabled?: boolean | undefined;
10
- labelWidth?: string | undefined;
11
- expandMore?: boolean | undefined;
12
- stepActive?: string | number | undefined;
13
- size?: string | undefined;
8
+ prop?: string;
9
+ disabled?: boolean;
10
+ labelWidth?: string;
11
+ expandMore?: boolean;
12
+ stepActive?: string | number;
13
+ size?: string;
14
14
  /** 是否开启对比模式 */
15
- isCompare?: boolean | undefined;
15
+ isCompare?: boolean;
16
16
  }>, {
17
17
  prop: string;
18
18
  size: string;
@@ -26,16 +26,16 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
26
26
  /** 表单值 */
27
27
  model: FormValue;
28
28
  /** 需对比的值(开启对比模式时传入) */
29
- lastValues?: FormValue | undefined;
29
+ lastValues?: FormValue;
30
30
  config: ChildConfig;
31
- prop?: string | undefined;
32
- disabled?: boolean | undefined;
33
- labelWidth?: string | undefined;
34
- expandMore?: boolean | undefined;
35
- stepActive?: string | number | undefined;
36
- size?: string | undefined;
31
+ prop?: string;
32
+ disabled?: boolean;
33
+ labelWidth?: string;
34
+ expandMore?: boolean;
35
+ stepActive?: string | number;
36
+ size?: string;
37
37
  /** 是否开启对比模式 */
38
- isCompare?: boolean | undefined;
38
+ isCompare?: boolean;
39
39
  }>, {
40
40
  prop: string;
41
41
  size: string;
@@ -1,14 +1,14 @@
1
1
  import { FieldsetConfig } from '../schema';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
- labelWidth?: string | undefined;
3
+ labelWidth?: string;
4
4
  prop: string;
5
- size?: string | undefined;
5
+ size?: string;
6
6
  model: Record<string, any>;
7
- lastValues?: Record<string, any> | undefined;
8
- isCompare?: boolean | undefined;
7
+ lastValues?: Record<string, any>;
8
+ isCompare?: boolean;
9
9
  config: FieldsetConfig;
10
10
  rules?: any;
11
- disabled?: boolean | undefined;
11
+ disabled?: boolean;
12
12
  }>, {
13
13
  rules: {};
14
14
  prop: string;
@@ -18,15 +18,15 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
18
18
  change: (...args: any[]) => void;
19
19
  addDiffCount: (...args: any[]) => void;
20
20
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
21
- labelWidth?: string | undefined;
21
+ labelWidth?: string;
22
22
  prop: string;
23
- size?: string | undefined;
23
+ size?: string;
24
24
  model: Record<string, any>;
25
- lastValues?: Record<string, any> | undefined;
26
- isCompare?: boolean | undefined;
25
+ lastValues?: Record<string, any>;
26
+ isCompare?: boolean;
27
27
  config: FieldsetConfig;
28
28
  rules?: any;
29
- disabled?: boolean | undefined;
29
+ disabled?: boolean;
30
30
  }>, {
31
31
  rules: {};
32
32
  prop: string;
@@ -2,26 +2,26 @@ import { GroupListConfig } from '../schema';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  model: any;
4
4
  lastValues?: any;
5
- isCompare?: boolean | undefined;
5
+ isCompare?: boolean;
6
6
  config: GroupListConfig;
7
7
  name: string;
8
- labelWidth?: string | undefined;
9
- prop?: string | undefined;
10
- size?: string | undefined;
11
- disabled?: boolean | undefined;
8
+ labelWidth?: string;
9
+ prop?: string;
10
+ size?: string;
11
+ disabled?: boolean;
12
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
13
  change: (...args: any[]) => void;
14
14
  addDiffCount: (...args: any[]) => void;
15
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
16
16
  model: any;
17
17
  lastValues?: any;
18
- isCompare?: boolean | undefined;
18
+ isCompare?: boolean;
19
19
  config: GroupListConfig;
20
20
  name: string;
21
- labelWidth?: string | undefined;
22
- prop?: string | undefined;
23
- size?: string | undefined;
24
- disabled?: boolean | undefined;
21
+ labelWidth?: string;
22
+ prop?: string;
23
+ size?: string;
24
+ disabled?: boolean;
25
25
  }>>> & {
26
26
  onChange?: ((...args: any[]) => any) | undefined;
27
27
  onAddDiffCount?: ((...args: any[]) => any) | undefined;
@@ -2,14 +2,14 @@ import { GroupListConfig } from '../schema';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
3
  model: any;
4
4
  lastValues: any;
5
- isCompare?: boolean | undefined;
5
+ isCompare?: boolean;
6
6
  groupModel: any[];
7
7
  config: GroupListConfig;
8
- labelWidth?: string | undefined;
9
- prop?: string | undefined;
10
- size?: string | undefined;
8
+ labelWidth?: string;
9
+ prop?: string;
10
+ size?: string;
11
11
  index: number;
12
- disabled?: boolean | undefined;
12
+ disabled?: boolean;
13
13
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
14
  change: (...args: any[]) => void;
15
15
  addDiffCount: (...args: any[]) => void;
@@ -18,14 +18,14 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<{
18
18
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
19
19
  model: any;
20
20
  lastValues: any;
21
- isCompare?: boolean | undefined;
21
+ isCompare?: boolean;
22
22
  groupModel: any[];
23
23
  config: GroupListConfig;
24
- labelWidth?: string | undefined;
25
- prop?: string | undefined;
26
- size?: string | undefined;
24
+ labelWidth?: string;
25
+ prop?: string;
26
+ size?: string;
27
27
  index: number;
28
- disabled?: boolean | undefined;
28
+ disabled?: boolean;
29
29
  }>>> & {
30
30
  onChange?: ((...args: any[]) => any) | undefined;
31
31
  onAddDiffCount?: ((...args: any[]) => any) | undefined;
@@ -1,34 +1,36 @@
1
1
  import { PanelConfig } from '../schema';
2
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
2
+ declare function __VLS_template(): {
3
+ header?(_: {}): any;
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import("vue").DefineComponent<__VLS_TypePropsToOption<{
3
7
  model: any;
4
8
  lastValues?: any;
5
- isCompare?: boolean | undefined;
9
+ isCompare?: boolean;
6
10
  config: PanelConfig;
7
- name?: string | undefined;
8
- labelWidth?: string | undefined;
9
- prop?: string | undefined;
10
- size?: string | undefined;
11
- disabled?: boolean | undefined;
11
+ name?: string;
12
+ labelWidth?: string;
13
+ prop?: string;
14
+ size?: string;
15
+ disabled?: boolean;
12
16
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
13
17
  change: (...args: any[]) => void;
14
18
  addDiffCount: (...args: any[]) => void;
15
19
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
16
20
  model: any;
17
21
  lastValues?: any;
18
- isCompare?: boolean | undefined;
22
+ isCompare?: boolean;
19
23
  config: PanelConfig;
20
- name?: string | undefined;
21
- labelWidth?: string | undefined;
22
- prop?: string | undefined;
23
- size?: string | undefined;
24
- disabled?: boolean | undefined;
24
+ name?: string;
25
+ labelWidth?: string;
26
+ prop?: string;
27
+ size?: string;
28
+ disabled?: boolean;
25
29
  }>>> & {
26
30
  onChange?: ((...args: any[]) => any) | undefined;
27
31
  onAddDiffCount?: ((...args: any[]) => any) | undefined;
28
- }, {}, {}>, {
29
- header?(_: {}): any;
30
- default?(_: {}): any;
31
- }>;
32
+ }, {}, {}>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
34
  export default _default;
33
35
  type __VLS_WithTemplateSlots<T, S> = T & {
34
36
  new (): {