@kengic/vue 0.1.1-beta.1 → 0.1.1-beta.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.
Files changed (25) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +133 -124
  3. package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/Add.d.ts +1 -1
  4. package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/Edit.d.ts +1 -1
  5. package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/ExportXls.d.ts +6 -6
  6. package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/List.d.ts +7 -7
  7. package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/QueryById.d.ts +1 -1
  8. package/dist/src/apis/WMS/Controllers/VarContextController/ExportXls.d.ts +4 -4
  9. package/dist/src/apis/WMS/Controllers/VarContextController/List.d.ts +4 -4
  10. package/dist/src/apis/WMS/Controllers/index.d.ts +1 -1
  11. package/dist/src/apis/WMS/models.d.ts +16 -16
  12. package/dist/src/components/KgControl/KgControl.Input.d.ts +17 -8
  13. package/dist/src/components/KgControl/KgControl.Select.d.ts +17 -8
  14. package/dist/src/components/KgControl/KgControl.d.ts +17 -8
  15. package/dist/src/components/KgControl/index.d.ts +38 -19
  16. package/dist/src/components/KgControl/index.vm.d.ts +12 -4
  17. package/dist/src/components/KgVar/hooks/index.d.ts +2 -2
  18. package/dist/src/components/KgVar/store/index.d.ts +2 -2
  19. package/dist/src/components/KgVar/store/index.data.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/kg.config.ts +0 -25
  22. /package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/Delete.d.ts +0 -0
  23. /package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/DeleteBatch.d.ts +0 -0
  24. /package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/ImportExcel.d.ts +0 -0
  25. /package/dist/src/apis/WMS/Controllers/{VarCatalogController → VarCatController}/index.d.ts +0 -0
