@kengic/vue 0.13.4-beta.0 → 0.13.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +10997 -10962
- package/dist/src/components/KgForm/KgForm.d.ts +24 -24
- package/dist/src/components/KgForm/index.d.ts +48 -48
- package/dist/src/components/KgForm/index.vm.d.ts +12 -12
- package/dist/src/components/KgModal/KgModal.d.ts +6 -6
- package/dist/src/components/KgModal/index.vm.d.ts +1 -1
- package/dist/src/helpers/ant-design-vue.d.ts +13 -13
- package/dist/src/services/http-client.d.ts +13 -0
- package/package.json +1 -1
@@ -3,11 +3,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
4
4
|
labelCol: {
|
5
5
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
6
|
-
span: (
|
7
|
-
order: (
|
8
|
-
offset: (
|
9
|
-
push: (
|
10
|
-
pull: (
|
6
|
+
span: (StringConstructor | NumberConstructor)[];
|
7
|
+
order: (StringConstructor | NumberConstructor)[];
|
8
|
+
offset: (StringConstructor | NumberConstructor)[];
|
9
|
+
push: (StringConstructor | NumberConstructor)[];
|
10
|
+
pull: (StringConstructor | NumberConstructor)[];
|
11
11
|
xs: {
|
12
12
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
13
13
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -37,16 +37,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
37
37
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
38
38
|
};
|
39
39
|
prefixCls: StringConstructor;
|
40
|
-
flex: (
|
40
|
+
flex: (StringConstructor | NumberConstructor)[];
|
41
41
|
}>> & import("vue").HTMLAttributes>;
|
42
42
|
};
|
43
43
|
wrapperCol: {
|
44
44
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
45
|
-
span: (
|
46
|
-
order: (
|
47
|
-
offset: (
|
48
|
-
push: (
|
49
|
-
pull: (
|
45
|
+
span: (StringConstructor | NumberConstructor)[];
|
46
|
+
order: (StringConstructor | NumberConstructor)[];
|
47
|
+
offset: (StringConstructor | NumberConstructor)[];
|
48
|
+
push: (StringConstructor | NumberConstructor)[];
|
49
|
+
pull: (StringConstructor | NumberConstructor)[];
|
50
50
|
xs: {
|
51
51
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
52
52
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -76,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
76
76
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
77
77
|
};
|
78
78
|
prefixCls: StringConstructor;
|
79
|
-
flex: (
|
79
|
+
flex: (StringConstructor | NumberConstructor)[];
|
80
80
|
}>> & import("vue").HTMLAttributes>;
|
81
81
|
};
|
82
82
|
colon: {
|
@@ -137,11 +137,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
137
137
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
138
138
|
labelCol: {
|
139
139
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
140
|
-
span: (
|
141
|
-
order: (
|
142
|
-
offset: (
|
143
|
-
push: (
|
144
|
-
pull: (
|
140
|
+
span: (StringConstructor | NumberConstructor)[];
|
141
|
+
order: (StringConstructor | NumberConstructor)[];
|
142
|
+
offset: (StringConstructor | NumberConstructor)[];
|
143
|
+
push: (StringConstructor | NumberConstructor)[];
|
144
|
+
pull: (StringConstructor | NumberConstructor)[];
|
145
145
|
xs: {
|
146
146
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
147
147
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -171,16 +171,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
171
171
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
172
172
|
};
|
173
173
|
prefixCls: StringConstructor;
|
174
|
-
flex: (
|
174
|
+
flex: (StringConstructor | NumberConstructor)[];
|
175
175
|
}>> & import("vue").HTMLAttributes>;
|
176
176
|
};
|
177
177
|
wrapperCol: {
|
178
178
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
179
|
-
span: (
|
180
|
-
order: (
|
181
|
-
offset: (
|
182
|
-
push: (
|
183
|
-
pull: (
|
179
|
+
span: (StringConstructor | NumberConstructor)[];
|
180
|
+
order: (StringConstructor | NumberConstructor)[];
|
181
|
+
offset: (StringConstructor | NumberConstructor)[];
|
182
|
+
push: (StringConstructor | NumberConstructor)[];
|
183
|
+
pull: (StringConstructor | NumberConstructor)[];
|
184
184
|
xs: {
|
185
185
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
186
186
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -210,7 +210,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
210
210
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
211
211
|
};
|
212
212
|
prefixCls: StringConstructor;
|
213
|
-
flex: (
|
213
|
+
flex: (StringConstructor | NumberConstructor)[];
|
214
214
|
}>> & import("vue").HTMLAttributes>;
|
215
215
|
};
|
216
216
|
colon: {
|
@@ -13,11 +13,11 @@ declare const _default: {
|
|
13
13
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
14
14
|
labelCol: {
|
15
15
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
16
|
-
span: (
|
17
|
-
order: (
|
18
|
-
offset: (
|
19
|
-
push: (
|
20
|
-
pull: (
|
16
|
+
span: (StringConstructor | NumberConstructor)[];
|
17
|
+
order: (StringConstructor | NumberConstructor)[];
|
18
|
+
offset: (StringConstructor | NumberConstructor)[];
|
19
|
+
push: (StringConstructor | NumberConstructor)[];
|
20
|
+
pull: (StringConstructor | NumberConstructor)[];
|
21
21
|
xs: {
|
22
22
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
23
23
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -47,16 +47,16 @@ declare const _default: {
|
|
47
47
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
48
48
|
};
|
49
49
|
prefixCls: StringConstructor;
|
50
|
-
flex: (
|
50
|
+
flex: (StringConstructor | NumberConstructor)[];
|
51
51
|
}>> & import("vue").HTMLAttributes>;
|
52
52
|
};
|
53
53
|
wrapperCol: {
|
54
54
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
55
|
-
span: (
|
56
|
-
order: (
|
57
|
-
offset: (
|
58
|
-
push: (
|
59
|
-
pull: (
|
55
|
+
span: (StringConstructor | NumberConstructor)[];
|
56
|
+
order: (StringConstructor | NumberConstructor)[];
|
57
|
+
offset: (StringConstructor | NumberConstructor)[];
|
58
|
+
push: (StringConstructor | NumberConstructor)[];
|
59
|
+
pull: (StringConstructor | NumberConstructor)[];
|
60
60
|
xs: {
|
61
61
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
62
62
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -86,7 +86,7 @@ declare const _default: {
|
|
86
86
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
87
87
|
};
|
88
88
|
prefixCls: StringConstructor;
|
89
|
-
flex: (
|
89
|
+
flex: (StringConstructor | NumberConstructor)[];
|
90
90
|
}>> & import("vue").HTMLAttributes>;
|
91
91
|
};
|
92
92
|
colon: {
|
@@ -161,11 +161,11 @@ declare const _default: {
|
|
161
161
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
162
162
|
labelCol: {
|
163
163
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
164
|
-
span: (
|
165
|
-
order: (
|
166
|
-
offset: (
|
167
|
-
push: (
|
168
|
-
pull: (
|
164
|
+
span: (StringConstructor | NumberConstructor)[];
|
165
|
+
order: (StringConstructor | NumberConstructor)[];
|
166
|
+
offset: (StringConstructor | NumberConstructor)[];
|
167
|
+
push: (StringConstructor | NumberConstructor)[];
|
168
|
+
pull: (StringConstructor | NumberConstructor)[];
|
169
169
|
xs: {
|
170
170
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
171
171
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -195,16 +195,16 @@ declare const _default: {
|
|
195
195
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
196
196
|
};
|
197
197
|
prefixCls: StringConstructor;
|
198
|
-
flex: (
|
198
|
+
flex: (StringConstructor | NumberConstructor)[];
|
199
199
|
}>> & import("vue").HTMLAttributes>;
|
200
200
|
};
|
201
201
|
wrapperCol: {
|
202
202
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
203
|
-
span: (
|
204
|
-
order: (
|
205
|
-
offset: (
|
206
|
-
push: (
|
207
|
-
pull: (
|
203
|
+
span: (StringConstructor | NumberConstructor)[];
|
204
|
+
order: (StringConstructor | NumberConstructor)[];
|
205
|
+
offset: (StringConstructor | NumberConstructor)[];
|
206
|
+
push: (StringConstructor | NumberConstructor)[];
|
207
|
+
pull: (StringConstructor | NumberConstructor)[];
|
208
208
|
xs: {
|
209
209
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
210
210
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -234,7 +234,7 @@ declare const _default: {
|
|
234
234
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
235
235
|
};
|
236
236
|
prefixCls: StringConstructor;
|
237
|
-
flex: (
|
237
|
+
flex: (StringConstructor | NumberConstructor)[];
|
238
238
|
}>> & import("vue").HTMLAttributes>;
|
239
239
|
};
|
240
240
|
colon: {
|
@@ -321,11 +321,11 @@ declare const _default: {
|
|
321
321
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
322
322
|
labelCol: {
|
323
323
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
324
|
-
span: (
|
325
|
-
order: (
|
326
|
-
offset: (
|
327
|
-
push: (
|
328
|
-
pull: (
|
324
|
+
span: (StringConstructor | NumberConstructor)[];
|
325
|
+
order: (StringConstructor | NumberConstructor)[];
|
326
|
+
offset: (StringConstructor | NumberConstructor)[];
|
327
|
+
push: (StringConstructor | NumberConstructor)[];
|
328
|
+
pull: (StringConstructor | NumberConstructor)[];
|
329
329
|
xs: {
|
330
330
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
331
331
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -355,16 +355,16 @@ declare const _default: {
|
|
355
355
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
356
356
|
};
|
357
357
|
prefixCls: StringConstructor;
|
358
|
-
flex: (
|
358
|
+
flex: (StringConstructor | NumberConstructor)[];
|
359
359
|
}>> & import("vue").HTMLAttributes>;
|
360
360
|
};
|
361
361
|
wrapperCol: {
|
362
362
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
363
|
-
span: (
|
364
|
-
order: (
|
365
|
-
offset: (
|
366
|
-
push: (
|
367
|
-
pull: (
|
363
|
+
span: (StringConstructor | NumberConstructor)[];
|
364
|
+
order: (StringConstructor | NumberConstructor)[];
|
365
|
+
offset: (StringConstructor | NumberConstructor)[];
|
366
|
+
push: (StringConstructor | NumberConstructor)[];
|
367
|
+
pull: (StringConstructor | NumberConstructor)[];
|
368
368
|
xs: {
|
369
369
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
370
370
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -394,7 +394,7 @@ declare const _default: {
|
|
394
394
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
395
395
|
};
|
396
396
|
prefixCls: StringConstructor;
|
397
|
-
flex: (
|
397
|
+
flex: (StringConstructor | NumberConstructor)[];
|
398
398
|
}>> & import("vue").HTMLAttributes>;
|
399
399
|
};
|
400
400
|
colon: {
|
@@ -459,11 +459,11 @@ declare const _default: {
|
|
459
459
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
460
460
|
labelCol: {
|
461
461
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
462
|
-
span: (
|
463
|
-
order: (
|
464
|
-
offset: (
|
465
|
-
push: (
|
466
|
-
pull: (
|
462
|
+
span: (StringConstructor | NumberConstructor)[];
|
463
|
+
order: (StringConstructor | NumberConstructor)[];
|
464
|
+
offset: (StringConstructor | NumberConstructor)[];
|
465
|
+
push: (StringConstructor | NumberConstructor)[];
|
466
|
+
pull: (StringConstructor | NumberConstructor)[];
|
467
467
|
xs: {
|
468
468
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
469
469
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -493,16 +493,16 @@ declare const _default: {
|
|
493
493
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
494
494
|
};
|
495
495
|
prefixCls: StringConstructor;
|
496
|
-
flex: (
|
496
|
+
flex: (StringConstructor | NumberConstructor)[];
|
497
497
|
}>> & import("vue").HTMLAttributes>;
|
498
498
|
};
|
499
499
|
wrapperCol: {
|
500
500
|
type: import("vue").PropType<Partial<import("vue").ExtractPropTypes<{
|
501
|
-
span: (
|
502
|
-
order: (
|
503
|
-
offset: (
|
504
|
-
push: (
|
505
|
-
pull: (
|
501
|
+
span: (StringConstructor | NumberConstructor)[];
|
502
|
+
order: (StringConstructor | NumberConstructor)[];
|
503
|
+
offset: (StringConstructor | NumberConstructor)[];
|
504
|
+
push: (StringConstructor | NumberConstructor)[];
|
505
|
+
pull: (StringConstructor | NumberConstructor)[];
|
506
506
|
xs: {
|
507
507
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
508
508
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -532,7 +532,7 @@ declare const _default: {
|
|
532
532
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
533
533
|
};
|
534
534
|
prefixCls: StringConstructor;
|
535
|
-
flex: (
|
535
|
+
flex: (StringConstructor | NumberConstructor)[];
|
536
536
|
}>> & import("vue").HTMLAttributes>;
|
537
537
|
};
|
538
538
|
colon: {
|
@@ -4,11 +4,11 @@ export declare const getProps: () => {
|
|
4
4
|
layout: import("vue").PropType<"horizontal" | "inline" | "vertical">;
|
5
5
|
labelCol: {
|
6
6
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
7
|
-
span: (
|
8
|
-
order: (
|
9
|
-
offset: (
|
10
|
-
push: (
|
11
|
-
pull: (
|
7
|
+
span: (StringConstructor | NumberConstructor)[];
|
8
|
+
order: (StringConstructor | NumberConstructor)[];
|
9
|
+
offset: (StringConstructor | NumberConstructor)[];
|
10
|
+
push: (StringConstructor | NumberConstructor)[];
|
11
|
+
pull: (StringConstructor | NumberConstructor)[];
|
12
12
|
xs: {
|
13
13
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
14
14
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -38,16 +38,16 @@ export declare const getProps: () => {
|
|
38
38
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
39
39
|
};
|
40
40
|
prefixCls: StringConstructor;
|
41
|
-
flex: (
|
41
|
+
flex: (StringConstructor | NumberConstructor)[];
|
42
42
|
}>> & import("vue").HTMLAttributes>;
|
43
43
|
};
|
44
44
|
wrapperCol: {
|
45
45
|
type: import("vue").PropType<Partial<ExtractPropTypes<{
|
46
|
-
span: (
|
47
|
-
order: (
|
48
|
-
offset: (
|
49
|
-
push: (
|
50
|
-
pull: (
|
46
|
+
span: (StringConstructor | NumberConstructor)[];
|
47
|
+
order: (StringConstructor | NumberConstructor)[];
|
48
|
+
offset: (StringConstructor | NumberConstructor)[];
|
49
|
+
push: (StringConstructor | NumberConstructor)[];
|
50
|
+
pull: (StringConstructor | NumberConstructor)[];
|
51
51
|
xs: {
|
52
52
|
type: import("vue").PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
53
53
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -77,7 +77,7 @@ export declare const getProps: () => {
|
|
77
77
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
78
78
|
};
|
79
79
|
prefixCls: StringConstructor;
|
80
|
-
flex: (
|
80
|
+
flex: (StringConstructor | NumberConstructor)[];
|
81
81
|
}>> & import("vue").HTMLAttributes>;
|
82
82
|
};
|
83
83
|
colon: {
|
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
40
40
|
type: BooleanConstructor;
|
41
41
|
default: undefined;
|
42
42
|
};
|
43
|
-
width: (
|
43
|
+
width: (StringConstructor | NumberConstructor)[];
|
44
44
|
footer: import("vue").PropType<any>;
|
45
45
|
okText: import("vue").PropType<any>;
|
46
46
|
okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
@@ -227,7 +227,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
227
227
|
type: BooleanConstructor;
|
228
228
|
default: undefined;
|
229
229
|
};
|
230
|
-
width: (
|
230
|
+
width: (StringConstructor | NumberConstructor)[];
|
231
231
|
footer: import("vue").PropType<any>;
|
232
232
|
okText: import("vue").PropType<any>;
|
233
233
|
okType: import("vue").PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
@@ -375,6 +375,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
375
375
|
}) => import("ant-design-vue/es/_util/type").VueNode>;
|
376
376
|
}>>, {
|
377
377
|
visible: boolean;
|
378
|
+
kgShowFullscreenButton: boolean;
|
379
|
+
kgShowCancelButton: boolean;
|
380
|
+
kgShowOkButton: boolean;
|
381
|
+
kgFullHeight: boolean;
|
378
382
|
confirmLoading: boolean;
|
379
383
|
closable: boolean;
|
380
384
|
centered: boolean;
|
@@ -387,9 +391,5 @@ declare const _default: import("vue").DefineComponent<{
|
|
387
391
|
mask: boolean;
|
388
392
|
keyboard: boolean;
|
389
393
|
focusTriggerAfterClose: boolean;
|
390
|
-
kgShowFullscreenButton: boolean;
|
391
|
-
kgShowCancelButton: boolean;
|
392
|
-
kgShowOkButton: boolean;
|
393
|
-
kgFullHeight: boolean;
|
394
394
|
}>;
|
395
395
|
export default _default;
|
@@ -44,7 +44,7 @@ export declare const getProps: () => {
|
|
44
44
|
type: BooleanConstructor;
|
45
45
|
default: undefined;
|
46
46
|
};
|
47
|
-
width: (
|
47
|
+
width: (StringConstructor | NumberConstructor)[];
|
48
48
|
footer: PropType<any>;
|
49
49
|
okText: PropType<any>;
|
50
50
|
okType: PropType<import("ant-design-vue/es/button/buttonTypes").LegacyButtonType>;
|
@@ -9,11 +9,11 @@ export declare const formProps: () => {
|
|
9
9
|
layout: PropType<"horizontal" | "inline" | "vertical">;
|
10
10
|
labelCol: {
|
11
11
|
type: PropType<Partial<ExtractPropTypes<{
|
12
|
-
span: (
|
13
|
-
order: (
|
14
|
-
offset: (
|
15
|
-
push: (
|
16
|
-
pull: (
|
12
|
+
span: (StringConstructor | NumberConstructor)[];
|
13
|
+
order: (StringConstructor | NumberConstructor)[];
|
14
|
+
offset: (StringConstructor | NumberConstructor)[];
|
15
|
+
push: (StringConstructor | NumberConstructor)[];
|
16
|
+
pull: (StringConstructor | NumberConstructor)[];
|
17
17
|
xs: {
|
18
18
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
19
19
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -43,16 +43,16 @@ export declare const formProps: () => {
|
|
43
43
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
44
44
|
};
|
45
45
|
prefixCls: StringConstructor;
|
46
|
-
flex: (
|
46
|
+
flex: (StringConstructor | NumberConstructor)[];
|
47
47
|
}>> & HTMLAttributes>;
|
48
48
|
};
|
49
49
|
wrapperCol: {
|
50
50
|
type: PropType<Partial<ExtractPropTypes<{
|
51
|
-
span: (
|
52
|
-
order: (
|
53
|
-
offset: (
|
54
|
-
push: (
|
55
|
-
pull: (
|
51
|
+
span: (StringConstructor | NumberConstructor)[];
|
52
|
+
order: (StringConstructor | NumberConstructor)[];
|
53
|
+
offset: (StringConstructor | NumberConstructor)[];
|
54
|
+
push: (StringConstructor | NumberConstructor)[];
|
55
|
+
pull: (StringConstructor | NumberConstructor)[];
|
56
56
|
xs: {
|
57
57
|
type: PropType<string | number | import("ant-design-vue/lib/grid").ColSize>;
|
58
58
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
@@ -82,7 +82,7 @@ export declare const formProps: () => {
|
|
82
82
|
default: string | number | import("ant-design-vue/lib/grid").ColSize;
|
83
83
|
};
|
84
84
|
prefixCls: StringConstructor;
|
85
|
-
flex: (
|
85
|
+
flex: (StringConstructor | NumberConstructor)[];
|
86
86
|
}>> & HTMLAttributes>;
|
87
87
|
};
|
88
88
|
colon: {
|
@@ -166,7 +166,7 @@ export declare const modalProps: () => {
|
|
166
166
|
type: BooleanConstructor;
|
167
167
|
default: undefined;
|
168
168
|
};
|
169
|
-
width: (
|
169
|
+
width: (StringConstructor | NumberConstructor)[];
|
170
170
|
footer: PropType<any>;
|
171
171
|
okText: PropType<any>;
|
172
172
|
okType: PropType<LegacyButtonType>;
|
@@ -1,6 +1,11 @@
|
|
1
1
|
import { AxiosInstance, type AxiosRequestConfig } from 'axios';
|
2
|
+
import dayjs from 'dayjs';
|
3
|
+
import { KG_DYNAMIC_QUERY_OPERATOR } from '../consts';
|
2
4
|
interface IHttpClient {
|
3
5
|
axiosInstance: AxiosInstance;
|
6
|
+
options: {
|
7
|
+
requestOptions?: IRequestOptions;
|
8
|
+
} & AxiosRequestConfig;
|
4
9
|
request<T = any>(config: IRequestConfig, options?: IRequestOptions): Promise<T>;
|
5
10
|
}
|
6
11
|
/**
|
@@ -29,5 +34,13 @@ interface IRequestOptions {
|
|
29
34
|
withToken?: boolean;
|
30
35
|
/** 是否使用模拟数据. */
|
31
36
|
mock?: boolean;
|
37
|
+
/**
|
38
|
+
* 如果该参数不为空, 表示该请求启用了高级查询, 该参数包含各个字段的高级查询操作符.
|
39
|
+
*/
|
40
|
+
dynamicQueryOperators?: Record<string, KG_DYNAMIC_QUERY_OPERATOR>;
|
41
|
+
/**
|
42
|
+
* dayjs 实例, 必须跟 {@link IRequestOptions.dynamicQueryOperators} 同时传值. 即如果参数 {@link IRequestOptions.dynamicQueryOperators} 不为空, 则参数 {@link IRequestOptions.dayjs} 也必须不为空.
|
43
|
+
*/
|
44
|
+
dayjs?: typeof dayjs;
|
32
45
|
}
|
33
46
|
export { setupHttpClient, httpClient, type IRequestConfig, type IRequestOptions };
|