@kengic/vue 0.22.1-beta.0 → 0.23.1
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +62 -22
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +7709 -6673
- package/dist/project/build/script/buildConf.ts +1 -2
- package/dist/project/build/script/postBuild.ts +1 -1
- package/dist/project/src/api/sys/model/userModel.ts +1 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/ListByCodeNamesAndCodeValues.d.ts +16 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/index.d.ts +0 -7
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/ExecuteQuery.d.ts +18 -0
- package/dist/src/apis/WMS/Controllers/VarConfigPossibilityController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/apis/WMS/models.d.ts +28 -4
- package/dist/src/components/KgAppSelect/index.hooks.d.ts +3 -3
- package/dist/src/components/KgAppSelect/index.store.d.ts +30 -29
- package/dist/src/components/KgButton/KgButton.d.ts +18 -12
- package/dist/src/components/KgButton/index.d.ts +4 -4
- package/dist/src/components/KgButton/index.hooks.d.ts +68 -67
- package/dist/src/components/KgButton/index.store.d.ts +57 -193
- package/dist/src/components/KgForm/index.hooks.d.ts +37 -30
- package/dist/src/components/KgForm/index.store.d.ts +88 -41
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
- package/dist/src/components/KgForm.Item/{KgForm.Item.hooks.d.ts → KgForm.Item.service.d.ts} +3 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +8 -7
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +3 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -7
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -5
- package/dist/src/components/KgForm.Item/components/{KgForm.Item.Select.hooks.d.ts → KgForm.Item.Select.service.d.ts} +16 -13
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +6 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +6 -5
- package/dist/src/components/KgForm.Item/index.d.ts +1 -1
- package/dist/src/components/KgForm.Item/index.vm.d.ts +9 -7
- package/dist/src/components/KgResizable/KgResizable.d.ts +52 -52
- package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
- package/dist/src/components/KgSearch/KgSearch.service.d.ts +32 -0
- package/dist/src/components/KgSearch/index.hooks.d.ts +57 -138
- package/dist/src/components/KgSearch/index.store.d.ts +84 -193
- package/dist/src/components/KgSubmit/index.hooks.d.ts +112 -278
- package/dist/src/components/KgSubmit/index.store.d.ts +71 -257
- package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
- package/dist/src/components/KgTable/{KgTable.hooks.d.ts → KgTable.service.d.ts} +8 -16
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.d.ts +0 -1
- package/dist/src/components/KgTable/components/setting/{KgTable.Setting.hooks.d.ts → KgTable.Setting.service.d.ts} +1 -1
- package/dist/src/components/KgTable/components/setting/config/KgTable.Setting.ConfigModal.d.ts +0 -2
- package/dist/src/components/KgTable/index.hooks.d.ts +79 -427
- package/dist/src/components/KgTable/index.store.d.ts +127 -647
- package/dist/src/components/KgTable/index.vm.d.ts +1 -1
- package/dist/src/components/KgVar/index.hooks.d.ts +103 -3468
- package/dist/src/components/KgVar/index.store.d.ts +136 -3229
- package/dist/src/components/KgVar/index.store.service.d.ts +2 -1
- package/dist/src/components/KgVar/index.vm.d.ts +7 -7
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigInput.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigLookup.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigPossibility.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarConfigTip.d.ts +2 -0
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariable.d.ts +2 -0
- package/dist/src/components/KgVarConfig/index.store.d.ts +23 -16
- package/dist/src/components/KgVarConfig/index.vm.d.ts +32 -0
- package/dist/src/components/KgWarehouse/index.hooks.d.ts +10 -6
- package/dist/src/components/KgWarehouse/index.store.d.ts +15 -14
- package/dist/src/components/util.d.ts +7 -7
- package/dist/src/config/index.hooks.d.ts +31 -38
- package/dist/src/config/index.store.d.ts +74 -52
- package/dist/src/consts/i18n/en.d.ts +10 -6
- package/dist/src/consts/i18n/zh_CN.d.ts +10 -6
- package/dist/src/consts/index.d.ts +0 -277
- package/dist/src/consts/index.vm.d.ts +503 -75
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +7 -1
- package/dist/src/utils/kg-var.util.d.ts +4 -3
- package/dist/src/utils/kg.util.d.ts +13 -16
- package/package.json +2 -2
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Delete.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/DeleteBatch.d.ts +0 -18
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/Edit.d.ts +0 -16
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ExportXls.d.ts +0 -30
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/ImportExcel.d.ts +0 -15
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/List.d.ts +0 -37
- package/dist/src/apis/WMS/Controllers/VarConfigDescriptionController/QueryById.d.ts +0 -19
- package/dist/src/components/KgSearch/KgSearch.hooks.d.ts +0 -28
- package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
- /package/dist/src/components/KgModal/{KgModal.hooks.d.ts → KgModal.service.d.ts} +0 -0
- /package/dist/src/components/KgSubmit/{KgSubmit.hooks.d.ts → KgSubmit.service.d.ts} +0 -0
- /package/dist/src/components/KgTable/components/setting/config/{KgTable.Setting.ConfigModal.VarGridMaster.hooks.d.ts → KgTable.Setting.ConfigModal.VarGridMaster.service.d.ts} +0 -0
- /package/dist/src/components/KgVarConfig/components/var/{KgVarConfig.Modal.Var.Vars.d.ts → KgVarConfig.Modal.Var.VarConfigControl.d.ts} +0 -0
@@ -1,280 +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 IKgVariableConfigProps
|
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 IKgVariableConfigProps.TEXT_AREA}.</p>
|
45
|
-
*/
|
46
|
-
TEXT_AREA = "TEXT_AREA",
|
47
|
-
/** 多选框. */
|
48
|
-
CHECKBOX = "CHECKBOX",
|
49
|
-
/**
|
50
|
-
* <p>多选框列表.</p>
|
51
|
-
* <p>配置属性参见 {@link IKgVariableConfigProps.CHECKBOX_GROUP}.</p>
|
52
|
-
*/
|
53
|
-
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
54
|
-
/**
|
55
|
-
* <p>单选框列表.</p>
|
56
|
-
* <p>配置属性参见 {@link IKgVariableConfigProps.RADIO_GROUP}.</p>
|
57
|
-
*/
|
58
|
-
RADIO_GROUP = "RADIO_GROUP",
|
59
|
-
/** 开关. */
|
60
|
-
SWITCH = "SWITCH",
|
61
|
-
/**
|
62
|
-
* <p>下拉列表单选.<p>
|
63
|
-
* <p>配置属性参见 {@link IKgVariableConfigProps.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 IKgGridDetailDisplayTypeProps
|
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>假如原字段为 'status', 则实际上会显示描述字段 'status_dsc(或者 statusDsc)' 的值,</p>
|
121
|
-
* <p>默认, 描述字段是原字段加上 '_dsc(或者 Dsc)' 后缀, 比如原字段为 'status', 则描述字段为 'status_dsc(或者 statusDsc)',</p>
|
122
|
-
* <p>可以通过 {@link IKgGridDetailDisplayTypeProps.DESC.dscFieldName} 设置自定义的描述字段名,</p>
|
123
|
-
*/
|
124
|
-
DESC = "DESC",
|
125
|
-
/**
|
126
|
-
* <p>显示为图片, 点击可以预览.</p>
|
127
|
-
*/
|
128
|
-
IMAGE = "IMAGE"
|
129
|
-
}
|
130
|
-
/** 按钮类型. */
|
131
|
-
export declare const enum KG_BUTTON_TYPE {
|
132
|
-
/** 查询. */
|
133
|
-
SEARCH = "SEARCH",
|
134
|
-
/** 创建. */
|
135
|
-
CREATE = "CREATE",
|
136
|
-
/** 更新. */
|
137
|
-
UPDATE = "UPDATE",
|
138
|
-
/** 复制. */
|
139
|
-
COPY = "COPY",
|
140
|
-
/** 删除. */
|
141
|
-
DELETE = "DELETE",
|
142
|
-
/** 导入. */
|
143
|
-
IMPORT = "IMPORT",
|
144
|
-
/** 下载导入模板. */
|
145
|
-
IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
|
146
|
-
/** 导出. */
|
147
|
-
EXPORT = "EXPORT",
|
148
|
-
/** 其他. */
|
149
|
-
OTHER = "OTHER"
|
150
|
-
}
|
151
|
-
/** 按钮颜色. */
|
152
|
-
export declare const enum KG_BUTTON_COLOR {
|
153
|
-
/** 错误. */
|
154
|
-
DANGER = "DANGER",
|
155
|
-
/** 警告. */
|
156
|
-
WARN = "WARN"
|
157
|
-
}
|
158
|
-
/** 按钮显示方式. */
|
159
|
-
export declare const enum KG_BUTTON_DISPLAY_TYPE {
|
160
|
-
/** 按钮依次排列在一横排. */
|
161
|
-
DEFAULT = "DEFAULT",
|
162
|
-
/** 显示为下拉的菜单列表. */
|
163
|
-
SELECT = "SELECT"
|
164
|
-
}
|
165
|
-
/** 表单显示方式. */
|
166
|
-
export declare const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
|
167
|
-
/** 弹窗. */
|
168
|
-
MODAL = "MODAL",
|
169
|
-
/** 抽屉. */
|
170
|
-
DRAWER = "DRAWER",
|
171
|
-
/** 在表格内. */
|
172
|
-
TABLE = "TABLE"
|
173
|
-
}
|
174
|
-
/** 表单布局方式. */
|
175
|
-
export declare const enum KG_VAR_SUBMIT__LAYOUT {
|
176
|
-
/** 垂直. */
|
177
|
-
VERTICAL = "vertical",
|
178
|
-
/** 水平. */
|
179
|
-
HORIZONTAL = "horizontal"
|
180
|
-
}
|
181
|
-
/** 变量表单输入验证: 数据类型. */
|
182
|
-
export declare const enum KG_VAR_INPUT__DATA_TYPE {
|
183
|
-
/** 数字(整数, 小数). */
|
184
|
-
NUMBER = "NUMBER"
|
185
|
-
}
|
186
|
-
/** 定制级别. */
|
187
|
-
export declare const enum KG_CUSTOM_LEVEL {
|
188
|
-
/** 系统. */
|
189
|
-
L0 = 0,
|
190
|
-
/** 用户. */
|
191
|
-
L10 = 10
|
192
|
-
}
|
193
|
-
/** 下拉列表数据中值的类型. */
|
194
|
-
export declare const enum KG_POSSIBILITY_DATA_TYPE {
|
195
|
-
STRING = "string",
|
196
|
-
NUMBER = "number",
|
197
|
-
BOOLEAN = "boolean"
|
198
|
-
}
|
199
|
-
/** 宽度单位. */
|
200
|
-
export declare const enum KG_WIDTH_UNIT {
|
201
|
-
/** 网格. */
|
202
|
-
SPAN = "SPAN",
|
203
|
-
/** 像素. */
|
204
|
-
PX = "PX"
|
205
|
-
}
|
206
|
-
/** EXCEL 文件后缀. */
|
207
|
-
export declare const enum KG_EXCEL_SUFFIX {
|
208
|
-
XLS = "xls",
|
209
|
-
XLSX = "xlsx"
|
210
|
-
}
|
211
|
-
/** 系统描述表中的键. */
|
212
|
-
export declare const enum KG_DESCRIPTION_CODE_NAME {
|
213
|
-
/** 是否. */
|
214
|
-
YN = "yn",
|
215
|
-
/** 表单布局方式. */
|
216
|
-
VAR_SUBMIT_LAYOUT = "var_submit_layout",
|
217
|
-
/** 网格布局可选的列. */
|
218
|
-
VAR_SPAN = "var_span",
|
219
|
-
/** 按钮显示样式. */
|
220
|
-
VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type",
|
221
|
-
/** 宽度单位. */
|
222
|
-
VAR_WIDTH_UNIT = "var_width_unit"
|
223
|
-
}
|
224
|
-
/** 高级查询的操作符. */
|
225
|
-
export declare enum KG_DYNAMIC_QUERY_OPERATOR {
|
226
|
-
/** 等于. */
|
227
|
-
EQ = "eq",
|
228
|
-
/** 不等于. */
|
229
|
-
NE = "ne",
|
230
|
-
/** 大于. */
|
231
|
-
GT = "gt",
|
232
|
-
/** 小于. */
|
233
|
-
LT = "lt",
|
234
|
-
/** 大于等于. */
|
235
|
-
GTE = "gte",
|
236
|
-
/** 小于等于. */
|
237
|
-
LTE = "lte",
|
238
|
-
/** 以之开始. */
|
239
|
-
START_WITH = "start",
|
240
|
-
/** 以之结束. */
|
241
|
-
END_WITH = "end",
|
242
|
-
/** 包含. */
|
243
|
-
CONTAIN = "contain",
|
244
|
-
/** 属于. */
|
245
|
-
IN = "in",
|
246
|
-
/** 范围之内. */
|
247
|
-
BETWEEN = "between"
|
248
|
-
}
|
249
|
-
/** 请求头部. */
|
250
|
-
export declare enum KG_HTTP_HEADERS {
|
251
|
-
/** 是否启用高级查询. */
|
252
|
-
KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query",
|
253
|
-
/** 拼接后的查询 SQL: WHERE + ORDER BY. */
|
254
|
-
KG_QUERY_SQL = "Kg-Query-Sql",
|
255
|
-
/** 拼接后的查询 SQL: WHERE. */
|
256
|
-
KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
|
257
|
-
/** 拼接后的查询 SQL: ORDER BY. */
|
258
|
-
KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql",
|
259
|
-
/**
|
260
|
-
* <p>高级查询时, 每个查询字段的操作符(=,>,<...).</p>
|
261
|
-
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
|
262
|
-
*/
|
263
|
-
KG_QUERY_OPERATOR = "Kg-Query-Operator",
|
264
|
-
/**
|
265
|
-
* 仓库编号.
|
266
|
-
*/
|
267
|
-
KG_WAREHOUSE = "Kg-Warehouse"
|
268
|
-
}
|
269
|
-
/** 特殊属性:请求返回的原始响应数据. */
|
270
|
-
export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
|
271
|
-
/** 模块菜单的临时ID:数据管理. */
|
272
|
-
export declare const KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER";
|
273
|
-
/** 模块菜单的临时ID:仓库管理. */
|
274
|
-
export declare const KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER";
|
275
|
-
/** 模块菜单的临时ID:WCS. */
|
276
|
-
export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
|
277
|
-
/** 模块菜单的临时ID:系统配置. */
|
278
|
-
export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
|
279
|
-
/** 模块菜单的临时ID:PDA. */
|
280
|
-
export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
|