@@ -9,7 +9,7 @@ export declare class AddQuery {
9
9
  * @param config 请求配置.
10
10
  * @param option 请求选项.
11
11
  */
12
- export declare function Add(config?: IRequestConfig<AddQuery, DEF.WMS.VarCatalog>, option?: IRequestOptions): Promise<string>;
12
+ export declare function Add(config?: IRequestConfig<AddQuery, DEF.WMS.VarCat>, option?: IRequestOptions): Promise<string>;
13
13
  export declare namespace Add {
14
14
  var method: "POST";
15
15
  var url: string;
@@ -9,7 +9,7 @@ export declare class EditQuery {
9
9
  * @param config 请求配置.
10
10
  * @param option 请求选项.
11
11
  */
12
- export declare function Edit(config?: IRequestConfig<EditQuery, DEF.WMS.VarCatalog>, option?: IRequestOptions): Promise<string>;
12
+ export declare function Edit(config?: IRequestConfig<EditQuery, DEF.WMS.VarCat>, option?: IRequestOptions): Promise<string>;
13
13
  export declare namespace Edit {
14
14
  var method: "POST";
15
15
  var url: string;
@@ -1,19 +1,19 @@
1
1
  import { IRequestConfig, IRequestOptions } from '../../../../services';
2
2
  /** 请求参数. */
3
3
  export declare class ExportXlsQuery {
4
- /** 定制级别. */
4
+ /** 定制级别(Custom Level). */
5
5
  custLvl?: string | null;
6
- /** 界面标识. */
6
+ /** 界面标识(Form ID). */
7
7
  frmId?: string | null;
8
- /** 分组. */
8
+ /** 分组(Group Name). */
9
9
  grpNam?: string | null;
10
10
  /** 主键. */
11
11
  id?: string | null;
12
- /** 语言. */
12
+ /** 语言(Locale ID). */
13
13
  localeId?: string | null;
14
- /** 变量名称. */
14
+ /** 变量名称(Variable Name). */
15
15
  varNam?: string | null;
16
- /** 显示文本. */
16
+ /** 显示文本(Variable Text). */
17
17
  varText?: string | null;
18
18
  constructor(obj?: ExportXlsQuery);
19
19
  }
@@ -4,15 +4,15 @@ import * as DEF from '../../../def';
4
4
  export declare class ListQuery {
5
5
  /** 排序字段. */
6
6
  column?: string | null;
7
- /** 定制级别. */
7
+ /** 定制级别(Custom Level). */
8
8
  custLvl?: string | null;
9
- /** 界面标识. */
9
+ /** 界面标识(Form ID). */
10
10
  frmId?: string | null;
11
- /** 分组. */
11
+ /** 分组(Group Name). */
12
12
  grpNam?: string | null;
13
13
  /** 主键. */
14
14
  id?: string | null;
15
- /** 语言. */
15
+ /** 语言(Locale ID). */
16
16
  localeId?: string | null;
17
17
  /** 排序方式. */
18
18
  order?: 'asc' | 'desc' | null;
@@ -20,9 +20,9 @@ export declare class ListQuery {
20
20
  pageNo?: number | null;
21
21
  /** 每页条数. */
22
22
  pageSize?: number | null;
23
- /** 变量名称. */
23
+ /** 变量名称(Variable Name). */
24
24
  varNam?: string | null;
25
- /** 显示文本. */
25
+ /** 显示文本(Variable Text). */
26
26
  varText?: string | null;
27
27
  constructor(obj?: ListQuery);
28
28
  }
@@ -32,7 +32,7 @@ export declare class ListQuery {
32
32
  * @param config 请求配置.
33
33
  * @param option 请求选项.
34
34
  */
35
- export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.VarCatalog>>;
35
+ export declare function List(config?: IRequestConfig<ListQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.IPage<DEF.WMS.VarCat>>;
36
36
  export declare namespace List {
37
37
  var method: "GET";
38
38
  var url: string;
@@ -12,7 +12,7 @@ export declare class QueryByIdQuery {
12
12
  * @param config 请求配置.
13
13
  * @param option 请求选项.
14
14
  */
15
- export declare function QueryById(config?: IRequestConfig<QueryByIdQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.VarCatalog>;
15
+ export declare function QueryById(config?: IRequestConfig<QueryByIdQuery, {}>, option?: IRequestOptions): Promise<DEF.WMS.VarCat>;
16
16
  export declare namespace QueryById {
17
17
  var method: "GET";
18
18
  var url: string;
@@ -1,15 +1,15 @@
1
1
  import { IRequestConfig, IRequestOptions } from '../../../../services';
2
2
  /** 请求参数. */
3
3
  export declare class ExportXlsQuery {
4
- /** 界面标识. */
4
+ /** 界面标识(Form ID). */
5
5
  frmId?: string | null;
6
- /** 界面名称. */
6
+ /** 界面名称(Form Name). */
7
7
  frmNam?: string | null;
8
- /** 分组. */
8
+ /** 分组(Group Name). */
9
9
  grpNam?: string | null;
10
10
  /** 主键. */
11
11
  id?: string | null;
12
- /** 变量名称. */
12
+ /** 变量名称(Variable Name). */
13
13
  varNam?: string | null;
14
14
  constructor(obj?: ExportXlsQuery);
15
15
  }
@@ -4,11 +4,11 @@ import * as DEF from '../../../def';
4
4
  export declare class ListQuery {
5
5
  /** 排序字段. */
6
6
  column?: string | null;
7
- /** 界面标识. */
7
+ /** 界面标识(Form ID). */
8
8
  frmId?: string | null;
9
- /** 界面名称. */
9
+ /** 界面名称(Form Name). */
10
10
  frmNam?: string | null;
11
- /** 分组. */
11
+ /** 分组(Group Name). */
12
12
  grpNam?: string | null;
13
13
  /** 主键. */
14
14
  id?: string | null;
@@ -18,7 +18,7 @@ export declare class ListQuery {
18
18
  pageNo?: number | null;
19
19
  /** 每页条数. */
20
20
  pageSize?: number | null;
21
- /** 变量名称. */
21
+ /** 变量名称(Variable Name). */
22
22
  varNam?: string | null;
23
23
  constructor(obj?: ListQuery);
24
24
  }
@@ -1,3 +1,3 @@
1
1
  export * as VarController from './VarController';
2
- export * as VarCatalogController from './VarCatalogController';
2
+ export * as VarCatController from './VarCatController';
3
3
  export * as VarContextController from './VarContextController';
@@ -12,38 +12,38 @@ export declare class IPage<T0> {
12
12
  constructor(obj?: IPage<T0>);
13
13
  }
14
14
  /**
15
- * 变量别名
15
+ * 变量别名(Variable Catalog).
16
16
  */
17
- export declare class VarCatalog {
18
- /** 定制级别. */
17
+ export declare class VarCat {
18
+ /** 定制级别(Custom Level). */
19
19
  custLvl?: string | null;
20
- /** 界面标识. */
20
+ /** 界面标识(Form ID). */
21
21
  frmId?: string | null;
22
- /** 分组. */
22
+ /** 分组(Group Name). */
23
23
  grpNam?: string | null;
24
24
  /** 主键. */
25
25
  id?: string | null;
26
- /** 语言. */
26
+ /** 语言(Locale ID). */
27
27
  localeId?: string | null;
28
- /** 变量名称. */
28
+ /** 变量名称(Variable Name). */
29
29
  varNam?: string | null;
30
- /** 显示文本. */
30
+ /** 显示文本(Variable Text). */
31
31
  varText?: string | null;
32
- constructor(obj?: VarCatalog);
32
+ constructor(obj?: VarCat);
33
33
  }
34
34
  /**
35
- * 变量
35
+ * 变量.
36
36
  */
37
37
  export declare class VarContext {
38
- /** 界面标识. */
38
+ /** 界面标识(Form ID). */
39
39
  frmId?: string | null;
40
- /** 界面名称. */
40
+ /** 界面名称(Form Name). */
41
41
  frmNam?: string | null;
42
- /** 分组. */
42
+ /** 分组(Group Name). */
43
43
  grpNam?: string | null;
44
44
  /** 主键. */
45
45
  id?: string | null;
46
- /** 变量名称. */
46
+ /** 变量名称(Variable Name). */
47
47
  varNam?: string | null;
48
48
  constructor(obj?: VarContext);
49
49
  }
@@ -51,8 +51,8 @@ export declare class VarContext {
51
51
  * 变量配置.
52
52
  */
53
53
  export declare class VarDTO {
54
- /** 变量别名. */
55
- varCatalogs?: Array<VarCatalog> | null;
54
+ /** 变量别名(Variable Catalog). */
55
+ varCats?: Array<VarCat> | null;
56
56
  constructor(obj?: VarDTO);
57
57
  }
58
58
  /**
@@ -4,8 +4,12 @@ declare const _default: import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<string>;
5
5
  required: boolean;
6
6
  };
7
+ kgGutter: {
8
+ type: import("vue").PropType<number>;
9
+ default: number;
10
+ };
7
11
  kgSpan: {
8
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
12
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
9
13
  default: number;
10
14
  };
11
15
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -14,8 +18,8 @@ declare const _default: import("vue").DefineComponent<{
14
18
  kgDescriptionColumn: import("vue").PropType<string>;
15
19
  kgAction: import("vue").PropType<string>;
16
20
  kgActionParameter: import("vue").PropType<string>;
17
- kgValidateInfos: {
18
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
21
+ kgValidateInfo: {
22
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
19
23
  default: () => {};
20
24
  };
21
25
  kgActionType: {
@@ -29,8 +33,12 @@ declare const _default: import("vue").DefineComponent<{
29
33
  type: import("vue").PropType<string>;
30
34
  required: boolean;
31
35
  };
36
+ kgGutter: {
37
+ type: import("vue").PropType<number>;
38
+ default: number;
39
+ };
32
40
  kgSpan: {
33
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
41
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
34
42
  default: number;
35
43
  };
36
44
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -39,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
39
47
  kgDescriptionColumn: import("vue").PropType<string>;
40
48
  kgAction: import("vue").PropType<string>;
41
49
  kgActionParameter: import("vue").PropType<string>;
42
- kgValidateInfos: {
43
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
50
+ kgValidateInfo: {
51
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
44
52
  default: () => {};
45
53
  };
46
54
  kgActionType: {
@@ -53,8 +61,9 @@ declare const _default: import("vue").DefineComponent<{
53
61
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
54
62
  onKgSubmit?: ((...args: any[]) => any) | undefined;
55
63
  }, {
56
- kgSpan: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
57
- kgValidateInfos: import("ant-design-vue/lib/form/useForm").validateInfos;
64
+ kgGutter: number;
65
+ kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
66
+ kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
58
67
  kgActionType: import("axios").Method;
59
68
  }>;
60
69
  export default _default;
@@ -4,8 +4,12 @@ declare const _default: import("vue").DefineComponent<{
4
4
  type: import("vue").PropType<string>;
5
5
  required: boolean;
6
6
  };
7
+ kgGutter: {
8
+ type: import("vue").PropType<number>;
9
+ default: number;
10
+ };
7
11
  kgSpan: {
8
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
12
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
9
13
  default: number;
10
14
  };
11
15
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -14,8 +18,8 @@ declare const _default: import("vue").DefineComponent<{
14
18
  kgDescriptionColumn: import("vue").PropType<string>;
15
19
  kgAction: import("vue").PropType<string>;
16
20
  kgActionParameter: import("vue").PropType<string>;
17
- kgValidateInfos: {
18
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
21
+ kgValidateInfo: {
22
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
19
23
  default: () => {};
20
24
  };
21
25
  kgActionType: {
@@ -29,8 +33,12 @@ declare const _default: import("vue").DefineComponent<{
29
33
  type: import("vue").PropType<string>;
30
34
  required: boolean;
31
35
  };
36
+ kgGutter: {
37
+ type: import("vue").PropType<number>;
38
+ default: number;
39
+ };
32
40
  kgSpan: {
33
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
41
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
34
42
  default: number;
35
43
  };
36
44
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -39,8 +47,8 @@ declare const _default: import("vue").DefineComponent<{
39
47
  kgDescriptionColumn: import("vue").PropType<string>;
40
48
  kgAction: import("vue").PropType<string>;
41
49
  kgActionParameter: import("vue").PropType<string>;
42
- kgValidateInfos: {
43
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
50
+ kgValidateInfo: {
51
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
44
52
  default: () => {};
45
53
  };
46
54
  kgActionType: {
@@ -50,8 +58,9 @@ declare const _default: import("vue").DefineComponent<{
50
58
  value: import("vue").PropType<string | number | (string | number)[]>;
51
59
  'onUpdate:value': import("vue").PropType<(value: any) => void>;
52
60
  }>>, {
53
- kgSpan: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
54
- kgValidateInfos: import("ant-design-vue/lib/form/useForm").validateInfos;
61
+ kgGutter: number;
62
+ kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
63
+ kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
55
64
  kgActionType: import("axios").Method;
56
65
  }>;
57
66
  export default _default;
@@ -5,8 +5,12 @@ declare const _default: import("vue").DefineComponent<{
5
5
  type: import("vue").PropType<string>;
6
6
  required: boolean;
7
7
  };
8
+ kgGutter: {
9
+ type: import("vue").PropType<number>;
10
+ default: number;
11
+ };
8
12
  kgSpan: {
9
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
13
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
10
14
  default: number;
11
15
  };
12
16
  kgType: import("vue").PropType<KG_CONTROL_TYPES_ENUM>;
@@ -15,8 +19,8 @@ declare const _default: import("vue").DefineComponent<{
15
19
  kgDescriptionColumn: import("vue").PropType<string>;
16
20
  kgAction: import("vue").PropType<string>;
17
21
  kgActionParameter: import("vue").PropType<string>;
18
- kgValidateInfos: {
19
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
22
+ kgValidateInfo: {
23
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
20
24
  default: () => {};
21
25
  };
22
26
  kgActionType: {
@@ -30,8 +34,12 @@ declare const _default: import("vue").DefineComponent<{
30
34
  type: import("vue").PropType<string>;
31
35
  required: boolean;
32
36
  };
37
+ kgGutter: {
38
+ type: import("vue").PropType<number>;
39
+ default: number;
40
+ };
33
41
  kgSpan: {
34
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
42
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
35
43
  default: number;
36
44
  };
37
45
  kgType: import("vue").PropType<KG_CONTROL_TYPES_ENUM>;
@@ -40,8 +48,8 @@ declare const _default: import("vue").DefineComponent<{
40
48
  kgDescriptionColumn: import("vue").PropType<string>;
41
49
  kgAction: import("vue").PropType<string>;
42
50
  kgActionParameter: import("vue").PropType<string>;
43
- kgValidateInfos: {
44
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
51
+ kgValidateInfo: {
52
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
45
53
  default: () => {};
46
54
  };
47
55
  kgActionType: {
@@ -53,8 +61,9 @@ declare const _default: import("vue").DefineComponent<{
53
61
  }>> & {
54
62
  onKgSubmit?: ((...args: any[]) => any) | undefined;
55
63
  }, {
56
- kgSpan: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
57
- kgValidateInfos: import("ant-design-vue/lib/form/useForm").validateInfos;
64
+ kgGutter: number;
65
+ kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
66
+ kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
58
67
  kgActionType: import("axios").Method;
59
68
  }>;
60
69
  export default _default;
@@ -7,16 +7,21 @@ declare const _default: {
7
7
  $: import("vue").ComponentInternalInstance;
8
8
  $data: {};
9
9
  $props: Partial<{
10
- kgSpan: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
11
- kgValidateInfos: import("ant-design-vue/lib/form/useForm").validateInfos;
10
+ kgGutter: number;
11
+ kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
12
+ kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
12
13
  kgActionType: import("axios").Method;
13
14
  }> & Omit<Readonly<import("vue").ExtractPropTypes<{
14
15
  kgVarName: {
15
16
  type: import("vue").PropType<string>;
16
17
  required: boolean;
17
18
  };
19
+ kgGutter: {
20
+ type: import("vue").PropType<number>;
21
+ default: number;
22
+ };
18
23
  kgSpan: {
19
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
24
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
20
25
  default: number;
21
26
  };
22
27
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -25,8 +30,8 @@ declare const _default: {
25
30
  kgDescriptionColumn: import("vue").PropType<string>;
26
31
  kgAction: import("vue").PropType<string>;
27
32
  kgActionParameter: import("vue").PropType<string>;
28
- kgValidateInfos: {
29
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
33
+ kgValidateInfo: {
34
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
30
35
  default: () => {};
31
36
  };
32
37
  kgActionType: {
@@ -37,7 +42,7 @@ declare const _default: {
37
42
  'onUpdate:value': import("vue").PropType<(value: any) => void>;
38
43
  }>> & {
39
44
  onKgSubmit?: ((...args: any[]) => any) | undefined;
40
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "kgSpan" | "kgValidateInfos" | "kgActionType">;
45
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "kgGutter" | "kgSpan" | "kgValidateInfo" | "kgActionType">;
41
46
  $attrs: {
42
47
  [x: string]: unknown;
43
48
  };
@@ -56,8 +61,12 @@ declare const _default: {
56
61
  type: import("vue").PropType<string>;
57
62
  required: boolean;
58
63
  };
64
+ kgGutter: {
65
+ type: import("vue").PropType<number>;
66
+ default: number;
67
+ };
59
68
  kgSpan: {
60
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
69
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
61
70
  default: number;
62
71
  };
63
72
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -66,8 +75,8 @@ declare const _default: {
66
75
  kgDescriptionColumn: import("vue").PropType<string>;
67
76
  kgAction: import("vue").PropType<string>;
68
77
  kgActionParameter: import("vue").PropType<string>;
69
- kgValidateInfos: {
70
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
78
+ kgValidateInfo: {
79
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
71
80
  default: () => {};
72
81
  };
73
82
  kgActionType: {
@@ -79,8 +88,9 @@ declare const _default: {
79
88
  }>> & {
80
89
  onKgSubmit?: ((...args: any[]) => any) | undefined;
81
90
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgSubmit"[], string, {
82
- kgSpan: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
83
- kgValidateInfos: import("ant-design-vue/lib/form/useForm").validateInfos;
91
+ kgGutter: number;
92
+ kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
93
+ kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
84
94
  kgActionType: import("axios").Method;
85
95
  }, {}, string> & {
86
96
  beforeCreate?: ((() => void) | (() => void)[]) | undefined;
@@ -107,8 +117,12 @@ declare const _default: {
107
117
  type: import("vue").PropType<string>;
108
118
  required: boolean;
109
119
  };
120
+ kgGutter: {
121
+ type: import("vue").PropType<number>;
122
+ default: number;
123
+ };
110
124
  kgSpan: {
111
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
125
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
112
126
  default: number;
113
127
  };
114
128
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -117,8 +131,8 @@ declare const _default: {
117
131
  kgDescriptionColumn: import("vue").PropType<string>;
118
132
  kgAction: import("vue").PropType<string>;
119
133
  kgActionParameter: import("vue").PropType<string>;
120
- kgValidateInfos: {
121
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
134
+ kgValidateInfo: {
135
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
122
136
  default: () => {};
123
137
  };
124
138
  kgActionType: {
@@ -138,8 +152,12 @@ declare const _default: {
138
152
  type: import("vue").PropType<string>;
139
153
  required: boolean;
140
154
  };
155
+ kgGutter: {
156
+ type: import("vue").PropType<number>;
157
+ default: number;
158
+ };
141
159
  kgSpan: {
142
- type: import("vue").PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
160
+ type: import("vue").PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
143
161
  default: number;
144
162
  };
145
163
  kgType: import("vue").PropType<import("../..").KG_CONTROL_TYPES_ENUM>;
@@ -148,8 +166,8 @@ declare const _default: {
148
166
  kgDescriptionColumn: import("vue").PropType<string>;
149
167
  kgAction: import("vue").PropType<string>;
150
168
  kgActionParameter: import("vue").PropType<string>;
151
- kgValidateInfos: {
152
- type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").validateInfos>;
169
+ kgValidateInfo: {
170
+ type: import("vue").PropType<import("ant-design-vue/lib/form/useForm").ValidateInfo>;
153
171
  default: () => {};
154
172
  };
155
173
  kgActionType: {
@@ -161,8 +179,9 @@ declare const _default: {
161
179
  }>> & {
162
180
  onKgSubmit?: ((...args: any[]) => any) | undefined;
163
181
  }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "kgSubmit"[], "kgSubmit", {
164
- kgSpan: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
165
- kgValidateInfos: import("ant-design-vue/lib/form/useForm").validateInfos;
182
+ kgGutter: number;
183
+ kgSpan: 1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24;
184
+ kgValidateInfo: import("ant-design-vue/lib/form/useForm").ValidateInfo;
166
185
  kgActionType: import("axios").Method;
167
186
  }, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
168
187
  readonly Input: typeof KgControlInput;
@@ -1,19 +1,27 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
2
  import { KG_CONTROL_TYPES_ENUM } from '../../consts';
3
3
  import { Method } from 'axios';
4
- import { validateInfos } from 'ant-design-vue/lib/form/useForm';
4
+ import { ValidateInfo } from 'ant-design-vue/lib/form/useForm';
5
5
  export declare const getProps: () => {
6
6
  /** 变量名称. */
7
7
  kgVarName: {
8
8
  type: PropType<string>;
9
9
  required: boolean;
10
10
  };
11
+ /**
12
+ * 控件间隔.
13
+ * @default 6
14
+ */
15
+ kgGutter: {
16
+ type: PropType<number>;
17
+ default: number;
18
+ };
11
19
  /**
12
20
  * 控件宽度.
13
21
  * @default 6
14
22
  */
15
23
  kgSpan: {
16
- type: PropType<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
24
+ type: PropType<1 | 2 | 6 | 3 | 4 | 5 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24>;
17
25
  default: number;
18
26
  };
19
27
  /**
@@ -37,8 +45,8 @@ export declare const getProps: () => {
37
45
  /** 接口参数. */
38
46
  kgActionParameter: PropType<string>;
39
47
  /** 表单验证信息. */
40
- kgValidateInfos: {
41
- type: PropType<validateInfos>;
48
+ kgValidateInfo: {
49
+ type: PropType<ValidateInfo>;
42
50
  default: () => {};
43
51
  };
44
52
  /**
@@ -7,7 +7,7 @@ export declare function useKgVar(formID: string): {
7
7
  /** 变量配置数据. */
8
8
  kgVarStore: import("pinia").Store<"KgVar", import("../store/index.data").KgVarState, {
9
9
  getTopFormID(): string | null;
10
- getVarCatalogs(): Map<string, import("../../..").VarCatalog[]>;
10
+ getVarCats(): Map<string, import("../../..").VarCat[]>;
11
11
  }, {
12
12
  leave(formID: string): void;
13
13
  deleteAll(formID: string): void;
@@ -28,7 +28,7 @@ export declare function useKgVar(formID: string): {
28
28
  /** 变量配置数据. */
29
29
  kgVarStore: import("pinia").Store<"KgVar", import("../store/index.data").KgVarState, {
30
30
  getTopFormID(): string | null;
31
- getVarCatalogs(): Map<string, import("../../..").VarCatalog[]>;
31
+ getVarCats(): Map<string, import("../../..").VarCat[]>;
32
32
  }, {
33
33
  leave(formID: string): void;
34
34
  deleteAll(formID: string): void;
@@ -1,9 +1,9 @@
1
1
  import { type StoreDefinition } from 'pinia';
2
2
  import { KgVarState } from './index.data';
3
- import { VarCatalog } from '../../../apis/WMS/models';
3
+ import { VarCat } from '../../../apis/WMS/models';
4
4
  declare type IKgVarStore = StoreDefinition<'KgVar', KgVarState, {
5
5
  getTopFormID(): string | null;
6
- getVarCatalogs(): Map<string, Array<VarCatalog>>;
6
+ getVarCats(): Map<string, Array<VarCat>>;
7
7
  }, {
8
8
  leave(formID: string): void;
9
9
  deleteAll(formID: string): void;
@@ -1,9 +1,9 @@
1
- import { VarCatalog } from '../../../apis/WMS/models';
1
+ import { VarCat } from '../../../apis/WMS/models';
2
2
  export interface KgVarState {
3
3
  /**
4
4
  * 当前可能打开了多个界面, 需要按照先后顺序记录下来, 当打开变量配置弹窗时, 打开的是最近那个页面的变量配置.
5
5
  */
6
6
  formIDs: Array<string>;
7
7
  /** 变量别名. */
8
- varCatalogs: Map<string, Array<VarCatalog>>;
8
+ varCats: Map<string, Array<VarCat>>;
9
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.1.1-beta.1",
3
+ "version": "0.1.1-beta.2",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "rimraf dist && vue-tsc && vite build --mode development",