@kengic/vue 0.10.4 → 0.10.5
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 +2547 -1939
- package/dist/src/src/apis/WMS/models.d.ts +14 -4
- package/dist/src/src/assets/icons/material-symbols.save-as-outline-rounded.d.ts +6 -0
- package/dist/src/src/assets/icons/material-symbols.save-outline-rounded.d.ts +6 -0
- package/dist/src/src/components/KgSearch/index.vm.d.ts +1 -1
- package/dist/src/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts +3 -1
- package/dist/src/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.d.ts +0 -1
- package/dist/src/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts +23 -0
- package/dist/src/src/components/KgTable/index.vm.d.ts +1 -0
- package/dist/src/src/components/KgVar/index.hooks.d.ts +2 -0
- package/dist/src/src/components/KgVar/index.store.d.ts +6 -1
- package/dist/src/src/consts/i18n/en.d.ts +16 -2
- package/dist/src/src/consts/i18n/zh_CN.d.ts +16 -2
- package/dist/src/src/consts/index.d.ts +5 -0
- package/package.json +1 -1
- package/dist/src/src/components/KgSearch/components/KgSearch.ConfigModal.data.d.ts +0 -1
@@ -4,8 +4,10 @@ export declare class CreateVarGridMasterQuery {
|
|
4
4
|
def_flg?: number | null;
|
5
5
|
/** 界面标识(FormID). */
|
6
6
|
frm_id?: string | null;
|
7
|
-
/**
|
7
|
+
/** 视图名称变量. */
|
8
8
|
grd_var_nam?: string | null;
|
9
|
+
/** 视图名称翻译. */
|
10
|
+
grd_var_nam_dsc?: string | null;
|
9
11
|
/** 分组(GroupName). */
|
10
12
|
grp_nam?: string | null;
|
11
13
|
/** 用户(UserID). */
|
@@ -24,8 +26,10 @@ export declare class CreateVarProfileMasterQuery {
|
|
24
26
|
frm_id?: string | null;
|
25
27
|
/** 分组(GroupName). */
|
26
28
|
grp_nam?: string | null;
|
27
|
-
/**
|
29
|
+
/** 视图名称变量. */
|
28
30
|
prf_var_nam?: string | null;
|
31
|
+
/** 视图名称翻译. */
|
32
|
+
prf_var_nam_dsc?: string | null;
|
29
33
|
/** 用户(UserID). */
|
30
34
|
usr_id?: string | null;
|
31
35
|
/** 字段列表. */
|
@@ -195,6 +199,8 @@ export declare class VarDTO {
|
|
195
199
|
export declare class VarGridConfig {
|
196
200
|
/** 是否自动加载数据(AutoLoadFlag). */
|
197
201
|
aut_load_flg?: number | null;
|
202
|
+
/** 是否可用. */
|
203
|
+
available_flg?: number | null;
|
198
204
|
/** 按钮显示样式(ButtonDisplayType). */
|
199
205
|
button_display_type?: string | null;
|
200
206
|
/** 每次查询之后是否自动勾选首行. */
|
@@ -299,8 +305,10 @@ export declare class VarGridMasterDTO {
|
|
299
305
|
def_flg?: number | null;
|
300
306
|
/** 界面标识(FormID). */
|
301
307
|
frm_id?: string | null;
|
302
|
-
/**
|
308
|
+
/** 视图名称变量. */
|
303
309
|
grd_var_nam?: string | null;
|
310
|
+
/** 视图名称翻译. */
|
311
|
+
grd_var_nam_dsc?: string | null;
|
304
312
|
/** 分组(GroupName). */
|
305
313
|
grp_nam?: string | null;
|
306
314
|
/** 主键. */
|
@@ -451,8 +459,10 @@ export declare class VarProfileMasterDTO {
|
|
451
459
|
grp_nam?: string | null;
|
452
460
|
/** 主键. */
|
453
461
|
id?: string | null;
|
454
|
-
/**
|
462
|
+
/** 视图名称变量. */
|
455
463
|
prf_var_nam?: string | null;
|
464
|
+
/** 视图名称翻译. */
|
465
|
+
prf_var_nam_dsc?: string | null;
|
456
466
|
/** 用户(UserID). */
|
457
467
|
usr_id?: string | null;
|
458
468
|
/** 查询条件明细列表. */
|
@@ -1 +1 @@
|
|
1
|
-
export
|
1
|
+
export declare const FORM_ID__KG_SEARCH__VAR_PROFILE_MASTER = "kg-search.VarProfileMaster";
|
package/dist/src/src/components/KgTable/components/setting/KgTable.Setting.VarGridMaster.SaveAs.d.ts
CHANGED
@@ -1,3 +1,5 @@
|
|
1
1
|
export declare const FORM_ID__VAR_GRID_MASTER__SAVE = "kg-table.VarGridMaster.Save";
|
2
|
-
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgClose"[], "kgClose", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
3
|
+
onKgClose?: ((...args: any[]) => any) | undefined;
|
4
|
+
}, {}>;
|
3
5
|
export default _default;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { ColumnsType } from 'ant-design-vue/es/table';
|
2
|
+
import { Ref, UnwrapRef } from 'vue';
|
3
|
+
import { VarGridDetail } from '../../../../../apis/WMS/models';
|
4
|
+
export declare type IUseTransferColumns = {
|
5
|
+
/** 左侧表格的列. */
|
6
|
+
leftColumns: () => ColumnsType<VarGridDetail>;
|
7
|
+
/** 右侧表格的列. */
|
8
|
+
rightColumns: () => ColumnsType<VarGridDetail>;
|
9
|
+
};
|
10
|
+
/**
|
11
|
+
*
|
12
|
+
* @param hostFormID 宿主页面标识.
|
13
|
+
* @param varGridDetails
|
14
|
+
*/
|
15
|
+
export declare function _useTransferColumns(hostFormID: string | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseTransferColumns;
|
16
|
+
export declare type IUseDragRow = {};
|
17
|
+
/**
|
18
|
+
*
|
19
|
+
* @param hostFormID 宿主页面标识.
|
20
|
+
* @param varGridDetails
|
21
|
+
* @param transferRightRows
|
22
|
+
*/
|
23
|
+
export declare function _useDragRow(hostFormID: string | undefined, varGridDetails: Ref<UnwrapRef<Array<VarGridDetail>>>, transferRightRows: Ref<UnwrapRef<Array<VarGridDetail>>>): IUseDragRow;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { ColumnType } from 'ant-design-vue/es/table/interface';
|
2
2
|
import { VarGridDetail } from '../../apis/WMS/models';
|
3
|
+
export declare const FORM_ID__KG_TABLE__VAR_GRID_MASTER = "kg-table.VarGridMaster";
|
3
4
|
/** 表格的行对象. */
|
4
5
|
export declare type IKgTableRow<T = {}> = {
|
5
6
|
id?: string | null;
|
@@ -13,6 +13,8 @@ export declare type IUseKgVar = {
|
|
13
13
|
isRetrievingVarProfileMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarProfileMaster']>>;
|
14
14
|
/** 正在查询 VarGridMaster. */
|
15
15
|
isRetrievingVarGridMaster: ComputedRef<ReturnType<IKgVarStore['isRetrievingVarGridMaster']>>;
|
16
|
+
/** 变量配置查询完成. */
|
17
|
+
isRetrieved: ComputedRef<ReturnType<IKgVarStore['isRetrieved']>>;
|
16
18
|
/** 正在创建. */
|
17
19
|
isCreating: ComputedRef<ReturnType<IKgVarStore['isCreating']>>;
|
18
20
|
/** 正在创建:正在调用接口. */
|
@@ -89,6 +89,8 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
89
89
|
isRetrieving(): (frm_id?: string | null) => boolean | null;
|
90
90
|
isRetrievingVarProfileMaster(): (frm_id?: string | null) => boolean | null;
|
91
91
|
isRetrievingVarGridMaster(): (frm_id?: string | null) => boolean | null;
|
92
|
+
/** 变量配置查询完成. */
|
93
|
+
isRetrieved(): (frm_id?: string | null) => boolean;
|
92
94
|
isCreating(): (frm_id?: string | null) => boolean | null;
|
93
95
|
isUpdating(): (frm_id?: string | null) => boolean | null;
|
94
96
|
isCopying(): (frm_id?: string | null) => boolean | null;
|
@@ -173,14 +175,17 @@ export declare type IKgVarStoreDefinition = StoreDefinition<'KgVar', IKgVarState
|
|
173
175
|
* 根据 frm_id 获取系统的 VarProfileDetail 列表, 即 customLevel 为 0 的 VarProfileMaster 下面的所有 VarProfileDetail.
|
174
176
|
*/
|
175
177
|
getSystemVarProfileDetails(): (frm_id?: string | null) => Array<VarProfileDetail> | null;
|
176
|
-
|
178
|
+
/** 获取当前'查询条件视图'的 ID. */
|
177
179
|
getCurrentVarProfileMasterID(): (frm_id?: string | null) => string | null;
|
180
|
+
getCurrentVarProfileMaster(): (frm_id?: string | null) => VarProfileMasterDTO | null;
|
178
181
|
/** 获取所有的 VarGridConfig. */
|
179
182
|
getVarGridConfigMap(): Map<string, VarGridConfig | null>;
|
180
183
|
getVarGridConfig(): (frm_id?: string | null) => VarGridConfig | null;
|
181
184
|
getVarGridMasters(): (frm_id?: string | null) => Array<VarGridMasterDTO> | null;
|
182
185
|
getVarGridDetail(): (frm_id?: string | null, var_nam?: string | null) => VarGridDetail | null;
|
183
186
|
/** 根据 frm_id 获取当前的 VarGridMaster. */
|
187
|
+
/** 获取当前'表格视图'的 ID. */
|
188
|
+
getCurrentVarGridMasterID(): (frm_id?: string | null) => string | null;
|
184
189
|
getCurrentVarGridMaster(): (frm_id?: string | null) => VarGridMasterDTO | null;
|
185
190
|
getCurrentVarGridDetails(): (frm_id?: string | null) => Array<VarGridDetail> | null;
|
186
191
|
/**
|
@@ -53,6 +53,7 @@ declare const _default: {
|
|
53
53
|
column: string;
|
54
54
|
config: string;
|
55
55
|
emptyText: string;
|
56
|
+
'save-var-grid-master-as-success-message': string;
|
56
57
|
saveVarGridMaster: string;
|
57
58
|
saveVarGridMasterAs: string;
|
58
59
|
saveVarGridMasterSuccessMessage: string;
|
@@ -70,8 +71,18 @@ declare const _default: {
|
|
70
71
|
VarGridConfig: string;
|
71
72
|
VarGridMaster: string;
|
72
73
|
};
|
73
|
-
|
74
|
-
|
74
|
+
KgTableSettingConfigModalVarGridMaster: {
|
75
|
+
DESC: string;
|
76
|
+
ENUM: string;
|
77
|
+
FILE_SIZE: string;
|
78
|
+
PROGRESS: string;
|
79
|
+
ROUTE_LINK: string;
|
80
|
+
UPDATE_LINK: string;
|
81
|
+
YN: string;
|
82
|
+
center: string;
|
83
|
+
left: string;
|
84
|
+
'not-sort': string;
|
85
|
+
right: string;
|
75
86
|
};
|
76
87
|
KgTableSettingVarGridConfig: {
|
77
88
|
emptyPageSizeOptions: string;
|
@@ -130,6 +141,7 @@ declare const _default: {
|
|
130
141
|
};
|
131
142
|
action: string;
|
132
143
|
add: string;
|
144
|
+
asc: string;
|
133
145
|
button: string;
|
134
146
|
cancel: string;
|
135
147
|
close: string;
|
@@ -139,8 +151,10 @@ declare const _default: {
|
|
139
151
|
copySuccess: string;
|
140
152
|
create: string;
|
141
153
|
createSuccess: string;
|
154
|
+
default: string;
|
142
155
|
delete: string;
|
143
156
|
deleteSuccess: string;
|
157
|
+
desc: string;
|
144
158
|
downloadImportTemplate: string;
|
145
159
|
edit: string;
|
146
160
|
empty: string;
|
@@ -53,6 +53,7 @@ declare const _default: {
|
|
53
53
|
column: string;
|
54
54
|
config: string;
|
55
55
|
emptyText: string;
|
56
|
+
'save-var-grid-master-as-success-message': string;
|
56
57
|
saveVarGridMaster: string;
|
57
58
|
saveVarGridMasterAs: string;
|
58
59
|
saveVarGridMasterSuccessMessage: string;
|
@@ -70,8 +71,18 @@ declare const _default: {
|
|
70
71
|
VarGridConfig: string;
|
71
72
|
VarGridMaster: string;
|
72
73
|
};
|
73
|
-
|
74
|
-
|
74
|
+
KgTableSettingConfigModalVarGridMaster: {
|
75
|
+
DESC: string;
|
76
|
+
ENUM: string;
|
77
|
+
FILE_SIZE: string;
|
78
|
+
PROGRESS: string;
|
79
|
+
ROUTE_LINK: string;
|
80
|
+
UPDATE_LINK: string;
|
81
|
+
YN: string;
|
82
|
+
center: string;
|
83
|
+
left: string;
|
84
|
+
'not-sort': string;
|
85
|
+
right: string;
|
75
86
|
};
|
76
87
|
KgTableSettingVarGridConfig: {
|
77
88
|
emptyPageSizeOptions: string;
|
@@ -129,6 +140,7 @@ declare const _default: {
|
|
129
140
|
};
|
130
141
|
action: string;
|
131
142
|
add: string;
|
143
|
+
asc: string;
|
132
144
|
button: string;
|
133
145
|
cancel: string;
|
134
146
|
close: string;
|
@@ -138,8 +150,10 @@ declare const _default: {
|
|
138
150
|
copySuccess: string;
|
139
151
|
create: string;
|
140
152
|
createSuccess: string;
|
153
|
+
default: string;
|
141
154
|
delete: string;
|
142
155
|
deleteSuccess: string;
|
156
|
+
desc: string;
|
143
157
|
downloadImportTemplate: string;
|
144
158
|
edit: string;
|
145
159
|
empty: string;
|
package/package.json
CHANGED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const FORM_ID__VAR_PROFILE_MASTER = "kg-search.VarProfileMaster";
|