3h1-ui 3.0.0-next.231 → 3.0.0-next.233

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.
@@ -1,37 +1,8 @@
1
1
  export { useModalContext } from './src/hooks/useModalContext';
2
2
  export { useModal, useModalInner } from './src/hooks/useModal';
3
+ export { basicProps as BasicModalProps } from './src/props';
3
4
  export declare const BasicModal: {
4
5
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
5
- visible: {
6
- type: BooleanConstructor;
7
- };
8
- scrollTop: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- height: {
13
- type: NumberConstructor;
14
- };
15
- minHeight: {
16
- type: NumberConstructor;
17
- };
18
- draggable: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- centered: {
23
- type: BooleanConstructor;
24
- };
25
- cancelText: {
26
- type: StringConstructor;
27
- default: string;
28
- };
29
- okText: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- closeFunc: import("vue").PropType<() => Promise<boolean>>;
34
- } & {
35
6
  defaultFullscreen: {
36
7
  type: BooleanConstructor;
37
8
  };
@@ -43,7 +14,7 @@ export declare const BasicModal: {
43
14
  type: NumberConstructor;
44
15
  default: number;
45
16
  };
46
- helpMessage: import("vue").PropType<string | string[]>;
17
+ helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
47
18
  useWrapper: {
48
19
  type: BooleanConstructor;
49
20
  default: boolean;
@@ -62,22 +33,38 @@ export declare const BasicModal: {
62
33
  type: BooleanConstructor;
63
34
  default: boolean;
64
35
  };
65
- wrapperProps: import("vue").PropType<Partial<import("./src/typing").ModalWrapperProps>>;
66
- afterClose: import("vue").PropType<() => Promise<VueNode>>;
67
- bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
36
+ wrapperProps: ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>)) | ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>))[];
37
+ afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
38
+ (): () => Promise<VueNode>;
39
+ new (): any;
40
+ readonly prototype: any;
41
+ }) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
42
+ (): () => Promise<VueNode>;
43
+ new (): any;
44
+ readonly prototype: any;
45
+ })[];
46
+ bodyStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
68
47
  closable: {
69
48
  type: BooleanConstructor;
70
49
  default: boolean;
71
50
  };
72
- closeIcon: import("vue").PropType<VueNode>;
51
+ closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
73
52
  confirmLoading: {
74
53
  type: BooleanConstructor;
75
54
  };
76
55
  destroyOnClose: {
77
56
  type: BooleanConstructor;
78
57
  };
