@kengic/vue 0.32.17 → 0.32.18
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/index.css +1 -1
- package/dist/kengic-vue.js +24434 -24399
- package/dist/src/model/index.d.ts +4 -0
- package/dist/src/project/src/utils/common/compUtils.d.ts +2 -2
- package/package.json +31 -14
|
@@ -1918,6 +1918,10 @@ interface IKgVarGridConfigProperties {
|
|
|
1918
1918
|
* <p>额外的配置属性. 对应 {@link VarGridDetail#props} 字段.</p>
|
|
1919
1919
|
*/
|
|
1920
1920
|
interface IKgVarGridDetailProperties {
|
|
1921
|
+
/**
|
|
1922
|
+
* 是否显示「复制表格内容」按钮. 默认为 false.
|
|
1923
|
+
*/
|
|
1924
|
+
isShowCopyContentButton?: boolean;
|
|
1921
1925
|
/**
|
|
1922
1926
|
* 是否进行翻译. 默认为 false.
|
|
1923
1927
|
* <p>如果为 true, 则把内容作为 i18n 的 key 对内容进行翻译.</p>
|
|
@@ -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) =>
|
|
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) =>
|
|
38
|
+
export declare const toTree: (array: any, startPid: any, currentDept: any, opt: any) => never[];
|
|
39
39
|
/**
|
|
40
40
|
* 简单实现防抖方法
|
|
41
41
|
*
|
package/package.json
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.32.
|
|
3
|
+
"version": "0.32.18",
|
|
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": "
|
|
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
|
|
16
|
-
"
|
|
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",
|
|
23
|
+
"cnpm--sync---execute": "npm run use-node && npx cnpm --yes sync @kengic/vue",
|
|
24
|
+
"cnpm--sync": "npm-run-all -s use-node cnpm--sync---execute",
|
|
17
25
|
"------ -------------------------------------------": "",
|
|
18
26
|
"preinstall": "node bin/preinstall.mjs",
|
|
19
27
|
"postinstall": "node bin/postinstall.mjs",
|
|
@@ -21,7 +29,8 @@
|
|
|
21
29
|
"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
30
|
"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
31
|
"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": "
|
|
32
|
+
"copy-to--luotao--smartfactory.product.wms.wms--hiway---copy": "tsx script/copy-to--luotao--smartfactory.product.wms.wms--hiway.ts",
|
|
33
|
+
"copy-to--luotao--smartfactory.product.wms.wms--hiway": "npm-run-all -s build copy-to--luotao--smartfactory.product.wms.wms--hiway---copy",
|
|
25
34
|
"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
35
|
"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
36
|
"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",
|
|
@@ -31,16 +40,23 @@
|
|
|
31
40
|
"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",
|
|
32
41
|
"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",
|
|
33
42
|
"----- --------------------------------------------": "",
|
|
34
|
-
"bump--major": "
|
|
35
|
-
"bump--
|
|
36
|
-
"bump--
|
|
37
|
-
"bump--
|
|
43
|
+
"bump--major---execute": "tsx script/bump.ts major",
|
|
44
|
+
"bump--major": "npm-run-all -s use-node bump--major---execute",
|
|
45
|
+
"bump--minor---execute": "tsx script/bump.ts minor",
|
|
46
|
+
"bump--minor": "npm-run-all -s use-node bump--minor---execute",
|
|
47
|
+
"bump--patch---execute": "tsx script/bump.ts patch",
|
|
48
|
+
"bump--patch": "npm-run-all -s use-node bump--patch---execute",
|
|
49
|
+
"bump--beta---execute": "tsx script/bump.ts beta",
|
|
50
|
+
"bump--beta": "npm-run-all -s use-node bump--beta---execute",
|
|
38
51
|
"---- ---------------------------------------------": "",
|
|
39
|
-
"publish--npm": "
|
|
40
|
-
"publish--
|
|
41
|
-
"publish--
|
|
42
|
-
"publish
|
|
43
|
-
"publish--
|
|
52
|
+
"publish--npm---npmrc-kengic": "npmrc kengic",
|
|
53
|
+
"publish--npm---execute": "npm publish ./ --registry https://registry.npmjs.org/ --access public --tag latest",
|
|
54
|
+
"publish--npm": "npm-run-all -s use-node publish--npm---npmrc-kengic publish--npm---execute",
|
|
55
|
+
"publish---execute": "tsx script/publish.ts",
|
|
56
|
+
"publish--major": "npm-run-all -s bump--major publish---execute",
|
|
57
|
+
"publish--minor": "npm-run-all -s bump--minor publish---execute",
|
|
58
|
+
"publish--patch": "npm-run-all -s bump--patch publish---execute",
|
|
59
|
+
"publish--beta": "npm-run-all -s bump--beta publish---execute"
|
|
44
60
|
},
|
|
45
61
|
"bin": {
|
|
46
62
|
"kg-vue": "bin/bin.mjs"
|
|
@@ -93,6 +109,7 @@
|
|
|
93
109
|
"less": "4.1.3",
|
|
94
110
|
"lodash-es": "4.17.21",
|
|
95
111
|
"md5": "2.3.0",
|
|
112
|
+
"npm-run-all": "4.1.5",
|
|
96
113
|
"picocolors": "1.0.0",
|
|
97
114
|
"pinia": "2.0.12",
|
|
98
115
|
"prettier": "3.3.3",
|