@kengic/vue 0.13.1 → 0.13.3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +1033 -1008
- package/dist/src/apis/WMS/Controllers/WhController/ListVO.d.ts +4 -2
- package/dist/src/apis/WMS/models.d.ts +4 -2
- package/dist/src/consts/i18n/en.d.ts +3 -0
- package/dist/src/consts/i18n/zh_CN.d.ts +3 -0
- package/dist/src/consts/index.d.ts +10 -4
- package/dist/src/utils/kg.util.d.ts +6 -2
- package/package.json +2 -2
@@ -2,12 +2,14 @@ import { IRequestConfig, IRequestOptions } from '../../../../services';
|
|
2
2
|
import * as DEF from '../../../def';
|
3
3
|
/** 请求参数. */
|
4
4
|
export declare class ListVOQuery {
|
5
|
-
/**
|
5
|
+
/** 是否可用 */
|
6
6
|
activeFlg?: number | null;
|
7
7
|
/** 地址编号 */
|
8
8
|
adrId?: string | null;
|
9
|
-
/**
|
9
|
+
/** 地址名 */
|
10
10
|
adrnam?: string | null;
|
11
|
+
/** 公司代码 */
|
12
|
+
comCod?: string | null;
|
11
13
|
/** 默认仓库 */
|
12
14
|
defWhFlg?: number | null;
|
13
15
|
/** 主键. */
|
@@ -669,12 +669,14 @@ export declare class VarVariableInput {
|
|
669
669
|
}
|
670
670
|
/** 仓库(Warehouse). */
|
671
671
|
export declare class WhDTO {
|
672
|
-
/**
|
672
|
+
/** 是否可用 */
|
673
673
|
activeFlg?: number | null;
|
674
674
|
/** 地址编号 */
|
675
675
|
adrId?: string | null;
|
676
|
-
/**
|
676
|
+
/** 地址名 */
|
677
677
|
adrnam?: string | null;
|
678
|
+
/** 公司代码 */
|
679
|
+
comCod?: string | null;
|
678
680
|
/** 默认仓库 */
|
679
681
|
defWhFlg?: number | null;
|
680
682
|
/** 主键. */
|
@@ -52,7 +52,10 @@ declare const _default: {
|
|
52
52
|
canNotUpdateSystemVarGridMaster: string;
|
53
53
|
column: string;
|
54
54
|
config: string;
|
55
|
+
'dynamic-query-is-off-in-server': string;
|
55
56
|
emptyText: string;
|
57
|
+
'request-fail-error': string;
|
58
|
+
'request-fail-no-data': string;
|
56
59
|
rowHeight: string;
|
57
60
|
rowHeightH: string;
|
58
61
|
rowHeightL: string;
|
@@ -52,7 +52,10 @@ declare const _default: {
|
|
52
52
|
canNotUpdateSystemVarGridMaster: string;
|
53
53
|
column: string;
|
54
54
|
config: string;
|
55
|
+
'dynamic-query-is-off-in-server': string;
|
55
56
|
emptyText: string;
|
57
|
+
'request-fail-error': string;
|
58
|
+
'request-fail-no-data': string;
|
56
59
|
rowHeight: string;
|
57
60
|
rowHeightH: string;
|
58
61
|
rowHeightL: string;
|
@@ -222,7 +222,13 @@ export declare enum KG_DYNAMIC_QUERY_OPERATOR {
|
|
222
222
|
/** 请求头部. */
|
223
223
|
export declare enum KG_HTTP_HEADERS {
|
224
224
|
/** 是否启用高级查询. */
|
225
|
-
|
226
|
-
/**
|
227
|
-
|
228
|
-
|
225
|
+
KG_DYNAMIC_QUERY = "Kg-Dynamic-Query",
|
226
|
+
/** 拼接后的查询 SQL: WHERE + ORDER BY. */
|
227
|
+
KG_QUERY_SQL = "Kg-Query-Sql",
|
228
|
+
/** 拼接后的查询 SQL: WHERE. */
|
229
|
+
KG_QUERY_WHERE_SQL = "Kg-Query-Where-Sql",
|
230
|
+
/** 拼接后的查询 SQL: ORDER BY. */
|
231
|
+
KG_QUERY_ORDER_BY_SQL = "Kg-Query-Order-By-Sql"
|
232
|
+
}
|
233
|
+
/** 特殊属性:请求返回的原始响应数据 */
|
234
|
+
export declare const __KG__RESPONSE__ = "__KG__RESPONSE__";
|
@@ -38,7 +38,7 @@ export declare class KgUtil {
|
|
38
38
|
*/
|
39
39
|
static parseParams(params?: Record<string, any> | null, formID?: string | null, $dayjs?: typeof dayjs): any;
|
40
40
|
/**
|
41
|
-
* <p
|
41
|
+
* <p>处理查询参数, 最终拼接为一个 SQL 格式如下: `WHERE ... ORDER BY ...`.</p>
|
42
42
|
* <ol>
|
43
43
|
* <li>填充通用参数的值:
|
44
44
|
* <ul>
|
@@ -51,7 +51,11 @@ export declare class KgUtil {
|
|
51
51
|
* @param $dayjs dayjs.
|
52
52
|
* @return 拼接好的 SQL.
|
53
53
|
*/
|
54
|
-
static
|
54
|
+
static getQuerySql(params: Record<string, any> | null | undefined, formID: string | null | undefined, $dayjs: typeof dayjs): {
|
55
|
+
sql: string;
|
56
|
+
whereSql: string;
|
57
|
+
orderBySql: string;
|
58
|
+
};
|
55
59
|
/**
|
56
60
|
* 处理请求参数: 解析字符串类型的参数值.
|
57
61
|
* @param value 参数的原始值.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.13.
|
3
|
+
"version": "0.13.3",
|
4
4
|
"scripts": {
|
5
5
|
"build": "rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "rimraf dist && vue-tsc && vite build --mode development",
|
@@ -48,7 +48,7 @@
|
|
48
48
|
"vue-router": "4.1.6"
|
49
49
|
},
|
50
50
|
"devDependencies": {
|
51
|
-
"@kengic/pont": "1.2.
|
51
|
+
"@kengic/pont": "1.2.11",
|
52
52
|
"@types/lodash-es": "4.17.9",
|
53
53
|
"@types/node": "18.18.4",
|
54
54
|
"@types/semver": "7.5.3",
|