79
- footer: import("vue").PropType<VueNode>;
80
- getContainer: import("vue").PropType<() => any>;
58
+ footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
59
+ getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
60
+ (): () => any;
61
+ new (): any;
62
+ readonly prototype: any;
63
+ }) | ((new (...args: any[]) => () => any) | (() => () => any) | {
64
+ (): () => any;
65
+ new (): any;
66
+ readonly prototype: any;
67
+ })[];
81
68
  mask: {
82
69
  type: BooleanConstructor;
83
70
  default: boolean;
@@ -90,16 +77,16 @@ export declare const BasicModal: {
90
77
  type: BooleanConstructor;
91
78
  default: boolean;
92
79
  };
93
- maskStyle: import("vue").PropType<import("vue").CSSProperties>;
80
+ maskStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
94
81
  okType: {
95
82
  type: StringConstructor;
96
83
  default: string;
97
84
  };
98
85
  okButtonProps: {
99
- type: import("vue").PropType<Recordable<any>>;
86
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
100
87
  };
101
88
  cancelButtonProps: {
102
- type: import("vue").PropType<Recordable<any>>;
89
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
103
90
  };
104
91
  title: {
105
92
  type: StringConstructor;
@@ -107,7 +94,7 @@ export declare const BasicModal: {
107
94
  visible: {
108
95
  type: BooleanConstructor;
109
96
  };
110
- width: import("vue").PropType<string | number>;
97
+ width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
111
98
  wrapClassName: {
112
99
  type: StringConstructor;
113
100
  };
@@ -115,37 +102,9 @@ export declare const BasicModal: {
115
102
  type: NumberConstructor;
116
103
  };
117
104
  size: {
118
- type: import("vue").PropType<"small" | "default" | "large">;
105
+ type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
119
106
  default: string;
120
107
  };
121
- }>> & {
122
- "onUpdate:visible"?: (...args: any[]) => any;
123
- onCancel?: (...args: any[]) => any;
124
- "onHeight-change"?: (...args: any[]) => any;
125
- onOk?: (...args: any[]) => any;
126
- "onVisible-change"?: (...args: any[]) => any;
127
- onRegister?: (...args: any[]) => any;
128
- }, {
129
- prefixCls: string;
130
- handleCancel: (e: Event) => Promise<void>;
131
- getBindValue: import("vue").ComputedRef<Recordable<any>>;
132
- getProps: import("vue").ComputedRef<Recordable<any>>;
133
- handleFullScreen: (e: Event) => void;
134
- fullScreenRef: import("vue").Ref<boolean>;
135
- getMergeProps: import("vue").ComputedRef<Recordable<any>>;
136
- handleOk: (e: Event) => void;
137
- visibleRef: import("vue").Ref<boolean>;
138
- omitBindValue: Object;
139
- omitSlotKeys: import("vue").ComputedRef<string[]>;
140
- modalWrapperRef: import("vue").Ref<any>;
141
- handleExtHeight: (height: number) => void;
142
- handleHeightChange: (height: string) => void;
143
- handleTitleDbClick: (e: Event) => void;
144
- getWrapperHeight: import("vue").ComputedRef<any>;
145
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "height-change" | "ok" | "visible-change" | "register" | "update:visible")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
146
- visible: {
147
- type: BooleanConstructor;
148
- };
149
108
  scrollTop: {
150
109
  type: BooleanConstructor;
151
110
  default: boolean;
@@ -171,8 +130,40 @@ export declare const BasicModal: {
171
130
  type: StringConstructor;
172
131
  default: string;
173
132
  };
174
- closeFunc: import("vue").PropType<() => Promise<boolean>>;
175
- } & {
133
+ closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
134
+ (): () => Promise<boolean>;
135
+ new (): any;
136
+ readonly prototype: any;
137
+ }) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
138
+ (): () => Promise<boolean>;
139
+ new (): any;
140
+ readonly prototype: any;
141
+ })[];
142
+ }>> & {
143
+ "onUpdate:visible"?: (...args: any[]) => any;
144
+ onCancel?: (...args: any[]) => any;
145
+ "onHeight-change"?: (...args: any[]) => any;
146
+ onOk?: (...args: any[]) => any;
147
+ "onVisible-change"?: (...args: any[]) => any;
148
+ onRegister?: (...args: any[]) => any;
149
+ }, {
150
+ prefixCls: string;
151
+ handleCancel: (e: Event) => Promise<void>;
152
+ getBindValue: import("vue").ComputedRef<Recordable<any>>;
153
+ getProps: import("vue").ComputedRef<Recordable<any>>;
154
+ handleFullScreen: (e: Event) => void;
155
+ fullScreenRef: import("vue").Ref<boolean>;
156
+ getMergeProps: import("vue").ComputedRef<Recordable<any>>;
157
+ handleOk: (e: Event) => void;
158
+ visibleRef: import("vue").Ref<boolean>;
159
+ omitBindValue: Object;
160
+ omitSlotKeys: import("vue").ComputedRef<string[]>;
161
+ modalWrapperRef: import("vue").Ref<any>;
162
+ handleExtHeight: (height: number) => void;
163
+ handleHeightChange: (height: string) => void;
164
+ handleTitleDbClick: (e: Event) => void;
165
+ getWrapperHeight: import("vue").ComputedRef<any>;
166
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "height-change" | "ok" | "visible-change" | "register" | "update:visible")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
176
167
  defaultFullscreen: {
177
168
  type: BooleanConstructor;
178
169
  };
