@kengic/vue 0.19.2-beta.7 → 0.19.2-beta.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +316 -354
- package/dist/src/apis/WMS/models.d.ts +2 -2
- package/dist/src/components/KgButton/index.hooks.d.ts +0 -5
- package/dist/src/components/KgForm/index.store.d.ts +47 -35
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +6 -6
- package/package.json +2 -2
@@ -337,8 +337,6 @@ export declare class VarButton {
|
|
337
337
|
dis_mult_select_flg?: number | null;
|
338
338
|
/** 是否在未勾选行时禁用(DisableWhenNoSelect). */
|
339
339
|
dis_no_select_flg?: number | null;
|
340
|
-
/** 是否启用(EnableFlag). */
|
341
|
-
ena_flg?: number | null;
|
342
340
|
/** 导出 EXCEL 的文件名. */
|
343
341
|
export_excel_filename?: string | null;
|
344
342
|
/** 导出 EXCEL 的文件名后缀. */
|
@@ -773,6 +771,8 @@ export declare class VarSubmitField {
|
|
773
771
|
key_flg?: number | null;
|
774
772
|
/** 提示文字(Placeholder). */
|
775
773
|
placeholder?: string | null;
|
774
|
+
/** 是否必填. */
|
775
|
+
required_flag?: number | null;
|
776
776
|
/** 所属分组. */
|
777
777
|
section?: string | null;
|
778
778
|
/** 显示顺序. */
|
@@ -36,11 +36,6 @@ export declare type IUseKgButton = {
|
|
36
36
|
* @param once 是否只会触发一次. 默认为 undefined.
|
37
37
|
*/
|
38
38
|
onImportOk(cb: IKgButtonImportOkCb, once?: boolean): IRemoveEventListenerHandler;
|
39
|
-
/**
|
40
|
-
* 事件: other 类型的按钮接口调用成功.
|
41
|
-
* @param cb 回调函数.
|
42
|
-
* @param once 是否只会触发一次. 默认为 undefined.
|
43
|
-
*/
|
44
39
|
onOtherOk(cb: IKgButtonOtherOkCb, once?: boolean): IRemoveEventListenerHandler;
|
45
40
|
/**
|
46
41
|
* 事件: 表格内编辑时, 点击保存按钮.
|
@@ -13,74 +13,86 @@ import { IKgTableRow } from '../KgTable';
|
|
13
13
|
export declare type IKgFormEvent = 'selectBeforeSetDatas' | 'selectChange' | 'lookupBeforeOpen' | 'lookupBeforeOk' | 'lookupOk';
|
14
14
|
/** 事件监听函数: selectBeforeSetDatas. */
|
15
15
|
export declare type IKgFormSelectBeforeSetDatasCbParam<T = any> = {
|
16
|
-
/** 变量名称. */
|
17
|
-
variableName: string;
|
18
|
-
isCreating: boolean | null;
|
19
|
-
isUpdating: boolean | null;
|
20
|
-
isCopying: boolean | null;
|
21
|
-
isDeleting: boolean | null;
|
22
16
|
/** 列表数据. */
|
23
17
|
datas: Ref<Array<T>>;
|
18
|
+
isCopying: boolean | null;
|
19
|
+
isCreating: boolean | null;
|
20
|
+
isDeleting: boolean | null;
|
21
|
+
isUpdating: boolean | null;
|
22
|
+
/** 变量名称. */
|
23
|
+
variableName: string;
|
24
24
|
};
|
25
25
|
export declare type IKgFormSelectBeforeSetDatasCb = ((param: IKgFormSelectBeforeSetDatasCbParam) => Promise<boolean>) & IKgEventCb;
|
26
26
|
/** 事件监听函数: selectChange. */
|
27
27
|
export declare type IKgFormSelectChangeCbParam = {
|
28
|
-
|
29
|
-
|
28
|
+
isCopying: boolean | null;
|
29
|
+
isCreating: boolean | null;
|
30
|
+
isDeleting: boolean | null;
|
30
31
|
/** 是否多选, 否则单选. */
|
31
32
|
isMultiple: boolean;
|
32
|
-
/** 选中的数据组成的数组, 如果是单选则数组中只有一个数据. */
|
33
|
-
values: Array<any>;
|
34
|
-
/** 选中的数据对象组成的数组, 如果是单选则数组中只有一个数据对象. */
|
35
|
-
rows: Array<any> | null;
|
36
|
-
isCreating: boolean | null;
|
37
33
|
isUpdating: boolean | null;
|
38
|
-
isCopying: boolean | null;
|
39
|
-
isDeleting: boolean | null;
|
40
34
|
/** 表单数据对象. */
|
41
35
|
model: Ref<Record<string, any>> | null;
|
36
|
+
/** 选中的数据对象组成的数组, 如果是单选则数组中只有一个数据对象. */
|
37
|
+
rows: Array<any> | null;
|
38
|
+
/** 选中的数据组成的数组, 如果是单选则数组中只有一个数据. */
|
39
|
+
values: Array<any>;
|
40
|
+
/** 变量. */
|
41
|
+
var_nam: string;
|
42
42
|
};
|
43
43
|
export declare type IKgFormSelectChangeCb = ((param: IKgFormSelectChangeCbParam) => Promise<boolean>) & IKgEventCb;
|
44
44
|
/** 事件监听函数: lookupBeforeOpen. */
|
45
45
|
export declare type IKgFormLookupBeforeOpenCbParam = {
|
46
|
-
/** 变量. */
|
47
|
-
var_nam: string;
|
48
46
|
/** 查找弹出的界面标识. */
|
49
47
|
lookupFormID: string;
|
48
|
+
/** 变量. */
|
49
|
+
var_nam: string;
|
50
50
|
};
|
51
51
|
export declare type IKgFormLookupBeforeOpenCb = ((param: IKgFormLookupBeforeOpenCbParam) => Promise<boolean>) & IKgEventCb;
|
52
52
|
/** 事件监听函数: lookupBeforeOk. */
|
53
53
|
export declare type IKgFormLookupBeforeOkCbParam = {
|
54
|
-
/** 变量. */
|
55
|
-
var_nam: string;
|
56
54
|
/** 是否多选, 否则单选. */
|
57
55
|
isMultiple: boolean;
|
58
|
-
/**
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
/** 单选时, 勾选的那一行. */
|
56
|
+
/**
|
57
|
+
* 单选时, 勾选的那一行.
|
58
|
+
* @deprecated 请直接使用属性 rows.
|
59
|
+
*/
|
63
60
|
row?: IKgTableRow | null;
|
64
|
-
/**
|
61
|
+
/** 勾选的所有行. */
|
65
62
|
rows?: Array<IKgTableRow> | null;
|
63
|
+
/**
|
64
|
+
* 单选时, 对应的一个值.
|
65
|
+
* @deprecated 请直接使用属性 values.
|
66
|
+
*/
|
67
|
+
value?: any | null;
|
68
|
+
/** 勾选的所有值. */
|
69
|
+
values?: Array<any> | null;
|
70
|
+
/** 变量. */
|
71
|
+
var_nam: string;
|
66
72
|
};
|
67
73
|
export declare type IKgFormLookupBeforeOkCb = ((param: IKgFormLookupBeforeOkCbParam) => Promise<boolean>) & IKgEventCb;
|
68
74
|
/** 事件监听函数: lookupOk. */
|
69
75
|
export declare type IKgFormLookupOkCbParam = {
|
70
|
-
/** 变量. */
|
71
|
-
var_nam: string;
|
72
|
-
/** 表单数据对象. */
|
73
|
-
model: ComputedRef<Record<string, any>>;
|
74
76
|
/** 是否多选, 否则单选. */
|
75
77
|
isMultiple: boolean;
|
76
|
-
/**
|
77
|
-
|
78
|
-
/**
|
79
|
-
|
80
|
-
|
78
|
+
/** 表单数据对象. */
|
79
|
+
model: ComputedRef<Record<string, any>>;
|
80
|
+
/**
|
81
|
+
* 单选时, 勾选的那一行.
|
82
|
+
* @deprecated 请直接使用属性 rows.
|
83
|
+
*/
|
81
84
|
row?: IKgTableRow | null;
|
82
|
-
/**
|
85
|
+
/** 勾选的所有行. */
|
83
86
|
rows?: Array<IKgTableRow> | null;
|
87
|
+
/**
|
88
|
+
* 单选时, 对应的一个值.
|
89
|
+
* @deprecated 请直接使用属性 values.
|
90
|
+
*/
|
91
|
+
value?: any | null;
|
92
|
+
/** 勾选的所有值. */
|
93
|
+
values?: Array<any> | null;
|
94
|
+
/** 变量. */
|
95
|
+
var_nam: string;
|
84
96
|
};
|
85
97
|
export declare type IKgFormLookupOkCb = ((param: IKgFormLookupOkCbParam) => Promise<boolean>) & IKgEventCb;
|
86
98
|
export declare type IKgFormCbParam = IKgFormSelectBeforeSetDatasCbParam | IKgFormSelectChangeCbParam | IKgFormLookupBeforeOpenCbParam | IKgFormLookupBeforeOkCbParam | IKgFormLookupOkCbParam;
|
@@ -50,7 +50,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
50
50
|
del_param_clm?: string | null | undefined;
|
51
51
|
dis_mult_select_flg?: number | null | undefined;
|
52
52
|
dis_no_select_flg?: number | null | undefined;
|
53
|
-
ena_flg?: number | null | undefined;
|
54
53
|
export_excel_filename?: string | null | undefined;
|
55
54
|
export_excel_suffix?: string | null | undefined;
|
56
55
|
frm_id?: string | null | undefined;
|
@@ -224,6 +223,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
224
223
|
id?: string | null | undefined;
|
225
224
|
key_flg?: number | null | undefined;
|
226
225
|
placeholder?: string | null | undefined;
|
226
|
+
required_flag?: number | null | undefined;
|
227
227
|
section?: string | null | undefined;
|
228
228
|
srtseq?: number | null | undefined;
|
229
229
|
upt_dft_val?: string | null | undefined;
|
@@ -314,7 +314,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
314
314
|
del_param_clm?: string | null | undefined;
|
315
315
|
dis_mult_select_flg?: number | null | undefined;
|
316
316
|
dis_no_select_flg?: number | null | undefined;
|
317
|
-
ena_flg?: number | null | undefined;
|
318
317
|
export_excel_filename?: string | null | undefined;
|
319
318
|
export_excel_suffix?: string | null | undefined;
|
320
319
|
frm_id?: string | null | undefined;
|
@@ -488,6 +487,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
488
487
|
id?: string | null | undefined;
|
489
488
|
key_flg?: number | null | undefined;
|
490
489
|
placeholder?: string | null | undefined;
|
490
|
+
required_flag?: number | null | undefined;
|
491
491
|
section?: string | null | undefined;
|
492
492
|
srtseq?: number | null | undefined;
|
493
493
|
upt_dft_val?: string | null | undefined;
|
@@ -612,7 +612,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
612
612
|
del_param_clm?: string | null | undefined;
|
613
613
|
dis_mult_select_flg?: number | null | undefined;
|
614
614
|
dis_no_select_flg?: number | null | undefined;
|
615
|
-
ena_flg?: number | null | undefined;
|
616
615
|
export_excel_filename?: string | null | undefined;
|
617
616
|
export_excel_suffix?: string | null | undefined;
|
618
617
|
frm_id?: string | null | undefined;
|
@@ -786,6 +785,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
786
785
|
id?: string | null | undefined;
|
787
786
|
key_flg?: number | null | undefined;
|
788
787
|
placeholder?: string | null | undefined;
|
788
|
+
required_flag?: number | null | undefined;
|
789
789
|
section?: string | null | undefined;
|
790
790
|
srtseq?: number | null | undefined;
|
791
791
|
upt_dft_val?: string | null | undefined;
|
@@ -876,7 +876,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
876
876
|
del_param_clm?: string | null | undefined;
|
877
877
|
dis_mult_select_flg?: number | null | undefined;
|
878
878
|
dis_no_select_flg?: number | null | undefined;
|
879
|
-
ena_flg?: number | null | undefined;
|
880
879
|
export_excel_filename?: string | null | undefined;
|
881
880
|
export_excel_suffix?: string | null | undefined;
|
882
881
|
frm_id?: string | null | undefined;
|
@@ -1050,6 +1049,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1050
1049
|
id?: string | null | undefined;
|
1051
1050
|
key_flg?: number | null | undefined;
|
1052
1051
|
placeholder?: string | null | undefined;
|
1052
|
+
required_flag?: number | null | undefined;
|
1053
1053
|
section?: string | null | undefined;
|
1054
1054
|
srtseq?: number | null | undefined;
|
1055
1055
|
upt_dft_val?: string | null | undefined;
|
@@ -1174,7 +1174,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1174
1174
|
del_param_clm?: string | null | undefined;
|
1175
1175
|
dis_mult_select_flg?: number | null | undefined;
|
1176
1176
|
dis_no_select_flg?: number | null | undefined;
|
1177
|
-
ena_flg?: number | null | undefined;
|
1178
1177
|
export_excel_filename?: string | null | undefined;
|
1179
1178
|
export_excel_suffix?: string | null | undefined;
|
1180
1179
|
frm_id?: string | null | undefined;
|
@@ -1348,6 +1347,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1348
1347
|
id?: string | null | undefined;
|
1349
1348
|
key_flg?: number | null | undefined;
|
1350
1349
|
placeholder?: string | null | undefined;
|
1350
|
+
required_flag?: number | null | undefined;
|
1351
1351
|
section?: string | null | undefined;
|
1352
1352
|
srtseq?: number | null | undefined;
|
1353
1353
|
upt_dft_val?: string | null | undefined;
|
@@ -1438,7 +1438,6 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1438
1438
|
del_param_clm?: string | null | undefined;
|
1439
1439
|
dis_mult_select_flg?: number | null | undefined;
|
1440
1440
|
dis_no_select_flg?: number | null | undefined;
|
1441
|
-
ena_flg?: number | null | undefined;
|
1442
1441
|
export_excel_filename?: string | null | undefined;
|
1443
1442
|
export_excel_suffix?: string | null | undefined;
|
1444
1443
|
frm_id?: string | null | undefined;
|
@@ -1612,6 +1611,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1612
1611
|
id?: string | null | undefined;
|
1613
1612
|
key_flg?: number | null | undefined;
|
1614
1613
|
placeholder?: string | null | undefined;
|
1614
|
+
required_flag?: number | null | undefined;
|
1615
1615
|
section?: string | null | undefined;
|
1616
1616
|
srtseq?: number | null | undefined;
|
1617
1617
|
upt_dft_val?: string | null | undefined;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.19.2-beta.
|
3
|
+
"version": "0.19.2-beta.9",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -83,7 +83,7 @@
|
|
83
83
|
},
|
84
84
|
"prettier": {
|
85
85
|
"endOfLine": "auto",
|
86
|
-
"printWidth":
|
86
|
+
"printWidth": 160,
|
87
87
|
"semi": true,
|
88
88
|
"singleAttributePerLine": true,
|
89
89
|
"singleQuote": true,
|