@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
|
@@ -75,14 +75,14 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
75
75
|
size: any;
|
|
76
76
|
height: any;
|
|
77
77
|
showFooter: any;
|
|
78
|
-
showOkBtn: any;
|
|
79
|
-
showCancelBtn: any;
|
|
80
78
|
cancelText: any;
|
|
81
79
|
okText: any;
|
|
80
|
+
showCancelBtn: any;
|
|
81
|
+
showOkBtn: any;
|
|
82
82
|
confirmLoading: any;
|
|
83
|
-
footerHeight: string | number;
|
|
84
83
|
okButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
85
84
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
85
|
+
footerHeight: string | number;
|
|
86
86
|
okType: any;
|
|
87
87
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
88
88
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -4,6 +4,7 @@ import { Component, HtmlHTMLAttributes, MaybeRefOrGetter, Ref } from 'vue';
|
|
|
4
4
|
import { ZodTypeAny } from 'zod';
|
|
5
5
|
import { TtTextProps } from '../../tt-text';
|
|
6
6
|
import { TtSelectProp } from '../../tt-select';
|
|
7
|
+
import { TtUploadProps } from '../../tt-upload';
|
|
7
8
|
import { FormApi } from './formApi';
|
|
8
9
|
export type FormLayout = "horizontal" | "inline" | "vertical";
|
|
9
10
|
export interface BaseFormComponentMap {
|
|
@@ -23,6 +24,7 @@ export interface BaseFormComponentMap {
|
|
|
23
24
|
ElTreeSelect: Record<string, any>;
|
|
24
25
|
ElUpload: UploadProps;
|
|
25
26
|
ElCascader: CascaderProps;
|
|
27
|
+
TtUpload: TtUploadProps;
|
|
26
28
|
}
|
|
27
29
|
/**
|
|
28
30
|
* 表单组件类型字符串联合类型
|
|
@@ -156,30 +156,30 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
156
156
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
157
157
|
draggable: boolean;
|
|
158
158
|
testId: any;
|
|
159
|
-
|
|
160
|
-
showOkBtn: boolean;
|
|
161
|
-
showCancelBtn: boolean;
|
|
159
|
+
modal: boolean;
|
|
162
160
|
cancelText: string;
|
|
163
161
|
okText: string;
|
|
162
|
+
resizer: boolean;
|
|
163
|
+
showCancelBtn: boolean;
|
|
164
|
+
showOkBtn: boolean;
|
|
164
165
|
confirmLoading: boolean;
|
|
166
|
+
cancelLoading: boolean;
|
|
165
167
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
166
168
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
167
169
|
};
|
|
168
170
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
169
|
-
|
|
171
|
+
isBottom: boolean;
|
|
170
172
|
appendToBody: boolean;
|
|
173
|
+
destroyOnClose: boolean;
|
|
171
174
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
172
175
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
173
|
-
modal: boolean;
|
|
174
176
|
modalPenetrable: boolean;
|
|
175
177
|
openDelay: number;
|
|
176
178
|
closeDelay: number;
|
|
177
179
|
trapFocus: boolean;
|
|
180
|
+
headerAriaLevel: string;
|
|
178
181
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
179
182
|
ariaLevel: string;
|
|
180
|
-
resizer: boolean;
|
|
181
|
-
cancelLoading: boolean;
|
|
182
|
-
isBottom: boolean;
|
|
183
183
|
modalApi: import('.').TtModalExtendedModalApi;
|
|
184
184
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
185
185
|
modalWrapperRef: ({
|
|
@@ -197,18 +197,18 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
197
197
|
showFooter: boolean;
|
|
198
198
|
draggable: boolean;
|
|
199
199
|
testId: any;
|
|
200
|
-
|
|
201
|
-
showCancelBtn: boolean;
|
|
200
|
+
modal: boolean;
|
|
202
201
|
cancelText: string;
|
|
203
202
|
okText: string;
|
|
203
|
+
resizer: boolean;
|
|
204
|
+
showCancelBtn: boolean;
|
|
205
|
+
showOkBtn: boolean;
|
|
204
206
|
confirmLoading: boolean;
|
|
207
|
+
cancelLoading: boolean;
|
|
205
208
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
206
209
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
207
210
|
};
|
|
208
211
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
209
|
-
modal: boolean;
|
|
210
|
-
resizer: boolean;
|
|
211
|
-
cancelLoading: boolean;
|
|
212
212
|
isBottom: boolean;
|
|
213
213
|
}> & Omit<{
|
|
214
214
|
readonly title: any;
|
|
@@ -222,25 +222,25 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
222
222
|
readonly showFooter: boolean;
|
|
223
223
|
readonly draggable: boolean;
|
|
224
224
|
readonly testId: any;
|
|
225
|
-
readonly
|
|
226
|
-
readonly showCancelBtn: boolean;
|
|
225
|
+
readonly modal: boolean;
|
|
227
226
|
readonly cancelText: string;
|
|
228
227
|
readonly okText: string;
|
|
228
|
+
readonly resizer: boolean;
|
|
229
|
+
readonly showCancelBtn: boolean;
|
|
230
|
+
readonly showOkBtn: boolean;
|
|
229
231
|
readonly confirmLoading: boolean;
|
|
232
|
+
readonly cancelLoading: boolean;
|
|
230
233
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
231
234
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
232
235
|
};
|
|
233
236
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
234
|
-
readonly modal: boolean;
|
|
235
|
-
readonly resizer: boolean;
|
|
236
|
-
readonly cancelLoading: boolean;
|
|
237
237
|
readonly isBottom: boolean;
|
|
238
238
|
readonly top?: string | undefined;
|
|
239
239
|
readonly width?: string | number | undefined;
|
|
240
240
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
241
241
|
readonly loadingTip?: string | undefined;
|
|
242
242
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
243
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
243
|
+
} & 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">;
|
|
244
244
|
$attrs: {
|
|
245
245
|
[x: string]: unknown;
|
|
246
246
|
};
|
|
@@ -361,18 +361,18 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
361
361
|
showFooter: boolean;
|
|
362
362
|
draggable: boolean;
|
|
363
363
|
testId: any;
|
|
364
|
-
|
|
365
|
-
showCancelBtn: boolean;
|
|
364
|
+
modal: boolean;
|
|
366
365
|
cancelText: string;
|
|
367
366
|
okText: string;
|
|
367
|
+
resizer: boolean;
|
|
368
|
+
showCancelBtn: boolean;
|
|
369
|
+
showOkBtn: boolean;
|
|
368
370
|
confirmLoading: boolean;
|
|
371
|
+
cancelLoading: boolean;
|
|
369
372
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
370
373
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
371
374
|
};
|
|
372
375
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
373
|
-
modal: boolean;
|
|
374
|
-
resizer: boolean;
|
|
375
|
-
cancelLoading: boolean;
|
|
376
376
|
isBottom: boolean;
|
|
377
377
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
378
378
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -406,18 +406,18 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
406
406
|
showFooter: boolean;
|
|
407
407
|
draggable: boolean;
|
|
408
408
|
testId: any;
|
|
409
|
-
|
|
410
|
-
showCancelBtn: boolean;
|
|
409
|
+
modal: boolean;
|
|
411
410
|
cancelText: string;
|
|
412
411
|
okText: string;
|
|
412
|
+
resizer: boolean;
|
|
413
|
+
showCancelBtn: boolean;
|
|
414
|
+
showOkBtn: boolean;
|
|
413
415
|
confirmLoading: boolean;
|
|
416
|
+
cancelLoading: boolean;
|
|
414
417
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
415
418
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
416
419
|
};
|
|
417
420
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
418
|
-
modal: boolean;
|
|
419
|
-
resizer: boolean;
|
|
420
|
-
cancelLoading: boolean;
|
|
421
421
|
isBottom: boolean;
|
|
422
422
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
423
423
|
testId: any;
|
|
@@ -506,7 +506,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
506
506
|
};
|
|
507
507
|
}>> & Readonly<{
|
|
508
508
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
509
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
509
|
+
}>, "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<{
|
|
510
510
|
onScrollBottom: () => void;
|
|
511
511
|
elm: import('vue').Ref<any, any>;
|
|
512
512
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -674,30 +674,30 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
674
674
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
675
675
|
draggable: boolean;
|
|
676
676
|
testId: any;
|
|
677
|
-
|
|
678
|
-
showOkBtn: boolean;
|
|
679
|
-
showCancelBtn: boolean;
|
|
677
|
+
modal: boolean;
|
|
680
678
|
cancelText: string;
|
|
681
679
|
okText: string;
|
|
680
|
+
resizer: boolean;
|
|
681
|
+
showCancelBtn: boolean;
|
|
682
|
+
showOkBtn: boolean;
|
|
682
683
|
confirmLoading: boolean;
|
|
684
|
+
cancelLoading: boolean;
|
|
683
685
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
684
686
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
685
687
|
};
|
|
686
688
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
687
|
-
|
|
689
|
+
isBottom: boolean;
|
|
688
690
|
appendToBody: boolean;
|
|
691
|
+
destroyOnClose: boolean;
|
|
689
692
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
690
693
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
691
|
-
modal: boolean;
|
|
692
694
|
modalPenetrable: boolean;
|
|
693
695
|
openDelay: number;
|
|
694
696
|
closeDelay: number;
|
|
695
697
|
trapFocus: boolean;
|
|
698
|
+
headerAriaLevel: string;
|
|
696
699
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
697
700
|
ariaLevel: string;
|
|
698
|
-
resizer: boolean;
|
|
699
|
-
cancelLoading: boolean;
|
|
700
|
-
isBottom: boolean;
|
|
701
701
|
modalApi: import('.').TtModalExtendedModalApi;
|
|
702
702
|
}>;
|
|
703
703
|
__isFragment?: never;
|
|
@@ -860,30 +860,30 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
860
860
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
861
861
|
draggable: boolean;
|
|
862
862
|
testId: any;
|
|
863
|
-
|
|
864
|
-
showOkBtn: boolean;
|
|
865
|
-
showCancelBtn: boolean;
|
|
863
|
+
modal: boolean;
|
|
866
864
|
cancelText: string;
|
|
867
865
|
okText: string;
|
|
866
|
+
resizer: boolean;
|
|
867
|
+
showCancelBtn: boolean;
|
|
868
|
+
showOkBtn: boolean;
|
|
868
869
|
confirmLoading: boolean;
|
|
870
|
+
cancelLoading: boolean;
|
|
869
871
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
870
872
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
871
873
|
};
|
|
872
874
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
873
|
-
|
|
875
|
+
isBottom: boolean;
|
|
874
876
|
appendToBody: boolean;
|
|
877
|
+
destroyOnClose: boolean;
|
|
875
878
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
876
879
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
877
|
-
modal: boolean;
|
|
878
880
|
modalPenetrable: boolean;
|
|
879
881
|
openDelay: number;
|
|
880
882
|
closeDelay: number;
|
|
881
883
|
trapFocus: boolean;
|
|
884
|
+
headerAriaLevel: string;
|
|
882
885
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
883
886
|
ariaLevel: string;
|
|
884
|
-
resizer: boolean;
|
|
885
|
-
cancelLoading: boolean;
|
|
886
|
-
isBottom: boolean;
|
|
887
887
|
modalApi: import('.').TtModalExtendedModalApi;
|
|
888
888
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
889
889
|
$slots: Readonly<{
|
|
@@ -1061,30 +1061,30 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1061
1061
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1062
1062
|
draggable: boolean;
|
|
1063
1063
|
testId: any;
|
|
1064
|
-
|
|
1065
|
-
showOkBtn: boolean;
|
|
1066
|
-
showCancelBtn: boolean;
|
|
1064
|
+
modal: boolean;
|
|
1067
1065
|
cancelText: string;
|
|
1068
1066
|
okText: string;
|
|
1067
|
+
resizer: boolean;
|
|
1068
|
+
showCancelBtn: boolean;
|
|
1069
|
+
showOkBtn: boolean;
|
|
1069
1070
|
confirmLoading: boolean;
|
|
1071
|
+
cancelLoading: boolean;
|
|
1070
1072
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1071
1073
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1072
1074
|
};
|
|
1073
1075
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1074
|
-
|
|
1076
|
+
isBottom: boolean;
|
|
1075
1077
|
appendToBody: boolean;
|
|
1078
|
+
destroyOnClose: boolean;
|
|
1076
1079
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1077
1080
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1078
|
-
modal: boolean;
|
|
1079
1081
|
modalPenetrable: boolean;
|
|
1080
1082
|
openDelay: number;
|
|
1081
1083
|
closeDelay: number;
|
|
1082
1084
|
trapFocus: boolean;
|
|
1085
|
+
headerAriaLevel: string;
|
|
1083
1086
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1084
1087
|
ariaLevel: string;
|
|
1085
|
-
resizer: boolean;
|
|
1086
|
-
cancelLoading: boolean;
|
|
1087
|
-
isBottom: boolean;
|
|
1088
1088
|
modalApi: import('.').TtModalExtendedModalApi;
|
|
1089
1089
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1090
1090
|
modalWrapperRef: ({
|
|
@@ -1102,18 +1102,18 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1102
1102
|
showFooter: boolean;
|
|
1103
1103
|
draggable: boolean;
|
|
1104
1104
|
testId: any;
|
|
1105
|
-
|
|
1106
|
-
showCancelBtn: boolean;
|
|
1105
|
+
modal: boolean;
|
|
1107
1106
|
cancelText: string;
|
|
1108
1107
|
okText: string;
|
|
1108
|
+
resizer: boolean;
|
|
1109
|
+
showCancelBtn: boolean;
|
|
1110
|
+
showOkBtn: boolean;
|
|
1109
1111
|
confirmLoading: boolean;
|
|
1112
|
+
cancelLoading: boolean;
|
|
1110
1113
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1111
1114
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1112
1115
|
};
|
|
1113
1116
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1114
|
-
modal: boolean;
|
|
1115
|
-
resizer: boolean;
|
|
1116
|
-
cancelLoading: boolean;
|
|
1117
1117
|
isBottom: boolean;
|
|
1118
1118
|
}> & Omit<{
|
|
1119
1119
|
readonly title: any;
|
|
@@ -1127,25 +1127,25 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1127
1127
|
readonly showFooter: boolean;
|
|
1128
1128
|
readonly draggable: boolean;
|
|
1129
1129
|
readonly testId: any;
|
|
1130
|
-
readonly
|
|
1131
|
-
readonly showCancelBtn: boolean;
|
|
1130
|
+
readonly modal: boolean;
|
|
1132
1131
|
readonly cancelText: string;
|
|
1133
1132
|
readonly okText: string;
|
|
1133
|
+
readonly resizer: boolean;
|
|
1134
|
+
readonly showCancelBtn: boolean;
|
|
1135
|
+
readonly showOkBtn: boolean;
|
|
1134
1136
|
readonly confirmLoading: boolean;
|
|
1137
|
+
readonly cancelLoading: boolean;
|
|
1135
1138
|
readonly okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1136
1139
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1137
1140
|
};
|
|
1138
1141
|
readonly cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1139
|
-
readonly modal: boolean;
|
|
1140
|
-
readonly resizer: boolean;
|
|
1141
|
-
readonly cancelLoading: boolean;
|
|
1142
1142
|
readonly isBottom: boolean;
|
|
1143
1143
|
readonly top?: string | undefined;
|
|
1144
1144
|
readonly width?: string | number | undefined;
|
|
1145
1145
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
1146
1146
|
readonly loadingTip?: string | undefined;
|
|
1147
1147
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1148
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
1148
|
+
} & 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">;
|
|
1149
1149
|
$attrs: {
|
|
1150
1150
|
[x: string]: unknown;
|
|
1151
1151
|
};
|
|
@@ -1266,18 +1266,18 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1266
1266
|
showFooter: boolean;
|
|
1267
1267
|
draggable: boolean;
|
|
1268
1268
|
testId: any;
|
|
1269
|
-
|
|
1270
|
-
showCancelBtn: boolean;
|
|
1269
|
+
modal: boolean;
|
|
1271
1270
|
cancelText: string;
|
|
1272
1271
|
okText: string;
|
|
1272
|
+
resizer: boolean;
|
|
1273
|
+
showCancelBtn: boolean;
|
|
1274
|
+
showOkBtn: boolean;
|
|
1273
1275
|
confirmLoading: boolean;
|
|
1276
|
+
cancelLoading: boolean;
|
|
1274
1277
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1275
1278
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1276
1279
|
};
|
|
1277
1280
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1278
|
-
modal: boolean;
|
|
1279
|
-
resizer: boolean;
|
|
1280
|
-
cancelLoading: boolean;
|
|
1281
1281
|
isBottom: boolean;
|
|
1282
1282
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
1283
1283
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -1311,18 +1311,18 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1311
1311
|
showFooter: boolean;
|
|
1312
1312
|
draggable: boolean;
|
|
1313
1313
|
testId: any;
|
|
1314
|
-
|
|
1315
|
-
showCancelBtn: boolean;
|
|
1314
|
+
modal: boolean;
|
|
1316
1315
|
cancelText: string;
|
|
1317
1316
|
okText: string;
|
|
1317
|
+
resizer: boolean;
|
|
1318
|
+
showCancelBtn: boolean;
|
|
1319
|
+
showOkBtn: boolean;
|
|
1318
1320
|
confirmLoading: boolean;
|
|
1321
|
+
cancelLoading: boolean;
|
|
1319
1322
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1320
1323
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1321
1324
|
};
|
|
1322
1325
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1323
|
-
modal: boolean;
|
|
1324
|
-
resizer: boolean;
|
|
1325
|
-
cancelLoading: boolean;
|
|
1326
1326
|
isBottom: boolean;
|
|
1327
1327
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
1328
1328
|
testId: any;
|
|
@@ -1411,7 +1411,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1411
1411
|
};
|
|
1412
1412
|
}>> & Readonly<{
|
|
1413
1413
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1414
|
-
}>, "onScrollBottom" | "elm" | ("title" | "fullscreen" | "visible" | "size" | "height" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "draggable" | "testId" | "
|
|
1414
|
+
}>, "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<{
|
|
1415
1415
|
onScrollBottom: () => void;
|
|
1416
1416
|
elm: import('vue').Ref<any, any>;
|
|
1417
1417
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -1579,30 +1579,30 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1579
1579
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1580
1580
|
draggable: boolean;
|
|
1581
1581
|
testId: any;
|
|
1582
|
-
|
|
1583
|
-
showOkBtn: boolean;
|
|
1584
|
-
showCancelBtn: boolean;
|
|
1582
|
+
modal: boolean;
|
|
1585
1583
|
cancelText: string;
|
|
1586
1584
|
okText: string;
|
|
1585
|
+
resizer: boolean;
|
|
1586
|
+
showCancelBtn: boolean;
|
|
1587
|
+
showOkBtn: boolean;
|
|
1587
1588
|
confirmLoading: boolean;
|
|
1589
|
+
cancelLoading: boolean;
|
|
1588
1590
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1589
1591
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1590
1592
|
};
|
|
1591
1593
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1592
|
-
|
|
1594
|
+
isBottom: boolean;
|
|
1593
1595
|
appendToBody: boolean;
|
|
1596
|
+
destroyOnClose: boolean;
|
|
1594
1597
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1595
1598
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1596
|
-
modal: boolean;
|
|
1597
1599
|
modalPenetrable: boolean;
|
|
1598
1600
|
openDelay: number;
|
|
1599
1601
|
closeDelay: number;
|
|
1600
1602
|
trapFocus: boolean;
|
|
1603
|
+
headerAriaLevel: string;
|
|
1601
1604
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1602
1605
|
ariaLevel: string;
|
|
1603
|
-
resizer: boolean;
|
|
1604
|
-
cancelLoading: boolean;
|
|
1605
|
-
isBottom: boolean;
|
|
1606
1606
|
modalApi: import('.').TtModalExtendedModalApi;
|
|
1607
1607
|
}>;
|
|
1608
1608
|
__isFragment?: never;
|
|
@@ -1765,30 +1765,30 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1765
1765
|
overflow: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1766
1766
|
draggable: boolean;
|
|
1767
1767
|
testId: any;
|
|
1768
|
-
|
|
1769
|
-
showOkBtn: boolean;
|
|
1770
|
-
showCancelBtn: boolean;
|
|
1768
|
+
modal: boolean;
|
|
1771
1769
|
cancelText: string;
|
|
1772
1770
|
okText: string;
|
|
1771
|
+
resizer: boolean;
|
|
1772
|
+
showCancelBtn: boolean;
|
|
1773
|
+
showOkBtn: boolean;
|
|
1773
1774
|
confirmLoading: boolean;
|
|
1775
|
+
cancelLoading: boolean;
|
|
1774
1776
|
okButtonProps: Partial<import('element-plus').ButtonProps> & {
|
|
1775
1777
|
disabledTip?: import('../../directives/disabled-tip').TipConfig | import('../../directives/disabled-tip').TipConfig[];
|
|
1776
1778
|
};
|
|
1777
1779
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1778
|
-
|
|
1780
|
+
isBottom: boolean;
|
|
1779
1781
|
appendToBody: boolean;
|
|
1782
|
+
destroyOnClose: boolean;
|
|
1780
1783
|
closeOnClickModal: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1781
1784
|
lockScroll: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1782
|
-
modal: boolean;
|
|
1783
1785
|
modalPenetrable: boolean;
|
|
1784
1786
|
openDelay: number;
|
|
1785
1787
|
closeDelay: number;
|
|
1786
1788
|
trapFocus: boolean;
|
|
1789
|
+
headerAriaLevel: string;
|
|
1787
1790
|
alignCenter: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1788
1791
|
ariaLevel: string;
|
|
1789
|
-
resizer: boolean;
|
|
1790
|
-
cancelLoading: boolean;
|
|
1791
|
-
isBottom: boolean;
|
|
1792
1792
|
modalApi: import('.').TtModalExtendedModalApi;
|
|
1793
1793
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
1794
1794
|
$slots: Readonly<{
|