@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
@@ -147,6 +147,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
147
147
|
header_teleport_flg?: number | null | undefined;
|
148
148
|
id?: string | null | undefined;
|
149
149
|
resizable_flg?: number | null | undefined;
|
150
|
+
show_config_button_flag?: number | null | undefined;
|
150
151
|
vis_flg?: number | null | undefined;
|
151
152
|
} | null | undefined;
|
152
153
|
varProfileDetails?: {
|
@@ -366,6 +367,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
366
367
|
header_teleport_flg?: number | null | undefined;
|
367
368
|
id?: string | null | undefined;
|
368
369
|
resizable_flg?: number | null | undefined;
|
370
|
+
show_config_button_flag?: number | null | undefined;
|
369
371
|
vis_flg?: number | null | undefined;
|
370
372
|
} | null | undefined;
|
371
373
|
varProfileDetails?: {
|
@@ -620,6 +622,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
620
622
|
header_teleport_flg?: number | null | undefined;
|
621
623
|
id?: string | null | undefined;
|
622
624
|
resizable_flg?: number | null | undefined;
|
625
|
+
show_config_button_flag?: number | null | undefined;
|
623
626
|
vis_flg?: number | null | undefined;
|
624
627
|
} | null | undefined;
|
625
628
|
varProfileDetails?: {
|
@@ -839,6 +842,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
839
842
|
header_teleport_flg?: number | null | undefined;
|
840
843
|
id?: string | null | undefined;
|
841
844
|
resizable_flg?: number | null | undefined;
|
845
|
+
show_config_button_flag?: number | null | undefined;
|
842
846
|
vis_flg?: number | null | undefined;
|
843
847
|
} | null | undefined;
|
844
848
|
varProfileDetails?: {
|
@@ -1093,6 +1097,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1093
1097
|
header_teleport_flg?: number | null | undefined;
|
1094
1098
|
id?: string | null | undefined;
|
1095
1099
|
resizable_flg?: number | null | undefined;
|
1100
|
+
show_config_button_flag?: number | null | undefined;
|
1096
1101
|
vis_flg?: number | null | undefined;
|
1097
1102
|
} | null | undefined;
|
1098
1103
|
varProfileDetails?: {
|
@@ -1312,6 +1317,7 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1312
1317
|
header_teleport_flg?: number | null | undefined;
|
1313
1318
|
id?: string | null | undefined;
|
1314
1319
|
resizable_flg?: number | null | undefined;
|
1320
|
+
show_config_button_flag?: number | null | undefined;
|
1315
1321
|
vis_flg?: number | null | undefined;
|
1316
1322
|
} | null | undefined;
|
1317
1323
|
varProfileDetails?: {
|
@@ -1418,4 +1424,4 @@ export declare const useKgPageDdaCreateStore: import("pinia").StoreDefinition<"K
|
|
1418
1424
|
}) => void;
|
1419
1425
|
setVarConfigControls: (varConfigControls: Array<VarConfigControl>) => void;
|
1420
1426
|
getVarText: (varNam: string | null | undefined) => string;
|
1421
|
-
}, "
|
1427
|
+
}, "initCreateVarDdaQuery" | "setIsLoading" | "setResultSetMetadataColumns" | "setFrmId" | "patchSysPermission" | "updateVarDda" | "createVarButton" | "patchVarButton" | "deleteVarButton" | "setVarProfileDetails" | "setVarGridDetails" | "setVarSubmitDetails" | "createVarConfigDescription" | "updateVarConfigDescription" | "setVarConfigControls" | "getVarText">>;
|
@@ -1,11 +1,12 @@
|
|
1
1
|
import dayjs from 'dayjs';
|
2
|
-
import {
|
2
|
+
import { KG__VAR_CONFIG_CONTROL__CONTROL_TYPE } from '../consts';
|
3
3
|
/**
|
4
4
|
* 变量相关工具.
|
5
5
|
*/
|
6
6
|
export declare class KgVarUtil {
|
7
7
|
/**
|
8
|
-
*
|
8
|
+
* <p>将 JSON 字符串形式的参数 `'{"foo":1,"bar":2}'` 转换为对象形式的参数 `{ "foo": 1, "bar": 2 }`.</p>
|
9
|
+
*
|
9
10
|
* @param params JSON 字符串形式的参数.
|
10
11
|
* @return {} 参数对象.
|
11
12
|
*/
|
@@ -44,5 +45,5 @@ export declare class KgVarUtil {
|
|
44
45
|
* 根据控件类型获取高级查询操作符的下拉列表.
|
45
46
|
* @param controlType 控件类型.
|
46
47
|
*/
|
47
|
-
static getDynamicQueryOperatorSelectOptions(controlType:
|
48
|
+
static getDynamicQueryOperatorSelectOptions(controlType: KG__VAR_CONFIG_CONTROL__CONTROL_TYPE | null | undefined): any;
|
48
49
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
|
2
2
|
import dayjs, { Dayjs } from 'dayjs';
|
3
|
-
import {
|
3
|
+
import { IKgVarButtonModalProperties } from '../consts';
|
4
4
|
/**
|
5
5
|
* 通用工具.
|
6
6
|
*/
|
@@ -30,13 +30,6 @@ export declare class KgUtil {
|
|
30
30
|
static downloadFile(data: string | BlobPart, fileName: string, contentType?: string): void;
|
31
31
|
/**
|
32
32
|
* <p>处理请求参数.</p>
|
33
|
-
* <ol>
|
34
|
-
* <li>填充通用参数的值:
|
35
|
-
* <ul>
|
36
|
-
* <li>仓库: '{WAREHOUSE}'</li>
|
37
|
-
* </ul>
|
38
|
-
* </li>
|
39
|
-
* </ol>
|
40
33
|
* @param params 请求参数.
|
41
34
|
* @param formID 界面标识.
|
42
35
|
* @param $dayjs dayjs.
|
@@ -52,13 +45,7 @@ export declare class KgUtil {
|
|
52
45
|
* <li>如果 operators 传值, 表示直接使用传入的 operators 作为各个字段的高级查询操作符.</li>
|
53
46
|
* </ul>
|
54
47
|
* </p>
|
55
|
-
*
|
56
|
-
* <li>填充通用参数的值:
|
57
|
-
* <ul>
|
58
|
-
* <li>仓库: '{WAREHOUSE}'</li>
|
59
|
-
* </ul>
|
60
|
-
* </li>
|
61
|
-
* </ol>
|
48
|
+
*
|
62
49
|
* @param param.params 请求参数.
|
63
50
|
* @param param.formID 界面标识.
|
64
51
|
* @param param.operators 各个字段的高级查询操作符.
|
@@ -77,6 +64,16 @@ export declare class KgUtil {
|
|
77
64
|
};
|
78
65
|
/**
|
79
66
|
* 处理请求参数: 解析字符串类型的参数值.
|
67
|
+
*
|
68
|
+
* <ol>
|
69
|
+
* <li>填充通用参数的值:
|
70
|
+
* <ul>
|
71
|
+
* <li>{WAREHOUSE}: 当前仓库编号</li>
|
72
|
+
* <li>{LOCALE}: 当前语言</li>
|
73
|
+
* </ul>
|
74
|
+
* </li>
|
75
|
+
* </ol>
|
76
|
+
*
|
80
77
|
* @param value 参数的原始值.
|
81
78
|
*/
|
82
79
|
private static parseParamFromString;
|
@@ -94,7 +91,7 @@ export declare class KgUtil {
|
|
94
91
|
* https://www.antdv.com/components/modal
|
95
92
|
* @param props
|
96
93
|
*/
|
97
|
-
static confirm(props:
|
94
|
+
static confirm(props: IKgVarButtonModalProperties): ModalFunc;
|
98
95
|
/**
|
99
96
|
* 如果此错误不是表单验证错误, 则抛出此错误.
|
100
97
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.23.1",
|
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",
|
@@ -41,7 +41,7 @@
|
|
41
41
|
"@iconify-icons/mdi": "1.2.48",
|
42
42
|
"@iconify-icons/ph": "1.2.5",
|
43
43
|
"@iconify/vue": "4.1.1",
|
44
|
-
"@kengic/pont": "1.2.
|
44
|
+
"@kengic/pont": "1.2.13",
|
45
45
|
"@rys-fe/vite-plugin-theme": "0.8.6",
|
46
46
|
"@types/fs-extra": "9.0.13",
|
47
47
|
"@types/inquirer": "8.2.5",
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class DeleteQuery {
|
4
|
-
/** id */
|
5
|
-
id: string | null;
|
6
|
-
constructor(obj?: DeleteQuery);
|
7
|
-
}
|
8
|
-
/**
|
9
|
-
* 变量翻译-通过id删除
|
10
|
-
*
|
11
|
-
* @param config 请求配置.
|
12
|
-
* @param option 请求选项.
|
13
|
-
*/
|
14
|
-
export declare function Delete(config?: IRequestConfig<DeleteQuery, {}>, option?: IRequestOptions): Promise<string>;
|
15
|
-
export declare namespace Delete {
|
16
|
-
var method: "DELETE";
|
17
|
-
var url: string;
|
18
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class DeleteBatchQuery {
|
4
|
-
/** ids */
|
5
|
-
ids: string | null;
|
6
|
-
constructor(obj?: DeleteBatchQuery);
|
7
|
-
}
|
8
|
-
/**
|
9
|
-
* 变量翻译-批量删除.
|
10
|
-
*
|
11
|
-
* @param config 请求配置.
|
12
|
-
* @param option 请求选项.
|
13
|
-
*/
|
14
|
-
export declare function DeleteBatch(config?: IRequestConfig<DeleteBatchQuery, {}>, option?: IRequestOptions): Promise<string>;
|
15
|
-
export declare namespace DeleteBatch {
|
16
|
-
var method: "DELETE";
|
17
|
-
var url: string;
|
18
|
-
}
|
@@ -1,16 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class EditQuery {
|
5
|
-
}
|
6
|
-
/**
|
7
|
-
* 变量翻译-编辑
|
8
|
-
*
|
9
|
-
* @param config 请求配置.
|
10
|
-
* @param option 请求选项.
|
11
|
-
*/
|
12
|
-
export declare function Edit(config?: IRequestConfig<EditQuery, DEF.WMS.VarConfigDescription>, option?: IRequestOptions): Promise<string>;
|
13
|
-
export declare namespace Edit {
|
14
|
-
var method: "POST";
|
15
|
-
var url: string;
|
16
|
-
}
|
@@ -1,30 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class ExportXlsQuery {
|
4
|
-
/** 定制级别(CustomLevel). */
|
5
|
-
cust_lvl?: number | null;
|
6
|
-
/** 界面标识(FormID). */
|
7
|
-
frm_id?: string | null;
|
8
|
-
/** 分组(GroupName). */
|
9
|
-
grp_nam?: string | null;
|
10
|
-
/** 主键. */
|
11
|
-
id?: string | null;
|
12
|
-
/** 语言(LocaleID). */
|
13
|
-
locale_id?: string | null;
|
14
|
-
/** 变量名称(VariableName). */
|
15
|
-
var_nam?: string | null;
|
16
|
-
/** 显示文本(Text). */
|
17
|
-
var_text?: string | null;
|
18
|
-
constructor(obj?: ExportXlsQuery);
|
19
|
-
}
|
20
|
-
/**
|
21
|
-
* 变量翻译-导出
|
22
|
-
*
|
23
|
-
* @param config 请求配置.
|
24
|
-
* @param option 请求选项.
|
25
|
-
*/
|
26
|
-
export declare function ExportXls(config?: IRequestConfig<ExportXlsQuery, {}>, option?: IRequestOptions): Promise<any>;
|
27
|
-
export declare namespace ExportXls {
|
28
|
-
var method: "GET";
|
29
|
-
var url: string;
|
30
|
-
}
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
/** 请求参数. */
|
3
|
-
export declare class ImportExcelQuery {
|
4
|
-
}
|
5
|
-
/**
|
6
|
-
* 变量翻译-导入
|
7
|
-
*
|
8
|
-
* @param config 请求配置.
|
9
|
-
* @param option 请求选项.
|
10
|
-
*/
|
11
|
-
export declare function ImportExcel(config?: IRequestConfig<ImportExcelQuery, {}>, option?: IRequestOptions): Promise<Record<any, any>>;
|
12
|
-
export declare namespace ImportExcel {
|
13
|
-
var method: "POST";
|
14
|
-
var url: string;
|
15
|
-
}
|
@@ -1,37 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class ListQuery {
|
5
|
-
/** 定制级别(CustomLevel). */
|
6
|
-
cust_lvl?: number | null;
|
7
|
-
/** 界面标识(FormID). */
|
8
|
-
frm_id?: string | null;
|
9
|
-
/** 分组(GroupName). */
|
10
|
-
grp_nam?: string | null;
|
11
|
-
/** 语言(LocaleID). */
|
12
|
-
locale_id?: string | null;
|
13
|
-
/** 变量名称(VariableName). */
|
14
|
-
var_nam?: string | null;
|
15
|
-
/** 显示文本(Text). */
|
16
|
-
var_text?: string | null;
|
17
|
-
/** 排序字段. */
|
18
|
-
column?: string | null;
|
19
|
-
/** 排序方式. */
|
20
|
-
order?: 'asc' | 'desc' | null;
|
21
|
-
/** 当前页数. */
|
22
|
-
pageNo?: number | null;
|
23
|
-
/** 每页条数. */
|
24
|
-
pageSize?: number | null;
|
25
|
-
constructor(obj?: ListQuery);
|
26
|
-
}
|
27
|
-
/**
|
28
|
-
* 变量翻译-分页列表查询.
|
29
|
-
*
|
30
|
-
* @param config 请求配置.
|
31
|
-
* @param option 请求选项.
|
32
|
-
*/
|
33
|
-
export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.VarConfigDescription>>;
|
34
|
-
export declare namespace List {
|
35
|
-
var method: "GET";
|
36
|
-
var url: string;
|
37
|
-
}
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import { IRequestConfig, IRequestOptions } from '../../../../services';
|
2
|
-
import * as DEF from '../../../def';
|
3
|
-
/** 请求参数. */
|
4
|
-
export declare class QueryByIdQuery {
|
5
|
-
/** id */
|
6
|
-
id: string | null;
|
7
|
-
constructor(obj?: QueryByIdQuery);
|
8
|
-
}
|
9
|
-
/**
|
10
|
-
* 变量翻译-通过id查询
|
11
|
-
*
|
12
|
-
* @param config 请求配置.
|
13
|
-
* @param option 请求选项.
|
14
|
-
*/
|
15
|
-
export declare function QueryById(config?: IRequestConfig<QueryByIdQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.VarConfigDescription>;
|
16
|
-
export declare namespace QueryById {
|
17
|
-
var method: "GET";
|
18
|
-
var url: string;
|
19
|
-
}
|
@@ -1,28 +0,0 @@
|
|
1
|
-
import { FormInstance } from 'ant-design-vue/lib/form/Form';
|
2
|
-
import { Ref } from 'vue';
|
3
|
-
import { VarProfileDetail } from '../../apis/WMS/models';
|
4
|
-
import { IKgResizableProps } from '../KgResizable';
|
5
|
-
/** 头部高度. */
|
6
|
-
export declare const HEADER_HEIGHT = 42;
|
7
|
-
/** 一个查询字段的高度. */
|
8
|
-
export declare const FORM_ITEM_HEIGHT = 38;
|
9
|
-
/**
|
10
|
-
* 根据查询字段计算默认高度.
|
11
|
-
* 如果搜索字段超过三行(包含三行), 则默认高度为三行的高度, 否则为显示所有字段时的高度.
|
12
|
-
* 点击头部并展开时, 高度就会设为该默认高度.
|
13
|
-
*
|
14
|
-
* @param varProfileDetails 查询字段列表.
|
15
|
-
* @param headerTeleport 是否将头部放到顶部的导航栏中.
|
16
|
-
*/
|
17
|
-
export declare function getDefaultHeight(varProfileDetails?: Array<VarProfileDetail> | null, headerTeleport?: boolean | null): number;
|
18
|
-
export declare function _useCommon(): {
|
19
|
-
isVisible: import("vue").ComputedRef<boolean>;
|
20
|
-
isResizable: import("vue").ComputedRef<boolean>;
|
21
|
-
isTeleportToHeader: import("vue").ComputedRef<boolean>;
|
22
|
-
formLevel: import("vue").ComputedRef<number>;
|
23
|
-
defaultHeight: import("vue").ComputedRef<number>;
|
24
|
-
minHeight: import("vue").ComputedRef<1 | 42>;
|
25
|
-
};
|
26
|
-
export declare function _useFormModel(kgResizableRef: Ref<any | null>, formRef: Ref<FormInstance | null>, kgResizableProps: Ref<IKgResizableProps>): {
|
27
|
-
initFormModel: () => Promise<void>;
|
28
|
-
};
|
package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
import { ExtractPropTypes, PropType } from 'vue';
|
2
|
-
export declare const getProps: () => {
|
3
|
-
visible: PropType<boolean>;
|
4
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
5
|
-
/** 确定. */
|
6
|
-
onKgOk: PropType<(args: {
|
7
|
-
isAllForm: boolean;
|
8
|
-
isAllLanguage: boolean;
|
9
|
-
}) => void>;
|
10
|
-
};
|
11
|
-
export declare type IKgVarConfigModalVarCreateModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
|
12
|
-
declare const _default: import("vue").DefineComponent<{
|
13
|
-
visible: PropType<boolean>;
|
14
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
15
|
-
/** 确定. */
|
16
|
-
onKgOk: PropType<(args: {
|
17
|
-
isAllForm: boolean;
|
18
|
-
isAllLanguage: boolean;
|
19
|
-
}) => void>;
|
20
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "kgOk")[], "update:visible" | "kgOk", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{
|
21
|
-
visible: PropType<boolean>;
|
22
|
-
'onUpdate:visible': PropType<(value: boolean) => void>;
|
23
|
-
/** 确定. */
|
24
|
-
onKgOk: PropType<(args: {
|
25
|
-
isAllForm: boolean;
|
26
|
-
isAllLanguage: boolean;
|
27
|
-
}) => void>;
|
28
|
-
}>> & {
|
29
|
-
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
30
|
-
onKgOk?: ((...args: any[]) => any) | undefined;
|
31
|
-
}, {}>;
|
32
|
-
export default _default;
|
File without changes
|
File without changes
|
File without changes
|