@kengic/vue 0.19.2-beta.5 → 0.19.2-beta.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.
- package/dist/kengic-vue.js +1446 -1324
- package/dist/src/apis/WMS/Controllers/DescriptionController/List.d.ts +47 -0
- package/dist/src/apis/WMS/Controllers/DescriptionController/index.d.ts +1 -0
- package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
- package/dist/src/apis/WMS/models.d.ts +26 -0
- package/dist/src/consts/index.d.ts +22 -8
- package/dist/src/consts/index.vm.d.ts +5 -3
- package/dist/src/services/http-client.d.ts +2 -2
- package/dist/src/utils/kg-route.util.d.ts +4 -2
- package/package.json +1 -1
@@ -0,0 +1,47 @@
|
|
1
|
+
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
+
import * as DEF from '../../../def';
|
3
|
+
/** 请求参数. */
|
4
|
+
export declare class ListQuery {
|
5
|
+
/** 列名(CodeName). */
|
6
|
+
codnam?: string | null;
|
7
|
+
/** 列值(CodeValue). */
|
8
|
+
codval?: string | null;
|
9
|
+
/** 模块(ProjectName). */
|
10
|
+
grpNam?: string | null;
|
11
|
+
/** id */
|
12
|
+
id?: string | null;
|
13
|
+
/** 长描述(LongDescription). */
|
14
|
+
lngDsc?: string | null;
|
15
|
+
/** 语言(LocaleId). */
|
16
|
+
localeId?: string | null;
|
17
|
+
/** 修改用户编号 */
|
18
|
+
modUsrCod?: string | null;
|
19
|
+
/** 修改日期 */
|
20
|
+
moddte?: string | null;
|
21
|
+
/** 短描述(ShortDescription). */
|
22
|
+
shortDsc?: string | null;
|
23
|
+
/** 顺序号(Sequence). */
|
24
|
+
srtseq?: number | null;
|
25
|
+
/** 系统定义. */
|
26
|
+
sysDefFlg?: number | null;
|
27
|
+
/** 排序字段. */
|
28
|
+
column?: string | null;
|
29
|
+
/** 排序方式. */
|
30
|
+
order?: 'asc' | 'desc' | null;
|
31
|
+
/** 当前页数. */
|
32
|
+
pageNo?: number | null;
|
33
|
+
/** 每页条数. */
|
34
|
+
pageSize?: number | null;
|
35
|
+
constructor(obj?: ListQuery);
|
36
|
+
}
|
37
|
+
/**
|
38
|
+
* 描述-分页列表查询.
|
39
|
+
*
|
40
|
+
* @param config 请求配置.
|
41
|
+
* @param option 请求选项.
|
42
|
+
*/
|
43
|
+
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.Description>>;
|
44
|
+
export declare namespace List {
|
45
|
+
var method: "GET";
|
46
|
+
var url: string;
|
47
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { List, ListQuery } from './List';
|
@@ -70,6 +70,32 @@ export declare class CreateVarProfileMasterQuery {
|
|
70
70
|
varProfileDetails?: Array<VarProfileDetail> | null;
|
71
71
|
constructor(obj?: CreateVarProfileMasterQuery);
|
72
72
|
}
|
73
|
+
/** 描述(Description). */
|
74
|
+
export declare class Description {
|
75
|
+
/** 列名(CodeName). */
|
76
|
+
codnam?: string | null;
|
77
|
+
/** 列值(CodeValue). */
|
78
|
+
codval?: string | null;
|
79
|
+
/** 模块(ProjectName). */
|
80
|
+
grpNam?: string | null;
|
81
|
+
/** id */
|
82
|
+
id?: string | null;
|
83
|
+
/** 长描述(LongDescription). */
|
84
|
+
lngDsc?: string | null;
|
85
|
+
/** 语言(LocaleId). */
|
86
|
+
localeId?: string | null;
|
87
|
+
/** 修改用户编号 */
|
88
|
+
modUsrCod?: string | null;
|
89
|
+
/** 修改日期 */
|
90
|
+
moddte?: string | null;
|
91
|
+
/** 短描述(ShortDescription). */
|
92
|
+
shortDsc?: string | null;
|
93
|
+
/** 顺序号(Sequence). */
|
94
|
+
srtseq?: number | null;
|
95
|
+
/** 系统定义. */
|
96
|
+
sysDefFlg?: number | null;
|
97
|
+
constructor(obj?: Description);
|
98
|
+
}
|
73
99
|
/** 获取 SQL 查询结果的元数据. */
|
74
100
|
export declare class GetResultSetMetadataFromSqlQuery {
|
75
101
|
/** SQL. */
|
@@ -3,20 +3,28 @@ export * from './index.vm';
|
|
3
3
|
export * from './injection-keys.const';
|
4
4
|
/** 模块. */
|
5
5
|
export declare const enum KG_APP {
|
6
|
+
/** 数据管理. */
|
6
7
|
WMS_DATA_MANAGER = "data-manager",
|
8
|
+
/** 仓库管理. */
|
7
9
|
WMS_BUSINESS_MANAGER = "business-manager",
|
10
|
+
/** WCS. */
|
8
11
|
WCS = "wcs",
|
12
|
+
/** 系统管理. */
|
9
13
|
SYS = "sys"
|
10
14
|
}
|
11
|
-
/** 所有模块. */
|
12
|
-
export declare const KG_APPS: Array<KG_APP>;
|
13
15
|
/** 模块路径前缀. */
|
14
16
|
export declare const enum KG_APP_PREFIX {
|
17
|
+
/** 数据管理. */
|
15
18
|
WMS_DATA_MANAGER = "/wms/data-manager",
|
19
|
+
/** 仓库管理. */
|
16
20
|
WMS_BUSINESS_MANAGER = "/wms/business-manager",
|
21
|
+
/** WCS. */
|
17
22
|
WCS = "/wcs",
|
23
|
+
/** 系统管理. */
|
18
24
|
SYS = "/sys"
|
19
25
|
}
|
26
|
+
/** 所有模块. */
|
27
|
+
export declare const KG_APPS: Array<KG_APP>;
|
20
28
|
/** 所有模块路径前缀. */
|
21
29
|
export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
|
22
30
|
/**
|
@@ -31,23 +39,29 @@ export declare const enum KG_FORM_ITEM_TYPE {
|
|
31
39
|
INPUT_PASSWORD = "INPUT_PASSWORD",
|
32
40
|
/** 数字. */
|
33
41
|
INPUT_NUMBER = "INPUT_NUMBER",
|
34
|
-
/**
|
42
|
+
/**
|
43
|
+
* <p>多行文本.</p>
|
44
|
+
* <p>配置属性参见 {@link IKgVariableConfigProps.TEXT_AREA}.</p>
|
45
|
+
*/
|
35
46
|
TEXT_AREA = "TEXT_AREA",
|
36
47
|
/** 多选框. */
|
37
48
|
CHECKBOX = "CHECKBOX",
|
38
49
|
/**
|
39
|
-
*
|
40
|
-
*
|
50
|
+
* <p>多选框列表.</p>
|
51
|
+
* <p>配置属性参见 {@link IKgVariableConfigProps.CHECKBOX_GROUP}.</p>
|
41
52
|
*/
|
42
53
|
CHECKBOX_GROUP = "CHECKBOX_GROUP",
|
43
54
|
/**
|
44
|
-
*
|
45
|
-
*
|
55
|
+
* <p>单选框列表.</p>
|
56
|
+
* <p>配置属性参见 {@link IKgVariableConfigProps.RADIO_GROUP}.</p>
|
46
57
|
*/
|
47
58
|
RADIO_GROUP = "RADIO_GROUP",
|
48
59
|
/** 开关. */
|
49
60
|
SWITCH = "SWITCH",
|
50
|
-
/**
|
61
|
+
/**
|
62
|
+
* <p>下拉列表单选.<p>
|
63
|
+
* <p>配置属性参见 {@link IKgVariableConfigProps.SELECT}.</p>
|
64
|
+
*/
|
51
65
|
SELECT = "SELECT",
|
52
66
|
/** 下拉列表多选. */
|
53
67
|
SELECT_MULTIPLE = "SELECT_MULTIPLE",
|
@@ -145,7 +145,7 @@ export interface IKgGridDetailDisplayTypeProps {
|
|
145
145
|
DESC: {
|
146
146
|
/**
|
147
147
|
* 对应的描述字段的名称.
|
148
|
-
* @default
|
148
|
+
* @default `原字段名 + '_dsc'`, 或者 `原字段名 + 'Dsc'`
|
149
149
|
*/
|
150
150
|
dscFieldName?: string;
|
151
151
|
/**
|
@@ -154,8 +154,10 @@ export interface IKgGridDetailDisplayTypeProps {
|
|
154
154
|
*/
|
155
155
|
isTag?: boolean;
|
156
156
|
/**
|
157
|
-
*
|
158
|
-
*
|
157
|
+
* <ul>
|
158
|
+
* <li>如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 true, 则此属性用来定义每个值对应的标签颜色分别是什么,</li>
|
159
|
+
* <li>如果 {@link IKgGridDetailDisplayTypeProps.DESC.isTag} 为 false, 则此属性会被忽略,</li>
|
160
|
+
* </ul>
|
159
161
|
*/
|
160
162
|
tagColors?: Array<{
|
161
163
|
/** 值. */
|
@@ -16,8 +16,8 @@ declare function setupHttpClient(httpClient: IHttpClient | null): void;
|
|
16
16
|
* 获取 httpClient 实例.
|
17
17
|
*/
|
18
18
|
declare function httpClient(): IHttpClient;
|
19
|
-
interface IRequestConfig<
|
20
|
-
params?:
|
19
|
+
interface IRequestConfig<P = {}, D = {}> extends AxiosRequestConfig<D> {
|
20
|
+
params?: P;
|
21
21
|
}
|
22
22
|
interface IRequestOptions {
|
23
23
|
joinParamsToUrl?: boolean;
|
@@ -27,8 +27,10 @@ export declare class KgRouteUtil {
|
|
27
27
|
*/
|
28
28
|
static translateMenus(menus: Array<Menu> | null | undefined, titleKey?: string): Array<Menu>;
|
29
29
|
/**
|
30
|
-
*
|
31
|
-
*
|
30
|
+
* <p>转换菜单列表.</p>
|
31
|
+
* <ol>
|
32
|
+
* <li>根据模块分组,</li>
|
33
|
+
* </ol>
|
32
34
|
* @param menus 菜单列表, 树形结构.
|
33
35
|
*/
|
34
36
|
static transformMenus(menus: Array<Menu> | null | undefined): Array<Menu>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.19.2-beta.
|
3
|
+
"version": "0.19.2-beta.6",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|