@@ -184,7 +175,7 @@ export declare const BasicModal: {
184
175
  type: NumberConstructor;
185
176
  default: number;
186
177
  };
187
- helpMessage: import("vue").PropType<string | string[]>;
178
+ helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
188
179
  useWrapper: {
189
180
  type: BooleanConstructor;
190
181
  default: boolean;
@@ -203,22 +194,38 @@ export declare const BasicModal: {
203
194
  type: BooleanConstructor;
204
195
  default: boolean;
205
196
  };
206
- wrapperProps: import("vue").PropType<Partial<import("./src/typing").ModalWrapperProps>>;
207
- afterClose: import("vue").PropType<() => Promise<VueNode>>;
208
- bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
197
+ wrapperProps: ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>)) | ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>))[];
198
+ afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
199
+ (): () => Promise<VueNode>;
200
+ new (): any;
201
+ readonly prototype: any;
202
+ }) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
203
+ (): () => Promise<VueNode>;
204
+ new (): any;
205
+ readonly prototype: any;
206
+ })[];
207
+ bodyStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
209
208
  closable: {
210
209
  type: BooleanConstructor;
211
210
  default: boolean;
212
211
  };
213
- closeIcon: import("vue").PropType<VueNode>;
212
+ closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
214
213
  confirmLoading: {
215
214
  type: BooleanConstructor;
216
215
  };
217
216
  destroyOnClose: {
218
217
  type: BooleanConstructor;
219
218
  };
