@dazhicheng/ui 1.6.4 → 1.6.6
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-modal/index.d.ts +32 -8
- package/dist/components/tt-modal/src/RenderModal.vue.d.ts +32 -8
- package/dist/components/tt-modal/src/RenderModal.vue.js +255 -193
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.d.ts +14 -2
- package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +61 -30
- package/dist/components/tt-modal/src/hooks/useModalRender.js +72 -71
- package/dist/components/tt-modal/src/typing.d.ts +5 -0
- package/dist/components/tt-modal/src/utils/modal-api.js +7 -5
- package/dist/components/tt-modal/src/utils/resolve-modal-target.d.ts +19 -0
- package/dist/components/tt-modal/src/utils/resolve-modal-target.js +153 -0
- package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +199 -167
- package/dist/components/tt-nav-anchor/src/types.d.ts +13 -4
- package/dist/components/tt-table/index.js +5 -4
- package/dist/components/tt-table/src/TableForm.vue.js +3 -2
- package/dist/directives/dialog-resize/use-draggable.js +47 -25
- package/dist/index.js +82 -81
- package/dist/style.css +1 -1
- package/package.json +3 -3
|
@@ -198,6 +198,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
198
198
|
fullscreen: boolean;
|
|
199
199
|
testId: any;
|
|
200
200
|
modal: boolean;
|
|
201
|
+
contained: boolean;
|
|
201
202
|
cancelText: string;
|
|
202
203
|
okText: string;
|
|
203
204
|
resizer: boolean;
|
|
@@ -223,6 +224,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
223
224
|
readonly fullscreen: boolean;
|
|
224
225
|
readonly testId: any;
|
|
225
226
|
readonly modal: boolean;
|
|
227
|
+
readonly contained: boolean;
|
|
226
228
|
readonly cancelText: string;
|
|
227
229
|
readonly okText: string;
|
|
228
230
|
readonly resizer: boolean;
|
|
@@ -240,7 +242,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
240
242
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
241
243
|
readonly loadingTip?: string | undefined;
|
|
242
244
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
243
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
245
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
244
246
|
$attrs: {
|
|
245
247
|
[x: string]: unknown;
|
|
246
248
|
};
|
|
@@ -258,6 +260,10 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
258
260
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
259
261
|
$el: HTMLDivElement;
|
|
260
262
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
263
|
+
contained: {
|
|
264
|
+
type: BooleanConstructor;
|
|
265
|
+
default: boolean;
|
|
266
|
+
};
|
|
261
267
|
testId: any;
|
|
262
268
|
visible: {
|
|
263
269
|
type: BooleanConstructor;
|
|
@@ -290,7 +296,6 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
290
296
|
type: BooleanConstructor;
|
|
291
297
|
default: boolean;
|
|
292
298
|
};
|
|
293
|
-
} & {
|
|
294
299
|
loading: {
|
|
295
300
|
type: BooleanConstructor;
|
|
296
301
|
default: boolean;
|
|
@@ -346,6 +351,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
346
351
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
347
352
|
}>, {
|
|
348
353
|
onScrollBottom: () => void;
|
|
354
|
+
setModalHeight: () => void;
|
|
349
355
|
elm: import('vue').Ref<any, any>;
|
|
350
356
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
351
357
|
"is-scroll": (...args: any[]) => void;
|
|
@@ -362,6 +368,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
362
368
|
fullscreen: boolean;
|
|
363
369
|
testId: any;
|
|
364
370
|
modal: boolean;
|
|
371
|
+
contained: boolean;
|
|
365
372
|
cancelText: string;
|
|
366
373
|
okText: string;
|
|
367
374
|
resizer: boolean;
|
|
@@ -407,6 +414,7 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
407
414
|
fullscreen: boolean;
|
|
408
415
|
testId: any;
|
|
409
416
|
modal: boolean;
|
|
417
|
+
contained: boolean;
|
|
410
418
|
cancelText: string;
|
|
411
419
|
okText: string;
|
|
412
420
|
resizer: boolean;
|
|
@@ -420,6 +428,10 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
420
428
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
421
429
|
isBottom: boolean;
|
|
422
430
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
431
|
+
contained: {
|
|
432
|
+
type: BooleanConstructor;
|
|
433
|
+
default: boolean;
|
|
434
|
+
};
|
|
423
435
|
testId: any;
|
|
424
436
|
visible: {
|
|
425
437
|
type: BooleanConstructor;
|
|
@@ -452,7 +464,6 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
452
464
|
type: BooleanConstructor;
|
|
453
465
|
default: boolean;
|
|
454
466
|
};
|
|
455
|
-
} & {
|
|
456
467
|
loading: {
|
|
457
468
|
type: BooleanConstructor;
|
|
458
469
|
default: boolean;
|
|
@@ -506,8 +517,9 @@ export declare const RenderModal: import('../../../../utils/src').SFCWithInstall
|
|
|
506
517
|
};
|
|
507
518
|
}>> & Readonly<{
|
|
508
519
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
509
|
-
}>, "onScrollBottom" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
520
|
+
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
510
521
|
onScrollBottom: () => void;
|
|
522
|
+
setModalHeight: () => void;
|
|
511
523
|
elm: import('vue').Ref<any, any>;
|
|
512
524
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
513
525
|
$slots: {
|
|
@@ -1103,6 +1115,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1103
1115
|
fullscreen: boolean;
|
|
1104
1116
|
testId: any;
|
|
1105
1117
|
modal: boolean;
|
|
1118
|
+
contained: boolean;
|
|
1106
1119
|
cancelText: string;
|
|
1107
1120
|
okText: string;
|
|
1108
1121
|
resizer: boolean;
|
|
@@ -1128,6 +1141,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1128
1141
|
readonly fullscreen: boolean;
|
|
1129
1142
|
readonly testId: any;
|
|
1130
1143
|
readonly modal: boolean;
|
|
1144
|
+
readonly contained: boolean;
|
|
1131
1145
|
readonly cancelText: string;
|
|
1132
1146
|
readonly okText: string;
|
|
1133
1147
|
readonly resizer: boolean;
|
|
@@ -1145,7 +1159,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1145
1159
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
1146
1160
|
readonly loadingTip?: string | undefined;
|
|
1147
1161
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1148
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
1162
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
1149
1163
|
$attrs: {
|
|
1150
1164
|
[x: string]: unknown;
|
|
1151
1165
|
};
|
|
@@ -1163,6 +1177,10 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1163
1177
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
1164
1178
|
$el: HTMLDivElement;
|
|
1165
1179
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
1180
|
+
contained: {
|
|
1181
|
+
type: BooleanConstructor;
|
|
1182
|
+
default: boolean;
|
|
1183
|
+
};
|
|
1166
1184
|
testId: any;
|
|
1167
1185
|
visible: {
|
|
1168
1186
|
type: BooleanConstructor;
|
|
@@ -1195,7 +1213,6 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1195
1213
|
type: BooleanConstructor;
|
|
1196
1214
|
default: boolean;
|
|
1197
1215
|
};
|
|
1198
|
-
} & {
|
|
1199
1216
|
loading: {
|
|
1200
1217
|
type: BooleanConstructor;
|
|
1201
1218
|
default: boolean;
|
|
@@ -1251,6 +1268,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1251
1268
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1252
1269
|
}>, {
|
|
1253
1270
|
onScrollBottom: () => void;
|
|
1271
|
+
setModalHeight: () => void;
|
|
1254
1272
|
elm: import('vue').Ref<any, any>;
|
|
1255
1273
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1256
1274
|
"is-scroll": (...args: any[]) => void;
|
|
@@ -1267,6 +1285,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1267
1285
|
fullscreen: boolean;
|
|
1268
1286
|
testId: any;
|
|
1269
1287
|
modal: boolean;
|
|
1288
|
+
contained: boolean;
|
|
1270
1289
|
cancelText: string;
|
|
1271
1290
|
okText: string;
|
|
1272
1291
|
resizer: boolean;
|
|
@@ -1312,6 +1331,7 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1312
1331
|
fullscreen: boolean;
|
|
1313
1332
|
testId: any;
|
|
1314
1333
|
modal: boolean;
|
|
1334
|
+
contained: boolean;
|
|
1315
1335
|
cancelText: string;
|
|
1316
1336
|
okText: string;
|
|
1317
1337
|
resizer: boolean;
|
|
@@ -1325,6 +1345,10 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1325
1345
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
1326
1346
|
isBottom: boolean;
|
|
1327
1347
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
1348
|
+
contained: {
|
|
1349
|
+
type: BooleanConstructor;
|
|
1350
|
+
default: boolean;
|
|
1351
|
+
};
|
|
1328
1352
|
testId: any;
|
|
1329
1353
|
visible: {
|
|
1330
1354
|
type: BooleanConstructor;
|
|
@@ -1357,7 +1381,6 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1357
1381
|
type: BooleanConstructor;
|
|
1358
1382
|
default: boolean;
|
|
1359
1383
|
};
|
|
1360
|
-
} & {
|
|
1361
1384
|
loading: {
|
|
1362
1385
|
type: BooleanConstructor;
|
|
1363
1386
|
default: boolean;
|
|
@@ -1411,8 +1434,9 @@ export declare const TtModal: import('../../../../utils/src').SFCWithInstall<{
|
|
|
1411
1434
|
};
|
|
1412
1435
|
}>> & Readonly<{
|
|
1413
1436
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
1414
|
-
}>, "onScrollBottom" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
1437
|
+
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
1415
1438
|
onScrollBottom: () => void;
|
|
1439
|
+
setModalHeight: () => void;
|
|
1416
1440
|
elm: import('vue').Ref<any, any>;
|
|
1417
1441
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
1418
1442
|
$slots: {
|
|
@@ -33,6 +33,7 @@ declare function __VLS_template(): {
|
|
|
33
33
|
fullscreen: boolean;
|
|
34
34
|
testId: any;
|
|
35
35
|
modal: boolean;
|
|
36
|
+
contained: boolean;
|
|
36
37
|
cancelText: string;
|
|
37
38
|
okText: string;
|
|
38
39
|
resizer: boolean;
|
|
@@ -58,6 +59,7 @@ declare function __VLS_template(): {
|
|
|
58
59
|
readonly fullscreen: boolean;
|
|
59
60
|
readonly testId: any;
|
|
60
61
|
readonly modal: boolean;
|
|
62
|
+
readonly contained: boolean;
|
|
61
63
|
readonly cancelText: string;
|
|
62
64
|
readonly okText: string;
|
|
63
65
|
readonly resizer: boolean;
|
|
@@ -75,7 +77,7 @@ declare function __VLS_template(): {
|
|
|
75
77
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
76
78
|
readonly loadingTip?: string | undefined;
|
|
77
79
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
78
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
80
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
79
81
|
$attrs: {
|
|
80
82
|
[x: string]: unknown;
|
|
81
83
|
};
|
|
@@ -93,6 +95,10 @@ declare function __VLS_template(): {
|
|
|
93
95
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
94
96
|
$el: HTMLDivElement;
|
|
95
97
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
98
|
+
contained: {
|
|
99
|
+
type: BooleanConstructor;
|
|
100
|
+
default: boolean;
|
|
101
|
+
};
|
|
96
102
|
testId: any;
|
|
97
103
|
visible: {
|
|
98
104
|
type: BooleanConstructor;
|
|
@@ -125,7 +131,6 @@ declare function __VLS_template(): {
|
|
|
125
131
|
type: BooleanConstructor;
|
|
126
132
|
default: boolean;
|
|
127
133
|
};
|
|
128
|
-
} & {
|
|
129
134
|
loading: {
|
|
130
135
|
type: BooleanConstructor;
|
|
131
136
|
default: boolean;
|
|
@@ -181,6 +186,7 @@ declare function __VLS_template(): {
|
|
|
181
186
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
182
187
|
}>, {
|
|
183
188
|
onScrollBottom: () => void;
|
|
189
|
+
setModalHeight: () => void;
|
|
184
190
|
elm: import('vue').Ref<any, any>;
|
|
185
191
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
186
192
|
"is-scroll": (...args: any[]) => void;
|
|
@@ -197,6 +203,7 @@ declare function __VLS_template(): {
|
|
|
197
203
|
fullscreen: boolean;
|
|
198
204
|
testId: any;
|
|
199
205
|
modal: boolean;
|
|
206
|
+
contained: boolean;
|
|
200
207
|
cancelText: string;
|
|
201
208
|
okText: string;
|
|
202
209
|
resizer: boolean;
|
|
@@ -242,6 +249,7 @@ declare function __VLS_template(): {
|
|
|
242
249
|
fullscreen: boolean;
|
|
243
250
|
testId: any;
|
|
244
251
|
modal: boolean;
|
|
252
|
+
contained: boolean;
|
|
245
253
|
cancelText: string;
|
|
246
254
|
okText: string;
|
|
247
255
|
resizer: boolean;
|
|
@@ -255,6 +263,10 @@ declare function __VLS_template(): {
|
|
|
255
263
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
256
264
|
isBottom: boolean;
|
|
257
265
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
266
|
+
contained: {
|
|
267
|
+
type: BooleanConstructor;
|
|
268
|
+
default: boolean;
|
|
269
|
+
};
|
|
258
270
|
testId: any;
|
|
259
271
|
visible: {
|
|
260
272
|
type: BooleanConstructor;
|
|
@@ -287,7 +299,6 @@ declare function __VLS_template(): {
|
|
|
287
299
|
type: BooleanConstructor;
|
|
288
300
|
default: boolean;
|
|
289
301
|
};
|
|
290
|
-
} & {
|
|
291
302
|
loading: {
|
|
292
303
|
type: BooleanConstructor;
|
|
293
304
|
default: boolean;
|
|
@@ -341,8 +352,9 @@ declare function __VLS_template(): {
|
|
|
341
352
|
};
|
|
342
353
|
}>> & Readonly<{
|
|
343
354
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
344
|
-
}>, "onScrollBottom" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
355
|
+
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
345
356
|
onScrollBottom: () => void;
|
|
357
|
+
setModalHeight: () => void;
|
|
346
358
|
elm: import('vue').Ref<any, any>;
|
|
347
359
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
348
360
|
$slots: {
|
|
@@ -682,6 +694,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
682
694
|
fullscreen: boolean;
|
|
683
695
|
testId: any;
|
|
684
696
|
modal: boolean;
|
|
697
|
+
contained: boolean;
|
|
685
698
|
cancelText: string;
|
|
686
699
|
okText: string;
|
|
687
700
|
resizer: boolean;
|
|
@@ -707,6 +720,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
707
720
|
readonly fullscreen: boolean;
|
|
708
721
|
readonly testId: any;
|
|
709
722
|
readonly modal: boolean;
|
|
723
|
+
readonly contained: boolean;
|
|
710
724
|
readonly cancelText: string;
|
|
711
725
|
readonly okText: string;
|
|
712
726
|
readonly resizer: boolean;
|
|
@@ -724,7 +738,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
724
738
|
readonly closeFunc?: (() => Promise<boolean>) | undefined;
|
|
725
739
|
readonly loadingTip?: string | undefined;
|
|
726
740
|
readonly "onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
727
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
741
|
+
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom">;
|
|
728
742
|
$attrs: {
|
|
729
743
|
[x: string]: unknown;
|
|
730
744
|
};
|
|
@@ -742,6 +756,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
742
756
|
$emit: (event: "is-scroll", ...args: any[]) => void;
|
|
743
757
|
$el: HTMLDivElement;
|
|
744
758
|
$options: import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
759
|
+
contained: {
|
|
760
|
+
type: BooleanConstructor;
|
|
761
|
+
default: boolean;
|
|
762
|
+
};
|
|
745
763
|
testId: any;
|
|
746
764
|
visible: {
|
|
747
765
|
type: BooleanConstructor;
|
|
@@ -774,7 +792,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
774
792
|
type: BooleanConstructor;
|
|
775
793
|
default: boolean;
|
|
776
794
|
};
|
|
777
|
-
} & {
|
|
778
795
|
loading: {
|
|
779
796
|
type: BooleanConstructor;
|
|
780
797
|
default: boolean;
|
|
@@ -830,6 +847,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
830
847
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
831
848
|
}>, {
|
|
832
849
|
onScrollBottom: () => void;
|
|
850
|
+
setModalHeight: () => void;
|
|
833
851
|
elm: import('vue').Ref<any, any>;
|
|
834
852
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
835
853
|
"is-scroll": (...args: any[]) => void;
|
|
@@ -846,6 +864,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
846
864
|
fullscreen: boolean;
|
|
847
865
|
testId: any;
|
|
848
866
|
modal: boolean;
|
|
867
|
+
contained: boolean;
|
|
849
868
|
cancelText: string;
|
|
850
869
|
okText: string;
|
|
851
870
|
resizer: boolean;
|
|
@@ -891,6 +910,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
891
910
|
fullscreen: boolean;
|
|
892
911
|
testId: any;
|
|
893
912
|
modal: boolean;
|
|
913
|
+
contained: boolean;
|
|
894
914
|
cancelText: string;
|
|
895
915
|
okText: string;
|
|
896
916
|
resizer: boolean;
|
|
@@ -904,6 +924,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
904
924
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
905
925
|
isBottom: boolean;
|
|
906
926
|
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
927
|
+
contained: {
|
|
928
|
+
type: BooleanConstructor;
|
|
929
|
+
default: boolean;
|
|
930
|
+
};
|
|
907
931
|
testId: any;
|
|
908
932
|
visible: {
|
|
909
933
|
type: BooleanConstructor;
|
|
@@ -936,7 +960,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
936
960
|
type: BooleanConstructor;
|
|
937
961
|
default: boolean;
|
|
938
962
|
};
|
|
939
|
-
} & {
|
|
940
963
|
loading: {
|
|
941
964
|
type: BooleanConstructor;
|
|
942
965
|
default: boolean;
|
|
@@ -990,8 +1013,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
990
1013
|
};
|
|
991
1014
|
}>> & Readonly<{
|
|
992
1015
|
"onIs-scroll"?: ((...args: any[]) => any) | undefined;
|
|
993
|
-
}>, "onScrollBottom" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
1016
|
+
}>, "onScrollBottom" | "setModalHeight" | "elm" | ("title" | "visible" | "size" | "height" | "draggable" | "loading" | "scrollTop" | "minHeight" | "showFooter" | "fullscreen" | "testId" | "modal" | "contained" | "cancelText" | "okText" | "resizer" | "showCancelBtn" | "showOkBtn" | "confirmLoading" | "cancelLoading" | "okButtonProps" | "cancelButtonProps" | "isBottom")> & import('vue').ShallowUnwrapRef<{
|
|
994
1017
|
onScrollBottom: () => void;
|
|
1018
|
+
setModalHeight: () => void;
|
|
995
1019
|
elm: import('vue').Ref<any, any>;
|
|
996
1020
|
}> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
997
1021
|
$slots: {
|