@kengic/vue 0.23.0 → 0.23.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/index.css +1 -1
  3. package/dist/kengic-vue.js +6479 -5667
  4. package/dist/project/build/script/buildConf.ts +1 -2
  5. package/dist/project/build/script/postBuild.ts +1 -1
  6. package/dist/project/src/api/sys/model/userModel.ts +1 -0
  7. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -7
  8. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
  9. package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
  10. package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
  11. package/dist/src/apis/WMS/models.d.ts +20 -4
  12. package/dist/src/components/KgAppSelect/index.hooks.d.ts +3 -3
  13. package/dist/src/components/KgAppSelect/index.store.d.ts +30 -29
  14. package/dist/src/components/KgButton/KgButton.d.ts +18 -12
  15. package/dist/src/components/KgButton/index.d.ts +4 -4
  16. package/dist/src/components/KgButton/index.hooks.d.ts +7 -5
  17. package/dist/src/components/KgButton/index.store.d.ts +19 -16
  18. package/dist/src/components/KgForm/index.hooks.d.ts +21 -8
  19. package/dist/src/components/KgForm/index.store.d.ts +74 -34
  20. package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
  21. package/dist/src/components/KgForm.Item/KgForm.Item.service.d.ts +3 -3
  22. package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +8 -7
  23. package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +6 -7
  24. package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +6 -5
  25. package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +6 -5
  26. package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +3 -3
  27. package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +6 -5
  28. package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +6 -5
  29. package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -5
  30. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -3
  31. package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.service.d.ts +16 -13
  32. package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +6 -5
  33. package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +6 -5
  34. package/dist/src/components/KgForm.Item/index.d.ts +1 -1
  35. package/dist/src/components/KgForm.Item/index.vm.d.ts +9 -7
  36. package/dist/src/components/KgResizable/KgResizable.d.ts +52 -52
  37. package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
  38. package/dist/src/components/KgSearch/KgSearch.service.d.ts +20 -16
  39. package/dist/src/components/KgSearch/index.hooks.d.ts +33 -9
  40. package/dist/src/components/KgSearch/index.store.d.ts +44 -37
  41. package/dist/src/components/KgSubmit/index.hooks.d.ts +48 -15
  42. package/dist/src/components/KgSubmit/index.store.d.ts +44 -45
  43. package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
  44. package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
  45. package/dist/src/components/KgTable/index.hooks.d.ts +23 -8
  46. package/dist/src/components/KgTable/index.store.d.ts +48 -34
  47. package/dist/src/components/KgTable/index.vm.d.ts +1 -1
  48. package/dist/src/components/KgVar/index.hooks.d.ts +9 -11
  49. package/dist/src/components/KgVar/index.store.d.ts +51 -60
  50. package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
  51. package/dist/src/components/KgVar/index.vm.d.ts +7 -7
  52. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
  53. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
  54. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
  55. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
  56. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
  57. package/dist/src/components/KgVarConfig/index.store.d.ts +23 -16
  58. package/dist/src/components/KgVarConfig/index.vm.d.ts +32 -0
  59. package/dist/src/components/KgWarehouse/index.hooks.d.ts +10 -6
  60. package/dist/src/components/KgWarehouse/index.store.d.ts +15 -14
  61. package/dist/src/components/util.d.ts +7 -7
  62. package/dist/src/consts/i18n/en.d.ts +10 -7
  63. package/dist/src/consts/i18n/zh_CN.d.ts +10 -7
  64. package/dist/src/consts/index.d.ts +0 -284
  65. package/dist/src/consts/index.vm.d.ts +425 -24
  66. package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +6 -0
  67. package/dist/src/utils/kg-var.util.d.ts +4 -3
  68. package/dist/src/utils/kg.util.d.ts +11 -14
  69. package/package.json +2 -2
  70. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Delete.d.ts +0 -18
  71. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/DeleteBatch.d.ts +0 -18
  72. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Edit.d.ts +0 -16
  73. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ExportXls.d.ts +0 -30
  74. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ImportExcel.d.ts +0 -15
  75. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/List.d.ts +0 -37
  76. package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/QueryById.d.ts +0 -19
  77. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
  78. /package/dist/src/components/KgTable/components/setting/config/{KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts → KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts} +0 -0
  79. /package/dist/src/components/KgVarConfig/components/var/{KgVarConfig.Modal.Var.Vars.d.ts → KgVarConfig.Modal.Var.VarConfigControl.d.ts} +0 -0
@@ -90,12 +90,13 @@ declare const _default: {
90
90
  invalidWidthForSpan: string;
91
91
  };
