tiddy 1.2.0 → 1.3.0
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/index.d.ts +212 -212
- package/dist/index.js +7 -7
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as vue337 from "vue";
|
|
2
2
|
import { AllowedComponentProps, CSSProperties, Component, ComputedRef, ExtractPublicPropTypes, PropType, Raw, Slot, Slots } from "vue";
|
|
3
|
-
import * as
|
|
3
|
+
import * as element_plus335 from "element-plus";
|
|
4
4
|
import { DialogInstance, FormInstance, FormItemProps, FormItemRule, FormProps, TableInstance, dialogProps } from "element-plus";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
5
|
+
import * as element_plus_es_components_table_src_table_defaults_mjs266 from "element-plus/es/components/table/src/table/defaults.mjs";
|
|
6
|
+
import * as element_plus_es_components_table_src_table_column_defaults_mjs267 from "element-plus/es/components/table/src/table-column/defaults.mjs";
|
|
7
|
+
import * as element_plus_es_utils_index_mjs292 from "element-plus/es/utils/index.mjs";
|
|
8
|
+
import * as element_plus_es_components_tooltip_index_mjs260 from "element-plus/es/components/tooltip/index.mjs";
|
|
9
9
|
|
|
10
10
|
//#region src/types.d.ts
|
|
11
11
|
type OrArray<T> = T | T[];
|
|
@@ -253,7 +253,7 @@ declare const formItemPropsDef: {
|
|
|
253
253
|
readonly default: "";
|
|
254
254
|
};
|
|
255
255
|
prop: {
|
|
256
|
-
readonly type: PropType<
|
|
256
|
+
readonly type: PropType<element_plus335.FormItemProp>;
|
|
257
257
|
readonly required: false;
|
|
258
258
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
259
259
|
__epPropKey: true;
|
|
@@ -315,24 +315,24 @@ type __VLS_Slots$3 = {} & {
|
|
|
315
315
|
} & {
|
|
316
316
|
suffix?: (props: typeof __VLS_18) => any;
|
|
317
317
|
};
|
|
318
|
-
declare const __VLS_component$3:
|
|
318
|
+
declare const __VLS_component$3: vue337.DefineComponent<vue337.ExtractPropTypes<{
|
|
319
319
|
fields: {
|
|
320
|
-
type:
|
|
320
|
+
type: vue337.PropType<TdFormFieldProps[]>;
|
|
321
321
|
default: () => never[];
|
|
322
322
|
};
|
|
323
323
|
item: {
|
|
324
|
-
type:
|
|
324
|
+
type: vue337.PropType<FormItemProps>;
|
|
325
325
|
default: () => {};
|
|
326
326
|
};
|
|
327
327
|
model: ObjectConstructor;
|
|
328
328
|
rules: {
|
|
329
|
-
readonly type:
|
|
329
|
+
readonly type: vue337.PropType<Partial<Record<string, element_plus335.FormItemRule | element_plus335.FormItemRule[]>>>;
|
|
330
330
|
readonly required: false;
|
|
331
331
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
332
332
|
__epPropKey: true;
|
|
333
333
|
};
|
|
334
334
|
labelPosition: {
|
|
335
|
-
readonly type:
|
|
335
|
+
readonly type: vue337.PropType<"top" | "left" | "right">;
|
|
336
336
|
readonly required: false;
|
|
337
337
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
338
338
|
__epPropKey: true;
|
|
@@ -340,7 +340,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
340
340
|
readonly default: "right";
|
|
341
341
|
};
|
|
342
342
|
requireAsteriskPosition: {
|
|
343
|
-
readonly type:
|
|
343
|
+
readonly type: vue337.PropType<"left" | "right">;
|
|
344
344
|
readonly required: false;
|
|
345
345
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
346
346
|
__epPropKey: true;
|
|
@@ -348,7 +348,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
348
348
|
readonly default: "left";
|
|
349
349
|
};
|
|
350
350
|
labelWidth: {
|
|
351
|
-
readonly type:
|
|
351
|
+
readonly type: vue337.PropType<string | number>;
|
|
352
352
|
readonly required: false;
|
|
353
353
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
354
|
__epPropKey: true;
|
|
@@ -356,7 +356,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
356
356
|
readonly default: "";
|
|
357
357
|
};
|
|
358
358
|
labelSuffix: {
|
|
359
|
-
readonly type:
|
|
359
|
+
readonly type: vue337.PropType<string>;
|
|
360
360
|
readonly required: false;
|
|
361
361
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
362
362
|
__epPropKey: true;
|
|
@@ -367,7 +367,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
367
367
|
inlineMessage: BooleanConstructor;
|
|
368
368
|
statusIcon: BooleanConstructor;
|
|
369
369
|
showMessage: {
|
|
370
|
-
readonly type:
|
|
370
|
+
readonly type: vue337.PropType<boolean>;
|
|
371
371
|
readonly required: false;
|
|
372
372
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
373
373
|
__epPropKey: true;
|
|
@@ -375,7 +375,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
375
375
|
readonly default: true;
|
|
376
376
|
};
|
|
377
377
|
validateOnRuleChange: {
|
|
378
|
-
readonly type:
|
|
378
|
+
readonly type: vue337.PropType<boolean>;
|
|
379
379
|
readonly required: false;
|
|
380
380
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
381
381
|
__epPropKey: true;
|
|
@@ -385,7 +385,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
385
385
|
hideRequiredAsterisk: BooleanConstructor;
|
|
386
386
|
scrollToError: BooleanConstructor;
|
|
387
387
|
scrollIntoViewOptions: {
|
|
388
|
-
readonly type:
|
|
388
|
+
readonly type: vue337.PropType<boolean | Record<string, any>>;
|
|
389
389
|
readonly required: false;
|
|
390
390
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
391
|
__epPropKey: true;
|
|
@@ -393,7 +393,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
393
393
|
readonly default: true;
|
|
394
394
|
};
|
|
395
395
|
size: {
|
|
396
|
-
readonly type:
|
|
396
|
+
readonly type: vue337.PropType<"" | "default" | "small" | "large">;
|
|
397
397
|
readonly required: false;
|
|
398
398
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
399
|
__epPropKey: true;
|
|
@@ -401,28 +401,28 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
401
401
|
disabled: BooleanConstructor;
|
|
402
402
|
}>, {
|
|
403
403
|
reValidateErrorFields: typeof reValidateErrorFields;
|
|
404
|
-
model:
|
|
405
|
-
}, {}, {}, {},
|
|
404
|
+
model: vue337.ComputedRef<Record<string, any> | undefined>;
|
|
405
|
+
}, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {
|
|
406
406
|
validate: () => any;
|
|
407
407
|
submit: (data: any) => any;
|
|
408
|
-
}, string,
|
|
408
|
+
}, string, vue337.PublicProps, Readonly<vue337.ExtractPropTypes<{
|
|
409
409
|
fields: {
|
|
410
|
-
type:
|
|
410
|
+
type: vue337.PropType<TdFormFieldProps[]>;
|
|
411
411
|
default: () => never[];
|
|
412
412
|
};
|
|
413
413
|
item: {
|
|
414
|
-
type:
|
|
414
|
+
type: vue337.PropType<FormItemProps>;
|
|
415
415
|
default: () => {};
|
|
416
416
|
};
|
|
417
417
|
model: ObjectConstructor;
|
|
418
418
|
rules: {
|
|
419
|
-
readonly type:
|
|
419
|
+
readonly type: vue337.PropType<Partial<Record<string, element_plus335.FormItemRule | element_plus335.FormItemRule[]>>>;
|
|
420
420
|
readonly required: false;
|
|
421
421
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
422
422
|
__epPropKey: true;
|
|
423
423
|
};
|
|
424
424
|
labelPosition: {
|
|
425
|
-
readonly type:
|
|
425
|
+
readonly type: vue337.PropType<"top" | "left" | "right">;
|
|
426
426
|
readonly required: false;
|
|
427
427
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
428
428
|
__epPropKey: true;
|
|
@@ -430,7 +430,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
430
430
|
readonly default: "right";
|
|
431
431
|
};
|
|
432
432
|
requireAsteriskPosition: {
|
|
433
|
-
readonly type:
|
|
433
|
+
readonly type: vue337.PropType<"left" | "right">;
|
|
434
434
|
readonly required: false;
|
|
435
435
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
436
436
|
__epPropKey: true;
|
|
@@ -438,7 +438,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
438
438
|
readonly default: "left";
|
|
439
439
|
};
|
|
440
440
|
labelWidth: {
|
|
441
|
-
readonly type:
|
|
441
|
+
readonly type: vue337.PropType<string | number>;
|
|
442
442
|
readonly required: false;
|
|
443
443
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
444
444
|
__epPropKey: true;
|
|
@@ -446,7 +446,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
446
446
|
readonly default: "";
|
|
447
447
|
};
|
|
448
448
|
labelSuffix: {
|
|
449
|
-
readonly type:
|
|
449
|
+
readonly type: vue337.PropType<string>;
|
|
450
450
|
readonly required: false;
|
|
451
451
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
452
452
|
__epPropKey: true;
|
|
@@ -457,7 +457,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
457
457
|
inlineMessage: BooleanConstructor;
|
|
458
458
|
statusIcon: BooleanConstructor;
|
|
459
459
|
showMessage: {
|
|
460
|
-
readonly type:
|
|
460
|
+
readonly type: vue337.PropType<boolean>;
|
|
461
461
|
readonly required: false;
|
|
462
462
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
463
463
|
__epPropKey: true;
|
|
@@ -465,7 +465,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
465
465
|
readonly default: true;
|
|
466
466
|
};
|
|
467
467
|
validateOnRuleChange: {
|
|
468
|
-
readonly type:
|
|
468
|
+
readonly type: vue337.PropType<boolean>;
|
|
469
469
|
readonly required: false;
|
|
470
470
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
471
471
|
__epPropKey: true;
|
|
@@ -475,7 +475,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
475
475
|
hideRequiredAsterisk: BooleanConstructor;
|
|
476
476
|
scrollToError: BooleanConstructor;
|
|
477
477
|
scrollIntoViewOptions: {
|
|
478
|
-
readonly type:
|
|
478
|
+
readonly type: vue337.PropType<boolean | Record<string, any>>;
|
|
479
479
|
readonly required: false;
|
|
480
480
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
481
481
|
__epPropKey: true;
|
|
@@ -483,7 +483,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
483
483
|
readonly default: true;
|
|
484
484
|
};
|
|
485
485
|
size: {
|
|
486
|
-
readonly type:
|
|
486
|
+
readonly type: vue337.PropType<"" | "default" | "small" | "large">;
|
|
487
487
|
readonly required: false;
|
|
488
488
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
489
489
|
__epPropKey: true;
|
|
@@ -494,12 +494,12 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
494
494
|
onSubmit?: ((data: any) => any) | undefined;
|
|
495
495
|
}>, {
|
|
496
496
|
disabled: boolean;
|
|
497
|
+
hideRequiredAsterisk: boolean;
|
|
497
498
|
labelWidth: string | number;
|
|
498
499
|
labelPosition: "top" | "left" | "right";
|
|
499
|
-
fields: TdFormFieldProps[];
|
|
500
|
-
hideRequiredAsterisk: boolean;
|
|
501
500
|
inlineMessage: boolean;
|
|
502
501
|
showMessage: boolean;
|
|
502
|
+
fields: TdFormFieldProps[];
|
|
503
503
|
item: FormItemProps;
|
|
504
504
|
requireAsteriskPosition: "left" | "right";
|
|
505
505
|
labelSuffix: string;
|
|
@@ -508,7 +508,7 @@ declare const __VLS_component$3: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
508
508
|
validateOnRuleChange: boolean;
|
|
509
509
|
scrollToError: boolean;
|
|
510
510
|
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
511
|
-
}, {}, {}, {}, string,
|
|
511
|
+
}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any>;
|
|
512
512
|
declare const _default$1: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
|
|
513
513
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
514
514
|
new (): {
|
|
@@ -519,22 +519,22 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
519
519
|
//#region src/form/form-item.vue.d.ts
|
|
520
520
|
declare var __VLS_8: string | number, __VLS_9: any;
|
|
521
521
|
type __VLS_Slots$2 = {} & { [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9) => any };
|
|
522
|
-
declare const __VLS_component$2:
|
|
522
|
+
declare const __VLS_component$2: vue337.DefineComponent<vue337.ExtractPropTypes<{
|
|
523
523
|
messageLabel: {
|
|
524
|
-
type:
|
|
524
|
+
type: vue337.PropType<string | vue337.ComputedRef<string>>;
|
|
525
525
|
default: string;
|
|
526
526
|
};
|
|
527
527
|
formatMessage: {
|
|
528
|
-
type:
|
|
528
|
+
type: vue337.PropType<AnyFunction>;
|
|
529
529
|
default: null;
|
|
530
530
|
};
|
|
531
531
|
hideRequiredAsterisk: {
|
|
532
|
-
type:
|
|
532
|
+
type: vue337.PropType<boolean>;
|
|
533
533
|
default: boolean;
|
|
534
534
|
};
|
|
535
535
|
label: StringConstructor;
|
|
536
536
|
labelWidth: {
|
|
537
|
-
readonly type:
|
|
537
|
+
readonly type: vue337.PropType<string | number>;
|
|
538
538
|
readonly required: false;
|
|
539
539
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
540
540
|
__epPropKey: true;
|
|
@@ -542,7 +542,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
542
542
|
readonly default: "";
|
|
543
543
|
};
|
|
544
544
|
labelPosition: {
|
|
545
|
-
readonly type:
|
|
545
|
+
readonly type: vue337.PropType<"" | "top" | "left" | "right">;
|
|
546
546
|
readonly required: false;
|
|
547
547
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
548
548
|
__epPropKey: true;
|
|
@@ -550,13 +550,13 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
550
550
|
readonly default: "";
|
|
551
551
|
};
|
|
552
552
|
prop: {
|
|
553
|
-
readonly type:
|
|
553
|
+
readonly type: vue337.PropType<element_plus335.FormItemProp>;
|
|
554
554
|
readonly required: false;
|
|
555
555
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
556
556
|
__epPropKey: true;
|
|
557
557
|
};
|
|
558
558
|
required: {
|
|
559
|
-
readonly type:
|
|
559
|
+
readonly type: vue337.PropType<boolean>;
|
|
560
560
|
readonly required: false;
|
|
561
561
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
562
562
|
__epPropKey: true;
|
|
@@ -564,21 +564,21 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
564
564
|
readonly default: undefined;
|
|
565
565
|
};
|
|
566
566
|
rules: {
|
|
567
|
-
readonly type:
|
|
567
|
+
readonly type: vue337.PropType<element_plus335.FormItemRule | element_plus335.FormItemRule[]>;
|
|
568
568
|
readonly required: false;
|
|
569
569
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
570
570
|
__epPropKey: true;
|
|
571
571
|
};
|
|
572
572
|
error: StringConstructor;
|
|
573
573
|
validateStatus: {
|
|
574
|
-
readonly type:
|
|
574
|
+
readonly type: vue337.PropType<"" | "error" | "success" | "validating">;
|
|
575
575
|
readonly required: false;
|
|
576
576
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
577
577
|
__epPropKey: true;
|
|
578
578
|
};
|
|
579
579
|
for: StringConstructor;
|
|
580
580
|
inlineMessage: {
|
|
581
|
-
readonly type:
|
|
581
|
+
readonly type: vue337.PropType<string | boolean>;
|
|
582
582
|
readonly required: false;
|
|
583
583
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
584
584
|
__epPropKey: true;
|
|
@@ -586,7 +586,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
586
586
|
readonly default: "";
|
|
587
587
|
};
|
|
588
588
|
showMessage: {
|
|
589
|
-
readonly type:
|
|
589
|
+
readonly type: vue337.PropType<boolean>;
|
|
590
590
|
readonly required: false;
|
|
591
591
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
592
592
|
__epPropKey: true;
|
|
@@ -594,27 +594,27 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
594
594
|
readonly default: true;
|
|
595
595
|
};
|
|
596
596
|
size: {
|
|
597
|
-
readonly type:
|
|
597
|
+
readonly type: vue337.PropType<"" | "default" | "small" | "large">;
|
|
598
598
|
readonly required: false;
|
|
599
599
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
600
600
|
__epPropKey: true;
|
|
601
601
|
};
|
|
602
|
-
}>, {}, {}, {}, {},
|
|
602
|
+
}>, {}, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<vue337.ExtractPropTypes<{
|
|
603
603
|
messageLabel: {
|
|
604
|
-
type:
|
|
604
|
+
type: vue337.PropType<string | vue337.ComputedRef<string>>;
|
|
605
605
|
default: string;
|
|
606
606
|
};
|
|
607
607
|
formatMessage: {
|
|
608
|
-
type:
|
|
608
|
+
type: vue337.PropType<AnyFunction>;
|
|
609
609
|
default: null;
|
|
610
610
|
};
|
|
611
611
|
hideRequiredAsterisk: {
|
|
612
|
-
type:
|
|
612
|
+
type: vue337.PropType<boolean>;
|
|
613
613
|
default: boolean;
|
|
614
614
|
};
|
|
615
615
|
label: StringConstructor;
|
|
616
616
|
labelWidth: {
|
|
617
|
-
readonly type:
|
|
617
|
+
readonly type: vue337.PropType<string | number>;
|
|
618
618
|
readonly required: false;
|
|
619
619
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
620
620
|
__epPropKey: true;
|
|
@@ -622,7 +622,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
622
622
|
readonly default: "";
|
|
623
623
|
};
|
|
624
624
|
labelPosition: {
|
|
625
|
-
readonly type:
|
|
625
|
+
readonly type: vue337.PropType<"" | "top" | "left" | "right">;
|
|
626
626
|
readonly required: false;
|
|
627
627
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
628
628
|
__epPropKey: true;
|
|
@@ -630,13 +630,13 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
630
630
|
readonly default: "";
|
|
631
631
|
};
|
|
632
632
|
prop: {
|
|
633
|
-
readonly type:
|
|
633
|
+
readonly type: vue337.PropType<element_plus335.FormItemProp>;
|
|
634
634
|
readonly required: false;
|
|
635
635
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
636
636
|
__epPropKey: true;
|
|
637
637
|
};
|
|
638
638
|
required: {
|
|
639
|
-
readonly type:
|
|
639
|
+
readonly type: vue337.PropType<boolean>;
|
|
640
640
|
readonly required: false;
|
|
641
641
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
642
642
|
__epPropKey: true;
|
|
@@ -644,21 +644,21 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
644
644
|
readonly default: undefined;
|
|
645
645
|
};
|
|
646
646
|
rules: {
|
|
647
|
-
readonly type:
|
|
647
|
+
readonly type: vue337.PropType<element_plus335.FormItemRule | element_plus335.FormItemRule[]>;
|
|
648
648
|
readonly required: false;
|
|
649
649
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
650
650
|
__epPropKey: true;
|
|
651
651
|
};
|
|
652
652
|
error: StringConstructor;
|
|
653
653
|
validateStatus: {
|
|
654
|
-
readonly type:
|
|
654
|
+
readonly type: vue337.PropType<"" | "error" | "success" | "validating">;
|
|
655
655
|
readonly required: false;
|
|
656
656
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
657
657
|
__epPropKey: true;
|
|
658
658
|
};
|
|
659
659
|
for: StringConstructor;
|
|
660
660
|
inlineMessage: {
|
|
661
|
-
readonly type:
|
|
661
|
+
readonly type: vue337.PropType<string | boolean>;
|
|
662
662
|
readonly required: false;
|
|
663
663
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
664
664
|
__epPropKey: true;
|
|
@@ -666,7 +666,7 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
666
666
|
readonly default: "";
|
|
667
667
|
};
|
|
668
668
|
showMessage: {
|
|
669
|
-
readonly type:
|
|
669
|
+
readonly type: vue337.PropType<boolean>;
|
|
670
670
|
readonly required: false;
|
|
671
671
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
672
672
|
__epPropKey: true;
|
|
@@ -674,21 +674,21 @@ declare const __VLS_component$2: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
674
674
|
readonly default: true;
|
|
675
675
|
};
|
|
676
676
|
size: {
|
|
677
|
-
readonly type:
|
|
677
|
+
readonly type: vue337.PropType<"" | "default" | "small" | "large">;
|
|
678
678
|
readonly required: false;
|
|
679
679
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
680
680
|
__epPropKey: true;
|
|
681
681
|
};
|
|
682
682
|
}>> & Readonly<{}>, {
|
|
683
683
|
required: boolean;
|
|
684
|
-
|
|
685
|
-
labelPosition: "" | "top" | "left" | "right";
|
|
686
|
-
messageLabel: string | vue272.ComputedRef<string>;
|
|
684
|
+
messageLabel: string | vue337.ComputedRef<string>;
|
|
687
685
|
formatMessage: AnyFunction;
|
|
688
686
|
hideRequiredAsterisk: boolean;
|
|
687
|
+
labelWidth: string | number;
|
|
688
|
+
labelPosition: "" | "top" | "left" | "right";
|
|
689
689
|
inlineMessage: string | boolean;
|
|
690
690
|
showMessage: boolean;
|
|
691
|
-
}, {}, {}, {}, string,
|
|
691
|
+
}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any>;
|
|
692
692
|
declare const _default$3: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
|
|
693
693
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
694
694
|
new (): {
|
|
@@ -697,7 +697,7 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
697
697
|
};
|
|
698
698
|
//#endregion
|
|
699
699
|
//#region src/form/form-field.vue.d.ts
|
|
700
|
-
declare const _default$2:
|
|
700
|
+
declare const _default$2: vue337.DefineComponent<{}, {}, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any>;
|
|
701
701
|
//#endregion
|
|
702
702
|
//#region src/form/index.d.ts
|
|
703
703
|
type Instance$2 = InstanceType<typeof _default$1>;
|
|
@@ -723,13 +723,13 @@ declare const tableColumnPropsDef: {
|
|
|
723
723
|
type: (NumberConstructor | StringConstructor)[];
|
|
724
724
|
default: string;
|
|
725
725
|
};
|
|
726
|
-
renderHeader: PropType<
|
|
726
|
+
renderHeader: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["renderHeader"]>;
|
|
727
727
|
sortable: {
|
|
728
728
|
type: (StringConstructor | BooleanConstructor)[];
|
|
729
729
|
default: boolean;
|
|
730
730
|
};
|
|
731
|
-
sortMethod: PropType<
|
|
732
|
-
sortBy: PropType<
|
|
731
|
+
sortMethod: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortMethod"]>;
|
|
732
|
+
sortBy: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortBy"]>;
|
|
733
733
|
resizable: {
|
|
734
734
|
type: BooleanConstructor;
|
|
735
735
|
default: boolean;
|
|
@@ -738,28 +738,28 @@ declare const tableColumnPropsDef: {
|
|
|
738
738
|
align: StringConstructor;
|
|
739
739
|
headerAlign: StringConstructor;
|
|
740
740
|
showOverflowTooltip: {
|
|
741
|
-
type: PropType<
|
|
741
|
+
type: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["showOverflowTooltip"]>;
|
|
742
742
|
default: undefined;
|
|
743
743
|
};
|
|
744
|
-
tooltipFormatter: PropType<
|
|
744
|
+
tooltipFormatter: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipFormatter"]>;
|
|
745
745
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
746
|
-
formatter: PropType<
|
|
747
|
-
selectable: PropType<
|
|
746
|
+
formatter: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["formatter"]>;
|
|
747
|
+
selectable: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["selectable"]>;
|
|
748
748
|
reserveSelection: BooleanConstructor;
|
|
749
|
-
filterMethod: PropType<
|
|
750
|
-
filteredValue: PropType<
|
|
751
|
-
filters: PropType<
|
|
749
|
+
filterMethod: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filterMethod"]>;
|
|
750
|
+
filteredValue: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filteredValue"]>;
|
|
751
|
+
filters: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filters"]>;
|
|
752
752
|
filterPlacement: StringConstructor;
|
|
753
753
|
filterMultiple: {
|
|
754
754
|
type: BooleanConstructor;
|
|
755
755
|
default: boolean;
|
|
756
756
|
};
|
|
757
757
|
filterClassName: StringConstructor;
|
|
758
|
-
index: PropType<
|
|
758
|
+
index: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["index"]>;
|
|
759
759
|
sortOrders: {
|
|
760
|
-
type: PropType<
|
|
760
|
+
type: PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortOrders"]>;
|
|
761
761
|
default: () => (string | null)[];
|
|
762
|
-
validator: (val:
|
|
762
|
+
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
763
763
|
};
|
|
764
764
|
slots: {
|
|
765
765
|
type: PropType<OrArray<SlotDef>>;
|
|
@@ -780,11 +780,11 @@ type ColumnsType = {
|
|
|
780
780
|
type TdTableColumnProps = ColumnsType & ExtractPublicPropTypes<Omit<typeof tableColumnPropsDef, "columns">>;
|
|
781
781
|
declare const tablePropsDef: {
|
|
782
782
|
data: {
|
|
783
|
-
type: PropType<
|
|
783
|
+
type: PropType<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow[]>;
|
|
784
784
|
default: () => never[];
|
|
785
785
|
};
|
|
786
786
|
size: {
|
|
787
|
-
readonly type: PropType<
|
|
787
|
+
readonly type: PropType<element_plus_es_utils_index_mjs292.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
788
788
|
readonly required: false;
|
|
789
789
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
790
790
|
__epPropKey: true;
|
|
@@ -798,31 +798,31 @@ declare const tablePropsDef: {
|
|
|
798
798
|
};
|
|
799
799
|
stripe: BooleanConstructor;
|
|
800
800
|
border: BooleanConstructor;
|
|
801
|
-
rowKey: PropType<
|
|
801
|
+
rowKey: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowKey"]>;
|
|
802
802
|
showHeader: {
|
|
803
803
|
type: BooleanConstructor;
|
|
804
804
|
default: boolean;
|
|
805
805
|
};
|
|
806
806
|
showSummary: BooleanConstructor;
|
|
807
807
|
sumText: StringConstructor;
|
|
808
|
-
summaryMethod: PropType<
|
|
809
|
-
rowClassName: PropType<
|
|
810
|
-
rowStyle: PropType<
|
|
811
|
-
cellClassName: PropType<
|
|
812
|
-
cellStyle: PropType<
|
|
813
|
-
headerRowClassName: PropType<
|
|
814
|
-
headerRowStyle: PropType<
|
|
815
|
-
headerCellClassName: PropType<
|
|
816
|
-
headerCellStyle: PropType<
|
|
808
|
+
summaryMethod: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["summaryMethod"]>;
|
|
809
|
+
rowClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowClassName"]>;
|
|
810
|
+
rowStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowStyle"]>;
|
|
811
|
+
cellClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["cellClassName"]>;
|
|
812
|
+
cellStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["cellStyle"]>;
|
|
813
|
+
headerRowClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerRowClassName"]>;
|
|
814
|
+
headerRowStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerRowStyle"]>;
|
|
815
|
+
headerCellClassName: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerCellClassName"]>;
|
|
816
|
+
headerCellStyle: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerCellStyle"]>;
|
|
817
817
|
highlightCurrentRow: BooleanConstructor;
|
|
818
818
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
819
819
|
emptyText: StringConstructor;
|
|
820
|
-
expandRowKeys: PropType<
|
|
820
|
+
expandRowKeys: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["expandRowKeys"]>;
|
|
821
821
|
defaultExpandAll: BooleanConstructor;
|
|
822
|
-
defaultSort: PropType<
|
|
822
|
+
defaultSort: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["defaultSort"]>;
|
|
823
823
|
tooltipEffect: StringConstructor;
|
|
824
|
-
tooltipOptions: PropType<
|
|
825
|
-
spanMethod: PropType<
|
|
824
|
+
tooltipOptions: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipOptions"]>;
|
|
825
|
+
spanMethod: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["spanMethod"]>;
|
|
826
826
|
selectOnIndeterminate: {
|
|
827
827
|
type: BooleanConstructor;
|
|
828
828
|
default: boolean;
|
|
@@ -832,7 +832,7 @@ declare const tablePropsDef: {
|
|
|
832
832
|
default: number;
|
|
833
833
|
};
|
|
834
834
|
treeProps: {
|
|
835
|
-
type: PropType<
|
|
835
|
+
type: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["treeProps"]>;
|
|
836
836
|
default: () => {
|
|
837
837
|
hasChildren: string;
|
|
838
838
|
children: string;
|
|
@@ -840,9 +840,9 @@ declare const tablePropsDef: {
|
|
|
840
840
|
};
|
|
841
841
|
};
|
|
842
842
|
lazy: BooleanConstructor;
|
|
843
|
-
load: PropType<
|
|
843
|
+
load: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["load"]>;
|
|
844
844
|
style: {
|
|
845
|
-
type: PropType<
|
|
845
|
+
type: PropType<vue337.CSSProperties>;
|
|
846
846
|
default: () => {};
|
|
847
847
|
};
|
|
848
848
|
className: {
|
|
@@ -855,8 +855,8 @@ declare const tablePropsDef: {
|
|
|
855
855
|
};
|
|
856
856
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
857
857
|
flexible: BooleanConstructor;
|
|
858
|
-
showOverflowTooltip: PropType<
|
|
859
|
-
tooltipFormatter: PropType<
|
|
858
|
+
showOverflowTooltip: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["showOverflowTooltip"]>;
|
|
859
|
+
tooltipFormatter: PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipFormatter"]>;
|
|
860
860
|
appendFilterPanelTo: StringConstructor;
|
|
861
861
|
scrollbarTabindex: {
|
|
862
862
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -884,13 +884,13 @@ type __VLS_Slots$1 = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof
|
|
|
884
884
|
} & {
|
|
885
885
|
after?: (props: typeof __VLS_16) => any;
|
|
886
886
|
};
|
|
887
|
-
declare const __VLS_component$1:
|
|
887
|
+
declare const __VLS_component$1: vue337.DefineComponent<vue337.ExtractPropTypes<{
|
|
888
888
|
data: {
|
|
889
|
-
type:
|
|
889
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow[]>;
|
|
890
890
|
default: () => never[];
|
|
891
891
|
};
|
|
892
892
|
size: {
|
|
893
|
-
readonly type:
|
|
893
|
+
readonly type: vue337.PropType<element_plus_es_utils_index_mjs292.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
894
894
|
readonly required: false;
|
|
895
895
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
896
896
|
__epPropKey: true;
|
|
@@ -904,31 +904,31 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
904
904
|
};
|
|
905
905
|
stripe: BooleanConstructor;
|
|
906
906
|
border: BooleanConstructor;
|
|
907
|
-
rowKey:
|
|
907
|
+
rowKey: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowKey"]>;
|
|
908
908
|
showHeader: {
|
|
909
909
|
type: BooleanConstructor;
|
|
910
910
|
default: boolean;
|
|
911
911
|
};
|
|
912
912
|
showSummary: BooleanConstructor;
|
|
913
913
|
sumText: StringConstructor;
|
|
914
|
-
summaryMethod:
|
|
915
|
-
rowClassName:
|
|
916
|
-
rowStyle:
|
|
917
|
-
cellClassName:
|
|
918
|
-
cellStyle:
|
|
919
|
-
headerRowClassName:
|
|
920
|
-
headerRowStyle:
|
|
921
|
-
headerCellClassName:
|
|
922
|
-
headerCellStyle:
|
|
914
|
+
summaryMethod: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["summaryMethod"]>;
|
|
915
|
+
rowClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowClassName"]>;
|
|
916
|
+
rowStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowStyle"]>;
|
|
917
|
+
cellClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["cellClassName"]>;
|
|
918
|
+
cellStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["cellStyle"]>;
|
|
919
|
+
headerRowClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerRowClassName"]>;
|
|
920
|
+
headerRowStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerRowStyle"]>;
|
|
921
|
+
headerCellClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerCellClassName"]>;
|
|
922
|
+
headerCellStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerCellStyle"]>;
|
|
923
923
|
highlightCurrentRow: BooleanConstructor;
|
|
924
924
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
925
925
|
emptyText: StringConstructor;
|
|
926
|
-
expandRowKeys:
|
|
926
|
+
expandRowKeys: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["expandRowKeys"]>;
|
|
927
927
|
defaultExpandAll: BooleanConstructor;
|
|
928
|
-
defaultSort:
|
|
928
|
+
defaultSort: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["defaultSort"]>;
|
|
929
929
|
tooltipEffect: StringConstructor;
|
|
930
|
-
tooltipOptions:
|
|
931
|
-
spanMethod:
|
|
930
|
+
tooltipOptions: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipOptions"]>;
|
|
931
|
+
spanMethod: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["spanMethod"]>;
|
|
932
932
|
selectOnIndeterminate: {
|
|
933
933
|
type: BooleanConstructor;
|
|
934
934
|
default: boolean;
|
|
@@ -938,7 +938,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
938
938
|
default: number;
|
|
939
939
|
};
|
|
940
940
|
treeProps: {
|
|
941
|
-
type:
|
|
941
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["treeProps"]>;
|
|
942
942
|
default: () => {
|
|
943
943
|
hasChildren: string;
|
|
944
944
|
children: string;
|
|
@@ -946,9 +946,9 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
946
946
|
};
|
|
947
947
|
};
|
|
948
948
|
lazy: BooleanConstructor;
|
|
949
|
-
load:
|
|
949
|
+
load: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["load"]>;
|
|
950
950
|
style: {
|
|
951
|
-
type:
|
|
951
|
+
type: vue337.PropType<vue337.CSSProperties>;
|
|
952
952
|
default: () => {};
|
|
953
953
|
};
|
|
954
954
|
className: {
|
|
@@ -956,13 +956,13 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
956
956
|
default: string;
|
|
957
957
|
};
|
|
958
958
|
tableLayout: {
|
|
959
|
-
type:
|
|
959
|
+
type: vue337.PropType<"fixed" | "auto">;
|
|
960
960
|
default: string;
|
|
961
961
|
};
|
|
962
962
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
963
963
|
flexible: BooleanConstructor;
|
|
964
|
-
showOverflowTooltip:
|
|
965
|
-
tooltipFormatter:
|
|
964
|
+
showOverflowTooltip: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["showOverflowTooltip"]>;
|
|
965
|
+
tooltipFormatter: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipFormatter"]>;
|
|
966
966
|
appendFilterPanelTo: StringConstructor;
|
|
967
967
|
scrollbarTabindex: {
|
|
968
968
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -977,16 +977,16 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
977
977
|
default: boolean;
|
|
978
978
|
};
|
|
979
979
|
columns: {
|
|
980
|
-
type:
|
|
980
|
+
type: vue337.PropType<TdTableColumnProps[]>;
|
|
981
981
|
default: () => never[];
|
|
982
982
|
};
|
|
983
|
-
}>, {}, {}, {}, {},
|
|
983
|
+
}>, {}, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<vue337.ExtractPropTypes<{
|
|
984
984
|
data: {
|
|
985
|
-
type:
|
|
985
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow[]>;
|
|
986
986
|
default: () => never[];
|
|
987
987
|
};
|
|
988
988
|
size: {
|
|
989
|
-
readonly type:
|
|
989
|
+
readonly type: vue337.PropType<element_plus_es_utils_index_mjs292.EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>;
|
|
990
990
|
readonly required: false;
|
|
991
991
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
992
992
|
__epPropKey: true;
|
|
@@ -1000,31 +1000,31 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1000
1000
|
};
|
|
1001
1001
|
stripe: BooleanConstructor;
|
|
1002
1002
|
border: BooleanConstructor;
|
|
1003
|
-
rowKey:
|
|
1003
|
+
rowKey: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowKey"]>;
|
|
1004
1004
|
showHeader: {
|
|
1005
1005
|
type: BooleanConstructor;
|
|
1006
1006
|
default: boolean;
|
|
1007
1007
|
};
|
|
1008
1008
|
showSummary: BooleanConstructor;
|
|
1009
1009
|
sumText: StringConstructor;
|
|
1010
|
-
summaryMethod:
|
|
1011
|
-
rowClassName:
|
|
1012
|
-
rowStyle:
|
|
1013
|
-
cellClassName:
|
|
1014
|
-
cellStyle:
|
|
1015
|
-
headerRowClassName:
|
|
1016
|
-
headerRowStyle:
|
|
1017
|
-
headerCellClassName:
|
|
1018
|
-
headerCellStyle:
|
|
1010
|
+
summaryMethod: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["summaryMethod"]>;
|
|
1011
|
+
rowClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowClassName"]>;
|
|
1012
|
+
rowStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["rowStyle"]>;
|
|
1013
|
+
cellClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["cellClassName"]>;
|
|
1014
|
+
cellStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["cellStyle"]>;
|
|
1015
|
+
headerRowClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerRowClassName"]>;
|
|
1016
|
+
headerRowStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerRowStyle"]>;
|
|
1017
|
+
headerCellClassName: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerCellClassName"]>;
|
|
1018
|
+
headerCellStyle: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["headerCellStyle"]>;
|
|
1019
1019
|
highlightCurrentRow: BooleanConstructor;
|
|
1020
1020
|
currentRowKey: (NumberConstructor | StringConstructor)[];
|
|
1021
1021
|
emptyText: StringConstructor;
|
|
1022
|
-
expandRowKeys:
|
|
1022
|
+
expandRowKeys: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["expandRowKeys"]>;
|
|
1023
1023
|
defaultExpandAll: BooleanConstructor;
|
|
1024
|
-
defaultSort:
|
|
1024
|
+
defaultSort: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["defaultSort"]>;
|
|
1025
1025
|
tooltipEffect: StringConstructor;
|
|
1026
|
-
tooltipOptions:
|
|
1027
|
-
spanMethod:
|
|
1026
|
+
tooltipOptions: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipOptions"]>;
|
|
1027
|
+
spanMethod: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["spanMethod"]>;
|
|
1028
1028
|
selectOnIndeterminate: {
|
|
1029
1029
|
type: BooleanConstructor;
|
|
1030
1030
|
default: boolean;
|
|
@@ -1034,7 +1034,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1034
1034
|
default: number;
|
|
1035
1035
|
};
|
|
1036
1036
|
treeProps: {
|
|
1037
|
-
type:
|
|
1037
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["treeProps"]>;
|
|
1038
1038
|
default: () => {
|
|
1039
1039
|
hasChildren: string;
|
|
1040
1040
|
children: string;
|
|
@@ -1042,9 +1042,9 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1042
1042
|
};
|
|
1043
1043
|
};
|
|
1044
1044
|
lazy: BooleanConstructor;
|
|
1045
|
-
load:
|
|
1045
|
+
load: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["load"]>;
|
|
1046
1046
|
style: {
|
|
1047
|
-
type:
|
|
1047
|
+
type: vue337.PropType<vue337.CSSProperties>;
|
|
1048
1048
|
default: () => {};
|
|
1049
1049
|
};
|
|
1050
1050
|
className: {
|
|
@@ -1052,13 +1052,13 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1052
1052
|
default: string;
|
|
1053
1053
|
};
|
|
1054
1054
|
tableLayout: {
|
|
1055
|
-
type:
|
|
1055
|
+
type: vue337.PropType<"fixed" | "auto">;
|
|
1056
1056
|
default: string;
|
|
1057
1057
|
};
|
|
1058
1058
|
scrollbarAlwaysOn: BooleanConstructor;
|
|
1059
1059
|
flexible: BooleanConstructor;
|
|
1060
|
-
showOverflowTooltip:
|
|
1061
|
-
tooltipFormatter:
|
|
1060
|
+
showOverflowTooltip: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["showOverflowTooltip"]>;
|
|
1061
|
+
tooltipFormatter: vue337.PropType<element_plus_es_components_table_src_table_defaults_mjs266.TableProps<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipFormatter"]>;
|
|
1062
1062
|
appendFilterPanelTo: StringConstructor;
|
|
1063
1063
|
scrollbarTabindex: {
|
|
1064
1064
|
type: (NumberConstructor | StringConstructor)[];
|
|
@@ -1073,11 +1073,11 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1073
1073
|
default: boolean;
|
|
1074
1074
|
};
|
|
1075
1075
|
columns: {
|
|
1076
|
-
type:
|
|
1076
|
+
type: vue337.PropType<TdTableColumnProps[]>;
|
|
1077
1077
|
default: () => never[];
|
|
1078
1078
|
};
|
|
1079
1079
|
}>> & Readonly<{}>, {
|
|
1080
|
-
style:
|
|
1080
|
+
style: vue337.CSSProperties;
|
|
1081
1081
|
columns: TdTableColumnProps[];
|
|
1082
1082
|
className: string;
|
|
1083
1083
|
data: any[];
|
|
@@ -1090,7 +1090,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1090
1090
|
defaultExpandAll: boolean;
|
|
1091
1091
|
selectOnIndeterminate: boolean;
|
|
1092
1092
|
indent: number;
|
|
1093
|
-
treeProps:
|
|
1093
|
+
treeProps: element_plus_es_components_table_src_table_defaults_mjs266.TreeProps | undefined;
|
|
1094
1094
|
lazy: boolean;
|
|
1095
1095
|
tableLayout: "fixed" | "auto";
|
|
1096
1096
|
scrollbarAlwaysOn: boolean;
|
|
@@ -1098,7 +1098,7 @@ declare const __VLS_component$1: vue272.DefineComponent<vue272.ExtractPropTypes<
|
|
|
1098
1098
|
scrollbarTabindex: string | number;
|
|
1099
1099
|
allowDragLastColumn: boolean;
|
|
1100
1100
|
preserveExpandedContent: boolean;
|
|
1101
|
-
}, {}, {}, {}, string,
|
|
1101
|
+
}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any>;
|
|
1102
1102
|
declare const _default$4: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
1103
1103
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
1104
1104
|
new (): {
|
|
@@ -1107,7 +1107,7 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
//#endregion
|
|
1109
1109
|
//#region src/table/table-col.vue.d.ts
|
|
1110
|
-
declare const _default$5:
|
|
1110
|
+
declare const _default$5: vue337.DefineComponent<vue337.ExtractPropTypes<{
|
|
1111
1111
|
type: {
|
|
1112
1112
|
type: StringConstructor;
|
|
1113
1113
|
default: string;
|
|
@@ -1125,13 +1125,13 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1125
1125
|
type: (NumberConstructor | StringConstructor)[];
|
|
1126
1126
|
default: string;
|
|
1127
1127
|
};
|
|
1128
|
-
renderHeader:
|
|
1128
|
+
renderHeader: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["renderHeader"]>;
|
|
1129
1129
|
sortable: {
|
|
1130
1130
|
type: (StringConstructor | BooleanConstructor)[];
|
|
1131
1131
|
default: boolean;
|
|
1132
1132
|
};
|
|
1133
|
-
sortMethod:
|
|
1134
|
-
sortBy:
|
|
1133
|
+
sortMethod: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortMethod"]>;
|
|
1134
|
+
sortBy: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortBy"]>;
|
|
1135
1135
|
resizable: {
|
|
1136
1136
|
type: BooleanConstructor;
|
|
1137
1137
|
default: boolean;
|
|
@@ -1140,42 +1140,42 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1140
1140
|
align: StringConstructor;
|
|
1141
1141
|
headerAlign: StringConstructor;
|
|
1142
1142
|
showOverflowTooltip: {
|
|
1143
|
-
type:
|
|
1143
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["showOverflowTooltip"]>;
|
|
1144
1144
|
default: undefined;
|
|
1145
1145
|
};
|
|
1146
|
-
tooltipFormatter:
|
|
1146
|
+
tooltipFormatter: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipFormatter"]>;
|
|
1147
1147
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
1148
|
-
formatter:
|
|
1149
|
-
selectable:
|
|
1148
|
+
formatter: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["formatter"]>;
|
|
1149
|
+
selectable: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["selectable"]>;
|
|
1150
1150
|
reserveSelection: BooleanConstructor;
|
|
1151
|
-
filterMethod:
|
|
1152
|
-
filteredValue:
|
|
1153
|
-
filters:
|
|
1151
|
+
filterMethod: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filterMethod"]>;
|
|
1152
|
+
filteredValue: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filteredValue"]>;
|
|
1153
|
+
filters: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filters"]>;
|
|
1154
1154
|
filterPlacement: StringConstructor;
|
|
1155
1155
|
filterMultiple: {
|
|
1156
1156
|
type: BooleanConstructor;
|
|
1157
1157
|
default: boolean;
|
|
1158
1158
|
};
|
|
1159
1159
|
filterClassName: StringConstructor;
|
|
1160
|
-
index:
|
|
1160
|
+
index: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["index"]>;
|
|
1161
1161
|
sortOrders: {
|
|
1162
|
-
type:
|
|
1162
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortOrders"]>;
|
|
1163
1163
|
default: () => (string | null)[];
|
|
1164
|
-
validator: (val:
|
|
1164
|
+
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
1165
1165
|
};
|
|
1166
1166
|
slots: {
|
|
1167
|
-
type:
|
|
1167
|
+
type: vue337.PropType<OrArray<SlotDef>>;
|
|
1168
1168
|
default: () => never[];
|
|
1169
1169
|
};
|
|
1170
1170
|
columns: {
|
|
1171
|
-
type:
|
|
1171
|
+
type: vue337.PropType<any[]>;
|
|
1172
1172
|
default: () => never[];
|
|
1173
1173
|
};
|
|
1174
1174
|
transform: {
|
|
1175
|
-
type:
|
|
1175
|
+
type: vue337.PropType<AnyFunction[]>;
|
|
1176
1176
|
default: () => never[];
|
|
1177
1177
|
};
|
|
1178
|
-
}>, {}, {}, {}, {},
|
|
1178
|
+
}>, {}, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<vue337.ExtractPropTypes<{
|
|
1179
1179
|
type: {
|
|
1180
1180
|
type: StringConstructor;
|
|
1181
1181
|
default: string;
|
|
@@ -1193,13 +1193,13 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1193
1193
|
type: (NumberConstructor | StringConstructor)[];
|
|
1194
1194
|
default: string;
|
|
1195
1195
|
};
|
|
1196
|
-
renderHeader:
|
|
1196
|
+
renderHeader: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["renderHeader"]>;
|
|
1197
1197
|
sortable: {
|
|
1198
1198
|
type: (StringConstructor | BooleanConstructor)[];
|
|
1199
1199
|
default: boolean;
|
|
1200
1200
|
};
|
|
1201
|
-
sortMethod:
|
|
1202
|
-
sortBy:
|
|
1201
|
+
sortMethod: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortMethod"]>;
|
|
1202
|
+
sortBy: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortBy"]>;
|
|
1203
1203
|
resizable: {
|
|
1204
1204
|
type: BooleanConstructor;
|
|
1205
1205
|
default: boolean;
|
|
@@ -1208,39 +1208,39 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1208
1208
|
align: StringConstructor;
|
|
1209
1209
|
headerAlign: StringConstructor;
|
|
1210
1210
|
showOverflowTooltip: {
|
|
1211
|
-
type:
|
|
1211
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["showOverflowTooltip"]>;
|
|
1212
1212
|
default: undefined;
|
|
1213
1213
|
};
|
|
1214
|
-
tooltipFormatter:
|
|
1214
|
+
tooltipFormatter: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["tooltipFormatter"]>;
|
|
1215
1215
|
fixed: (StringConstructor | BooleanConstructor)[];
|
|
1216
|
-
formatter:
|
|
1217
|
-
selectable:
|
|
1216
|
+
formatter: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["formatter"]>;
|
|
1217
|
+
selectable: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["selectable"]>;
|
|
1218
1218
|
reserveSelection: BooleanConstructor;
|
|
1219
|
-
filterMethod:
|
|
1220
|
-
filteredValue:
|
|
1221
|
-
filters:
|
|
1219
|
+
filterMethod: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filterMethod"]>;
|
|
1220
|
+
filteredValue: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filteredValue"]>;
|
|
1221
|
+
filters: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["filters"]>;
|
|
1222
1222
|
filterPlacement: StringConstructor;
|
|
1223
1223
|
filterMultiple: {
|
|
1224
1224
|
type: BooleanConstructor;
|
|
1225
1225
|
default: boolean;
|
|
1226
1226
|
};
|
|
1227
1227
|
filterClassName: StringConstructor;
|
|
1228
|
-
index:
|
|
1228
|
+
index: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["index"]>;
|
|
1229
1229
|
sortOrders: {
|
|
1230
|
-
type:
|
|
1230
|
+
type: vue337.PropType<element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<element_plus_es_components_table_src_table_defaults_mjs266.DefaultRow>["sortOrders"]>;
|
|
1231
1231
|
default: () => (string | null)[];
|
|
1232
|
-
validator: (val:
|
|
1232
|
+
validator: (val: element_plus_es_components_table_src_table_column_defaults_mjs267.TableColumnCtx<unknown>["sortOrders"]) => boolean;
|
|
1233
1233
|
};
|
|
1234
1234
|
slots: {
|
|
1235
|
-
type:
|
|
1235
|
+
type: vue337.PropType<OrArray<SlotDef>>;
|
|
1236
1236
|
default: () => never[];
|
|
1237
1237
|
};
|
|
1238
1238
|
columns: {
|
|
1239
|
-
type:
|
|
1239
|
+
type: vue337.PropType<any[]>;
|
|
1240
1240
|
default: () => never[];
|
|
1241
1241
|
};
|
|
1242
1242
|
transform: {
|
|
1243
|
-
type:
|
|
1243
|
+
type: vue337.PropType<AnyFunction[]>;
|
|
1244
1244
|
default: () => never[];
|
|
1245
1245
|
};
|
|
1246
1246
|
}>> & Readonly<{}>, {
|
|
@@ -1250,13 +1250,13 @@ declare const _default$5: vue272.DefineComponent<vue272.ExtractPropTypes<{
|
|
|
1250
1250
|
minWidth: string | number;
|
|
1251
1251
|
sortable: string | boolean;
|
|
1252
1252
|
resizable: boolean;
|
|
1253
|
-
showOverflowTooltip: boolean | Partial<Pick<
|
|
1253
|
+
showOverflowTooltip: boolean | Partial<Pick<element_plus_es_components_tooltip_index_mjs260.ElTooltipProps, "appendTo" | "showArrow" | "transition" | "effect" | "enterable" | "popperClass" | "offset" | "placement" | "popperOptions" | "showAfter" | "hideAfter">> | undefined;
|
|
1254
1254
|
reserveSelection: boolean;
|
|
1255
1255
|
filterMultiple: boolean;
|
|
1256
1256
|
sortOrders: ("ascending" | "descending" | null)[];
|
|
1257
1257
|
slots: OrArray<SlotDef>;
|
|
1258
1258
|
transform: AnyFunction[];
|
|
1259
|
-
}, {}, {}, {}, string,
|
|
1259
|
+
}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any>;
|
|
1260
1260
|
//#endregion
|
|
1261
1261
|
//#region src/table/index.d.ts
|
|
1262
1262
|
type Instance$1 = InstanceType<typeof _default$4>;
|
|
@@ -1266,7 +1266,7 @@ type TdTableInstance = Instance$1 & Omit<TableInstance, keyof Instance$1>;
|
|
|
1266
1266
|
declare const dialogPropsDef: {
|
|
1267
1267
|
appendToBody?: BooleanConstructor | undefined;
|
|
1268
1268
|
appendTo?: ({
|
|
1269
|
-
readonly type:
|
|
1269
|
+
readonly type: vue337.PropType<string | HTMLElement>;
|
|
1270
1270
|
readonly required: false;
|
|
1271
1271
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1272
1272
|
__epPropKey: true;
|
|
@@ -1274,14 +1274,14 @@ declare const dialogPropsDef: {
|
|
|
1274
1274
|
readonly default: "body";
|
|
1275
1275
|
}) | undefined;
|
|
1276
1276
|
beforeClose?: {
|
|
1277
|
-
readonly type:
|
|
1277
|
+
readonly type: vue337.PropType<element_plus335.DialogBeforeCloseFn>;
|
|
1278
1278
|
readonly required: false;
|
|
1279
1279
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1280
1280
|
__epPropKey: true;
|
|
1281
1281
|
} | undefined;
|
|
1282
1282
|
destroyOnClose?: BooleanConstructor | undefined;
|
|
1283
1283
|
closeOnClickModal?: ({
|
|
1284
|
-
readonly type:
|
|
1284
|
+
readonly type: vue337.PropType<boolean>;
|
|
1285
1285
|
readonly required: false;
|
|
1286
1286
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1287
1287
|
__epPropKey: true;
|
|
@@ -1289,7 +1289,7 @@ declare const dialogPropsDef: {
|
|
|
1289
1289
|
readonly default: true;
|
|
1290
1290
|
}) | undefined;
|
|
1291
1291
|
closeOnPressEscape?: ({
|
|
1292
|
-
readonly type:
|
|
1292
|
+
readonly type: vue337.PropType<boolean>;
|
|
1293
1293
|
readonly required: false;
|
|
1294
1294
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1295
1295
|
__epPropKey: true;
|
|
@@ -1297,7 +1297,7 @@ declare const dialogPropsDef: {
|
|
|
1297
1297
|
readonly default: true;
|
|
1298
1298
|
}) | undefined;
|
|
1299
1299
|
lockScroll?: ({
|
|
1300
|
-
readonly type:
|
|
1300
|
+
readonly type: vue337.PropType<boolean>;
|
|
1301
1301
|
readonly required: false;
|
|
1302
1302
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1303
1303
|
__epPropKey: true;
|
|
@@ -1305,7 +1305,7 @@ declare const dialogPropsDef: {
|
|
|
1305
1305
|
readonly default: true;
|
|
1306
1306
|
}) | undefined;
|
|
1307
1307
|
modal?: ({
|
|
1308
|
-
readonly type:
|
|
1308
|
+
readonly type: vue337.PropType<boolean>;
|
|
1309
1309
|
readonly required: false;
|
|
1310
1310
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1311
1311
|
__epPropKey: true;
|
|
@@ -1313,7 +1313,7 @@ declare const dialogPropsDef: {
|
|
|
1313
1313
|
readonly default: true;
|
|
1314
1314
|
}) | undefined;
|
|
1315
1315
|
openDelay?: ({
|
|
1316
|
-
readonly type:
|
|
1316
|
+
readonly type: vue337.PropType<number>;
|
|
1317
1317
|
readonly required: false;
|
|
1318
1318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1319
1319
|
__epPropKey: true;
|
|
@@ -1321,7 +1321,7 @@ declare const dialogPropsDef: {
|
|
|
1321
1321
|
readonly default: 0;
|
|
1322
1322
|
}) | undefined;
|
|
1323
1323
|
closeDelay?: ({
|
|
1324
|
-
readonly type:
|
|
1324
|
+
readonly type: vue337.PropType<number>;
|
|
1325
1325
|
readonly required: false;
|
|
1326
1326
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1327
1327
|
__epPropKey: true;
|
|
@@ -1329,7 +1329,7 @@ declare const dialogPropsDef: {
|
|
|
1329
1329
|
readonly default: 0;
|
|
1330
1330
|
}) | undefined;
|
|
1331
1331
|
top?: {
|
|
1332
|
-
readonly type:
|
|
1332
|
+
readonly type: vue337.PropType<string>;
|
|
1333
1333
|
readonly required: false;
|
|
1334
1334
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1335
1335
|
__epPropKey: true;
|
|
@@ -1340,20 +1340,20 @@ declare const dialogPropsDef: {
|
|
|
1340
1340
|
bodyClass?: StringConstructor | undefined;
|
|
1341
1341
|
footerClass?: StringConstructor | undefined;
|
|
1342
1342
|
width?: {
|
|
1343
|
-
readonly type:
|
|
1343
|
+
readonly type: vue337.PropType<string | number>;
|
|
1344
1344
|
readonly required: false;
|
|
1345
1345
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1346
1346
|
__epPropKey: true;
|
|
1347
1347
|
} | undefined;
|
|
1348
1348
|
zIndex?: {
|
|
1349
|
-
readonly type:
|
|
1349
|
+
readonly type: vue337.PropType<number>;
|
|
1350
1350
|
readonly required: false;
|
|
1351
1351
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1352
1352
|
__epPropKey: true;
|
|
1353
1353
|
} | undefined;
|
|
1354
1354
|
trapFocus?: BooleanConstructor | undefined;
|
|
1355
1355
|
headerAriaLevel?: ({
|
|
1356
|
-
readonly type:
|
|
1356
|
+
readonly type: vue337.PropType<string>;
|
|
1357
1357
|
readonly required: false;
|
|
1358
1358
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1359
1359
|
__epPropKey: true;
|
|
@@ -1363,7 +1363,7 @@ declare const dialogPropsDef: {
|
|
|
1363
1363
|
center?: BooleanConstructor | undefined;
|
|
1364
1364
|
alignCenter?: BooleanConstructor | undefined;
|
|
1365
1365
|
closeIcon?: {
|
|
1366
|
-
readonly type:
|
|
1366
|
+
readonly type: vue337.PropType<string | vue337.Component>;
|
|
1367
1367
|
readonly required: false;
|
|
1368
1368
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1369
1369
|
__epPropKey: true;
|
|
@@ -1372,7 +1372,7 @@ declare const dialogPropsDef: {
|
|
|
1372
1372
|
overflow?: BooleanConstructor | undefined;
|
|
1373
1373
|
fullscreen?: BooleanConstructor | undefined;
|
|
1374
1374
|
showClose?: ({
|
|
1375
|
-
readonly type:
|
|
1375
|
+
readonly type: vue337.PropType<boolean>;
|
|
1376
1376
|
readonly required: false;
|
|
1377
1377
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1378
1378
|
__epPropKey: true;
|
|
@@ -1380,7 +1380,7 @@ declare const dialogPropsDef: {
|
|
|
1380
1380
|
readonly default: true;
|
|
1381
1381
|
}) | undefined;
|
|
1382
1382
|
title?: ({
|
|
1383
|
-
readonly type:
|
|
1383
|
+
readonly type: vue337.PropType<string>;
|
|
1384
1384
|
readonly required: false;
|
|
1385
1385
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1386
1386
|
__epPropKey: true;
|
|
@@ -1388,7 +1388,7 @@ declare const dialogPropsDef: {
|
|
|
1388
1388
|
readonly default: "";
|
|
1389
1389
|
}) | undefined;
|
|
1390
1390
|
ariaLevel?: ({
|
|
1391
|
-
readonly type:
|
|
1391
|
+
readonly type: vue337.PropType<string>;
|
|
1392
1392
|
readonly required: false;
|
|
1393
1393
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1394
1394
|
__epPropKey: true;
|
|
@@ -1413,14 +1413,14 @@ declare function open(options?: TdDialogProps): {
|
|
|
1413
1413
|
close: typeof close;
|
|
1414
1414
|
};
|
|
1415
1415
|
declare function wait(): Promise<any>;
|
|
1416
|
-
declare function close(): void;
|
|
1417
|
-
declare function confirm(instance?: FormInstance): Promise<void>;
|
|
1418
|
-
declare function step(instance?: FormInstance): Promise<void>;
|
|
1419
|
-
declare const __VLS_component:
|
|
1416
|
+
declare function close(err?: any): void;
|
|
1417
|
+
declare function confirm(res?: any, instance?: FormInstance): Promise<void>;
|
|
1418
|
+
declare function step(res?: any, instance?: FormInstance): Promise<void>;
|
|
1419
|
+
declare const __VLS_component: vue337.DefineComponent<{}, {
|
|
1420
1420
|
open: typeof open;
|
|
1421
1421
|
wait: typeof wait;
|
|
1422
1422
|
close: typeof close;
|
|
1423
|
-
}, {}, {}, {},
|
|
1423
|
+
}, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any>;
|
|
1424
1424
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
1425
1425
|
type __VLS_WithSlots<T, S> = T & {
|
|
1426
1426
|
new (): {
|
|
@@ -1433,10 +1433,10 @@ type Instance = InstanceType<typeof _default>;
|
|
|
1433
1433
|
type TdDialogInstance = Instance & Omit<DialogInstance, keyof Instance & string>;
|
|
1434
1434
|
//#endregion
|
|
1435
1435
|
//#region src/hooks/use-reuse.d.ts
|
|
1436
|
-
declare function useReuse(): (
|
|
1436
|
+
declare function useReuse(): (vue337.DefineComponent<{}, () => null, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any> | vue337.DefineComponent<{}, () => vue337.VNode<vue337.RendererNode, vue337.RendererElement, {
|
|
1437
1437
|
[key: string]: any;
|
|
1438
|
-
}>[] | undefined, {}, {}, {},
|
|
1439
|
-
[name: string]:
|
|
1438
|
+
}>[] | undefined, {}, {}, {}, vue337.ComponentOptionsMixin, vue337.ComponentOptionsMixin, {}, string, vue337.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue337.ComponentProvideOptions, true, {}, any> | vue337.ComputedRef<Readonly<{
|
|
1439
|
+
[name: string]: vue337.Slot<any> | undefined;
|
|
1440
1440
|
}>>)[];
|
|
1441
1441
|
//#endregion
|
|
1442
1442
|
//#region src/utils/index.d.ts
|
package/dist/index.js
CHANGED
|
@@ -921,18 +921,18 @@ var dialog_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
921
921
|
Object.assign(waiting, Promise.withResolvers());
|
|
922
922
|
return waiting.promise;
|
|
923
923
|
}
|
|
924
|
-
function close() {
|
|
924
|
+
function close(err) {
|
|
925
925
|
visible.value = false;
|
|
926
|
-
waiting.reject();
|
|
926
|
+
waiting.reject(err);
|
|
927
927
|
}
|
|
928
|
-
async function confirm(instance) {
|
|
928
|
+
async function confirm(res, instance) {
|
|
929
929
|
await instance?.validate?.();
|
|
930
930
|
visible.value = false;
|
|
931
|
-
waiting.resolve(
|
|
931
|
+
waiting.resolve(res);
|
|
932
932
|
}
|
|
933
|
-
async function step(instance) {
|
|
933
|
+
async function step(res, instance) {
|
|
934
934
|
await instance?.validate?.();
|
|
935
|
-
waiting.resolve(
|
|
935
|
+
waiting.resolve(res);
|
|
936
936
|
}
|
|
937
937
|
const expose = {
|
|
938
938
|
open,
|
|
@@ -950,7 +950,7 @@ var dialog_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
950
950
|
return (_ctx, _cache) => {
|
|
951
951
|
return openBlock(), createBlock(unref(ElDialog), mergeProps({ ref: "dialog" }, subProps.value, {
|
|
952
952
|
"model-value": visible.value,
|
|
953
|
-
onClose: close
|
|
953
|
+
onClose: _cache[0] || (_cache[0] = ($event) => close("close"))
|
|
954
954
|
}), createSlots({ _: 2 }, [renderList(slotNames.value, (name) => {
|
|
955
955
|
return {
|
|
956
956
|
name,
|