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.
- package/es/index.js +6 -3
- package/es/ui/src/Modal/index.d.ts +249 -168
- package/es/ui/src/Modal/src/BasicModal.vue.d.ts +117 -77
- package/es/ui/src/Modal/src/components/Modal.d.ts +100 -60
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +103 -63
- package/es/ui/src/Modal/src/props.d.ts +62 -48
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +248 -168
- package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +248 -168
- package/lib/index.js +6 -3
- package/lib/ui/src/Modal/index.d.ts +249 -168
- package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +117 -77
- package/lib/ui/src/Modal/src/components/Modal.d.ts +100 -60
- package/lib/ui/src/Modal/src/components/ModalFooter.vue.d.ts +103 -63
- package/lib/ui/src/Modal/src/props.d.ts +62 -48
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +248 -168
- package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +248 -168
- package/package.json +2 -2
|
@@ -1,34 +1,4 @@
|
|
|
1
1
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
visible: {
|
|
3
|
-
type: BooleanConstructor;
|
|
4
|
-
};
|
|
5
|
-
scrollTop: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
height: {
|
|
10
|
-
type: NumberConstructor;
|
|
11
|
-
};
|
|
12
|
-
minHeight: {
|
|
13
|
-
type: NumberConstructor;
|
|
14
|
-
};
|
|
15
|
-
draggable: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
centered: {
|
|
20
|
-
type: BooleanConstructor;
|
|
21
|
-
};
|
|
22
|
-
cancelText: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
okText: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
closeFunc: import("vue").PropType<() => Promise<boolean>>;
|
|
31
|
-
} & {
|
|
32
2
|
defaultFullscreen: {
|
|
33
3
|
type: BooleanConstructor;
|
|
34
4
|
};
|
|
@@ -40,7 +10,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
40
10
|
type: NumberConstructor;
|
|
41
11
|
default: number;
|
|
42
12
|
};
|
|
43
|
-
helpMessage:
|
|
13
|
+
helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
|
|
44
14
|
useWrapper: {
|
|
45
15
|
type: BooleanConstructor;
|
|
46
16
|
default: boolean;
|
|
@@ -59,22 +29,38 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
59
29
|
type: BooleanConstructor;
|
|
60
30
|
default: boolean;
|
|
61
31
|
};
|
|
62
|
-
wrapperProps: import("
|
|
63
|
-
afterClose:
|
|
64
|
-
|
|
32
|
+
wrapperProps: ((new (...args: any[]) => Partial<import("../typing").ModalWrapperProps>) | (() => Partial<import("../typing").ModalWrapperProps>)) | ((new (...args: any[]) => Partial<import("../typing").ModalWrapperProps>) | (() => Partial<import("../typing").ModalWrapperProps>))[];
|
|
33
|
+
afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
|
|
34
|
+
(): () => Promise<VueNode>;
|
|
35
|
+
new (): any;
|
|
36
|
+
readonly prototype: any;
|
|
37
|
+
}) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
|
|
38
|
+
(): () => Promise<VueNode>;
|
|
39
|
+
new (): any;
|
|
40
|
+
readonly prototype: any;
|
|
41
|
+
})[];
|
|
42
|
+
bodyStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
|
|
65
43
|
closable: {
|
|
66
44
|
type: BooleanConstructor;
|
|
67
45
|
default: boolean;
|
|
68
46
|
};
|
|
69
|
-
closeIcon:
|
|
47
|
+
closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
|
|
70
48
|
confirmLoading: {
|
|
71
49
|
type: BooleanConstructor;
|
|
72
50
|
};
|
|
73
51
|
destroyOnClose: {
|
|
74
52
|
type: BooleanConstructor;
|
|
75
53
|
};
|
|
76
|
-
footer:
|
|
77
|
-
getContainer:
|
|
54
|
+
footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
|
|
55
|
+
getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
|
|
56
|
+
(): () => any;
|
|
57
|
+
new (): any;
|
|
58
|
+
readonly prototype: any;
|
|
59
|
+
}) | ((new (...args: any[]) => () => any) | (() => () => any) | {
|
|
60
|
+
(): () => any;
|
|
61
|
+
new (): any;
|
|
62
|
+
readonly prototype: any;
|
|
63
|
+
})[];
|
|
78
64
|
mask: {
|
|
79
65
|
type: BooleanConstructor;
|
|
80
66
|
default: boolean;
|
|
@@ -87,16 +73,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
87
73
|
type: BooleanConstructor;
|
|
88
74
|
default: boolean;
|
|
89
75
|
};
|
|
90
|
-
maskStyle: import("vue").
|
|
76
|
+
maskStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
|
|
91
77
|
okType: {
|
|
92
78
|
type: StringConstructor;
|
|
93
79
|
default: string;
|
|
94
80
|
};
|
|
95
81
|
okButtonProps: {
|
|
96
|
-
type:
|
|
82
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
97
83
|
};
|
|
98
84
|
cancelButtonProps: {
|
|
99
|
-
type:
|
|
85
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
100
86
|
};
|
|
101
87
|
title: {
|
|
102
88
|
type: StringConstructor;
|
|
@@ -104,7 +90,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
104
90
|
visible: {
|
|
105
91
|
type: BooleanConstructor;
|
|
106
92
|
};
|
|
107
|
-
width:
|
|
93
|
+
width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
108
94
|
wrapClassName: {
|
|
109
95
|
type: StringConstructor;
|
|
110
96
|
};
|
|
@@ -112,16 +98,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
112
98
|
type: NumberConstructor;
|
|
113
99
|
};
|
|
114
100
|
size: {
|
|
115
|
-
type:
|
|
101
|
+
type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
|
|
116
102
|
default: string;
|
|
117
103
|
};
|
|
118
|
-
}, {
|
|
119
|
-
handleOk: (e: Event) => void;
|
|
120
|
-
handleCancel: (e: Event) => void;
|
|
121
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "ok")[], "cancel" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
122
|
-
visible: {
|
|
123
|
-
type: BooleanConstructor;
|
|
124
|
-
};
|
|
125
104
|
scrollTop: {
|
|
126
105
|
type: BooleanConstructor;
|
|
127
106
|
default: boolean;
|
|
@@ -147,8 +126,19 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
147
126
|
type: StringConstructor;
|
|
148
127
|
default: string;
|
|
149
128
|
};
|
|
150
|
-
closeFunc:
|
|
151
|
-
|
|
129
|
+
closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
|
|
130
|
+
(): () => Promise<boolean>;
|
|
131
|
+
new (): any;
|
|
132
|
+
readonly prototype: any;
|
|
133
|
+
}) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
|
|
134
|
+
(): () => Promise<boolean>;
|
|
135
|
+
new (): any;
|
|
136
|
+
readonly prototype: any;
|
|
137
|
+
})[];
|
|
138
|
+
}, {
|
|
139
|
+
handleOk: (e: Event) => void;
|
|
140
|
+
handleCancel: (e: Event) => void;
|
|
141
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "ok")[], "cancel" | "ok", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
152
142
|
defaultFullscreen: {
|
|
153
143
|
type: BooleanConstructor;
|
|
154
144
|
};
|
|
@@ -160,7 +150,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
160
150
|
type: NumberConstructor;
|
|
161
151
|
default: number;
|
|
162
152
|
};
|
|
163
|
-
helpMessage:
|
|
153
|
+
helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
|
|
164
154
|
useWrapper: {
|
|
165
155
|
type: BooleanConstructor;
|
|
166
156
|
default: boolean;
|
|
@@ -179,22 +169,38 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
179
169
|
type: BooleanConstructor;
|
|
180
170
|
default: boolean;
|
|
181
171
|
};
|
|
182
|
-
wrapperProps: import("
|
|
183
|
-
afterClose:
|
|
184
|
-
|
|
172
|
+
wrapperProps: ((new (...args: any[]) => Partial<import("../typing").ModalWrapperProps>) | (() => Partial<import("../typing").ModalWrapperProps>)) | ((new (...args: any[]) => Partial<import("../typing").ModalWrapperProps>) | (() => Partial<import("../typing").ModalWrapperProps>))[];
|
|
173
|
+
afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
|
|
174
|
+
(): () => Promise<VueNode>;
|
|
175
|
+
new (): any;
|
|
176
|
+
readonly prototype: any;
|
|
177
|
+
}) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
|
|
178
|
+
(): () => Promise<VueNode>;
|
|
179
|
+
new (): any;
|
|
180
|
+
readonly prototype: any;
|
|
181
|
+
})[];
|
|
182
|
+
bodyStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
|
|
185
183
|
closable: {
|
|
186
184
|
type: BooleanConstructor;
|
|
187
185
|
default: boolean;
|
|
188
186
|
};
|
|
189
|
-
closeIcon:
|
|
187
|
+
closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
|
|
190
188
|
confirmLoading: {
|
|
191
189
|
type: BooleanConstructor;
|
|
192
190
|
};
|
|
193
191
|
destroyOnClose: {
|
|
194
192
|
type: BooleanConstructor;
|
|
195
193
|
};
|
|
196
|
-
footer:
|
|
197
|
-
getContainer:
|
|
194
|
+
footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
|
|
195
|
+
getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
|
|
196
|
+
(): () => any;
|
|
197
|
+
new (): any;
|
|
198
|
+
readonly prototype: any;
|
|
199
|
+
}) | ((new (...args: any[]) => () => any) | (() => () => any) | {
|
|
200
|
+
(): () => any;
|
|
201
|
+
new (): any;
|
|
202
|
+
readonly prototype: any;
|
|
203
|
+
})[];
|
|
198
204
|
mask: {
|
|
199
205
|
type: BooleanConstructor;
|
|
200
206
|
default: boolean;
|
|
@@ -207,16 +213,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
207
213
|
type: BooleanConstructor;
|
|
208
214
|
default: boolean;
|
|
209
215
|
};
|
|
210
|
-
maskStyle: import("vue").
|
|
216
|
+
maskStyle: ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties)) | ((new (...args: any[]) => import("vue").CSSProperties) | (() => import("vue").CSSProperties))[];
|
|
211
217
|
okType: {
|
|
212
218
|
type: StringConstructor;
|
|
213
219
|
default: string;
|
|
214
220
|
};
|
|
215
221
|
okButtonProps: {
|
|
216
|
-
type:
|
|
222
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
217
223
|
};
|
|
218
224
|
cancelButtonProps: {
|
|
219
|
-
type:
|
|
225
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
220
226
|
};
|
|
221
227
|
title: {
|
|
222
228
|
type: StringConstructor;
|
|
@@ -224,7 +230,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
224
230
|
visible: {
|
|
225
231
|
type: BooleanConstructor;
|
|
226
232
|
};
|
|
227
|
-
width:
|
|
233
|
+
width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
228
234
|
wrapClassName: {
|
|
229
235
|
type: StringConstructor;
|
|
230
236
|
};
|
|
@@ -232,9 +238,43 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
232
238
|
type: NumberConstructor;
|
|
233
239
|
};
|
|
234
240
|
size: {
|
|
235
|
-
type:
|
|
241
|
+
type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
|
|
242
|
+
default: string;
|
|
243
|
+
};
|
|
244
|
+
scrollTop: {
|
|
245
|
+
type: BooleanConstructor;
|
|
246
|
+
default: boolean;
|
|
247
|
+
};
|
|
248
|
+
height: {
|
|
249
|
+
type: NumberConstructor;
|
|
250
|
+
};
|
|
251
|
+
minHeight: {
|
|
252
|
+
type: NumberConstructor;
|
|
253
|
+
};
|
|
254
|
+
draggable: {
|
|
255
|
+
type: BooleanConstructor;
|
|
256
|
+
default: boolean;
|
|
257
|
+
};
|
|
258
|
+
centered: {
|
|
259
|
+
type: BooleanConstructor;
|
|
260
|
+
};
|
|
261
|
+
cancelText: {
|
|
262
|
+
type: StringConstructor;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
265
|
+
okText: {
|
|
266
|
+
type: StringConstructor;
|
|
236
267
|
default: string;
|
|
237
268
|
};
|
|
269
|
+
closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
|
|
270
|
+
(): () => Promise<boolean>;
|
|
271
|
+
new (): any;
|
|
272
|
+
readonly prototype: any;
|
|
273
|
+
}) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
|
|
274
|
+
(): () => Promise<boolean>;
|
|
275
|
+
new (): any;
|
|
276
|
+
readonly prototype: any;
|
|
277
|
+
})[];
|
|
238
278
|
}>> & {
|
|
239
279
|
onCancel?: (...args: any[]) => any;
|
|
240
280
|
onOk?: (...args: any[]) => any;
|
|
@@ -32,36 +32,6 @@ export declare const modalProps: {
|
|
|
32
32
|
closeFunc: PropType<() => Promise<boolean>>;
|
|
33
33
|
};
|
|
34
34
|
export declare const basicProps: {
|
|
35
|
-
visible: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
};
|
|
38
|
-
scrollTop: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
default: boolean;
|
|
41
|
-
};
|
|
42
|
-
height: {
|
|
43
|
-
type: NumberConstructor;
|
|
44
|
-
};
|
|
45
|
-
minHeight: {
|
|
46
|
-
type: NumberConstructor;
|
|
47
|
-
};
|
|
48
|
-
draggable: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
centered: {
|
|
53
|
-
type: BooleanConstructor;
|
|
54
|
-
};
|
|
55
|
-
cancelText: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
okText: {
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: string;
|
|
62
|
-
};
|
|
63
|
-
closeFunc: PropType<() => Promise<boolean>>;
|
|
64
|
-
} & {
|
|
65
35
|
defaultFullscreen: {
|
|
66
36
|
type: BooleanConstructor;
|
|
67
37
|
};
|
|
@@ -73,7 +43,7 @@ export declare const basicProps: {
|
|
|
73
43
|
type: NumberConstructor;
|
|
74
44
|
default: number;
|
|
75
45
|
};
|
|
76
|
-
helpMessage:
|
|
46
|
+
helpMessage: ((new (...args: any[]) => string | string[]) | (() => string | string[])) | ((new (...args: any[]) => string | string[]) | (() => string | string[]))[];
|
|
77
47
|
useWrapper: {
|
|
78
48
|
type: BooleanConstructor;
|
|
79
49
|
default: boolean;
|
|
@@ -84,36 +54,46 @@ export declare const basicProps: {
|
|
|
84
54
|
loadingTip: {
|
|
85
55
|
type: StringConstructor;
|
|
86
56
|
};
|
|
87
|
-
/**
|
|
88
|
-
* @description: Show close button
|
|
89
|
-
*/
|
|
90
57
|
showCancelBtn: {
|
|
91
58
|
type: BooleanConstructor;
|
|
92
59
|
default: boolean;
|
|
93
60
|
};
|
|
94
|
-
/**
|
|
95
|
-
* @description: Show confirmation button
|
|
96
|
-
*/
|
|
97
61
|
showOkBtn: {
|
|
98
62
|
type: BooleanConstructor;
|
|
99
63
|
default: boolean;
|
|
100
64
|
};
|
|
101
|
-
wrapperProps:
|
|
102
|
-
afterClose:
|
|
103
|
-
|
|
65
|
+
wrapperProps: ((new (...args: any[]) => Partial<ModalWrapperProps>) | (() => Partial<ModalWrapperProps>)) | ((new (...args: any[]) => Partial<ModalWrapperProps>) | (() => Partial<ModalWrapperProps>))[];
|
|
66
|
+
afterClose: ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
|
|
67
|
+
(): () => Promise<VueNode>;
|
|
68
|
+
new (): any;
|
|
69
|
+
readonly prototype: any;
|
|
70
|
+
}) | ((new (...args: any[]) => () => Promise<VueNode>) | (() => () => Promise<VueNode>) | {
|
|
71
|
+
(): () => Promise<VueNode>;
|
|
72
|
+
new (): any;
|
|
73
|
+
readonly prototype: any;
|
|
74
|
+
})[];
|
|
75
|
+
bodyStyle: ((new (...args: any[]) => CSSProperties) | (() => CSSProperties)) | ((new (...args: any[]) => CSSProperties) | (() => CSSProperties))[];
|
|
104
76
|
closable: {
|
|
105
77
|
type: BooleanConstructor;
|
|
106
78
|
default: boolean;
|
|
107
79
|
};
|
|
108
|
-
closeIcon:
|
|
80
|
+
closeIcon: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
|
|
109
81
|
confirmLoading: {
|
|
110
82
|
type: BooleanConstructor;
|
|
111
83
|
};
|
|
112
84
|
destroyOnClose: {
|
|
113
85
|
type: BooleanConstructor;
|
|
114
86
|
};
|
|
115
|
-
footer:
|
|
116
|
-
getContainer:
|
|
87
|
+
footer: ((new (...args: any[]) => VueNode & {}) | (() => VueNode)) | ((new (...args: any[]) => VueNode & {}) | (() => VueNode))[];
|
|
88
|
+
getContainer: ((new (...args: any[]) => () => any) | (() => () => any) | {
|
|
89
|
+
(): () => any;
|
|
90
|
+
new (): any;
|
|
91
|
+
readonly prototype: any;
|
|
92
|
+
}) | ((new (...args: any[]) => () => any) | (() => () => any) | {
|
|
93
|
+
(): () => any;
|
|
94
|
+
new (): any;
|
|
95
|
+
readonly prototype: any;
|
|
96
|
+
})[];
|
|
117
97
|
mask: {
|
|
118
98
|
type: BooleanConstructor;
|
|
119
99
|
default: boolean;
|
|
@@ -126,16 +106,16 @@ export declare const basicProps: {
|
|
|
126
106
|
type: BooleanConstructor;
|
|
127
107
|
default: boolean;
|
|
128
108
|
};
|
|
129
|
-
maskStyle:
|
|
109
|
+
maskStyle: ((new (...args: any[]) => CSSProperties) | (() => CSSProperties)) | ((new (...args: any[]) => CSSProperties) | (() => CSSProperties))[];
|
|
130
110
|
okType: {
|
|
131
111
|
type: StringConstructor;
|
|
132
112
|
default: string;
|
|
133
113
|
};
|
|
134
114
|
okButtonProps: {
|
|
135
|
-
type:
|
|
115
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
136
116
|
};
|
|
137
117
|
cancelButtonProps: {
|
|
138
|
-
type:
|
|
118
|
+
type: ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>)) | ((new (...args: any[]) => Recordable<any>) | (() => Recordable<any>))[];
|
|
139
119
|
};
|
|
140
120
|
title: {
|
|
141
121
|
type: StringConstructor;
|
|
@@ -143,7 +123,7 @@ export declare const basicProps: {
|
|
|
143
123
|
visible: {
|
|
144
124
|
type: BooleanConstructor;
|
|
145
125
|
};
|
|
146
|
-
width:
|
|
126
|
+
width: ((new (...args: any[]) => string | number) | (() => string | number)) | ((new (...args: any[]) => string | number) | (() => string | number))[];
|
|
147
127
|
wrapClassName: {
|
|
148
128
|
type: StringConstructor;
|
|
149
129
|
};
|
|
@@ -151,7 +131,41 @@ export declare const basicProps: {
|
|
|
151
131
|
type: NumberConstructor;
|
|
152
132
|
};
|
|
153
133
|
size: {
|
|
154
|
-
type:
|
|
134
|
+
type: ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large")) | ((new (...args: any[]) => "small" | "default" | "large") | (() => "small" | "default" | "large"))[];
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
scrollTop: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
default: boolean;
|
|
140
|
+
};
|
|
141
|
+
height: {
|
|
142
|
+
type: NumberConstructor;
|
|
143
|
+
};
|
|
144
|
+
minHeight: {
|
|
145
|
+
type: NumberConstructor;
|
|
146
|
+
};
|
|
147
|
+
draggable: {
|
|
148
|
+
type: BooleanConstructor;
|
|
149
|
+
default: boolean;
|
|
150
|
+
};
|
|
151
|
+
centered: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
};
|
|
154
|
+
cancelText: {
|
|
155
|
+
type: StringConstructor;
|
|
156
|
+
default: string;
|
|
157
|
+
};
|
|
158
|
+
okText: {
|
|
159
|
+
type: StringConstructor;
|
|
155
160
|
default: string;
|
|
156
161
|
};
|
|
162
|
+
closeFunc: ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
|
|
163
|
+
(): () => Promise<boolean>;
|
|
164
|
+
new (): any;
|
|
165
|
+
readonly prototype: any;
|
|
166
|
+
}) | ((new (...args: any[]) => () => Promise<boolean>) | (() => () => Promise<boolean>) | {
|
|
167
|
+
(): () => Promise<boolean>;
|
|
168
|
+
new (): any;
|
|
169
|
+
readonly prototype: any;
|
|
170
|
+
})[];
|
|
157
171
|
};
|