220
- footer: import("vue").PropType<VueNode>;
221
- getContainer: import("vue").PropType<() => any>;
219
+ footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
220
+ getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
221
+ (): () => any;
222
+ new (): any;
223
+ readonly prototype: any;
224
+ }) | ((new (...args: any[]) => () => any) | (() => () => any) | {
225
+ (): () => any;
226
+ new (): any;
227
+ readonly prototype: any;
228
+ })[];
222
229
  mask: {
223
230
  type: BooleanConstructor;
224
231
  default: boolean;
@@ -231,16 +238,16 @@ export declare const BasicModal: {
231
238
  type: BooleanConstructor;
232
239
  default: boolean;
233
240
  };
234
- maskStyle: import("vue").PropType<import("vue").CSSProperties>;
241
+ maskStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
235
242
  okType: {
236
243
  type: StringConstructor;
237
244
  default: string;
238
245
  };
239
246
  okButtonProps: {
240
- type: import("vue").PropType<Recordable<any>>;
247
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
241
248
  };
242
249
  cancelButtonProps: {
243
- type: import("vue").PropType<Recordable<any>>;
250
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
244
251
  };
245
252
  title: {
246
253
  type: StringConstructor;
@@ -248,7 +255,7 @@ export declare const BasicModal: {
248
255
  visible: {
249
256
  type: BooleanConstructor;
250
257
  };
251
- width: import("vue").PropType<string | number>;
258
+ width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
252
259
  wrapClassName: {
253
260
  type: StringConstructor;
254
261
  };
@@ -256,9 +263,43 @@ export declare const BasicModal: {
256
263
  type: NumberConstructor;
257
264
  };
258
265
  size: {
259
- type: import("vue").PropType<"small" | "default" | "large">;
266
+ type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
267
+ default: string;
268
+ };
269
+ scrollTop: {
270
+ type: BooleanConstructor;
271
+ default: boolean;
272
+ };
273
+ height: {
274
+ type: NumberConstructor;
275
+ };
276
+ minHeight: {
277
+ type: NumberConstructor;
278
+ };
279
+ draggable: {
280
+ type: BooleanConstructor;
281
+ default: boolean;
282
+ };
283
+ centered: {
284
+ type: BooleanConstructor;
285
+ };
286
+ cancelText: {
287
+ type: StringConstructor;
288
+ default: string;
289
+ };
290
+ okText: {
291
+ type: StringConstructor;
260
292
  default: string;
261
293
  };
294
+ closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
295
+ (): () => Promise<boolean>;
296
+ new (): any;
297
+ readonly prototype: any;
298
+ }) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
299
+ (): () => Promise<boolean>;
300
+ new (): any;
301
+ readonly prototype: any;
302
+ })[];
262
303
  }>> & {
263
304
  "onUpdate:visible"?: (...args: any[]) => any;
264
305
  onCancel?: (...args: any[]) => any;
@@ -296,36 +337,6 @@ export declare const BasicModal: {
296
337
  M: {};
297
338
  Defaults: {};
298
339
  }, Readonly<import("vue").ExtractPropTypes<{
299
- visible: {
300
- type: BooleanConstructor;
301
- };
302
- scrollTop: {
303
- type: BooleanConstructor;
304
- default: boolean;
305
- };
306
- height: {
307
- type: NumberConstructor;
308
- };
309
- minHeight: {
310
- type: NumberConstructor;
311
- };
312
- draggable: {
313
- type: BooleanConstructor;
314
- default: boolean;
315
- };
316
- centered: {
317
- type: BooleanConstructor;
318
- };
319
- cancelText: {
320
- type: StringConstructor;
321
- default: string;
322
- };
323
- okText: {
324
- type: StringConstructor;
325
- default: string;
326
- };
327
- closeFunc: import("vue").PropType<() => Promise<boolean>>;
328
- } & {
329
340
  defaultFullscreen: {
330
341
  type: BooleanConstructor;
331
342
  };
@@ -337,7 +348,7 @@ export declare const BasicModal: {
337
348
  type: NumberConstructor;
338
349
  default: number;
339
350
  };
340
- helpMessage: import("vue").PropType<string | string[]>;
351
+ helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
341
352
  useWrapper: {
342
353
  type: BooleanConstructor;
343
354
  default: boolean;
@@ -356,22 +367,38 @@ export declare const BasicModal: {
356
367
  type: BooleanConstructor;
357
368
  default: boolean;
358
369
  };
359
- wrapperProps: import("vue").PropType<Partial<import("./src/typing").ModalWrapperProps>>;
360
- afterClose: import("vue").PropType<() => Promise<VueNode>>;
361
- bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
370
+ wrapperProps: ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>)) | ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>))[];
371
+ afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
372
+ (): () => Promise<VueNode>;
373
+ new (): any;
374
+ readonly prototype: any;
375
+ }) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
376
+ (): () => Promise<VueNode>;
377
+ new (): any;
378
+ readonly prototype: any;
379
+ })[];
380
+ bodyStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
362
381
  closable: {
363
382
  type: BooleanConstructor;
364
383
  default: boolean;
365
384
  };
366
- closeIcon: import("vue").PropType<VueNode>;
385
+ closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
367
386
  confirmLoading: {
368
387
  type: BooleanConstructor;
369
388
  };
370
389
  destroyOnClose: {
371
390
  type: BooleanConstructor;
372
391
  };
