@kengic/vue 0.30.1-beta.80 → 0.30.1-beta.82

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/kengic-vue.js +5627 -5525
  2. package/dist/src/component/KgAppSelect/KgAppSelect.d.ts +7 -8
  3. package/dist/src/component/KgAppSelect/KgAppSelect.store.d.ts +3 -3
  4. package/dist/src/component/KgCanvas/KgCanvas.event.d.ts +40 -40
  5. package/dist/src/component/KgCanvas/KgCanvas.hooks.d.ts +14 -14
  6. package/dist/src/component/KgForm/KgForm.event.d.ts +30 -30
  7. package/dist/src/component/KgForm/KgForm.hooks.d.ts +10 -10
  8. package/dist/src/component/KgForm.Item/KgForm.Item.CheckboxGroup.d.ts +0 -2
  9. package/dist/src/component/KgModal02/KgModal02.d.ts +3 -9
  10. package/dist/src/component/KgSearch/KgSearch.hooks.d.ts +6 -2
  11. package/dist/src/component/KgSearch/KgSearch.service.d.ts +2 -2
  12. package/dist/src/component/KgSearch/KgSearch.store.d.ts +1 -0
  13. package/dist/src/component/KgSubmit/KgSubmit.event.d.ts +36 -36
  14. package/dist/src/component/KgSubmit/KgSubmit.hooks.d.ts +12 -12
  15. package/dist/src/component/KgTable02/KgTable02.event.d.ts +3 -3
  16. package/dist/src/component/KgVar/KgVar.d.ts +1 -0
  17. package/dist/src/component/KgVar/KgVar.event.d.ts +19 -14
  18. package/dist/src/component/KgVar/KgVar.hooks.d.ts +3 -3
  19. package/dist/src/component/KgWarehouse/KgWarehouse.d.ts +4 -1
  20. package/dist/src/component/KgWarehouse/KgWarehouse.event.d.ts +14 -8
  21. package/dist/src/component/KgWarehouse/KgWarehouse.hooks.d.ts +22 -4
  22. package/dist/src/component/KgWarehouse/KgWarehouse.store.d.ts +7 -14
  23. package/dist/src/const/const.model.d.ts +38 -40
  24. package/dist/src/util/kg.util.d.ts +6 -6
  25. package/package.json +2 -1
@@ -63,6 +63,9 @@ export declare const KG: {
63
63
  */
64
64
  PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
65
65
  id: {
66
+ /**
67
+ * 表单.
68
+ */
66
69
  type: import("vue").PropType<string>;
67
70
  required: boolean;
68
71
  };
@@ -80,27 +83,18 @@ export declare const KG: {
80
83
  type: import("vue").PropType<boolean>;
81
84
  default: boolean;
82
85
  };
83
- }>>>; /**
84
- * 变量名称.
85
- */
86
- }; /**
87
- * 变量名称.
88
- */
86
+ }>>>;
87
+ };
89
88
  kgIsEditable: {
90
- type: import("vue").PropType<boolean>;
91
- default: boolean; /**
89
+ type: import("vue").PropType<boolean>; /**
92
90
  * 变量名称.
93
91
  */
94
- }; /**
95
- * 变量名称.
96
- */
92
+ default: boolean;
93
+ };
97
94
  kgIsEnableOverview: {
98
95
  type: import("vue").PropType<boolean>;
99
96
  default: boolean;
100
97
  };
101
- /**
102
- * 模拟器.
103
- */
104
98
  kgIsGridBackground: {
105
99
  type: import("vue").PropType<boolean>;
106
100
  default: boolean;
@@ -440,6 +434,9 @@ export declare const KG_CONST: {
440
434
  */
441
435
  PROPS: InjectionKey<Partial<import("vue").ExtractPropTypes<{
442
436
  id: {
437
+ /**
438
+ * 表单.
439
+ */
443
440
  type: import("vue").PropType<string>;
444
441
  required: boolean;
445
442
  };
@@ -457,27 +454,18 @@ export declare const KG_CONST: {
457
454
  type: import("vue").PropType<boolean>;
458
455
  default: boolean;
459
456
  };
460
- }>>>; /**
461
- * 变量名称.
462
- */
463
- }; /**
464
- * 变量名称.
465
- */
457
+ }>>>;
458
+ };
466
459
  kgIsEditable: {
467
- type: import("vue").PropType<boolean>;
468
- default: boolean; /**
460
+ type: import("vue").PropType<boolean>; /**
469
461
  * 变量名称.
470
462
  */
471
- }; /**
472
- * 变量名称.
473
- */
463
+ default: boolean;
464
+ };
474
465
  kgIsEnableOverview: {
475
466
  type: import("vue").PropType<boolean>;
476
467
  default: boolean;
477
468
  };
