@kengic/vue 0.21.4-beta.2 → 0.21.5-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.css +1 -1
- package/dist/kengic-vue.js +3119 -3047
- package/dist/project/build/config/themeConfig.ts +67 -0
- package/dist/project/build/constant.ts +6 -0
- package/dist/project/build/generate/generateModifyVars.ts +39 -0
- package/dist/project/build/generate/icon/index.ts +66 -0
- package/dist/project/build/getConfigFileName.ts +7 -0
- package/dist/project/build/index.ts +9 -0
- package/dist/project/build/script/buildConf.ts +45 -0
- package/dist/project/build/script/postBuild.ts +21 -0
- package/dist/project/build/utils.ts +92 -0
- package/dist/project/build/vite/plugin/compress.ts +32 -0
- package/dist/project/build/vite/plugin/html.ts +39 -0
- package/dist/project/build/vite/plugin/imagemin.ts +34 -0
- package/dist/project/build/vite/plugin/index.ts +80 -0
- package/dist/project/build/vite/plugin/mock.ts +19 -0
- package/dist/project/build/vite/plugin/pwa.ts +33 -0
- package/dist/project/build/vite/plugin/styleImport.ts +81 -0
- package/dist/project/build/vite/plugin/svgSprite.ts +17 -0
- package/dist/project/build/vite/plugin/theme.ts +100 -0
- package/dist/project/build/vite/plugin/visualizer.ts +17 -0
- package/dist/project/build/vite/proxy.ts +34 -0
- package/dist/project/index.ts +1 -0
- package/dist/project/src/api/sys/model/menuModel.ts +17 -0
- package/dist/project/src/api/sys/model/uploadModel.ts +5 -0
- package/dist/project/src/api/sys/model/userModel.ts +57 -0
- package/dist/project/src/enums/CompTypeEnum.ts +32 -0
- package/dist/project/src/enums/DateTypeEnum.ts +8 -0
- package/dist/project/src/enums/appEnum.ts +58 -0
- package/dist/project/src/enums/breakpointEnum.ts +28 -0
- package/dist/project/src/enums/cacheEnum.ts +39 -0
- package/dist/project/src/enums/exceptionEnum.ts +27 -0
- package/dist/project/src/enums/httpEnum.ts +50 -0
- package/dist/project/src/enums/jeecgEnum.ts +23 -0
- package/dist/project/src/enums/menuEnum.ts +50 -0
- package/dist/project/src/enums/pageEnum.ts +19 -0
- package/dist/project/src/enums/roleEnum.ts +7 -0
- package/dist/project/src/enums/sizeEnum.ts +27 -0
- package/dist/project/types/axios.d.ts +57 -0
- package/dist/project/types/config.d.ts +178 -0
- package/dist/project/types/global.d.ts +92 -0
- package/dist/project/types/index.d.ts +27 -0
- package/dist/project/types/module.d.ts +18 -0
- package/dist/project/types/store.d.ts +59 -0
- package/dist/project/types/utils.d.ts +5 -0
- package/dist/project/types/vue-router.d.ts +47 -0
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.Modal.d.ts +0 -1
- package/dist/src/components/KgForm.Item/addon/KgForm.Item.Addon.Lookup.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Checkbox.d.ts +0 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.CheckboxGroup.d.ts +2 -3
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Date.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.DateRange.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Image.d.ts +94 -0
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Input.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.InputNumber.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.RadioGroup.d.ts +6 -7
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Select.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.Switch.d.ts +0 -1
- package/dist/src/components/KgForm.Item/components/KgForm.Item.TextArea.d.ts +0 -1
- package/dist/src/components/KgImage/KgImage.d.ts +100 -0
- package/dist/src/components/KgImage/index.d.ts +1 -0
- package/dist/src/components/KgSubmit/KgSubmit.d.ts +13 -4
- package/dist/src/components/KgSubmit/KgSubmit.hooks.d.ts +10 -3
- package/dist/src/components/KgSubmit/index.d.ts +1 -1
- package/dist/src/components/KgTable/components/KgTable.BodyCell.d.ts +0 -1
- package/dist/src/components/KgTable/components/KgTable.HeaderCell.d.ts +0 -1
- package/dist/src/components/KgTable/components/KgTable.Info.d.ts +0 -1
- package/dist/src/components/KgVar/index.vm.d.ts +2 -2
- package/dist/src/components/index.d.ts +2 -1
- package/dist/src/config/index.hooks.d.ts +11 -53
- package/dist/src/config/index.store.d.ts +38 -3
- package/dist/src/consts/index.d.ts +15 -6
- package/dist/src/consts/index.vm.d.ts +30 -2
- package/dist/src/helpers/ant-design-vue.d.ts +34 -3
- package/package.json +39 -17
@@ -1,10 +1,10 @@
|
|
1
|
-
import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
2
|
-
import { ButtonHTMLType, LegacyButtonType } from 'ant-design-vue/es/button/buttonTypes';
|
3
1
|
import { VueNode } from 'ant-design-vue/es/_util/type';
|
4
|
-
import {
|
2
|
+
import { ButtonHTMLType, LegacyButtonType } from 'ant-design-vue/es/button/buttonTypes';
|
5
3
|
import { SizeType } from 'ant-design-vue/es/config-provider';
|
6
4
|
import { RequiredMark } from 'ant-design-vue/es/form/Form';
|
7
5
|
import { ValidateMessages } from 'ant-design-vue/es/form/interface';
|
6
|
+
import { ButtonShape, ButtonType } from 'ant-design-vue/lib/button';
|
7
|
+
import { CSSProperties, ExtractPropTypes, HTMLAttributes, PropType } from 'vue';
|
8
8
|
export declare const formProps: () => {
|
9
9
|
layout: PropType<"horizontal" | "inline" | "vertical">;
|
10
10
|
labelCol: {
|
@@ -313,4 +313,35 @@ export declare const modalProps: () => {
|
|
313
313
|
originVNode: VueNode;
|
314
314
|
}) => VueNode>;
|
315
315
|
};
|
316
|
+
export declare const imageProps: () => {
|
317
|
+
src: StringConstructor;
|
318
|
+
wrapperClassName: StringConstructor;
|
319
|
+
wrapperStyle: {
|
320
|
+
type: PropType<CSSProperties>;
|
321
|
+
default: undefined;
|
322
|
+
};
|
323
|
+
rootClassName: StringConstructor;
|
324
|
+
prefixCls: StringConstructor;
|
325
|
+
previewPrefixCls: StringConstructor;
|
326
|
+
previewMask: {
|
327
|
+
type: PropType<false | (() => any)>;
|
328
|
+
default: undefined;
|
329
|
+
};
|
330
|
+
placeholder: StringConstructor;
|
331
|
+
fallback: StringConstructor;
|
332
|
+
preview: {
|
333
|
+
type: PropType<any>;
|
334
|
+
default: any;
|
335
|
+
};
|
336
|
+
onClick: {
|
337
|
+
type: PropType<(e: MouseEvent) => void>;
|
338
|
+
};
|
339
|
+
onError: {
|
340
|
+
type: PropType<(event: Event | string, source?: string, lineno?: number, colno?: number, error?: Error) => any>;
|
341
|
+
};
|
342
|
+
id: StringConstructor;
|
343
|
+
width: (NumberConstructor | StringConstructor)[];
|
344
|
+
height: (NumberConstructor | StringConstructor)[];
|
345
|
+
style: StringConstructor;
|
346
|
+
};
|
316
347
|
export {};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@kengic/vue",
|
3
|
-
"version": "0.21.
|
3
|
+
"version": "0.21.5-beta.0",
|
4
4
|
"scripts": {
|
5
5
|
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
6
|
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
@@ -12,8 +12,8 @@
|
|
12
12
|
"----- --------------------------------------------": "",
|
13
13
|
"gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
14
14
|
"--- ----------------------------------------------": "",
|
15
|
-
"bump-to:luotao.wms-vue3--dev-1
|
16
|
-
"copy-to:luotao.wms-vue3--dev-1
|
15
|
+
"bump-to:luotao.wms-vue3--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.ts",
|
16
|
+
"copy-to:luotao.wms-vue3--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.ts",
|
17
17
|
"bump-to:luotao.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.focus.ts",
|
18
18
|
"copy-to:luotao.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.focus.ts",
|
19
19
|
"- ------------------------------------------------": "",
|
@@ -32,6 +32,7 @@
|
|
32
32
|
"vue": "3.2.43"
|
33
33
|
},
|
34
34
|
"dependencies": {
|
35
|
+
"@ant-design/colors": "6.0.0",
|
35
36
|
"@ant-design/icons-vue": "6.1.0",
|
36
37
|
"@iconify-icons/akar-icons": "1.2.19",
|
37
38
|
"@iconify-icons/ant-design": "1.2.5",
|
@@ -40,38 +41,59 @@
|
|
40
41
|
"@iconify-icons/mdi": "1.2.48",
|
41
42
|
"@iconify-icons/ph": "1.2.5",
|
42
43
|
"@iconify/vue": "4.1.1",
|
43
|
-
"@vueuse/core": "8.9.4",
|
44
|
-
"@vueuse/shared": "8.9.4",
|
45
|
-
"ant-design-vue": "3.2.14",
|
46
|
-
"axios": "0.26.1",
|
47
|
-
"dayjs": "1.11.10",
|
48
|
-
"filesize": "10.1.0",
|
49
|
-
"html-to-image": "1.11.11",
|
50
|
-
"lodash-es": "4.17.21",
|
51
|
-
"pinia": "2.0.12",
|
52
|
-
"store": "2.0.12",
|
53
|
-
"vue-router": "4.1.6"
|
54
|
-
},
|
55
|
-
"devDependencies": {
|
56
44
|
"@kengic/pont": "1.2.11",
|
45
|
+
"@rys-fe/vite-plugin-theme": "0.8.6",
|
46
|
+
"@types/fs-extra": "9.0.13",
|
47
|
+
"@types/inquirer": "8.2.5",
|
57
48
|
"@types/lodash-es": "4.17.9",
|
58
49
|
"@types/node": "18.18.4",
|
59
50
|
"@types/semver": "7.5.3",
|
60
51
|
"@types/store": "2.0.3",
|
52
|
+
"@vitejs/plugin-legacy": "2.3.1",
|
61
53
|
"@vitejs/plugin-vue": "3.2.0",
|
62
54
|
"@vitejs/plugin-vue-jsx": "1.3.10",
|
55
|
+
"@vueuse/core": "8.9.4",
|
56
|
+
"@vueuse/shared": "8.9.4",
|
57
|
+
"ant-design-vue": "3.2.14",
|
58
|
+
"axios": "0.26.1",
|
63
59
|
"chalk": "4.1.2",
|
60
|
+
"dayjs": "1.11.10",
|
61
|
+
"dotenv": "16.0.3",
|
62
|
+
"filesize": "10.1.0",
|
63
|
+
"fs-extra": "10.1.0",
|
64
|
+
"html-to-image": "1.11.11",
|
65
|
+
"inquirer": "8.2.5",
|
64
66
|
"less": "4.1.3",
|
65
|
-
"
|
67
|
+
"lodash-es": "4.17.21",
|
68
|
+
"picocolors": "1.0.0",
|
69
|
+
"pinia": "2.0.12",
|
70
|
+
"prettier": "3.2.5",
|
66
71
|
"rimraf": "3.0.2",
|
67
72
|
"rollup": "2.79.1",
|
73
|
+
"rollup-plugin-visualizer": "5.8.3",
|
68
74
|
"semver": "7.5.4",
|
75
|
+
"store": "2.0.12",
|
69
76
|
"tsx": "3.12.3",
|
70
77
|
"typescript": "~4.8.4",
|
71
78
|
"vite": "3.2.5",
|
79
|
+
"vite-plugin-compression": "0.5.1",
|
80
|
+
"vite-plugin-html": "3.2.0",
|
81
|
+
"vite-plugin-imagemin": "0.6.1",
|
82
|
+
"vite-plugin-mkcert": "1.10.1",
|
83
|
+
"vite-plugin-mock": "2.9.6",
|
84
|
+
"vite-plugin-optimize-persist": "0.1.2",
|
85
|
+
"vite-plugin-package-config": "0.1.1",
|
86
|
+
"vite-plugin-purge-icons": "0.8.2",
|
87
|
+
"vite-plugin-pwa": "0.12.8",
|
88
|
+
"vite-plugin-style-import": "2.0.0",
|
89
|
+
"vite-plugin-svg-icons": "2.0.1",
|
90
|
+
"vite-plugin-vue-setup-extend": "0.4.0",
|
91
|
+
"vite-plugin-windicss": "1.8.8",
|
72
92
|
"vue": "3.2.43",
|
93
|
+
"vue-router": "4.1.6",
|
73
94
|
"vue-tsc": "1.8.27"
|
74
95
|
},
|
96
|
+
"devDependencies": {},
|
75
97
|
"main": "./dist/kengic-vue.js",
|
76
98
|
"module": "./dist/kengic-vue.js",
|
77
99
|
"types": "./dist/src/index.d.ts",
|