guava-ui 0.1.8 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -0
- package/lib/guava-ui.es.js +9141 -3423
- package/lib/guava-ui.es.js.map +1 -1
- package/lib/guava-ui.umd.js +28 -2
- package/lib/guava-ui.umd.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/types/index.d.ts +765 -134
- package/package.json +1 -1
package/lib/types/index.d.ts
CHANGED
|
@@ -37,6 +37,8 @@ export declare const addClass: (ele: any, cls: any) => void;
|
|
|
37
37
|
declare const alert_2: (msg: unknown, type?: MessageType_2) => Promise<void>;
|
|
38
38
|
export { alert_2 as alert }
|
|
39
39
|
|
|
40
|
+
export declare const amountFormat: (val: string | number, decimal?: number) => string;
|
|
41
|
+
|
|
40
42
|
declare type BizType = 'reset' | 'import' | 'export' | 'shrink' | 'expand';
|
|
41
43
|
|
|
42
44
|
declare type BizType_2 = 'tableedit';
|
|
@@ -102,7 +104,9 @@ export declare const generateKey: (num: number) => string;
|
|
|
102
104
|
|
|
103
105
|
export declare const getDomCssProp: (prop: string, dom?: HTMLElement) => string;
|
|
104
106
|
|
|
105
|
-
export declare
|
|
107
|
+
export declare const getVNodeName: (vnode: any) => string;
|
|
108
|
+
|
|
109
|
+
export declare const getVNodeText: (vnode: any) => string;
|
|
106
110
|
|
|
107
111
|
export declare const GuavaUI: {
|
|
108
112
|
install: (app: App, options: GuavaUIOptions) => void;
|
|
@@ -184,12 +188,12 @@ default: string;
|
|
|
184
188
|
}>> & Readonly<{}>, {
|
|
185
189
|
value: string | number;
|
|
186
190
|
type: TBadgeType;
|
|
187
|
-
color: string;
|
|
188
|
-
hidden: boolean;
|
|
189
|
-
max: number;
|
|
190
191
|
vref: string;
|
|
192
|
+
max: number;
|
|
191
193
|
isDot: boolean;
|
|
194
|
+
hidden: boolean;
|
|
192
195
|
showZero: boolean;
|
|
196
|
+
color: string;
|
|
193
197
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
194
198
|
|
|
195
199
|
export declare const GvBreadCrumb: DefineComponent< {}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -331,7 +335,7 @@ onClick?: ((...args: any[]) => any) | undefined;
|
|
|
331
335
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
332
336
|
}>, {
|
|
333
337
|
link: boolean;
|
|
334
|
-
type: "" | "default" | "
|
|
338
|
+
type: "" | "default" | "primary" | "success" | "warning" | "danger" | "info" | "text";
|
|
335
339
|
size: "" | "small" | "default" | "large";
|
|
336
340
|
text: string;
|
|
337
341
|
icon: string;
|
|
@@ -348,55 +352,7 @@ args: string;
|
|
|
348
352
|
cb: (args?: any) => void;
|
|
349
353
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
350
354
|
|
|
351
|
-
export declare const GvCard: DefineComponent<
|
|
352
|
-
shadow: {
|
|
353
|
-
type: () => "always" | "hover" | "never";
|
|
354
|
-
default: string;
|
|
355
|
-
};
|
|
356
|
-
bodyStyle: {
|
|
357
|
-
type: PropType<CSSProperties>;
|
|
358
|
-
default: () => {};
|
|
359
|
-
};
|
|
360
|
-
bodyClass: {
|
|
361
|
-
type: StringConstructor;
|
|
362
|
-
default: string;
|
|
363
|
-
};
|
|
364
|
-
headerClass: {
|
|
365
|
-
type: StringConstructor;
|
|
366
|
-
default: string;
|
|
367
|
-
};
|
|
368
|
-
footerClass: {
|
|
369
|
-
type: StringConstructor;
|
|
370
|
-
default: string;
|
|
371
|
-
};
|
|
372
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
373
|
-
shadow: {
|
|
374
|
-
type: () => "always" | "hover" | "never";
|
|
375
|
-
default: string;
|
|
376
|
-
};
|
|
377
|
-
bodyStyle: {
|
|
378
|
-
type: PropType<CSSProperties>;
|
|
379
|
-
default: () => {};
|
|
380
|
-
};
|
|
381
|
-
bodyClass: {
|
|
382
|
-
type: StringConstructor;
|
|
383
|
-
default: string;
|
|
384
|
-
};
|
|
385
|
-
headerClass: {
|
|
386
|
-
type: StringConstructor;
|
|
387
|
-
default: string;
|
|
388
|
-
};
|
|
389
|
-
footerClass: {
|
|
390
|
-
type: StringConstructor;
|
|
391
|
-
default: string;
|
|
392
|
-
};
|
|
393
|
-
}>> & Readonly<{}>, {
|
|
394
|
-
headerClass: string;
|
|
395
|
-
bodyClass: string;
|
|
396
|
-
footerClass: string;
|
|
397
|
-
shadow: "hover" | "always" | "never";
|
|
398
|
-
bodyStyle: CSSProperties;
|
|
399
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
355
|
+
export declare const GvCard: DefineComponent< {}, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
400
356
|
|
|
401
357
|
export declare const GvCascader: DefineComponent<ExtractPropTypes< {
|
|
402
358
|
vref: {
|
|
@@ -570,6 +526,7 @@ value: unknown[];
|
|
|
570
526
|
lazy: boolean;
|
|
571
527
|
placeholder: string;
|
|
572
528
|
size: "" | "small" | "default" | "large";
|
|
529
|
+
vref: string;
|
|
573
530
|
trigger: string;
|
|
574
531
|
disabled: boolean;
|
|
575
532
|
options: CascaderOption[];
|
|
@@ -578,7 +535,6 @@ clearable: boolean;
|
|
|
578
535
|
filterable: boolean;
|
|
579
536
|
visible: boolean;
|
|
580
537
|
separator: string;
|
|
581
|
-
vref: string;
|
|
582
538
|
showAllLevels: boolean;
|
|
583
539
|
lazyLoad: (node: any, resolve: (data: any[]) => void, reject: () => void) => void;
|
|
584
540
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -588,10 +544,6 @@ vref: {
|
|
|
588
544
|
type: StringConstructor;
|
|
589
545
|
default: string;
|
|
590
546
|
};
|
|
591
|
-
modelValue: {
|
|
592
|
-
type: PropType<TCheckboxValueType>;
|
|
593
|
-
default: undefined;
|
|
594
|
-
};
|
|
595
547
|
value: {
|
|
596
548
|
type: PropType<TCheckboxValueType>;
|
|
597
549
|
default: undefined;
|
|
@@ -625,10 +577,6 @@ vref: {
|
|
|
625
577
|
type: StringConstructor;
|
|
626
578
|
default: string;
|
|
627
579
|
};
|
|
628
|
-
modelValue: {
|
|
629
|
-
type: PropType<TCheckboxValueType>;
|
|
630
|
-
default: undefined;
|
|
631
|
-
};
|
|
632
580
|
value: {
|
|
633
581
|
type: PropType<TCheckboxValueType>;
|
|
634
582
|
default: undefined;
|
|
@@ -663,13 +611,12 @@ onChange?: ((...args: any[]) => any) | undefined;
|
|
|
663
611
|
}>, {
|
|
664
612
|
value: TCheckboxValueType;
|
|
665
613
|
size: "" | "small" | "default" | "large";
|
|
614
|
+
vref: string;
|
|
666
615
|
label: TCheckboxValueType;
|
|
667
616
|
disabled: boolean;
|
|
668
|
-
modelValue: TCheckboxValueType;
|
|
669
617
|
visible: boolean;
|
|
670
618
|
border: boolean;
|
|
671
619
|
indeterminate: boolean;
|
|
672
|
-
vref: string;
|
|
673
620
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
674
621
|
|
|
675
622
|
export declare const GvCheckboxButton: DefineComponent<ExtractPropTypes< {
|
|
@@ -677,10 +624,6 @@ vref: {
|
|
|
677
624
|
type: StringConstructor;
|
|
678
625
|
default: string;
|
|
679
626
|
};
|
|
680
|
-
modelValue: {
|
|
681
|
-
type: PropType<TCheckboxButtonValue>;
|
|
682
|
-
default: undefined;
|
|
683
|
-
};
|
|
684
627
|
value: {
|
|
685
628
|
type: PropType<TCheckboxButtonValue>;
|
|
686
629
|
default: undefined;
|
|
@@ -693,6 +636,11 @@ visible: {
|
|
|
693
636
|
type: BooleanConstructor;
|
|
694
637
|
default: boolean;
|
|
695
638
|
};
|
|
639
|
+
indeterminate: {
|
|
640
|
+
type: BooleanConstructor;
|
|
641
|
+
required: false;
|
|
642
|
+
default: boolean;
|
|
643
|
+
};
|
|
696
644
|
label: {
|
|
697
645
|
type: PropType<TCheckboxButtonValue>;
|
|
698
646
|
default: undefined;
|
|
@@ -701,6 +649,11 @@ disabled: {
|
|
|
701
649
|
type: BooleanConstructor;
|
|
702
650
|
default: boolean;
|
|
703
651
|
};
|
|
652
|
+
border: {
|
|
653
|
+
type: BooleanConstructor;
|
|
654
|
+
required: false;
|
|
655
|
+
default: boolean;
|
|
656
|
+
};
|
|
704
657
|
size: {
|
|
705
658
|
type: PropType<"large" | "default" | "small">;
|
|
706
659
|
default: string;
|
|
@@ -710,10 +663,6 @@ vref: {
|
|
|
710
663
|
type: StringConstructor;
|
|
711
664
|
default: string;
|
|
712
665
|
};
|
|
713
|
-
modelValue: {
|
|
714
|
-
type: PropType<TCheckboxButtonValue>;
|
|
715
|
-
default: undefined;
|
|
716
|
-
};
|
|
717
666
|
value: {
|
|
718
667
|
type: PropType<TCheckboxButtonValue>;
|
|
719
668
|
default: undefined;
|
|
@@ -726,6 +675,11 @@ visible: {
|
|
|
726
675
|
type: BooleanConstructor;
|
|
727
676
|
default: boolean;
|
|
728
677
|
};
|
|
678
|
+
indeterminate: {
|
|
679
|
+
type: BooleanConstructor;
|
|
680
|
+
required: false;
|
|
681
|
+
default: boolean;
|
|
682
|
+
};
|
|
729
683
|
label: {
|
|
730
684
|
type: PropType<TCheckboxButtonValue>;
|
|
731
685
|
default: undefined;
|
|
@@ -734,6 +688,11 @@ disabled: {
|
|
|
734
688
|
type: BooleanConstructor;
|
|
735
689
|
default: boolean;
|
|
736
690
|
};
|
|
691
|
+
border: {
|
|
692
|
+
type: BooleanConstructor;
|
|
693
|
+
required: false;
|
|
694
|
+
default: boolean;
|
|
695
|
+
};
|
|
737
696
|
size: {
|
|
738
697
|
type: PropType<"large" | "default" | "small">;
|
|
739
698
|
default: string;
|
|
@@ -745,11 +704,12 @@ onChange?: ((...args: any[]) => any) | undefined;
|
|
|
745
704
|
name: string;
|
|
746
705
|
value: TCheckboxButtonValue;
|
|
747
706
|
size: "small" | "default" | "large";
|
|
707
|
+
vref: string;
|
|
748
708
|
label: TCheckboxButtonValue;
|
|
749
709
|
disabled: boolean;
|
|
750
|
-
modelValue: TCheckboxButtonValue;
|
|
751
710
|
visible: boolean;
|
|
752
|
-
|
|
711
|
+
border: boolean;
|
|
712
|
+
indeterminate: boolean;
|
|
753
713
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
754
714
|
|
|
755
715
|
export declare const GvCheckboxGroup: DefineComponent<ExtractPropTypes< {
|
|
@@ -757,9 +717,10 @@ vref: {
|
|
|
757
717
|
type: StringConstructor;
|
|
758
718
|
default: string;
|
|
759
719
|
};
|
|
760
|
-
|
|
720
|
+
value: {
|
|
761
721
|
type: PropType<TCheckboxGroupType>;
|
|
762
|
-
|
|
722
|
+
required: false;
|
|
723
|
+
default: undefined;
|
|
763
724
|
};
|
|
764
725
|
label: {
|
|
765
726
|
type: StringConstructor;
|
|
@@ -786,9 +747,10 @@ vref: {
|
|
|
786
747
|
type: StringConstructor;
|
|
787
748
|
default: string;
|
|
788
749
|
};
|
|
789
|
-
|
|
750
|
+
value: {
|
|
790
751
|
type: PropType<TCheckboxGroupType>;
|
|
791
|
-
|
|
752
|
+
required: false;
|
|
753
|
+
default: undefined;
|
|
792
754
|
};
|
|
793
755
|
label: {
|
|
794
756
|
type: StringConstructor;
|
|
@@ -814,12 +776,12 @@ default: boolean;
|
|
|
814
776
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
815
777
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
816
778
|
}>, {
|
|
779
|
+
value: TCheckboxGroupType;
|
|
817
780
|
size: "small" | "default" | "large";
|
|
781
|
+
vref: string;
|
|
782
|
+
max: number;
|
|
818
783
|
label: string;
|
|
819
784
|
disabled: boolean;
|
|
820
|
-
modelValue: TCheckboxGroupType;
|
|
821
|
-
max: number;
|
|
822
|
-
vref: string;
|
|
823
785
|
min: number;
|
|
824
786
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
825
787
|
|
|
@@ -898,8 +860,8 @@ type: BooleanConstructor;
|
|
|
898
860
|
default: boolean;
|
|
899
861
|
};
|
|
900
862
|
}>> & Readonly<{}>, {
|
|
901
|
-
span: number;
|
|
902
863
|
offset: number;
|
|
864
|
+
span: number;
|
|
903
865
|
tag: string;
|
|
904
866
|
visible: boolean;
|
|
905
867
|
xs: number | undefined;
|
|
@@ -1057,12 +1019,12 @@ default: boolean;
|
|
|
1057
1019
|
type: string;
|
|
1058
1020
|
placeholder: string;
|
|
1059
1021
|
size: TDatePickerSize;
|
|
1022
|
+
vref: string;
|
|
1060
1023
|
disabled: boolean;
|
|
1061
1024
|
unlink: boolean;
|
|
1062
1025
|
modelValue: TDatePickerType;
|
|
1063
1026
|
clearable: boolean;
|
|
1064
1027
|
editable: boolean;
|
|
1065
|
-
vref: string;
|
|
1066
1028
|
format: string;
|
|
1067
1029
|
valueFormat: string;
|
|
1068
1030
|
defaultTime: Date[];
|
|
@@ -1073,6 +1035,150 @@ default: boolean;
|
|
|
1073
1035
|
disabledDate: (date: Date) => boolean;
|
|
1074
1036
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1075
1037
|
|
|
1038
|
+
export declare const GvDialog: DefineComponent<ExtractPropTypes< {
|
|
1039
|
+
visible: {
|
|
1040
|
+
type: BooleanConstructor;
|
|
1041
|
+
required: false;
|
|
1042
|
+
default: boolean;
|
|
1043
|
+
};
|
|
1044
|
+
title: {
|
|
1045
|
+
type: StringConstructor;
|
|
1046
|
+
required: false;
|
|
1047
|
+
default: string;
|
|
1048
|
+
};
|
|
1049
|
+
hasFooter: {
|
|
1050
|
+
type: BooleanConstructor;
|
|
1051
|
+
required: false;
|
|
1052
|
+
default: boolean;
|
|
1053
|
+
};
|
|
1054
|
+
width: {
|
|
1055
|
+
type: StringConstructor;
|
|
1056
|
+
required: false;
|
|
1057
|
+
default: string;
|
|
1058
|
+
};
|
|
1059
|
+
height: {
|
|
1060
|
+
type: StringConstructor;
|
|
1061
|
+
required: false;
|
|
1062
|
+
default: undefined;
|
|
1063
|
+
};
|
|
1064
|
+
nest: {
|
|
1065
|
+
type: BooleanConstructor;
|
|
1066
|
+
required: false;
|
|
1067
|
+
default: boolean;
|
|
1068
|
+
};
|
|
1069
|
+
appendToBody: {
|
|
1070
|
+
type: BooleanConstructor;
|
|
1071
|
+
required: false;
|
|
1072
|
+
default: boolean;
|
|
1073
|
+
};
|
|
1074
|
+
fullscreen: {
|
|
1075
|
+
type: BooleanConstructor;
|
|
1076
|
+
required: false;
|
|
1077
|
+
default: boolean;
|
|
1078
|
+
};
|
|
1079
|
+
maxHeight: {
|
|
1080
|
+
type: StringConstructor;
|
|
1081
|
+
required: false;
|
|
1082
|
+
default: undefined;
|
|
1083
|
+
};
|
|
1084
|
+
closeOnClickModal: {
|
|
1085
|
+
type: BooleanConstructor;
|
|
1086
|
+
required: false;
|
|
1087
|
+
default: boolean;
|
|
1088
|
+
};
|
|
1089
|
+
closeOnPressEscape: {
|
|
1090
|
+
type: BooleanConstructor;
|
|
1091
|
+
required: false;
|
|
1092
|
+
default: boolean;
|
|
1093
|
+
};
|
|
1094
|
+
dialogClass: {
|
|
1095
|
+
type: StringConstructor;
|
|
1096
|
+
required: false;
|
|
1097
|
+
default: undefined;
|
|
1098
|
+
};
|
|
1099
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "close" | "open" | "closed" | "opened" | "update:visible")[], "cancel" | "close" | "open" | "closed" | "opened" | "update:visible", PublicProps, Readonly<ExtractPropTypes< {
|
|
1100
|
+
visible: {
|
|
1101
|
+
type: BooleanConstructor;
|
|
1102
|
+
required: false;
|
|
1103
|
+
default: boolean;
|
|
1104
|
+
};
|
|
1105
|
+
title: {
|
|
1106
|
+
type: StringConstructor;
|
|
1107
|
+
required: false;
|
|
1108
|
+
default: string;
|
|
1109
|
+
};
|
|
1110
|
+
hasFooter: {
|
|
1111
|
+
type: BooleanConstructor;
|
|
1112
|
+
required: false;
|
|
1113
|
+
default: boolean;
|
|
1114
|
+
};
|
|
1115
|
+
width: {
|
|
1116
|
+
type: StringConstructor;
|
|
1117
|
+
required: false;
|
|
1118
|
+
default: string;
|
|
1119
|
+
};
|
|
1120
|
+
height: {
|
|
1121
|
+
type: StringConstructor;
|
|
1122
|
+
required: false;
|
|
1123
|
+
default: undefined;
|
|
1124
|
+
};
|
|
1125
|
+
nest: {
|
|
1126
|
+
type: BooleanConstructor;
|
|
1127
|
+
required: false;
|
|
1128
|
+
default: boolean;
|
|
1129
|
+
};
|
|
1130
|
+
appendToBody: {
|
|
1131
|
+
type: BooleanConstructor;
|
|
1132
|
+
required: false;
|
|
1133
|
+
default: boolean;
|
|
1134
|
+
};
|
|
1135
|
+
fullscreen: {
|
|
1136
|
+
type: BooleanConstructor;
|
|
1137
|
+
required: false;
|
|
1138
|
+
default: boolean;
|
|
1139
|
+
};
|
|
1140
|
+
maxHeight: {
|
|
1141
|
+
type: StringConstructor;
|
|
1142
|
+
required: false;
|
|
1143
|
+
default: undefined;
|
|
1144
|
+
};
|
|
1145
|
+
closeOnClickModal: {
|
|
1146
|
+
type: BooleanConstructor;
|
|
1147
|
+
required: false;
|
|
1148
|
+
default: boolean;
|
|
1149
|
+
};
|
|
1150
|
+
closeOnPressEscape: {
|
|
1151
|
+
type: BooleanConstructor;
|
|
1152
|
+
required: false;
|
|
1153
|
+
default: boolean;
|
|
1154
|
+
};
|
|
1155
|
+
dialogClass: {
|
|
1156
|
+
type: StringConstructor;
|
|
1157
|
+
required: false;
|
|
1158
|
+
default: undefined;
|
|
1159
|
+
};
|
|
1160
|
+
}>> & Readonly<{
|
|
1161
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
1162
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1163
|
+
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1164
|
+
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1165
|
+
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1166
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1167
|
+
}>, {
|
|
1168
|
+
title: string;
|
|
1169
|
+
maxHeight: string;
|
|
1170
|
+
visible: boolean;
|
|
1171
|
+
height: string;
|
|
1172
|
+
fullscreen: boolean;
|
|
1173
|
+
appendToBody: boolean;
|
|
1174
|
+
closeOnClickModal: boolean;
|
|
1175
|
+
closeOnPressEscape: boolean;
|
|
1176
|
+
width: string;
|
|
1177
|
+
hasFooter: boolean;
|
|
1178
|
+
nest: boolean;
|
|
1179
|
+
dialogClass: string;
|
|
1180
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1181
|
+
|
|
1076
1182
|
export declare const GvDivider: DefineComponent<ExtractPropTypes< {
|
|
1077
1183
|
label: {
|
|
1078
1184
|
type: StringConstructor;
|
|
@@ -1124,6 +1230,69 @@ position: string;
|
|
|
1124
1230
|
direction: DividerDirection;
|
|
1125
1231
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1126
1232
|
|
|
1233
|
+
export declare const GvDrawer: DefineComponent<ExtractPropTypes< {
|
|
1234
|
+
visible: {
|
|
1235
|
+
type: BooleanConstructor;
|
|
1236
|
+
required: false;
|
|
1237
|
+
default: boolean;
|
|
1238
|
+
};
|
|
1239
|
+
title: {
|
|
1240
|
+
type: StringConstructor;
|
|
1241
|
+
required: false;
|
|
1242
|
+
default: string;
|
|
1243
|
+
};
|
|
1244
|
+
direction: {
|
|
1245
|
+
type: PropType<"rtl" | "ltr" | "ttb" | "btt">;
|
|
1246
|
+
required: false;
|
|
1247
|
+
default: string;
|
|
1248
|
+
};
|
|
1249
|
+
size: {
|
|
1250
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1251
|
+
required: false;
|
|
1252
|
+
default: string;
|
|
1253
|
+
};
|
|
1254
|
+
paddingHeight: {
|
|
1255
|
+
type: NumberConstructor[];
|
|
1256
|
+
required: false;
|
|
1257
|
+
default: number;
|
|
1258
|
+
};
|
|
1259
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("cancel" | "update:visible")[], "cancel" | "update:visible", PublicProps, Readonly<ExtractPropTypes< {
|
|
1260
|
+
visible: {
|
|
1261
|
+
type: BooleanConstructor;
|
|
1262
|
+
required: false;
|
|
1263
|
+
default: boolean;
|
|
1264
|
+
};
|
|
1265
|
+
title: {
|
|
1266
|
+
type: StringConstructor;
|
|
1267
|
+
required: false;
|
|
1268
|
+
default: string;
|
|
1269
|
+
};
|
|
1270
|
+
direction: {
|
|
1271
|
+
type: PropType<"rtl" | "ltr" | "ttb" | "btt">;
|
|
1272
|
+
required: false;
|
|
1273
|
+
default: string;
|
|
1274
|
+
};
|
|
1275
|
+
size: {
|
|
1276
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
1277
|
+
required: false;
|
|
1278
|
+
default: string;
|
|
1279
|
+
};
|
|
1280
|
+
paddingHeight: {
|
|
1281
|
+
type: NumberConstructor[];
|
|
1282
|
+
required: false;
|
|
1283
|
+
default: number;
|
|
1284
|
+
};
|
|
1285
|
+
}>> & Readonly<{
|
|
1286
|
+
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
1287
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
1288
|
+
}>, {
|
|
1289
|
+
size: string | number;
|
|
1290
|
+
title: string;
|
|
1291
|
+
visible: boolean;
|
|
1292
|
+
direction: "ltr" | "rtl" | "ttb" | "btt";
|
|
1293
|
+
paddingHeight: number;
|
|
1294
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1295
|
+
|
|
1127
1296
|
export declare const GvExpandMenu: DefineComponent<ExtractPropTypes< {
|
|
1128
1297
|
collapse: VueTypeValidableDef<boolean, ValidatorFunction<boolean>> & {
|
|
1129
1298
|
default: boolean;
|
|
@@ -1152,7 +1321,7 @@ required: false;
|
|
|
1152
1321
|
default: boolean;
|
|
1153
1322
|
};
|
|
1154
1323
|
formList: {
|
|
1155
|
-
type:
|
|
1324
|
+
type: PropType<FormItem[]>;
|
|
1156
1325
|
required: true;
|
|
1157
1326
|
default: () => never[];
|
|
1158
1327
|
};
|
|
@@ -1191,7 +1360,7 @@ required: false;
|
|
|
1191
1360
|
default: boolean;
|
|
1192
1361
|
};
|
|
1193
1362
|
formList: {
|
|
1194
|
-
type:
|
|
1363
|
+
type: PropType<FormItem[]>;
|
|
1195
1364
|
required: true;
|
|
1196
1365
|
default: () => never[];
|
|
1197
1366
|
};
|
|
@@ -1219,7 +1388,7 @@ size: "" | "small" | "default" | "large";
|
|
|
1219
1388
|
labelWidth: string | number;
|
|
1220
1389
|
divider: string;
|
|
1221
1390
|
isDivider: boolean;
|
|
1222
|
-
formList:
|
|
1391
|
+
formList: FormItem[];
|
|
1223
1392
|
formStyle: Record<string, any>;
|
|
1224
1393
|
scroller: boolean;
|
|
1225
1394
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1254,8 +1423,8 @@ name: {
|
|
|
1254
1423
|
type: StringConstructor;
|
|
1255
1424
|
default: undefined;
|
|
1256
1425
|
};
|
|
1257
|
-
|
|
1258
|
-
type: PropType<string | number>;
|
|
1426
|
+
value: {
|
|
1427
|
+
type: PropType<string | number | undefined>;
|
|
1259
1428
|
default: string;
|
|
1260
1429
|
};
|
|
1261
1430
|
placeholder: {
|
|
@@ -1331,8 +1500,8 @@ name: {
|
|
|
1331
1500
|
type: StringConstructor;
|
|
1332
1501
|
default: undefined;
|
|
1333
1502
|
};
|
|
1334
|
-
|
|
1335
|
-
type: PropType<string | number>;
|
|
1503
|
+
value: {
|
|
1504
|
+
type: PropType<string | number | undefined>;
|
|
1336
1505
|
default: string;
|
|
1337
1506
|
};
|
|
1338
1507
|
placeholder: {
|
|
@@ -1408,11 +1577,12 @@ onInput?: ((...args: any[]) => any) | undefined;
|
|
|
1408
1577
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
1409
1578
|
}>, {
|
|
1410
1579
|
name: string;
|
|
1580
|
+
value: string | number | undefined;
|
|
1411
1581
|
type: InputType;
|
|
1412
1582
|
placeholder: string;
|
|
1413
1583
|
size: "" | "small" | "default" | "large";
|
|
1584
|
+
vref: string;
|
|
1414
1585
|
disabled: boolean;
|
|
1415
|
-
modelValue: string | number;
|
|
1416
1586
|
clearable: boolean;
|
|
1417
1587
|
suffixIcon: string;
|
|
1418
1588
|
visible: boolean;
|
|
@@ -1424,7 +1594,6 @@ showWordLimit: boolean;
|
|
|
1424
1594
|
prefixIcon: string;
|
|
1425
1595
|
rows: number;
|
|
1426
1596
|
bizType: "tableedit";
|
|
1427
|
-
vref: string;
|
|
1428
1597
|
columnProp: string;
|
|
1429
1598
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1430
1599
|
|
|
@@ -1564,13 +1733,13 @@ name: string;
|
|
|
1564
1733
|
value: number;
|
|
1565
1734
|
placeholder: string;
|
|
1566
1735
|
size: "" | "small" | "default" | "large";
|
|
1736
|
+
vref: string;
|
|
1737
|
+
max: number;
|
|
1567
1738
|
position: string;
|
|
1568
1739
|
disabled: boolean;
|
|
1569
1740
|
visible: boolean;
|
|
1570
1741
|
step: number;
|
|
1571
|
-
max: number;
|
|
1572
1742
|
bizType: string;
|
|
1573
|
-
vref: string;
|
|
1574
1743
|
min: number;
|
|
1575
1744
|
columnProp: string;
|
|
1576
1745
|
stepStrictly: boolean;
|
|
@@ -1688,12 +1857,12 @@ default: undefined;
|
|
|
1688
1857
|
onShow?: ((...args: any[]) => any) | undefined;
|
|
1689
1858
|
onHide?: ((...args: any[]) => any) | undefined;
|
|
1690
1859
|
}>, {
|
|
1860
|
+
vref: string;
|
|
1691
1861
|
label: string;
|
|
1692
1862
|
title: string;
|
|
1693
1863
|
placement: TPopoverPlacement;
|
|
1694
1864
|
trigger: TPopoverTrigger;
|
|
1695
1865
|
visible: boolean;
|
|
1696
|
-
vref: string;
|
|
1697
1866
|
columnProp: string;
|
|
1698
1867
|
tablePopover: boolean;
|
|
1699
1868
|
columnType: string;
|
|
@@ -1712,7 +1881,7 @@ size: {
|
|
|
1712
1881
|
type: PropType<ComponentSize>;
|
|
1713
1882
|
default: string;
|
|
1714
1883
|
};
|
|
1715
|
-
|
|
1884
|
+
value: {
|
|
1716
1885
|
type: PropType<TRadioValue>;
|
|
1717
1886
|
default: undefined;
|
|
1718
1887
|
};
|
|
@@ -1720,10 +1889,6 @@ label: {
|
|
|
1720
1889
|
type: PropType<TRadioValue>;
|
|
1721
1890
|
default: undefined;
|
|
1722
1891
|
};
|
|
1723
|
-
value: {
|
|
1724
|
-
type: PropType<TRadioValue>;
|
|
1725
|
-
default: undefined;
|
|
1726
|
-
};
|
|
1727
1892
|
disabled: {
|
|
1728
1893
|
type: BooleanConstructor;
|
|
1729
1894
|
default: boolean;
|
|
@@ -1745,7 +1910,7 @@ size: {
|
|
|
1745
1910
|
type: PropType<ComponentSize>;
|
|
1746
1911
|
default: string;
|
|
1747
1912
|
};
|
|
1748
|
-
|
|
1913
|
+
value: {
|
|
1749
1914
|
type: PropType<TRadioValue>;
|
|
1750
1915
|
default: undefined;
|
|
1751
1916
|
};
|
|
@@ -1753,10 +1918,6 @@ label: {
|
|
|
1753
1918
|
type: PropType<TRadioValue>;
|
|
1754
1919
|
default: undefined;
|
|
1755
1920
|
};
|
|
1756
|
-
value: {
|
|
1757
|
-
type: PropType<TRadioValue>;
|
|
1758
|
-
default: undefined;
|
|
1759
|
-
};
|
|
1760
1921
|
disabled: {
|
|
1761
1922
|
type: BooleanConstructor;
|
|
1762
1923
|
default: boolean;
|
|
@@ -1772,11 +1933,10 @@ onChange?: ((...args: any[]) => any) | undefined;
|
|
|
1772
1933
|
name: string;
|
|
1773
1934
|
value: TRadioValue;
|
|
1774
1935
|
size: "" | "small" | "default" | "large";
|
|
1936
|
+
vref: string;
|
|
1775
1937
|
label: TRadioValue;
|
|
1776
1938
|
disabled: boolean;
|
|
1777
|
-
modelValue: TRadioValue;
|
|
1778
1939
|
border: boolean;
|
|
1779
|
-
vref: string;
|
|
1780
1940
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1781
1941
|
|
|
1782
1942
|
export declare const GvRadioButton: DefineComponent<ExtractPropTypes< {
|
|
@@ -1785,7 +1945,7 @@ type: StringConstructor;
|
|
|
1785
1945
|
default: string;
|
|
1786
1946
|
};
|
|
1787
1947
|
value: {
|
|
1788
|
-
type:
|
|
1948
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
1789
1949
|
default: undefined;
|
|
1790
1950
|
};
|
|
1791
1951
|
label: {
|
|
@@ -1800,13 +1960,13 @@ disabled: {
|
|
|
1800
1960
|
type: BooleanConstructor;
|
|
1801
1961
|
default: boolean;
|
|
1802
1962
|
};
|
|
1803
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin,
|
|
1963
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", PublicProps, Readonly<ExtractPropTypes< {
|
|
1804
1964
|
vref: {
|
|
1805
1965
|
type: StringConstructor;
|
|
1806
1966
|
default: string;
|
|
1807
1967
|
};
|
|
1808
1968
|
value: {
|
|
1809
|
-
type:
|
|
1969
|
+
type: (BooleanConstructor | StringConstructor | NumberConstructor)[];
|
|
1810
1970
|
default: undefined;
|
|
1811
1971
|
};
|
|
1812
1972
|
label: {
|
|
@@ -1821,12 +1981,15 @@ disabled: {
|
|
|
1821
1981
|
type: BooleanConstructor;
|
|
1822
1982
|
default: boolean;
|
|
1823
1983
|
};
|
|
1824
|
-
}>> & Readonly<{
|
|
1984
|
+
}>> & Readonly<{
|
|
1985
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
1986
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1987
|
+
}>, {
|
|
1825
1988
|
name: string;
|
|
1826
|
-
value:
|
|
1989
|
+
value: string | number | boolean;
|
|
1990
|
+
vref: string;
|
|
1827
1991
|
label: string;
|
|
1828
1992
|
disabled: boolean;
|
|
1829
|
-
vref: string;
|
|
1830
1993
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1831
1994
|
|
|
1832
1995
|
export declare const GvRadioGroup: DefineComponent<ExtractPropTypes< {
|
|
@@ -1834,7 +1997,7 @@ vref: {
|
|
|
1834
1997
|
type: StringConstructor;
|
|
1835
1998
|
default: string;
|
|
1836
1999
|
};
|
|
1837
|
-
|
|
2000
|
+
value: {
|
|
1838
2001
|
type: PropType<TRadioGroupValue>;
|
|
1839
2002
|
default: undefined;
|
|
1840
2003
|
};
|
|
@@ -1851,7 +2014,7 @@ vref: {
|
|
|
1851
2014
|
type: StringConstructor;
|
|
1852
2015
|
default: string;
|
|
1853
2016
|
};
|
|
1854
|
-
|
|
2017
|
+
value: {
|
|
1855
2018
|
type: PropType<TRadioGroupValue>;
|
|
1856
2019
|
default: undefined;
|
|
1857
2020
|
};
|
|
@@ -1867,10 +2030,10 @@ default: undefined;
|
|
|
1867
2030
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1868
2031
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1869
2032
|
}>, {
|
|
2033
|
+
value: TRadioGroupValue;
|
|
1870
2034
|
size: "" | "small" | "default" | "large";
|
|
1871
|
-
label: string;
|
|
1872
|
-
modelValue: TRadioGroupValue;
|
|
1873
2035
|
vref: string;
|
|
2036
|
+
label: string;
|
|
1874
2037
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
1875
2038
|
|
|
1876
2039
|
export declare const GvRow: DefineComponent<ExtractPropTypes< {
|
|
@@ -2117,6 +2280,7 @@ value: string | number | boolean | unknown[] | Record<string, unknown>;
|
|
|
2117
2280
|
placeholder: string;
|
|
2118
2281
|
clear: Function;
|
|
2119
2282
|
size: "" | "small" | "default" | "large";
|
|
2283
|
+
vref: string;
|
|
2120
2284
|
label: string;
|
|
2121
2285
|
disabled: boolean;
|
|
2122
2286
|
multiple: boolean;
|
|
@@ -2128,7 +2292,6 @@ bizType: string;
|
|
|
2128
2292
|
cb: Function;
|
|
2129
2293
|
filtercode: string;
|
|
2130
2294
|
showLabel: string | unknown[];
|
|
2131
|
-
vref: string;
|
|
2132
2295
|
columnProp: string;
|
|
2133
2296
|
dicRemote: Function;
|
|
2134
2297
|
isreload: boolean;
|
|
@@ -2172,7 +2335,7 @@ type: PropType<number | string>;
|
|
|
2172
2335
|
require: boolean;
|
|
2173
2336
|
default: string;
|
|
2174
2337
|
};
|
|
2175
|
-
}>, JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", PublicProps, Readonly<ExtractPropTypes< {
|
|
2338
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "change"[], "change", PublicProps, Readonly<ExtractPropTypes< {
|
|
2176
2339
|
value: {
|
|
2177
2340
|
type: PropType<boolean | number | string>;
|
|
2178
2341
|
required: false;
|
|
@@ -2202,6 +2365,466 @@ disabled: boolean;
|
|
|
2202
2365
|
columnKey: string;
|
|
2203
2366
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2204
2367
|
|
|
2368
|
+
export declare const GvTable: DefineComponent<ExtractPropTypes< {
|
|
2369
|
+
refTable: {
|
|
2370
|
+
type: StringConstructor;
|
|
2371
|
+
required: false;
|
|
2372
|
+
default: undefined;
|
|
2373
|
+
};
|
|
2374
|
+
tableHead: {
|
|
2375
|
+
type: PropType<TableHeadItem[]>;
|
|
2376
|
+
required: true;
|
|
2377
|
+
default: () => never[];
|
|
2378
|
+
};
|
|
2379
|
+
tableData: {
|
|
2380
|
+
type: PropType<Recordable<any>>;
|
|
2381
|
+
required: false;
|
|
2382
|
+
default: () => void;
|
|
2383
|
+
};
|
|
2384
|
+
height: {
|
|
2385
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2386
|
+
required: false;
|
|
2387
|
+
default: undefined;
|
|
2388
|
+
};
|
|
2389
|
+
maxHeight: {
|
|
2390
|
+
type: PropType<number | string | undefined>;
|
|
2391
|
+
required: false;
|
|
2392
|
+
default: undefined;
|
|
2393
|
+
};
|
|
2394
|
+
maxWidth: {
|
|
2395
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2396
|
+
required: false;
|
|
2397
|
+
default: undefined;
|
|
2398
|
+
};
|
|
2399
|
+
visible: {
|
|
2400
|
+
type: BooleanConstructor;
|
|
2401
|
+
required: false;
|
|
2402
|
+
default: boolean;
|
|
2403
|
+
};
|
|
2404
|
+
pageSize: {
|
|
2405
|
+
type: NumberConstructor;
|
|
2406
|
+
required: false;
|
|
2407
|
+
default: number;
|
|
2408
|
+
};
|
|
2409
|
+
rowClassName: {
|
|
2410
|
+
type: FunctionConstructor;
|
|
2411
|
+
required: false;
|
|
2412
|
+
default: () => void;
|
|
2413
|
+
};
|
|
2414
|
+
rowStyle: {
|
|
2415
|
+
type: FunctionConstructor;
|
|
2416
|
+
required: false;
|
|
2417
|
+
default: () => void;
|
|
2418
|
+
};
|
|
2419
|
+
spanMethod: {
|
|
2420
|
+
type: FunctionConstructor;
|
|
2421
|
+
required: false;
|
|
2422
|
+
default: () => void;
|
|
2423
|
+
};
|
|
2424
|
+
cellStyle: {
|
|
2425
|
+
type: FunctionConstructor;
|
|
2426
|
+
required: false;
|
|
2427
|
+
default: () => void;
|
|
2428
|
+
};
|
|
2429
|
+
tableType: {
|
|
2430
|
+
type: StringConstructor;
|
|
2431
|
+
required: false;
|
|
2432
|
+
default: undefined;
|
|
2433
|
+
};
|
|
2434
|
+
tableSort: {
|
|
2435
|
+
type: BooleanConstructor;
|
|
2436
|
+
required: false;
|
|
2437
|
+
default: undefined;
|
|
2438
|
+
};
|
|
2439
|
+
tableKit: {
|
|
2440
|
+
type: BooleanConstructor;
|
|
2441
|
+
required: false;
|
|
2442
|
+
default: undefined;
|
|
2443
|
+
};
|
|
2444
|
+
tableBar: {
|
|
2445
|
+
type: BooleanConstructor;
|
|
2446
|
+
required: false;
|
|
2447
|
+
default: boolean;
|
|
2448
|
+
};
|
|
2449
|
+
border: {
|
|
2450
|
+
type: BooleanConstructor;
|
|
2451
|
+
required: false;
|
|
2452
|
+
default: boolean;
|
|
2453
|
+
};
|
|
2454
|
+
tableFetch: {
|
|
2455
|
+
type: FunctionConstructor;
|
|
2456
|
+
required: false;
|
|
2457
|
+
default: () => void;
|
|
2458
|
+
};
|
|
2459
|
+
multi: {
|
|
2460
|
+
type: BooleanConstructor;
|
|
2461
|
+
required: false;
|
|
2462
|
+
default: boolean;
|
|
2463
|
+
};
|
|
2464
|
+
layout: {
|
|
2465
|
+
type: StringConstructor;
|
|
2466
|
+
required: false;
|
|
2467
|
+
default: string;
|
|
2468
|
+
};
|
|
2469
|
+
isShowPage: {
|
|
2470
|
+
type: BooleanConstructor;
|
|
2471
|
+
required: false;
|
|
2472
|
+
default: boolean;
|
|
2473
|
+
};
|
|
2474
|
+
total: {
|
|
2475
|
+
type: BooleanConstructor;
|
|
2476
|
+
required: false;
|
|
2477
|
+
default: boolean;
|
|
2478
|
+
};
|
|
2479
|
+
tableInit: {
|
|
2480
|
+
type: BooleanConstructor;
|
|
2481
|
+
required: false;
|
|
2482
|
+
default: boolean;
|
|
2483
|
+
};
|
|
2484
|
+
beforeImport: {
|
|
2485
|
+
type: FunctionConstructor;
|
|
2486
|
+
required: false;
|
|
2487
|
+
default: undefined;
|
|
2488
|
+
};
|
|
2489
|
+
tableFilter: {
|
|
2490
|
+
type: ObjectConstructor;
|
|
2491
|
+
required: false;
|
|
2492
|
+
default: undefined;
|
|
2493
|
+
};
|
|
2494
|
+
tableCb: {
|
|
2495
|
+
type: FunctionConstructor;
|
|
2496
|
+
required: false;
|
|
2497
|
+
default: undefined;
|
|
2498
|
+
};
|
|
2499
|
+
expandRowKeys: {
|
|
2500
|
+
type: ArrayConstructor;
|
|
2501
|
+
required: false;
|
|
2502
|
+
default: undefined;
|
|
2503
|
+
};
|
|
2504
|
+
limitHeight: {
|
|
2505
|
+
type: BooleanConstructor;
|
|
2506
|
+
required: false;
|
|
2507
|
+
default: boolean;
|
|
2508
|
+
};
|
|
2509
|
+
tableAction: {
|
|
2510
|
+
type: StringConstructor;
|
|
2511
|
+
required: false;
|
|
2512
|
+
default: string;
|
|
2513
|
+
};
|
|
2514
|
+
tableActionIcon: {
|
|
2515
|
+
type: BooleanConstructor;
|
|
2516
|
+
required: false;
|
|
2517
|
+
default: boolean;
|
|
2518
|
+
};
|
|
2519
|
+
}>, () => JSX.Element | null, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
2520
|
+
refTable: {
|
|
2521
|
+
type: StringConstructor;
|
|
2522
|
+
required: false;
|
|
2523
|
+
default: undefined;
|
|
2524
|
+
};
|
|
2525
|
+
tableHead: {
|
|
2526
|
+
type: PropType<TableHeadItem[]>;
|
|
2527
|
+
required: true;
|
|
2528
|
+
default: () => never[];
|
|
2529
|
+
};
|
|
2530
|
+
tableData: {
|
|
2531
|
+
type: PropType<Recordable<any>>;
|
|
2532
|
+
required: false;
|
|
2533
|
+
default: () => void;
|
|
2534
|
+
};
|
|
2535
|
+
height: {
|
|
2536
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2537
|
+
required: false;
|
|
2538
|
+
default: undefined;
|
|
2539
|
+
};
|
|
2540
|
+
maxHeight: {
|
|
2541
|
+
type: PropType<number | string | undefined>;
|
|
2542
|
+
required: false;
|
|
2543
|
+
default: undefined;
|
|
2544
|
+
};
|
|
2545
|
+
maxWidth: {
|
|
2546
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2547
|
+
required: false;
|
|
2548
|
+
default: undefined;
|
|
2549
|
+
};
|
|
2550
|
+
visible: {
|
|
2551
|
+
type: BooleanConstructor;
|
|
2552
|
+
required: false;
|
|
2553
|
+
default: boolean;
|
|
2554
|
+
};
|
|
2555
|
+
pageSize: {
|
|
2556
|
+
type: NumberConstructor;
|
|
2557
|
+
required: false;
|
|
2558
|
+
default: number;
|
|
2559
|
+
};
|
|
2560
|
+
rowClassName: {
|
|
2561
|
+
type: FunctionConstructor;
|
|
2562
|
+
required: false;
|
|
2563
|
+
default: () => void;
|
|
2564
|
+
};
|
|
2565
|
+
rowStyle: {
|
|
2566
|
+
type: FunctionConstructor;
|
|
2567
|
+
required: false;
|
|
2568
|
+
default: () => void;
|
|
2569
|
+
};
|
|
2570
|
+
spanMethod: {
|
|
2571
|
+
type: FunctionConstructor;
|
|
2572
|
+
required: false;
|
|
2573
|
+
default: () => void;
|
|
2574
|
+
};
|
|
2575
|
+
cellStyle: {
|
|
2576
|
+
type: FunctionConstructor;
|
|
2577
|
+
required: false;
|
|
2578
|
+
default: () => void;
|
|
2579
|
+
};
|
|
2580
|
+
tableType: {
|
|
2581
|
+
type: StringConstructor;
|
|
2582
|
+
required: false;
|
|
2583
|
+
default: undefined;
|
|
2584
|
+
};
|
|
2585
|
+
tableSort: {
|
|
2586
|
+
type: BooleanConstructor;
|
|
2587
|
+
required: false;
|
|
2588
|
+
default: undefined;
|
|
2589
|
+
};
|
|
2590
|
+
tableKit: {
|
|
2591
|
+
type: BooleanConstructor;
|
|
2592
|
+
required: false;
|
|
2593
|
+
default: undefined;
|
|
2594
|
+
};
|
|
2595
|
+
tableBar: {
|
|
2596
|
+
type: BooleanConstructor;
|
|
2597
|
+
required: false;
|
|
2598
|
+
default: boolean;
|
|
2599
|
+
};
|
|
2600
|
+
border: {
|
|
2601
|
+
type: BooleanConstructor;
|
|
2602
|
+
required: false;
|
|
2603
|
+
default: boolean;
|
|
2604
|
+
};
|
|
2605
|
+
tableFetch: {
|
|
2606
|
+
type: FunctionConstructor;
|
|
2607
|
+
required: false;
|
|
2608
|
+
default: () => void;
|
|
2609
|
+
};
|
|
2610
|
+
multi: {
|
|
2611
|
+
type: BooleanConstructor;
|
|
2612
|
+
required: false;
|
|
2613
|
+
default: boolean;
|
|
2614
|
+
};
|
|
2615
|
+
layout: {
|
|
2616
|
+
type: StringConstructor;
|
|
2617
|
+
required: false;
|
|
2618
|
+
default: string;
|
|
2619
|
+
};
|
|
2620
|
+
isShowPage: {
|
|
2621
|
+
type: BooleanConstructor;
|
|
2622
|
+
required: false;
|
|
2623
|
+
default: boolean;
|
|
2624
|
+
};
|
|
2625
|
+
total: {
|
|
2626
|
+
type: BooleanConstructor;
|
|
2627
|
+
required: false;
|
|
2628
|
+
default: boolean;
|
|
2629
|
+
};
|
|
2630
|
+
tableInit: {
|
|
2631
|
+
type: BooleanConstructor;
|
|
2632
|
+
required: false;
|
|
2633
|
+
default: boolean;
|
|
2634
|
+
};
|
|
2635
|
+
beforeImport: {
|
|
2636
|
+
type: FunctionConstructor;
|
|
2637
|
+
required: false;
|
|
2638
|
+
default: undefined;
|
|
2639
|
+
};
|
|
2640
|
+
tableFilter: {
|
|
2641
|
+
type: ObjectConstructor;
|
|
2642
|
+
required: false;
|
|
2643
|
+
default: undefined;
|
|
2644
|
+
};
|
|
2645
|
+
tableCb: {
|
|
2646
|
+
type: FunctionConstructor;
|
|
2647
|
+
required: false;
|
|
2648
|
+
default: undefined;
|
|
2649
|
+
};
|
|
2650
|
+
expandRowKeys: {
|
|
2651
|
+
type: ArrayConstructor;
|
|
2652
|
+
required: false;
|
|
2653
|
+
default: undefined;
|
|
2654
|
+
};
|
|
2655
|
+
limitHeight: {
|
|
2656
|
+
type: BooleanConstructor;
|
|
2657
|
+
required: false;
|
|
2658
|
+
default: boolean;
|
|
2659
|
+
};
|
|
2660
|
+
tableAction: {
|
|
2661
|
+
type: StringConstructor;
|
|
2662
|
+
required: false;
|
|
2663
|
+
default: string;
|
|
2664
|
+
};
|
|
2665
|
+
tableActionIcon: {
|
|
2666
|
+
type: BooleanConstructor;
|
|
2667
|
+
required: false;
|
|
2668
|
+
default: boolean;
|
|
2669
|
+
};
|
|
2670
|
+
}>> & Readonly<{}>, {
|
|
2671
|
+
maxHeight: string | number | undefined;
|
|
2672
|
+
layout: string;
|
|
2673
|
+
tableAction: string;
|
|
2674
|
+
tableActionIcon: boolean;
|
|
2675
|
+
tableBar: boolean;
|
|
2676
|
+
visible: boolean;
|
|
2677
|
+
height: string | number;
|
|
2678
|
+
border: boolean;
|
|
2679
|
+
rowClassName: Function;
|
|
2680
|
+
rowStyle: Function;
|
|
2681
|
+
cellStyle: Function;
|
|
2682
|
+
expandRowKeys: unknown[];
|
|
2683
|
+
spanMethod: Function;
|
|
2684
|
+
pageSize: number;
|
|
2685
|
+
refTable: string;
|
|
2686
|
+
tableHead: TableHeadItem[];
|
|
2687
|
+
tableData: Recordable<any>;
|
|
2688
|
+
maxWidth: string | number;
|
|
2689
|
+
tableType: string;
|
|
2690
|
+
tableSort: boolean;
|
|
2691
|
+
tableKit: boolean;
|
|
2692
|
+
tableFetch: Function;
|
|
2693
|
+
multi: boolean;
|
|
2694
|
+
isShowPage: boolean;
|
|
2695
|
+
total: boolean;
|
|
2696
|
+
tableInit: boolean;
|
|
2697
|
+
beforeImport: Function;
|
|
2698
|
+
tableFilter: Record<string, any>;
|
|
2699
|
+
tableCb: Function;
|
|
2700
|
+
limitHeight: boolean;
|
|
2701
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2702
|
+
|
|
2703
|
+
export declare const GvTabPane: DefineComponent<ExtractPropTypes< {
|
|
2704
|
+
name: {
|
|
2705
|
+
type: StringConstructor;
|
|
2706
|
+
required: false;
|
|
2707
|
+
default: undefined;
|
|
2708
|
+
};
|
|
2709
|
+
label: {
|
|
2710
|
+
type: StringConstructor;
|
|
2711
|
+
required: false;
|
|
2712
|
+
default: undefined;
|
|
2713
|
+
};
|
|
2714
|
+
disabled: {
|
|
2715
|
+
type: BooleanConstructor;
|
|
2716
|
+
required: false;
|
|
2717
|
+
default: boolean;
|
|
2718
|
+
};
|
|
2719
|
+
maxHeight: {
|
|
2720
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2721
|
+
required: false;
|
|
2722
|
+
default: undefined;
|
|
2723
|
+
};
|
|
2724
|
+
visible: {
|
|
2725
|
+
type: BooleanConstructor;
|
|
2726
|
+
required: false;
|
|
2727
|
+
default: boolean;
|
|
2728
|
+
};
|
|
2729
|
+
autoHeight: {
|
|
2730
|
+
type: BooleanConstructor;
|
|
2731
|
+
required: false;
|
|
2732
|
+
default: boolean;
|
|
2733
|
+
};
|
|
2734
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "tab-click"[], "tab-click", PublicProps, Readonly<ExtractPropTypes< {
|
|
2735
|
+
name: {
|
|
2736
|
+
type: StringConstructor;
|
|
2737
|
+
required: false;
|
|
2738
|
+
default: undefined;
|
|
2739
|
+
};
|
|
2740
|
+
label: {
|
|
2741
|
+
type: StringConstructor;
|
|
2742
|
+
required: false;
|
|
2743
|
+
default: undefined;
|
|
2744
|
+
};
|
|
2745
|
+
disabled: {
|
|
2746
|
+
type: BooleanConstructor;
|
|
2747
|
+
required: false;
|
|
2748
|
+
default: boolean;
|
|
2749
|
+
};
|
|
2750
|
+
maxHeight: {
|
|
2751
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2752
|
+
required: false;
|
|
2753
|
+
default: undefined;
|
|
2754
|
+
};
|
|
2755
|
+
visible: {
|
|
2756
|
+
type: BooleanConstructor;
|
|
2757
|
+
required: false;
|
|
2758
|
+
default: boolean;
|
|
2759
|
+
};
|
|
2760
|
+
autoHeight: {
|
|
2761
|
+
type: BooleanConstructor;
|
|
2762
|
+
required: false;
|
|
2763
|
+
default: boolean;
|
|
2764
|
+
};
|
|
2765
|
+
}>> & Readonly<{
|
|
2766
|
+
"onTab-click"?: ((...args: any[]) => any) | undefined;
|
|
2767
|
+
}>, {
|
|
2768
|
+
name: string;
|
|
2769
|
+
label: string;
|
|
2770
|
+
maxHeight: string | number;
|
|
2771
|
+
disabled: boolean;
|
|
2772
|
+
visible: boolean;
|
|
2773
|
+
autoHeight: boolean;
|
|
2774
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2775
|
+
|
|
2776
|
+
export declare const GvTabs: DefineComponent<ExtractPropTypes< {
|
|
2777
|
+
tabPosition: {
|
|
2778
|
+
type: StringConstructor;
|
|
2779
|
+
default: string;
|
|
2780
|
+
};
|
|
2781
|
+
value: {
|
|
2782
|
+
type: PropType<number | string>;
|
|
2783
|
+
default: undefined;
|
|
2784
|
+
};
|
|
2785
|
+
type: {
|
|
2786
|
+
type: PropType<"card" | "border-card">;
|
|
2787
|
+
default: undefined;
|
|
2788
|
+
};
|
|
2789
|
+
closable: {
|
|
2790
|
+
type: BooleanConstructor;
|
|
2791
|
+
default: boolean;
|
|
2792
|
+
};
|
|
2793
|
+
tabMaxHeight: {
|
|
2794
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2795
|
+
default: undefined;
|
|
2796
|
+
};
|
|
2797
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "tab-click"[], "tab-click", PublicProps, Readonly<ExtractPropTypes< {
|
|
2798
|
+
tabPosition: {
|
|
2799
|
+
type: StringConstructor;
|
|
2800
|
+
default: string;
|
|
2801
|
+
};
|
|
2802
|
+
value: {
|
|
2803
|
+
type: PropType<number | string>;
|
|
2804
|
+
default: undefined;
|
|
2805
|
+
};
|
|
2806
|
+
type: {
|
|
2807
|
+
type: PropType<"card" | "border-card">;
|
|
2808
|
+
default: undefined;
|
|
2809
|
+
};
|
|
2810
|
+
closable: {
|
|
2811
|
+
type: BooleanConstructor;
|
|
2812
|
+
default: boolean;
|
|
2813
|
+
};
|
|
2814
|
+
tabMaxHeight: {
|
|
2815
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
2816
|
+
default: undefined;
|
|
2817
|
+
};
|
|
2818
|
+
}>> & Readonly<{
|
|
2819
|
+
"onTab-click"?: ((...args: any[]) => any) | undefined;
|
|
2820
|
+
}>, {
|
|
2821
|
+
value: string | number;
|
|
2822
|
+
type: "card" | "border-card";
|
|
2823
|
+
closable: boolean;
|
|
2824
|
+
tabPosition: string;
|
|
2825
|
+
tabMaxHeight: string | number;
|
|
2826
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2827
|
+
|
|
2205
2828
|
export declare const GvTag: DefineComponent<ExtractPropTypes< {
|
|
2206
2829
|
type: {
|
|
2207
2830
|
type: PropType<TTagType>;
|
|
@@ -2428,12 +3051,12 @@ default: boolean;
|
|
|
2428
3051
|
name: string;
|
|
2429
3052
|
placeholder: string;
|
|
2430
3053
|
size: TTimePickerSize;
|
|
3054
|
+
vref: string;
|
|
2431
3055
|
disabled: boolean;
|
|
2432
3056
|
modelValue: TTimePickerType;
|
|
2433
3057
|
clearable: boolean;
|
|
2434
3058
|
readonly: boolean;
|
|
2435
3059
|
editable: boolean;
|
|
2436
|
-
vref: string;
|
|
2437
3060
|
format: string;
|
|
2438
3061
|
valueFormat: string;
|
|
2439
3062
|
rangeSeparator: string;
|
|
@@ -2506,7 +3129,7 @@ renderContent: {
|
|
|
2506
3129
|
type: PropType<RenderContentFunction>;
|
|
2507
3130
|
default: undefined;
|
|
2508
3131
|
};
|
|
2509
|
-
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("node-click" | "node-expand" | "node-collapse" | "check
|
|
3132
|
+
}>, () => JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("check" | "node-click" | "node-expand" | "node-collapse" | "check-change" | "node-drop")[], "check" | "node-click" | "node-expand" | "node-collapse" | "check-change" | "node-drop", PublicProps, Readonly<ExtractPropTypes< {
|
|
2510
3133
|
treeData: {
|
|
2511
3134
|
type: PropType<TreeData[]>;
|
|
2512
3135
|
default: () => never[];
|
|
@@ -2568,28 +3191,28 @@ type: PropType<RenderContentFunction>;
|
|
|
2568
3191
|
default: undefined;
|
|
2569
3192
|
};
|
|
2570
3193
|
}>> & Readonly<{
|
|
2571
|
-
onCheck?: ((...args: any[]) => any) | undefined;
|
|
2572
|
-
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
|
2573
3194
|
"onNode-expand"?: ((...args: any[]) => any) | undefined;
|
|
2574
|
-
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
2575
3195
|
"onCheck-change"?: ((...args: any[]) => any) | undefined;
|
|
3196
|
+
"onNode-click"?: ((...args: any[]) => any) | undefined;
|
|
3197
|
+
"onNode-collapse"?: ((...args: any[]) => any) | undefined;
|
|
3198
|
+
onCheck?: ((...args: any[]) => any) | undefined;
|
|
2576
3199
|
"onNode-drop"?: ((...args: any[]) => any) | undefined;
|
|
2577
3200
|
}>, {
|
|
2578
3201
|
lazy: boolean;
|
|
2579
3202
|
load: LoadFunction;
|
|
2580
3203
|
draggable: boolean;
|
|
2581
3204
|
checkOnClickNode: boolean;
|
|
2582
|
-
|
|
3205
|
+
defaultExpandAll: boolean;
|
|
2583
3206
|
treeProps: TreeOptionProps;
|
|
2584
3207
|
nodeKey: string;
|
|
2585
|
-
showCheckbox: boolean;
|
|
2586
|
-
defaultExpandedKeys: (string | number)[];
|
|
2587
|
-
defaultCheckedKeys: (string | number)[];
|
|
2588
|
-
iconClass: string;
|
|
2589
|
-
defaultExpandAll: boolean;
|
|
2590
3208
|
expandOnClickNode: boolean;
|
|
2591
|
-
|
|
3209
|
+
defaultCheckedKeys: (string | number)[];
|
|
3210
|
+
defaultExpandedKeys: (string | number)[];
|
|
2592
3211
|
renderContent: RenderContentFunction;
|
|
3212
|
+
showCheckbox: boolean;
|
|
3213
|
+
filterNodeMethod: FilterNodeMethodFunction;
|
|
3214
|
+
treeData: TreeData[];
|
|
3215
|
+
iconClass: string;
|
|
2593
3216
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
2594
3217
|
|
|
2595
3218
|
export declare const hasClass: (ele: any, cls: any) => boolean;
|
|
@@ -2646,6 +3269,13 @@ declare type MessageType_2 = 'success' | 'info' | 'warning' | 'error';
|
|
|
2646
3269
|
|
|
2647
3270
|
declare const newPropTypes: PropTypes;
|
|
2648
3271
|
|
|
3272
|
+
declare interface PageInfo {
|
|
3273
|
+
currentpagenum: number;
|
|
3274
|
+
recordsperpage: number;
|
|
3275
|
+
countrows: number;
|
|
3276
|
+
totalpage: number;
|
|
3277
|
+
}
|
|
3278
|
+
|
|
2649
3279
|
export declare const pathResolve: (parentPath: string, path: string) => string;
|
|
2650
3280
|
|
|
2651
3281
|
declare type PropTypes = VueTypesInterface & {
|
|
@@ -2656,7 +3286,7 @@ export declare class propTypes extends newPropTypes {
|
|
|
2656
3286
|
static get style(): VueTypeValidableDef<CSSProperties>;
|
|
2657
3287
|
}
|
|
2658
3288
|
|
|
2659
|
-
declare
|
|
3289
|
+
export declare const removeAmountFormat: (val: string) => string;
|
|
2660
3290
|
|
|
2661
3291
|
export declare const removeClass: (ele: any, cls: any) => void;
|
|
2662
3292
|
|
|
@@ -2721,7 +3351,8 @@ declare type TTimePickerSize = 'large' | 'default' | 'small';
|
|
|
2721
3351
|
declare type TTimePickerType = string | Date | [string, string] | [Date, Date] | null | undefined;
|
|
2722
3352
|
|
|
2723
3353
|
export declare const useCrud: () => {
|
|
2724
|
-
fetchData:
|
|
3354
|
+
fetchData: (fetch: (data: any) => Promise<any>, data: any) => Promise<any>;
|
|
3355
|
+
toNewPageSearch: (tabNode: any, filterConditions: Recordable<any>, fetch: (data: any) => Promise<any>, pageInfo: PageInfo) => Promise<false | never[]>;
|
|
2725
3356
|
};
|
|
2726
3357
|
|
|
2727
3358
|
export declare function usePinyin(): {
|