@kengic/vue 0.2.2-beta.9 → 0.3.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 +3677 -3285
- package/dist/src/apis/WMS/Controllers/VarCatalogController/List.d.ts +8 -8
- package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +5 -5
- package/dist/src/apis/WMS/models.d.ts +72 -42
- package/dist/src/components/KgControl/KgControl.Date.d.ts +21 -27
- package/dist/src/components/KgControl/KgControl.Input.d.ts +21 -27
- package/dist/src/components/KgControl/KgControl.InputNumber.d.ts +21 -27
- package/dist/src/components/KgControl/KgControl.Select.d.ts +23 -29
- package/dist/src/components/KgControl/KgControl.Switch.d.ts +21 -27
- package/dist/src/components/KgControl/KgControl.d.ts +29 -36
- package/dist/src/components/KgControl/addon/KgControl.Addon.Lookup.d.ts +4 -0
- package/dist/src/components/KgControl/index.d.ts +1 -1
- package/dist/src/components/KgControl/index.vm.d.ts +21 -28
- package/dist/src/components/KgResizable/KgResizable.d.ts +131 -0
- package/dist/src/components/KgResizable/index.d.ts +1 -0
- package/dist/src/components/KgSearch/KgSearch.data.d.ts +11 -2
- package/dist/src/components/KgSearch/index.hooks.d.ts +1 -3
- package/dist/src/components/KgSearch/index.store.d.ts +1 -5
- package/dist/src/components/KgTable/KgTable.data.d.ts +2 -0
- package/dist/src/components/KgTable/index.hooks.d.ts +5 -3
- package/dist/src/components/KgTable/index.store.d.ts +14 -6
- package/dist/src/components/KgVar/index.hooks.d.ts +13 -7
- package/dist/src/components/KgVar/index.store.d.ts +38 -13
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/consts/i18n/en.d.ts +1 -0
- package/dist/src/consts/i18n/index.d.ts +2 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +1 -0
- package/dist/src/consts/index.d.ts +7 -0
- package/dist/src/utils/kg.util.d.ts +10 -0
- package/dist/src/utils/var.util.d.ts +1 -1
- package/package.json +80 -80
@@ -2,8 +2,6 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
2
2
|
import * as DEF from '../../../def';
|
3
3
|
/** 请求参数. */
|
4
4
|
export declare class ListQuery {
|
5
|
-
/** 排序字段. */
|
6
|
-
column?: string | null;
|
7
5
|
/** 定制级别(CustomLevel). */
|
8
6
|
cust_lvl?: number | null;
|
9
7
|
/** 界面标识(FormID). */
|
@@ -12,20 +10,22 @@ export declare class ListQuery {
|
|
12
10
|
grp_nam?: string | null;
|
13
11
|
/** 语言(LocaleID). */
|
14
12
|
locale_id?: string | null;
|
13
|
+
/** 变量名称(VariableName). */
|
14
|
+
var_nam?: string | null;
|
15
|
+
/** 显示文本(Text). */
|
16
|
+
var_text?: string | null;
|
17
|
+
/** 排序字段. */
|
18
|
+
column?: string | null;
|
15
19
|
/** 排序方式. */
|
16
20
|
order?: 'asc' | 'desc' | null;
|
17
|
-
/**
|
21
|
+
/** 当前页数. */
|
18
22
|
pageNo?: number | null;
|
19
23
|
/** 每页条数. */
|
20
24
|
pageSize?: number | null;
|
21
|
-
/** 变量名称(VariableName). */
|
22
|
-
var_nam?: string | null;
|
23
|
-
/** 显示文本(Text). */
|
24
|
-
var_text?: string | null;
|
25
25
|
constructor(obj?: ListQuery);
|
26
26
|
}
|
27
27
|
/**
|
28
|
-
*
|
28
|
+
* 变量别名-分页列表查询.
|
29
29
|
*
|
30
30
|
* @param config 请求配置.
|
31
31
|
* @param option 请求选项.
|
@@ -2,22 +2,22 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
2
2
|
import * as DEF from '../../../def';
|
3
3
|
/** 请求参数. */
|
4
4
|
export declare class ListQuery {
|
5
|
-
/** 排序字段. */
|
6
|
-
column?: string | null;
|
7
5
|
/** 界面标识(FormID). */
|
8
6
|
frm_id?: string | null;
|
9
7
|
/** 界面名称(FormName). */
|
10
8
|
frm_nam?: string | null;
|
11
9
|
/** 分组(GroupName). */
|
12
10
|
grp_nam?: string | null;
|
11
|
+
/** 变量名称(VariableName). */
|
12
|
+
var_nam?: string | null;
|
13
|
+
/** 排序字段. */
|
14
|
+
column?: string | null;
|
13
15
|
/** 排序方式. */
|
14
16
|
order?: 'asc' | 'desc' | null;
|
15
|
-
/**
|
17
|
+
/** 当前页数. */
|
16
18
|
pageNo?: number | null;
|
17
19
|
/** 每页条数. */
|
18
20
|
pageSize?: number | null;
|
19
|
-
/** 变量名称(VariableName). */
|
20
|
-
var_nam?: string | null;
|
21
21
|
constructor(obj?: ListQuery);
|
22
22
|
}
|
23
23
|
/**
|
@@ -11,9 +11,7 @@ export declare class IPage<T0> {
|
|
11
11
|
total?: number | null;
|
12
12
|
constructor(obj?: IPage<T0>);
|
13
13
|
}
|
14
|
-
/**
|
15
|
-
* 按钮
|
16
|
-
*/
|
14
|
+
/** 按钮 */
|
17
15
|
export declare class VarButton {
|
18
16
|
/** 接口地址(Command). */
|
19
17
|
cmd?: string | null;
|
@@ -43,9 +41,7 @@ export declare class VarButton {
|
|
43
41
|
var_nam?: string | null;
|
44
42
|
constructor(obj?: VarButton);
|
45
43
|
}
|
46
|
-
/**
|
47
|
-
* 变量别名.
|
48
|
-
*/
|
44
|
+
/** 变量别名. */
|
49
45
|
export declare class VarCatalog {
|
50
46
|
/** 定制级别(CustomLevel). */
|
51
47
|
cust_lvl?: number | null;
|
@@ -63,9 +59,7 @@ export declare class VarCatalog {
|
|
63
59
|
var_text?: string | null;
|
64
60
|
constructor(obj?: VarCatalog);
|
65
61
|
}
|
66
|
-
/**
|
67
|
-
* 变量控件配置.
|
68
|
-
*/
|
62
|
+
/** 变量控件配置. */
|
69
63
|
export declare class VarConfig {
|
70
64
|
/** 控件属性(ControlProperties). */
|
71
65
|
ctrl_prop?: string | null;
|
@@ -85,9 +79,7 @@ export declare class VarConfig {
|
|
85
79
|
var_nam?: string | null;
|
86
80
|
constructor(obj?: VarConfig);
|
87
81
|
}
|
88
|
-
/**
|
89
|
-
* 变量.
|
90
|
-
*/
|
82
|
+
/** 变量. */
|
91
83
|
export declare class VarContext {
|
92
84
|
/** 界面标识(FormID). */
|
93
85
|
frm_id?: string | null;
|
@@ -101,9 +93,7 @@ export declare class VarContext {
|
|
101
93
|
var_nam?: string | null;
|
102
94
|
constructor(obj?: VarContext);
|
103
95
|
}
|
104
|
-
/**
|
105
|
-
* 变量配置.
|
106
|
-
*/
|
96
|
+
/** 变量配置. */
|
107
97
|
export declare class VarDTO {
|
108
98
|
/** 按钮. */
|
109
99
|
varButtons?: Array<VarButton> | null;
|
@@ -121,16 +111,18 @@ export declare class VarDTO {
|
|
121
111
|
varPossibilities?: Array<VarPossibility> | null;
|
122
112
|
/** 表格. */
|
123
113
|
varProfile?: VarProfileDTO | null;
|
114
|
+
/** 提交字段. */
|
115
|
+
varSubmitFields?: Array<VarSubmitField> | null;
|
124
116
|
constructor(obj?: VarDTO);
|
125
117
|
}
|
126
|
-
/**
|
127
|
-
* 表格配置.
|
128
|
-
*/
|
118
|
+
/** 表格配置. */
|
129
119
|
export declare class VarGridConfig {
|
130
120
|
/** 是否自动加载数据(AutoLoadFlag). */
|
131
121
|
aut_load_flg?: number | null;
|
132
122
|
/** 按钮显示样式(ButtonDisplayType). */
|
133
123
|
button_display_type?: string | null;
|
124
|
+
/** 接口参数(CommandParameter). */
|
125
|
+
cmd_prm?: string | null;
|
134
126
|
/** 界面标识(FormID). */
|
135
127
|
frm_id?: string | null;
|
136
128
|
/** 主键. */
|
@@ -145,17 +137,13 @@ export declare class VarGridConfig {
|
|
145
137
|
show_check_column_flg?: number | null;
|
146
138
|
constructor(obj?: VarGridConfig);
|
147
139
|
}
|
148
|
-
/**
|
149
|
-
* 表格.
|
150
|
-
*/
|
140
|
+
/** 表格. */
|
151
141
|
export declare class VarGridDTO {
|
152
142
|
/** 表格视图列表. */
|
153
143
|
varGridMasters?: Array<VarGridMasterDTO> | null;
|
154
144
|
constructor(obj?: VarGridDTO);
|
155
145
|
}
|
156
|
-
/**
|
157
|
-
* 表格视图明细.
|
158
|
-
*/
|
146
|
+
/** 表格视图明细. */
|
159
147
|
export declare class VarGridDetail {
|
160
148
|
/** 显示类型(DisplayType). */
|
161
149
|
display_type?: string | null;
|
@@ -187,9 +175,7 @@ export declare class VarGridDetail {
|
|
187
175
|
width?: number | null;
|
188
176
|
constructor(obj?: VarGridDetail);
|
189
177
|
}
|
190
|
-
/**
|
191
|
-
* 表格视图.
|
192
|
-
*/
|
178
|
+
/** 表格视图. */
|
193
179
|
export declare class VarGridMasterDTO {
|
194
180
|
/** 定制级别(CustomLevel). */
|
195
181
|
cust_lvl?: number | null;
|
@@ -209,9 +195,7 @@ export declare class VarGridMasterDTO {
|
|
209
195
|
varGridDetails?: Array<VarGridDetail> | null;
|
210
196
|
constructor(obj?: VarGridMasterDTO);
|
211
197
|
}
|
212
|
-
/**
|
213
|
-
* 变量查找.
|
214
|
-
*/
|
198
|
+
/** 变量查找. */
|
215
199
|
export declare class VarLookup {
|
216
200
|
/** 查询接口地址(Command). */
|
217
201
|
cmd?: string | null;
|
@@ -239,12 +223,12 @@ export declare class VarLookup {
|
|
239
223
|
var_nam?: string | null;
|
240
224
|
constructor(obj?: VarLookup);
|
241
225
|
}
|
242
|
-
/**
|
243
|
-
* 变量下拉列表配置.
|
244
|
-
*/
|
226
|
+
/** 变量下拉列表配置. */
|
245
227
|
export declare class VarPossibility {
|
246
228
|
/** 接口地址(Command). */
|
247
229
|
cmd?: string | null;
|
230
|
+
/** 接口方法(CommandMethod). */
|
231
|
+
cmd_method?: string | null;
|
248
232
|
/** 接口参数(CommandParameter). */
|
249
233
|
cmd_prm?: string | null;
|
250
234
|
/** 定制级别(CustomLevel). */
|
@@ -265,17 +249,13 @@ export declare class VarPossibility {
|
|
265
249
|
var_nam?: string | null;
|
266
250
|
constructor(obj?: VarPossibility);
|
267
251
|
}
|
268
|
-
/**
|
269
|
-
* 查询条件.
|
270
|
-
*/
|
252
|
+
/** 查询条件. */
|
271
253
|
export declare class VarProfileDTO {
|
272
254
|
/** 查询条件列表. */
|
273
255
|
varProfileMasters?: Array<VarProfileMasterDTO> | null;
|
274
256
|
constructor(obj?: VarProfileDTO);
|
275
257
|
}
|
276
|
-
/**
|
277
|
-
* 查询条件明细.
|
278
|
-
*/
|
258
|
+
/** 查询条件明细. */
|
279
259
|
export declare class VarProfileDetail {
|
280
260
|
/** 默认的高级查询方式(DefaultDynamicQueryOperator). */
|
281
261
|
dft_dyn_op?: string | null;
|
@@ -291,6 +271,8 @@ export declare class VarProfileDetail {
|
|
291
271
|
grp_nam?: string | null;
|
292
272
|
/** 主键. */
|
293
273
|
id?: string | null;
|
274
|
+
/** 提示文字(Placeholder). */
|
275
|
+
placeholder?: string | null;
|
294
276
|
/** 查询条件变量名称(ProfileVariableName). */
|
295
277
|
prf_var_nam?: string | null;
|
296
278
|
/** 是否必填(RequireFlag). */
|
@@ -301,11 +283,11 @@ export declare class VarProfileDetail {
|
|
301
283
|
var_nam?: string | null;
|
302
284
|
/** 是否可见(VisibleFlag). */
|
303
285
|
vis_flg?: number | null;
|
286
|
+
/** 控件宽度(Width). */
|
287
|
+
width?: number | null;
|
304
288
|
constructor(obj?: VarProfileDetail);
|
305
289
|
}
|
306
|
-
/**
|
307
|
-
* 查询条件.
|
308
|
-
*/
|
290
|
+
/** 查询条件. */
|
309
291
|
export declare class VarProfileMasterDTO {
|
310
292
|
/** 定制级别(CustomLevel). */
|
311
293
|
cust_lvl?: number | null;
|
@@ -327,6 +309,54 @@ export declare class VarProfileMasterDTO {
|
|
327
309
|
varProfileDetails?: Array<VarProfileDetail> | null;
|
328
310
|
constructor(obj?: VarProfileMasterDTO);
|
329
311
|
}
|
312
|
+
/** 提交字段. */
|
313
|
+
export declare class VarSubmitField {
|
314
|
+
/** 复制时是否可以编辑. */
|
315
|
+
cpy_ena_flg?: number | null;
|
316
|
+
/** 复制时可用. */
|
317
|
+
cpy_flg?: number | null;
|
318
|
+
/** 复制时是否必填. */
|
319
|
+
cpy_rqr_flg?: number | null;
|
320
|
+
/** 复制时是否可见. */
|
321
|
+
cpy_vis_flg?: number | null;
|
322
|
+
/** 复制时的控件宽度(Width). */
|
323
|
+
cpy_width?: number | null;
|
324
|
+
/** 创建时是否可以编辑. */
|
325
|
+
crt_ena_flg?: number | null;
|
326
|
+
/** 创建时可用. */
|
327
|
+
crt_flg?: number | null;
|
328
|
+
/** 创建时是否必填. */
|
329
|
+
crt_rqr_flg?: number | null;
|
330
|
+
/** 创建时是否可见. */
|
331
|
+
crt_vis_flg?: number | null;
|
332
|
+
/** 创建时的控件宽度(Width). */
|
333
|
+
crt_width?: number | null;
|
334
|
+
/** 界面标识. */
|
335
|
+
frm_id?: string | null;
|
336
|
+
/** 更新时可用. */
|
337
|
+
grd_var_nam?: number | null;
|
338
|
+
/** 分组. */
|
339
|
+
grp_nam?: string | null;
|
340
|
+
/** 主键. */
|
341
|
+
id?: string | null;
|
342
|
+
/** 是否是关键的字段. */
|
343
|
+
key_flg?: number | null;
|
344
|
+
/** 提示文字(Placeholder). */
|
345
|
+
placeholder?: string | null;
|
346
|
+
/** 显示顺序. */
|
347
|
+
srtseq?: number | null;
|
348
|
+
/** 更新时是否可以编辑. */
|
349
|
+
upt_ena_flg?: number | null;
|
350
|
+
/** 更新时是否必填. */
|
351
|
+
upt_rqr_flg?: number | null;
|
352
|
+
/** 更新时是否可见. */
|
353
|
+
upt_vis_flg?: number | null;
|
354
|
+
/** 更新时的控件宽度(Width). */
|
355
|
+
upt_width?: number | null;
|
356
|
+
/** 变量名称. */
|
357
|
+
var_nam?: string | null;
|
358
|
+
constructor(obj?: VarSubmitField);
|
359
|
+
}
|
330
360
|
/**
|
331
361
|
* 获取对象的属性名数组.
|
332
362
|
* @param obj 对象.
|
@@ -1,19 +1,25 @@
|
|
1
1
|
import './KgControl.less';
|
2
2
|
import dayjs from 'dayjs';
|
3
3
|
declare const _default: import("vue").DefineComponent<{
|
4
|
+
kgModel: {
|
5
|
+
type: import("vue").PropType<Record<string, any>>;
|
6
|
+
required: boolean;
|
7
|
+
};
|
4
8
|
kgVarName: {
|
5
9
|
type: import("vue").PropType<string>;
|
6
10
|
required: boolean;
|
7
11
|
};
|
12
|
+
kgContext: {
|
13
|
+
type: import("vue").PropType<string>;
|
14
|
+
default: import("../..").KG_CONTROL_CONTEXT;
|
15
|
+
};
|
8
16
|
kgDisabled: import("vue").PropType<boolean>;
|
9
17
|
kgGutter: {
|
10
18
|
type: import("vue").PropType<number>;
|
11
19
|
default: number;
|
12
20
|
};
|
13
|
-
kgSpan:
|
14
|
-
|
15
|
-
default: number;
|
16
|
-
};
|
21
|
+
kgSpan: import("vue").PropType<number>;
|
22
|
+
kgPlaceholder: import("vue").PropType<string>;
|
17
23
|
kgShowLabel: {
|
18
24
|
type: import("vue").PropType<boolean>;
|
19
25
|
default: boolean;
|
@@ -23,18 +29,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
23
29
|
default: boolean;
|
24
30
|
};
|
25
31
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPE>;
|
26
|
-
kgPlaceholder: {
|
27
|
-
type: import("vue").PropType<string>;
|
28
|
-
default: string;
|
29
|
-
};
|
30
32
|
kgValidateInfo: {
|
31
33
|
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
32
34
|
default: () => {};
|
33
35
|
};
|
34
|
-
kgActionType: {
|
35
|
-
type: import("vue").PropType<import("axios").Method>;
|
36
|
-
default: string;
|
37
|
-
};
|
38
36
|
kgShowTime: {
|
39
37
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
40
38
|
default: undefined;
|
@@ -46,19 +44,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
46
44
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
47
45
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
48
46
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
47
|
+
kgModel: {
|
48
|
+
type: import("vue").PropType<Record<string, any>>;
|
49
|
+
required: boolean;
|
50
|
+
};
|
49
51
|
kgVarName: {
|
50
52
|
type: import("vue").PropType<string>;
|
51
53
|
required: boolean;
|
52
54
|
};
|
55
|
+
kgContext: {
|
56
|
+
type: import("vue").PropType<string>;
|
57
|
+
default: import("../..").KG_CONTROL_CONTEXT;
|
58
|
+
};
|
53
59
|
kgDisabled: import("vue").PropType<boolean>;
|
54
60
|
kgGutter: {
|
55
61
|
type: import("vue").PropType<number>;
|
56
62
|
default: number;
|
57
63
|
};
|
58
|
-
kgSpan:
|
59
|
-
|
60
|
-
default: number;
|
61
|
-
};
|
64
|
+
kgSpan: import("vue").PropType<number>;
|
65
|
+
kgPlaceholder: import("vue").PropType<string>;
|
62
66
|
kgShowLabel: {
|
63
67
|
type: import("vue").PropType<boolean>;
|
64
68
|
default: boolean;
|
@@ -68,18 +72,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
68
72
|
default: boolean;
|
69
73
|
};
|
70
74
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPE>;
|
71
|
-
kgPlaceholder: {
|
72
|
-
type: import("vue").PropType<string>;
|
73
|
-
default: string;
|
74
|
-
};
|
75
75
|
kgValidateInfo: {
|
76
76
|
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
77
77
|
default: () => {};
|
78
78
|
};
|
79
|
-
kgActionType: {
|
80
|
-
type: import("vue").PropType<import("axios").Method>;
|
81
|
-
default: string;
|
82
|
-
};
|
83
79
|
kgShowTime: {
|
84
80
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>>;
|
85
81
|
default: undefined;
|
@@ -95,13 +91,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
95
91
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
96
92
|
onKgChange?: ((...args: any[]) => any) | undefined;
|
97
93
|
}, {
|
94
|
+
kgContext: string;
|
98
95
|
kgGutter: number;
|
99
|
-
kgSpan: number;
|
100
96
|
kgShowLabel: boolean;
|
101
97
|
kgAllowClear: boolean;
|
102
|
-
kgPlaceholder: string;
|
103
98
|
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
104
|
-
kgActionType: import("axios").Method;
|
105
99
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<dayjs.Dayjs>;
|
106
100
|
}>;
|
107
101
|
export default _default;
|
@@ -1,18 +1,24 @@
|
|
1
1
|
import './KgControl.less';
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgModel: {
|
4
|
+
type: import("vue").PropType<Record<string, any>>;
|
5
|
+
required: boolean;
|
6
|
+
};
|
3
7
|
kgVarName: {
|
4
8
|
type: import("vue").PropType<string>;
|
5
9
|
required: boolean;
|
6
10
|
};
|
11
|
+
kgContext: {
|
12
|
+
type: import("vue").PropType<string>;
|
13
|
+
default: import("../..").KG_CONTROL_CONTEXT;
|
14
|
+
};
|
7
15
|
kgDisabled: import("vue").PropType<boolean>;
|
8
16
|
kgGutter: {
|
9
17
|
type: import("vue").PropType<number>;
|
10
18
|
default: number;
|
11
19
|
};
|
12
|
-
kgSpan:
|
13
|
-
|
14
|
-
default: number;
|
15
|
-
};
|
20
|
+
kgSpan: import("vue").PropType<number>;
|
21
|
+
kgPlaceholder: import("vue").PropType<string>;
|
16
22
|
kgShowLabel: {
|
17
23
|
type: import("vue").PropType<boolean>;
|
18
24
|
default: boolean;
|
@@ -22,18 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
28
|
default: boolean;
|
23
29
|
};
|
24
30
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPE>;
|
25
|
-
kgPlaceholder: {
|
26
|
-
type: import("vue").PropType<string>;
|
27
|
-
default: string;
|
28
|
-
};
|
29
31
|
kgValidateInfo: {
|
30
32
|
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
31
33
|
default: () => {};
|
32
34
|
};
|
33
|
-
kgActionType: {
|
34
|
-
type: import("vue").PropType<import("axios").Method>;
|
35
|
-
default: string;
|
36
|
-
};
|
37
35
|
kgShowTime: {
|
38
36
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
39
37
|
default: undefined;
|
@@ -45,19 +43,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
43
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
46
44
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
47
45
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
46
|
+
kgModel: {
|
47
|
+
type: import("vue").PropType<Record<string, any>>;
|
48
|
+
required: boolean;
|
49
|
+
};
|
48
50
|
kgVarName: {
|
49
51
|
type: import("vue").PropType<string>;
|
50
52
|
required: boolean;
|
51
53
|
};
|
54
|
+
kgContext: {
|
55
|
+
type: import("vue").PropType<string>;
|
56
|
+
default: import("../..").KG_CONTROL_CONTEXT;
|
57
|
+
};
|
52
58
|
kgDisabled: import("vue").PropType<boolean>;
|
53
59
|
kgGutter: {
|
54
60
|
type: import("vue").PropType<number>;
|
55
61
|
default: number;
|
56
62
|
};
|
57
|
-
kgSpan:
|
58
|
-
|
59
|
-
default: number;
|
60
|
-
};
|
63
|
+
kgSpan: import("vue").PropType<number>;
|
64
|
+
kgPlaceholder: import("vue").PropType<string>;
|
61
65
|
kgShowLabel: {
|
62
66
|
type: import("vue").PropType<boolean>;
|
63
67
|
default: boolean;
|
@@ -67,18 +71,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
71
|
default: boolean;
|
68
72
|
};
|
69
73
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPE>;
|
70
|
-
kgPlaceholder: {
|
71
|
-
type: import("vue").PropType<string>;
|
72
|
-
default: string;
|
73
|
-
};
|
74
74
|
kgValidateInfo: {
|
75
75
|
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
76
76
|
default: () => {};
|
77
77
|
};
|
78
|
-
kgActionType: {
|
79
|
-
type: import("vue").PropType<import("axios").Method>;
|
80
|
-
default: string;
|
81
|
-
};
|
82
78
|
kgShowTime: {
|
83
79
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
84
80
|
default: undefined;
|
@@ -94,13 +90,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
90
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
95
91
|
onKgChange?: ((...args: any[]) => any) | undefined;
|
96
92
|
}, {
|
93
|
+
kgContext: string;
|
97
94
|
kgGutter: number;
|
98
|
-
kgSpan: number;
|
99
95
|
kgShowLabel: boolean;
|
100
96
|
kgAllowClear: boolean;
|
101
|
-
kgPlaceholder: string;
|
102
97
|
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
103
|
-
kgActionType: import("axios").Method;
|
104
98
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
105
99
|
}>;
|
106
100
|
export default _default;
|
@@ -1,18 +1,24 @@
|
|
1
1
|
import './KgControl.less';
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
3
|
+
kgModel: {
|
4
|
+
type: import("vue").PropType<Record<string, any>>;
|
5
|
+
required: boolean;
|
6
|
+
};
|
3
7
|
kgVarName: {
|
4
8
|
type: import("vue").PropType<string>;
|
5
9
|
required: boolean;
|
6
10
|
};
|
11
|
+
kgContext: {
|
12
|
+
type: import("vue").PropType<string>;
|
13
|
+
default: import("../..").KG_CONTROL_CONTEXT;
|
14
|
+
};
|
7
15
|
kgDisabled: import("vue").PropType<boolean>;
|
8
16
|
kgGutter: {
|
9
17
|
type: import("vue").PropType<number>;
|
10
18
|
default: number;
|
11
19
|
};
|
12
|
-
kgSpan:
|
13
|
-
|
14
|
-
default: number;
|
15
|
-
};
|
20
|
+
kgSpan: import("vue").PropType<number>;
|
21
|
+
kgPlaceholder: import("vue").PropType<string>;
|
16
22
|
kgShowLabel: {
|
17
23
|
type: import("vue").PropType<boolean>;
|
18
24
|
default: boolean;
|
@@ -22,18 +28,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
22
28
|
default: boolean;
|
23
29
|
};
|
24
30
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPE>;
|
25
|
-
kgPlaceholder: {
|
26
|
-
type: import("vue").PropType<string>;
|
27
|
-
default: string;
|
28
|
-
};
|
29
31
|
kgValidateInfo: {
|
30
32
|
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
31
33
|
default: () => {};
|
32
34
|
};
|
33
|
-
kgActionType: {
|
34
|
-
type: import("vue").PropType<import("axios").Method>;
|
35
|
-
default: string;
|
36
|
-
};
|
37
35
|
kgShowTime: {
|
38
36
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
39
37
|
default: undefined;
|
@@ -45,19 +43,25 @@ declare const _default: import("vue").DefineComponent<{
|
|
45
43
|
onKgChange: import("vue").PropType<(value: any) => void>;
|
46
44
|
onKgSelectDatasChange: import("vue").PropType<(datas: any[]) => void>;
|
47
45
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:value" | "kgSubmit" | "kgChange")[], "update:value" | "kgSubmit" | "kgChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
46
|
+
kgModel: {
|
47
|
+
type: import("vue").PropType<Record<string, any>>;
|
48
|
+
required: boolean;
|
49
|
+
};
|
48
50
|
kgVarName: {
|
49
51
|
type: import("vue").PropType<string>;
|
50
52
|
required: boolean;
|
51
53
|
};
|
54
|
+
kgContext: {
|
55
|
+
type: import("vue").PropType<string>;
|
56
|
+
default: import("../..").KG_CONTROL_CONTEXT;
|
57
|
+
};
|
52
58
|
kgDisabled: import("vue").PropType<boolean>;
|
53
59
|
kgGutter: {
|
54
60
|
type: import("vue").PropType<number>;
|
55
61
|
default: number;
|
56
62
|
};
|
57
|
-
kgSpan:
|
58
|
-
|
59
|
-
default: number;
|
60
|
-
};
|
63
|
+
kgSpan: import("vue").PropType<number>;
|
64
|
+
kgPlaceholder: import("vue").PropType<string>;
|
61
65
|
kgShowLabel: {
|
62
66
|
type: import("vue").PropType<boolean>;
|
63
67
|
default: boolean;
|
@@ -67,18 +71,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
67
71
|
default: boolean;
|
68
72
|
};
|
69
73
|
kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPE>;
|
70
|
-
kgPlaceholder: {
|
71
|
-
type: import("vue").PropType<string>;
|
72
|
-
default: string;
|
73
|
-
};
|
74
74
|
kgValidateInfo: {
|
75
75
|
type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
|
76
76
|
default: () => {};
|
77
77
|
};
|
78
|
-
kgActionType: {
|
79
|
-
type: import("vue").PropType<import("axios").Method>;
|
80
|
-
default: string;
|
81
|
-
};
|
82
78
|
kgShowTime: {
|
83
79
|
type: import("vue").PropType<boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>>;
|
84
80
|
default: undefined;
|
@@ -94,13 +90,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
94
90
|
onKgSubmit?: ((...args: any[]) => any) | undefined;
|
95
91
|
onKgChange?: ((...args: any[]) => any) | undefined;
|
96
92
|
}, {
|
93
|
+
kgContext: string;
|
97
94
|
kgGutter: number;
|
98
|
-
kgSpan: number;
|
99
95
|
kgShowLabel: boolean;
|
100
96
|
kgAllowClear: boolean;
|
101
|
-
kgPlaceholder: string;
|
102
97
|
kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
|
103
|
-
kgActionType: import("axios").Method;
|
104
98
|
kgShowTime: boolean | import("ant-design-vue/es/vc-picker/panels/TimePanel").SharedTimeProps<import("dayjs").Dayjs>;
|
105
99
|
}>;
|
106
100
|
export default _default;
|