373
- footer: import("vue").PropType<VueNode>;
374
- getContainer: import("vue").PropType<() => any>;
392
+ footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
393
+ getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
394
+ (): () => any;
395
+ new (): any;
396
+ readonly prototype: any;
397
+ }) | ((new (...args: any[]) => () => any) | (() => () => any) | {
398
+ (): () => any;
399
+ new (): any;
400
+ readonly prototype: any;
401
+ })[];
375
402
  mask: {
376
403
  type: BooleanConstructor;
377
404
  default: boolean;
@@ -384,16 +411,16 @@ export declare const BasicModal: {
384
411
  type: BooleanConstructor;
385
412
  default: boolean;
386
413
  };
387
- maskStyle: import("vue").PropType<import("vue").CSSProperties>;
414
+ maskStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
388
415
  okType: {
389
416
  type: StringConstructor;
390
417
  default: string;
391
418
  };
392
419
  okButtonProps: {
393
- type: import("vue").PropType<Recordable<any>>;
420
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
394
421
  };
395
422
  cancelButtonProps: {
396
- type: import("vue").PropType<Recordable<any>>;
423
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
397
424
  };
398
425
  title: {
399
426
  type: StringConstructor;
@@ -401,7 +428,7 @@ export declare const BasicModal: {
401
428
  visible: {
402
429
  type: BooleanConstructor;
403
430
  };
404
- width: import("vue").PropType<string | number>;
431
+ width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
405
432
  wrapClassName: {
406
433
  type: StringConstructor;
407
434
  };
@@ -409,9 +436,43 @@ export declare const BasicModal: {
409
436
  type: NumberConstructor;
410
437
  };
411
438
  size: {
412
- type: import("vue").PropType<"small" | "default" | "large">;
439
+ type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
440
+ default: string;
441
+ };
442
+ scrollTop: {
443
+ type: BooleanConstructor;
444
+ default: boolean;
445
+ };
446
+ height: {
447
+ type: NumberConstructor;
448
+ };
449
+ minHeight: {
450
+ type: NumberConstructor;
451
+ };
452
+ draggable: {
453
+ type: BooleanConstructor;
454
+ default: boolean;
455
+ };
456
+ centered: {
457
+ type: BooleanConstructor;
458
+ };
459
+ cancelText: {
460
+ type: StringConstructor;
461
+ default: string;
462
+ };
463
+ okText: {
464
+ type: StringConstructor;
413
465
  default: string;
414
466
  };
467
+ closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
468
+ (): () => Promise<boolean>;
469
+ new (): any;
470
+ readonly prototype: any;
471
+ }) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
472
+ (): () => Promise<boolean>;
473
+ new (): any;
474
+ readonly prototype: any;
475
+ })[];
415
476
  }>> & {
416
477
  "onUpdate:visible"?: (...args: any[]) => any;
417
478
  onCancel?: (...args: any[]) => any;
@@ -463,36 +524,6 @@ export declare const BasicModal: {
463
524
  __isTeleport?: never;
464
525
  __isSuspense?: never;
465
526
  } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
466
- visible: {
467
- type: BooleanConstructor;
468
- };
469
- scrollTop: {
470
- type: BooleanConstructor;
471
- default: boolean;
472
- };
473
- height: {
474
- type: NumberConstructor;
475
- };
476
- minHeight: {
477
- type: NumberConstructor;
478
- };
479
- draggable: {
480
- type: BooleanConstructor;
481
- default: boolean;
482
- };
483
- centered: {
484
- type: BooleanConstructor;
485
- };
486
- cancelText: {
487
- type: StringConstructor;
488
- default: string;
489
- };
490
- okText: {
491
- type: StringConstructor;
492
- default: string;
493
- };
494
- closeFunc: import("vue").PropType<() => Promise<boolean>>;
495
- } & {
496
527
  defaultFullscreen: {
497
528
  type: BooleanConstructor;
498
529
  };
@@ -504,7 +535,7 @@ export declare const BasicModal: {
504
535
  type: NumberConstructor;
505
536
  default: number;
506
537
  };
507
- helpMessage: import("vue").PropType<string | string[]>;
538
+ helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
508
539
  useWrapper: {
509
540
  type: BooleanConstructor;
510
541
  default: boolean;
@@ -523,22 +554,38 @@ export declare const BasicModal: {
523
554
  type: BooleanConstructor;
524
555
  default: boolean;
525
556
  };
526
- wrapperProps: import("vue").PropType<Partial<import("./src/typing").ModalWrapperProps>>;
527
- afterClose: import("vue").PropType<() => Promise<VueNode>>;
528
- bodyStyle: import("vue").PropType<import("vue").CSSProperties>;
557
+ wrapperProps: ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>)) | ((new (...args: any[]) => Partial<import("./src/typing").ModalWrapperProps>) | (() => Partial<import("./src/typing").ModalWrapperProps>))[];
558
+ afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
559
+ (): () => Promise<VueNode>;
560
+ new (): any;
561
+ readonly prototype: any;
562
+ }) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
563
+ (): () => Promise<VueNode>;
564
+ new (): any;
565
+ readonly prototype: any;
566
+ })[];
567
+ bodyStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
529
568
  closable: {
530
569
  type: BooleanConstructor;
531
570
  default: boolean;
532
571
  };
