yd-admin 0.1.5 → 0.1.7
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/README.md +327 -297
- package/dist/chunk-pbuEa-1d.js +13 -0
- package/dist/index.d.ts +1006 -454
- package/dist/index.js +848 -48
- package/dist/style.css +1054 -1012
- package/package.json +81 -78
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _$vue from "vue";
|
|
2
|
-
import { App, Ref } from "vue";
|
|
2
|
+
import { App, ComputedRef, Ref, VNode } from "vue";
|
|
3
3
|
import * as _$vue_i18n0 from "vue-i18n";
|
|
4
|
-
import { RouteRecordRaw } from "vue-router";
|
|
4
|
+
import { NavigationGuardNext, RouteLocationNormalized, RouteLocationNormalized as RouteLocationNormalized$1, RouteRecordName, RouteRecordRaw, RouteRecordRaw as RouteRecordRaw$1, Router, Router as Router$1, createMemoryHistory, createWebHashHistory, createWebHistory } from "vue-router";
|
|
5
5
|
import { PiniaPluginContext } from "pinia";
|
|
6
6
|
|
|
7
7
|
//#region src/types/index.d.ts
|
|
@@ -403,7 +403,7 @@ type GetKeys<T> = keyof T;
|
|
|
403
403
|
/** 属性过滤 */
|
|
404
404
|
type FilterKeys<T, U> = { [K in keyof T as T[K] extends U ? K : never]: T[K] };
|
|
405
405
|
/**omit 简化 */
|
|
406
|
-
type Omit<T, K extends keyof T> = { [P in GetKeys<T> as P extends K ? never : P]: T[P] };
|
|
406
|
+
type Omit$1<T, K extends keyof T> = { [P in GetKeys<T> as P extends K ? never : P]: T[P] };
|
|
407
407
|
/**pick 简化 */
|
|
408
408
|
type Pick<T, K extends keyof T> = { [P in K]: T[P] };
|
|
409
409
|
/** 简化交叉 */
|
|
@@ -442,7 +442,7 @@ interface ThemeTokens {
|
|
|
442
442
|
}
|
|
443
443
|
//#endregion
|
|
444
444
|
//#region src/components/base/button/button.vue.d.ts
|
|
445
|
-
interface Props$
|
|
445
|
+
interface Props$65 {
|
|
446
446
|
/** 按钮类型 */
|
|
447
447
|
variant?: ComponentVariant;
|
|
448
448
|
/** 按钮尺寸 */
|
|
@@ -460,34 +460,75 @@ interface Props$63 {
|
|
|
460
460
|
/** 原生 type 属性 */
|
|
461
461
|
nativeType?: "button" | "submit" | "reset";
|
|
462
462
|
}
|
|
463
|
-
declare var __VLS_1$
|
|
464
|
-
type __VLS_Slots$
|
|
465
|
-
default?: (props: typeof __VLS_1$
|
|
463
|
+
declare var __VLS_1$30: {};
|
|
464
|
+
type __VLS_Slots$42 = {} & {
|
|
465
|
+
default?: (props: typeof __VLS_1$30) => any;
|
|
466
466
|
};
|
|
467
|
-
declare const __VLS_base$
|
|
467
|
+
declare const __VLS_base$42: _$vue.DefineComponent<Props$65, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
468
468
|
click: (event: MouseEvent) => any;
|
|
469
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
469
|
+
}, string, _$vue.PublicProps, Readonly<Props$65> & Readonly<{
|
|
470
470
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
471
471
|
}>, {
|
|
472
472
|
size: ComponentSize;
|
|
473
|
-
disabled: boolean;
|
|
474
473
|
variant: ComponentVariant;
|
|
474
|
+
loading: boolean;
|
|
475
|
+
circle: boolean;
|
|
475
476
|
plain: boolean;
|
|
476
477
|
round: boolean;
|
|
477
|
-
|
|
478
|
-
loading: boolean;
|
|
478
|
+
disabled: boolean;
|
|
479
479
|
nativeType: "button" | "submit" | "reset";
|
|
480
480
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
481
|
-
declare const __VLS_export$
|
|
482
|
-
declare const _default$5: typeof __VLS_export$
|
|
481
|
+
declare const __VLS_export$65: __VLS_WithSlots$42<typeof __VLS_base$42, __VLS_Slots$42>;
|
|
482
|
+
declare const _default$5: typeof __VLS_export$65;
|
|
483
|
+
type __VLS_WithSlots$42<T, S> = T & {
|
|
484
|
+
new (): {
|
|
485
|
+
$slots: S;
|
|
486
|
+
};
|
|
487
|
+
};
|
|
488
|
+
//#endregion
|
|
489
|
+
//#region src/components/base/icon/icon.vue.d.ts
|
|
490
|
+
interface Props$64 {
|
|
491
|
+
/** Icon name or SVG content */
|
|
492
|
+
name?: string;
|
|
493
|
+
/** Icon size (number in px or string with unit) */
|
|
494
|
+
size?: number | string;
|
|
495
|
+
/** Icon color */
|
|
496
|
+
color?: string;
|
|
497
|
+
/** Rotation in degrees */
|
|
498
|
+
rotate?: number;
|
|
499
|
+
/** Spin animation */
|
|
500
|
+
spin?: boolean;
|
|
501
|
+
}
|
|
502
|
+
declare var __VLS_1$29: {};
|
|
503
|
+
type __VLS_Slots$41 = {} & {
|
|
504
|
+
default?: (props: typeof __VLS_1$29) => any;
|
|
505
|
+
};
|
|
506
|
+
declare const __VLS_base$41: _$vue.DefineComponent<Props$64, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
507
|
+
click: (event: MouseEvent) => any;
|
|
508
|
+
}, string, _$vue.PublicProps, Readonly<Props$64> & Readonly<{
|
|
509
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
510
|
+
}>, {
|
|
511
|
+
size: number | string;
|
|
512
|
+
name: string;
|
|
513
|
+
color: string;
|
|
514
|
+
rotate: number;
|
|
515
|
+
spin: boolean;
|
|
516
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
517
|
+
declare const __VLS_export$64: __VLS_WithSlots$41<typeof __VLS_base$41, __VLS_Slots$41>;
|
|
518
|
+
declare const _default$23: typeof __VLS_export$64;
|
|
483
519
|
type __VLS_WithSlots$41<T, S> = T & {
|
|
484
520
|
new (): {
|
|
485
521
|
$slots: S;
|
|
486
522
|
};
|
|
487
523
|
};
|
|
488
524
|
//#endregion
|
|
525
|
+
//#region src/components/base/icon/registry.d.ts
|
|
526
|
+
declare function registerIcon(name: string, svg: string): void;
|
|
527
|
+
declare function getIcon(name: string): string;
|
|
528
|
+
declare function getIconRegistry(): Record<string, string>;
|
|
529
|
+
//#endregion
|
|
489
530
|
//#region src/components/base/input/input.vue.d.ts
|
|
490
|
-
interface Props$
|
|
531
|
+
interface Props$63 {
|
|
491
532
|
modelValue?: string | number;
|
|
492
533
|
placeholder?: string;
|
|
493
534
|
disabled?: boolean;
|
|
@@ -508,42 +549,42 @@ type __VLS_Slots$40 = {} & {
|
|
|
508
549
|
} & {
|
|
509
550
|
suffix?: (props: typeof __VLS_8$4) => any;
|
|
510
551
|
};
|
|
511
|
-
declare const __VLS_base$40: _$vue.DefineComponent<Props$
|
|
552
|
+
declare const __VLS_base$40: _$vue.DefineComponent<Props$63, {
|
|
512
553
|
focus: () => void | undefined;
|
|
513
554
|
blur: () => void | undefined;
|
|
514
555
|
select: () => void | undefined;
|
|
515
556
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
516
557
|
"update:modelValue": (value: string | number) => any;
|
|
517
558
|
change: (value: string | number) => any;
|
|
559
|
+
clear: () => any;
|
|
518
560
|
input: (value: string | number) => any;
|
|
519
561
|
focus: (event: FocusEvent) => any;
|
|
520
562
|
blur: (event: FocusEvent) => any;
|
|
521
|
-
clear: () => any;
|
|
522
563
|
keydown: (event: KeyboardEvent) => any;
|
|
523
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
564
|
+
}, string, _$vue.PublicProps, Readonly<Props$63> & Readonly<{
|
|
524
565
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
525
566
|
onChange?: ((value: string | number) => any) | undefined;
|
|
567
|
+
onClear?: (() => any) | undefined;
|
|
526
568
|
onInput?: ((value: string | number) => any) | undefined;
|
|
527
569
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
528
570
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
529
|
-
onClear?: (() => any) | undefined;
|
|
530
571
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
531
572
|
}>, {
|
|
532
573
|
size: ComponentSize;
|
|
533
574
|
type: "text" | "password" | "number" | "email" | "tel" | "url";
|
|
575
|
+
variant: "default" | "bordered" | "filled" | "underlined";
|
|
534
576
|
modelValue: string | number;
|
|
535
|
-
placeholder: string;
|
|
536
577
|
disabled: boolean;
|
|
537
|
-
|
|
538
|
-
variant: "default" | "bordered" | "filled" | "underlined";
|
|
539
|
-
maxlength: number;
|
|
540
|
-
showWordLimit: boolean;
|
|
578
|
+
placeholder: string;
|
|
541
579
|
clearable: boolean;
|
|
580
|
+
readonly: boolean;
|
|
542
581
|
prefixIcon: object;
|
|
543
582
|
suffixIcon: object;
|
|
583
|
+
maxlength: number;
|
|
584
|
+
showWordLimit: boolean;
|
|
544
585
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
545
|
-
declare const __VLS_export$
|
|
546
|
-
declare const _default$
|
|
586
|
+
declare const __VLS_export$63: __VLS_WithSlots$40<typeof __VLS_base$40, __VLS_Slots$40>;
|
|
587
|
+
declare const _default$26: typeof __VLS_export$63;
|
|
547
588
|
type __VLS_WithSlots$40<T, S> = T & {
|
|
548
589
|
new (): {
|
|
549
590
|
$slots: S;
|
|
@@ -551,7 +592,7 @@ type __VLS_WithSlots$40<T, S> = T & {
|
|
|
551
592
|
};
|
|
552
593
|
//#endregion
|
|
553
594
|
//#region src/components/base/textarea/textarea.vue.d.ts
|
|
554
|
-
interface Props$
|
|
595
|
+
interface Props$62 {
|
|
555
596
|
modelValue?: string;
|
|
556
597
|
placeholder?: string;
|
|
557
598
|
disabled?: boolean;
|
|
@@ -566,7 +607,7 @@ interface Props$61 {
|
|
|
566
607
|
maxlength?: number;
|
|
567
608
|
showWordLimit?: boolean;
|
|
568
609
|
}
|
|
569
|
-
declare const __VLS_export$
|
|
610
|
+
declare const __VLS_export$62: _$vue.DefineComponent<Props$62, {
|
|
570
611
|
focus: () => void | undefined;
|
|
571
612
|
blur: () => void | undefined;
|
|
572
613
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
@@ -575,7 +616,7 @@ declare const __VLS_export$61: _$vue.DefineComponent<Props$61, {
|
|
|
575
616
|
input: (value: string) => any;
|
|
576
617
|
focus: (event: FocusEvent) => any;
|
|
577
618
|
blur: (event: FocusEvent) => any;
|
|
578
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
619
|
+
}, string, _$vue.PublicProps, Readonly<Props$62> & Readonly<{
|
|
579
620
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
580
621
|
onChange?: ((value: string) => any) | undefined;
|
|
581
622
|
onInput?: ((value: string) => any) | undefined;
|
|
@@ -583,23 +624,23 @@ declare const __VLS_export$61: _$vue.DefineComponent<Props$61, {
|
|
|
583
624
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
584
625
|
}>, {
|
|
585
626
|
size: ComponentSize;
|
|
627
|
+
variant: "default" | "bordered" | "filled" | "underlined";
|
|
586
628
|
modelValue: string;
|
|
587
|
-
|
|
629
|
+
rows: number;
|
|
588
630
|
disabled: boolean;
|
|
631
|
+
placeholder: string;
|
|
589
632
|
readonly: boolean;
|
|
590
|
-
|
|
633
|
+
maxlength: number;
|
|
634
|
+
showWordLimit: boolean;
|
|
591
635
|
autosize: boolean | {
|
|
592
636
|
minRows?: number;
|
|
593
637
|
maxRows?: number;
|
|
594
638
|
};
|
|
595
|
-
variant: "default" | "bordered" | "filled" | "underlined";
|
|
596
|
-
maxlength: number;
|
|
597
|
-
showWordLimit: boolean;
|
|
598
639
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
599
|
-
declare const _default$
|
|
640
|
+
declare const _default$58: typeof __VLS_export$62;
|
|
600
641
|
//#endregion
|
|
601
642
|
//#region src/components/base/input-number/input-number.vue.d.ts
|
|
602
|
-
interface Props$
|
|
643
|
+
interface Props$61 {
|
|
603
644
|
modelValue?: number;
|
|
604
645
|
min?: number;
|
|
605
646
|
max?: number;
|
|
@@ -610,29 +651,29 @@ interface Props$60 {
|
|
|
610
651
|
prefix?: string;
|
|
611
652
|
suffix?: string;
|
|
612
653
|
}
|
|
613
|
-
declare const __VLS_export$
|
|
654
|
+
declare const __VLS_export$61: _$vue.DefineComponent<Props$61, {
|
|
614
655
|
focus: () => void | undefined;
|
|
615
656
|
blur: () => void | undefined;
|
|
616
657
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
617
658
|
"update:modelValue": (value: number) => any;
|
|
618
659
|
change: (value: number, oldValue: number) => any;
|
|
619
660
|
input: (value: string) => any;
|
|
620
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
661
|
+
}, string, _$vue.PublicProps, Readonly<Props$61> & Readonly<{
|
|
621
662
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
622
663
|
onChange?: ((value: number, oldValue: number) => any) | undefined;
|
|
623
664
|
onInput?: ((value: string) => any) | undefined;
|
|
624
665
|
}>, {
|
|
625
666
|
size: ComponentSize;
|
|
626
667
|
modelValue: number;
|
|
668
|
+
prefix: string;
|
|
669
|
+
suffix: string;
|
|
670
|
+
precision: number;
|
|
627
671
|
disabled: boolean;
|
|
628
672
|
min: number;
|
|
629
673
|
max: number;
|
|
630
674
|
step: number;
|
|
631
|
-
precision: number;
|
|
632
|
-
prefix: string;
|
|
633
|
-
suffix: string;
|
|
634
675
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
635
|
-
declare const _default$
|
|
676
|
+
declare const _default$27: typeof __VLS_export$61;
|
|
636
677
|
//#endregion
|
|
637
678
|
//#region src/components/base/select/select.vue.d.ts
|
|
638
679
|
interface SelectOption$2 {
|
|
@@ -644,7 +685,7 @@ interface SelectGroup$1 {
|
|
|
644
685
|
label: string;
|
|
645
686
|
options: SelectOption$2[];
|
|
646
687
|
}
|
|
647
|
-
interface Props$
|
|
688
|
+
interface Props$60 {
|
|
648
689
|
modelValue?: string | number | (string | number)[];
|
|
649
690
|
placeholder?: string;
|
|
650
691
|
disabled?: boolean;
|
|
@@ -662,48 +703,48 @@ interface Props$59 {
|
|
|
662
703
|
clearable?: boolean;
|
|
663
704
|
dropdownHeight?: number;
|
|
664
705
|
}
|
|
665
|
-
declare const __VLS_export$
|
|
706
|
+
declare const __VLS_export$60: _$vue.DefineComponent<Props$60, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
666
707
|
"update:modelValue": (value: string | number | (string | number)[]) => any;
|
|
667
708
|
change: (value: string | number | (string | number)[]) => any;
|
|
709
|
+
search: (query: string) => any;
|
|
668
710
|
focus: (event: FocusEvent) => any;
|
|
669
711
|
blur: (event: FocusEvent) => any;
|
|
670
|
-
|
|
671
|
-
}, string, _$vue.PublicProps, Readonly<Props$59> & Readonly<{
|
|
712
|
+
}, string, _$vue.PublicProps, Readonly<Props$60> & Readonly<{
|
|
672
713
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
673
714
|
onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
715
|
+
onSearch?: ((query: string) => any) | undefined;
|
|
674
716
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
675
717
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
676
|
-
onSearch?: ((query: string) => any) | undefined;
|
|
677
718
|
}>, {
|
|
678
719
|
size: ComponentSize;
|
|
720
|
+
variant: "default" | "bordered" | "filled";
|
|
721
|
+
error: string;
|
|
679
722
|
modelValue: string | number | (string | number)[];
|
|
680
|
-
|
|
723
|
+
remote: boolean;
|
|
681
724
|
disabled: boolean;
|
|
682
|
-
variant: "default" | "bordered" | "filled";
|
|
683
|
-
clearable: boolean;
|
|
684
|
-
multiple: boolean;
|
|
685
725
|
label: string;
|
|
726
|
+
placeholder: string;
|
|
727
|
+
multiple: boolean;
|
|
686
728
|
required: boolean;
|
|
687
|
-
error: string;
|
|
688
729
|
hint: string;
|
|
689
730
|
options: (SelectOption$2 | SelectGroup$1)[];
|
|
690
731
|
filterable: boolean;
|
|
691
|
-
remote: boolean;
|
|
692
732
|
remoteMethod: (query: string) => void;
|
|
733
|
+
clearable: boolean;
|
|
693
734
|
dropdownHeight: number;
|
|
694
735
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
695
|
-
declare const _default$
|
|
736
|
+
declare const _default$47: typeof __VLS_export$60;
|
|
696
737
|
//#endregion
|
|
697
738
|
//#region src/components/base/switch/switch.vue.d.ts
|
|
698
|
-
interface Props$
|
|
739
|
+
interface Props$59 {
|
|
699
740
|
modelValue?: boolean;
|
|
700
741
|
disabled?: boolean;
|
|
701
742
|
size?: ComponentSize;
|
|
702
743
|
}
|
|
703
|
-
declare const __VLS_export$
|
|
744
|
+
declare const __VLS_export$59: _$vue.DefineComponent<Props$59, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
704
745
|
"update:modelValue": (value: boolean) => any;
|
|
705
746
|
change: (value: boolean) => any;
|
|
706
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
747
|
+
}, string, _$vue.PublicProps, Readonly<Props$59> & Readonly<{
|
|
707
748
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
708
749
|
onChange?: ((value: boolean) => any) | undefined;
|
|
709
750
|
}>, {
|
|
@@ -711,10 +752,10 @@ declare const __VLS_export$58: _$vue.DefineComponent<Props$58, {}, {}, {}, {}, _
|
|
|
711
752
|
modelValue: boolean;
|
|
712
753
|
disabled: boolean;
|
|
713
754
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
714
|
-
declare const _default$
|
|
755
|
+
declare const _default$54: typeof __VLS_export$59;
|
|
715
756
|
//#endregion
|
|
716
757
|
//#region src/components/base/checkbox/checkbox.vue.d.ts
|
|
717
|
-
interface Props$
|
|
758
|
+
interface Props$58 {
|
|
718
759
|
modelValue?: boolean;
|
|
719
760
|
label?: string;
|
|
720
761
|
value?: string | number | boolean;
|
|
@@ -725,21 +766,21 @@ declare var __VLS_1$27: {};
|
|
|
725
766
|
type __VLS_Slots$39 = {} & {
|
|
726
767
|
default?: (props: typeof __VLS_1$27) => any;
|
|
727
768
|
};
|
|
728
|
-
declare const __VLS_base$39: _$vue.DefineComponent<Props$
|
|
769
|
+
declare const __VLS_base$39: _$vue.DefineComponent<Props$58, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
729
770
|
"update:modelValue": (value: boolean) => any;
|
|
730
771
|
change: (value: boolean) => any;
|
|
731
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
772
|
+
}, string, _$vue.PublicProps, Readonly<Props$58> & Readonly<{
|
|
732
773
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
733
774
|
onChange?: ((value: boolean) => any) | undefined;
|
|
734
775
|
}>, {
|
|
735
776
|
modelValue: boolean;
|
|
777
|
+
value: string | number | boolean;
|
|
736
778
|
disabled: boolean;
|
|
737
779
|
label: string;
|
|
738
|
-
value: string | number | boolean;
|
|
739
780
|
indeterminate: boolean;
|
|
740
781
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
741
|
-
declare const __VLS_export$
|
|
742
|
-
declare const _default$9: typeof __VLS_export$
|
|
782
|
+
declare const __VLS_export$58: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
|
|
783
|
+
declare const _default$9: typeof __VLS_export$58;
|
|
743
784
|
type __VLS_WithSlots$39<T, S> = T & {
|
|
744
785
|
new (): {
|
|
745
786
|
$slots: S;
|
|
@@ -752,7 +793,7 @@ interface CheckboxOption$1 {
|
|
|
752
793
|
value: string | number | boolean;
|
|
753
794
|
disabled?: boolean;
|
|
754
795
|
}
|
|
755
|
-
interface Props$
|
|
796
|
+
interface Props$57 {
|
|
756
797
|
modelValue?: (string | number | boolean)[];
|
|
757
798
|
options?: CheckboxOption$1[];
|
|
758
799
|
disabled?: boolean;
|
|
@@ -761,10 +802,10 @@ declare var __VLS_8$3: {};
|
|
|
761
802
|
type __VLS_Slots$38 = {} & {
|
|
762
803
|
default?: (props: typeof __VLS_8$3) => any;
|
|
763
804
|
};
|
|
764
|
-
declare const __VLS_base$38: _$vue.DefineComponent<Props$
|
|
805
|
+
declare const __VLS_base$38: _$vue.DefineComponent<Props$57, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
765
806
|
"update:modelValue": (value: (string | number | boolean)[]) => any;
|
|
766
807
|
change: (value: (string | number | boolean)[]) => any;
|
|
767
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
808
|
+
}, string, _$vue.PublicProps, Readonly<Props$57> & Readonly<{
|
|
768
809
|
"onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
|
|
769
810
|
onChange?: ((value: (string | number | boolean)[]) => any) | undefined;
|
|
770
811
|
}>, {
|
|
@@ -772,8 +813,8 @@ declare const __VLS_base$38: _$vue.DefineComponent<Props$56, {}, {}, {}, {}, _$v
|
|
|
772
813
|
disabled: boolean;
|
|
773
814
|
options: CheckboxOption$1[];
|
|
774
815
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
775
|
-
declare const __VLS_export$
|
|
776
|
-
declare const _default$10: typeof __VLS_export$
|
|
816
|
+
declare const __VLS_export$57: __VLS_WithSlots$38<typeof __VLS_base$38, __VLS_Slots$38>;
|
|
817
|
+
declare const _default$10: typeof __VLS_export$57;
|
|
777
818
|
type __VLS_WithSlots$38<T, S> = T & {
|
|
778
819
|
new (): {
|
|
779
820
|
$slots: S;
|
|
@@ -781,7 +822,7 @@ type __VLS_WithSlots$38<T, S> = T & {
|
|
|
781
822
|
};
|
|
782
823
|
//#endregion
|
|
783
824
|
//#region src/components/base/radio/radio.vue.d.ts
|
|
784
|
-
interface Props$
|
|
825
|
+
interface Props$56 {
|
|
785
826
|
modelValue?: string | number | boolean;
|
|
786
827
|
value?: string | number | boolean;
|
|
787
828
|
label?: string;
|
|
@@ -792,21 +833,21 @@ declare var __VLS_1$26: {};
|
|
|
792
833
|
type __VLS_Slots$37 = {} & {
|
|
793
834
|
default?: (props: typeof __VLS_1$26) => any;
|
|
794
835
|
};
|
|
795
|
-
declare const __VLS_base$37: _$vue.DefineComponent<Props$
|
|
836
|
+
declare const __VLS_base$37: _$vue.DefineComponent<Props$56, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
796
837
|
"update:modelValue": (value: string | number | boolean) => any;
|
|
797
838
|
change: (value: string | number | boolean) => any;
|
|
798
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
839
|
+
}, string, _$vue.PublicProps, Readonly<Props$56> & Readonly<{
|
|
799
840
|
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
800
841
|
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
801
842
|
}>, {
|
|
843
|
+
name: string;
|
|
802
844
|
modelValue: string | number | boolean;
|
|
845
|
+
value: string | number | boolean;
|
|
803
846
|
disabled: boolean;
|
|
804
847
|
label: string;
|
|
805
|
-
value: string | number | boolean;
|
|
806
|
-
name: string;
|
|
807
848
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
808
|
-
declare const __VLS_export$
|
|
809
|
-
declare const _default$
|
|
849
|
+
declare const __VLS_export$56: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
|
|
850
|
+
declare const _default$42: typeof __VLS_export$56;
|
|
810
851
|
type __VLS_WithSlots$37<T, S> = T & {
|
|
811
852
|
new (): {
|
|
812
853
|
$slots: S;
|
|
@@ -819,7 +860,7 @@ interface RadioOption$1 {
|
|
|
819
860
|
value: string | number | boolean;
|
|
820
861
|
disabled?: boolean;
|
|
821
862
|
}
|
|
822
|
-
interface Props$
|
|
863
|
+
interface Props$55 {
|
|
823
864
|
modelValue?: string | number | boolean;
|
|
824
865
|
options?: RadioOption$1[];
|
|
825
866
|
disabled?: boolean;
|
|
@@ -829,20 +870,20 @@ declare var __VLS_8$2: {};
|
|
|
829
870
|
type __VLS_Slots$36 = {} & {
|
|
830
871
|
default?: (props: typeof __VLS_8$2) => any;
|
|
831
872
|
};
|
|
832
|
-
declare const __VLS_base$36: _$vue.DefineComponent<Props$
|
|
873
|
+
declare const __VLS_base$36: _$vue.DefineComponent<Props$55, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
833
874
|
"update:modelValue": (value: string | number | boolean) => any;
|
|
834
875
|
change: (value: string | number | boolean) => any;
|
|
835
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
876
|
+
}, string, _$vue.PublicProps, Readonly<Props$55> & Readonly<{
|
|
836
877
|
"onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
|
|
837
878
|
onChange?: ((value: string | number | boolean) => any) | undefined;
|
|
838
879
|
}>, {
|
|
880
|
+
name: string;
|
|
839
881
|
modelValue: string | number | boolean;
|
|
840
882
|
disabled: boolean;
|
|
841
883
|
options: RadioOption$1[];
|
|
842
|
-
name: string;
|
|
843
884
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
844
|
-
declare const __VLS_export$
|
|
845
|
-
declare const _default$
|
|
885
|
+
declare const __VLS_export$55: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
|
|
886
|
+
declare const _default$43: typeof __VLS_export$55;
|
|
846
887
|
type __VLS_WithSlots$36<T, S> = T & {
|
|
847
888
|
new (): {
|
|
848
889
|
$slots: S;
|
|
@@ -850,7 +891,7 @@ type __VLS_WithSlots$36<T, S> = T & {
|
|
|
850
891
|
};
|
|
851
892
|
//#endregion
|
|
852
893
|
//#region src/components/base/tag/tag.vue.d.ts
|
|
853
|
-
interface Props$
|
|
894
|
+
interface Props$54 {
|
|
854
895
|
variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
855
896
|
size?: ComponentSize;
|
|
856
897
|
plain?: boolean;
|
|
@@ -861,19 +902,19 @@ declare var __VLS_1$25: {};
|
|
|
861
902
|
type __VLS_Slots$35 = {} & {
|
|
862
903
|
default?: (props: typeof __VLS_1$25) => any;
|
|
863
904
|
};
|
|
864
|
-
declare const __VLS_base$35: _$vue.DefineComponent<Props$
|
|
905
|
+
declare const __VLS_base$35: _$vue.DefineComponent<Props$54, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
865
906
|
close: () => any;
|
|
866
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
907
|
+
}, string, _$vue.PublicProps, Readonly<Props$54> & Readonly<{
|
|
867
908
|
onClose?: (() => any) | undefined;
|
|
868
909
|
}>, {
|
|
869
910
|
size: ComponentSize;
|
|
870
911
|
variant: "default" | "primary" | "success" | "warning" | "error" | "info";
|
|
912
|
+
closable: boolean;
|
|
871
913
|
plain: boolean;
|
|
872
914
|
round: boolean;
|
|
873
|
-
closable: boolean;
|
|
874
915
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
875
|
-
declare const __VLS_export$
|
|
876
|
-
declare const _default$
|
|
916
|
+
declare const __VLS_export$54: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
|
|
917
|
+
declare const _default$57: typeof __VLS_export$54;
|
|
877
918
|
type __VLS_WithSlots$35<T, S> = T & {
|
|
878
919
|
new (): {
|
|
879
920
|
$slots: S;
|
|
@@ -881,7 +922,7 @@ type __VLS_WithSlots$35<T, S> = T & {
|
|
|
881
922
|
};
|
|
882
923
|
//#endregion
|
|
883
924
|
//#region src/components/base/avatar/avatar.vue.d.ts
|
|
884
|
-
interface Props$
|
|
925
|
+
interface Props$53 {
|
|
885
926
|
src?: string;
|
|
886
927
|
alt?: string;
|
|
887
928
|
text?: string;
|
|
@@ -893,16 +934,16 @@ declare var __VLS_1$24: {};
|
|
|
893
934
|
type __VLS_Slots$34 = {} & {
|
|
894
935
|
default?: (props: typeof __VLS_1$24) => any;
|
|
895
936
|
};
|
|
896
|
-
declare const __VLS_base$34: _$vue.DefineComponent<Props$
|
|
937
|
+
declare const __VLS_base$34: _$vue.DefineComponent<Props$53, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$53> & Readonly<{}>, {
|
|
897
938
|
size: ComponentSize;
|
|
898
|
-
|
|
939
|
+
color: string;
|
|
899
940
|
src: string;
|
|
900
941
|
alt: string;
|
|
942
|
+
text: string;
|
|
901
943
|
shape: "circle" | "square";
|
|
902
|
-
color: string;
|
|
903
944
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
904
|
-
declare const __VLS_export$
|
|
905
|
-
declare const _default$2: typeof __VLS_export$
|
|
945
|
+
declare const __VLS_export$53: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
|
|
946
|
+
declare const _default$2: typeof __VLS_export$53;
|
|
906
947
|
type __VLS_WithSlots$34<T, S> = T & {
|
|
907
948
|
new (): {
|
|
908
949
|
$slots: S;
|
|
@@ -910,7 +951,7 @@ type __VLS_WithSlots$34<T, S> = T & {
|
|
|
910
951
|
};
|
|
911
952
|
//#endregion
|
|
912
953
|
//#region src/components/base/badge/badge.vue.d.ts
|
|
913
|
-
interface Props$
|
|
954
|
+
interface Props$52 {
|
|
914
955
|
value?: number | string;
|
|
915
956
|
max?: number;
|
|
916
957
|
dot?: boolean;
|
|
@@ -923,17 +964,17 @@ declare var __VLS_1$23: {};
|
|
|
923
964
|
type __VLS_Slots$33 = {} & {
|
|
924
965
|
default?: (props: typeof __VLS_1$23) => any;
|
|
925
966
|
};
|
|
926
|
-
declare const __VLS_base$33: _$vue.DefineComponent<Props$
|
|
967
|
+
declare const __VLS_base$33: _$vue.DefineComponent<Props$52, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$52> & Readonly<{}>, {
|
|
927
968
|
variant: ComponentVariant;
|
|
928
|
-
max: number;
|
|
929
969
|
value: number | string;
|
|
970
|
+
max: number;
|
|
930
971
|
dot: boolean;
|
|
931
972
|
show: boolean;
|
|
932
973
|
offset: [number, number];
|
|
933
974
|
standalone: boolean;
|
|
934
975
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
935
|
-
declare const __VLS_export$
|
|
936
|
-
declare const _default$3: typeof __VLS_export$
|
|
976
|
+
declare const __VLS_export$52: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
|
|
977
|
+
declare const _default$3: typeof __VLS_export$52;
|
|
937
978
|
type __VLS_WithSlots$33<T, S> = T & {
|
|
938
979
|
new (): {
|
|
939
980
|
$slots: S;
|
|
@@ -941,7 +982,7 @@ type __VLS_WithSlots$33<T, S> = T & {
|
|
|
941
982
|
};
|
|
942
983
|
//#endregion
|
|
943
984
|
//#region src/components/base/rate/rate.vue.d.ts
|
|
944
|
-
interface Props$
|
|
985
|
+
interface Props$51 {
|
|
945
986
|
modelValue?: number;
|
|
946
987
|
count?: number;
|
|
947
988
|
disabled?: boolean;
|
|
@@ -950,10 +991,10 @@ interface Props$50 {
|
|
|
950
991
|
texts?: string[];
|
|
951
992
|
size?: "xs" | "sm" | "md" | "lg";
|
|
952
993
|
}
|
|
953
|
-
declare const __VLS_export$
|
|
994
|
+
declare const __VLS_export$51: _$vue.DefineComponent<Props$51, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
954
995
|
"update:modelValue": (value: number) => any;
|
|
955
996
|
change: (value: number) => any;
|
|
956
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
997
|
+
}, string, _$vue.PublicProps, Readonly<Props$51> & Readonly<{
|
|
957
998
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
958
999
|
onChange?: ((value: number) => any) | undefined;
|
|
959
1000
|
}>, {
|
|
@@ -965,10 +1006,10 @@ declare const __VLS_export$50: _$vue.DefineComponent<Props$50, {}, {}, {}, {}, _
|
|
|
965
1006
|
showText: boolean;
|
|
966
1007
|
texts: string[];
|
|
967
1008
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
968
|
-
declare const _default$
|
|
1009
|
+
declare const _default$44: typeof __VLS_export$51;
|
|
969
1010
|
//#endregion
|
|
970
1011
|
//#region src/components/base/slider/slider.vue.d.ts
|
|
971
|
-
interface Props$
|
|
1012
|
+
interface Props$50 {
|
|
972
1013
|
modelValue?: number;
|
|
973
1014
|
min?: number;
|
|
974
1015
|
max?: number;
|
|
@@ -977,10 +1018,10 @@ interface Props$49 {
|
|
|
977
1018
|
showTooltip?: boolean;
|
|
978
1019
|
size?: "xs" | "sm" | "md" | "lg";
|
|
979
1020
|
}
|
|
980
|
-
declare const __VLS_export$
|
|
1021
|
+
declare const __VLS_export$50: _$vue.DefineComponent<Props$50, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
981
1022
|
"update:modelValue": (value: number) => any;
|
|
982
1023
|
change: (value: number) => any;
|
|
983
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1024
|
+
}, string, _$vue.PublicProps, Readonly<Props$50> & Readonly<{
|
|
984
1025
|
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
985
1026
|
onChange?: ((value: number) => any) | undefined;
|
|
986
1027
|
}>, {
|
|
@@ -992,70 +1033,70 @@ declare const __VLS_export$49: _$vue.DefineComponent<Props$49, {}, {}, {}, {}, _
|
|
|
992
1033
|
step: number;
|
|
993
1034
|
showTooltip: boolean;
|
|
994
1035
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
995
|
-
declare const _default$
|
|
1036
|
+
declare const _default$49: typeof __VLS_export$50;
|
|
996
1037
|
//#endregion
|
|
997
1038
|
//#region src/components/base/date-picker/date-picker.vue.d.ts
|
|
998
|
-
interface Props$
|
|
1039
|
+
interface Props$49 {
|
|
999
1040
|
modelValue?: string;
|
|
1000
1041
|
placeholder?: string;
|
|
1001
1042
|
disabled?: boolean;
|
|
1002
1043
|
type?: "date" | "month" | "year";
|
|
1003
1044
|
}
|
|
1004
|
-
declare const __VLS_export$
|
|
1045
|
+
declare const __VLS_export$49: _$vue.DefineComponent<Props$49, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1005
1046
|
"update:modelValue": (value: string) => any;
|
|
1006
1047
|
change: (value: string) => any;
|
|
1007
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1048
|
+
}, string, _$vue.PublicProps, Readonly<Props$49> & Readonly<{
|
|
1008
1049
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1009
1050
|
onChange?: ((value: string) => any) | undefined;
|
|
1010
1051
|
}>, {
|
|
1011
1052
|
type: "date" | "month" | "year";
|
|
1012
1053
|
modelValue: string;
|
|
1013
|
-
placeholder: string;
|
|
1014
1054
|
disabled: boolean;
|
|
1055
|
+
placeholder: string;
|
|
1015
1056
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1016
|
-
declare const _default$15: typeof __VLS_export$
|
|
1057
|
+
declare const _default$15: typeof __VLS_export$49;
|
|
1017
1058
|
//#endregion
|
|
1018
1059
|
//#region src/components/base/date-picker/date-range-picker.vue.d.ts
|
|
1019
|
-
interface Props$
|
|
1060
|
+
interface Props$48 {
|
|
1020
1061
|
modelValue?: [string, string];
|
|
1021
1062
|
placeholder?: string;
|
|
1022
1063
|
disabled?: boolean;
|
|
1023
1064
|
}
|
|
1024
|
-
declare const __VLS_export$
|
|
1065
|
+
declare const __VLS_export$48: _$vue.DefineComponent<Props$48, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1025
1066
|
"update:modelValue": (value: [string, string]) => any;
|
|
1026
1067
|
change: (value: [string, string]) => any;
|
|
1027
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1068
|
+
}, string, _$vue.PublicProps, Readonly<Props$48> & Readonly<{
|
|
1028
1069
|
"onUpdate:modelValue"?: ((value: [string, string]) => any) | undefined;
|
|
1029
1070
|
onChange?: ((value: [string, string]) => any) | undefined;
|
|
1030
1071
|
}>, {
|
|
1031
1072
|
modelValue: [string, string];
|
|
1032
|
-
placeholder: string;
|
|
1033
1073
|
disabled: boolean;
|
|
1074
|
+
placeholder: string;
|
|
1034
1075
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1035
|
-
declare const _default$16: typeof __VLS_export$
|
|
1076
|
+
declare const _default$16: typeof __VLS_export$48;
|
|
1036
1077
|
//#endregion
|
|
1037
1078
|
//#region src/components/base/time-picker/time-picker.vue.d.ts
|
|
1038
|
-
interface Props$
|
|
1079
|
+
interface Props$47 {
|
|
1039
1080
|
modelValue?: string;
|
|
1040
1081
|
placeholder?: string;
|
|
1041
1082
|
disabled?: boolean;
|
|
1042
1083
|
showSeconds?: boolean;
|
|
1043
1084
|
format?: string;
|
|
1044
1085
|
}
|
|
1045
|
-
declare const __VLS_export$
|
|
1086
|
+
declare const __VLS_export$47: _$vue.DefineComponent<Props$47, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1046
1087
|
"update:modelValue": (value: string) => any;
|
|
1047
1088
|
change: (value: string) => any;
|
|
1048
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1089
|
+
}, string, _$vue.PublicProps, Readonly<Props$47> & Readonly<{
|
|
1049
1090
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1050
1091
|
onChange?: ((value: string) => any) | undefined;
|
|
1051
1092
|
}>, {
|
|
1052
1093
|
modelValue: string;
|
|
1053
|
-
placeholder: string;
|
|
1054
1094
|
disabled: boolean;
|
|
1095
|
+
placeholder: string;
|
|
1055
1096
|
showSeconds: boolean;
|
|
1056
1097
|
format: string;
|
|
1057
1098
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1058
|
-
declare const _default$
|
|
1099
|
+
declare const _default$59: typeof __VLS_export$47;
|
|
1059
1100
|
//#endregion
|
|
1060
1101
|
//#region src/components/base/cascader/cascader.vue.d.ts
|
|
1061
1102
|
interface CascaderOption$1 {
|
|
@@ -1064,7 +1105,7 @@ interface CascaderOption$1 {
|
|
|
1064
1105
|
children?: CascaderOption$1[];
|
|
1065
1106
|
disabled?: boolean;
|
|
1066
1107
|
}
|
|
1067
|
-
interface Props$
|
|
1108
|
+
interface Props$46 {
|
|
1068
1109
|
modelValue?: string[] | string[][];
|
|
1069
1110
|
options?: CascaderOption$1[];
|
|
1070
1111
|
placeholder?: string;
|
|
@@ -1072,46 +1113,46 @@ interface Props$45 {
|
|
|
1072
1113
|
filterable?: boolean;
|
|
1073
1114
|
multiple?: boolean;
|
|
1074
1115
|
}
|
|
1075
|
-
declare const __VLS_export$
|
|
1116
|
+
declare const __VLS_export$46: _$vue.DefineComponent<Props$46, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1076
1117
|
"update:modelValue": (value: string[] | string[][]) => any;
|
|
1077
1118
|
change: (value: string[] | string[][]) => any;
|
|
1078
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1119
|
+
}, string, _$vue.PublicProps, Readonly<Props$46> & Readonly<{
|
|
1079
1120
|
"onUpdate:modelValue"?: ((value: string[] | string[][]) => any) | undefined;
|
|
1080
1121
|
onChange?: ((value: string[] | string[][]) => any) | undefined;
|
|
1081
1122
|
}>, {
|
|
1082
1123
|
modelValue: string[] | string[][];
|
|
1083
|
-
placeholder: string;
|
|
1084
1124
|
disabled: boolean;
|
|
1125
|
+
placeholder: string;
|
|
1085
1126
|
multiple: boolean;
|
|
1086
1127
|
options: CascaderOption$1[];
|
|
1087
1128
|
filterable: boolean;
|
|
1088
1129
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1089
|
-
declare const _default$8: typeof __VLS_export$
|
|
1130
|
+
declare const _default$8: typeof __VLS_export$46;
|
|
1090
1131
|
//#endregion
|
|
1091
1132
|
//#region src/components/base/auto-complete/auto-complete.vue.d.ts
|
|
1092
1133
|
interface Option {
|
|
1093
1134
|
label: string;
|
|
1094
1135
|
value: string;
|
|
1095
1136
|
}
|
|
1096
|
-
interface Props$
|
|
1137
|
+
interface Props$45 {
|
|
1097
1138
|
modelValue?: string;
|
|
1098
1139
|
options?: Option[];
|
|
1099
1140
|
placeholder?: string;
|
|
1100
1141
|
disabled?: boolean;
|
|
1101
1142
|
}
|
|
1102
|
-
declare const __VLS_export$
|
|
1143
|
+
declare const __VLS_export$45: _$vue.DefineComponent<Props$45, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1103
1144
|
"update:modelValue": (value: string) => any;
|
|
1104
1145
|
select: (option: Option) => any;
|
|
1105
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1146
|
+
}, string, _$vue.PublicProps, Readonly<Props$45> & Readonly<{
|
|
1106
1147
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1107
1148
|
onSelect?: ((option: Option) => any) | undefined;
|
|
1108
1149
|
}>, {
|
|
1109
1150
|
modelValue: string;
|
|
1110
|
-
placeholder: string;
|
|
1111
1151
|
disabled: boolean;
|
|
1152
|
+
placeholder: string;
|
|
1112
1153
|
options: Option[];
|
|
1113
1154
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1114
|
-
declare const _default$1: typeof __VLS_export$
|
|
1155
|
+
declare const _default$1: typeof __VLS_export$45;
|
|
1115
1156
|
//#endregion
|
|
1116
1157
|
//#region src/components/base/transfer/transfer.vue.d.ts
|
|
1117
1158
|
interface TransferOption {
|
|
@@ -1119,25 +1160,25 @@ interface TransferOption {
|
|
|
1119
1160
|
value: string | number;
|
|
1120
1161
|
disabled?: boolean;
|
|
1121
1162
|
}
|
|
1122
|
-
interface Props$
|
|
1163
|
+
interface Props$44 {
|
|
1123
1164
|
modelValue?: (string | number)[];
|
|
1124
1165
|
data?: TransferOption[];
|
|
1125
1166
|
titles?: [string, string];
|
|
1126
1167
|
height?: string | number;
|
|
1127
1168
|
}
|
|
1128
|
-
declare const __VLS_export$
|
|
1169
|
+
declare const __VLS_export$44: _$vue.DefineComponent<Props$44, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1129
1170
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
1130
1171
|
change: (value: (string | number)[]) => any;
|
|
1131
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1172
|
+
}, string, _$vue.PublicProps, Readonly<Props$44> & Readonly<{
|
|
1132
1173
|
"onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
|
|
1133
1174
|
onChange?: ((value: (string | number)[]) => any) | undefined;
|
|
1134
1175
|
}>, {
|
|
1135
1176
|
modelValue: (string | number)[];
|
|
1177
|
+
height: string | number;
|
|
1136
1178
|
data: TransferOption[];
|
|
1137
1179
|
titles: [string, string];
|
|
1138
|
-
height: string | number;
|
|
1139
1180
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1140
|
-
declare const _default$
|
|
1181
|
+
declare const _default$62: typeof __VLS_export$44;
|
|
1141
1182
|
//#endregion
|
|
1142
1183
|
//#region src/components/base/upload/upload.vue.d.ts
|
|
1143
1184
|
interface UploadFile$1 {
|
|
@@ -1148,7 +1189,7 @@ interface UploadFile$1 {
|
|
|
1148
1189
|
raw?: File;
|
|
1149
1190
|
url?: string;
|
|
1150
1191
|
}
|
|
1151
|
-
interface Props$
|
|
1192
|
+
interface Props$43 {
|
|
1152
1193
|
fileList?: UploadFile$1[];
|
|
1153
1194
|
multiple?: boolean;
|
|
1154
1195
|
accept?: string;
|
|
@@ -1162,28 +1203,28 @@ declare var __VLS_6$2: {};
|
|
|
1162
1203
|
type __VLS_Slots$32 = {} & {
|
|
1163
1204
|
default?: (props: typeof __VLS_6$2) => any;
|
|
1164
1205
|
};
|
|
1165
|
-
declare const __VLS_base$32: _$vue.DefineComponent<Props$
|
|
1166
|
-
remove: (file: UploadFile$1, fileList: UploadFile$1[]) => any;
|
|
1206
|
+
declare const __VLS_base$32: _$vue.DefineComponent<Props$43, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1167
1207
|
change: (file: UploadFile$1, fileList: UploadFile$1[]) => any;
|
|
1208
|
+
remove: (file: UploadFile$1, fileList: UploadFile$1[]) => any;
|
|
1168
1209
|
"update:fileList": (value: UploadFile$1[]) => any;
|
|
1169
1210
|
exceed: (file: File) => any;
|
|
1170
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1171
|
-
onRemove?: ((file: UploadFile$1, fileList: UploadFile$1[]) => any) | undefined;
|
|
1211
|
+
}, string, _$vue.PublicProps, Readonly<Props$43> & Readonly<{
|
|
1172
1212
|
onChange?: ((file: UploadFile$1, fileList: UploadFile$1[]) => any) | undefined;
|
|
1213
|
+
onRemove?: ((file: UploadFile$1, fileList: UploadFile$1[]) => any) | undefined;
|
|
1173
1214
|
"onUpdate:fileList"?: ((value: UploadFile$1[]) => any) | undefined;
|
|
1174
1215
|
onExceed?: ((file: File) => any) | undefined;
|
|
1175
1216
|
}>, {
|
|
1217
|
+
tip: string;
|
|
1176
1218
|
disabled: boolean;
|
|
1177
1219
|
multiple: boolean;
|
|
1178
1220
|
fileList: UploadFile$1[];
|
|
1179
1221
|
accept: string;
|
|
1180
1222
|
maxSize: number;
|
|
1181
1223
|
maxCount: number;
|
|
1182
|
-
tip: string;
|
|
1183
1224
|
action: string;
|
|
1184
1225
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1185
|
-
declare const __VLS_export$
|
|
1186
|
-
declare const _default$
|
|
1226
|
+
declare const __VLS_export$43: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
1227
|
+
declare const _default$65: typeof __VLS_export$43;
|
|
1187
1228
|
type __VLS_WithSlots$32<T, S> = T & {
|
|
1188
1229
|
new (): {
|
|
1189
1230
|
$slots: S;
|
|
@@ -1212,7 +1253,7 @@ interface TabOption$1 {
|
|
|
1212
1253
|
key: string;
|
|
1213
1254
|
label: string;
|
|
1214
1255
|
}
|
|
1215
|
-
interface Props$
|
|
1256
|
+
interface Props$42 {
|
|
1216
1257
|
title?: string;
|
|
1217
1258
|
subtitle?: string;
|
|
1218
1259
|
formTitle?: string;
|
|
@@ -1259,22 +1300,25 @@ type __VLS_Slots$31 = {} & {
|
|
|
1259
1300
|
} & {
|
|
1260
1301
|
footer?: (props: typeof __VLS_17) => any;
|
|
1261
1302
|
};
|
|
1262
|
-
declare const __VLS_base$31: _$vue.DefineComponent<Props$
|
|
1303
|
+
declare const __VLS_base$31: _$vue.DefineComponent<Props$42, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1304
|
+
"tab-change": (tab: string) => any;
|
|
1263
1305
|
submit: (data: LoginFormData$2) => any;
|
|
1264
1306
|
"send-code": (phone: string) => any;
|
|
1265
1307
|
"forgot-password": () => any;
|
|
1266
1308
|
"social-login": (provider: string) => any;
|
|
1267
|
-
|
|
1268
|
-
|
|
1309
|
+
}, string, _$vue.PublicProps, Readonly<Props$42> & Readonly<{
|
|
1310
|
+
"onTab-change"?: ((tab: string) => any) | undefined;
|
|
1269
1311
|
onSubmit?: ((data: LoginFormData$2) => any) | undefined;
|
|
1270
1312
|
"onSend-code"?: ((phone: string) => any) | undefined;
|
|
1271
1313
|
"onForgot-password"?: (() => any) | undefined;
|
|
1272
1314
|
"onSocial-login"?: ((provider: string) => any) | undefined;
|
|
1273
|
-
"onTab-change"?: ((tab: string) => any) | undefined;
|
|
1274
1315
|
}>, {
|
|
1275
|
-
loading: boolean;
|
|
1276
|
-
error: string;
|
|
1277
1316
|
title: string;
|
|
1317
|
+
tabs: TabOption$1[];
|
|
1318
|
+
footerText: string;
|
|
1319
|
+
error: string;
|
|
1320
|
+
loading: boolean;
|
|
1321
|
+
loadingText: string;
|
|
1278
1322
|
subtitle: string;
|
|
1279
1323
|
formTitle: string;
|
|
1280
1324
|
usernamePlaceholder: string;
|
|
@@ -1285,12 +1329,9 @@ declare const __VLS_base$31: _$vue.DefineComponent<Props$41, {}, {}, {}, {}, _$v
|
|
|
1285
1329
|
rememberText: string;
|
|
1286
1330
|
forgotText: string;
|
|
1287
1331
|
submitText: string;
|
|
1288
|
-
loadingText: string;
|
|
1289
1332
|
socialText: string;
|
|
1290
|
-
footerText: string;
|
|
1291
1333
|
features: Feature[];
|
|
1292
1334
|
socials: SocialOption$1[];
|
|
1293
|
-
tabs: TabOption$1[];
|
|
1294
1335
|
showTabs: boolean;
|
|
1295
1336
|
showSocial: boolean;
|
|
1296
1337
|
showCaptcha: boolean;
|
|
@@ -1304,8 +1345,8 @@ declare const __VLS_base$31: _$vue.DefineComponent<Props$41, {}, {}, {}, {}, _$v
|
|
|
1304
1345
|
captchaCode: string;
|
|
1305
1346
|
captchaMode: "client" | "server";
|
|
1306
1347
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1307
|
-
declare const __VLS_export$
|
|
1308
|
-
declare const _default$
|
|
1348
|
+
declare const __VLS_export$42: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
1349
|
+
declare const _default$34: typeof __VLS_export$42;
|
|
1309
1350
|
type __VLS_WithSlots$31<T, S> = T & {
|
|
1310
1351
|
new (): {
|
|
1311
1352
|
$slots: S;
|
|
@@ -1330,7 +1371,7 @@ interface LoginFormData$1 {
|
|
|
1330
1371
|
captchaCode: string;
|
|
1331
1372
|
remember: boolean;
|
|
1332
1373
|
}
|
|
1333
|
-
interface Props$
|
|
1374
|
+
interface Props$41 {
|
|
1334
1375
|
title?: string;
|
|
1335
1376
|
subtitle?: string;
|
|
1336
1377
|
usernameLabel?: string;
|
|
@@ -1365,21 +1406,24 @@ type __VLS_Slots$30 = {} & {
|
|
|
1365
1406
|
} & {
|
|
1366
1407
|
footer?: (props: typeof __VLS_15$2) => any;
|
|
1367
1408
|
};
|
|
1368
|
-
declare const __VLS_base$30: _$vue.DefineComponent<Props$
|
|
1409
|
+
declare const __VLS_base$30: _$vue.DefineComponent<Props$41, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1369
1410
|
submit: (data: LoginFormData$1) => any;
|
|
1370
1411
|
"send-code": (phone: string) => any;
|
|
1371
1412
|
"forgot-password": () => any;
|
|
1372
1413
|
"social-login": (provider: string) => any;
|
|
1373
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1414
|
+
}, string, _$vue.PublicProps, Readonly<Props$41> & Readonly<{
|
|
1374
1415
|
onSubmit?: ((data: LoginFormData$1) => any) | undefined;
|
|
1375
1416
|
"onSend-code"?: ((phone: string) => any) | undefined;
|
|
1376
1417
|
"onForgot-password"?: (() => any) | undefined;
|
|
1377
1418
|
"onSocial-login"?: ((provider: string) => any) | undefined;
|
|
1378
1419
|
}>, {
|
|
1379
1420
|
theme: "default" | "gradient" | "minimal";
|
|
1380
|
-
loading: boolean;
|
|
1381
|
-
error: string;
|
|
1382
1421
|
title: string;
|
|
1422
|
+
tabs: TabOption[];
|
|
1423
|
+
footerText: string;
|
|
1424
|
+
error: string;
|
|
1425
|
+
loading: boolean;
|
|
1426
|
+
loadingText: string;
|
|
1383
1427
|
subtitle: string;
|
|
1384
1428
|
usernamePlaceholder: string;
|
|
1385
1429
|
passwordPlaceholder: string;
|
|
@@ -1389,11 +1433,8 @@ declare const __VLS_base$30: _$vue.DefineComponent<Props$40, {}, {}, {}, {}, _$v
|
|
|
1389
1433
|
rememberText: string;
|
|
1390
1434
|
forgotText: string;
|
|
1391
1435
|
submitText: string;
|
|
1392
|
-
loadingText: string;
|
|
1393
1436
|
socialText: string;
|
|
1394
|
-
footerText: string;
|
|
1395
1437
|
socials: SocialOption[];
|
|
1396
|
-
tabs: TabOption[];
|
|
1397
1438
|
showTabs: boolean;
|
|
1398
1439
|
showSocial: boolean;
|
|
1399
1440
|
showCaptcha: boolean;
|
|
@@ -1404,8 +1445,8 @@ declare const __VLS_base$30: _$vue.DefineComponent<Props$40, {}, {}, {}, {}, _$v
|
|
|
1404
1445
|
codeLabel: string;
|
|
1405
1446
|
captchaLabel: string;
|
|
1406
1447
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1407
|
-
declare const __VLS_export$
|
|
1408
|
-
declare const _default$
|
|
1448
|
+
declare const __VLS_export$41: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
1449
|
+
declare const _default$35: typeof __VLS_export$41;
|
|
1409
1450
|
type __VLS_WithSlots$30<T, S> = T & {
|
|
1410
1451
|
new (): {
|
|
1411
1452
|
$slots: S;
|
|
@@ -1413,7 +1454,7 @@ type __VLS_WithSlots$30<T, S> = T & {
|
|
|
1413
1454
|
};
|
|
1414
1455
|
//#endregion
|
|
1415
1456
|
//#region src/components/base/captcha/captcha.vue.d.ts
|
|
1416
|
-
interface Props$
|
|
1457
|
+
interface Props$40 {
|
|
1417
1458
|
/** 验证码长度(客户端生成时有效) */
|
|
1418
1459
|
length?: number;
|
|
1419
1460
|
/** 宽度 */
|
|
@@ -1432,27 +1473,27 @@ interface Props$39 {
|
|
|
1432
1473
|
mode?: "client" | "server";
|
|
1433
1474
|
}
|
|
1434
1475
|
declare function refresh(): void;
|
|
1435
|
-
declare const __VLS_export$
|
|
1476
|
+
declare const __VLS_export$40: _$vue.DefineComponent<Props$40, {
|
|
1436
1477
|
code: _$vue.Ref<string, string>;
|
|
1437
1478
|
refresh: typeof refresh;
|
|
1438
1479
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1439
1480
|
change: (code: string) => any;
|
|
1440
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1481
|
+
}, string, _$vue.PublicProps, Readonly<Props$40> & Readonly<{
|
|
1441
1482
|
onChange?: ((code: string) => any) | undefined;
|
|
1442
1483
|
}>, {
|
|
1443
1484
|
length: number;
|
|
1485
|
+
width: number;
|
|
1444
1486
|
mode: "client" | "server";
|
|
1445
|
-
src: string;
|
|
1446
1487
|
height: number;
|
|
1447
|
-
|
|
1488
|
+
src: string;
|
|
1448
1489
|
fontSize: number;
|
|
1449
1490
|
bgColor: string;
|
|
1450
1491
|
code: string;
|
|
1451
1492
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1452
|
-
declare const _default$6: typeof __VLS_export$
|
|
1493
|
+
declare const _default$6: typeof __VLS_export$40;
|
|
1453
1494
|
//#endregion
|
|
1454
1495
|
//#region src/components/base/pin-input/pin-input.vue.d.ts
|
|
1455
|
-
interface Props$
|
|
1496
|
+
interface Props$39 {
|
|
1456
1497
|
modelValue?: string;
|
|
1457
1498
|
length?: number;
|
|
1458
1499
|
disabled?: boolean;
|
|
@@ -1460,24 +1501,24 @@ interface Props$38 {
|
|
|
1460
1501
|
errorMessage?: string;
|
|
1461
1502
|
mask?: boolean;
|
|
1462
1503
|
}
|
|
1463
|
-
declare const __VLS_export$
|
|
1504
|
+
declare const __VLS_export$39: _$vue.DefineComponent<Props$39, {
|
|
1464
1505
|
focus: (index?: number) => void;
|
|
1465
1506
|
clear: () => void;
|
|
1466
1507
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1467
1508
|
"update:modelValue": (value: string) => any;
|
|
1468
1509
|
complete: (value: string) => any;
|
|
1469
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1510
|
+
}, string, _$vue.PublicProps, Readonly<Props$39> & Readonly<{
|
|
1470
1511
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1471
1512
|
onComplete?: ((value: string) => any) | undefined;
|
|
1472
1513
|
}>, {
|
|
1473
1514
|
length: number;
|
|
1515
|
+
error: boolean;
|
|
1474
1516
|
modelValue: string;
|
|
1475
1517
|
disabled: boolean;
|
|
1476
|
-
error: boolean;
|
|
1477
1518
|
errorMessage: string;
|
|
1478
1519
|
mask: boolean;
|
|
1479
1520
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1480
|
-
declare const _default$
|
|
1521
|
+
declare const _default$39: typeof __VLS_export$39;
|
|
1481
1522
|
//#endregion
|
|
1482
1523
|
//#region src/components/base/tree-select/tree-select.vue.d.ts
|
|
1483
1524
|
interface TreeNodeType$1 {
|
|
@@ -1487,7 +1528,7 @@ interface TreeNodeType$1 {
|
|
|
1487
1528
|
disabled?: boolean;
|
|
1488
1529
|
isLeaf?: boolean;
|
|
1489
1530
|
}
|
|
1490
|
-
interface Props$
|
|
1531
|
+
interface Props$38 {
|
|
1491
1532
|
modelValue?: string | number | string[] | number[];
|
|
1492
1533
|
placeholder?: string;
|
|
1493
1534
|
disabled?: boolean;
|
|
@@ -1510,44 +1551,44 @@ interface Props$37 {
|
|
|
1510
1551
|
rowHeight?: number;
|
|
1511
1552
|
overscan?: number;
|
|
1512
1553
|
}
|
|
1513
|
-
declare const __VLS_export$
|
|
1554
|
+
declare const __VLS_export$38: _$vue.DefineComponent<Props$38, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1514
1555
|
"update:modelValue": (value: string | number | string[] | number[]) => any;
|
|
1515
1556
|
change: (value: string | number | string[] | number[]) => any;
|
|
1557
|
+
check: (checkedKeys: string[]) => any;
|
|
1516
1558
|
focus: (event: FocusEvent) => any;
|
|
1517
1559
|
blur: (event: FocusEvent) => any;
|
|
1518
|
-
|
|
1519
|
-
}, string, _$vue.PublicProps, Readonly<Props$37> & Readonly<{
|
|
1560
|
+
}, string, _$vue.PublicProps, Readonly<Props$38> & Readonly<{
|
|
1520
1561
|
"onUpdate:modelValue"?: ((value: string | number | string[] | number[]) => any) | undefined;
|
|
1521
1562
|
onChange?: ((value: string | number | string[] | number[]) => any) | undefined;
|
|
1563
|
+
onCheck?: ((checkedKeys: string[]) => any) | undefined;
|
|
1522
1564
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1523
1565
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1524
|
-
onCheck?: ((checkedKeys: string[]) => any) | undefined;
|
|
1525
1566
|
}>, {
|
|
1526
1567
|
size: ComponentSize;
|
|
1568
|
+
variant: "default" | "bordered" | "filled";
|
|
1569
|
+
error: string;
|
|
1527
1570
|
modelValue: string | number | string[] | number[];
|
|
1528
|
-
|
|
1571
|
+
virtualScroll: boolean;
|
|
1572
|
+
rowHeight: number;
|
|
1573
|
+
overscan: number;
|
|
1574
|
+
defaultExpandedKeys: string[];
|
|
1575
|
+
defaultCheckedKeys: string[];
|
|
1529
1576
|
disabled: boolean;
|
|
1530
|
-
variant: "default" | "bordered" | "filled";
|
|
1531
|
-
clearable: boolean;
|
|
1532
|
-
multiple: boolean;
|
|
1533
1577
|
label: string;
|
|
1578
|
+
placeholder: string;
|
|
1579
|
+
multiple: boolean;
|
|
1534
1580
|
required: boolean;
|
|
1535
|
-
error: string;
|
|
1536
1581
|
hint: string;
|
|
1537
1582
|
filterable: boolean;
|
|
1583
|
+
clearable: boolean;
|
|
1538
1584
|
dropdownHeight: number;
|
|
1539
1585
|
treeData: TreeNodeType$1[];
|
|
1540
|
-
defaultExpandedKeys: string[];
|
|
1541
|
-
defaultCheckedKeys: string[];
|
|
1542
1586
|
checkable: boolean;
|
|
1543
|
-
virtualScroll: boolean;
|
|
1544
|
-
rowHeight: number;
|
|
1545
|
-
overscan: number;
|
|
1546
1587
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1547
|
-
declare const _default$
|
|
1588
|
+
declare const _default$64: typeof __VLS_export$38;
|
|
1548
1589
|
//#endregion
|
|
1549
1590
|
//#region src/components/base/color-picker/color-picker.vue.d.ts
|
|
1550
|
-
interface Props$
|
|
1591
|
+
interface Props$37 {
|
|
1551
1592
|
modelValue?: string;
|
|
1552
1593
|
placeholder?: string;
|
|
1553
1594
|
disabled?: boolean;
|
|
@@ -1564,34 +1605,34 @@ interface Props$36 {
|
|
|
1564
1605
|
clearable?: boolean;
|
|
1565
1606
|
presetColors?: string[];
|
|
1566
1607
|
}
|
|
1567
|
-
declare const __VLS_export$
|
|
1608
|
+
declare const __VLS_export$37: _$vue.DefineComponent<Props$37, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1568
1609
|
"update:modelValue": (value: string) => any;
|
|
1569
1610
|
change: (value: string) => any;
|
|
1570
1611
|
focus: (event: FocusEvent) => any;
|
|
1571
1612
|
blur: (event: FocusEvent) => any;
|
|
1572
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1613
|
+
}, string, _$vue.PublicProps, Readonly<Props$37> & Readonly<{
|
|
1573
1614
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
1574
1615
|
onChange?: ((value: string) => any) | undefined;
|
|
1575
1616
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
1576
1617
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
1577
1618
|
}>, {
|
|
1578
1619
|
size: ComponentSize;
|
|
1620
|
+
variant: "default" | "bordered" | "filled";
|
|
1621
|
+
error: string;
|
|
1579
1622
|
modelValue: string;
|
|
1580
1623
|
editable: boolean;
|
|
1581
|
-
placeholder: string;
|
|
1582
1624
|
disabled: boolean;
|
|
1583
|
-
variant: "default" | "bordered" | "filled";
|
|
1584
|
-
clearable: boolean;
|
|
1585
1625
|
label: string;
|
|
1626
|
+
placeholder: string;
|
|
1586
1627
|
required: boolean;
|
|
1587
|
-
error: string;
|
|
1588
1628
|
hint: string;
|
|
1629
|
+
clearable: boolean;
|
|
1589
1630
|
showAlpha: boolean;
|
|
1590
1631
|
showPreset: boolean;
|
|
1591
1632
|
showPreview: boolean;
|
|
1592
1633
|
presetColors: string[];
|
|
1593
1634
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1594
|
-
declare const _default$12: typeof __VLS_export$
|
|
1635
|
+
declare const _default$12: typeof __VLS_export$37;
|
|
1595
1636
|
//#endregion
|
|
1596
1637
|
//#region src/components/form/types.d.ts
|
|
1597
1638
|
/**
|
|
@@ -1625,7 +1666,7 @@ interface ValidateResult {
|
|
|
1625
1666
|
/**
|
|
1626
1667
|
* 表单实例接口
|
|
1627
1668
|
*/
|
|
1628
|
-
interface FormInstance
|
|
1669
|
+
interface FormInstance {
|
|
1629
1670
|
validate: () => Promise<ValidateResult>;
|
|
1630
1671
|
resetFields: () => void;
|
|
1631
1672
|
clearValidate: (fields?: string[]) => void;
|
|
@@ -1783,7 +1824,7 @@ interface UseFormSchemaReturn {
|
|
|
1783
1824
|
}
|
|
1784
1825
|
//#endregion
|
|
1785
1826
|
//#region src/components/form/form/form.vue.d.ts
|
|
1786
|
-
interface Props$
|
|
1827
|
+
interface Props$36 {
|
|
1787
1828
|
modelValue?: Record<string, unknown>;
|
|
1788
1829
|
rules?: FormRules;
|
|
1789
1830
|
layout?: "horizontal" | "vertical" | "inline";
|
|
@@ -1795,13 +1836,13 @@ declare var __VLS_1$20: {};
|
|
|
1795
1836
|
type __VLS_Slots$29 = {} & {
|
|
1796
1837
|
default?: (props: typeof __VLS_1$20) => any;
|
|
1797
1838
|
};
|
|
1798
|
-
declare const __VLS_base$29: _$vue.DefineComponent<Props$
|
|
1839
|
+
declare const __VLS_base$29: _$vue.DefineComponent<Props$36, FormInstance, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
1799
1840
|
submit: (values: Record<string, unknown>) => any;
|
|
1800
1841
|
validate: (result: {
|
|
1801
1842
|
valid: boolean;
|
|
1802
1843
|
errors: unknown[];
|
|
1803
1844
|
}) => any;
|
|
1804
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1845
|
+
}, string, _$vue.PublicProps, Readonly<Props$36> & Readonly<{
|
|
1805
1846
|
onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
|
|
1806
1847
|
onValidate?: ((result: {
|
|
1807
1848
|
valid: boolean;
|
|
@@ -1810,13 +1851,13 @@ declare const __VLS_base$29: _$vue.DefineComponent<Props$35, FormInstance, {}, {
|
|
|
1810
1851
|
}>, {
|
|
1811
1852
|
modelValue: Record<string, unknown>;
|
|
1812
1853
|
disabled: boolean;
|
|
1813
|
-
|
|
1854
|
+
rules: FormRules;
|
|
1814
1855
|
layout: "horizontal" | "vertical" | "inline";
|
|
1856
|
+
labelWidth: string;
|
|
1815
1857
|
labelPosition: "left" | "right" | "top";
|
|
1816
|
-
rules: FormRules;
|
|
1817
1858
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1818
|
-
declare const __VLS_export$
|
|
1819
|
-
declare const _default$21: typeof __VLS_export$
|
|
1859
|
+
declare const __VLS_export$36: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
1860
|
+
declare const _default$21: typeof __VLS_export$36;
|
|
1820
1861
|
type __VLS_WithSlots$29<T, S> = T & {
|
|
1821
1862
|
new (): {
|
|
1822
1863
|
$slots: S;
|
|
@@ -1824,7 +1865,7 @@ type __VLS_WithSlots$29<T, S> = T & {
|
|
|
1824
1865
|
};
|
|
1825
1866
|
//#endregion
|
|
1826
1867
|
//#region src/components/form/form-item/form-item.vue.d.ts
|
|
1827
|
-
interface Props$
|
|
1868
|
+
interface Props$35 {
|
|
1828
1869
|
prop?: string;
|
|
1829
1870
|
label?: string;
|
|
1830
1871
|
required?: boolean;
|
|
@@ -1834,14 +1875,14 @@ declare var __VLS_1$19: {};
|
|
|
1834
1875
|
type __VLS_Slots$28 = {} & {
|
|
1835
1876
|
default?: (props: typeof __VLS_1$19) => any;
|
|
1836
1877
|
};
|
|
1837
|
-
declare const __VLS_base$28: _$vue.DefineComponent<Props$
|
|
1878
|
+
declare const __VLS_base$28: _$vue.DefineComponent<Props$35, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$35> & Readonly<{}>, {
|
|
1838
1879
|
label: string;
|
|
1839
1880
|
required: boolean;
|
|
1840
1881
|
prop: string;
|
|
1841
1882
|
extra: string;
|
|
1842
1883
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1843
|
-
declare const __VLS_export$
|
|
1844
|
-
declare const _default$22: typeof __VLS_export$
|
|
1884
|
+
declare const __VLS_export$35: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
1885
|
+
declare const _default$22: typeof __VLS_export$35;
|
|
1845
1886
|
type __VLS_WithSlots$28<T, S> = T & {
|
|
1846
1887
|
new (): {
|
|
1847
1888
|
$slots: S;
|
|
@@ -1849,7 +1890,7 @@ type __VLS_WithSlots$28<T, S> = T & {
|
|
|
1849
1890
|
};
|
|
1850
1891
|
//#endregion
|
|
1851
1892
|
//#region src/components/form/schema-form/SchemaForm.vue.d.ts
|
|
1852
|
-
interface Props$
|
|
1893
|
+
interface Props$34 {
|
|
1853
1894
|
schema: FormSchema[];
|
|
1854
1895
|
modelValue?: Record<string, unknown>;
|
|
1855
1896
|
labelWidth?: string;
|
|
@@ -1861,7 +1902,7 @@ declare var __VLS_12$2: `group-${string}`, __VLS_13$1: {}, __VLS_22: string, __V
|
|
|
1861
1902
|
type __VLS_Slots$27 = {} & { [K in NonNullable<typeof __VLS_12$2>]?: (props: typeof __VLS_13$1) => any } & { [K in NonNullable<typeof __VLS_22>]?: (props: typeof __VLS_23$2) => any } & { [K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34$1) => any } & { [K in NonNullable<typeof __VLS_43>]?: (props: typeof __VLS_44) => any } & {
|
|
1862
1903
|
default?: (props: typeof __VLS_53) => any;
|
|
1863
1904
|
};
|
|
1864
|
-
declare const __VLS_base$27: _$vue.DefineComponent<Props$
|
|
1905
|
+
declare const __VLS_base$27: _$vue.DefineComponent<Props$34, {
|
|
1865
1906
|
validate: () => Promise<ValidateResult>;
|
|
1866
1907
|
resetFields: () => void;
|
|
1867
1908
|
scrollToField: (name: string) => void;
|
|
@@ -1870,7 +1911,7 @@ declare const __VLS_base$27: _$vue.DefineComponent<Props$33, {
|
|
|
1870
1911
|
change: (name: string, value: unknown) => any;
|
|
1871
1912
|
submit: (values: Record<string, unknown>) => any;
|
|
1872
1913
|
reset: () => any;
|
|
1873
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
1914
|
+
}, string, _$vue.PublicProps, Readonly<Props$34> & Readonly<{
|
|
1874
1915
|
"onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
|
|
1875
1916
|
onChange?: ((name: string, value: unknown) => any) | undefined;
|
|
1876
1917
|
onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
|
|
@@ -1878,12 +1919,12 @@ declare const __VLS_base$27: _$vue.DefineComponent<Props$33, {
|
|
|
1878
1919
|
}>, {
|
|
1879
1920
|
modelValue: Record<string, unknown>;
|
|
1880
1921
|
disabled: boolean;
|
|
1881
|
-
labelWidth: string;
|
|
1882
1922
|
layout: "horizontal" | "vertical" | "inline";
|
|
1923
|
+
labelWidth: string;
|
|
1883
1924
|
labelPosition: "left" | "right" | "top";
|
|
1884
1925
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1885
|
-
declare const __VLS_export$
|
|
1886
|
-
declare const _default$
|
|
1926
|
+
declare const __VLS_export$34: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
1927
|
+
declare const _default$46: typeof __VLS_export$34;
|
|
1887
1928
|
type __VLS_WithSlots$27<T, S> = T & {
|
|
1888
1929
|
new (): {
|
|
1889
1930
|
$slots: S;
|
|
@@ -1897,7 +1938,7 @@ type __VLS_WithSlots$27<T, S> = T & {
|
|
|
1897
1938
|
declare function useFormSchema(schema: FormSchema[], initialValues?: Record<string, unknown>): UseFormSchemaReturn;
|
|
1898
1939
|
//#endregion
|
|
1899
1940
|
//#region src/components/layout/space/space.vue.d.ts
|
|
1900
|
-
interface Props$
|
|
1941
|
+
interface Props$33 {
|
|
1901
1942
|
size?: number | string | [number | string, number | string];
|
|
1902
1943
|
direction?: Direction;
|
|
1903
1944
|
wrap?: boolean;
|
|
@@ -1907,14 +1948,14 @@ declare var __VLS_1$18: {};
|
|
|
1907
1948
|
type __VLS_Slots$26 = {} & {
|
|
1908
1949
|
default?: (props: typeof __VLS_1$18) => any;
|
|
1909
1950
|
};
|
|
1910
|
-
declare const __VLS_base$26: _$vue.DefineComponent<Props$
|
|
1951
|
+
declare const __VLS_base$26: _$vue.DefineComponent<Props$33, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$33> & Readonly<{}>, {
|
|
1911
1952
|
size: number | string | [number | string, number | string];
|
|
1912
1953
|
direction: Direction;
|
|
1913
1954
|
wrap: boolean;
|
|
1914
1955
|
align: "start" | "end" | "center" | "baseline";
|
|
1915
1956
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1916
|
-
declare const __VLS_export$
|
|
1917
|
-
declare const _default$
|
|
1957
|
+
declare const __VLS_export$33: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
1958
|
+
declare const _default$50: typeof __VLS_export$33;
|
|
1918
1959
|
type __VLS_WithSlots$26<T, S> = T & {
|
|
1919
1960
|
new (): {
|
|
1920
1961
|
$slots: S;
|
|
@@ -1922,7 +1963,7 @@ type __VLS_WithSlots$26<T, S> = T & {
|
|
|
1922
1963
|
};
|
|
1923
1964
|
//#endregion
|
|
1924
1965
|
//#region src/components/layout/divider/divider.vue.d.ts
|
|
1925
|
-
interface Props$
|
|
1966
|
+
interface Props$32 {
|
|
1926
1967
|
direction?: Direction;
|
|
1927
1968
|
type?: "default" | "dashed" | "dotted";
|
|
1928
1969
|
orientation?: "left" | "center" | "right";
|
|
@@ -1933,15 +1974,15 @@ declare var __VLS_1$17: {};
|
|
|
1933
1974
|
type __VLS_Slots$25 = {} & {
|
|
1934
1975
|
default?: (props: typeof __VLS_1$17) => any;
|
|
1935
1976
|
};
|
|
1936
|
-
declare const __VLS_base$25: _$vue.DefineComponent<Props$
|
|
1977
|
+
declare const __VLS_base$25: _$vue.DefineComponent<Props$32, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$32> & Readonly<{}>, {
|
|
1937
1978
|
type: "default" | "dashed" | "dotted";
|
|
1938
1979
|
direction: Direction;
|
|
1939
|
-
variant: "default" | "primary" | "success" | "warning" | "error";
|
|
1940
1980
|
orientation: "left" | "center" | "right";
|
|
1941
1981
|
dashed: boolean;
|
|
1982
|
+
variant: "default" | "primary" | "success" | "warning" | "error";
|
|
1942
1983
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
1943
|
-
declare const __VLS_export$
|
|
1944
|
-
declare const _default$17: typeof __VLS_export$
|
|
1984
|
+
declare const __VLS_export$32: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
1985
|
+
declare const _default$17: typeof __VLS_export$32;
|
|
1945
1986
|
type __VLS_WithSlots$25<T, S> = T & {
|
|
1946
1987
|
new (): {
|
|
1947
1988
|
$slots: S;
|
|
@@ -2013,7 +2054,7 @@ interface MenuItem {
|
|
|
2013
2054
|
/**
|
|
2014
2055
|
* 用户权限信息
|
|
2015
2056
|
*/
|
|
2016
|
-
interface UserPermissions {
|
|
2057
|
+
interface UserPermissions$1 {
|
|
2017
2058
|
/** 用户角色列表 */
|
|
2018
2059
|
roles?: string[];
|
|
2019
2060
|
/** 用户权限列表 */
|
|
@@ -2041,7 +2082,7 @@ interface LayoutContext {
|
|
|
2041
2082
|
}
|
|
2042
2083
|
//#endregion
|
|
2043
2084
|
//#region src/components/layout/layout/layout.vue.d.ts
|
|
2044
|
-
interface Props$
|
|
2085
|
+
interface Props$31 {
|
|
2045
2086
|
/** 是否折叠侧边栏 */
|
|
2046
2087
|
collapsed?: boolean;
|
|
2047
2088
|
/** 侧边栏宽度 */
|
|
@@ -2099,42 +2140,42 @@ type __VLS_Slots$24 = {} & {
|
|
|
2099
2140
|
} & {
|
|
2100
2141
|
default?: (props: typeof __VLS_42) => any;
|
|
2101
2142
|
};
|
|
2102
|
-
declare const __VLS_base$24: _$vue.DefineComponent<Props$
|
|
2103
|
-
"update:
|
|
2104
|
-
"tab-change": (key: string) => any;
|
|
2143
|
+
declare const __VLS_base$24: _$vue.DefineComponent<Props$31, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2144
|
+
"update:collapsed": (value: boolean) => any;
|
|
2105
2145
|
collapse: (collapsed: boolean) => any;
|
|
2106
2146
|
"menu-click": (key: string) => any;
|
|
2147
|
+
"tab-change": (key: string) => any;
|
|
2107
2148
|
"tab-close": (key: string) => any;
|
|
2108
2149
|
"tab-add": () => any;
|
|
2109
2150
|
"tab-reorder": (payload: {
|
|
2110
2151
|
from: number;
|
|
2111
2152
|
to: number;
|
|
2112
2153
|
}) => any;
|
|
2154
|
+
"update:modelTabs": (value: TabItem[]) => any;
|
|
2113
2155
|
"language-change": (lang: string) => any;
|
|
2114
2156
|
"user-command": (command: string) => any;
|
|
2115
2157
|
"settings-click": () => any;
|
|
2116
|
-
"update:collapsed": (value: boolean) => any;
|
|
2117
2158
|
"update:theme": (value: LayoutTheme) => any;
|
|
2118
2159
|
"theme-change": (theme: LayoutTheme) => any;
|
|
2119
2160
|
"update:siderWidth": (value: number) => any;
|
|
2120
2161
|
"sider-width-change": (width: number) => any;
|
|
2121
2162
|
"update:headerHeight": (value: number) => any;
|
|
2122
2163
|
"header-height-change": (height: number) => any;
|
|
2123
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2124
|
-
"onUpdate:
|
|
2125
|
-
"onTab-change"?: ((key: string) => any) | undefined;
|
|
2164
|
+
}, string, _$vue.PublicProps, Readonly<Props$31> & Readonly<{
|
|
2165
|
+
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
2126
2166
|
onCollapse?: ((collapsed: boolean) => any) | undefined;
|
|
2127
2167
|
"onMenu-click"?: ((key: string) => any) | undefined;
|
|
2168
|
+
"onTab-change"?: ((key: string) => any) | undefined;
|
|
2128
2169
|
"onTab-close"?: ((key: string) => any) | undefined;
|
|
2129
2170
|
"onTab-add"?: (() => any) | undefined;
|
|
2130
2171
|
"onTab-reorder"?: ((payload: {
|
|
2131
2172
|
from: number;
|
|
2132
2173
|
to: number;
|
|
2133
2174
|
}) => any) | undefined;
|
|
2175
|
+
"onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
|
|
2134
2176
|
"onLanguage-change"?: ((lang: string) => any) | undefined;
|
|
2135
2177
|
"onUser-command"?: ((command: string) => any) | undefined;
|
|
2136
2178
|
"onSettings-click"?: (() => any) | undefined;
|
|
2137
|
-
"onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
|
|
2138
2179
|
"onUpdate:theme"?: ((value: LayoutTheme) => any) | undefined;
|
|
2139
2180
|
"onTheme-change"?: ((theme: LayoutTheme) => any) | undefined;
|
|
2140
2181
|
"onUpdate:siderWidth"?: ((value: number) => any) | undefined;
|
|
@@ -2143,29 +2184,29 @@ declare const __VLS_base$24: _$vue.DefineComponent<Props$30, {}, {}, {}, {}, _$v
|
|
|
2143
2184
|
"onHeader-height-change"?: ((height: number) => any) | undefined;
|
|
2144
2185
|
}>, {
|
|
2145
2186
|
theme: LayoutTheme;
|
|
2146
|
-
modelTabs: TabItem[];
|
|
2147
2187
|
collapsed: boolean;
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
footerText: string;
|
|
2152
|
-
tabs: TabItem[];
|
|
2188
|
+
siderWidth: number;
|
|
2189
|
+
siderCollapsedWidth: number;
|
|
2190
|
+
headerHeight: number;
|
|
2153
2191
|
logo: string;
|
|
2192
|
+
title: string;
|
|
2154
2193
|
menuItems: MenuItem[];
|
|
2155
2194
|
activeKey: string;
|
|
2195
|
+
tabs: TabItem[];
|
|
2196
|
+
modelTabs: TabItem[];
|
|
2156
2197
|
activeTab: string;
|
|
2157
|
-
siderWidth: number;
|
|
2158
|
-
headerHeight: number;
|
|
2159
|
-
siderCollapsedWidth: number;
|
|
2160
2198
|
contentPadding: number | string;
|
|
2161
2199
|
hasSider: boolean;
|
|
2162
2200
|
hasHeader: boolean;
|
|
2163
2201
|
hasContent: boolean;
|
|
2202
|
+
waterfall: boolean;
|
|
2203
|
+
popupAlign: "trigger" | "container";
|
|
2204
|
+
footerText: string;
|
|
2164
2205
|
headerFixed: boolean;
|
|
2165
2206
|
siderResizable: boolean;
|
|
2166
2207
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2167
|
-
declare const __VLS_export$
|
|
2168
|
-
declare const _default$
|
|
2208
|
+
declare const __VLS_export$31: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
2209
|
+
declare const _default$28: typeof __VLS_export$31;
|
|
2169
2210
|
type __VLS_WithSlots$24<T, S> = T & {
|
|
2170
2211
|
new (): {
|
|
2171
2212
|
$slots: S;
|
|
@@ -2173,7 +2214,7 @@ type __VLS_WithSlots$24<T, S> = T & {
|
|
|
2173
2214
|
};
|
|
2174
2215
|
//#endregion
|
|
2175
2216
|
//#region src/components/layout/layout/layout-sidebar.vue.d.ts
|
|
2176
|
-
interface Props$
|
|
2217
|
+
interface Props$30 {
|
|
2177
2218
|
/** Logo 图片 */
|
|
2178
2219
|
logo?: string;
|
|
2179
2220
|
/** 标题 */
|
|
@@ -2215,26 +2256,26 @@ type __VLS_Slots$23 = {} & {
|
|
|
2215
2256
|
} & {
|
|
2216
2257
|
sider?: (props: typeof __VLS_9$2) => any;
|
|
2217
2258
|
};
|
|
2218
|
-
declare const __VLS_base$23: _$vue.DefineComponent<Props$
|
|
2259
|
+
declare const __VLS_base$23: _$vue.DefineComponent<Props$30, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2219
2260
|
collapse: (collapsed: boolean) => any;
|
|
2261
|
+
"menu-click": (key: string, item: MenuItem) => any;
|
|
2220
2262
|
"width-change": (width: number) => any;
|
|
2221
2263
|
"path-change": (path: string[]) => any;
|
|
2222
|
-
|
|
2223
|
-
}, string, _$vue.PublicProps, Readonly<Props$29> & Readonly<{
|
|
2264
|
+
}, string, _$vue.PublicProps, Readonly<Props$30> & Readonly<{
|
|
2224
2265
|
onCollapse?: ((collapsed: boolean) => any) | undefined;
|
|
2266
|
+
"onMenu-click"?: ((key: string, item: MenuItem) => any) | undefined;
|
|
2225
2267
|
"onWidth-change"?: ((width: number) => any) | undefined;
|
|
2226
2268
|
"onPath-change"?: ((path: string[]) => any) | undefined;
|
|
2227
|
-
"onMenu-click"?: ((key: string, item: MenuItem) => any) | undefined;
|
|
2228
2269
|
}>, {
|
|
2229
2270
|
theme: LayoutTheme;
|
|
2230
2271
|
collapsed: boolean;
|
|
2231
|
-
waterfall: boolean;
|
|
2232
|
-
popupAlign: "trigger" | "container";
|
|
2233
|
-
title: string;
|
|
2234
|
-
footerText: string;
|
|
2235
2272
|
logo: string;
|
|
2273
|
+
title: string;
|
|
2236
2274
|
menuItems: MenuItem[];
|
|
2237
2275
|
activeKey: string;
|
|
2276
|
+
waterfall: boolean;
|
|
2277
|
+
popupAlign: "trigger" | "container";
|
|
2278
|
+
footerText: string;
|
|
2238
2279
|
collapsedWidth: number;
|
|
2239
2280
|
expandedWidth: number;
|
|
2240
2281
|
minWidth: number;
|
|
@@ -2243,8 +2284,8 @@ declare const __VLS_base$23: _$vue.DefineComponent<Props$29, {}, {}, {}, {}, _$v
|
|
|
2243
2284
|
searchable: boolean;
|
|
2244
2285
|
roles: string | string[];
|
|
2245
2286
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2246
|
-
declare const __VLS_export$
|
|
2247
|
-
declare const _default$
|
|
2287
|
+
declare const __VLS_export$30: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
2288
|
+
declare const _default$31: typeof __VLS_export$30;
|
|
2248
2289
|
type __VLS_WithSlots$23<T, S> = T & {
|
|
2249
2290
|
new (): {
|
|
2250
2291
|
$slots: S;
|
|
@@ -2252,7 +2293,7 @@ type __VLS_WithSlots$23<T, S> = T & {
|
|
|
2252
2293
|
};
|
|
2253
2294
|
//#endregion
|
|
2254
2295
|
//#region src/components/layout/layout/layout-header.vue.d.ts
|
|
2255
|
-
interface Props$
|
|
2296
|
+
interface Props$29 {
|
|
2256
2297
|
/** 主题 */
|
|
2257
2298
|
theme?: LayoutTheme;
|
|
2258
2299
|
/** 标签页数据 */
|
|
@@ -2286,8 +2327,7 @@ type __VLS_Slots$22 = {} & {
|
|
|
2286
2327
|
} & {
|
|
2287
2328
|
settings?: (props: typeof __VLS_47) => any;
|
|
2288
2329
|
};
|
|
2289
|
-
declare const __VLS_base$22: _$vue.DefineComponent<Props$
|
|
2290
|
-
"update:modelTabs": (value: TabItem[]) => any;
|
|
2330
|
+
declare const __VLS_base$22: _$vue.DefineComponent<Props$29, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2291
2331
|
"tab-change": (key: string) => any;
|
|
2292
2332
|
"tab-close": (key: string) => any;
|
|
2293
2333
|
"tab-add": () => any;
|
|
@@ -2295,13 +2335,13 @@ declare const __VLS_base$22: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$v
|
|
|
2295
2335
|
from: number;
|
|
2296
2336
|
to: number;
|
|
2297
2337
|
}) => any;
|
|
2338
|
+
"update:modelTabs": (value: TabItem[]) => any;
|
|
2298
2339
|
"language-change": (lang: string) => any;
|
|
2299
2340
|
"user-command": (command: string) => any;
|
|
2300
|
-
"notification-click": () => any;
|
|
2301
2341
|
"settings-click": () => any;
|
|
2342
|
+
"notification-click": () => any;
|
|
2302
2343
|
"toggle-sider": () => any;
|
|
2303
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2304
|
-
"onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
|
|
2344
|
+
}, string, _$vue.PublicProps, Readonly<Props$29> & Readonly<{
|
|
2305
2345
|
"onTab-change"?: ((key: string) => any) | undefined;
|
|
2306
2346
|
"onTab-close"?: ((key: string) => any) | undefined;
|
|
2307
2347
|
"onTab-add"?: (() => any) | undefined;
|
|
@@ -2309,24 +2349,25 @@ declare const __VLS_base$22: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$v
|
|
|
2309
2349
|
from: number;
|
|
2310
2350
|
to: number;
|
|
2311
2351
|
}) => any) | undefined;
|
|
2352
|
+
"onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
|
|
2312
2353
|
"onLanguage-change"?: ((lang: string) => any) | undefined;
|
|
2313
2354
|
"onUser-command"?: ((command: string) => any) | undefined;
|
|
2314
|
-
"onNotification-click"?: (() => any) | undefined;
|
|
2315
2355
|
"onSettings-click"?: (() => any) | undefined;
|
|
2356
|
+
"onNotification-click"?: (() => any) | undefined;
|
|
2316
2357
|
"onToggle-sider"?: (() => any) | undefined;
|
|
2317
2358
|
}>, {
|
|
2318
2359
|
theme: LayoutTheme;
|
|
2319
|
-
|
|
2360
|
+
siderWidth: number;
|
|
2361
|
+
headerHeight: number;
|
|
2320
2362
|
tabs: TabItem[];
|
|
2363
|
+
modelTabs: TabItem[];
|
|
2321
2364
|
activeTab: string;
|
|
2322
|
-
siderWidth: number;
|
|
2323
2365
|
notificationCount: number;
|
|
2324
2366
|
currentLanguage: string;
|
|
2325
2367
|
fixed: boolean;
|
|
2326
|
-
headerHeight: number;
|
|
2327
2368
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2328
|
-
declare const __VLS_export$
|
|
2329
|
-
declare const _default$
|
|
2369
|
+
declare const __VLS_export$29: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
2370
|
+
declare const _default$30: typeof __VLS_export$29;
|
|
2330
2371
|
type __VLS_WithSlots$22<T, S> = T & {
|
|
2331
2372
|
new (): {
|
|
2332
2373
|
$slots: S;
|
|
@@ -2334,7 +2375,7 @@ type __VLS_WithSlots$22<T, S> = T & {
|
|
|
2334
2375
|
};
|
|
2335
2376
|
//#endregion
|
|
2336
2377
|
//#region src/components/layout/layout/layout-content.vue.d.ts
|
|
2337
|
-
interface Props$
|
|
2378
|
+
interface Props$28 {
|
|
2338
2379
|
/** 自定义样式 */
|
|
2339
2380
|
style?: Record<string, string | number>;
|
|
2340
2381
|
}
|
|
@@ -2342,9 +2383,9 @@ declare var __VLS_1$14: {};
|
|
|
2342
2383
|
type __VLS_Slots$21 = {} & {
|
|
2343
2384
|
default?: (props: typeof __VLS_1$14) => any;
|
|
2344
2385
|
};
|
|
2345
|
-
declare const __VLS_base$21: _$vue.DefineComponent<Props$
|
|
2346
|
-
declare const __VLS_export$
|
|
2347
|
-
declare const _default$
|
|
2386
|
+
declare const __VLS_base$21: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$28> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2387
|
+
declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2388
|
+
declare const _default$29: typeof __VLS_export$28;
|
|
2348
2389
|
type __VLS_WithSlots$21<T, S> = T & {
|
|
2349
2390
|
new (): {
|
|
2350
2391
|
$slots: S;
|
|
@@ -2352,7 +2393,7 @@ type __VLS_WithSlots$21<T, S> = T & {
|
|
|
2352
2393
|
};
|
|
2353
2394
|
//#endregion
|
|
2354
2395
|
//#region src/components/data-display/card/card.vue.d.ts
|
|
2355
|
-
interface Props$
|
|
2396
|
+
interface Props$27 {
|
|
2356
2397
|
title?: string;
|
|
2357
2398
|
bordered?: boolean;
|
|
2358
2399
|
shadow?: "always" | "hover" | "never";
|
|
@@ -2366,14 +2407,14 @@ type __VLS_Slots$20 = {} & {
|
|
|
2366
2407
|
} & {
|
|
2367
2408
|
footer?: (props: typeof __VLS_5$1) => any;
|
|
2368
2409
|
};
|
|
2369
|
-
declare const __VLS_base$20: _$vue.DefineComponent<Props$
|
|
2370
|
-
bordered: boolean;
|
|
2410
|
+
declare const __VLS_base$20: _$vue.DefineComponent<Props$27, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$27> & Readonly<{}>, {
|
|
2371
2411
|
title: string;
|
|
2412
|
+
bordered: boolean;
|
|
2372
2413
|
shadow: "always" | "hover" | "never";
|
|
2373
2414
|
padding: "xs" | "sm" | "md" | "lg" | "none";
|
|
2374
2415
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2375
|
-
declare const __VLS_export$
|
|
2376
|
-
declare const _default$7: typeof __VLS_export$
|
|
2416
|
+
declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
2417
|
+
declare const _default$7: typeof __VLS_export$27;
|
|
2377
2418
|
type __VLS_WithSlots$20<T, S> = T & {
|
|
2378
2419
|
new (): {
|
|
2379
2420
|
$slots: S;
|
|
@@ -2403,7 +2444,7 @@ interface Column {
|
|
|
2403
2444
|
/** Show ellipsis with tooltip when content overflows */
|
|
2404
2445
|
showOverflowTooltip?: boolean;
|
|
2405
2446
|
}
|
|
2406
|
-
interface Props$
|
|
2447
|
+
interface Props$26 {
|
|
2407
2448
|
dataSource?: Record<string, unknown>[];
|
|
2408
2449
|
columns?: Column[];
|
|
2409
2450
|
loading?: boolean;
|
|
@@ -2468,56 +2509,56 @@ type __VLS_Slots$19 = {} & { [K in NonNullable<typeof __VLS_7$1>]?: (props: type
|
|
|
2468
2509
|
} & {
|
|
2469
2510
|
empty?: (props: typeof __VLS_25) => any;
|
|
2470
2511
|
};
|
|
2471
|
-
declare const __VLS_base$19: _$vue.DefineComponent<Props$
|
|
2512
|
+
declare const __VLS_base$19: _$vue.DefineComponent<Props$26, {
|
|
2472
2513
|
exportToCSV: typeof exportToCSV;
|
|
2473
2514
|
exportToExcel: typeof exportToExcel;
|
|
2474
2515
|
exportToJSON: typeof exportToJSON;
|
|
2475
2516
|
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2476
2517
|
sort: (key: string, order: string) => any;
|
|
2477
2518
|
"page-change": (page: number) => any;
|
|
2478
|
-
expand: (row: Record<string, unknown>, index: number) => any;
|
|
2479
2519
|
"sort-change": (sortStates: SortState[]) => any;
|
|
2480
2520
|
"row-click": (row: Record<string, unknown>) => any;
|
|
2521
|
+
expand: (row: Record<string, unknown>, index: number) => any;
|
|
2481
2522
|
"scroll-end": () => any;
|
|
2482
2523
|
"column-resize": (key: string, width: string) => any;
|
|
2483
2524
|
"column-reorder": (fromIndex: number, toIndex: number) => any;
|
|
2484
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2525
|
+
}, string, _$vue.PublicProps, Readonly<Props$26> & Readonly<{
|
|
2485
2526
|
onSort?: ((key: string, order: string) => any) | undefined;
|
|
2486
2527
|
"onPage-change"?: ((page: number) => any) | undefined;
|
|
2487
|
-
onExpand?: ((row: Record<string, unknown>, index: number) => any) | undefined;
|
|
2488
2528
|
"onSort-change"?: ((sortStates: SortState[]) => any) | undefined;
|
|
2489
2529
|
"onRow-click"?: ((row: Record<string, unknown>) => any) | undefined;
|
|
2530
|
+
onExpand?: ((row: Record<string, unknown>, index: number) => any) | undefined;
|
|
2490
2531
|
"onScroll-end"?: (() => any) | undefined;
|
|
2491
2532
|
"onColumn-resize"?: ((key: string, width: string) => any) | undefined;
|
|
2492
2533
|
"onColumn-reorder"?: ((fromIndex: number, toIndex: number) => any) | undefined;
|
|
2493
2534
|
}>, {
|
|
2494
2535
|
hover: boolean;
|
|
2536
|
+
loading: boolean;
|
|
2495
2537
|
pageSize: number;
|
|
2496
2538
|
total: number;
|
|
2497
|
-
bordered: boolean;
|
|
2498
|
-
loading: boolean;
|
|
2499
|
-
remote: boolean;
|
|
2500
|
-
height: string | number;
|
|
2501
|
-
loadingText: string;
|
|
2502
|
-
virtualScroll: boolean;
|
|
2503
|
-
rowHeight: number;
|
|
2504
|
-
overscan: number;
|
|
2505
2539
|
dataSource: Record<string, unknown>[];
|
|
2506
|
-
|
|
2540
|
+
columns: Column[];
|
|
2541
|
+
loadingText: string;
|
|
2507
2542
|
skeleton: boolean;
|
|
2508
2543
|
skeletonRows: number;
|
|
2509
|
-
columns: Column[];
|
|
2510
2544
|
pagination: boolean;
|
|
2511
2545
|
stripe: boolean;
|
|
2546
|
+
bordered: boolean;
|
|
2547
|
+
emptyText: string;
|
|
2548
|
+
height: string | number;
|
|
2512
2549
|
stickyHeader: boolean;
|
|
2513
2550
|
expandable: boolean;
|
|
2551
|
+
virtualScroll: boolean;
|
|
2552
|
+
rowHeight: number;
|
|
2553
|
+
overscan: number;
|
|
2514
2554
|
showOverflowTooltip: boolean;
|
|
2515
2555
|
exportable: boolean;
|
|
2516
2556
|
exportFilename: string;
|
|
2557
|
+
remote: boolean;
|
|
2517
2558
|
loadMore: boolean;
|
|
2518
2559
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2519
|
-
declare const __VLS_export$
|
|
2520
|
-
declare const _default$
|
|
2560
|
+
declare const __VLS_export$26: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
2561
|
+
declare const _default$55: typeof __VLS_export$26;
|
|
2521
2562
|
type __VLS_WithSlots$19<T, S> = T & {
|
|
2522
2563
|
new (): {
|
|
2523
2564
|
$slots: S;
|
|
@@ -2525,7 +2566,7 @@ type __VLS_WithSlots$19<T, S> = T & {
|
|
|
2525
2566
|
};
|
|
2526
2567
|
//#endregion
|
|
2527
2568
|
//#region src/components/data-display/progress/progress.vue.d.ts
|
|
2528
|
-
interface Props$
|
|
2569
|
+
interface Props$25 {
|
|
2529
2570
|
percent?: number;
|
|
2530
2571
|
type?: "line" | "circle" | "dashboard";
|
|
2531
2572
|
size?: ComponentSize;
|
|
@@ -2544,17 +2585,17 @@ type __VLS_Slots$18 = {} & {
|
|
|
2544
2585
|
} & {
|
|
2545
2586
|
format?: (props: typeof __VLS_3$6) => any;
|
|
2546
2587
|
};
|
|
2547
|
-
declare const __VLS_base$18: _$vue.DefineComponent<Props$
|
|
2588
|
+
declare const __VLS_base$18: _$vue.DefineComponent<Props$25, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$25> & Readonly<{}>, {
|
|
2548
2589
|
size: ComponentSize;
|
|
2549
2590
|
type: "line" | "circle" | "dashboard";
|
|
2550
|
-
status: "normal" | "success" | "exception";
|
|
2551
2591
|
percent: number;
|
|
2592
|
+
status: "normal" | "success" | "exception";
|
|
2552
2593
|
showInfo: boolean;
|
|
2553
2594
|
strokeWidth: number;
|
|
2554
2595
|
strokeColor: string;
|
|
2555
2596
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2556
|
-
declare const __VLS_export$
|
|
2557
|
-
declare const _default$
|
|
2597
|
+
declare const __VLS_export$25: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
2598
|
+
declare const _default$41: typeof __VLS_export$25;
|
|
2558
2599
|
type __VLS_WithSlots$18<T, S> = T & {
|
|
2559
2600
|
new (): {
|
|
2560
2601
|
$slots: S;
|
|
@@ -2562,7 +2603,7 @@ type __VLS_WithSlots$18<T, S> = T & {
|
|
|
2562
2603
|
};
|
|
2563
2604
|
//#endregion
|
|
2564
2605
|
//#region src/components/data-display/statistic/statistic.vue.d.ts
|
|
2565
|
-
interface Props$
|
|
2606
|
+
interface Props$24 {
|
|
2566
2607
|
value?: string | number;
|
|
2567
2608
|
title?: string;
|
|
2568
2609
|
prefix?: string;
|
|
@@ -2580,20 +2621,20 @@ type __VLS_Slots$17 = {} & {
|
|
|
2580
2621
|
} & {
|
|
2581
2622
|
suffix?: (props: typeof __VLS_3$5) => any;
|
|
2582
2623
|
};
|
|
2583
|
-
declare const __VLS_base$17: _$vue.DefineComponent<Props$
|
|
2584
|
-
|
|
2624
|
+
declare const __VLS_base$17: _$vue.DefineComponent<Props$24, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$24> & Readonly<{}>, {
|
|
2625
|
+
title: string;
|
|
2626
|
+
value: string | number;
|
|
2585
2627
|
prefix: string;
|
|
2586
2628
|
suffix: string;
|
|
2587
|
-
|
|
2588
|
-
title: string;
|
|
2629
|
+
precision: number;
|
|
2589
2630
|
decimalSeparator: string;
|
|
2590
2631
|
groupSeparator: string;
|
|
2591
2632
|
valueStyle: string;
|
|
2592
2633
|
animation: boolean;
|
|
2593
2634
|
animationDuration: number;
|
|
2594
2635
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2595
|
-
declare const __VLS_export$
|
|
2596
|
-
declare const _default$
|
|
2636
|
+
declare const __VLS_export$24: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
2637
|
+
declare const _default$52: typeof __VLS_export$24;
|
|
2597
2638
|
type __VLS_WithSlots$17<T, S> = T & {
|
|
2598
2639
|
new (): {
|
|
2599
2640
|
$slots: S;
|
|
@@ -2607,17 +2648,17 @@ interface CollapseItem {
|
|
|
2607
2648
|
content?: string;
|
|
2608
2649
|
disabled?: boolean;
|
|
2609
2650
|
}
|
|
2610
|
-
interface Props$
|
|
2651
|
+
interface Props$23 {
|
|
2611
2652
|
items?: CollapseItem[];
|
|
2612
2653
|
accordion?: boolean;
|
|
2613
2654
|
modelValue?: string[];
|
|
2614
2655
|
}
|
|
2615
2656
|
declare var __VLS_8: string, __VLS_9$1: {};
|
|
2616
2657
|
type __VLS_Slots$16 = {} & { [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9$1) => any };
|
|
2617
|
-
declare const __VLS_base$16: _$vue.DefineComponent<Props$
|
|
2658
|
+
declare const __VLS_base$16: _$vue.DefineComponent<Props$23, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2618
2659
|
"update:modelValue": (value: string[]) => any;
|
|
2619
2660
|
change: (value: string[]) => any;
|
|
2620
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2661
|
+
}, string, _$vue.PublicProps, Readonly<Props$23> & Readonly<{
|
|
2621
2662
|
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
2622
2663
|
onChange?: ((value: string[]) => any) | undefined;
|
|
2623
2664
|
}>, {
|
|
@@ -2625,8 +2666,8 @@ declare const __VLS_base$16: _$vue.DefineComponent<Props$22, {}, {}, {}, {}, _$v
|
|
|
2625
2666
|
items: CollapseItem[];
|
|
2626
2667
|
accordion: boolean;
|
|
2627
2668
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2628
|
-
declare const __VLS_export$
|
|
2629
|
-
declare const _default$11: typeof __VLS_export$
|
|
2669
|
+
declare const __VLS_export$23: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
2670
|
+
declare const _default$11: typeof __VLS_export$23;
|
|
2630
2671
|
type __VLS_WithSlots$16<T, S> = T & {
|
|
2631
2672
|
new (): {
|
|
2632
2673
|
$slots: S;
|
|
@@ -2641,7 +2682,7 @@ interface TimelineItem {
|
|
|
2641
2682
|
dot?: string;
|
|
2642
2683
|
color?: string;
|
|
2643
2684
|
}
|
|
2644
|
-
interface Props$
|
|
2685
|
+
interface Props$22 {
|
|
2645
2686
|
items?: TimelineItem[];
|
|
2646
2687
|
type?: "default" | "alternate";
|
|
2647
2688
|
mode?: "left" | "alternate";
|
|
@@ -2649,14 +2690,14 @@ interface Props$21 {
|
|
|
2649
2690
|
}
|
|
2650
2691
|
declare var __VLS_2: `dot-${number}`, __VLS_3$4: {}, __VLS_6$1: `content-${number}`, __VLS_7: {};
|
|
2651
2692
|
type __VLS_Slots$15 = {} & { [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3$4) => any } & { [K in NonNullable<typeof __VLS_6$1>]?: (props: typeof __VLS_7) => any };
|
|
2652
|
-
declare const __VLS_base$15: _$vue.DefineComponent<Props$
|
|
2693
|
+
declare const __VLS_base$15: _$vue.DefineComponent<Props$22, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$22> & Readonly<{}>, {
|
|
2653
2694
|
type: "default" | "alternate";
|
|
2695
|
+
color: string;
|
|
2654
2696
|
items: TimelineItem[];
|
|
2655
2697
|
mode: "left" | "alternate";
|
|
2656
|
-
color: string;
|
|
2657
2698
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2658
|
-
declare const __VLS_export$
|
|
2659
|
-
declare const _default$
|
|
2699
|
+
declare const __VLS_export$22: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
2700
|
+
declare const _default$60: typeof __VLS_export$22;
|
|
2660
2701
|
type __VLS_WithSlots$15<T, S> = T & {
|
|
2661
2702
|
new (): {
|
|
2662
2703
|
$slots: S;
|
|
@@ -2672,7 +2713,7 @@ interface TreeNodeType {
|
|
|
2672
2713
|
isLeaf?: boolean;
|
|
2673
2714
|
loading?: boolean;
|
|
2674
2715
|
}
|
|
2675
|
-
interface Props$
|
|
2716
|
+
interface Props$21 {
|
|
2676
2717
|
nodes?: TreeNodeType[];
|
|
2677
2718
|
showLine?: boolean;
|
|
2678
2719
|
selectable?: boolean;
|
|
@@ -2690,20 +2731,18 @@ interface Props$20 {
|
|
|
2690
2731
|
/** Overscan row count */
|
|
2691
2732
|
overscan?: number;
|
|
2692
2733
|
}
|
|
2693
|
-
declare const __VLS_export$
|
|
2734
|
+
declare const __VLS_export$21: _$vue.DefineComponent<Props$21, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2694
2735
|
select: (node: TreeNodeType) => any;
|
|
2695
|
-
check: (checkedKeys: string[]) => any;
|
|
2696
2736
|
expand: (node: TreeNodeType) => any;
|
|
2737
|
+
check: (checkedKeys: string[]) => any;
|
|
2697
2738
|
"node-drop": (draggedNode: TreeNodeType, targetNode: TreeNodeType) => any;
|
|
2698
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2739
|
+
}, string, _$vue.PublicProps, Readonly<Props$21> & Readonly<{
|
|
2699
2740
|
onSelect?: ((node: TreeNodeType) => any) | undefined;
|
|
2700
|
-
onCheck?: ((checkedKeys: string[]) => any) | undefined;
|
|
2701
2741
|
onExpand?: ((node: TreeNodeType) => any) | undefined;
|
|
2742
|
+
onCheck?: ((checkedKeys: string[]) => any) | undefined;
|
|
2702
2743
|
"onNode-drop"?: ((draggedNode: TreeNodeType, targetNode: TreeNodeType) => any) | undefined;
|
|
2703
2744
|
}>, {
|
|
2704
2745
|
height: string | number;
|
|
2705
|
-
defaultExpandedKeys: string[];
|
|
2706
|
-
defaultCheckedKeys: string[];
|
|
2707
2746
|
virtualScroll: boolean;
|
|
2708
2747
|
rowHeight: number;
|
|
2709
2748
|
overscan: number;
|
|
@@ -2711,13 +2750,15 @@ declare const __VLS_export$20: _$vue.DefineComponent<Props$20, {}, {}, {}, {}, _
|
|
|
2711
2750
|
showLine: boolean;
|
|
2712
2751
|
selectable: boolean;
|
|
2713
2752
|
showCheckbox: boolean;
|
|
2753
|
+
defaultExpandedKeys: string[];
|
|
2754
|
+
defaultCheckedKeys: string[];
|
|
2714
2755
|
loadFunction: (node: TreeNodeType) => Promise<TreeNodeType[]>;
|
|
2715
2756
|
draggable: boolean;
|
|
2716
2757
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2717
|
-
declare const _default$
|
|
2758
|
+
declare const _default$63: typeof __VLS_export$21;
|
|
2718
2759
|
//#endregion
|
|
2719
2760
|
//#region src/components/data-display/list/list.vue.d.ts
|
|
2720
|
-
interface Props$
|
|
2761
|
+
interface Props$20 {
|
|
2721
2762
|
dataSource?: Record<string, unknown>[];
|
|
2722
2763
|
header?: string;
|
|
2723
2764
|
footer?: string;
|
|
@@ -2740,22 +2781,22 @@ type __VLS_Slots$14 = {} & {
|
|
|
2740
2781
|
} & {
|
|
2741
2782
|
footer?: (props: typeof __VLS_10) => any;
|
|
2742
2783
|
};
|
|
2743
|
-
declare const __VLS_base$14: _$vue.DefineComponent<Props$
|
|
2784
|
+
declare const __VLS_base$14: _$vue.DefineComponent<Props$20, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2744
2785
|
"item-click": (item: Record<string, unknown>, index: number) => any;
|
|
2745
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2786
|
+
}, string, _$vue.PublicProps, Readonly<Props$20> & Readonly<{
|
|
2746
2787
|
"onItem-click"?: ((item: Record<string, unknown>, index: number) => any) | undefined;
|
|
2747
2788
|
}>, {
|
|
2789
|
+
dataSource: Record<string, unknown>[];
|
|
2790
|
+
skeleton: boolean;
|
|
2791
|
+
skeletonRows: number;
|
|
2748
2792
|
bordered: boolean;
|
|
2793
|
+
emptyText: string;
|
|
2749
2794
|
split: boolean;
|
|
2750
|
-
dataSource: Record<string, unknown>[];
|
|
2751
2795
|
header: string;
|
|
2752
2796
|
footer: string;
|
|
2753
|
-
emptyText: string;
|
|
2754
|
-
skeleton: boolean;
|
|
2755
|
-
skeletonRows: number;
|
|
2756
2797
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2757
|
-
declare const __VLS_export$
|
|
2758
|
-
declare const _default$
|
|
2798
|
+
declare const __VLS_export$20: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
2799
|
+
declare const _default$32: typeof __VLS_export$20;
|
|
2759
2800
|
type __VLS_WithSlots$14<T, S> = T & {
|
|
2760
2801
|
new (): {
|
|
2761
2802
|
$slots: S;
|
|
@@ -2763,7 +2804,7 @@ type __VLS_WithSlots$14<T, S> = T & {
|
|
|
2763
2804
|
};
|
|
2764
2805
|
//#endregion
|
|
2765
2806
|
//#region src/components/data-display/empty/empty.vue.d.ts
|
|
2766
|
-
interface Props$
|
|
2807
|
+
interface Props$19 {
|
|
2767
2808
|
description?: string;
|
|
2768
2809
|
imageStyle?: string;
|
|
2769
2810
|
}
|
|
@@ -2773,12 +2814,12 @@ type __VLS_Slots$13 = {} & {
|
|
|
2773
2814
|
} & {
|
|
2774
2815
|
default?: (props: typeof __VLS_3$2) => any;
|
|
2775
2816
|
};
|
|
2776
|
-
declare const __VLS_base$13: _$vue.DefineComponent<Props$
|
|
2817
|
+
declare const __VLS_base$13: _$vue.DefineComponent<Props$19, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$19> & Readonly<{}>, {
|
|
2777
2818
|
imageStyle: string;
|
|
2778
2819
|
description: string;
|
|
2779
2820
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2780
|
-
declare const __VLS_export$
|
|
2781
|
-
declare const _default$20: typeof __VLS_export$
|
|
2821
|
+
declare const __VLS_export$19: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
2822
|
+
declare const _default$20: typeof __VLS_export$19;
|
|
2782
2823
|
type __VLS_WithSlots$13<T, S> = T & {
|
|
2783
2824
|
new (): {
|
|
2784
2825
|
$slots: S;
|
|
@@ -2786,7 +2827,7 @@ type __VLS_WithSlots$13<T, S> = T & {
|
|
|
2786
2827
|
};
|
|
2787
2828
|
//#endregion
|
|
2788
2829
|
//#region src/components/data-display/image/image.vue.d.ts
|
|
2789
|
-
interface Props$
|
|
2830
|
+
interface Props$18 {
|
|
2790
2831
|
src?: string;
|
|
2791
2832
|
alt?: string;
|
|
2792
2833
|
width?: string | number;
|
|
@@ -2800,26 +2841,26 @@ declare var __VLS_6: {};
|
|
|
2800
2841
|
type __VLS_Slots$12 = {} & {
|
|
2801
2842
|
fallback?: (props: typeof __VLS_6) => any;
|
|
2802
2843
|
};
|
|
2803
|
-
declare const __VLS_base$12: _$vue.DefineComponent<Props$
|
|
2804
|
-
click: (event: MouseEvent) => any;
|
|
2844
|
+
declare const __VLS_base$12: _$vue.DefineComponent<Props$18, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2805
2845
|
error: (event: Event) => any;
|
|
2846
|
+
click: (event: MouseEvent) => any;
|
|
2806
2847
|
load: (event: Event) => any;
|
|
2807
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2808
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2848
|
+
}, string, _$vue.PublicProps, Readonly<Props$18> & Readonly<{
|
|
2809
2849
|
onError?: ((event: Event) => any) | undefined;
|
|
2850
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
2810
2851
|
onLoad?: ((event: Event) => any) | undefined;
|
|
2811
2852
|
}>, {
|
|
2812
|
-
|
|
2853
|
+
width: string | number;
|
|
2813
2854
|
loading: boolean;
|
|
2855
|
+
rounded: boolean;
|
|
2856
|
+
height: string | number;
|
|
2814
2857
|
src: string;
|
|
2815
2858
|
alt: string;
|
|
2816
|
-
height: string | number;
|
|
2817
|
-
width: string | number;
|
|
2818
2859
|
fit: "contain" | "cover" | "fill" | "none" | "scale-down";
|
|
2819
2860
|
preview: boolean;
|
|
2820
2861
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2821
|
-
declare const __VLS_export$
|
|
2822
|
-
declare const _default$
|
|
2862
|
+
declare const __VLS_export$18: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
2863
|
+
declare const _default$24: typeof __VLS_export$18;
|
|
2823
2864
|
type __VLS_WithSlots$12<T, S> = T & {
|
|
2824
2865
|
new (): {
|
|
2825
2866
|
$slots: S;
|
|
@@ -2827,18 +2868,18 @@ type __VLS_WithSlots$12<T, S> = T & {
|
|
|
2827
2868
|
};
|
|
2828
2869
|
//#endregion
|
|
2829
2870
|
//#region src/components/data-display/image/image-preview-group.vue.d.ts
|
|
2830
|
-
interface Props$
|
|
2871
|
+
interface Props$17 {
|
|
2831
2872
|
images?: string[];
|
|
2832
2873
|
}
|
|
2833
2874
|
declare var __VLS_1$8: {};
|
|
2834
2875
|
type __VLS_Slots$11 = {} & {
|
|
2835
2876
|
default?: (props: typeof __VLS_1$8) => any;
|
|
2836
2877
|
};
|
|
2837
|
-
declare const __VLS_base$11: _$vue.DefineComponent<Props$
|
|
2878
|
+
declare const __VLS_base$11: _$vue.DefineComponent<Props$17, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$17> & Readonly<{}>, {
|
|
2838
2879
|
images: string[];
|
|
2839
2880
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2840
|
-
declare const __VLS_export$
|
|
2841
|
-
declare const _default$
|
|
2881
|
+
declare const __VLS_export$17: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
2882
|
+
declare const _default$25: typeof __VLS_export$17;
|
|
2842
2883
|
type __VLS_WithSlots$11<T, S> = T & {
|
|
2843
2884
|
new (): {
|
|
2844
2885
|
$slots: S;
|
|
@@ -2869,7 +2910,7 @@ interface MenuItem$1 {
|
|
|
2869
2910
|
* YdMenu Props
|
|
2870
2911
|
* @description 导航菜单组件
|
|
2871
2912
|
*/
|
|
2872
|
-
interface Props$
|
|
2913
|
+
interface Props$16 {
|
|
2873
2914
|
/** 当前选中的菜单项 key */
|
|
2874
2915
|
modelValue?: string;
|
|
2875
2916
|
/** 菜单项列表 */
|
|
@@ -2891,24 +2932,24 @@ interface Props$15 {
|
|
|
2891
2932
|
/** 下拉主题 */
|
|
2892
2933
|
dropdownTheme?: "default" | "glass" | "dark";
|
|
2893
2934
|
}
|
|
2894
|
-
declare const __VLS_export$
|
|
2935
|
+
declare const __VLS_export$16: _$vue.DefineComponent<Props$16, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2895
2936
|
"update:modelValue": (value: string) => any;
|
|
2896
2937
|
select: (item: MenuItem$1) => any;
|
|
2897
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2938
|
+
}, string, _$vue.PublicProps, Readonly<Props$16> & Readonly<{
|
|
2898
2939
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2899
2940
|
onSelect?: ((item: MenuItem$1) => any) | undefined;
|
|
2900
2941
|
}>, {
|
|
2942
|
+
collapsed: boolean;
|
|
2943
|
+
waterfall: boolean;
|
|
2944
|
+
popupAlign: "trigger" | "container";
|
|
2901
2945
|
modelValue: string;
|
|
2902
2946
|
items: MenuItem$1[];
|
|
2903
2947
|
mode: "vertical" | "horizontal";
|
|
2904
|
-
collapsed: boolean;
|
|
2905
|
-
waterfall: boolean;
|
|
2906
2948
|
gridStyle: "auto" | "classic";
|
|
2907
2949
|
router: boolean;
|
|
2908
|
-
popupAlign: "trigger" | "container";
|
|
2909
2950
|
dropdownTheme: "default" | "glass" | "dark";
|
|
2910
2951
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2911
|
-
declare const _default$
|
|
2952
|
+
declare const _default$36: typeof __VLS_export$16;
|
|
2912
2953
|
//#endregion
|
|
2913
2954
|
//#region src/components/navigation/tabs/tabs.vue.d.ts
|
|
2914
2955
|
/**
|
|
@@ -2932,7 +2973,7 @@ interface TabItem$1 {
|
|
|
2932
2973
|
* YdTabs Props
|
|
2933
2974
|
* @description 标签页组件,支持多种样式和拖拽排序
|
|
2934
2975
|
*/
|
|
2935
|
-
interface Props$
|
|
2976
|
+
interface Props$15 {
|
|
2936
2977
|
/** 当前激活的 tab key */
|
|
2937
2978
|
modelValue?: string;
|
|
2938
2979
|
/** 受控的 tabs 数据(双向绑定) */
|
|
@@ -2950,9 +2991,9 @@ declare var __VLS_1$7: {};
|
|
|
2950
2991
|
type __VLS_Slots$10 = {} & {
|
|
2951
2992
|
default?: (props: typeof __VLS_1$7) => any;
|
|
2952
2993
|
};
|
|
2953
|
-
declare const __VLS_base$10: _$vue.DefineComponent<Props$
|
|
2954
|
-
"update:modelValue": (value: string) => any;
|
|
2994
|
+
declare const __VLS_base$10: _$vue.DefineComponent<Props$15, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
2955
2995
|
"update:modelTabs": (value: TabItem$1[]) => any;
|
|
2996
|
+
"update:modelValue": (value: string) => any;
|
|
2956
2997
|
reorder: (payload: {
|
|
2957
2998
|
from: number;
|
|
2958
2999
|
to: number;
|
|
@@ -2965,9 +3006,9 @@ declare const __VLS_base$10: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$v
|
|
|
2965
3006
|
success: boolean;
|
|
2966
3007
|
}) => any;
|
|
2967
3008
|
edit: (action: "add" | "remove", item?: TabItem$1 | undefined) => any;
|
|
2968
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
2969
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3009
|
+
}, string, _$vue.PublicProps, Readonly<Props$15> & Readonly<{
|
|
2970
3010
|
"onUpdate:modelTabs"?: ((value: TabItem$1[]) => any) | undefined;
|
|
3011
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
2971
3012
|
onReorder?: ((payload: {
|
|
2972
3013
|
from: number;
|
|
2973
3014
|
to: number;
|
|
@@ -2983,14 +3024,14 @@ declare const __VLS_base$10: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$v
|
|
|
2983
3024
|
}>, {
|
|
2984
3025
|
theme: "light" | "dark" | "corporate";
|
|
2985
3026
|
type: "line" | "card" | "segment" | "border-card" | "chrome" | "rounded" | "minimal" | "envelope" | "glass";
|
|
2986
|
-
modelValue: string;
|
|
2987
3027
|
modelTabs: TabItem$1[];
|
|
3028
|
+
modelValue: string;
|
|
2988
3029
|
items: TabItem$1[];
|
|
2989
3030
|
editable: boolean;
|
|
2990
3031
|
storageKey: string;
|
|
2991
3032
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
2992
|
-
declare const __VLS_export$
|
|
2993
|
-
declare const _default$
|
|
3033
|
+
declare const __VLS_export$15: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
3034
|
+
declare const _default$56: typeof __VLS_export$15;
|
|
2994
3035
|
type __VLS_WithSlots$10<T, S> = T & {
|
|
2995
3036
|
new (): {
|
|
2996
3037
|
$slots: S;
|
|
@@ -3003,7 +3044,7 @@ interface BreadcrumbItem {
|
|
|
3003
3044
|
to?: string;
|
|
3004
3045
|
disabled?: boolean;
|
|
3005
3046
|
}
|
|
3006
|
-
interface Props$
|
|
3047
|
+
interface Props$14 {
|
|
3007
3048
|
items?: BreadcrumbItem[];
|
|
3008
3049
|
separator?: string;
|
|
3009
3050
|
}
|
|
@@ -3011,16 +3052,16 @@ declare var __VLS_9: {};
|
|
|
3011
3052
|
type __VLS_Slots$9 = {} & {
|
|
3012
3053
|
separator?: (props: typeof __VLS_9) => any;
|
|
3013
3054
|
};
|
|
3014
|
-
declare const __VLS_base$9: _$vue.DefineComponent<Props$
|
|
3055
|
+
declare const __VLS_base$9: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3015
3056
|
navigate: (item: BreadcrumbItem) => any;
|
|
3016
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
3057
|
+
}, string, _$vue.PublicProps, Readonly<Props$14> & Readonly<{
|
|
3017
3058
|
onNavigate?: ((item: BreadcrumbItem) => any) | undefined;
|
|
3018
3059
|
}>, {
|
|
3019
3060
|
items: BreadcrumbItem[];
|
|
3020
3061
|
separator: string;
|
|
3021
3062
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3022
|
-
declare const __VLS_export$
|
|
3023
|
-
declare const _default$4: typeof __VLS_export$
|
|
3063
|
+
declare const __VLS_export$14: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
3064
|
+
declare const _default$4: typeof __VLS_export$14;
|
|
3024
3065
|
type __VLS_WithSlots$9<T, S> = T & {
|
|
3025
3066
|
new (): {
|
|
3026
3067
|
$slots: S;
|
|
@@ -3028,7 +3069,7 @@ type __VLS_WithSlots$9<T, S> = T & {
|
|
|
3028
3069
|
};
|
|
3029
3070
|
//#endregion
|
|
3030
3071
|
//#region src/components/navigation/pagination/pagination.vue.d.ts
|
|
3031
|
-
interface Props$
|
|
3072
|
+
interface Props$13 {
|
|
3032
3073
|
currentPage?: number;
|
|
3033
3074
|
pageSize?: number;
|
|
3034
3075
|
total?: number;
|
|
@@ -3038,12 +3079,12 @@ interface Props$12 {
|
|
|
3038
3079
|
showQuickJumper?: boolean;
|
|
3039
3080
|
simple?: boolean;
|
|
3040
3081
|
}
|
|
3041
|
-
declare const __VLS_export$
|
|
3082
|
+
declare const __VLS_export$13: _$vue.DefineComponent<Props$13, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3042
3083
|
"update:currentPage": (value: number) => any;
|
|
3043
3084
|
"update:pageSize": (value: number) => any;
|
|
3044
3085
|
"page-change": (page: number) => any;
|
|
3045
3086
|
"size-change": (size: number) => any;
|
|
3046
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
3087
|
+
}, string, _$vue.PublicProps, Readonly<Props$13> & Readonly<{
|
|
3047
3088
|
"onUpdate:currentPage"?: ((value: number) => any) | undefined;
|
|
3048
3089
|
"onUpdate:pageSize"?: ((value: number) => any) | undefined;
|
|
3049
3090
|
"onPage-change"?: ((page: number) => any) | undefined;
|
|
@@ -3058,7 +3099,7 @@ declare const __VLS_export$12: _$vue.DefineComponent<Props$12, {}, {}, {}, {}, _
|
|
|
3058
3099
|
showQuickJumper: boolean;
|
|
3059
3100
|
simple: boolean;
|
|
3060
3101
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3061
|
-
declare const _default$
|
|
3102
|
+
declare const _default$38: typeof __VLS_export$13;
|
|
3062
3103
|
//#endregion
|
|
3063
3104
|
//#region src/components/navigation/dropdown/dropdown.vue.d.ts
|
|
3064
3105
|
interface DropdownItem {
|
|
@@ -3070,7 +3111,7 @@ interface DropdownItem {
|
|
|
3070
3111
|
* YdDropdown Props
|
|
3071
3112
|
* @description 下拉菜单组件
|
|
3072
3113
|
*/
|
|
3073
|
-
interface Props$
|
|
3114
|
+
interface Props$12 {
|
|
3074
3115
|
/** 菜单项列表 */
|
|
3075
3116
|
items?: DropdownItem[];
|
|
3076
3117
|
/** 触发方式 */
|
|
@@ -3084,18 +3125,18 @@ declare var __VLS_1$6: {};
|
|
|
3084
3125
|
type __VLS_Slots$8 = {} & {
|
|
3085
3126
|
default?: (props: typeof __VLS_1$6) => any;
|
|
3086
3127
|
};
|
|
3087
|
-
declare const __VLS_base$8: _$vue.DefineComponent<Props$
|
|
3128
|
+
declare const __VLS_base$8: _$vue.DefineComponent<Props$12, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3088
3129
|
select: (item: DropdownItem) => any;
|
|
3089
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
3130
|
+
}, string, _$vue.PublicProps, Readonly<Props$12> & Readonly<{
|
|
3090
3131
|
onSelect?: ((item: DropdownItem) => any) | undefined;
|
|
3091
3132
|
}>, {
|
|
3092
|
-
items: DropdownItem[];
|
|
3093
3133
|
trigger: "hover" | "click";
|
|
3094
3134
|
placement: "bottom-start" | "bottom" | "bottom-end" | "top-start" | "top" | "top-end";
|
|
3135
|
+
items: DropdownItem[];
|
|
3095
3136
|
triggerLabel: string;
|
|
3096
3137
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3097
|
-
declare const __VLS_export$
|
|
3098
|
-
declare const _default$19: typeof __VLS_export$
|
|
3138
|
+
declare const __VLS_export$12: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
3139
|
+
declare const _default$19: typeof __VLS_export$12;
|
|
3099
3140
|
type __VLS_WithSlots$8<T, S> = T & {
|
|
3100
3141
|
new (): {
|
|
3101
3142
|
$slots: S;
|
|
@@ -3108,19 +3149,19 @@ interface StepItem {
|
|
|
3108
3149
|
description?: string;
|
|
3109
3150
|
status?: "wait" | "process" | "finish" | "error";
|
|
3110
3151
|
}
|
|
3111
|
-
interface Props$
|
|
3152
|
+
interface Props$11 {
|
|
3112
3153
|
items?: StepItem[];
|
|
3113
3154
|
current?: number;
|
|
3114
3155
|
direction?: "horizontal" | "vertical";
|
|
3115
3156
|
size?: "default" | "small";
|
|
3116
3157
|
}
|
|
3117
|
-
declare const __VLS_export$
|
|
3158
|
+
declare const __VLS_export$11: _$vue.DefineComponent<Props$11, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$11> & Readonly<{}>, {
|
|
3118
3159
|
size: "default" | "small";
|
|
3160
|
+
direction: "horizontal" | "vertical";
|
|
3119
3161
|
items: StepItem[];
|
|
3120
3162
|
current: number;
|
|
3121
|
-
direction: "horizontal" | "vertical";
|
|
3122
3163
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3123
|
-
declare const _default$
|
|
3164
|
+
declare const _default$53: typeof __VLS_export$11;
|
|
3124
3165
|
//#endregion
|
|
3125
3166
|
//#region src/components/navigation/anchor/anchor.vue.d.ts
|
|
3126
3167
|
interface AnchorItem {
|
|
@@ -3128,24 +3169,24 @@ interface AnchorItem {
|
|
|
3128
3169
|
href: string;
|
|
3129
3170
|
children?: AnchorItem[];
|
|
3130
3171
|
}
|
|
3131
|
-
interface Props$
|
|
3172
|
+
interface Props$10 {
|
|
3132
3173
|
items?: AnchorItem[];
|
|
3133
3174
|
}
|
|
3134
|
-
declare const __VLS_export$
|
|
3175
|
+
declare const __VLS_export$10: _$vue.DefineComponent<Props$10, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3135
3176
|
change: (href: string) => any;
|
|
3136
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
3177
|
+
}, string, _$vue.PublicProps, Readonly<Props$10> & Readonly<{
|
|
3137
3178
|
onChange?: ((href: string) => any) | undefined;
|
|
3138
3179
|
}>, {
|
|
3139
3180
|
items: AnchorItem[];
|
|
3140
3181
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3141
|
-
declare const _default: typeof __VLS_export$
|
|
3182
|
+
declare const _default: typeof __VLS_export$10;
|
|
3142
3183
|
//#endregion
|
|
3143
3184
|
//#region src/components/feedback/modal/modal.vue.d.ts
|
|
3144
3185
|
/**
|
|
3145
3186
|
* YdModal Props
|
|
3146
3187
|
* @description 模态对话框组件,支持聚焦管理、ARIA 属性和键盘导航
|
|
3147
3188
|
*/
|
|
3148
|
-
interface Props$
|
|
3189
|
+
interface Props$9 {
|
|
3149
3190
|
/** 绑定值,控制对话框显示 */
|
|
3150
3191
|
modelValue?: boolean;
|
|
3151
3192
|
/** 对话框标题 */
|
|
@@ -3177,25 +3218,25 @@ type __VLS_Slots$7 = {} & {
|
|
|
3177
3218
|
} & {
|
|
3178
3219
|
footer?: (props: typeof __VLS_18$1) => any;
|
|
3179
3220
|
};
|
|
3180
|
-
declare const __VLS_base$7: _$vue.DefineComponent<Props$
|
|
3181
|
-
"update:modelValue": (value: boolean) => any;
|
|
3182
|
-
close: () => any;
|
|
3221
|
+
declare const __VLS_base$7: _$vue.DefineComponent<Props$9, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3183
3222
|
open: () => any;
|
|
3223
|
+
close: () => any;
|
|
3184
3224
|
confirm: () => any;
|
|
3185
3225
|
cancel: () => any;
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
onClose?: (() => any) | undefined;
|
|
3226
|
+
"update:modelValue": (value: boolean) => any;
|
|
3227
|
+
}, string, _$vue.PublicProps, Readonly<Props$9> & Readonly<{
|
|
3189
3228
|
onOpen?: (() => any) | undefined;
|
|
3229
|
+
onClose?: (() => any) | undefined;
|
|
3190
3230
|
onConfirm?: (() => any) | undefined;
|
|
3191
3231
|
onCancel?: (() => any) | undefined;
|
|
3232
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
3192
3233
|
}>, {
|
|
3193
|
-
modelValue: boolean;
|
|
3194
|
-
closable: boolean;
|
|
3195
3234
|
title: string;
|
|
3235
|
+
modelValue: boolean;
|
|
3196
3236
|
width: string | number;
|
|
3197
3237
|
showHeader: boolean;
|
|
3198
3238
|
showFooter: boolean;
|
|
3239
|
+
closable: boolean;
|
|
3199
3240
|
maskClosable: boolean;
|
|
3200
3241
|
destroyOnClose: boolean;
|
|
3201
3242
|
teleport: boolean;
|
|
@@ -3203,8 +3244,8 @@ declare const __VLS_base$7: _$vue.DefineComponent<Props$8, {}, {}, {}, {}, _$vue
|
|
|
3203
3244
|
confirmText: string;
|
|
3204
3245
|
confirmLoading: boolean;
|
|
3205
3246
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3206
|
-
declare const __VLS_export$
|
|
3207
|
-
declare const _default$
|
|
3247
|
+
declare const __VLS_export$9: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
3248
|
+
declare const _default$37: typeof __VLS_export$9;
|
|
3208
3249
|
type __VLS_WithSlots$7<T, S> = T & {
|
|
3209
3250
|
new (): {
|
|
3210
3251
|
$slots: S;
|
|
@@ -3216,7 +3257,7 @@ type __VLS_WithSlots$7<T, S> = T & {
|
|
|
3216
3257
|
* YdDrawer Props
|
|
3217
3258
|
* @description 抽屉组件,从一侧滑入的对话框
|
|
3218
3259
|
*/
|
|
3219
|
-
interface Props$
|
|
3260
|
+
interface Props$8 {
|
|
3220
3261
|
/** 绑定值,控制抽屉显示 */
|
|
3221
3262
|
modelValue?: boolean;
|
|
3222
3263
|
/** 抽屉标题 */
|
|
@@ -3242,27 +3283,27 @@ type __VLS_Slots$6 = {} & {
|
|
|
3242
3283
|
} & {
|
|
3243
3284
|
footer?: (props: typeof __VLS_18) => any;
|
|
3244
3285
|
};
|
|
3245
|
-
declare const __VLS_base$6: _$vue.DefineComponent<Props$
|
|
3246
|
-
"update:modelValue": (value: boolean) => any;
|
|
3247
|
-
close: () => any;
|
|
3286
|
+
declare const __VLS_base$6: _$vue.DefineComponent<Props$8, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3248
3287
|
open: () => any;
|
|
3249
|
-
|
|
3250
|
-
"
|
|
3251
|
-
|
|
3288
|
+
close: () => any;
|
|
3289
|
+
"update:modelValue": (value: boolean) => any;
|
|
3290
|
+
}, string, _$vue.PublicProps, Readonly<Props$8> & Readonly<{
|
|
3252
3291
|
onOpen?: (() => any) | undefined;
|
|
3292
|
+
onClose?: (() => any) | undefined;
|
|
3293
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
3253
3294
|
}>, {
|
|
3254
|
-
modelValue: boolean;
|
|
3255
|
-
placement: "left" | "right" | "top" | "bottom";
|
|
3256
|
-
closable: boolean;
|
|
3257
3295
|
title: string;
|
|
3296
|
+
modelValue: boolean;
|
|
3258
3297
|
width: string | number;
|
|
3259
3298
|
showHeader: boolean;
|
|
3299
|
+
closable: boolean;
|
|
3260
3300
|
maskClosable: boolean;
|
|
3261
3301
|
destroyOnClose: boolean;
|
|
3262
3302
|
teleport: boolean;
|
|
3303
|
+
placement: "left" | "right" | "top" | "bottom";
|
|
3263
3304
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3264
|
-
declare const __VLS_export$
|
|
3265
|
-
declare const _default$18: typeof __VLS_export$
|
|
3305
|
+
declare const __VLS_export$8: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
3306
|
+
declare const _default$18: typeof __VLS_export$8;
|
|
3266
3307
|
type __VLS_WithSlots$6<T, S> = T & {
|
|
3267
3308
|
new (): {
|
|
3268
3309
|
$slots: S;
|
|
@@ -3313,7 +3354,7 @@ declare const Notification: {
|
|
|
3313
3354
|
};
|
|
3314
3355
|
//#endregion
|
|
3315
3356
|
//#region src/components/feedback/tooltip/tooltip.vue.d.ts
|
|
3316
|
-
interface Props$
|
|
3357
|
+
interface Props$7 {
|
|
3317
3358
|
content?: string;
|
|
3318
3359
|
placement?: "top" | "bottom" | "left" | "right";
|
|
3319
3360
|
trigger?: "hover" | "click";
|
|
@@ -3325,14 +3366,14 @@ type __VLS_Slots$5 = {} & {
|
|
|
3325
3366
|
} & {
|
|
3326
3367
|
content?: (props: typeof __VLS_15) => any;
|
|
3327
3368
|
};
|
|
3328
|
-
declare const __VLS_base$5: _$vue.DefineComponent<Props$
|
|
3369
|
+
declare const __VLS_base$5: _$vue.DefineComponent<Props$7, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$7> & Readonly<{}>, {
|
|
3329
3370
|
trigger: "hover" | "click";
|
|
3330
3371
|
placement: "top" | "bottom" | "left" | "right";
|
|
3331
3372
|
content: string;
|
|
3332
3373
|
delay: number;
|
|
3333
3374
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3334
|
-
declare const __VLS_export$
|
|
3335
|
-
declare const _default$
|
|
3375
|
+
declare const __VLS_export$7: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
3376
|
+
declare const _default$61: typeof __VLS_export$7;
|
|
3336
3377
|
type __VLS_WithSlots$5<T, S> = T & {
|
|
3337
3378
|
new (): {
|
|
3338
3379
|
$slots: S;
|
|
@@ -3340,7 +3381,7 @@ type __VLS_WithSlots$5<T, S> = T & {
|
|
|
3340
3381
|
};
|
|
3341
3382
|
//#endregion
|
|
3342
3383
|
//#region src/components/feedback/spin/spin.vue.d.ts
|
|
3343
|
-
interface Props$
|
|
3384
|
+
interface Props$6 {
|
|
3344
3385
|
spinning?: boolean;
|
|
3345
3386
|
size?: number;
|
|
3346
3387
|
tip?: string;
|
|
@@ -3352,14 +3393,14 @@ type __VLS_Slots$4 = {} & {
|
|
|
3352
3393
|
} & {
|
|
3353
3394
|
default?: (props: typeof __VLS_3$1) => any;
|
|
3354
3395
|
};
|
|
3355
|
-
declare const __VLS_base$4: _$vue.DefineComponent<Props$
|
|
3396
|
+
declare const __VLS_base$4: _$vue.DefineComponent<Props$6, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$6> & Readonly<{}>, {
|
|
3356
3397
|
size: number;
|
|
3357
|
-
tip: string;
|
|
3358
3398
|
delay: number;
|
|
3359
3399
|
spinning: boolean;
|
|
3400
|
+
tip: string;
|
|
3360
3401
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3361
|
-
declare const __VLS_export$
|
|
3362
|
-
declare const _default$
|
|
3402
|
+
declare const __VLS_export$6: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
3403
|
+
declare const _default$51: typeof __VLS_export$6;
|
|
3363
3404
|
type __VLS_WithSlots$4<T, S> = T & {
|
|
3364
3405
|
new (): {
|
|
3365
3406
|
$slots: S;
|
|
@@ -3367,7 +3408,7 @@ type __VLS_WithSlots$4<T, S> = T & {
|
|
|
3367
3408
|
};
|
|
3368
3409
|
//#endregion
|
|
3369
3410
|
//#region src/components/feedback/skeleton/skeleton.vue.d.ts
|
|
3370
|
-
interface Props$
|
|
3411
|
+
interface Props$5 {
|
|
3371
3412
|
loading?: boolean;
|
|
3372
3413
|
avatar?: boolean | number | string;
|
|
3373
3414
|
title?: boolean;
|
|
@@ -3381,18 +3422,18 @@ declare var __VLS_1$3: {};
|
|
|
3381
3422
|
type __VLS_Slots$3 = {} & {
|
|
3382
3423
|
default?: (props: typeof __VLS_1$3) => any;
|
|
3383
3424
|
};
|
|
3384
|
-
declare const __VLS_base$3: _$vue.DefineComponent<Props$
|
|
3385
|
-
rows: number;
|
|
3386
|
-
loading: boolean;
|
|
3425
|
+
declare const __VLS_base$3: _$vue.DefineComponent<Props$5, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$5> & Readonly<{}>, {
|
|
3387
3426
|
title: boolean;
|
|
3427
|
+
loading: boolean;
|
|
3388
3428
|
avatar: boolean | number | string;
|
|
3389
3429
|
titleWidth: string;
|
|
3390
3430
|
titleHeight: string;
|
|
3431
|
+
rows: number;
|
|
3391
3432
|
lastRowWidth: string;
|
|
3392
3433
|
animated: boolean;
|
|
3393
3434
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3394
|
-
declare const __VLS_export$
|
|
3395
|
-
declare const _default$
|
|
3435
|
+
declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
3436
|
+
declare const _default$48: typeof __VLS_export$5;
|
|
3396
3437
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
3397
3438
|
new (): {
|
|
3398
3439
|
$slots: S;
|
|
@@ -3400,7 +3441,7 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
3400
3441
|
};
|
|
3401
3442
|
//#endregion
|
|
3402
3443
|
//#region src/components/feedback/popconfirm/popconfirm.vue.d.ts
|
|
3403
|
-
interface Props$
|
|
3444
|
+
interface Props$4 {
|
|
3404
3445
|
title?: string;
|
|
3405
3446
|
confirmText?: string;
|
|
3406
3447
|
cancelText?: string;
|
|
@@ -3409,10 +3450,10 @@ declare var __VLS_1$2: {};
|
|
|
3409
3450
|
type __VLS_Slots$2 = {} & {
|
|
3410
3451
|
default?: (props: typeof __VLS_1$2) => any;
|
|
3411
3452
|
};
|
|
3412
|
-
declare const __VLS_base$2: _$vue.DefineComponent<Props$
|
|
3453
|
+
declare const __VLS_base$2: _$vue.DefineComponent<Props$4, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3413
3454
|
confirm: () => any;
|
|
3414
3455
|
cancel: () => any;
|
|
3415
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
3456
|
+
}, string, _$vue.PublicProps, Readonly<Props$4> & Readonly<{
|
|
3416
3457
|
onConfirm?: (() => any) | undefined;
|
|
3417
3458
|
onCancel?: (() => any) | undefined;
|
|
3418
3459
|
}>, {
|
|
@@ -3420,8 +3461,8 @@ declare const __VLS_base$2: _$vue.DefineComponent<Props$3, {}, {}, {}, {}, _$vue
|
|
|
3420
3461
|
cancelText: string;
|
|
3421
3462
|
confirmText: string;
|
|
3422
3463
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3423
|
-
declare const __VLS_export$
|
|
3424
|
-
declare const _default$
|
|
3464
|
+
declare const __VLS_export$4: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
3465
|
+
declare const _default$40: typeof __VLS_export$4;
|
|
3425
3466
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
3426
3467
|
new (): {
|
|
3427
3468
|
$slots: S;
|
|
@@ -3429,7 +3470,7 @@ type __VLS_WithSlots$2<T, S> = T & {
|
|
|
3429
3470
|
};
|
|
3430
3471
|
//#endregion
|
|
3431
3472
|
//#region src/components/feedback/result/result.vue.d.ts
|
|
3432
|
-
interface Props$
|
|
3473
|
+
interface Props$3 {
|
|
3433
3474
|
status?: "success" | "error" | "warning" | "info" | "404" | "403" | "500";
|
|
3434
3475
|
title?: string;
|
|
3435
3476
|
subTitle?: string;
|
|
@@ -3442,13 +3483,13 @@ type __VLS_Slots$1 = {} & {
|
|
|
3442
3483
|
} & {
|
|
3443
3484
|
extra?: (props: typeof __VLS_5) => any;
|
|
3444
3485
|
};
|
|
3445
|
-
declare const __VLS_base$1: _$vue.DefineComponent<Props$
|
|
3486
|
+
declare const __VLS_base$1: _$vue.DefineComponent<Props$3, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$3> & Readonly<{}>, {
|
|
3446
3487
|
title: string;
|
|
3447
3488
|
status: "success" | "error" | "warning" | "info" | "404" | "403" | "500";
|
|
3448
3489
|
subTitle: string;
|
|
3449
3490
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3450
|
-
declare const __VLS_export$
|
|
3451
|
-
declare const _default$
|
|
3491
|
+
declare const __VLS_export$3: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
3492
|
+
declare const _default$45: typeof __VLS_export$3;
|
|
3452
3493
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
3453
3494
|
new (): {
|
|
3454
3495
|
$slots: S;
|
|
@@ -3466,16 +3507,16 @@ interface ContextMenuItem {
|
|
|
3466
3507
|
separator?: boolean;
|
|
3467
3508
|
children?: ContextMenuItem[];
|
|
3468
3509
|
}
|
|
3469
|
-
interface Props$
|
|
3510
|
+
interface Props$2 {
|
|
3470
3511
|
items?: ContextMenuItem[];
|
|
3471
3512
|
visible?: boolean;
|
|
3472
3513
|
x?: number;
|
|
3473
3514
|
y?: number;
|
|
3474
3515
|
}
|
|
3475
|
-
declare const __VLS_export$
|
|
3516
|
+
declare const __VLS_export$2: _$vue.DefineComponent<Props$2, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
3476
3517
|
select: (item: ContextMenuItem) => any;
|
|
3477
3518
|
"update:visible": (value: boolean) => any;
|
|
3478
|
-
}, string, _$vue.PublicProps, Readonly<Props$
|
|
3519
|
+
}, string, _$vue.PublicProps, Readonly<Props$2> & Readonly<{
|
|
3479
3520
|
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
3480
3521
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
3481
3522
|
}>, {
|
|
@@ -3484,7 +3525,33 @@ declare const __VLS_export$1: _$vue.DefineComponent<Props$1, {}, {}, {}, {}, _$v
|
|
|
3484
3525
|
x: number;
|
|
3485
3526
|
y: number;
|
|
3486
3527
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3487
|
-
declare const _default$14: typeof __VLS_export$
|
|
3528
|
+
declare const _default$14: typeof __VLS_export$2;
|
|
3529
|
+
//#endregion
|
|
3530
|
+
//#region src/components/feedback/loading-bar/loading-bar.vue.d.ts
|
|
3531
|
+
interface Props$1 {
|
|
3532
|
+
percent?: number;
|
|
3533
|
+
status?: "normal" | "success" | "error";
|
|
3534
|
+
size?: ComponentSize;
|
|
3535
|
+
duration?: number;
|
|
3536
|
+
color?: string;
|
|
3537
|
+
}
|
|
3538
|
+
declare function start(): void;
|
|
3539
|
+
declare function finish(): void;
|
|
3540
|
+
declare function setPercent(value: number): void;
|
|
3541
|
+
declare function error(): void;
|
|
3542
|
+
declare const __VLS_export$1: _$vue.DefineComponent<Props$1, {
|
|
3543
|
+
start: typeof start;
|
|
3544
|
+
finish: typeof finish;
|
|
3545
|
+
setPercent: typeof setPercent;
|
|
3546
|
+
error: typeof error;
|
|
3547
|
+
}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$1> & Readonly<{}>, {
|
|
3548
|
+
size: ComponentSize;
|
|
3549
|
+
percent: number;
|
|
3550
|
+
status: "normal" | "success" | "error";
|
|
3551
|
+
duration: number;
|
|
3552
|
+
color: string;
|
|
3553
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3554
|
+
declare const _default$33: typeof __VLS_export$1;
|
|
3488
3555
|
//#endregion
|
|
3489
3556
|
//#region src/components/config-provider/config-provider.vue.d.ts
|
|
3490
3557
|
interface Props {
|
|
@@ -3499,8 +3566,8 @@ type __VLS_Slots = {} & {
|
|
|
3499
3566
|
};
|
|
3500
3567
|
declare const __VLS_base: _$vue.DefineComponent<Props, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
3501
3568
|
locale: string;
|
|
3502
|
-
theme: "light" | "dark" | "auto";
|
|
3503
3569
|
size: "xs" | "sm" | "md" | "lg";
|
|
3570
|
+
theme: "light" | "dark" | "auto";
|
|
3504
3571
|
zIndex: number;
|
|
3505
3572
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
3506
3573
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -3524,6 +3591,15 @@ declare function useNamespace(namespace: string): {
|
|
|
3524
3591
|
bem: (element?: string, modifier?: string) => string;
|
|
3525
3592
|
};
|
|
3526
3593
|
//#endregion
|
|
3594
|
+
//#region src/composables/use-config.d.ts
|
|
3595
|
+
interface ConfigContext {
|
|
3596
|
+
theme: ComputedRef<string>;
|
|
3597
|
+
locale: ComputedRef<string>;
|
|
3598
|
+
size: ComputedRef<"xs" | "sm" | "md" | "lg">;
|
|
3599
|
+
zIndex: ComputedRef<number>;
|
|
3600
|
+
}
|
|
3601
|
+
declare function useConfig(): ConfigContext;
|
|
3602
|
+
//#endregion
|
|
3527
3603
|
//#region src/composables/use-form-validate.d.ts
|
|
3528
3604
|
/**
|
|
3529
3605
|
* 表单校验 composable
|
|
@@ -3597,11 +3673,36 @@ interface UseLoginFormReturn {
|
|
|
3597
3673
|
*/
|
|
3598
3674
|
declare function useLoginForm(options?: UseLoginFormOptions): UseLoginFormReturn;
|
|
3599
3675
|
//#endregion
|
|
3676
|
+
//#region src/composables/use-loading-bar.d.ts
|
|
3677
|
+
/**
|
|
3678
|
+
* LoadingBar 组合式函数
|
|
3679
|
+
* 提供全局加载进度条控制方法
|
|
3680
|
+
* @returns LoadingBar 控制函数
|
|
3681
|
+
*/
|
|
3682
|
+
declare function useLoadingBar(): {
|
|
3683
|
+
start: (options?: {
|
|
3684
|
+
size?: ComponentSize;
|
|
3685
|
+
color?: string;
|
|
3686
|
+
}) => void;
|
|
3687
|
+
finish: () => void;
|
|
3688
|
+
setPercent: (percent: number) => void;
|
|
3689
|
+
error: () => void;
|
|
3690
|
+
};
|
|
3691
|
+
declare const loadingBar: {
|
|
3692
|
+
start: (options?: {
|
|
3693
|
+
size?: ComponentSize;
|
|
3694
|
+
color?: string;
|
|
3695
|
+
}) => void;
|
|
3696
|
+
finish: () => void;
|
|
3697
|
+
setPercent: (percent: number) => void;
|
|
3698
|
+
error: () => void;
|
|
3699
|
+
};
|
|
3700
|
+
//#endregion
|
|
3600
3701
|
//#region src/composables/use-menu.d.ts
|
|
3601
3702
|
/**
|
|
3602
3703
|
* 过滤菜单项(根据权限和隐藏状态)
|
|
3603
3704
|
*/
|
|
3604
|
-
declare function filterMenuItems(items: MenuItem[], userPermissions?: UserPermissions): MenuItem[];
|
|
3705
|
+
declare function filterMenuItems(items: MenuItem[], userPermissions?: UserPermissions$1): MenuItem[];
|
|
3605
3706
|
/**
|
|
3606
3707
|
* 根据菜单生成路由配置
|
|
3607
3708
|
*/
|
|
@@ -3625,7 +3726,7 @@ declare function findMenuPath(items: MenuItem[], key: string, parents?: MenuItem
|
|
|
3625
3726
|
/**
|
|
3626
3727
|
* 搜索菜单项(模糊搜索,支持权限过滤)
|
|
3627
3728
|
*/
|
|
3628
|
-
declare function searchMenuItems(items: MenuItem[], query: string, userPermissions?: UserPermissions): MenuItem[];
|
|
3729
|
+
declare function searchMenuItems(items: MenuItem[], query: string, userPermissions?: UserPermissions$1): MenuItem[];
|
|
3629
3730
|
/**
|
|
3630
3731
|
* 获取菜单项的扁平化列表(用于搜索)
|
|
3631
3732
|
*/
|
|
@@ -3670,22 +3771,58 @@ declare function encrypt(data: string, key: CryptoKey | string): Promise<string>
|
|
|
3670
3771
|
declare function decrypt(base64Data: string, key: CryptoKey | string): Promise<string | null>;
|
|
3671
3772
|
//#endregion
|
|
3672
3773
|
//#region src/utils/secure-storage.d.ts
|
|
3774
|
+
/**
|
|
3775
|
+
* 存储类型
|
|
3776
|
+
*/
|
|
3777
|
+
type StorageType = "local" | "session";
|
|
3778
|
+
/**
|
|
3779
|
+
* 初始化配置接口
|
|
3780
|
+
*/
|
|
3781
|
+
interface SecureStorageConfig {
|
|
3782
|
+
/** 配置文件路径(默认:config/storage.json) */
|
|
3783
|
+
configFile?: string;
|
|
3784
|
+
/** localStorage 密钥 */
|
|
3785
|
+
localStorageKey?: string;
|
|
3786
|
+
/** sessionStorage 密钥 */
|
|
3787
|
+
sessionStorageKey?: string;
|
|
3788
|
+
/** 统一密钥(同时设置 localStorage 和 sessionStorage) */
|
|
3789
|
+
storageKey?: string;
|
|
3790
|
+
}
|
|
3673
3791
|
/**
|
|
3674
3792
|
* 初始化安全存储
|
|
3675
3793
|
* 必须在应用启动时调用
|
|
3794
|
+
* @param config 可选的初始化配置
|
|
3676
3795
|
*/
|
|
3677
|
-
declare function initSecureStorage(): Promise<void>;
|
|
3796
|
+
declare function initSecureStorage(config?: SecureStorageConfig): Promise<void>;
|
|
3678
3797
|
/**
|
|
3679
3798
|
* 混合加密存储类
|
|
3680
3799
|
*/
|
|
3681
3800
|
declare class SecureStorage {
|
|
3682
3801
|
private storage;
|
|
3683
|
-
private
|
|
3802
|
+
private storageType;
|
|
3684
3803
|
constructor(type: "local" | "session");
|
|
3804
|
+
/**
|
|
3805
|
+
* 获取存储类型
|
|
3806
|
+
*/
|
|
3807
|
+
get type(): StorageType;
|
|
3808
|
+
/**
|
|
3809
|
+
* 是否就绪
|
|
3810
|
+
*/
|
|
3811
|
+
get ready(): boolean;
|
|
3812
|
+
/**
|
|
3813
|
+
* 获取密钥(根据存储类型)
|
|
3814
|
+
*/
|
|
3815
|
+
private getCurrentKey;
|
|
3685
3816
|
/**
|
|
3686
3817
|
* 异步写入
|
|
3818
|
+
* @param key 存储键名
|
|
3819
|
+
* @param value 存储值
|
|
3820
|
+
* @param options 写入选项(可选)
|
|
3687
3821
|
*/
|
|
3688
|
-
setItem<T = unknown>(key: string, value: T
|
|
3822
|
+
setItem<T = unknown>(key: string, value: T, options?: {
|
|
3823
|
+
expiresIn?: number;
|
|
3824
|
+
compress?: boolean;
|
|
3825
|
+
}): Promise<void>;
|
|
3689
3826
|
/**
|
|
3690
3827
|
* 异步读取
|
|
3691
3828
|
*/
|
|
@@ -3699,6 +3836,12 @@ declare class SecureStorage {
|
|
|
3699
3836
|
*/
|
|
3700
3837
|
clear(): void;
|
|
3701
3838
|
}
|
|
3839
|
+
/**
|
|
3840
|
+
* 创建独立的 SecureStorage 实例
|
|
3841
|
+
* @param type 存储类型
|
|
3842
|
+
* @param key 可选的独立密钥
|
|
3843
|
+
* @returns SecureStorage 实例
|
|
3844
|
+
*/
|
|
3702
3845
|
declare const secureLocal: SecureStorage;
|
|
3703
3846
|
declare const secureSession: SecureStorage;
|
|
3704
3847
|
//#endregion
|
|
@@ -4021,16 +4164,425 @@ declare function nf(value: number, options?: Intl.NumberFormatOptions, locale?:
|
|
|
4021
4164
|
* })
|
|
4022
4165
|
* ```
|
|
4023
4166
|
*/
|
|
4024
|
-
interface ResolverResult {
|
|
4167
|
+
interface ResolverResult$1 {
|
|
4025
4168
|
name: string;
|
|
4026
4169
|
from: string;
|
|
4027
4170
|
sideImport?: string;
|
|
4028
4171
|
}
|
|
4029
|
-
type ComponentResolverFunc = (componentName: string) => ResolverResult | undefined;
|
|
4172
|
+
type ComponentResolverFunc = (componentName: string) => ResolverResult$1 | undefined;
|
|
4030
4173
|
/**
|
|
4031
4174
|
* YdAdmin 组件库解析器
|
|
4032
4175
|
* 将 YdXxx 组件自动映射到 yd-admin 包
|
|
4033
4176
|
*/
|
|
4034
4177
|
declare function YdAdminResolver(): ComponentResolverFunc;
|
|
4035
4178
|
//#endregion
|
|
4036
|
-
|
|
4179
|
+
//#region src/router/types.d.ts
|
|
4180
|
+
/**
|
|
4181
|
+
* 路由菜单项(避免与组件库冲突)
|
|
4182
|
+
*/
|
|
4183
|
+
interface AppMenuItem {
|
|
4184
|
+
/** 唯一标识 */
|
|
4185
|
+
key: string;
|
|
4186
|
+
/** 显示标题 */
|
|
4187
|
+
label: string;
|
|
4188
|
+
/** 图标 */
|
|
4189
|
+
icon?: string;
|
|
4190
|
+
/** 子菜单 */
|
|
4191
|
+
children?: AppMenuItem[];
|
|
4192
|
+
/** 路由路径 */
|
|
4193
|
+
path?: string;
|
|
4194
|
+
/** 权限 */
|
|
4195
|
+
permission?: string | string[];
|
|
4196
|
+
/** 角色 */
|
|
4197
|
+
roles?: string[];
|
|
4198
|
+
/** 禁用 */
|
|
4199
|
+
disabled?: boolean;
|
|
4200
|
+
}
|
|
4201
|
+
/**
|
|
4202
|
+
* 用户权限
|
|
4203
|
+
*/
|
|
4204
|
+
interface UserPermissions {
|
|
4205
|
+
/** 角色列表 */
|
|
4206
|
+
roles?: string[];
|
|
4207
|
+
/** 权限列表 */
|
|
4208
|
+
permissions?: string[];
|
|
4209
|
+
}
|
|
4210
|
+
/**
|
|
4211
|
+
* 路由元信息扩展 - 扩展标准 Route Meta
|
|
4212
|
+
* 支持布局、包装器、自定义渲染等能力
|
|
4213
|
+
*/
|
|
4214
|
+
interface RouteMeta$1 {
|
|
4215
|
+
/** 页面标题 */
|
|
4216
|
+
title?: string;
|
|
4217
|
+
/** 页面图标 */
|
|
4218
|
+
icon?: string;
|
|
4219
|
+
/** 页面描述 */
|
|
4220
|
+
description?: string;
|
|
4221
|
+
/** 是否需要认证 */
|
|
4222
|
+
requiresAuth?: boolean;
|
|
4223
|
+
/** 是否忽略认证 */
|
|
4224
|
+
ignoreAuth?: boolean;
|
|
4225
|
+
/** 需要的权限 */
|
|
4226
|
+
permission?: string | string[];
|
|
4227
|
+
/** 需要的角色 */
|
|
4228
|
+
roles?: string[];
|
|
4229
|
+
/** 是否缓存页面(配合 keep-alive) */
|
|
4230
|
+
keepAlive?: boolean;
|
|
4231
|
+
/** 是否在标签页显示 */
|
|
4232
|
+
tabAffix?: boolean;
|
|
4233
|
+
/** 面包屑配置 */
|
|
4234
|
+
breadcrumb?: boolean | Array<{
|
|
4235
|
+
label: string;
|
|
4236
|
+
path: string;
|
|
4237
|
+
}>;
|
|
4238
|
+
/** 是否外部链接 */
|
|
4239
|
+
external?: boolean;
|
|
4240
|
+
/** 打开方式 */
|
|
4241
|
+
target?: "_blank" | "_self" | "_parent" | "_top";
|
|
4242
|
+
/** 布局组件 - 包裹页面的布局组件 */
|
|
4243
|
+
layout?: string;
|
|
4244
|
+
/** 包装器组件 - 包裹页面内容 */
|
|
4245
|
+
wrapper?: string;
|
|
4246
|
+
/** 自定义渲染组件 */
|
|
4247
|
+
render?: string;
|
|
4248
|
+
/** Slot 名称 */
|
|
4249
|
+
slot?: string;
|
|
4250
|
+
/** 自定义渲染函数(高级场景) */
|
|
4251
|
+
renderFn?: (props: {
|
|
4252
|
+
route: RouteLocationNormalized$1;
|
|
4253
|
+
}) => VNode;
|
|
4254
|
+
/** 扩展字段 */
|
|
4255
|
+
[key: string]: unknown;
|
|
4256
|
+
}
|
|
4257
|
+
/**
|
|
4258
|
+
* 路由记录(扩展)- 支持自定义 meta 和子路由
|
|
4259
|
+
*/
|
|
4260
|
+
interface AppRouteRecordRaw extends Omit<RouteRecordRaw$1, "meta" | "name" | "children"> {
|
|
4261
|
+
/** 路由名称 */
|
|
4262
|
+
name?: RouteRecordName;
|
|
4263
|
+
/** 路由元信息 */
|
|
4264
|
+
meta?: RouteMeta$1;
|
|
4265
|
+
/** 子路由 */
|
|
4266
|
+
children?: AppRouteRecordRaw[];
|
|
4267
|
+
/** 组件(支持异步导入) */
|
|
4268
|
+
component?: RouteRecordRaw$1["component"];
|
|
4269
|
+
}
|
|
4270
|
+
/**
|
|
4271
|
+
* 路由守卫类型
|
|
4272
|
+
*/
|
|
4273
|
+
type RouteGuard = (to: RouteLocationNormalized$1, from: RouteLocationNormalized$1, next: NavigationGuardNext) => unknown;
|
|
4274
|
+
/**
|
|
4275
|
+
* 异步路由守卫类型
|
|
4276
|
+
*/
|
|
4277
|
+
type AsyncRouteGuard = (to: RouteLocationNormalized$1, from: RouteLocationNormalized$1, next: NavigationGuardNext) => Promise<void>;
|
|
4278
|
+
/**
|
|
4279
|
+
* 路由守卫配置 - 支持多种守卫类型
|
|
4280
|
+
*/
|
|
4281
|
+
interface GuardConfig {
|
|
4282
|
+
/** 全局前置守卫 - 导航开始前调用 */
|
|
4283
|
+
beforeEach?: AsyncRouteGuard | AsyncRouteGuard[];
|
|
4284
|
+
/** 全局后置守卫 - 导航完成后调用 */
|
|
4285
|
+
afterEach?: RouteGuard | RouteGuard[];
|
|
4286
|
+
/** 解析守卫 - 路由解析后(组件加载前)调用 */
|
|
4287
|
+
beforeResolve?: AsyncRouteGuard | AsyncRouteGuard[];
|
|
4288
|
+
/** 离开守卫 - 离开当前路由时调用 */
|
|
4289
|
+
beforeLeave?: AsyncRouteGuard | AsyncRouteGuard[];
|
|
4290
|
+
}
|
|
4291
|
+
/**
|
|
4292
|
+
* 路由历史模式
|
|
4293
|
+
*/
|
|
4294
|
+
type RouterHistoryMode = "hash" | "html5" | "memory";
|
|
4295
|
+
/**
|
|
4296
|
+
* 路由创建选项
|
|
4297
|
+
*/
|
|
4298
|
+
interface CreateRouterOptions {
|
|
4299
|
+
/** 历史模式 - 默认 html5 */
|
|
4300
|
+
history?: RouterHistoryMode;
|
|
4301
|
+
/** 基础路径 */
|
|
4302
|
+
base?: string;
|
|
4303
|
+
/** 初始路由记录 */
|
|
4304
|
+
routes?: AppRouteRecordRaw[];
|
|
4305
|
+
/** 路由守卫配置 */
|
|
4306
|
+
guards?: GuardConfig;
|
|
4307
|
+
/** 公共路由路径(未登录时重定向) */
|
|
4308
|
+
publicPath?: string;
|
|
4309
|
+
/** 登录页面路径 */
|
|
4310
|
+
loginPath?: string;
|
|
4311
|
+
/** 404 页面路径 */
|
|
4312
|
+
notFoundPath?: string;
|
|
4313
|
+
/** 是否严格模式 */
|
|
4314
|
+
strict?: boolean;
|
|
4315
|
+
/** 敏感信息匹配 */
|
|
4316
|
+
sensitive?: boolean;
|
|
4317
|
+
}
|
|
4318
|
+
/**
|
|
4319
|
+
* 动态路由选项
|
|
4320
|
+
*/
|
|
4321
|
+
interface DynamicRouteOptions {
|
|
4322
|
+
/** 父路由名称 */
|
|
4323
|
+
parentName?: string;
|
|
4324
|
+
/** 是否覆盖已存在 */
|
|
4325
|
+
overwrite?: boolean;
|
|
4326
|
+
/** 是否立即生效 */
|
|
4327
|
+
immediate?: boolean;
|
|
4328
|
+
}
|
|
4329
|
+
/**
|
|
4330
|
+
* 路由解析器配置 - 用于多库适配
|
|
4331
|
+
*/
|
|
4332
|
+
interface ResolverConfig {
|
|
4333
|
+
/** 库名称 */
|
|
4334
|
+
libraryName: "yd-admin" | "ant-design-vue" | "element-plus" | "other";
|
|
4335
|
+
/** 组件前缀 */
|
|
4336
|
+
componentPrefix?: string;
|
|
4337
|
+
/** 额外解析规则 */
|
|
4338
|
+
extraRules?: Array<{
|
|
4339
|
+
test: (name: string) => boolean;
|
|
4340
|
+
resolve: (name: string) => {
|
|
4341
|
+
name: string;
|
|
4342
|
+
from: string;
|
|
4343
|
+
};
|
|
4344
|
+
}>;
|
|
4345
|
+
}
|
|
4346
|
+
/**
|
|
4347
|
+
* 路由解析结果
|
|
4348
|
+
*/
|
|
4349
|
+
interface ResolverResult {
|
|
4350
|
+
/** 导入名称 */
|
|
4351
|
+
importName: string;
|
|
4352
|
+
/** 导入路径 */
|
|
4353
|
+
path: string;
|
|
4354
|
+
}
|
|
4355
|
+
/**
|
|
4356
|
+
* 渲染优先级定义
|
|
4357
|
+
*/
|
|
4358
|
+
type RenderPriority = readonly ["layout", "wrapper", "render", "component"];
|
|
4359
|
+
/**
|
|
4360
|
+
* 路由渲染上下文
|
|
4361
|
+
*/
|
|
4362
|
+
interface RenderContext {
|
|
4363
|
+
/** 当前路由 */
|
|
4364
|
+
route: RouteLocationNormalized$1;
|
|
4365
|
+
/** 页面组件 */
|
|
4366
|
+
component?: unknown;
|
|
4367
|
+
/** Slot 映射 */
|
|
4368
|
+
slots?: Record<string, unknown>;
|
|
4369
|
+
}
|
|
4370
|
+
/**
|
|
4371
|
+
* 路由渲染器接口
|
|
4372
|
+
*/
|
|
4373
|
+
interface RouteContentRenderer {
|
|
4374
|
+
/** 渲染优先级 */
|
|
4375
|
+
priority: RenderPriority;
|
|
4376
|
+
/** 解析渲染 */
|
|
4377
|
+
resolve: (ctx: RenderContext) => VNode | null;
|
|
4378
|
+
/** 获取路由元信息 */
|
|
4379
|
+
getMeta: () => RouteMeta$1;
|
|
4380
|
+
}
|
|
4381
|
+
/**
|
|
4382
|
+
* 构建路由选项(链式调用)
|
|
4383
|
+
*/
|
|
4384
|
+
interface RouterBuildOptions {
|
|
4385
|
+
/** 路由路径 */
|
|
4386
|
+
path: string;
|
|
4387
|
+
/** 路由名称 */
|
|
4388
|
+
name?: RouteRecordName;
|
|
4389
|
+
/** 路由元信息 */
|
|
4390
|
+
meta?: RouteMeta$1;
|
|
4391
|
+
/** 组件 */
|
|
4392
|
+
component?: AppRouteRecordRaw["component"];
|
|
4393
|
+
/** 重定向 */
|
|
4394
|
+
redirect?: RouteRecordRaw$1["redirect"];
|
|
4395
|
+
/** 子路由 */
|
|
4396
|
+
children?: AppRouteRecordRaw[];
|
|
4397
|
+
/** 额外属性 */
|
|
4398
|
+
props?: Record<string, unknown>;
|
|
4399
|
+
}
|
|
4400
|
+
/**
|
|
4401
|
+
* 路由导航结果
|
|
4402
|
+
*/
|
|
4403
|
+
interface RouteNavigateResult {
|
|
4404
|
+
/** 是否成功 */
|
|
4405
|
+
success: boolean;
|
|
4406
|
+
/** 错误信息 */
|
|
4407
|
+
error?: string;
|
|
4408
|
+
/** 导航到的路径 */
|
|
4409
|
+
to?: string;
|
|
4410
|
+
}
|
|
4411
|
+
//#endregion
|
|
4412
|
+
//#region src/router/create-router.d.ts
|
|
4413
|
+
/**
|
|
4414
|
+
* 创建路由实例
|
|
4415
|
+
* @param options 路由选项
|
|
4416
|
+
* @returns Vue Router 实例
|
|
4417
|
+
*/
|
|
4418
|
+
declare function createAppRouter(options?: CreateRouterOptions): Router$1;
|
|
4419
|
+
/**
|
|
4420
|
+
* 获取默认路由配置
|
|
4421
|
+
* @returns 默认路由数组
|
|
4422
|
+
*/
|
|
4423
|
+
declare function getDefaultRoutes(): AppRouteRecordRaw[];
|
|
4424
|
+
/**
|
|
4425
|
+
* 获取 404 路由
|
|
4426
|
+
* @param path 404 页面路径
|
|
4427
|
+
* @returns 404 路由配置
|
|
4428
|
+
*/
|
|
4429
|
+
declare function getNotFoundRoute(path?: string): AppRouteRecordRaw;
|
|
4430
|
+
//#endregion
|
|
4431
|
+
//#region src/router/guards/auth.d.ts
|
|
4432
|
+
/**
|
|
4433
|
+
* 认证状态检查函数
|
|
4434
|
+
*/
|
|
4435
|
+
type AuthChecker = () => boolean | Promise<boolean>;
|
|
4436
|
+
/**
|
|
4437
|
+
* 创建认证守卫
|
|
4438
|
+
* @param options 认证守卫选项
|
|
4439
|
+
* @returns 认证守卫函数
|
|
4440
|
+
*/
|
|
4441
|
+
declare function createAuthGuard(options: {
|
|
4442
|
+
/** 认证检查函数 */checker: AuthChecker; /** 登录页路径 */
|
|
4443
|
+
loginPath?: string; /** 登录页名称 */
|
|
4444
|
+
loginName?: string; /** 是否忽略路由 */
|
|
4445
|
+
ignore?: (to: RouteLocationNormalized) => boolean;
|
|
4446
|
+
}): AsyncRouteGuard;
|
|
4447
|
+
/**
|
|
4448
|
+
* 默认认证守卫选项
|
|
4449
|
+
*/
|
|
4450
|
+
declare const defaultAuthGuardOptions: {
|
|
4451
|
+
loginPath: string;
|
|
4452
|
+
loginName: string;
|
|
4453
|
+
ignore: (to: RouteLocationNormalized) => boolean;
|
|
4454
|
+
};
|
|
4455
|
+
//#endregion
|
|
4456
|
+
//#region src/router/guards/permission.d.ts
|
|
4457
|
+
/**
|
|
4458
|
+
* 权限检查函数
|
|
4459
|
+
*/
|
|
4460
|
+
type PermissionChecker = (required: string | string[], userPermissions?: UserPermissions) => boolean | Promise<boolean>;
|
|
4461
|
+
/**
|
|
4462
|
+
* 角色检查函数
|
|
4463
|
+
*/
|
|
4464
|
+
type RoleChecker = (required: string[], userPermissions?: UserPermissions) => boolean | Promise<boolean>;
|
|
4465
|
+
/**
|
|
4466
|
+
* 创建权限守卫
|
|
4467
|
+
* @param options 权限守卫选项
|
|
4468
|
+
* @returns 权限守卫函数
|
|
4469
|
+
*/
|
|
4470
|
+
declare function createPermissionGuard(options: {
|
|
4471
|
+
/** 权限检查函数 */checker: PermissionChecker; /** 403 页面路径 */
|
|
4472
|
+
forbiddenPath?: string; /** 403 页面名称 */
|
|
4473
|
+
forbiddenName?: string;
|
|
4474
|
+
}): AsyncRouteGuard;
|
|
4475
|
+
/**
|
|
4476
|
+
* 创建角色守卫
|
|
4477
|
+
* @param options 角色守卫选项
|
|
4478
|
+
* @returns 角色守卫函数
|
|
4479
|
+
*/
|
|
4480
|
+
declare function createRoleGuard(options: {
|
|
4481
|
+
/** 角色检查函数 */checker: RoleChecker; /** 403 页面路径 */
|
|
4482
|
+
forbiddenPath?: string;
|
|
4483
|
+
}): AsyncRouteGuard;
|
|
4484
|
+
//#endregion
|
|
4485
|
+
//#region src/router/composables/use-dynamic-route.d.ts
|
|
4486
|
+
/**
|
|
4487
|
+
* 设置路由实例
|
|
4488
|
+
* @param router Vue Router 实例
|
|
4489
|
+
*/
|
|
4490
|
+
declare function setRouter(router: Router): void;
|
|
4491
|
+
/**
|
|
4492
|
+
* 获取当前路由实例
|
|
4493
|
+
*/
|
|
4494
|
+
declare function getRouterInstance(): Router | null;
|
|
4495
|
+
/**
|
|
4496
|
+
* 添加单条路由
|
|
4497
|
+
* @param route 路由配置
|
|
4498
|
+
* @param options 添加选项
|
|
4499
|
+
* @returns 是否成功
|
|
4500
|
+
*/
|
|
4501
|
+
declare function addRoute(route: AppRouteRecordRaw, options?: DynamicRouteOptions): boolean;
|
|
4502
|
+
/**
|
|
4503
|
+
* 批量添加路由
|
|
4504
|
+
* @param routes 路由数组
|
|
4505
|
+
* @param options 添加选项
|
|
4506
|
+
* @returns 成功数量
|
|
4507
|
+
*/
|
|
4508
|
+
declare function addRoutes(routes: AppRouteRecordRaw[], options?: DynamicRouteOptions): number;
|
|
4509
|
+
/**
|
|
4510
|
+
* 移除路由
|
|
4511
|
+
* @param name 路由名称
|
|
4512
|
+
* @returns 是否成功
|
|
4513
|
+
*/
|
|
4514
|
+
declare function removeRoute(name: string): boolean;
|
|
4515
|
+
/**
|
|
4516
|
+
* 获取所有路由
|
|
4517
|
+
*/
|
|
4518
|
+
declare function getRoutes(): any;
|
|
4519
|
+
/**
|
|
4520
|
+
* 获取当前路由信息
|
|
4521
|
+
*/
|
|
4522
|
+
declare function getCurrentRoute(): RouteLocationNormalized | undefined;
|
|
4523
|
+
/**
|
|
4524
|
+
* 获取当前路径
|
|
4525
|
+
*/
|
|
4526
|
+
declare function getCurrentPath(): string | undefined;
|
|
4527
|
+
/**
|
|
4528
|
+
* 获取当前路由名称
|
|
4529
|
+
*/
|
|
4530
|
+
declare function getCurrentName(): string | undefined | null;
|
|
4531
|
+
/**
|
|
4532
|
+
* 导航到指定路径
|
|
4533
|
+
* @param path 路径
|
|
4534
|
+
* @param query 查询参数
|
|
4535
|
+
*/
|
|
4536
|
+
declare function push(path: string, query?: Record<string, string>): any;
|
|
4537
|
+
/**
|
|
4538
|
+
* 替换当前路径
|
|
4539
|
+
* @param path 路径
|
|
4540
|
+
*/
|
|
4541
|
+
declare function replace(path: string): any;
|
|
4542
|
+
//#endregion
|
|
4543
|
+
//#region src/router/utils/route-helpers.d.ts
|
|
4544
|
+
/**
|
|
4545
|
+
* 过滤菜单项(根据权限)
|
|
4546
|
+
* @param items 菜单项数组
|
|
4547
|
+
* @param permissions 用户权限
|
|
4548
|
+
* @returns 过滤后的菜单项
|
|
4549
|
+
*/
|
|
4550
|
+
declare function filterMenuItems$1(items: AppMenuItem[], permissions?: UserPermissions): AppMenuItem[];
|
|
4551
|
+
/**
|
|
4552
|
+
* 将 MenuItem 数组转换为路由记录
|
|
4553
|
+
* @param items 菜单项数组
|
|
4554
|
+
* @param options 选项
|
|
4555
|
+
* @returns 路由记录数组
|
|
4556
|
+
*/
|
|
4557
|
+
declare function menuToRoutes$1(items: AppMenuItem[], options?: {
|
|
4558
|
+
basePath?: string;
|
|
4559
|
+
userPermissions?: UserPermissions;
|
|
4560
|
+
}): AppRouteRecordRaw[];
|
|
4561
|
+
/**
|
|
4562
|
+
* 检查路由是否需要认证
|
|
4563
|
+
* @param route 路由记录
|
|
4564
|
+
* @returns 是否需要认证
|
|
4565
|
+
*/
|
|
4566
|
+
declare function requiresAuth(route: AppRouteRecordRaw): boolean;
|
|
4567
|
+
/**
|
|
4568
|
+
* 检查路由是否有权限
|
|
4569
|
+
* @param route 路由记录
|
|
4570
|
+
* @param permissions 用户权限
|
|
4571
|
+
* @returns 是否有权限
|
|
4572
|
+
*/
|
|
4573
|
+
declare function hasPermission(route: AppRouteRecordRaw, permissions?: UserPermissions): boolean;
|
|
4574
|
+
/**
|
|
4575
|
+
* 生成面包屑
|
|
4576
|
+
* @param routes 路由数组
|
|
4577
|
+
* @param currentPath 当前路径
|
|
4578
|
+
* @returns 面包屑数组
|
|
4579
|
+
*/
|
|
4580
|
+
declare function generateBreadcrumbs(routes: AppRouteRecordRaw[], currentPath: string): Array<{
|
|
4581
|
+
label: string;
|
|
4582
|
+
path: string;
|
|
4583
|
+
}>;
|
|
4584
|
+
declare namespace index_d_exports {
|
|
4585
|
+
export { AppMenuItem, AppRouteRecordRaw, AsyncRouteGuard, AuthChecker, CreateRouterOptions, DynamicRouteOptions, GuardConfig, PermissionChecker, RenderContext, RenderPriority, ResolverConfig, ResolverResult, RoleChecker, RouteContentRenderer, RouteGuard, RouteMeta$1 as RouteMeta, RouteNavigateResult, RouterBuildOptions, RouterHistoryMode, UserPermissions, addRoute, addRoutes, createAppRouter, createAuthGuard, createMemoryHistory, createPermissionGuard, createRoleGuard, createWebHashHistory, createWebHistory, defaultAuthGuardOptions, filterMenuItems$1 as filterMenuItems, generateBreadcrumbs, getCurrentName, getCurrentPath, getCurrentRoute, getDefaultRoutes, getNotFoundRoute, getRouterInstance, getRoutes, hasPermission, menuToRoutes$1 as menuToRoutes, push, removeRoute, replace, requiresAuth, setRouter };
|
|
4586
|
+
}
|
|
4587
|
+
//#endregion
|
|
4588
|
+
export { ANIMATION_DURATION, Alignment, ApiResponse, ArrayElement, ArrowFunction, COMPONENT_PREFIX, CSS_PREFIX, Callback, CascaderNode, CascaderOption, ComponentSize, ComponentVariant, Constructor, CssProperty, DEBOUNCE_DEFAULTS, DEBOUNCE_DELAY, DEFAULT_LAYOUT_SIZE, DateFormat, DateRange, DateShortcut, DeepFrozen, DeepPartial, DeepReadonly, DeepReadonlyArray, DeepRequired, Deferred, DenseArray, Direction, DrawerConfig, Emitter, EventHandler, Exclusive, FieldComponent, FieldSchema, FilterKeys, FormActionType, FormError, FormInstance, FormItemInstance, FormModel, FormRuleExtra, FormRules, FormSchema, FormStatus, FormValidateResult, FormValue, GetKeys, GetProp, GroupSchema, Instanceof, Intersection, KeyValuePair, Known, LayoutContext, LayoutSize, LayoutTheme, Listener, Locale, MaybePromise, MenuItem, Message, MessageConfig, ModalConfig, NonEmptyArray, Noop, Notification, NotificationConfig, Omit$1 as Omit, PaginatedApiResponse, PaginationConfig, PaginationParams, PaginationResult, Parameters$1 as Parameters, Pick, Promisable, Recordable, ReturnType, type RouteMeta, type RouterOptions, RowSchema, SelectGroup, SelectOption, SelectValue, SelectedValue, type SimpleRouteRecord, SizeKeys, SlotSchema, StringLiteral, SupportedLocale, THROTTLE_DEFAULTS, THROTTLE_DELAY, TabItem, TableColumn, TableRow, Theme, ThemeName, ThemeTokens, ThisParameterType, TreeNode, UploadFile, UploadRequest, UploadResponse, UserInfo, ValidateError, ValidateResult, YdAdminResolver, _default as YdAnchor, _default$1 as YdAutoComplete, _default$2 as YdAvatar, _default$3 as YdBadge, _default$4 as YdBreadcrumb, _default$5 as YdButton, _default$6 as YdCaptcha, _default$7 as YdCard, _default$8 as YdCascader, _default$9 as YdCheckbox, _default$10 as YdCheckboxGroup, _default$11 as YdCollapse, _default$12 as YdColorPicker, _default$13 as YdConfigProvider, _default$14 as YdContextMenu, _default$15 as YdDatePicker, _default$16 as YdDateRangePicker, _default$17 as YdDivider, _default$18 as YdDrawer, _default$19 as YdDropdown, _default$20 as YdEmpty, _default$21 as YdForm, _default$22 as YdFormItem, _default$23 as YdIcon, _default$24 as YdImage, _default$25 as YdImagePreviewGroup, _default$26 as YdInput, _default$27 as YdInputNumber, _default$28 as YdLayout, _default$29 as YdLayoutContent, _default$30 as YdLayoutHeader, _default$31 as YdLayoutSidebar, _default$32 as YdList, _default$33 as YdLoadingBar, _default$34 as YdLogin, _default$35 as YdLoginCentered, _default$36 as YdMenu, _default$37 as YdModal, _default$38 as YdPagination, _default$39 as YdPinInput, _default$40 as YdPopconfirm, _default$41 as YdProgress, _default$42 as YdRadio, _default$43 as YdRadioGroup, _default$44 as YdRate, _default$45 as YdResult, index_d_exports as YdRouter, _default$46 as YdSchemaForm, _default$47 as YdSelect, _default$48 as YdSkeleton, _default$49 as YdSlider, _default$50 as YdSpace, _default$51 as YdSpin, _default$52 as YdStatistic, _default$53 as YdSteps, _default$54 as YdSwitch, _default$55 as YdTable, _default$56 as YdTabs, _default$57 as YdTag, _default$58 as YdTextarea, _default$59 as YdTimePicker, _default$60 as YdTimeline, _default$61 as YdTooltip, _default$62 as YdTransfer, _default$63 as YdTree, _default$64 as YdTreeSelect, _default$65 as YdUpload, Z_INDEX, buildBreadcrumb, changeLocale, checkRoutePermission, cn, convertToSimpleRoute, debounce, decrypt, deepClone, dt, dynamicRouter, encrypt, filterMenuItems, findMenuItem, findMenuPath, flattenMenuItems, generateId, generateRouteTitle, generateSessionKey, getBreadcrumbPaths, getCurrentLocale, getIcon, getIconRegistry, i18n, initSecureStorage, isArray, isDate, isEmpty, isEmptyObject, isFunction, isObject, isPathMatch, isPromise, joinPath, loadingBar, menuToRoutes, nf, normalizePath, registerIcon, registerLazyLocale, searchMenuItems, secureLocal, secureSession, secureStoragePlugin, setLocale, setupI18n, supportedLocales, t, tc, themes, throttle, useConfig, useFormSchema, useFormValidate, useLoading, useLoadingBar, useLoginForm, useNamespace };
|