@kengic/vue 0.23.0 → 0.23.2
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +9391 -8199
- 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/setting-outlined.7f72790b.mjs +8 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +2 -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/WhController/ListVO.d.ts +2 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/apis/WMS/models.d.ts +27 -11
- 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.Item.d.ts +15 -15
- package/dist/src/components/KgButton/KgButton.Item.data.d.ts +15 -15
- package/dist/src/components/KgButton/KgButton.d.ts +18 -12
- package/dist/src/components/KgButton/components/KgButton.Copy.d.ts +14 -14
- package/dist/src/components/KgButton/components/KgButton.Create.d.ts +14 -14
- package/dist/src/components/KgButton/components/KgButton.Delete.d.ts +15 -15
- package/dist/src/components/KgButton/components/KgButton.Export.d.ts +14 -14
- package/dist/src/components/KgButton/components/KgButton.ExportTemplate.d.ts +14 -14
- package/dist/src/components/KgButton/components/KgButton.Import.d.ts +14 -14
- package/dist/src/components/KgButton/components/KgButton.Other.d.ts +15 -15
- package/dist/src/components/KgButton/components/KgButton.Search.d.ts +15 -15
- package/dist/src/components/KgButton/components/KgButton.Update.d.ts +14 -14
- package/dist/src/components/KgButton/index.d.ts +4 -4
- package/dist/src/components/KgButton/index.hooks.d.ts +7 -5
- package/dist/src/components/KgButton/index.store.d.ts +19 -16
- package/dist/src/components/KgForm/KgForm.d.ts +3 -3
- package/dist/src/components/KgForm/index.d.ts +4 -4
- package/dist/src/components/KgForm/index.hooks.d.ts +21 -8
- package/dist/src/components/KgForm/index.store.d.ts +74 -34
- package/dist/src/components/KgForm.Item/KgForm.Item.d.ts +3 -3
- package/dist/src/components/KgForm.Item/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 -7
- 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 -5
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +7 -3
- package/dist/src/components/KgForm.Item/components/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/KgModal/KgModal.d.ts +105 -21
- package/dist/src/components/KgModal/KgModal.service.d.ts +1 -1
- package/dist/src/components/KgModal/components/KgModal.HeaderButtons.d.ts +18 -0
- package/dist/src/components/KgResizable/KgResizable.d.ts +55 -55
- package/dist/src/components/KgSearch/KgSearch.d.ts +0 -16
- package/dist/src/components/KgSearch/KgSearch.service.d.ts +20 -16
- package/dist/src/components/KgSearch/index.hooks.d.ts +30 -12
- package/dist/src/components/KgSearch/index.store.d.ts +44 -37
- package/dist/src/components/KgSubmit/index.hooks.d.ts +48 -15
- package/dist/src/components/KgSubmit/index.store.d.ts +53 -47
- package/dist/src/components/KgSubmit/index.vm.d.ts +2 -1
- package/dist/src/components/KgTable/components/setting/KgTable.Setting.service.d.ts +1 -1
- package/dist/src/components/KgTable/index.hooks.d.ts +23 -8
- package/dist/src/components/KgTable/index.store.d.ts +48 -34
- package/dist/src/components/KgTable/index.vm.d.ts +1 -1
- package/dist/src/components/KgVar/index.hooks.d.ts +15 -11
- package/dist/src/components/KgVar/index.store.d.ts +55 -60
- 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/KgVarConfig.Modal.d.ts +1 -1
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +6 -23
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButtonConfig.d.ts +0 -16
- package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.d.ts +4 -21
- 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.d.ts +1 -0
- package/dist/src/components/KgVarConfig/index.hooks.d.ts +17 -0
- package/dist/src/components/KgVarConfig/index.store.d.ts +29 -16
- package/dist/src/components/KgVarConfig/index.vm.d.ts +40 -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/consts/i18n/en.d.ts +31 -11
- package/dist/src/consts/i18n/zh_CN.d.ts +31 -11
- package/dist/src/consts/index.d.ts +0 -284
- package/dist/src/consts/index.vm.d.ts +435 -24
- package/dist/src/helpers/ant-design-vue.d.ts +1 -1
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.Button.d.ts +0 -1
- package/dist/src/pages/KgPageDda/components/KgPageDda.Create.store.d.ts +117 -192
- package/dist/src/pages/KgPageDda/{index.const.d.ts → index.vm.d.ts} +1 -0
- package/dist/src/services/http-client.d.ts +2 -2
- package/dist/src/utils/kg-var.util.d.ts +4 -3
- package/dist/src/utils/kg.util.d.ts +42 -25
- 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/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -32
- /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,7 +1,417 @@
|
|
|
1
1
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
|
2
|
+
/** 模块. */
|
|
3
|
+
export declare const enum KG_APP {
|
|
4
|
+
/** 数据管理. */
|
|
5
|
+
WMS_DATA_MANAGER = "data-manager",
|
|
6
|
+
/** 仓库管理. */
|
|
7
|
+
WMS_BUSINESS_MANAGER = "business-manager",
|
|
8
|
+
/** WCS. */
|
|
9
|
+
WCS = "wcs",
|
|
10
|
+
/** 系统管理. */
|
|
11
|
+
SYS = "sys"
|
|
12
|
+
}
|
|
13
|
+
/** 模块路径前缀. */
|
|
14
|
+
export declare const enum KG_APP_PREFIX {
|
|
15
|
+
/** 数据管理. */
|
|
16
|
+
WMS_DATA_MANAGER = "/wms/data-manager",
|
|
17
|
+
/** 仓库管理. */
|
|
18
|
+
WMS_BUSINESS_MANAGER = "/wms/business-manager",
|
|
19
|
+
/** WCS. */
|
|
20
|
+
WCS = "/wcs",
|
|
21
|
+
/** 系统管理. */
|
|
22
|
+
SYS = "/sys"
|
|
23
|
+
}
|
|
24
|
+
/** 所有模块. */
|
|
25
|
+
export declare const KG_APPS: Array<KG_APP>;
|
|
26
|
+
/** 所有模块路径前缀. */
|
|
27
|
+
export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
|
|
28
|
+
/**
|
|
29
|
+
* 表单控件类型.
|
|
30
|
+
* @see VarConfigControl.ctrl_prop
|
|
31
|
+
* @see IKgVarConfigControlProperties
|
|
32
|
+
*/
|
|
33
|
+
export declare enum KG__VAR_CONFIG_CONTROL__CONTROL_TYPE {
|
|
34
|
+
/** 单行文本. */
|
|
35
|
+
INPUT = "INPUT",
|
|
36
|
+
/** 密码. */
|
|
37
|
+
INPUT_PASSWORD = "INPUT_PASSWORD",
|
|
38
|
+
/** 数字. */
|
|
39
|
+
INPUT_NUMBER = "INPUT_NUMBER",
|
|
40
|
+
/**
|
|
41
|
+
* <p>多行文本.</p>
|
|
42
|
+
* <p>配置属性参见 {@link IKgVarConfigControlProperties.TEXT_AREA}.</p>
|
|
43
|
+
*/
|
|
44
|
+
TEXT_AREA = "TEXT_AREA",
|
|
45
|
+
/** 多选框. */
|
|
46
|
+
CHECKBOX = "CHECKBOX",
|
|
47
|
+
/**
|
|
48
|
+
* <p>多选框列表.</p>
|
|
49
|
+
* <p>配置属性参见 {@link IKgVarConfigControlProperties.CHECKBOX_GROUP}.</p>
|
|
50
|
+
*/
|
|
51
|
+
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
|
52
|
+
/**
|
|
53
|
+
* <p>单选框列表.</p>
|
|
54
|
+
* <p>配置属性参见 {@link IKgVarConfigControlProperties.RADIO_GROUP}.</p>
|
|
55
|
+
*/
|
|
56
|
+
RADIO_GROUP = "RADIO_GROUP",
|
|
57
|
+
/** 开关. */
|
|
58
|
+
SWITCH = "SWITCH",
|
|
59
|
+
/**
|
|
60
|
+
* <p>单选下拉列表.<p>
|
|
61
|
+
* <p>配置属性参见 {@link IKgVarConfigControlProperties.SELECT}.</p>
|
|
62
|
+
*/
|
|
63
|
+
SELECT = "SELECT",
|
|
64
|
+
/** 多选下拉列表. */
|
|
65
|
+
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
|
66
|
+
/** 年月日, 2020-05-01. */
|
|
67
|
+
DATE_DATE = "DATE_DATE",
|
|
68
|
+
/** 年月日的范围, [DATE_DATE, DATE_DATE] */
|
|
69
|
+
DATE_DATE_RANGE = "DATE_DATE_RANGE",
|
|
70
|
+
/** 时分秒, 11:59:59. */
|
|
71
|
+
DATE_TIME = "DATE_TIME",
|
|
72
|
+
/** 时分秒的范围, [DATE_TIME, DATE_TIME]. */
|
|
73
|
+
DATE_TIME_RANGE = "DATE_TIME_RANGE",
|
|
74
|
+
/** 年月日时分秒, 2020-05-01 11:59:59. */
|
|
75
|
+
DATE_DATETIME = "DATE_DATETIME",
|
|
76
|
+
/** 年月日时分秒的范围, [DATE_DATETIME, DATE_DATETIME] */
|
|
77
|
+
DATE_DATETIME_RANGE = "DATE_DATETIME_RANGE",
|
|
78
|
+
DATE_WEEK = "DATE_WEEK",
|
|
79
|
+
DATE_MONTH = "DATE_MONTH",
|
|
80
|
+
DATE_YEAR = "DATE_YEAR",
|
|
81
|
+
/**
|
|
82
|
+
* <p>图片.</p>
|
|
83
|
+
* <p>点击可以预览.</p>
|
|
84
|
+
*/
|
|
85
|
+
IMAGE = "IMAGE",
|
|
86
|
+
/** 文件上传按钮. */
|
|
87
|
+
BUTTON_UPLOAD = "BUTTON_UPLOAD"
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* 表单控件所处环境.
|
|
91
|
+
*/
|
|
92
|
+
export declare const enum KG_FORM_CONTEXT {
|
|
93
|
+
/**
|
|
94
|
+
* 位于查询条件.
|
|
95
|
+
*/
|
|
96
|
+
SEARCH = "SEARCH",
|
|
97
|
+
/**
|
|
98
|
+
* 位于提交表单弹窗.
|
|
99
|
+
*/
|
|
100
|
+
SUBMIT = "SUBMIT",
|
|
101
|
+
/**
|
|
102
|
+
* 位于表格内的提交表单.
|
|
103
|
+
*/
|
|
104
|
+
TABLE = "TABLE"
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* 定制级别.
|
|
108
|
+
*/
|
|
109
|
+
export declare const enum KG_CUSTOM_LEVEL {
|
|
110
|
+
/**
|
|
111
|
+
* 系统.
|
|
112
|
+
*/
|
|
113
|
+
L0 = 0,
|
|
114
|
+
/**
|
|
115
|
+
* 用户.
|
|
116
|
+
*/
|
|
117
|
+
L10 = 10
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* 接口请求方式.
|
|
121
|
+
*/
|
|
122
|
+
export declare enum KG__API_METHOD {
|
|
123
|
+
GET = "GET",
|
|
124
|
+
POST = "POST",
|
|
125
|
+
DELETE = "DELETE",
|
|
126
|
+
PUT = "PUT"
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* 表格单元格的显示类型.
|
|
130
|
+
* @see VarGridDetail.display_type_properties
|
|
131
|
+
* @see IKgVarGridDetailDisplayTypeProperties
|
|
132
|
+
*/
|
|
133
|
+
export declare const enum KG_TABLE_CELL_DISPLAY_TYPE {
|
|
134
|
+
/** 布尔数据, 使用 KgYesOrNo 组件显示. */
|
|
135
|
+
YN = "YN",
|
|
136
|
+
/**
|
|
137
|
+
* <p>描述. 显示该列的值所对应的描述, 而不是直接显示该列的值.</p>
|
|
138
|
+
* <p>
|
|
139
|
+
* 描述的来源有 2 种, 按优先级从高到低依次为:
|
|
140
|
+
* <ul>
|
|
141
|
+
* <li>如果 {@link IKgVarGridDetailDisplayTypeProperties.DESC.description.codeName} 不为空, 则描述来源于系统描述表, 并且默认的 codeValue 就是该列的值,</li>
|
|
142
|
+
* <li>
|
|
143
|
+
* <p>否则, 描述来源于描述列.</p>
|
|
144
|
+
* <p>默认情况下, 描述列的列名为原始列的列名加上 _dsc 或者 Dsc 后缀, 比如原始列的列名为 xyz, 则描述列的列名为 xyz_dsc 或者 xyzDsc, 可以通过 {@link IKgVarGridDetailDisplayTypeProperties.DESC.dscFieldName} 将描述列的列名配置为其他值,</p>
|
|
145
|
+
* </li>
|
|
146
|
+
* </ul>
|
|
147
|
+
* </p>
|
|
148
|
+
*/
|
|
149
|
+
DESC = "DESC",
|
|
150
|
+
/** @deprecated 请使用 {@link KG_TABLE_CELL_DISPLAY_TYPE.DESC}. */
|
|
151
|
+
ENUM = "ENUM",
|
|
152
|
+
/** 进度条, 使用 KgProgressA 组件显示. */
|
|
153
|
+
PROGRESS = "PROGRESS",
|
|
154
|
+
/** 文件大小, 将以字节(byte)为单位的数字格式化显示(XXX MB, XXX GB, ...). */
|
|
155
|
+
FILE_SIZE = "FILE_SIZE",
|
|
156
|
+
/** 超链接, 点击打开更新弹窗. */
|
|
157
|
+
UPDATE_LINK = "UPDATE_LINK",
|
|
158
|
+
/** 超链接, 点击跳转到其他页面. */
|
|
159
|
+
ROUTE_LINK = "ROUTE_LINK",
|
|
160
|
+
/**
|
|
161
|
+
* <p>图片, 可以点击预览大图.</p>
|
|
162
|
+
*/
|
|
163
|
+
IMAGE = "IMAGE"
|
|
164
|
+
}
|
|
165
|
+
/** 按钮类型. */
|
|
166
|
+
export declare const enum KG_BUTTON_TYPE {
|
|
167
|
+
/** 查询. */
|
|
168
|
+
SEARCH = "SEARCH",
|
|
169
|
+
/** 创建. */
|
|
170
|
+
CREATE = "CREATE",
|
|
171
|
+
/** 更新. */
|
|
172
|
+
UPDATE = "UPDATE",
|
|
173
|
+
/** 复制. */
|
|
174
|
+
COPY = "COPY",
|
|
175
|
+
/** 删除. */
|
|
176
|
+
DELETE = "DELETE",
|
|
177
|
+
/** 导入. */
|
|
178
|
+
IMPORT = "IMPORT",
|
|
179
|
+
/** 下载导入模板. */
|
|
180
|
+
IMPORT_TEMPLATE = "IMPORT_TEMPLATE",
|
|
181
|
+
/** 导出. */
|
|
182
|
+
EXPORT = "EXPORT",
|
|
183
|
+
/** 其他. */
|
|
184
|
+
OTHER = "OTHER"
|
|
185
|
+
}
|
|
186
|
+
/**
|
|
187
|
+
* 按钮颜色.
|
|
188
|
+
*/
|
|
189
|
+
export declare const enum KG__VAR_BUTTON__COLOR {
|
|
190
|
+
/**
|
|
191
|
+
* 蓝色.
|
|
192
|
+
*/
|
|
193
|
+
BLUE = "BLUE",
|
|
194
|
+
/**
|
|
195
|
+
* 红色.
|
|
196
|
+
*/
|
|
197
|
+
RED = "RED",
|
|
198
|
+
/**
|
|
199
|
+
* 黄色.
|
|
200
|
+
*/
|
|
201
|
+
YELLOW = "YELLOW"
|
|
202
|
+
}
|
|
203
|
+
/** 按钮显示方式. */
|
|
204
|
+
export declare const enum KG__VAR_BUTTON_CONFIG__DISPLAY_TYPE {
|
|
205
|
+
/**
|
|
206
|
+
* 按钮依次排列在一横排.
|
|
207
|
+
*/
|
|
208
|
+
DEFAULT = "DEFAULT",
|
|
209
|
+
/**
|
|
210
|
+
* 显示为下拉的菜单列表.
|
|
211
|
+
*/
|
|
212
|
+
SELECT = "SELECT"
|
|
213
|
+
}
|
|
214
|
+
/** 表单显示方式. */
|
|
215
|
+
export declare const enum KG__VAR_SUBMIT_CONFIG__DISPLAY_TYPE {
|
|
216
|
+
/** 弹窗. */
|
|
217
|
+
MODAL = "MODAL",
|
|
218
|
+
/** 抽屉. */
|
|
219
|
+
DRAWER = "DRAWER",
|
|
220
|
+
/** 在表格内. */
|
|
221
|
+
TABLE = "TABLE"
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* 表单布局方式.
|
|
225
|
+
*/
|
|
226
|
+
export declare enum KG__VAR_SUBMIT_CONFIG__LAYOUT {
|
|
227
|
+
/**
|
|
228
|
+
* 垂直.
|
|
229
|
+
*/
|
|
230
|
+
VERTICAL = "vertical",
|
|
231
|
+
/**
|
|
232
|
+
* 水平.
|
|
233
|
+
*/
|
|
234
|
+
HORIZONTAL = "horizontal"
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* 变量配置:表单输入验证:数据类型.
|
|
238
|
+
*/
|
|
239
|
+
export declare const enum KG__VAR_CONFIG_INPUT__DATA_TYPE {
|
|
240
|
+
/**
|
|
241
|
+
* 任意字符.
|
|
242
|
+
*/
|
|
243
|
+
ANY = "ANY",
|
|
244
|
+
/**
|
|
245
|
+
* 整数.
|
|
246
|
+
*/
|
|
247
|
+
INTEGER = "INTEGER",
|
|
248
|
+
/**
|
|
249
|
+
* 小数.
|
|
250
|
+
*/
|
|
251
|
+
FLOAT = "FLOAT",
|
|
252
|
+
/**
|
|
253
|
+
* 英文字母.
|
|
254
|
+
*/
|
|
255
|
+
LETTER = "LETTER",
|
|
256
|
+
/**
|
|
257
|
+
* 大写英文字母.
|
|
258
|
+
*/
|
|
259
|
+
UPPER_CASE_LETTER = "UPPER_CASE_LETTER",
|
|
260
|
+
/**
|
|
261
|
+
* 小写英文字母.
|
|
262
|
+
*/
|
|
263
|
+
LOWER_CASE_LETTER = "LOWER_CASE_LETTER",
|
|
264
|
+
/**
|
|
265
|
+
* JSON.
|
|
266
|
+
*/
|
|
267
|
+
JSON = "JSON"
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* 变量配置:表单输入验证:验证方式.
|
|
271
|
+
*/
|
|
272
|
+
export declare const enum KG__VAR_CONFIG_INPUT__VALIDATION_TYPE {
|
|
273
|
+
/**
|
|
274
|
+
* 配置.
|
|
275
|
+
*/
|
|
276
|
+
OPTIONS = "OPTIONS",
|
|
277
|
+
/**
|
|
278
|
+
* 正则.
|
|
279
|
+
*/
|
|
280
|
+
REGULAR_EXPRESSION = "REGULAR_EXPRESSION"
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* 变量配置:提示文本:位置.
|
|
284
|
+
*/
|
|
285
|
+
export declare enum KG__VAR_CONFIG_TIP__PLACEMENT {
|
|
286
|
+
/**
|
|
287
|
+
* 在标签的右边, 显示为一个小图标, 鼠标划过时显示弹框.
|
|
288
|
+
*/
|
|
289
|
+
RIGHT = "RIGHT",
|
|
290
|
+
/**
|
|
291
|
+
* 在标签的下面.
|
|
292
|
+
*/
|
|
293
|
+
BOTTOM = "BOTTOM"
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* 变量配置:下拉列表:数据源的类型.
|
|
297
|
+
*/
|
|
298
|
+
export declare enum KG__VAR_CONFIG_POSSIBILITY__DATA_SOURCE_TYPE {
|
|
299
|
+
API = "API",
|
|
300
|
+
SQL = "SQL"
|
|
301
|
+
}
|
|
302
|
+
/**
|
|
303
|
+
* 变量配置:下拉列表:值的类型.
|
|
304
|
+
*/
|
|
305
|
+
export declare enum KG__VAR_CONFIG_POSSIBILITY__VALUE_DATA_TYPE {
|
|
306
|
+
/**
|
|
307
|
+
* 默认类型.
|
|
308
|
+
*/
|
|
309
|
+
DEFAULT = "DEFAULT",
|
|
310
|
+
/**
|
|
311
|
+
* 字符串.
|
|
312
|
+
*/
|
|
313
|
+
STRING = "STRING",
|
|
314
|
+
/**
|
|
315
|
+
* 数字.
|
|
316
|
+
*/
|
|
317
|
+
NUMBER = "NUMBER",
|
|
318
|
+
/**
|
|
319
|
+
* 布尔.
|
|
320
|
+
*/
|
|
321
|
+
BOOLEAN = "BOOLEAN"
|
|
322
|
+
}
|
|
323
|
+
/** 宽度单位. */
|
|
324
|
+
export declare const enum KG__VAR_SUBMIT_CONFIG_LABEL_COLUMN_UNIT {
|
|
325
|
+
/** 网格. */
|
|
326
|
+
SPAN = "SPAN",
|
|
327
|
+
/** 像素. */
|
|
328
|
+
PX = "PX"
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* 导出 EXCEL 文件的后缀.
|
|
332
|
+
*/
|
|
333
|
+
export declare const enum KG__VAR_BUTTON__EXPORT_EXCEL_SUFFIX {
|
|
334
|
+
XLS = "xls",
|
|
335
|
+
XLSX = "xlsx"
|
|
336
|
+
}
|
|
337
|
+
/** 系统描述表中的键. */
|
|
338
|
+
export declare const enum KG_DESCRIPTION_CODE_NAME {
|
|
339
|
+
/** 是否. */
|
|
340
|
+
YN = "yn",
|
|
341
|
+
/** 表单布局方式. */
|
|
342
|
+
VAR_SUBMIT_LAYOUT = "var_submit_layout",
|
|
343
|
+
/** 网格布局可选的列. */
|
|
344
|
+
VAR_SPAN = "var_span",
|
|
345
|
+
/** 按钮显示样式. */
|
|
346
|
+
VAR_BUTTON_DISPLAY_TYPE = "var_button_display_type",
|
|
347
|
+
/** 宽度单位. */
|
|
348
|
+
VAR_WIDTH_UNIT = "var_width_unit"
|
|
349
|
+
}
|
|
350
|
+
/** 高级查询的操作符. */
|
|
351
|
+
export declare enum KG_DYNAMIC_QUERY_OPERATOR {
|
|
352
|
+
/** 等于. */
|
|
353
|
+
EQ = "EQ",
|
|
354
|
+
/** 不等于. */
|
|
355
|
+
NE = "NE",
|
|
356
|
+
/** 大于. */
|
|
357
|
+
GT = "GT",
|
|
358
|
+
/** 小于. */
|
|
359
|
+
LT = "LT",
|
|
360
|
+
/** 大于等于. */
|
|
361
|
+
GTE = "GTE",
|
|
362
|
+
/** 小于等于. */
|
|
363
|
+
LTE = "LTE",
|
|
364
|
+
/** 以之开始. */
|
|
365
|
+
START_WITH = "START",
|
|
366
|
+
/** 以之结束. */
|
|
367
|
+
END_WITH = "END",
|
|
368
|
+
/** 包含. */
|
|
369
|
+
CONTAIN = "CONTAIN",
|
|
370
|
+
/** 属于. */
|
|
371
|
+
IN = "IN",
|
|
372
|
+
/** 范围之内. */
|
|
373
|
+
BETWEEN = "BETWEEN"
|
|
374
|
+
}
|
|
375
|
+
/** 请求头部. */
|
|
376
|
+
export declare enum KG_HTTP_HEADERS {
|
|
377
|
+
/** 界面标识. */
|
|
378
|
+
KG_FORM_ID = "Kg-Form-Id",
|
|
379
|
+
KG_BUTTON_VAR_NAME = "Kg-Button-Var-Name",
|
|
380
|
+
/** 是否启用高级查询. */
|
|
381
|
+
KG_IS_DYNAMIC_QUERY = "Kg-Is-Dynamic-Query",
|
|
382
|
+
/** 查询语句中的 WHERE 片段. */
|
|
383
|
+
KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
|
|
384
|
+
/** 查询语句中的 ORDER BY 片段. */
|
|
385
|
+
KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql",
|
|
386
|
+
/** 查询语句中的 OFFSET 片段. */
|
|
387
|
+
KG_QUERY_OFFSET_SQL = "Kg-Query-Offset-Sql",
|
|
388
|
+
/** 查询语句中的 WHERE + ORDER BY + OFFSET 片段. */
|
|
389
|
+
KG_QUERY_SQL = "Kg-Query-Sql",
|
|
390
|
+
/**
|
|
391
|
+
* <p>高级查询时, 每个查询字段的操作符(=,>,<...).</p>
|
|
392
|
+
* <p>是一个 JSON 字符串, 由后端进行解析. 其中的 key 表示查询字段的名称, 其中的 value 表示查询字段的操作符.</p>
|
|
393
|
+
*/
|
|
394
|
+
KG_QUERY_OPERATOR = "Kg-Query-Operator",
|
|
395
|
+
/**
|
|
396
|
+
* 仓库编号.
|
|
397
|
+
*/
|
|
398
|
+
KG_WAREHOUSE = "Kg-Warehouse"
|
|
399
|
+
}
|
|
400
|
+
/** 特殊属性:请求返回的原始响应数据. */
|
|
401
|
+
export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
|
|
402
|
+
/** 模块菜单的临时ID:数据管理. */
|
|
403
|
+
export declare const KG_TMP_MENU_ID__DATA_MANAGER = "KG_TMP_MENU_ID__DATA_MANAGER";
|
|
404
|
+
/** 模块菜单的临时ID:仓库管理. */
|
|
405
|
+
export declare const KG_TMP_MENU_ID__BUSINESS_MANAGER = "KG_TMP_MENU_ID__BUSINESS_MANAGER";
|
|
406
|
+
/** 模块菜单的临时ID:WCS. */
|
|
407
|
+
export declare const KG_TMP_MENU_ID__WCS = "KG_TMP_MENU_ID__WCS";
|
|
408
|
+
/** 模块菜单的临时ID:系统配置. */
|
|
409
|
+
export declare const KG_TMP_MENU_ID__SYS = "KG_TMP_MENU_ID__SYS";
|
|
410
|
+
/** 模块菜单的临时ID:PDA. */
|
|
411
|
+
export declare const KG_TMP_MENU_ID__PDA = "KG_TMP_MENU_ID__PDA";
|
|
2
412
|
/** 移除事件监听函数. */
|
|
3
413
|
export declare type IRemoveEventListenerHandler = () => void;
|
|
4
|
-
export declare type
|
|
414
|
+
export declare type IKgEventListener = {
|
|
5
415
|
/** 是否只会触发一次. */
|
|
6
416
|
once?: boolean;
|
|
7
417
|
/** 是否已经触发过一次了. */
|
|
@@ -47,6 +457,15 @@ export interface IKgVarSubmitConfigProperties {
|
|
|
47
457
|
* @see KG_FORM_ITEM_TYPE
|
|
48
458
|
*/
|
|
49
459
|
export interface IKgVarConfigControlProperties {
|
|
460
|
+
CHECKBOX_GROUP: {
|
|
461
|
+
/**
|
|
462
|
+
* 数据项的宽度.
|
|
463
|
+
* @default 24
|
|
464
|
+
*/
|
|
465
|
+
span?: number;
|
|
466
|
+
/** 要排除哪些值. */
|
|
467
|
+
excludeValues?: Array<any>;
|
|
468
|
+
};
|
|
50
469
|
DATE_RANGE: {
|
|
51
470
|
/**
|
|
52
471
|
* <p>是否允许为空.</p>
|
|
@@ -56,21 +475,19 @@ export interface IKgVarConfigControlProperties {
|
|
|
56
475
|
*/
|
|
57
476
|
allowEmpty?: [boolean, boolean];
|
|
58
477
|
};
|
|
59
|
-
|
|
478
|
+
IMAGE: {
|
|
60
479
|
/**
|
|
61
|
-
*
|
|
62
|
-
*
|
|
480
|
+
* 宽度.
|
|
481
|
+
*
|
|
482
|
+
* @default 100
|
|
63
483
|
*/
|
|
64
|
-
|
|
65
|
-
};
|
|
66
|
-
CHECKBOX_GROUP: {
|
|
484
|
+
width?: number;
|
|
67
485
|
/**
|
|
68
|
-
*
|
|
69
|
-
*
|
|
486
|
+
* 宽度.
|
|
487
|
+
*
|
|
488
|
+
* @default 100
|
|
70
489
|
*/
|
|
71
|
-
|
|
72
|
-
/** 要排除哪些值. */
|
|
73
|
-
excludeValues?: Array<any>;
|
|
490
|
+
height?: number;
|
|
74
491
|
};
|
|
75
492
|
RADIO_GROUP: {
|
|
76
493
|
/**
|
|
@@ -81,24 +498,18 @@ export interface IKgVarConfigControlProperties {
|
|
|
81
498
|
};
|
|
82
499
|
SELECT: {
|
|
83
500
|
/**
|
|
84
|
-
*
|
|
501
|
+
* <p>是否允许清空.</p>
|
|
502
|
+
*
|
|
85
503
|
* @default true
|
|
86
504
|
*/
|
|
87
505
|
allowClear?: boolean;
|
|
88
506
|
};
|
|
89
|
-
|
|
90
|
-
/**
|
|
91
|
-
* 宽度.
|
|
92
|
-
*
|
|
93
|
-
* @default 100
|
|
94
|
-
*/
|
|
95
|
-
width?: number;
|
|
507
|
+
TEXT_AREA: {
|
|
96
508
|
/**
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @default 100
|
|
509
|
+
* 文本框的高度.
|
|
510
|
+
* @default 5
|
|
100
511
|
*/
|
|
101
|
-
|
|
512
|
+
rows?: number;
|
|
102
513
|
};
|
|
103
514
|
}
|
|
104
515
|
/**
|
|
@@ -6,7 +6,7 @@ import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
|
|
6
6
|
import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
|
|
7
7
|
import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
|
8
8
|
export declare const formProps: () => {
|
|
9
|
-
layout: PropType<"
|
|
9
|
+
layout: PropType<"inline" | "horizontal" | "vertical">;
|
|
10
10
|
labelCol: {
|
|
11
11
|
type: PropType<Partial<ExtractPropTypes<{
|
|
12
12
|
span: (NumberConstructor | StringConstructor)[];
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { ExtractPropTypes } from 'vue';
|
|
2
2
|
export declare const getProps: () => any;
|
|
3
3
|
export declare type IKgPageDdaCreateButtonProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
|
4
|
-
export declare const FORM_ID = "KgPageDda.Create.Button";
|
|
5
4
|
declare const _default: import("vue").DefineComponent<any, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<any>, {} | {
|
|
6
5
|
[x: string]: any;
|
|
7
6
|
}>;
|