533
- closeIcon: import("vue").PropType<VueNode>;
572
+ closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
534
573
  confirmLoading: {
535
574
  type: BooleanConstructor;
536
575
  };
537
576
  destroyOnClose: {
538
577
  type: BooleanConstructor;
539
578
  };
540
- footer: import("vue").PropType<VueNode>;
541
- getContainer: import("vue").PropType<() => any>;
579
+ footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
580
+ getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
581
+ (): () => any;
582
+ new (): any;
583
+ readonly prototype: any;
584
+ }) | ((new (...args: any[]) => () => any) | (() => () => any) | {
585
+ (): () => any;
586
+ new (): any;
587
+ readonly prototype: any;
588
+ })[];
542
589
  mask: {
543
590
  type: BooleanConstructor;
544
591
  default: boolean;
@@ -551,16 +598,16 @@ export declare const BasicModal: {
551
598
  type: BooleanConstructor;
552
599
  default: boolean;
553
600
  };
554
- maskStyle: import("vue").PropType<import("vue").CSSProperties>;
601
+ maskStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
555
602
  okType: {
556
603
  type: StringConstructor;
557
604
  default: string;
558
605
  };
559
606
  okButtonProps: {
560
- type: import("vue").PropType<Recordable<any>>;
607
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
561
608
  };
562
609
  cancelButtonProps: {
563
- type: import("vue").PropType<Recordable<any>>;
610
+ type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
564
611
  };
565
612
  title: {
566
613
  type: StringConstructor;
@@ -568,7 +615,7 @@ export declare const BasicModal: {
568
615
  visible: {
569
616
  type: BooleanConstructor;
570
617
  };
571
- width: import("vue").PropType<string | number>;
618
+ width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
572
619
  wrapClassName: {
573
620
  type: StringConstructor;
574
621
  };
@@ -576,9 +623,43 @@ export declare const BasicModal: {
576
623
  type: NumberConstructor;
577
624
  };
578
625
  size: {
579
- type: import("vue").PropType<"small" | "default" | "large">;
626
+ type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
627
+ default: string;
628
+ };
629
+ scrollTop: {
630
+ type: BooleanConstructor;
631
+ default: boolean;
632
+ };
633
+ height: {
634
+ type: NumberConstructor;
635
+ };
636
+ minHeight: {
637
+ type: NumberConstructor;
638
+ };
639
+ draggable: {
640
+ type: BooleanConstructor;
641
+ default: boolean;
642
+ };
643
+ centered: {
644
+ type: BooleanConstructor;
645
+ };
646
+ cancelText: {
647
+ type: StringConstructor;
648
+ default: string;
649
+ };
650
+ okText: {
651
+ type: StringConstructor;
580
652
  default: string;
581
653
  };
654
+ closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
655
+ (): () => Promise<boolean>;
656
+ new (): any;
657
+ readonly prototype: any;
658
+ }) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
659
+ (): () => Promise<boolean>;
660
+ new (): any;
661
+ readonly prototype: any;
662
+ })[];
582
663
  }>> & {
583
664
  "onUpdate:visible"?: (...args: any[]) => any;
584
665
  onCancel?: (...args: any[]) => any;