@kengic/vue 0.5.21 → 0.5.22
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 +926 -905
- package/dist/src/components/KgVar/index.vm.d.ts +9 -0
- package/package.json +83 -83
@@ -1,5 +1,6 @@
|
|
1
1
|
import { InjectionKey } from 'vue';
|
2
2
|
import { IKgFormItemSlotControl } from '../KgForm.Item/index.vm';
|
3
|
+
import { IKgTableRow } from '../KgTable';
|
3
4
|
export declare type IKgSlots = {
|
4
5
|
KgSearch?: {
|
5
6
|
left?: () => any;
|
@@ -9,6 +10,14 @@ export declare type IKgSlots = {
|
|
9
10
|
[variable: string]: (args: IKgFormItemSlotControl) => any;
|
10
11
|
};
|
11
12
|
};
|
13
|
+
KgTable?: {
|
14
|
+
expandedRowRender?: (args: {
|
15
|
+
record: IKgTableRow;
|
16
|
+
index: number;
|
17
|
+
indent: number;
|
18
|
+
expanded: boolean;
|
19
|
+
}) => any;
|
20
|
+
};
|
12
21
|
};
|
13
22
|
/** 注入 kgSlots 参数. */
|
14
23
|
export declare const DI_KG_SLOTS: InjectionKey<IKgSlots | undefined>;
|
package/package.json
CHANGED
@@ -1,83 +1,83 @@
|
|
1
|
-
{
|
2
|
-
"name": "@kengic/vue",
|
3
|
-
"version": "0.5.
|
4
|
-
"scripts": {
|
5
|
-
"build": "rimraf dist && vue-tsc && vite build",
|
6
|
-
"build:dev": "rimraf dist && vue-tsc && vite build --mode development",
|
7
|
-
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
8
|
-
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
9
|
-
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
10
|
-
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
11
|
-
"-------------------- C": "",
|
12
|
-
"bump-to:luotao.c.wms-vue3": "tsx scripts/bump-to.luotao.c.wms-vue3.ts",
|
13
|
-
"copy-to:luotao.c.wms-vue3": "tsx scripts/copy-to.luotao.c.wms-vue3.ts",
|
14
|
-
"copy-to:luotao.c.wms-vue3 & build": "npm run build:dev && npm run copy-to:luotao.c.wms-vue3",
|
15
|
-
"-------------------- D": "",
|
16
|
-
"bump-to:luotao.wms-vue3": "tsx scripts/bump-to.luotao.wms-vue3.ts",
|
17
|
-
"copy-to:luotao.wms-vue3": "tsx scripts/copy-to.luotao.wms-vue3.ts",
|
18
|
-
"copy-to:luotao.wms-vue3 & build": "npm run build:dev && npm run copy-to:luotao.wms-vue3",
|
19
|
-
"--------------------": "",
|
20
|
-
"gen:apis:WMS": "kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
21
|
-
"bump-version:beta": "tsx scripts/bump.ts beta",
|
22
|
-
"bump-version:major": "tsx scripts/bump.ts major",
|
23
|
-
"bump-version:minor": "tsx scripts/bump.ts minor",
|
24
|
-
"bump-version:patch": "tsx scripts/bump.ts patch",
|
25
|
-
"publish:all": "tsx scripts/publish.ts",
|
26
|
-
"publish:npm": "npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
|
27
|
-
},
|
28
|
-
"peerDependencies": {
|
29
|
-
"vue": "3.2.43"
|
30
|
-
},
|
31
|
-
"dependencies": {
|
32
|
-
"@ant-design/icons-vue": "6.1.0",
|
33
|
-
"@iconify-icons/ant-design": "1.2.5",
|
34
|
-
"@iconify/vue": "4.1.1",
|
35
|
-
"@vueuse/core": "8.9.4",
|
36
|
-
"@vueuse/shared": "8.9.4",
|
37
|
-
"ant-design-vue": "3.2.14",
|
38
|
-
"axios": "0.26.1",
|
39
|
-
"dayjs": "1.11.6",
|
40
|
-
"filesize": "10.0.6",
|
41
|
-
"lodash-es": "4.17.21",
|
42
|
-
"pinia": "2.0.12",
|
43
|
-
"store": "2.0.12",
|
44
|
-
"vue-router": "4.1.6"
|
45
|
-
},
|
46
|
-
"devDependencies": {
|
47
|
-
"@kengic/pont": "1.2.10-beta.37",
|
48
|
-
"@types/lodash-es": "~4.17.7",
|
49
|
-
"@types/node": "~18.14.6",
|
50
|
-
"@types/semver": "~7.3.13",
|
51
|
-
"@types/store": "2.0.2",
|
52
|
-
"@vitejs/plugin-vue": "~3.2.0",
|
53
|
-
"@vitejs/plugin-vue-jsx": "~1.3.10",
|
54
|
-
"chalk": "~4.1.2",
|
55
|
-
"less": "~4.1.3",
|
56
|
-
"prettier": "~2.8.4",
|
57
|
-
"rimraf": "~3.0.2",
|
58
|
-
"rollup": "~2.79.1",
|
59
|
-
"semver": "~7.3.8",
|
60
|
-
"tsx": "~3.12.3",
|
61
|
-
"typescript": "~4.8.4",
|
62
|
-
"vite": "~3.2.5",
|
63
|
-
"vue": "~3.2.45",
|
64
|
-
"vue-tsc": "~1.2.0"
|
65
|
-
},
|
66
|
-
"main": "./dist/kengic-vue.js",
|
67
|
-
"module": "./dist/kengic-vue.js",
|
68
|
-
"types": "./dist/src/index.d.ts",
|
69
|
-
"exports": {
|
70
|
-
".": {
|
71
|
-
"import": "./dist/kengic-vue.js"
|
72
|
-
},
|
73
|
-
"./dist/index.css": "./dist/index.css"
|
74
|
-
},
|
75
|
-
"prettier": {
|
76
|
-
"endOfLine": "auto",
|
77
|
-
"printWidth": 160,
|
78
|
-
"semi": true,
|
79
|
-
"singleQuote": true,
|
80
|
-
"tabWidth": 4,
|
81
|
-
"trailingComma": "all"
|
82
|
-
}
|
83
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@kengic/vue",
|
3
|
+
"version": "0.5.22",
|
4
|
+
"scripts": {
|
5
|
+
"build": "rimraf dist && vue-tsc && vite build",
|
6
|
+
"build:dev": "rimraf dist && vue-tsc && vite build --mode development",
|
7
|
+
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
8
|
+
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
9
|
+
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
10
|
+
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
11
|
+
"-------------------- C": "",
|
12
|
+
"bump-to:luotao.c.wms-vue3": "tsx scripts/bump-to.luotao.c.wms-vue3.ts",
|
13
|
+
"copy-to:luotao.c.wms-vue3": "tsx scripts/copy-to.luotao.c.wms-vue3.ts",
|
14
|
+
"copy-to:luotao.c.wms-vue3 & build": "npm run build:dev && npm run copy-to:luotao.c.wms-vue3",
|
15
|
+
"-------------------- D": "",
|
16
|
+
"bump-to:luotao.wms-vue3": "tsx scripts/bump-to.luotao.wms-vue3.ts",
|
17
|
+
"copy-to:luotao.wms-vue3": "tsx scripts/copy-to.luotao.wms-vue3.ts",
|
18
|
+
"copy-to:luotao.wms-vue3 & build": "npm run build:dev && npm run copy-to:luotao.wms-vue3",
|
19
|
+
"--------------------": "",
|
20
|
+
"gen:apis:WMS": "kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
21
|
+
"bump-version:beta": "tsx scripts/bump.ts beta",
|
22
|
+
"bump-version:major": "tsx scripts/bump.ts major",
|
23
|
+
"bump-version:minor": "tsx scripts/bump.ts minor",
|
24
|
+
"bump-version:patch": "tsx scripts/bump.ts patch",
|
25
|
+
"publish:all": "tsx scripts/publish.ts",
|
26
|
+
"publish:npm": "npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public"
|
27
|
+
},
|
28
|
+
"peerDependencies": {
|
29
|
+
"vue": "3.2.43"
|
30
|
+
},
|
31
|
+
"dependencies": {
|
32
|
+
"@ant-design/icons-vue": "6.1.0",
|
33
|
+
"@iconify-icons/ant-design": "1.2.5",
|
34
|
+
"@iconify/vue": "4.1.1",
|
35
|
+
"@vueuse/core": "8.9.4",
|
36
|
+
"@vueuse/shared": "8.9.4",
|
37
|
+
"ant-design-vue": "3.2.14",
|
38
|
+
"axios": "0.26.1",
|
39
|
+
"dayjs": "1.11.6",
|
40
|
+
"filesize": "10.0.6",
|
41
|
+
"lodash-es": "4.17.21",
|
42
|
+
"pinia": "2.0.12",
|
43
|
+
"store": "2.0.12",
|
44
|
+
"vue-router": "4.1.6"
|
45
|
+
},
|
46
|
+
"devDependencies": {
|
47
|
+
"@kengic/pont": "1.2.10-beta.37",
|
48
|
+
"@types/lodash-es": "~4.17.7",
|
49
|
+
"@types/node": "~18.14.6",
|
50
|
+
"@types/semver": "~7.3.13",
|
51
|
+
"@types/store": "2.0.2",
|
52
|
+
"@vitejs/plugin-vue": "~3.2.0",
|
53
|
+
"@vitejs/plugin-vue-jsx": "~1.3.10",
|
54
|
+
"chalk": "~4.1.2",
|
55
|
+
"less": "~4.1.3",
|
56
|
+
"prettier": "~2.8.4",
|
57
|
+
"rimraf": "~3.0.2",
|
58
|
+
"rollup": "~2.79.1",
|
59
|
+
"semver": "~7.3.8",
|
60
|
+
"tsx": "~3.12.3",
|
61
|
+
"typescript": "~4.8.4",
|
62
|
+
"vite": "~3.2.5",
|
63
|
+
"vue": "~3.2.45",
|
64
|
+
"vue-tsc": "~1.2.0"
|
65
|
+
},
|
66
|
+
"main": "./dist/kengic-vue.js",
|
67
|
+
"module": "./dist/kengic-vue.js",
|
68
|
+
"types": "./dist/src/index.d.ts",
|
69
|
+
"exports": {
|
70
|
+
".": {
|
71
|
+
"import": "./dist/kengic-vue.js"
|
72
|
+
},
|
73
|
+
"./dist/index.css": "./dist/index.css"
|
74
|
+
},
|
75
|
+
"prettier": {
|
76
|
+
"endOfLine": "auto",
|
77
|
+
"printWidth": 160,
|
78
|
+
"semi": true,
|
79
|
+
"singleQuote": true,
|
80
|
+
"tabWidth": 4,
|
81
|
+
"trailingComma": "all"
|
82
|
+
}
|
83
|
+
}
|