@kengic/vue 0.32.16 → 0.32.18-beta.0

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.
@@ -26,7 +26,7 @@ export declare function randomString(length: number, chats?: string): string;
26
26
  * @param opt 配置参数
27
27
  * @param startPid 父节点
28
28
  */
29
- export declare const listToTree: (array: any, opt: any, startPid: any) => any;
29
+ export declare const listToTree: (array: any, opt: any, startPid: any) => never[];
30
30
  /**
31
31
  * 递归构建tree
32
32
  * @param array
@@ -35,7 +35,7 @@ export declare const listToTree: (array: any, opt: any, startPid: any) => any;
35
35
  * @param opt
36
36
  * @returns {Array}
37
37
  */
38
- export declare const toTree: (array: any, startPid: any, currentDept: any, opt: any) => any;
38
+ export declare const toTree: (array: any, startPid: any, currentDept: any, opt: any) => never[];
39
39
  /**
40
40
  * 简单实现防抖方法
41
41
  *
@@ -1,4 +1,4 @@
1
- import { IKgEventListener, IKgRemoveEventListener, KgCoreUtil } from '@kengic/core.core';
1
+ import { ____DEBUG____, ____ERROR____, ____INFO_____, ____WARN_____, IKgEventListener, IKgRemoveEventListener, KgCoreUtil } from '@kengic/core.core';
2
2
  import { ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
3
3
  import dayjs, { Dayjs } from 'dayjs';
4
4
  import { Slots } from 'vue';
@@ -364,3 +364,4 @@ export declare type ModalFunc = {
364
364
  showLoading(): void;
365
365
  hideLoading(): void;
366
366
  };
367
+ export { ____DEBUG____, ____ERROR____, ____INFO_____, ____WARN_____ };
package/package.json CHANGED
@@ -1,18 +1,25 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.32.16",
3
+ "version": "0.32.18-beta.0",
4
4
  "packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
5
5
  "engines": {
6
6
  "node": "24.14.1",
7
7
  "pnpm": "10.33.0"
8
8
  },
9
9
  "scripts": {
10
- "build": "npm run use-node && rimraf dist && vue-tsc && vite build",
10
+ "build---rimraf-dist": "rimraf dist",
11
+ "build---vue-tsc": "vue-tsc",
12
+ "build---vite-build": "vite build",
13
+ "build": "npm-run-all -s use-node build---rimraf-dist build---vue-tsc build---vite-build",
11
14
  "build--development": "npm run use-node && rimraf dist && vue-tsc && vite build --mode development",
12
15
  "--------------------------------------------------": "",
13
16
  "gen-apis--WMS": "npm run use-node && kengic-pont generate-apis --config kg.config.ts --origin WMS",
14
17
  "- ------------------------------------------------": "",
15
- "use-node": "npm cache clean -f && nvm use 24.14.1 && corepack enable && corepack use pnpm@10.33.0",
18
+ "use-node---clean-cache": "npm cache clean -f",
19
+ "use-node---use-node": "nvm use 24.14.1",
20
+ "use-node---corepack-enable": "corepack enable",
21
+ "use-node---use-pnpm": "corepack use pnpm@10.33.0",
22
+ "use-node": "npm-run-all -s use-node---clean-cache use-node---use-node use-node---corepack-enable use-node---use-pnpm",
16
23
  "cnpm--sync": "npm run use-node && npx cnpm --yes sync @kengic/vue",
17
24
  "------ -------------------------------------------": "",
18
25
  "preinstall": "node bin/preinstall.mjs",
@@ -21,7 +28,8 @@
21
28
  "bump-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run use-node && tsx script/bump-to--luotao.smartfactory.product.wms.wms--dev-3.2.ts",
22
29
  "bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run use-node && tsx script/bump-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
23
30
  "copy-to--luotao--smartfactory.product.wms.wms--dev-3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--dev-3.2.ts",
24
- "copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
31
+ "copy-to--luotao--smartfactory.product.wms.wms--hiway--copy": "tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
32
+ "copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm-run-all -s build copy-to--luotao--smartfactory.product.wms.wms--hiway--copy",
25
33
  "copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-zonsen-ducar.ts",
26
34
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory.ts",
27
35
  "copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.wms.wms--project-kengic-factory-test.ts",
@@ -29,17 +37,22 @@
29
37
  "copy-to--luotao--smartfactory.product.simulator--main": "npm run build--development && tsx script/copy-to--luotao--smartfactory.product.simulator--main.ts",
30
38
  "copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.haohua.basic.was-java--PcrTireWeb.ts",
31
39
  "copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.product-cp.view--FMS3.2.ts",
40
+ "copy-to--luotao--smartfactory.tyre.product-bbj.view--sailun-djk-pg-dev": "npm run build--development && tsx script/copy-to--luotao--smartfactory.tyre.product-bbj.view--sailun-djk-pg-dev.ts",
32
41
  "----- --------------------------------------------": "",
33
42
  "bump--major": "npm run use-node && tsx script/bump.ts major",
34
43
  "bump--minor": "npm run use-node && tsx script/bump.ts minor",
35
44
  "bump--patch": "npm run use-node && tsx script/bump.ts patch",
36
- "bump--beta": "npm run use-node && tsx script/bump.ts beta",
45
+ "bump--beta---execute": "tsx script/bump.ts beta",
46
+ "bump--beta": "npm-run-all -s use-node bump--beta---execute",
37
47
  "---- ---------------------------------------------": "",
38
- "publish--npm": "npm run use-node && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public --tag latest",
48
+ "publish--npm---npmrc-kengic": "npmrc kengic",
49
+ "publish--npm---execute": "npm publish ./ --registry https://registry.npmjs.org/ --access public --tag latest",
50
+ "publish--npm": "npm-run-all -s use-node publish--npm---npmrc-kengic publish--npm---execute",
39
51
  "publish--major": "npm run bump--major && tsx script/publish.ts",
40
52
  "publish--minor": "npm run bump--minor && tsx script/publish.ts",
41
53
  "publish--patch": "npm run bump--patch && tsx script/publish.ts",
42
- "publish--beta": "npm run bump--beta && tsx script/publish.ts"
54
+ "publish--beta---execute": "tsx script/publish.ts",
55
+ "publish--beta": "npm-run-all -s bump--beta publish--beta---execute"
43
56
  },
44
57
  "bin": {
45
58
  "kg-vue": "bin/bin.mjs"
@@ -84,7 +97,7 @@
84
97
  "crypto-js": "4.1.1",
85
98
  "dayjs": "1.11.10",
86
99
  "dotenv": "16.0.3",
87
- "element-plus": "2.12.0",
100
+ "element-plus": "2.14.3",
88
101
  "filesize": "10.1.0",
89
102
  "fs-extra": "10.1.0",
90
103
  "html-to-image": "1.11.11",
@@ -92,6 +105,7 @@
92
105
  "less": "4.1.3",
93
106
  "lodash-es": "4.17.21",
94
107
  "md5": "2.3.0",
108
+ "npm-run-all": "4.1.5",
95
109
  "picocolors": "1.0.0",
96
110
  "pinia": "2.0.12",
97
111
  "prettier": "3.3.3",