@kengic/vue 0.3.1-beta.0 → 0.3.2-beta.0
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 +3719 -3584
- package/dist/src/components/KgForm/KgForm.d.ts +277 -0
- package/dist/src/components/KgForm/index.d.ts +602 -0
- package/dist/src/components/KgForm/index.vm.d.ts +142 -0
- package/dist/src/components/{KgControl/KgControl.Date.d.ts → KgForm.Item/KgForm.Item.Date.d.ts} +5 -22
- package/dist/src/components/{KgControl/KgControl.Input.d.ts → KgForm.Item/KgForm.Item.Input.d.ts} +5 -22
- package/dist/src/components/{KgControl/KgControl.InputNumber.d.ts → KgForm.Item/KgForm.Item.InputNumber.d.ts} +5 -22
- package/dist/src/components/{KgControl/KgControl.Select.d.ts → KgForm.Item/KgForm.Item.Select.d.ts} +9 -24
- package/dist/src/components/{KgControl/KgControl.Switch.d.ts → KgForm.Item/KgForm.Item.Switch.d.ts} +5 -22
- package/dist/src/components/{KgControl/KgControl.d.ts → KgForm.Item/KgForm.Item.d.ts} +5 -22
- package/dist/src/components/{KgControl/addon/KgControl.Addon.Lookup.Modal.d.ts → KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts} +10 -1
- package/dist/src/components/{KgControl/addon/KgControl.Addon.Lookup.d.ts → KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts} +1 -1
- package/dist/src/components/KgForm.Item/index.d.ts +2 -0
- package/dist/src/components/{KgControl → KgForm.Item}/index.vm.d.ts +4 -18
- package/dist/src/components/KgModal/KgModal.d.ts +73 -261
- package/dist/src/components/KgModal/index.d.ts +2 -1
- package/dist/src/components/KgModal/index.vm.d.ts +31 -26
- package/dist/src/components/KgSearch/index.hooks.d.ts +16 -6
- package/dist/src/components/KgSearch/index.store.d.ts +52 -19
- package/dist/src/components/KgTable/index.store.d.ts +3 -2
- package/dist/src/components/KgVar/index.hooks.d.ts +5 -1
- package/dist/src/components/KgVar/index.store.d.ts +3 -4
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/consts/index.d.ts +2 -2
- package/dist/src/helpers/ant-design-vue.d.ts +316 -0
- package/dist/src/utils/logger.util.d.ts +9 -1
- package/package.json +1 -1
- package/dist/src/components/KgControl/index.d.ts +0 -2
@@ -1,16 +1,10 @@
|
|
1
1
|
import { ExtractPropTypes, InjectionKey, PropType } from 'vue';
|
2
2
|
import { KG_CONTROL_CONTEXT, KG_CONTROL_TYPE } from '../../consts';
|
3
|
-
import { ValidateInfo } from 'ant-design-vue/lib/form/useForm';
|
4
3
|
import { Dayjs } from 'dayjs';
|
5
4
|
import { SharedTimeProps } from 'ant-design-vue/es/vc-picker/panels/TimePanel';
|
6
5
|
import { IKgTableRecord } from '../KgTable';
|
7
|
-
export declare type
|
6
|
+
export declare type IKgFormItemValue = string | number | Array<string | number>;
|
8
7
|
export declare const getProps: () => {
|
9
|
-
/** 表单数据对象. */
|
10
|
-
kgModel: {
|
11
|
-
type: PropType<Record<string, any>>;
|
12
|
-
required: boolean;
|
13
|
-
};
|
14
8
|
/** 变量名称. */
|
15
9
|
kgVarName: {
|
16
10
|
type: PropType<string>;
|
@@ -63,14 +57,6 @@ export declare const getProps: () => {
|
|
63
57
|
* @default {@link KG_CONTROL_TYPE.INPUT}
|
64
58
|
*/
|
65
59
|
kgType: PropType<KG_CONTROL_TYPE>;
|
66
|
-
/**
|
67
|
-
* 表单验证信息.
|
68
|
-
* @default {}
|
69
|
-
*/
|
70
|
-
kgValidateInfo: {
|
71
|
-
type: PropType<ValidateInfo>;
|
72
|
-
default: () => {};
|
73
|
-
};
|
74
60
|
/**
|
75
61
|
* 时间配置.
|
76
62
|
* https://www.antdv.com/components/date-picker#DatePicker
|
@@ -85,13 +71,13 @@ export declare const getProps: () => {
|
|
85
71
|
* 通常用于在弹窗确定之前, 对选择的数据进行校验, 如果校验失败, 则不允许确定, 需要重新选择数据.
|
86
72
|
*/
|
87
73
|
onKgBeforeLookupOk: PropType<(value: any | Array<any>, record: IKgTableRecord | Array<IKgTableRecord>) => boolean>;
|
88
|
-
value: PropType<
|
89
|
-
'onUpdate:value': PropType<(value:
|
74
|
+
value: PropType<IKgFormItemValue>;
|
75
|
+
'onUpdate:value': PropType<(value: IKgFormItemValue | null) => void>;
|
90
76
|
onKgSubmit: PropType<() => void>;
|
91
77
|
onKgChange: PropType<(value: any | null) => void>;
|
92
78
|
/** 下拉列表数据发生变更. */
|
93
79
|
onKgSelectDatasChange: PropType<(datas: Array<any>) => void>;
|
94
80
|
};
|
95
|
-
export declare type
|
81
|
+
export declare type IKgFormItemProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
96
82
|
/** 依赖注入 onKgBeforeLookupOk 参数. */
|
97
83
|
export declare const DI_ON_KG_BEFORE_LOOKUP_OK: InjectionKey<(value: any | Array<any>, record: IKgTableRecord | Array<IKgTableRecord>) => boolean>;
|
@@ -1,197 +1,11 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
1
|
import './KgModal.less';
|
3
|
-
export declare const getProps: () => {
|
4
|
-
/** 是否显示全屏按钮. */
|
5
|
-
kgCanFullscreen: {
|
6
|
-
type: PropType<boolean>;
|
7
|
-
default: boolean;
|
8
|
-
};
|
9
|
-
/** 是否显示取消按钮. */
|
10
|
-
kgShowCancelButton: {
|
11
|
-
type: PropType<boolean>;
|
12
|
-
default: boolean;
|
13
|
-
};
|
14
|
-
prefixCls: StringConstructor;
|
15
|
-
visible: {
|
16
|
-
type: BooleanConstructor;
|
17
|
-
default: undefined;
|
18
|
-
};
|
19
|
-
confirmLoading: {
|
20
|
-
type: BooleanConstructor;
|
21
|
-
default: undefined;
|
22
|
-
};
|
23
|
-
title: PropType<any>;
|
24
|
-
closable: {
|
25
|
-
type: BooleanConstructor;
|
26
|
-
default: undefined;
|
27
|
-
};
|
28
|
-
closeIcon: PropType<any>;
|
29
|
-
onOk: PropType<(e: MouseEvent) => void>;
|
30
|
-
onCancel: PropType<(e: MouseEvent) => void>;
|
31
|
-
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
32
|
-
onChange: PropType<(visible: boolean) => void>;
|
33
|
-
afterClose: PropType<() => void>;
|
34
|
-
centered: {
|
35
|
-
type: BooleanConstructor;
|
36
|
-
default: undefined;
|
37
|
-
};
|
38
|
-
width: (StringConstructor | NumberConstructor)[];
|
39
|
-
footer: PropType<any>;
|
40
|
-
okText: PropType<any>;
|
41
|
-
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
42
|
-
cancelText: PropType<any>;
|
43
|
-
icon: PropType<any>;
|
44
|
-
maskClosable: {
|
45
|
-
type: BooleanConstructor;
|
46
|
-
default: undefined;
|
47
|
-
};
|
48
|
-
forceRender: {
|
49
|
-
type: BooleanConstructor;
|
50
|
-
default: undefined;
|
51
|
-
};
|
52
|
-
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
53
|
-
prefixCls: StringConstructor;
|
54
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
55
|
-
htmlType: {
|
56
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
57
|
-
default: string;
|
58
|
-
};
|
59
|
-
shape: {
|
60
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
61
|
-
};
|
62
|
-
size: {
|
63
|
-
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
64
|
-
};
|
65
|
-
loading: {
|
66
|
-
type: PropType<boolean | {
|
67
|
-
delay?: number | undefined;
|
68
|
-
}>;
|
69
|
-
default: () => boolean | {
|
70
|
-
delay?: number | undefined;
|
71
|
-
};
|
72
|
-
};
|
73
|
-
disabled: {
|
74
|
-
type: BooleanConstructor;
|
75
|
-
default: undefined;
|
76
|
-
};
|
77
|
-
ghost: {
|
78
|
-
type: BooleanConstructor;
|
79
|
-
default: undefined;
|
80
|
-
};
|
81
|
-
block: {
|
82
|
-
type: BooleanConstructor;
|
83
|
-
default: undefined;
|
84
|
-
};
|
85
|
-
danger: {
|
86
|
-
type: BooleanConstructor;
|
87
|
-
default: undefined;
|
88
|
-
};
|
89
|
-
icon: PropType<any>;
|
90
|
-
href: StringConstructor;
|
91
|
-
target: StringConstructor;
|
92
|
-
title: StringConstructor;
|
93
|
-
onClick: {
|
94
|
-
type: PropType<(event: MouseEvent) => void>;
|
95
|
-
};
|
96
|
-
onMousedown: {
|
97
|
-
type: PropType<(event: MouseEvent) => void>;
|
98
|
-
};
|
99
|
-
}>>>;
|
100
|
-
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
101
|
-
prefixCls: StringConstructor;
|
102
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
103
|
-
htmlType: {
|
104
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
105
|
-
default: string;
|
106
|
-
};
|
107
|
-
shape: {
|
108
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
109
|
-
};
|
110
|
-
size: {
|
111
|
-
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
112
|
-
};
|
113
|
-
loading: {
|
114
|
-
type: PropType<boolean | {
|
115
|
-
delay?: number | undefined;
|
116
|
-
}>;
|
117
|
-
default: () => boolean | {
|
118
|
-
delay?: number | undefined;
|
119
|
-
};
|
120
|
-
};
|
121
|
-
disabled: {
|
122
|
-
type: BooleanConstructor;
|
123
|
-
default: undefined;
|
124
|
-
};
|
125
|
-
ghost: {
|
126
|
-
type: BooleanConstructor;
|
127
|
-
default: undefined;
|
128
|
-
};
|
129
|
-
block: {
|
130
|
-
type: BooleanConstructor;
|
131
|
-
default: undefined;
|
132
|
-
};
|
133
|
-
danger: {
|
134
|
-
type: BooleanConstructor;
|
135
|
-
default: undefined;
|
136
|
-
};
|
137
|
-
icon: PropType<any>;
|
138
|
-
href: StringConstructor;
|
139
|
-
target: StringConstructor;
|
140
|
-
title: StringConstructor;
|
141
|
-
onClick: {
|
142
|
-
type: PropType<(event: MouseEvent) => void>;
|
143
|
-
};
|
144
|
-
onMousedown: {
|
145
|
-
type: PropType<(event: MouseEvent) => void>;
|
146
|
-
};
|
147
|
-
}>>>;
|
148
|
-
destroyOnClose: {
|
149
|
-
type: BooleanConstructor;
|
150
|
-
default: undefined;
|
151
|
-
};
|
152
|
-
wrapClassName: StringConstructor;
|
153
|
-
maskTransitionName: StringConstructor;
|
154
|
-
transitionName: StringConstructor;
|
155
|
-
getContainer: {
|
156
|
-
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
157
|
-
default: undefined;
|
158
|
-
};
|
159
|
-
zIndex: NumberConstructor;
|
160
|
-
bodyStyle: {
|
161
|
-
type: PropType<import("vue").CSSProperties>;
|
162
|
-
default: import("vue").CSSProperties;
|
163
|
-
};
|
164
|
-
maskStyle: {
|
165
|
-
type: PropType<import("vue").CSSProperties>;
|
166
|
-
default: import("vue").CSSProperties;
|
167
|
-
};
|
168
|
-
mask: {
|
169
|
-
type: BooleanConstructor;
|
170
|
-
default: undefined;
|
171
|
-
};
|
172
|
-
keyboard: {
|
173
|
-
type: BooleanConstructor;
|
174
|
-
default: undefined;
|
175
|
-
};
|
176
|
-
wrapProps: ObjectConstructor;
|
177
|
-
focusTriggerAfterClose: {
|
178
|
-
type: BooleanConstructor;
|
179
|
-
default: undefined;
|
180
|
-
};
|
181
|
-
modalRender: PropType<(arg: {
|
182
|
-
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
183
|
-
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
184
|
-
};
|
185
|
-
export declare type KgModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
186
2
|
declare const _default: import("vue").DefineComponent<{
|
187
|
-
/** 是否显示全屏按钮. */
|
188
3
|
kgCanFullscreen: {
|
189
|
-
type: PropType<boolean>;
|
4
|
+
type: import("vue").PropType<boolean>;
|
190
5
|
default: boolean;
|
191
6
|
};
|
192
|
-
/** 是否显示取消按钮. */
|
193
7
|
kgShowCancelButton: {
|
194
|
-
type: PropType<boolean>;
|
8
|
+
type: import("vue").PropType<boolean>;
|
195
9
|
default: boolean;
|
196
10
|
};
|
197
11
|
prefixCls: StringConstructor;
|
@@ -203,27 +17,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
203
17
|
type: BooleanConstructor;
|
204
18
|
default: undefined;
|
205
19
|
};
|
206
|
-
title: PropType<any>;
|
20
|
+
title: import("vue").PropType<any>;
|
207
21
|
closable: {
|
208
22
|
type: BooleanConstructor;
|
209
23
|
default: undefined;
|
210
24
|
};
|
211
|
-
closeIcon: PropType<any>;
|
212
|
-
onOk: PropType<(e: MouseEvent) => void>;
|
213
|
-
onCancel: PropType<(e: MouseEvent) => void>;
|
214
|
-
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
215
|
-
onChange: PropType<(visible: boolean) => void>;
|
216
|
-
afterClose: PropType<() => void>;
|
25
|
+
closeIcon: import("vue").PropType<any>;
|
26
|
+
onOk: import("vue").PropType<(e: MouseEvent) => void>;
|
27
|
+
onCancel: import("vue").PropType<(e: MouseEvent) => void>;
|
28
|
+
'onUpdate:visible': import("vue").PropType<(visible: boolean) => void>;
|
29
|
+
onChange: import("vue").PropType<(visible: boolean) => void>;
|
30
|
+
afterClose: import("vue").PropType<() => void>;
|
217
31
|
centered: {
|
218
32
|
type: BooleanConstructor;
|
219
33
|
default: undefined;
|
220
34
|
};
|
221
35
|
width: (StringConstructor | NumberConstructor)[];
|
222
|
-
footer: PropType<any>;
|
223
|
-
okText: PropType<any>;
|
224
|
-
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
225
|
-
cancelText: PropType<any>;
|
226
|
-
icon: PropType<any>;
|
36
|
+
footer: import("vue").PropType<any>;
|
37
|
+
okText: import("vue").PropType<any>;
|
38
|
+
okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
39
|
+
cancelText: import("vue").PropType<any>;
|
40
|
+
icon: import("vue").PropType<any>;
|
227
41
|
maskClosable: {
|
228
42
|
type: BooleanConstructor;
|
229
43
|
default: undefined;
|
@@ -232,21 +46,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
232
46
|
type: BooleanConstructor;
|
233
47
|
default: undefined;
|
234
48
|
};
|
235
|
-
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
49
|
+
okButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
236
50
|
prefixCls: StringConstructor;
|
237
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
51
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
238
52
|
htmlType: {
|
239
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
53
|
+
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
240
54
|
default: string;
|
241
55
|
};
|
242
56
|
shape: {
|
243
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
57
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
244
58
|
};
|
245
59
|
size: {
|
246
|
-
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
60
|
+
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
247
61
|
};
|
248
62
|
loading: {
|
249
|
-
type: PropType<boolean | {
|
63
|
+
type: import("vue").PropType<boolean | {
|
250
64
|
delay?: number | undefined;
|
251
65
|
}>;
|
252
66
|
default: () => boolean | {
|
@@ -269,32 +83,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
269
83
|
type: BooleanConstructor;
|
270
84
|
default: undefined;
|
271
85
|
};
|
272
|
-
icon: PropType<any>;
|
86
|
+
icon: import("vue").PropType<any>;
|
273
87
|
href: StringConstructor;
|
274
88
|
target: StringConstructor;
|
275
89
|
title: StringConstructor;
|
276
90
|
onClick: {
|
277
|
-
type: PropType<(event: MouseEvent) => void>;
|
91
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
278
92
|
};
|
279
93
|
onMousedown: {
|
280
|
-
type: PropType<(event: MouseEvent) => void>;
|
94
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
281
95
|
};
|
282
96
|
}>>>;
|
283
|
-
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
97
|
+
cancelButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
284
98
|
prefixCls: StringConstructor;
|
285
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
99
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
286
100
|
htmlType: {
|
287
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
101
|
+
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
288
102
|
default: string;
|
289
103
|
};
|
290
104
|
shape: {
|
291
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
105
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
292
106
|
};
|
293
107
|
size: {
|
294
|
-
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
108
|
+
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
295
109
|
};
|
296
110
|
loading: {
|
297
|
-
type: PropType<boolean | {
|
111
|
+
type: import("vue").PropType<boolean | {
|
298
112
|
delay?: number | undefined;
|
299
113
|
}>;
|
300
114
|
default: () => boolean | {
|
@@ -317,15 +131,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
317
131
|
type: BooleanConstructor;
|
318
132
|
default: undefined;
|
319
133
|
};
|
320
|
-
icon: PropType<any>;
|
134
|
+
icon: import("vue").PropType<any>;
|
321
135
|
href: StringConstructor;
|
322
136
|
target: StringConstructor;
|
323
137
|
title: StringConstructor;
|
324
138
|
onClick: {
|
325
|
-
type: PropType<(event: MouseEvent) => void>;
|
139
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
326
140
|
};
|
327
141
|
onMousedown: {
|
328
|
-
type: PropType<(event: MouseEvent) => void>;
|
142
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
329
143
|
};
|
330
144
|
}>>>;
|
331
145
|
destroyOnClose: {
|
@@ -336,16 +150,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
336
150
|
maskTransitionName: StringConstructor;
|
337
151
|
transitionName: StringConstructor;
|
338
152
|
getContainer: {
|
339
|
-
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
153
|
+
type: import("vue").PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
340
154
|
default: undefined;
|
341
155
|
};
|
342
156
|
zIndex: NumberConstructor;
|
343
157
|
bodyStyle: {
|
344
|
-
type: PropType<import("vue").CSSProperties>;
|
158
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
345
159
|
default: import("vue").CSSProperties;
|
346
160
|
};
|
347
161
|
maskStyle: {
|
348
|
-
type: PropType<import("vue").CSSProperties>;
|
162
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
349
163
|
default: import("vue").CSSProperties;
|
350
164
|
};
|
351
165
|
mask: {
|
@@ -361,18 +175,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
361
175
|
type: BooleanConstructor;
|
362
176
|
default: undefined;
|
363
177
|
};
|
364
|
-
modalRender: PropType<(arg: {
|
178
|
+
modalRender: import("vue").PropType<(arg: {
|
365
179
|
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
366
180
|
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
367
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
368
|
-
/** 是否显示全屏按钮. */
|
181
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
369
182
|
kgCanFullscreen: {
|
370
|
-
type: PropType<boolean>;
|
183
|
+
type: import("vue").PropType<boolean>;
|
371
184
|
default: boolean;
|
372
185
|
};
|
373
|
-
/** 是否显示取消按钮. */
|
374
186
|
kgShowCancelButton: {
|
375
|
-
type: PropType<boolean>;
|
187
|
+
type: import("vue").PropType<boolean>;
|
376
188
|
default: boolean;
|
377
189
|
};
|
378
190
|
prefixCls: StringConstructor;
|
@@ -384,27 +196,27 @@ declare const _default: import("vue").DefineComponent<{
|
|
384
196
|
type: BooleanConstructor;
|
385
197
|
default: undefined;
|
386
198
|
};
|
387
|
-
title: PropType<any>;
|
199
|
+
title: import("vue").PropType<any>;
|
388
200
|
closable: {
|
389
201
|
type: BooleanConstructor;
|
390
202
|
default: undefined;
|
391
203
|
};
|
392
|
-
closeIcon: PropType<any>;
|
393
|
-
onOk: PropType<(e: MouseEvent) => void>;
|
394
|
-
onCancel: PropType<(e: MouseEvent) => void>;
|
395
|
-
'onUpdate:visible': PropType<(visible: boolean) => void>;
|
396
|
-
onChange: PropType<(visible: boolean) => void>;
|
397
|
-
afterClose: PropType<() => void>;
|
204
|
+
closeIcon: import("vue").PropType<any>;
|
205
|
+
onOk: import("vue").PropType<(e: MouseEvent) => void>;
|
206
|
+
onCancel: import("vue").PropType<(e: MouseEvent) => void>;
|
207
|
+
'onUpdate:visible': import("vue").PropType<(visible: boolean) => void>;
|
208
|
+
onChange: import("vue").PropType<(visible: boolean) => void>;
|
209
|
+
afterClose: import("vue").PropType<() => void>;
|
398
210
|
centered: {
|
399
211
|
type: BooleanConstructor;
|
400
212
|
default: undefined;
|
401
213
|
};
|
402
214
|
width: (StringConstructor | NumberConstructor)[];
|
403
|
-
footer: PropType<any>;
|
404
|
-
okText: PropType<any>;
|
405
|
-
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
406
|
-
cancelText: PropType<any>;
|
407
|
-
icon: PropType<any>;
|
215
|
+
footer: import("vue").PropType<any>;
|
216
|
+
okText: import("vue").PropType<any>;
|
217
|
+
okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
218
|
+
cancelText: import("vue").PropType<any>;
|
219
|
+
icon: import("vue").PropType<any>;
|
408
220
|
maskClosable: {
|
409
221
|
type: BooleanConstructor;
|
410
222
|
default: undefined;
|
@@ -413,21 +225,21 @@ declare const _default: import("vue").DefineComponent<{
|
|
413
225
|
type: BooleanConstructor;
|
414
226
|
default: undefined;
|
415
227
|
};
|
416
|
-
okButtonProps: PropType<Partial<ExtractPropTypes<{
|
228
|
+
okButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
417
229
|
prefixCls: StringConstructor;
|
418
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
230
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
419
231
|
htmlType: {
|
420
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
232
|
+
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
421
233
|
default: string;
|
422
234
|
};
|
423
235
|
shape: {
|
424
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
236
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
425
237
|
};
|
426
238
|
size: {
|
427
|
-
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
239
|
+
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
428
240
|
};
|
429
241
|
loading: {
|
430
|
-
type: PropType<boolean | {
|
242
|
+
type: import("vue").PropType<boolean | {
|
431
243
|
delay?: number | undefined;
|
432
244
|
}>;
|
433
245
|
default: () => boolean | {
|
@@ -450,32 +262,32 @@ declare const _default: import("vue").DefineComponent<{
|
|
450
262
|
type: BooleanConstructor;
|
451
263
|
default: undefined;
|
452
264
|
};
|
453
|
-
icon: PropType<any>;
|
265
|
+
icon: import("vue").PropType<any>;
|
454
266
|
href: StringConstructor;
|
455
267
|
target: StringConstructor;
|
456
268
|
title: StringConstructor;
|
457
269
|
onClick: {
|
458
|
-
type: PropType<(event: MouseEvent) => void>;
|
270
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
459
271
|
};
|
460
272
|
onMousedown: {
|
461
|
-
type: PropType<(event: MouseEvent) => void>;
|
273
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
462
274
|
};
|
463
275
|
}>>>;
|
464
|
-
cancelButtonProps: PropType<Partial<ExtractPropTypes<{
|
276
|
+
cancelButtonProps: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
465
277
|
prefixCls: StringConstructor;
|
466
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonType>;
|
278
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonType>;
|
467
279
|
htmlType: {
|
468
|
-
type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
280
|
+
type: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
|
469
281
|
default: string;
|
470
282
|
};
|
471
283
|
shape: {
|
472
|
-
type: PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
284
|
+
type: import("vue").PropType<import("ant-design-vue/lib/button").ButtonShape>;
|
473
285
|
};
|
474
286
|
size: {
|
475
|
-
type: PropType<import("ant-design-vue/es/button").ButtonSize>;
|
287
|
+
type: import("vue").PropType<import("ant-design-vue/es/button").ButtonSize>;
|
476
288
|
};
|
477
289
|
loading: {
|
478
|
-
type: PropType<boolean | {
|
290
|
+
type: import("vue").PropType<boolean | {
|
479
291
|
delay?: number | undefined;
|
480
292
|
}>;
|
481
293
|
default: () => boolean | {
|
@@ -498,15 +310,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
498
310
|
type: BooleanConstructor;
|
499
311
|
default: undefined;
|
500
312
|
};
|
501
|
-
icon: PropType<any>;
|
313
|
+
icon: import("vue").PropType<any>;
|
502
314
|
href: StringConstructor;
|
503
315
|
target: StringConstructor;
|
504
316
|
title: StringConstructor;
|
505
317
|
onClick: {
|
506
|
-
type: PropType<(event: MouseEvent) => void>;
|
318
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
507
319
|
};
|
508
320
|
onMousedown: {
|
509
|
-
type: PropType<(event: MouseEvent) => void>;
|
321
|
+
type: import("vue").PropType<(event: MouseEvent) => void>;
|
510
322
|
};
|
511
323
|
}>>>;
|
512
324
|
destroyOnClose: {
|
@@ -517,16 +329,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
517
329
|
maskTransitionName: StringConstructor;
|
518
330
|
transitionName: StringConstructor;
|
519
331
|
getContainer: {
|
520
|
-
type: PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
332
|
+
type: import("vue").PropType<string | false | HTMLElement | (() => HTMLElement)>;
|
521
333
|
default: undefined;
|
522
334
|
};
|
523
335
|
zIndex: NumberConstructor;
|
524
336
|
bodyStyle: {
|
525
|
-
type: PropType<import("vue").CSSProperties>;
|
337
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
526
338
|
default: import("vue").CSSProperties;
|
527
339
|
};
|
528
340
|
maskStyle: {
|
529
|
-
type: PropType<import("vue").CSSProperties>;
|
341
|
+
type: import("vue").PropType<import("vue").CSSProperties>;
|
530
342
|
default: import("vue").CSSProperties;
|
531
343
|
};
|
532
344
|
mask: {
|
@@ -542,7 +354,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
542
354
|
type: BooleanConstructor;
|
543
355
|
default: undefined;
|
544
356
|
};
|
545
|
-
modalRender: PropType<(arg: {
|
357
|
+
modalRender: import("vue").PropType<(arg: {
|
546
358
|
originVNode: import("ant-design-vue/es/_util/type").VueNode;
|
547
359
|
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
548
360
|
}>>, {
|
@@ -1 +1,2 @@
|
|
1
|
-
export { default as KgModal
|
1
|
+
export { default as KgModal } from './KgModal';
|
2
|
+
export { type IKgModalProps } from './index.vm';
|