478
- /**
479
- * 模拟器.
480
- */
481
469
  kgIsGridBackground: {
482
470
  type: import("vue").PropType<boolean>;
483
471
  default: boolean;
@@ -760,17 +748,27 @@ export declare const KG_CONST: {
760
748
  */
761
749
  __KG__TABLE_TEMP_ID__: string;
762
750
  };
763
- /** 模块. */
764
- export declare const enum KG_APP {
765
- /** 数据管理. */
766
- WMS_DATA_MANAGER = "data-manager",
767
- /** 仓库管理. */
768
- WMS_BUSINESS_MANAGER = "business-manager",
769
- /** WCS. */
770
- WCS = "wcs",
771
- /** 系统管理. */
772
- SYS = "sys"
773
- }
751
+ /**
752
+ * 模块.
753
+ */
754
+ export declare const KG_APP: {
755
+ /**
756
+ * 系统管理.
757
+ */
758
+ readonly SYS: "sys";
759
+ /**
760
+ * WCS.
761
+ */
762
+ readonly WCS: "wcs";
763
+ /**
764
+ * 仓库管理.
765
+ */
766
+ readonly WMS_BUSINESS_MANAGER: "business-manager";
767
+ /**
768
+ * 数据管理.
769
+ */
770
+ readonly WMS_DATA_MANAGER: "data-manager";
771
+ };
774
772
  /** 模块路径前缀. */
775
773
  export declare const enum KG_APP_PREFIX {
776
774
  /** 数据管理. */
@@ -783,7 +781,7 @@ export declare const enum KG_APP_PREFIX {
783
781
  SYS = "/sys"
784
782
  }
785
783
  /** 所有模块. */
786
- export declare const KG_APPS: Array<KG_APP>;
784
+ export declare const KG_APPS: Array<string>;
787
785
  /** 所有模块路径前缀. */
788
786
  export declare const KG_APP_PREFIXS: Array<KG_APP_PREFIX>;
789
787
  /**
@@ -1,7 +1,7 @@
1
1
  import { KgUtil as KgCoreUtil } from '@kengic/core.core';
2
2
  import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
3
3
  import dayjs, { Dayjs } from 'dayjs';
4
- import { IKgVarButtonModalProperties, KG_APP } from '../const';
4
+ import { IKgVarButtonModalProperties } from '../const';
5
5
  import { Menu } from '../project/src/router/types';
6
6
  /**
7
7
  * 工具方法.
@@ -141,7 +141,7 @@ export declare class KgUtil {
141
141
  * @param app 模块.
142
142
  * @return {} 如果模块具有访问权限则返回 true, 否则返回 false.
143
143
  */
144
- static isAppAuthenticated(app: KG_APP | null | undefined): boolean;
144
+ static isAppAuthenticated(app: string | null | undefined): boolean;
145
145
  /**
146
146
  * 判断某个地址是否具有访问权限.
147
147
  *
@@ -169,7 +169,7 @@ export declare class KgUtil {
169
169
  * @param app 模块.
170
170
  * @return {} 如果能找到, 则返回该菜单, 否则返回 null.
171
171
  */
172
- static getFirstLeafMenu(app?: KG_APP | null): Menu | null;
172
+ static getFirstLeafMenu(app?: string | null): Menu | null;
173
173
  /**
174
174
  * 翻译菜单标题.
175
175
  *
@@ -189,20 +189,20 @@ export declare class KgUtil {
189
189
  * @param path 路径.
190
190
  * @param app 模块.
191
191
  */
192
- static isPathInApp(path: string | null | undefined, app: KG_APP | null): boolean;
192
+ static isPathInApp(path: string | null | undefined, app: string | null): boolean;
193
193
  /**
194
194
  * 根据地址获取模块.
195
195
  * @param path 地址.
196
196
  * @return {} 地址所属模块.
197
197
  */
198
- static getAppByPath(path: string | null | undefined): KG_APP | null;
198
+ static getAppByPath(path: string | null | undefined): string | null;
199
199
  /**
200
200
  * 获取模块的首页地址.
201
201
  * @param app 模块.
202
202
  * @return {} 该模块的首页地址.
203
203
  * @throws {} 如果模块无法识别, 会报错.
204
204
  */
205
- static getAppIndexPath(app: KG_APP): string;
205
+ static getAppIndexPath(app: string): string;
206
206
  /**
207
207
  * <p>将 JSON 字符串形式的参数 `'{"foo":1,"bar":2}'` 转换为对象形式的参数 `{ "foo": 1, "bar": 2 }`.</p>
208
208
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.30.1-beta.80",
3
+ "version": "0.30.1-beta.82",
4
4
  "scripts": {
5
5
  "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
6
6
  "build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
@@ -18,6 +18,7 @@
18
18
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-integration.ts",
19
19
  "copy-to--luotao--smartfactory.product.simulator--main": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.simulator--main.ts",
20
20
  "copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
21
+ "copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run use-node && npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
21
22
  "----- --------------------------------------------": "更新组件库的版本",
22
23
  "bump--major": "npm run use-node && tsx script/bump.ts major",
23
24
  "bump--minor": "npm run use-node && tsx script/bump.ts minor",