@kengic/vue 0.21.1-beta.1 → 0.21.3
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/index.css +1 -1
- package/dist/kengic-vue.js +4675 -4334
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +5 -4
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +3 -2
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +3 -3
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +5 -4
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +5 -4
- package/dist/src/components/KgButton/components/KgButton.ImportTemplate.d.ts +5 -4
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +3 -3
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +3 -2
- package/dist/src/components/KgButton/index.hooks.d.ts +70 -22
- package/dist/src/components/KgButton/index.store.d.ts +56 -18
- package/dist/src/components/KgModal/KgModal.d.ts +424 -86
- package/dist/src/components/KgModal/KgModal.hooks.d.ts +33 -0
- package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +74 -0
- package/dist/src/components/KgModal/index.d.ts +1 -2
- package/dist/src/components/KgModal/index.vm.d.ts +8 -194
- package/dist/src/components/KgResizable/KgResizable.d.ts +8 -8
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.Body.d.ts +9 -3
- package/dist/src/components/KgSearch/components/KgSearch.ConfigModal.d.ts +16 -10
- package/dist/src/components/KgSearch/index.hooks.d.ts +132 -20
- package/dist/src/components/KgSearch/index.store.d.ts +206 -31
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +7 -7
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +5 -3
- package/dist/src/components/KgSubmit/components/KgSubmit.VarSubmitConfig.Button.d.ts +7 -0
- package/dist/src/components/KgSubmit/components/{KgSubmit.Header.VarSubmitConfig.d.ts → KgSubmit.VarSubmitConfig.Modal.d.ts} +3 -2
- package/dist/src/components/KgSubmit/index.hooks.d.ts +15 -6
- package/dist/src/components/KgSubmit/index.store.d.ts +10 -0
- package/dist/src/components/KgSubmit/index.vm.d.ts +53 -7
- package/dist/src/components/KgTable/index.vm.d.ts +3 -1
- package/dist/src/config/index.hooks.d.ts +6 -29
- package/dist/src/config/index.store.d.ts +6 -4
- package/dist/src/consts/i18n/en.d.ts +1 -1
- package/dist/src/consts/i18n/zh_CN.d.ts +1 -1
- package/dist/src/helpers/tsx.helper.d.ts +16 -6
- package/dist/src/utils/kg.util.d.ts +2 -1
- package/package.json +93 -93
- package/dist/src/components/KgModal/components/KgModal.Close.d.ts +0 -41
- package/dist/src/components/KgSubmit/components/KgSubmit.Header.d.ts +0 -82
|
@@ -1,19 +1,67 @@
|
|
|
1
|
+
import { ExtractPropTypes, PropType } from 'vue';
|
|
1
2
|
import './KgModal.less';
|
|
2
|
-
declare const
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
export declare const getProps: () => {
|
|
4
|
+
/**
|
|
5
|
+
* 高度是否撑满屏幕.
|
|
6
|
+
*/
|
|
7
|
+
kgFullHeight: {
|
|
8
|
+
type: PropType<boolean>;
|
|
5
9
|
default: boolean;
|
|
6
10
|
};
|
|
7
|
-
|
|
8
|
-
|
|
11
|
+
/**
|
|
12
|
+
* 是否默认全屏.
|
|
13
|
+
*/
|
|
14
|
+
kgIsDefaultFullscreen: {
|
|
15
|
+
type: PropType<boolean>;
|
|
9
16
|
default: boolean;
|
|
10
17
|
};
|
|
11
|
-
|
|
12
|
-
|
|
18
|
+
/**
|
|
19
|
+
* 是否可以拖拽改变位置.
|
|
20
|
+
*/
|
|
21
|
+
kgIsDragToMove: {
|
|
22
|
+
type: PropType<boolean>;
|
|
13
23
|
default: boolean;
|
|
14
24
|
};
|
|
15
|
-
|
|
16
|
-
|
|
25
|
+
/**
|
|
26
|
+
* 是否可以拖拽改变大小.
|
|
27
|
+
*/
|
|
28
|
+
kgIsDragToResize: {
|
|
29
|
+
type: PropType<boolean>;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
/** 是否显示全屏按钮. */
|
|
33
|
+
kgIsShowFullscreenButton: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
/** 最大高度. */
|
|
38
|
+
kgMaxHeight: {
|
|
39
|
+
type: PropType<number>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
/** 最大宽度. */
|
|
43
|
+
kgMaxWidth: {
|
|
44
|
+
type: PropType<number>;
|
|
45
|
+
default: undefined;
|
|
46
|
+
};
|
|
47
|
+
/** 最小高度. */
|
|
48
|
+
kgMinHeight: {
|
|
49
|
+
type: PropType<number>;
|
|
50
|
+
default: undefined;
|
|
51
|
+
};
|
|
52
|
+
/** 最小宽度. */
|
|
53
|
+
kgMinWidth: {
|
|
54
|
+
type: PropType<number>;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
/** 是否显示取消按钮. */
|
|
58
|
+
kgShowCancelButton: {
|
|
59
|
+
type: PropType<boolean>;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
/** 是否显示确定按钮. */
|
|
63
|
+
kgShowOkButton: {
|
|
64
|
+
type: PropType<boolean>;
|
|
17
65
|
default: boolean;
|
|
18
66
|
};
|
|
19
67
|
prefixCls: StringConstructor;
|
|
@@ -25,27 +73,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
25
73
|
type: BooleanConstructor;
|
|
26
74
|
default: undefined;
|
|
27
75
|
};
|
|
28
|
-
title:
|
|
76
|
+
title: PropType<any>;
|
|
29
77
|
closable: {
|
|
30
78
|
type: BooleanConstructor;
|
|
31
79
|
default: undefined;
|
|
32
80
|
};
|
|
33
|
-
closeIcon:
|
|
34
|
-
onOk:
|
|
35
|
-
onCancel:
|
|
36
|
-
'onUpdate:visible':
|
|
37
|
-
onChange:
|
|
38
|
-
afterClose:
|
|
81
|
+
closeIcon: PropType<any>;
|
|
82
|
+
onOk: PropType<(e: MouseEvent) => void>;
|
|
83
|
+
onCancel: PropType<(e: MouseEvent) => void>;
|
|
84
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
85
|
+
onChange: PropType<(visible: boolean) => void>;
|
|
86
|
+
afterClose: PropType<() => void>;
|
|
39
87
|
centered: {
|
|
40
88
|
type: BooleanConstructor;
|
|
41
89
|
default: undefined;
|
|
42
90
|
};
|
|
43
91
|
width: (StringConstructor | NumberConstructor)[];
|
|
44
|
-
footer:
|
|
45
|
-
okText:
|
|
46
|
-
okType:
|
|
47
|
-
cancelText:
|
|
48
|
-
icon:
|
|
92
|
+
footer: PropType<any>;
|
|
93
|
+
okText: PropType<any>;
|
|
94
|
+
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
|
95
|
+
cancelText: PropType<any>;
|
|
96
|
+
icon: PropType<any>;
|
|
49
97
|
maskClosable: {
|
|
50
98
|
type: BooleanConstructor;
|
|
51
99
|
default: undefined;
|
|
@@ -54,21 +102,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
102
|
type: BooleanConstructor;
|
|
55
103
|
default: undefined;
|
|
56
104
|
};
|
|
57
|
-
okButtonProps:
|
|
105
|
+
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
|
58
106
|
prefixCls: StringConstructor;
|
|
59
|
-
type:
|
|
107
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
60
108
|
htmlType: {
|
|
61
|
-
type:
|
|
109
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
62
110
|
default: string;
|
|
63
111
|
};
|
|
64
112
|
shape: {
|
|
65
|
-
type:
|
|
113
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
66
114
|
};
|
|
67
115
|
size: {
|
|
68
|
-
type:
|
|
116
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
69
117
|
};
|
|
70
118
|
loading: {
|
|
71
|
-
type:
|
|
119
|
+
type: PropType<boolean | {
|
|
72
120
|
delay?: number | undefined;
|
|
73
121
|
}>;
|
|
74
122
|
default: () => boolean | {
|
|
@@ -91,32 +139,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
139
|
type: BooleanConstructor;
|
|
92
140
|
default: undefined;
|
|
93
141
|
};
|
|
94
|
-
icon:
|
|
142
|
+
icon: PropType<any>;
|
|
95
143
|
href: StringConstructor;
|
|
96
144
|
target: StringConstructor;
|
|
97
145
|
title: StringConstructor;
|
|
98
146
|
onClick: {
|
|
99
|
-
type:
|
|
147
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
100
148
|
};
|
|
101
149
|
onMousedown: {
|
|
102
|
-
type:
|
|
150
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
103
151
|
};
|
|
104
152
|
}>>>;
|
|
105
|
-
cancelButtonProps:
|
|
153
|
+
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
|
106
154
|
prefixCls: StringConstructor;
|
|
107
|
-
type:
|
|
155
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
108
156
|
htmlType: {
|
|
109
|
-
type:
|
|
157
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
110
158
|
default: string;
|
|
111
159
|
};
|
|
112
160
|
shape: {
|
|
113
|
-
type:
|
|
161
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
114
162
|
};
|
|
115
163
|
size: {
|
|
116
|
-
type:
|
|
164
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
117
165
|
};
|
|
118
166
|
loading: {
|
|
119
|
-
type:
|
|
167
|
+
type: PropType<boolean | {
|
|
120
168
|
delay?: number | undefined;
|
|
121
169
|
}>;
|
|
122
170
|
default: () => boolean | {
|
|
@@ -139,15 +187,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
139
187
|
type: BooleanConstructor;
|
|
140
188
|
default: undefined;
|
|
141
189
|
};
|
|
142
|
-
icon:
|
|
190
|
+
icon: PropType<any>;
|
|
143
191
|
href: StringConstructor;
|
|
144
192
|
target: StringConstructor;
|
|
145
193
|
title: StringConstructor;
|
|
146
194
|
onClick: {
|
|
147
|
-
type:
|
|
195
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
148
196
|
};
|
|
149
197
|
onMousedown: {
|
|
150
|
-
type:
|
|
198
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
151
199
|
};
|
|
152
200
|
}>>>;
|
|
153
201
|
destroyOnClose: {
|
|
@@ -158,16 +206,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
206
|
maskTransitionName: StringConstructor;
|
|
159
207
|
transitionName: StringConstructor;
|
|
160
208
|
getContainer: {
|
|
161
|
-
type:
|
|
209
|
+
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
|
162
210
|
default: undefined;
|
|
163
211
|
};
|
|
164
212
|
zIndex: NumberConstructor;
|
|
165
213
|
bodyStyle: {
|
|
166
|
-
type:
|
|
214
|
+
type: PropType<import("vue").CSSProperties>;
|
|
167
215
|
default: import("vue").CSSProperties;
|
|
168
216
|
};
|
|
169
217
|
maskStyle: {
|
|
170
|
-
type:
|
|
218
|
+
type: PropType<import("vue").CSSProperties>;
|
|
171
219
|
default: import("vue").CSSProperties;
|
|
172
220
|
};
|
|
173
221
|
mask: {
|
|
@@ -183,24 +231,307 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
183
231
|
type: BooleanConstructor;
|
|
184
232
|
default: undefined;
|
|
185
233
|
};
|
|
186
|
-
modalRender:
|
|
234
|
+
modalRender: PropType<(arg: {
|
|
187
235
|
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
|
188
236
|
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
|
|
237
|
+
};
|
|
238
|
+
export declare type IKgModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
239
|
+
declare const _default: import("vue").DefineComponent<{
|
|
240
|
+
/**
|
|
241
|
+
* 高度是否撑满屏幕.
|
|
242
|
+
*/
|
|
243
|
+
kgFullHeight: {
|
|
244
|
+
type: PropType<boolean>;
|
|
192
245
|
default: boolean;
|
|
193
246
|
};
|
|
247
|
+
/**
|
|
248
|
+
* 是否默认全屏.
|
|
249
|
+
*/
|
|
250
|
+
kgIsDefaultFullscreen: {
|
|
251
|
+
type: PropType<boolean>;
|
|
252
|
+
default: boolean;
|
|
253
|
+
};
|
|
254
|
+
/**
|
|
255
|
+
* 是否可以拖拽改变位置.
|
|
256
|
+
*/
|
|
257
|
+
kgIsDragToMove: {
|
|
258
|
+
type: PropType<boolean>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* 是否可以拖拽改变大小.
|
|
263
|
+
*/
|
|
264
|
+
kgIsDragToResize: {
|
|
265
|
+
type: PropType<boolean>;
|
|
266
|
+
default: boolean;
|
|
267
|
+
};
|
|
268
|
+
/** 是否显示全屏按钮. */
|
|
269
|
+
kgIsShowFullscreenButton: {
|
|
270
|
+
type: PropType<boolean>;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
/** 最大高度. */
|
|
274
|
+
kgMaxHeight: {
|
|
275
|
+
type: PropType<number>;
|
|
276
|
+
default: undefined;
|
|
277
|
+
};
|
|
278
|
+
/** 最大宽度. */
|
|
279
|
+
kgMaxWidth: {
|
|
280
|
+
type: PropType<number>;
|
|
281
|
+
default: undefined;
|
|
282
|
+
};
|
|
283
|
+
/** 最小高度. */
|
|
284
|
+
kgMinHeight: {
|
|
285
|
+
type: PropType<number>;
|
|
286
|
+
default: undefined;
|
|
287
|
+
};
|
|
288
|
+
/** 最小宽度. */
|
|
289
|
+
kgMinWidth: {
|
|
290
|
+
type: PropType<number>;
|
|
291
|
+
default: undefined;
|
|
292
|
+
};
|
|
293
|
+
/** 是否显示取消按钮. */
|
|
194
294
|
kgShowCancelButton: {
|
|
195
|
-
type:
|
|
295
|
+
type: PropType<boolean>;
|
|
196
296
|
default: boolean;
|
|
197
297
|
};
|
|
298
|
+
/** 是否显示确定按钮. */
|
|
198
299
|
kgShowOkButton: {
|
|
199
|
-
type:
|
|
300
|
+
type: PropType<boolean>;
|
|
200
301
|
default: boolean;
|
|
201
302
|
};
|
|
303
|
+
prefixCls: StringConstructor;
|
|
304
|
+
visible: {
|
|
305
|
+
type: BooleanConstructor;
|
|
306
|
+
default: undefined;
|
|
307
|
+
};
|
|
308
|
+
confirmLoading: {
|
|
309
|
+
type: BooleanConstructor;
|
|
310
|
+
default: undefined;
|
|
311
|
+
};
|
|
312
|
+
title: PropType<any>;
|
|
313
|
+
closable: {
|
|
314
|
+
type: BooleanConstructor;
|
|
315
|
+
default: undefined;
|
|
316
|
+
};
|
|
317
|
+
closeIcon: PropType<any>;
|
|
318
|
+
onOk: PropType<(e: MouseEvent) => void>;
|
|
319
|
+
onCancel: PropType<(e: MouseEvent) => void>;
|
|
320
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
321
|
+
onChange: PropType<(visible: boolean) => void>;
|
|
322
|
+
afterClose: PropType<() => void>;
|
|
323
|
+
centered: {
|
|
324
|
+
type: BooleanConstructor;
|
|
325
|
+
default: undefined;
|
|
326
|
+
};
|
|
327
|
+
width: (StringConstructor | NumberConstructor)[];
|
|
328
|
+
footer: PropType<any>;
|
|
329
|
+
okText: PropType<any>;
|
|
330
|
+
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
|
331
|
+
cancelText: PropType<any>;
|
|
332
|
+
icon: PropType<any>;
|
|
333
|
+
maskClosable: {
|
|
334
|
+
type: BooleanConstructor;
|
|
335
|
+
default: undefined;
|
|
336
|
+
};
|
|
337
|
+
forceRender: {
|
|
338
|
+
type: BooleanConstructor;
|
|
339
|
+
default: undefined;
|
|
340
|
+
};
|
|
341
|
+
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
|
342
|
+
prefixCls: StringConstructor;
|
|
343
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
344
|
+
htmlType: {
|
|
345
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
346
|
+
default: string;
|
|
347
|
+
};
|
|
348
|
+
shape: {
|
|
349
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
350
|
+
};
|
|
351
|
+
size: {
|
|
352
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
353
|
+
};
|
|
354
|
+
loading: {
|
|
355
|
+
type: PropType<boolean | {
|
|
356
|
+
delay?: number | undefined;
|
|
357
|
+
}>;
|
|
358
|
+
default: () => boolean | {
|
|
359
|
+
delay?: number | undefined;
|
|
360
|
+
};
|
|
361
|
+
};
|
|
362
|
+
disabled: {
|
|
363
|
+
type: BooleanConstructor;
|
|
364
|
+
default: undefined;
|
|
365
|
+
};
|
|
366
|
+
ghost: {
|
|
367
|
+
type: BooleanConstructor;
|
|
368
|
+
default: undefined;
|
|
369
|
+
};
|
|
370
|
+
block: {
|
|
371
|
+
type: BooleanConstructor;
|
|
372
|
+
default: undefined;
|
|
373
|
+
};
|
|
374
|
+
danger: {
|
|
375
|
+
type: BooleanConstructor;
|
|
376
|
+
default: undefined;
|
|
377
|
+
};
|
|
378
|
+
icon: PropType<any>;
|
|
379
|
+
href: StringConstructor;
|
|
380
|
+
target: StringConstructor;
|
|
381
|
+
title: StringConstructor;
|
|
382
|
+
onClick: {
|
|
383
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
384
|
+
};
|
|
385
|
+
onMousedown: {
|
|
386
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
387
|
+
};
|
|
388
|
+
}>>>;
|
|
389
|
+
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
|
390
|
+
prefixCls: StringConstructor;
|
|
391
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
392
|
+
htmlType: {
|
|
393
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
394
|
+
default: string;
|
|
395
|
+
};
|
|
396
|
+
shape: {
|
|
397
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
398
|
+
};
|
|
399
|
+
size: {
|
|
400
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
401
|
+
};
|
|
402
|
+
loading: {
|
|
403
|
+
type: PropType<boolean | {
|
|
404
|
+
delay?: number | undefined;
|
|
405
|
+
}>;
|
|
406
|
+
default: () => boolean | {
|
|
407
|
+
delay?: number | undefined;
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
disabled: {
|
|
411
|
+
type: BooleanConstructor;
|
|
412
|
+
default: undefined;
|
|
413
|
+
};
|
|
414
|
+
ghost: {
|
|
415
|
+
type: BooleanConstructor;
|
|
416
|
+
default: undefined;
|
|
417
|
+
};
|
|
418
|
+
block: {
|
|
419
|
+
type: BooleanConstructor;
|
|
420
|
+
default: undefined;
|
|
421
|
+
};
|
|
422
|
+
danger: {
|
|
423
|
+
type: BooleanConstructor;
|
|
424
|
+
default: undefined;
|
|
425
|
+
};
|
|
426
|
+
icon: PropType<any>;
|
|
427
|
+
href: StringConstructor;
|
|
428
|
+
target: StringConstructor;
|
|
429
|
+
title: StringConstructor;
|
|
430
|
+
onClick: {
|
|
431
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
432
|
+
};
|
|
433
|
+
onMousedown: {
|
|
434
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
435
|
+
};
|
|
436
|
+
}>>>;
|
|
437
|
+
destroyOnClose: {
|
|
438
|
+
type: BooleanConstructor;
|
|
439
|
+
default: undefined;
|
|
440
|
+
};
|
|
441
|
+
wrapClassName: StringConstructor;
|
|
442
|
+
maskTransitionName: StringConstructor;
|
|
443
|
+
transitionName: StringConstructor;
|
|
444
|
+
getContainer: {
|
|
445
|
+
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
|
446
|
+
default: undefined;
|
|
447
|
+
};
|
|
448
|
+
zIndex: NumberConstructor;
|
|
449
|
+
bodyStyle: {
|
|
450
|
+
type: PropType<import("vue").CSSProperties>;
|
|
451
|
+
default: import("vue").CSSProperties;
|
|
452
|
+
};
|
|
453
|
+
maskStyle: {
|
|
454
|
+
type: PropType<import("vue").CSSProperties>;
|
|
455
|
+
default: import("vue").CSSProperties;
|
|
456
|
+
};
|
|
457
|
+
mask: {
|
|
458
|
+
type: BooleanConstructor;
|
|
459
|
+
default: undefined;
|
|
460
|
+
};
|
|
461
|
+
keyboard: {
|
|
462
|
+
type: BooleanConstructor;
|
|
463
|
+
default: undefined;
|
|
464
|
+
};
|
|
465
|
+
wrapProps: ObjectConstructor;
|
|
466
|
+
focusTriggerAfterClose: {
|
|
467
|
+
type: BooleanConstructor;
|
|
468
|
+
default: undefined;
|
|
469
|
+
};
|
|
470
|
+
modalRender: PropType<(arg: {
|
|
471
|
+
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
|
472
|
+
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
|
473
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
474
|
+
/**
|
|
475
|
+
* 高度是否撑满屏幕.
|
|
476
|
+
*/
|
|
202
477
|
kgFullHeight: {
|
|
203
|
-
type:
|
|
478
|
+
type: PropType<boolean>;
|
|
479
|
+
default: boolean;
|
|
480
|
+
};
|
|
481
|
+
/**
|
|
482
|
+
* 是否默认全屏.
|
|
483
|
+
*/
|
|
484
|
+
kgIsDefaultFullscreen: {
|
|
485
|
+
type: PropType<boolean>;
|
|
486
|
+
default: boolean;
|
|
487
|
+
};
|
|
488
|
+
/**
|
|
489
|
+
* 是否可以拖拽改变位置.
|
|
490
|
+
*/
|
|
491
|
+
kgIsDragToMove: {
|
|
492
|
+
type: PropType<boolean>;
|
|
493
|
+
default: boolean;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* 是否可以拖拽改变大小.
|
|
497
|
+
*/
|
|
498
|
+
kgIsDragToResize: {
|
|
499
|
+
type: PropType<boolean>;
|
|
500
|
+
default: boolean;
|
|
501
|
+
};
|
|
502
|
+
/** 是否显示全屏按钮. */
|
|
503
|
+
kgIsShowFullscreenButton: {
|
|
504
|
+
type: PropType<boolean>;
|
|
505
|
+
default: boolean;
|
|
506
|
+
};
|
|
507
|
+
/** 最大高度. */
|
|
508
|
+
kgMaxHeight: {
|
|
509
|
+
type: PropType<number>;
|
|
510
|
+
default: undefined;
|
|
511
|
+
};
|
|
512
|
+
/** 最大宽度. */
|
|
513
|
+
kgMaxWidth: {
|
|
514
|
+
type: PropType<number>;
|
|
515
|
+
default: undefined;
|
|
516
|
+
};
|
|
517
|
+
/** 最小高度. */
|
|
518
|
+
kgMinHeight: {
|
|
519
|
+
type: PropType<number>;
|
|
520
|
+
default: undefined;
|
|
521
|
+
};
|
|
522
|
+
/** 最小宽度. */
|
|
523
|
+
kgMinWidth: {
|
|
524
|
+
type: PropType<number>;
|
|
525
|
+
default: undefined;
|
|
526
|
+
};
|
|
527
|
+
/** 是否显示取消按钮. */
|
|
528
|
+
kgShowCancelButton: {
|
|
529
|
+
type: PropType<boolean>;
|
|
530
|
+
default: boolean;
|
|
531
|
+
};
|
|
532
|
+
/** 是否显示确定按钮. */
|
|
533
|
+
kgShowOkButton: {
|
|
534
|
+
type: PropType<boolean>;
|
|
204
535
|
default: boolean;
|
|
205
536
|
};
|
|
206
537
|
prefixCls: StringConstructor;
|
|
@@ -212,27 +543,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
212
543
|
type: BooleanConstructor;
|
|
213
544
|
default: undefined;
|
|
214
545
|
};
|
|
215
|
-
title:
|
|
546
|
+
title: PropType<any>;
|
|
216
547
|
closable: {
|
|
217
548
|
type: BooleanConstructor;
|
|
218
549
|
default: undefined;
|
|
219
550
|
};
|
|
220
|
-
closeIcon:
|
|
221
|
-
onOk:
|
|
222
|
-
onCancel:
|
|
223
|
-
'onUpdate:visible':
|
|
224
|
-
onChange:
|
|
225
|
-
afterClose:
|
|
551
|
+
closeIcon: PropType<any>;
|
|
552
|
+
onOk: PropType<(e: MouseEvent) => void>;
|
|
553
|
+
onCancel: PropType<(e: MouseEvent) => void>;
|
|
554
|
+
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
|
555
|
+
onChange: PropType<(visible: boolean) => void>;
|
|
556
|
+
afterClose: PropType<() => void>;
|
|
226
557
|
centered: {
|
|
227
558
|
type: BooleanConstructor;
|
|
228
559
|
default: undefined;
|
|
229
560
|
};
|
|
230
561
|
width: (StringConstructor | NumberConstructor)[];
|
|
231
|
-
footer:
|
|
232
|
-
okText:
|
|
233
|
-
okType:
|
|
234
|
-
cancelText:
|
|
235
|
-
icon:
|
|
562
|
+
footer: PropType<any>;
|
|
563
|
+
okText: PropType<any>;
|
|
564
|
+
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
|
565
|
+
cancelText: PropType<any>;
|
|
566
|
+
icon: PropType<any>;
|
|
236
567
|
maskClosable: {
|
|
237
568
|
type: BooleanConstructor;
|
|
238
569
|
default: undefined;
|
|
@@ -241,21 +572,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
572
|
type: BooleanConstructor;
|
|
242
573
|
default: undefined;
|
|
243
574
|
};
|
|
244
|
-
okButtonProps:
|
|
575
|
+
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
|
245
576
|
prefixCls: StringConstructor;
|
|
246
|
-
type:
|
|
577
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
247
578
|
htmlType: {
|
|
248
|
-
type:
|
|
579
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
249
580
|
default: string;
|
|
250
581
|
};
|
|
251
582
|
shape: {
|
|
252
|
-
type:
|
|
583
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
253
584
|
};
|
|
254
585
|
size: {
|
|
255
|
-
type:
|
|
586
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
256
587
|
};
|
|
257
588
|
loading: {
|
|
258
|
-
type:
|
|
589
|
+
type: PropType<boolean | {
|
|
259
590
|
delay?: number | undefined;
|
|
260
591
|
}>;
|
|
261
592
|
default: () => boolean | {
|
|
@@ -278,32 +609,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
609
|
type: BooleanConstructor;
|
|
279
610
|
default: undefined;
|
|
280
611
|
};
|
|
281
|
-
icon:
|
|
612
|
+
icon: PropType<any>;
|
|
282
613
|
href: StringConstructor;
|
|
283
614
|
target: StringConstructor;
|
|
284
615
|
title: StringConstructor;
|
|
285
616
|
onClick: {
|
|
286
|
-
type:
|
|
617
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
287
618
|
};
|
|
288
619
|
onMousedown: {
|
|
289
|
-
type:
|
|
620
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
290
621
|
};
|
|
291
622
|
}>>>;
|
|
292
|
-
cancelButtonProps:
|
|
623
|
+
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
|
293
624
|
prefixCls: StringConstructor;
|
|
294
|
-
type:
|
|
625
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
|
295
626
|
htmlType: {
|
|
296
|
-
type:
|
|
627
|
+
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
|
297
628
|
default: string;
|
|
298
629
|
};
|
|
299
630
|
shape: {
|
|
300
|
-
type:
|
|
631
|
+
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
|
301
632
|
};
|
|
302
633
|
size: {
|
|
303
|
-
type:
|
|
634
|
+
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
|
304
635
|
};
|
|
305
636
|
loading: {
|
|
306
|
-
type:
|
|
637
|
+
type: PropType<boolean | {
|
|
307
638
|
delay?: number | undefined;
|
|
308
639
|
}>;
|
|
309
640
|
default: () => boolean | {
|
|
@@ -326,15 +657,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
326
657
|
type: BooleanConstructor;
|
|
327
658
|
default: undefined;
|
|
328
659
|
};
|
|
329
|
-
icon:
|
|
660
|
+
icon: PropType<any>;
|
|
330
661
|
href: StringConstructor;
|
|
331
662
|
target: StringConstructor;
|
|
332
663
|
title: StringConstructor;
|
|
333
664
|
onClick: {
|
|
334
|
-
type:
|
|
665
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
335
666
|
};
|
|
336
667
|
onMousedown: {
|
|
337
|
-
type:
|
|
668
|
+
type: PropType<(event: MouseEvent) => void>;
|
|
338
669
|
};
|
|
339
670
|
}>>>;
|
|
340
671
|
destroyOnClose: {
|
|
@@ -345,16 +676,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
345
676
|
maskTransitionName: StringConstructor;
|
|
346
677
|
transitionName: StringConstructor;
|
|
347
678
|
getContainer: {
|
|
348
|
-
type:
|
|
679
|
+
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
|
349
680
|
default: undefined;
|
|
350
681
|
};
|
|
351
682
|
zIndex: NumberConstructor;
|
|
352
683
|
bodyStyle: {
|
|
353
|
-
type:
|
|
684
|
+
type: PropType<import("vue").CSSProperties>;
|
|
354
685
|
default: import("vue").CSSProperties;
|
|
355
686
|
};
|
|
356
687
|
maskStyle: {
|
|
357
|
-
type:
|
|
688
|
+
type: PropType<import("vue").CSSProperties>;
|
|
358
689
|
default: import("vue").CSSProperties;
|
|
359
690
|
};
|
|
360
691
|
mask: {
|
|
@@ -370,16 +701,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
370
701
|
type: BooleanConstructor;
|
|
371
702
|
default: undefined;
|
|
372
703
|
};
|
|
373
|
-
modalRender:
|
|
704
|
+
modalRender: PropType<(arg: {
|
|
374
705
|
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
|
375
706
|
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
|
376
707
|
}>>, {
|
|
377
|
-
mask: boolean;
|
|
378
708
|
visible: boolean;
|
|
379
|
-
|
|
709
|
+
kgIsDefaultFullscreen: boolean;
|
|
710
|
+
kgIsShowFullscreenButton: boolean;
|
|
711
|
+
kgFullHeight: boolean;
|
|
712
|
+
kgIsDragToMove: boolean;
|
|
713
|
+
kgIsDragToResize: boolean;
|
|
714
|
+
kgMaxHeight: number;
|
|
715
|
+
kgMaxWidth: number;
|
|
716
|
+
kgMinHeight: number;
|
|
717
|
+
kgMinWidth: number;
|
|
380
718
|
kgShowCancelButton: boolean;
|
|
381
719
|
kgShowOkButton: boolean;
|
|
382
|
-
kgFullHeight: boolean;
|
|
383
720
|
confirmLoading: boolean;
|
|
384
721
|
closable: boolean;
|
|
385
722
|
centered: boolean;
|
|
@@ -389,6 +726,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
389
726
|
getContainer: string | false | HTMLElement | (() => HTMLElement);
|
|
390
727
|
bodyStyle: import("vue").CSSProperties;
|
|
391
728
|
maskStyle: import("vue").CSSProperties;
|
|
729
|
+
mask: boolean;
|
|
392
730
|
keyboard: boolean;
|
|
393
731
|
focusTriggerAfterClose: boolean;
|
|
394
732
|
}>;
|