@kengic/vue 0.10.4 → 0.10.6

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.
@@ -4,8 +4,10 @@ export declare class CreateVarGridMasterQuery {
4
4
  def_flg?: number | null;
5
5
  /** 界面标识(FormID). */
6
6
  frm_id?: string | null;
7
- /** 视图变量名称(GridVariableName). */
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
- /** 查询条件变量名称(ProfileVariableName). */
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
- /** 视图变量名称(GridVariableName). */
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
- /** 查询条件变量名称(ProfileVariableName). */
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
  /** 查询条件明细列表. */
@@ -0,0 +1,6 @@
1
+ export default data;
2
+ declare namespace data {
3
+ const width: number;
4
+ const height: number;
5
+ const body: string;
6
+ }
@@ -0,0 +1,6 @@
1
+ export default data;
2
+ declare namespace data {
3
+ const width: number;
4
+ const height: number;
5
+ const body: string;
6
+ }
@@ -36,4 +36,4 @@ export declare type IUseFormModel = {
36
36
  /** 设置表单的初始值. */
37
37
  initFormModel(): void;
38
38
  };
39
- export declare function _useFormModel(formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): IUseFormModel;
39
+ export declare function _useFormModel(kgResizableRef: Ref<any | null>, formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): IUseFormModel;
@@ -1 +1 @@
1
- export {};
1
+ export declare const FORM_ID__KG_SEARCH__VAR_PROFILE_MASTER = "kg-search.VarProfileMaster";
@@ -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, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
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;
@@ -1,6 +1,5 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import './KgTable.Setting.ConfigModal.VarGridMaster.less';
3
- export declare const FORM_ID__VAR_GRID_MASTER = "kg-table.VarGridMaster";
4
3
  export declare const getProps: () => {
5
4
  /** 主页面的页面标识. */
6
5
  hostFormID: {
@@ -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
- getCurrentVarProfileMaster(): (frm_id?: string | null) => VarProfileMasterDTO | null;
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
- KgTableSettingGridConfigModal: {
74
- title: string;
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
- KgTableSettingGridConfigModal: {
74
- title: string;
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;
@@ -219,3 +219,8 @@ export declare enum KG_DYNAMIC_QUERY_OPERATOR {
219
219
  /** 范围之内. */
220
220
  BETWEEN = "between"
221
221
  }
222
+ /** 请求头部. */
223
+ export declare enum KG_HEADERS {
224
+ /** 是否启用高级查询. */
225
+ DYNAMIC_QUERY = "Kg-Dynamic-Query"
226
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.10.4",
3
+ "version": "0.10.6",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",
@@ -1 +0,0 @@
1
- export declare const FORM_ID__VAR_PROFILE_MASTER = "kg-search.VarProfileMaster";