@dazhicheng/ui 1.5.24 → 1.5.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-drawer/index.d.ts +306 -306
- package/dist/components/tt-drawer/src/RenderDrawer.vue.d.ts +167 -167
- package/dist/components/tt-drawer/src/components/DrawerFooter.vue.d.ts +3 -3
- package/dist/components/tt-form/src/types.d.ts +2 -0
- package/dist/components/tt-modal/index.d.ts +92 -92
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +52 -52
- package/dist/components/tt-modal/src/components/ModalFooter.vue.d.ts +5 -5
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +5 -5
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +18 -18
- package/dist/components/tt-table/src/Table.vue.d.ts +11 -11
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +2 -2
- package/dist/components/tt-upload/index.d.ts +31 -53
- package/dist/components/tt-upload/src/TtUpload.d.ts +32 -54
- package/dist/components/tt-upload/src/typing.d.ts +35 -24
- package/dist/components/types.d.ts +3 -0
- package/dist/index.js +18031 -17999
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -32,18 +32,18 @@ declare function __VLS_template(): {
|
|
|
32
32
|
showFooter: boolean;
|
|
33
33
|
draggable: boolean;
|
|
34
34
|
testId: any;
|
|
35
|
-
|
|
36
|
-
showCancelBtn: boolean;
|
|
35
|
+
modal: boolean;
|
|
37
36
|
cancelText: string;
|
|
38
37
|
okText: string;
|
|
38
|
+
resizer: boolean;
|
|
39
|
+
showCancelBtn: boolean;
|
|
40
|
+
showOkBtn: boolean;
|
|
39
41
|
confirmLoading: boolean;
|
|
42
|
+
cancelLoading: boolean;
|
|
40
43
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
41
44
|
disabledTip?: TipConfig | TipConfig[];
|
|
42
45
|
};
|
|
43
46
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
44
|
-
modal: boolean;
|
|
45
|
-
resizer: boolean;
|
|
46
|
-
cancelLoading: boolean;
|
|
47
47
|
isBottom: boolean;
|
|
48
48
|
}> & Omit<{
|
|
49
49
|
readonly title: any;
|
|
@@ -57,25 +57,25 @@ declare function __VLS_template(): {
|
|
|
57
57
|
readonly showFooter: boolean;
|
|
58
58
|
readonly draggable: boolean;
|
|
59
59
|
readonly testId: any;
|
|
60
|
-
readonly
|
|
61
|
-
readonly showCancelBtn: boolean;
|
|
60
|
+
readonly modal: boolean;
|
|
62
61
|
readonly cancelText: string;
|
|
63
62
|
readonly okText: string;
|
|
63
|
+
readonly resizer: boolean;
|
|
64
|
+
readonly showCancelBtn: boolean;
|
|
65
|
+
readonly showOkBtn: boolean;
|
|
64
66
|
readonly confirmLoading: boolean;
|
|
67
|
+
readonly cancelLoading: boolean;
|
|
65
68
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
66
69
|
disabledTip?: TipConfig | TipConfig[];
|
|
67
70
|
};
|
|
68
71
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
69
|
-
readonly modal: boolean;
|
|
70
|
-
readonly resizer: boolean;
|
|
71
|
-
readonly cancelLoading: boolean;
|
|
72
72
|
readonly isBottom: boolean;
|
|
73
73
|
readonly top?: string | undefined;
|
|
74
74
|
readonly width?: string | number | undefined;
|
|
75
75
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
76
76
|
readonly loadingTip?: string | undefined;
|
|
77
77
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
78
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
79
79
|
$attrs: {
|
|
80
80
|
[x: string]: unknown;
|
|
81
81
|
};
|
|
@@ -196,18 +196,18 @@ declare function __VLS_template(): {
|
|
|
196
196
|
showFooter: boolean;
|
|
197
197
|
draggable: boolean;
|
|
198
198
|
testId: any;
|
|
199
|
-
|
|
200
|
-
showCancelBtn: boolean;
|
|
199
|
+
modal: boolean;
|
|
201
200
|
cancelText: string;
|
|
202
201
|
okText: string;
|
|
202
|
+
resizer: boolean;
|
|
203
|
+
showCancelBtn: boolean;
|
|
204
|
+
showOkBtn: boolean;
|
|
203
205
|
confirmLoading: boolean;
|
|
206
|
+
cancelLoading: boolean;
|
|
204
207
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
205
208
|
disabledTip?: TipConfig | TipConfig[];
|
|
206
209
|
};
|
|
207
210
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
208
|
-
modal: boolean;
|
|
209
|
-
resizer: boolean;
|
|
210
|
-
cancelLoading: boolean;
|
|
211
211
|
isBottom: boolean;
|
|
212
212
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
213
213
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -241,18 +241,18 @@ declare function __VLS_template(): {
|
|
|
241
241
|
showFooter: boolean;
|
|
242
242
|
draggable: boolean;
|
|
243
243
|
testId: any;
|
|
244
|
-
|
|
245
|
-
showCancelBtn: boolean;
|
|
244
|
+
modal: boolean;
|
|
246
245
|
cancelText: string;
|
|
247
246
|
okText: string;
|
|
247
|
+
resizer: boolean;
|
|
248
|
+
showCancelBtn: boolean;
|
|
249
|
+
showOkBtn: boolean;
|
|
248
250
|
confirmLoading: boolean;
|
|
251
|
+
cancelLoading: boolean;
|
|
249
252
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
250
253
|
disabledTip?: TipConfig | TipConfig[];
|
|
251
254
|
};
|
|
252
255
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
253
|
-
modal: boolean;
|
|
254
|
-
resizer: boolean;
|
|
255
|
-
cancelLoading: boolean;
|
|
256
256
|
isBottom: boolean;
|
|
257
257
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
258
258
|
testId: any;
|
|
@@ -341,7 +341,7 @@ declare function __VLS_template(): {
|
|
|
341
341
|
};
|
|
342
342
|
}>> & Readonly<{
|
|
343
343
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
344
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
344
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
345
345
|
onScrollBottom: () => void;
|
|
346
346
|
elm: import('vue').Ref<any, any>;
|
|
347
347
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -640,30 +640,30 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
640
640
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
641
641
|
draggable: boolean;
|
|
642
642
|
testId: any;
|
|
643
|
-
|
|
644
|
-
showOkBtn: boolean;
|
|
645
|
-
showCancelBtn: boolean;
|
|
643
|
+
modal: boolean;
|
|
646
644
|
cancelText: string;
|
|
647
645
|
okText: string;
|
|
646
|
+
resizer: boolean;
|
|
647
|
+
showCancelBtn: boolean;
|
|
648
|
+
showOkBtn: boolean;
|
|
648
649
|
confirmLoading: boolean;
|
|
650
|
+
cancelLoading: boolean;
|
|
649
651
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
650
652
|
disabledTip?: TipConfig | TipConfig[];
|
|
651
653
|
};
|
|
652
654
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
653
|
-
|
|
655
|
+
isBottom: boolean;
|
|
654
656
|
appendToBody: boolean;
|
|
657
|
+
destroyOnClose: boolean;
|
|
655
658
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
656
659
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
657
|
-
modal: boolean;
|
|
658
660
|
modalPenetrable: boolean;
|
|
659
661
|
openDelay: number;
|
|
660
662
|
closeDelay: number;
|
|
661
663
|
trapFocus: boolean;
|
|
664
|
+
headerAriaLevel: string;
|
|
662
665
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
663
666
|
ariaLevel: string;
|
|
664
|
-
resizer: boolean;
|
|
665
|
-
cancelLoading: boolean;
|
|
666
|
-
isBottom: boolean;
|
|
667
667
|
modalApi: TtModalExtendedModalApi;
|
|
668
668
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
669
669
|
modalWrapperRef: ({
|
|
@@ -681,18 +681,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
681
681
|
showFooter: boolean;
|
|
682
682
|
draggable: boolean;
|
|
683
683
|
testId: any;
|
|
684
|
-
|
|
685
|
-
showCancelBtn: boolean;
|
|
684
|
+
modal: boolean;
|
|
686
685
|
cancelText: string;
|
|
687
686
|
okText: string;
|
|
687
|
+
resizer: boolean;
|
|
688
|
+
showCancelBtn: boolean;
|
|
689
|
+
showOkBtn: boolean;
|
|
688
690
|
confirmLoading: boolean;
|
|
691
|
+
cancelLoading: boolean;
|
|
689
692
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
690
693
|
disabledTip?: TipConfig | TipConfig[];
|
|
691
694
|
};
|
|
692
695
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
693
|
-
modal: boolean;
|
|
694
|
-
resizer: boolean;
|
|
695
|
-
cancelLoading: boolean;
|
|
696
696
|
isBottom: boolean;
|
|
697
697
|
}> & Omit<{
|
|
698
698
|
readonly title: any;
|
|
@@ -706,25 +706,25 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
706
706
|
readonly showFooter: boolean;
|
|
707
707
|
readonly draggable: boolean;
|
|
708
708
|
readonly testId: any;
|
|
709
|
-
readonly
|
|
710
|
-
readonly showCancelBtn: boolean;
|
|
709
|
+
readonly modal: boolean;
|
|
711
710
|
readonly cancelText: string;
|
|
712
711
|
readonly okText: string;
|
|
712
|
+
readonly resizer: boolean;
|
|
713
|
+
readonly showCancelBtn: boolean;
|
|
714
|
+
readonly showOkBtn: boolean;
|
|
713
715
|
readonly confirmLoading: boolean;
|
|
716
|
+
readonly cancelLoading: boolean;
|
|
714
717
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
715
718
|
disabledTip?: TipConfig | TipConfig[];
|
|
716
719
|
};
|
|
717
720
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
718
|
-
readonly modal: boolean;
|
|
719
|
-
readonly resizer: boolean;
|
|
720
|
-
readonly cancelLoading: boolean;
|
|
721
721
|
readonly isBottom: boolean;
|
|
722
722
|
readonly top?: string | undefined;
|
|
723
723
|
readonly width?: string | number | undefined;
|
|
724
724
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
725
725
|
readonly loadingTip?: string | undefined;
|
|
726
726
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
727
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
727
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
728
728
|
$attrs: {
|
|
729
729
|
[x: string]: unknown;
|
|
730
730
|
};
|
|
@@ -845,18 +845,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
845
845
|
showFooter: boolean;
|
|
846
846
|
draggable: boolean;
|
|
847
847
|
testId: any;
|
|
848
|
-
|
|
849
|
-
showCancelBtn: boolean;
|
|
848
|
+
modal: boolean;
|
|
850
849
|
cancelText: string;
|
|
851
850
|
okText: string;
|
|
851
|
+
resizer: boolean;
|
|
852
|
+
showCancelBtn: boolean;
|
|
853
|
+
showOkBtn: boolean;
|
|
852
854
|
confirmLoading: boolean;
|
|
855
|
+
cancelLoading: boolean;
|
|
853
856
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
854
857
|
disabledTip?: TipConfig | TipConfig[];
|
|
855
858
|
};
|
|
856
859
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
857
|
-
modal: boolean;
|
|
858
|
-
resizer: boolean;
|
|
859
|
-
cancelLoading: boolean;
|
|
860
860
|
isBottom: boolean;
|
|
861
861
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
862
862
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -890,18 +890,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
890
890
|
showFooter: boolean;
|
|
891
891
|
draggable: boolean;
|
|
892
892
|
testId: any;
|
|
893
|
-
|
|
894
|
-
showCancelBtn: boolean;
|
|
893
|
+
modal: boolean;
|
|
895
894
|
cancelText: string;
|
|
896
895
|
okText: string;
|
|
896
|
+
resizer: boolean;
|
|
897
|
+
showCancelBtn: boolean;
|
|
898
|
+
showOkBtn: boolean;
|
|
897
899
|
confirmLoading: boolean;
|
|
900
|
+
cancelLoading: boolean;
|
|
898
901
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
899
902
|
disabledTip?: TipConfig | TipConfig[];
|
|
900
903
|
};
|
|
901
904
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
902
|
-
modal: boolean;
|
|
903
|
-
resizer: boolean;
|
|
904
|
-
cancelLoading: boolean;
|
|
905
905
|
isBottom: boolean;
|
|
906
906
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
907
907
|
testId: any;
|
|
@@ -990,7 +990,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
990
990
|
};
|
|
991
991
|
}>> & Readonly<{
|
|
992
992
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
993
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
993
|
+
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
994
994
|
onScrollBottom: () => void;
|
|
995
995
|
elm: import('vue').Ref<any, any>;
|
|
996
996
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -100,7 +100,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
100
100
|
type: BooleanConstructor;
|
|
101
101
|
default: boolean;
|
|
102
102
|
};
|
|
103
|
-
}, "
|
|
103
|
+
}, "cancelText" | "okText" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps">>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
104
104
|
cancel: (e: Event) => any;
|
|
105
105
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<Pick<{
|
|
106
106
|
testId: any;
|
|
@@ -187,19 +187,19 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
187
187
|
type: BooleanConstructor;
|
|
188
188
|
default: boolean;
|
|
189
189
|
};
|
|
190
|
-
}, "
|
|
190
|
+
}, "cancelText" | "okText" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps">>> & Readonly<{
|
|
191
191
|
onCancel?: ((e: Event) => any) | undefined;
|
|
192
192
|
}>, {
|
|
193
|
-
showOkBtn: boolean;
|
|
194
|
-
showCancelBtn: boolean;
|
|
195
193
|
cancelText: string;
|
|
196
194
|
okText: string;
|
|
195
|
+
showCancelBtn: boolean;
|
|
196
|
+
showOkBtn: boolean;
|
|
197
197
|
confirmLoading: boolean;
|
|
198
|
+
cancelLoading: boolean;
|
|
198
199
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
199
200
|
disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
|
|
200
201
|
};
|
|
201
202
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
202
|
-
cancelLoading: boolean;
|
|
203
203
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
204
204
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
205
205
|
export default _default;
|
|
@@ -199,18 +199,18 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
199
199
|
showFooter: boolean;
|
|
200
200
|
draggable: boolean;
|
|
201
201
|
testId: any;
|
|
202
|
-
|
|
203
|
-
showCancelBtn: boolean;
|
|
202
|
+
modal: boolean;
|
|
204
203
|
cancelText: string;
|
|
205
204
|
okText: string;
|
|
205
|
+
resizer: boolean;
|
|
206
|
+
showCancelBtn: boolean;
|
|
207
|
+
showOkBtn: boolean;
|
|
206
208
|
confirmLoading: boolean;
|
|
209
|
+
cancelLoading: boolean;
|
|
207
210
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
208
211
|
disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
|
|
209
212
|
};
|
|
210
213
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
211
|
-
modal: boolean;
|
|
212
|
-
resizer: boolean;
|
|
213
|
-
cancelLoading: boolean;
|
|
214
214
|
isBottom: boolean;
|
|
215
215
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
216
216
|
wrapperRef: HTMLDivElement;
|
|
@@ -23,30 +23,30 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
23
23
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
24
24
|
draggable: boolean;
|
|
25
25
|
testId: any;
|
|
26
|
-
|
|
27
|
-
showOkBtn: boolean;
|
|
28
|
-
showCancelBtn: boolean;
|
|
26
|
+
modal: boolean;
|
|
29
27
|
cancelText: string;
|
|
30
28
|
okText: string;
|
|
29
|
+
resizer: boolean;
|
|
30
|
+
showCancelBtn: boolean;
|
|
31
|
+
showOkBtn: boolean;
|
|
31
32
|
confirmLoading: boolean;
|
|
33
|
+
cancelLoading: boolean;
|
|
32
34
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
33
35
|
disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
|
|
34
36
|
};
|
|
35
37
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
36
|
-
|
|
38
|
+
isBottom: boolean;
|
|
37
39
|
appendToBody: boolean;
|
|
40
|
+
destroyOnClose: boolean;
|
|
38
41
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
39
42
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
40
|
-
modal: boolean;
|
|
41
43
|
modalPenetrable: boolean;
|
|
42
44
|
openDelay: number;
|
|
43
45
|
closeDelay: number;
|
|
44
46
|
trapFocus: boolean;
|
|
47
|
+
headerAriaLevel: string;
|
|
45
48
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
46
49
|
ariaLevel: string;
|
|
47
|
-
resizer: boolean;
|
|
48
|
-
cancelLoading: boolean;
|
|
49
|
-
isBottom: boolean;
|
|
50
50
|
modalApi: TtModalExtendedModalApi;
|
|
51
51
|
}> & Omit<{
|
|
52
52
|
readonly title: any;
|
|
@@ -65,29 +65,29 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
65
65
|
readonly showFooter: boolean;
|
|
66
66
|
readonly draggable: boolean;
|
|
67
67
|
readonly testId: any;
|
|
68
|
-
readonly
|
|
69
|
-
readonly showOkBtn: boolean;
|
|
70
|
-
readonly showCancelBtn: boolean;
|
|
68
|
+
readonly modal: boolean;
|
|
71
69
|
readonly cancelText: string;
|
|
72
70
|
readonly okText: string;
|
|
71
|
+
readonly resizer: boolean;
|
|
72
|
+
readonly showCancelBtn: boolean;
|
|
73
|
+
readonly showOkBtn: boolean;
|
|
73
74
|
readonly confirmLoading: boolean;
|
|
75
|
+
readonly cancelLoading: boolean;
|
|
74
76
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
75
77
|
disabledTip?: import('../../../../directives/disabled-tip').TipConfig | import('../../../../directives/disabled-tip').TipConfig[];
|
|
76
78
|
};
|
|
77
79
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
78
|
-
readonly
|
|
80
|
+
readonly isBottom: boolean;
|
|
79
81
|
readonly appendToBody: boolean;
|
|
82
|
+
readonly destroyOnClose: boolean;
|
|
80
83
|
readonly closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
81
84
|
readonly lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
82
|
-
readonly modal: boolean;
|
|
83
85
|
readonly modalPenetrable: boolean;
|
|
84
86
|
readonly openDelay: number;
|
|
85
87
|
readonly closeDelay: number;
|
|
86
88
|
readonly trapFocus: boolean;
|
|
89
|
+
readonly headerAriaLevel: string;
|
|
87
90
|
readonly ariaLevel: string;
|
|
88
|
-
readonly resizer: boolean;
|
|
89
|
-
readonly cancelLoading: boolean;
|
|
90
|
-
readonly isBottom: boolean;
|
|
91
91
|
readonly zIndex?: number | undefined;
|
|
92
92
|
readonly beforeClose?: import('element-plus').DialogBeforeCloseFn | undefined;
|
|
93
93
|
readonly top?: string | undefined;
|
|
@@ -95,16 +95,16 @@ export declare function useModalRender<TParentModalProps extends ModalProps = Mo
|
|
|
95
95
|
readonly width?: string | number | undefined;
|
|
96
96
|
readonly overflow?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
97
97
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
98
|
+
readonly loadingTip?: string | undefined;
|
|
98
99
|
readonly modalClass?: string | undefined;
|
|
99
100
|
readonly alignCenter?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
100
101
|
readonly closeIcon?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component))[], unknown, unknown> | undefined;
|
|
101
102
|
readonly headerClass?: string | undefined;
|
|
102
103
|
readonly bodyClass?: string | undefined;
|
|
103
104
|
readonly footerClass?: string | undefined;
|
|
104
|
-
readonly loadingTip?: string | undefined;
|
|
105
105
|
readonly modalApi?: TtModalExtendedModalApi | undefined;
|
|
106
106
|
readonly "onUpdate:visible"?: ((args_0: boolean) => any) | undefined;
|
|
107
107
|
readonly "onVisible-change"?: ((args_0: boolean) => any) | undefined;
|
|
108
108
|
readonly onRegister?: ((args_0: import('../typing').ModalMethods, args_1: string) => any) | undefined;
|
|
109
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "showClose" | "appendTo" | "fullscreen" | "visible" | "transition" | "size" | "center" | "height" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "draggable" | "testId" | "
|
|
109
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "showClose" | "appendTo" | "fullscreen" | "visible" | "transition" | "size" | "center" | "height" | "loading" | "modelValue" | "closeOnPressEscape" | "scrollTop" | "minHeight" | "showFooter" | "overflow" | "draggable" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "modalApi"> & Partial<import('element-plus').DialogProps> & {}, import('vue').PublicProps>, TtModalExtendedModalApi];
|
|
110
110
|
export declare function showTtModal<T extends Component>(app: App, component: T, options: ModalApiOptions): TtModalExtendedModalApi;
|
|
@@ -1085,6 +1085,17 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1085
1085
|
keyboardConfig: import("vxe-table").VxeTablePropTypes.KeyboardConfig<any>;
|
|
1086
1086
|
emptyText: string;
|
|
1087
1087
|
clearTreeExpand: any;
|
|
1088
|
+
currentPageField: string;
|
|
1089
|
+
pageSizeField: string;
|
|
1090
|
+
totalField: string;
|
|
1091
|
+
dataField: string;
|
|
1092
|
+
tableRowId: string;
|
|
1093
|
+
resultCode: string | number;
|
|
1094
|
+
noSearchText: string;
|
|
1095
|
+
useHttpCache: boolean;
|
|
1096
|
+
showSetting: boolean;
|
|
1097
|
+
showRefresh: boolean;
|
|
1098
|
+
columnsKey: any;
|
|
1088
1099
|
showRadio: any;
|
|
1089
1100
|
showIndex: any;
|
|
1090
1101
|
isCellResize: any;
|
|
@@ -1109,26 +1120,16 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1109
1120
|
treeNode: any;
|
|
1110
1121
|
isScrollFetch: boolean;
|
|
1111
1122
|
showScrollFetchLoading: boolean;
|
|
1112
|
-
tableRowId: string;
|
|
1113
|
-
currentPageField: string;
|
|
1114
|
-
pageSizeField: string;
|
|
1115
|
-
totalField: string;
|
|
1116
|
-
dataField: string;
|
|
1117
1123
|
showTitle: any;
|
|
1118
1124
|
autoHeight: any;
|
|
1119
1125
|
offsetHeight: any;
|
|
1120
|
-
noSearchText: string;
|
|
1121
1126
|
emptyImageStyle: any;
|
|
1122
1127
|
emptyImageStatus: "no-data" | "no-search";
|
|
1123
1128
|
isHanderSubmit: any;
|
|
1124
|
-
columnsKey: any;
|
|
1125
|
-
showSetting: boolean;
|
|
1126
1129
|
showSetColumn: boolean;
|
|
1127
1130
|
leftSlotWidth: any;
|
|
1128
1131
|
rightSlotWidth: any;
|
|
1129
1132
|
showLineHeight: boolean;
|
|
1130
|
-
showRefresh: boolean;
|
|
1131
|
-
useHttpCache: boolean;
|
|
1132
1133
|
defaultDisplayFields: string[];
|
|
1133
1134
|
isI18n: any;
|
|
1134
1135
|
isDataCloneDeep: any;
|
|
@@ -1137,7 +1138,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1137
1138
|
toolTipErrorPlacement: "top" | "bottom" | "left" | "right";
|
|
1138
1139
|
isAreaCheckData: any;
|
|
1139
1140
|
api: (...arg: any[]) => Promise<any>;
|
|
1140
|
-
resultCode: string | number;
|
|
1141
1141
|
afterFetch: ((data: import("vxe-table").VxeTablePropTypes.Row[], res: globalThis.Recordable) => Promise<import("vxe-table").VxeTablePropTypes.Row[]>) | undefined;
|
|
1142
1142
|
beforeFetch: ((params: globalThis.Recordable) => Promise<globalThis.Recordable>) | undefined;
|
|
1143
1143
|
disabledTeleport: any;
|
|
@@ -783,10 +783,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
783
783
|
"onOn-refresh"?: (() => any) | undefined;
|
|
784
784
|
"onOn-columns-setting"?: (() => any) | undefined;
|
|
785
785
|
}>, {
|
|
786
|
-
columnsKey: any;
|
|
787
786
|
showSetting: boolean;
|
|
788
|
-
showSetColumn: boolean;
|
|
789
787
|
showRefresh: boolean;
|
|
788
|
+
columnsKey: any;
|
|
789
|
+
showSetColumn: boolean;
|
|
790
790
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
791
791
|
tooltipRef: (({
|
|
792
792
|
$: import('vue').ComponentInternalInstance;
|