92
92
  KgTable: {
93
+ apiNotSupportDynamicQuery: string;
93
94
  canNotUpdateSystemVarGridMaster: string;
94
95
  column: string;
95
96
  config: string;
96
- 'dynamic-query-is-off-in-server': string;
97
97
  emptyText: string;
98
- 'is-show-description': string;
98
+ isShowDescription: string;
99
+ other: string;
99
100
  'request-fail-error': string;
100
101
  'request-fail-no-data': string;
101
102
  rowHeight: string;
@@ -146,8 +147,6 @@ declare const _default: {
146
147
  action: string;
147
148
  allForm: string;
148
149
  allLanguage: string;
149
- applyTo: string;
150
- catalog: string;
151
150
  confirm: string;
152
151
  createConfig: string;
153
152
  createSuccess: string;
@@ -157,18 +156,22 @@ declare const _default: {
157
156
  deleteConfirmMessage: string;
158
157
  deleteSuccess: string;
159
158
  discardConfirmMessage: string;
160
- form: string;
161
159
  formId: string;
162
160
  groupName: string;
163
- language: string;
164
161
  saveSuccess: string;
165
162
  tabButton: string;
166
163
  tabSearch: string;
167
164
  tabSubmit: string;
168
165
  tabTable: string;
166
+ varConfigControl: string;
167
+ varConfigDescription: string;
168
+ varConfigInput: string;
169
+ varConfigLookup: string;
170
+ varConfigPossibility: string;
171
+ varConfigTip: string;
172
+ varVariable: string;
169
173
  variable: string;
170
174
  variableName: string;
171
- variables: string;
172
175
  };
173
176
  KgVarConfigModalButton: {
174
177
  VarButton: string;
@@ -1,287 +1,3 @@
1
1
  export * from './i18n';
2
2
  export * from './index.vm';
3
3
  export * from './injection-keys.const';
4
- /** 模块. */
5
- export declare const enum KG_APP {
6
- /** 数据管理. */
7
- WMS_DATA_MANAGER = "data-manager",
8
- /** 仓库管理. */
9
- WMS_BUSINESS_MANAGER = "business-manager",
10
- /** WCS. */
11
- WCS = "wcs",
12
- /** 系统管理. */
13
- SYS = "sys"
14
- }
15
- /** 模块路径前缀. */
16
- export declare const enum KG_APP_PREFIX {
17
- /** 数据管理. */
18
- WMS_DATA_MANAGER = "/wms/data-manager",
19
- /** 仓库管理. */
20
- WMS_BUSINESS_MANAGER = "/wms/business-manager",
21
- /** WCS. */
22
- WCS = "/wcs",
23
- /** 系统管理. */
24
- SYS = "/sys"
25
- }
26
- /** 所有模块. */
27
- export declare const KG_APPS: Array<KG_APP>;
28
- /** 所有模块路径前缀. */
29
- export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
30
- /**
31
- * 表单控件类型.
32
- * @see VarConfigControl.ctrl_prop
33
- * @see IKgVarConfigControlProperties
34
- */
35
- export declare const enum KG_FORM_ITEM_CONTROL_TYPE {
36
- /** 文本. */
37
- INPUT = "INPUT",
38
- /** 密码. */
39
- INPUT_PASSWORD = "INPUT_PASSWORD",
40
- /** 数字. */
41
- INPUT_NUMBER = "INPUT_NUMBER",
42
- /**
43
- * <p>多行文本.</p>
44
- * <p>配置属性参见 {@link IKgVarConfigControlProperties.TEXT_AREA}.</p>
45
- */
46
- TEXT_AREA = "TEXT_AREA",
47
- /** 多选框. */
48
- CHECKBOX = "CHECKBOX",
49
- /**
50
- * <p>多选框列表.</p>
51
- * <p>配置属性参见 {@link IKgVarConfigControlProperties.CHECKBOX_GROUP}.</p>
52
- */
53
- CHECKBOX_GROUP = "CHECKBOX_GROUP",
54
- /**
55
- * <p>单选框列表.</p>
56
- * <p>配置属性参见 {@link IKgVarConfigControlProperties.RADIO_GROUP}.</p>
57
- */
58
- RADIO_GROUP = "RADIO_GROUP",
59
- /** 开关. */
60
- SWITCH = "SWITCH",
61
- /**
62
- * <p>下拉列表单选.<p>
63
- * <p>配置属性参见 {@link IKgVarConfigControlProperties.SELECT}.</p>
64
- */
65
- SELECT = "SELECT",
66
- /** 下拉列表多选. */
67
- SELECT_MULTIPLE = "SELECT_MULTIPLE",
68
- /** 年月日, 2020-05-01. */
69
- DATE_DATE = "DATE_DATE",
70
- /** 年月日的范围, [DATE_DATE, DATE_DATE] */
71
- DATE_DATE_RANGE = "DATE_DATE_RANGE",
72
- /** 时分秒, 11:59:59. */
73
- DATE_TIME = "DATE_TIME",
74
- /** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
75
- DATE_TIME_RANGE = "DATE_TIME_RANGE",
76
- /** 年月日时分秒, 2020-05-01 11:59:59. */
77
- DATE_DATETIME = "DATE_DATETIME",
78
- /** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
79
- DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE",
80
- DATE_WEEK = "DATE_WEEK",
81
- DATE_MONTH = "DATE_MONTH",
82
- DATE_YEAR = "DATE_YEAR",
83
- /**
84
- * <p>图片.</p>
85
- * <p>点击可以预览.</p>
86
- */
87
- IMAGE = "IMAGE",
88
- /** 文件上传按钮. */
89
- BUTTON_UPLOAD = "BUTTON_UPLOAD"
90
- }
91
- /** 表单控件所处环境. */
92
- export declare const enum KG_FORM_CONTEXT {
93
- /** 位于查询条件. */
94
- SEARCH = "SEARCH",
95
- /** 位于表单. */
96
- SUBMIT = "SUBMIT",
97
- /** 位于表格内的表单. */
98
- TABLE = "TABLE"
99
- }
100
- /**
101
- * 表格单元格的显示类型.
102
- * @see VarGridDetail.display_type_properties
103
- * @see IKgVarGridDetailDisplayTypeProperties
104
- */
105
- export declare const enum KG_TABLE_CELL_DISPLAY_TYPE {
106
- /** 布尔数据, 使用 KgYesOrNo 组件显示. */
107
- YN = "YN",
108
- /** 枚举数据, 使用 Tag 组件显示. */
109
- ENUM = "ENUM",
110
- /** 进度条, 使用 KgProgressA 组件显示. */
111
- PROGRESS = "PROGRESS",
112
- /** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
113
- FILE_SIZE = "FILE_SIZE",
114
- /** 超链接, 点击打开更新弹窗. */
115
- UPDATE_LINK = "UPDATE_LINK",
116
- /** 超链接, 点击跳转到其他路由. */
117
- ROUTE_LINK = "ROUTE_LINK",
118
- /**
119
- * <p>描述. 显示该列的值所对应的描述, 而不是直接显示该列的值.</p>
120
- * <p>
121
- * 描述的来源有 2 种, 按优先级从高到低依次为:
122
- * <ul>
123
- * <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 不为空, 则描述来源于系统描述表, 并且默认的 codeValue 就是该列的值,</li>
124
- * <li>
125
- * <p>否则, 描述来源于描述列.</p>
126
- * <p>默认情况下, 描述列的列名为原始列的列名加上 _dsc 或者 Dsc 后缀, 比如原始列的列名为 xyz, 则描述列的列名为 xyz_dsc 或者 xyzDsc, 可以通过 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 将描述列的列名配置为其他值,</p>
127
- * </li>
128
- * </ul>
129
- * </p>
130
- */
131
- DESC = "DESC",
132
- /**
133
- * <p>图片, 可以点击预览大图.</p>
134
- */
135
- IMAGE = "IMAGE"
136
- }
137
- /** 按钮类型. */
138
- export declare const enum KG_BUTTON_TYPE {
139
- /** 查询. */
140
- SEARCH = "SEARCH",
141
- /** 创建. */
142
- CREATE = "CREATE",
143
- /** 更新. */
144
- UPDATE = "UPDATE",
145
- /** 复制. */
146
- COPY = "COPY",
147
- /** 删除. */
148
- DELETE = "DELETE",
149
- /** 导入. */
150
- IMPORT = "IMPORT",
151
- /** 下载导入模板. */
152
- IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
153
- /** 导出. */
154
- EXPORT = "EXPORT",
155
- /** 其他. */
156
- OTHER = "OTHER"
157
- }
158
- /** 按钮颜色. */
159
- export declare const enum KG_BUTTON_COLOR {
160
- /** 错误. */
161
- DANGER = "DANGER",
162
- /** 警告. */
163
- WARN = "WARN"
164
- }
165
- /** 按钮显示方式. */
166
- export declare const enum KG_BUTTON_DISPLAY_TYPE {
167
- /** 按钮依次排列在一横排. */
168
- DEFAULT = "DEFAULT",
169
- /** 显示为下拉的菜单列表. */
170
- SELECT = "SELECT"
171
- }
172
- /** 表单显示方式. */
173
- export declare const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
174
- /** 弹窗. */
175
- MODAL = "MODAL",
176
- /** 抽屉. */
177
- DRAWER = "DRAWER",
178
- /** 在表格内. */
179
- TABLE = "TABLE"
180
- }
181
- /** 表单布局方式. */
182
- export declare const enum KG_VAR_SUBMIT__LAYOUT {
183
- /** 垂直. */
184
- VERTICAL = "vertical",
185
- /** 水平. */
186
- HORIZONTAL = "horizontal"
187
- }
188
- /** 变量表单输入验证: 数据类型. */
189
- export declare const enum KG_VAR_INPUT__DATA_TYPE {
190
- /** 数字(整数, 小数). */
191
- NUMBER = "NUMBER"
192
- }
193
- /** 定制级别. */
194
- export declare const enum KG_CUSTOM_LEVEL {
195
- /** 系统. */
196
- L0 = 0,
197
- /** 用户. */
198
- L10 = 10
199
- }
200
- /** 下拉列表数据中值的类型. */
201
- export declare const enum KG_POSSIBILITY_DATA_TYPE {
202
- STRING = "string",
203
- NUMBER = "number",
204
- BOOLEAN = "boolean"
205
- }
206
- /** 宽度单位. */
207
- export declare const enum KG_WIDTH_UNIT {
208
- /** 网格. */
209
- SPAN = "SPAN",
210
- /** 像素. */
211
- PX = "PX"
212
- }
213
- /** EXCEL 文件后缀. */
214
- export declare const enum KG_EXCEL_SUFFIX {
215
- XLS = "xls",
216
- XLSX = "xlsx"
217
- }
218
- /** 系统描述表中的键. */
219
- export declare const enum KG_DESCRIPTION_CODE_NAME {
220
- /** 是否. */
221
- YN = "yn",
222
- /** 表单布局方式. */
223
- VAR_SUBMIT_LAYOUT = "var_submit_layout",
224
- /** 网格布局可选的列. */
225
- VAR_SPAN = "var_span",
226
- /** 按钮显示样式. */
227
- VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type",
228
- /** 宽度单位. */
229
- VAR_WIDTH_UNIT = "var_width_unit"
230
- }
231
- /** 高级查询的操作符. */
232
- export declare enum KG_DYNAMIC_QUERY_OPERATOR {
233
- /** 等于. */
234
- EQ = "eq",
235
- /** 不等于. */
236
- NE = "ne",
237
- /** 大于. */
238
- GT = "gt",
239
- /** 小于. */
240
- LT = "lt",
241
- /** 大于等于. */
242
- GTE = "gte",
243
- /** 小于等于. */
244
- LTE = "lte",
245
- /** 以之开始. */
246
- START_WITH = "start",
247
- /** 以之结束. */
248
- END_WITH = "end",
249
- /** 包含. */
250
- CONTAIN = "contain",
251
- /** 属于. */
252
- IN = "in",
253
- /** 范围之内. */
254
- BETWEEN = "between"
255
- }
256
- /** 请求头部. */
257
- export declare enum KG_HTTP_HEADERS {
258
- /** 是否启用高级查询. */
259
- KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query",
260
- /** 拼接后的查询 SQL: WHERE + ORDER BY. */
261
- KG_QUERY_SQL = "Kg-Query-Sql",
262
- /** 拼接后的查询 SQL: WHERE. */
263
- KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
264
- /** 拼接后的查询 SQL: ORDER BY. */
265
- KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql",
266
- /**
267
- * <p>高级查询时, 每个查询字段的操作符(=,>,<...).</p>
268
- * <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
269
- */
270
- KG_QUERY_OPERATOR = "Kg-Query-Operator",
271
- /**
272
- * 仓库编号.
273
- */
274
- KG_WAREHOUSE = "Kg-Warehouse"
275
- }
276
- /** 特殊属性:请求返回的原始响应数据. */
277
- export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
278
- /** 模块菜单的临时ID:数据管理. */
279
- export declare const KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER";
280
- /** 模块菜单的临时ID:仓库管理. */
281
- export declare const KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER";
282
- /** 模块菜单的临时ID:WCS. */
283
- export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
284
- /** 模块菜单的临时ID:系统配置. */
285
- export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
286
- /** 模块菜单的临时ID:PDA. */
287
- export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";