@kengic/vue 0.25.4-beta.9 → 0.25.4
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/kengic-vue.js +19815 -16635
- package/dist/project/build/vite/plugin/index.ts +0 -4
- package/dist/src/config/index.d.ts +1 -1
- package/dist/src/config/setup/index.d.ts +3 -0
- package/dist/src/config/{setup.d.ts → setup/setup.d.ts} +4 -20
- package/dist/src/config/setup/setupKgLocale.d.ts +29 -0
- package/dist/src/config/setup/setupKgStore.d.ts +18 -0
- package/dist/src/project/src/components/Dropdown/src/typing.d.ts +1 -1
- package/dist/src/project/src/enums/cacheEnum.d.ts +0 -1
- package/dist/src/project/src/locales/index.d.ts +1 -0
- package/dist/src/project/src/locales/setupI18n.d.ts +4 -0
- package/dist/src/project/src/settings/index.d.ts +0 -1
- package/dist/src/project/src/store/modules/locale.d.ts +0 -16
- package/dist/src/utils/kg-logger.util.d.ts +1 -1
- package/package.json +121 -121
- package/dist/src/project/src/settings/localeSetting.d.ts +0 -7
@@ -11,7 +11,6 @@ import windiCSS from 'vite-plugin-windicss';
|
|
11
11
|
import { configCompressPlugin } from './compress';
|
12
12
|
import { configHtmlPlugin } from './html';
|
13
13
|
import { configImageminPlugin } from './imagemin';
|
14
|
-
// import { configMockPlugin } from './mock';
|
15
14
|
import { configPwaConfig } from './pwa';
|
16
15
|
import { configStyleImportPlugin } from './styleImport';
|
17
16
|
import { configSvgIconsPlugin } from './svgSprite';
|
@@ -46,9 +45,6 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
|
|
46
45
|
// vite-plugin-svg-icons
|
47
46
|
vitePlugins.push(configSvgIconsPlugin(isBuild));
|
48
47
|
|
49
|
-
// vite-plugin-mock
|
50
|
-
// VITE_USE_MOCK && vitePlugins.push(configMockPlugin(isBuild));
|
51
|
-
|
52
48
|
// vite-plugin-purge-icons
|
53
49
|
vitePlugins.push(purgeIcons());
|
54
50
|
|
@@ -1,24 +1,7 @@
|
|
1
|
-
import {
|
1
|
+
import { StoreDefinition } from 'pinia';
|
2
2
|
import { App } from 'vue';
|
3
3
|
import { Router } from 'vue-router';
|
4
|
-
import { IKgOption, P } from '
|
5
|
-
/**
|
6
|
-
* 配置 pinia 实例.
|
7
|
-
* @param pinia pinia 实例.
|
8
|
-
*/
|
9
|
-
export declare function setPinia(pinia: Pinia): void;
|
10
|
-
/**
|
11
|
-
* 获取 pinia 实例.
|
12
|
-
* @return {} pinia 实例.
|
13
|
-
* @throws Error 如果 pinia 实例为空, 抛错.
|
14
|
-
*/
|
15
|
-
export declare function getPinia(): Pinia | null;
|
16
|
-
/**
|
17
|
-
* 设置 pinia.
|
18
|
-
*
|
19
|
-
* @param pinia pinia.
|
20
|
-
*/
|
21
|
-
export declare function setupKgStore(pinia: Pinia): void;
|
4
|
+
import { IKgOption, P } from '../index.store';
|
22
5
|
export declare type IKgOptions = {
|
23
6
|
/**
|
24
7
|
* 语言数据.
|
@@ -38,6 +21,7 @@ export declare type IKgOptions = {
|
|
38
21
|
};
|
39
22
|
/**
|
40
23
|
* 初始化组件库.
|
24
|
+
*
|
41
25
|
* @param options 参数.
|
42
26
|
*/
|
43
|
-
export declare function setup(options: IKgOptions): void
|
27
|
+
export declare function setup(options: IKgOptions): Promise<void>;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { DropMenu } from '../../project/src/components/Dropdown/src/typing';
|
2
|
+
import { LocaleSetting, LocaleType } from '../../project/types/config';
|
3
|
+
export declare const LOCALE: {
|
4
|
+
KO_KR: LocaleType;
|
5
|
+
EN: LocaleType;
|
6
|
+
VI_VN: LocaleType;
|
7
|
+
ZH_CN: LocaleType;
|
8
|
+
ES_ES: LocaleType;
|
9
|
+
FR_FR: LocaleType;
|
10
|
+
KM_KH: LocaleType;
|
11
|
+
};
|
12
|
+
export declare let localeList: DropMenu[];
|
13
|
+
export declare const localeSetting: LocaleSetting;
|
14
|
+
export declare type IKgLocaleOptions = {
|
15
|
+
/**
|
16
|
+
* <p>可选语言. 如果为空则为所有语言.</p>
|
17
|
+
*/
|
18
|
+
availableLocales?: Array<LocaleType>;
|
19
|
+
/**
|
20
|
+
* 默认语言.
|
21
|
+
*
|
22
|
+
* @default 'zh_CN'.
|
23
|
+
*/
|
24
|
+
defaultLocale?: LocaleType;
|
25
|
+
};
|
26
|
+
/**
|
27
|
+
* 配置语言.
|
28
|
+
*/
|
29
|
+
export declare function setupKgLocale(options?: IKgLocaleOptions): void;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { Pinia } from 'pinia';
|
2
|
+
/**
|
3
|
+
* 配置 pinia 实例.
|
4
|
+
* @param pinia pinia 实例.
|
5
|
+
*/
|
6
|
+
export declare function setPinia(pinia: Pinia): void;
|
7
|
+
/**
|
8
|
+
* 获取 pinia 实例.
|
9
|
+
* @return {} pinia 实例.
|
10
|
+
* @throws Error 如果 pinia 实例为空, 抛错.
|
11
|
+
*/
|
12
|
+
export declare function getPinia(): Pinia | null;
|
13
|
+
/**
|
14
|
+
* 设置 pinia.
|
15
|
+
*
|
16
|
+
* @param pinia pinia.
|
17
|
+
*/
|
18
|
+
export declare function setupKgStore(pinia: Pinia): void;
|
@@ -16,15 +16,7 @@ export declare const _useLocaleStore: import("pinia").StoreDefinition<"app-local
|
|
16
16
|
pathTitleMap: object;
|
17
17
|
} & import("pinia").PiniaCustomStateProperties<LocaleState>) => (path: any) => any;
|
18
18
|
}, {
|
19
|
-
/**
|
20
|
-
* Set up multilingual information and cache
|
21
|
-
* @param info multilingual info
|
22
|
-
*/
|
23
19
|
setLocaleInfo(info: Partial<LocaleSetting>): void;
|
24
|
-
/**
|
25
|
-
* Initialize multilingual information and load the existing configuration from the local cache
|
26
|
-
*/
|
27
|
-
initLocale(): void;
|
28
20
|
setPathTitle(path: any, title: any): void;
|
29
21
|
}>;
|
30
22
|
export declare function useLocaleStore(): import("pinia").Store<"app-locale", LocaleState, {
|
@@ -40,15 +32,7 @@ export declare function useLocaleStore(): import("pinia").Store<"app-locale", Lo
|
|
40
32
|
pathTitleMap: object;
|
41
33
|
} & import("pinia").PiniaCustomStateProperties<LocaleState>) => (path: any) => any;
|
42
34
|
}, {
|
43
|
-
/**
|
44
|
-
* Set up multilingual information and cache
|
45
|
-
* @param info multilingual info
|
46
|
-
*/
|
47
35
|
setLocaleInfo(info: Partial<LocaleSetting>): void;
|
48
|
-
/**
|
49
|
-
* Initialize multilingual information and load the existing configuration from the local cache
|
50
|
-
*/
|
51
|
-
initLocale(): void;
|
52
36
|
setPathTitle(path: any, title: any): void;
|
53
37
|
}>;
|
54
38
|
export {};
|
@@ -35,7 +35,7 @@ declare class KgLogger {
|
|
35
35
|
* @param collapsed 是否折叠.
|
36
36
|
* @param style 样式.
|
37
37
|
*/
|
38
|
-
static log(level: "
|
38
|
+
static log(level: "debug" | "info" | "warn" | "error" | "deprecated" | undefined, message: string, args?: Record<string, any>, collapsed?: boolean, style?: string | null): void;
|
39
39
|
/**
|
40
40
|
* 打印警告日志.
|
41
41
|
*
|
package/package.json
CHANGED
@@ -1,121 +1,121 @@
|
|
1
|
-
{
|
2
|
-
"name": "@kengic/vue",
|
3
|
-
"version": "0.25.4
|
4
|
-
"scripts": {
|
5
|
-
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
|
-
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
7
|
-
"--------------------------------------------------": "",
|
8
|
-
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
9
|
-
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
10
|
-
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
11
|
-
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
12
|
-
"----- --------------------------------------------": "",
|
13
|
-
"gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
14
|
-
"- ------------------------------------------------": "",
|
15
|
-
"cnpm:sync": "npm run switch-node-version && npx cnpm --yes sync @kengic/vue",
|
16
|
-
"switch-node-version": "nvm use 18.16.0 && corepack enable && corepack prepare pnpm@7.30.5 --activate",
|
17
|
-
"-- -----------------------------------------------": "",
|
18
|
-
"bump-version:beta": "npm run switch-node-version && tsx scripts/bump.ts beta",
|
19
|
-
"bump-version:major": "npm run switch-node-version && tsx scripts/bump.ts major",
|
20
|
-
"bump-version:minor": "npm run switch-node-version && tsx scripts/bump.ts minor",
|
21
|
-
"bump-version:patch": "npm run switch-node-version && tsx scripts/bump.ts patch",
|
22
|
-
"---- ---------------------------------------------": "",
|
23
|
-
"publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
|
24
|
-
"publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
25
|
-
"------- ------------------------------------------": "",
|
26
|
-
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
|
27
|
-
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
28
|
-
"copy-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts",
|
29
|
-
"copy-to:luotao:smartfactory.tyre.haohua.gantry.was-java--main": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts",
|
30
|
-
"--- ----------------------------------------------": "",
|
31
|
-
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
|
32
|
-
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
33
|
-
"bump-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts"
|
34
|
-
},
|
35
|
-
"peerDependencies": {
|
36
|
-
"vue": "3.2.43"
|
37
|
-
},
|
38
|
-
"dependencies": {
|
39
|
-
"@ant-design/colors": "6.0.0",
|
40
|
-
"@ant-design/icons-vue": "6.1.0",
|
41
|
-
"@iconify-icons/akar-icons": "1.2.19",
|
42
|
-
"@iconify-icons/ant-design": "1.2.5",
|
43
|
-
"@iconify-icons/fluent-mdl2": "1.2.1",
|
44
|
-
"@iconify-icons/material-symbols": "1.2.58",
|
45
|
-
"@iconify-icons/mdi": "1.2.48",
|
46
|
-
"@iconify-icons/ph": "1.2.5",
|
47
|
-
"@iconify/vue": "4.1.1",
|
48
|
-
"@kengic/pont": "1.2.13",
|
49
|
-
"@rys-fe/vite-plugin-theme": "0.8.6",
|
50
|
-
"@types/crypto-js": "4.1.1",
|
51
|
-
"@types/fs-extra": "9.0.13",
|
52
|
-
"@types/inquirer": "8.2.5",
|
53
|
-
"@types/lodash-es": "4.17.9",
|
54
|
-
"@types/node": "18.18.4",
|
55
|
-
"@types/semver": "7.5.3",
|
56
|
-
"@types/store": "2.0.3",
|
57
|
-
"@vitejs/plugin-legacy": "2.3.1",
|
58
|
-
"@vitejs/plugin-vue": "3.2.0",
|
59
|
-
"@vitejs/plugin-vue-jsx": "1.3.10",
|
60
|
-
"@vueuse/core": "8.9.4",
|
61
|
-
"@vueuse/shared": "8.9.4",
|
62
|
-
"ant-design-vue": "3.2.14",
|
63
|
-
"axios": "0.26.1",
|
64
|
-
"chalk": "4.1.2",
|
65
|
-
"crypto-js": "4.1.1",
|
66
|
-
"dayjs": "1.11.10",
|
67
|
-
"dotenv": "16.0.3",
|
68
|
-
"filesize": "10.1.0",
|
69
|
-
"fs-extra": "10.1.0",
|
70
|
-
"html-to-image": "1.11.11",
|
71
|
-
"inquirer": "8.2.5",
|
72
|
-
"less": "4.1.3",
|
73
|
-
"lodash-es": "4.17.21",
|
74
|
-
"picocolors": "1.0.0",
|
75
|
-
"pinia": "2.0.12",
|
76
|
-
"prettier": "3.2.5",
|
77
|
-
"rimraf": "3.0.2",
|
78
|
-
"rollup": "2.79.1",
|
79
|
-
"rollup-plugin-visualizer": "5.8.3",
|
80
|
-
"semver": "7.5.4",
|
81
|
-
"store": "2.0.12",
|
82
|
-
"tsx": "3.12.3",
|
83
|
-
"typescript": "~4.8.4",
|
84
|
-
"vite": "3.2.3",
|
85
|
-
"vite-plugin-compression": "0.5.1",
|
86
|
-
"vite-plugin-html": "3.2.0",
|
87
|
-
"vite-plugin-imagemin": "0.6.1",
|
88
|
-
"vite-plugin-mkcert": "1.10.1",
|
89
|
-
"vite-plugin-optimize-persist": "0.1.2",
|
90
|
-
"vite-plugin-package-config": "0.1.1",
|
91
|
-
"vite-plugin-purge-icons": "0.8.2",
|
92
|
-
"vite-plugin-pwa": "0.12.8",
|
93
|
-
"vite-plugin-style-import": "2.0.0",
|
94
|
-
"vite-plugin-svg-icons": "2.0.1",
|
95
|
-
"vite-plugin-vue-setup-extend": "0.4.0",
|
96
|
-
"vite-plugin-windicss": "1.8.8",
|
97
|
-
"vue": "3.2.43",
|
98
|
-
"vue-i18n": "9.2.2",
|
99
|
-
"vue-router": "4.1.6",
|
100
|
-
"vue-tsc": "1.8.27"
|
101
|
-
},
|
102
|
-
"devDependencies": {},
|
103
|
-
"main": "./dist/kengic-vue.js",
|
104
|
-
"module": "./dist/kengic-vue.js",
|
105
|
-
"types": "./dist/src/index.d.ts",
|
106
|
-
"exports": {
|
107
|
-
".": {
|
108
|
-
"import": "./dist/kengic-vue.js"
|
109
|
-
},
|
110
|
-
"./dist/index.css": "./dist/index.css"
|
111
|
-
},
|
112
|
-
"prettier": {
|
113
|
-
"endOfLine": "auto",
|
114
|
-
"printWidth": 160,
|
115
|
-
"semi": true,
|
116
|
-
"singleAttributePerLine": true,
|
117
|
-
"singleQuote": true,
|
118
|
-
"tabWidth": 4,
|
119
|
-
"trailingComma": "all"
|
120
|
-
}
|
121
|
-
}
|
1
|
+
{
|
2
|
+
"name": "@kengic/vue",
|
3
|
+
"version": "0.25.4",
|
4
|
+
"scripts": {
|
5
|
+
"build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
|
6
|
+
"build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
|
7
|
+
"--------------------------------------------------": "",
|
8
|
+
"publish:all:major": "npm run bump-version:major && npm run publish:all",
|
9
|
+
"publish:all:minor": "npm run bump-version:minor && npm run publish:all",
|
10
|
+
"publish:all:patch": "npm run bump-version:patch && npm run publish:all",
|
11
|
+
"publish:all:beta": "npm run bump-version:beta && npm run publish:all",
|
12
|
+
"----- --------------------------------------------": "",
|
13
|
+
"gen:apis:WMS": "npm run switch-node-version && kengic-pont generate-apis --config kg.config.ts --origin WMS",
|
14
|
+
"- ------------------------------------------------": "",
|
15
|
+
"cnpm:sync": "npm run switch-node-version && npx cnpm --yes sync @kengic/vue",
|
16
|
+
"switch-node-version": "nvm use 18.16.0 && corepack enable && corepack prepare pnpm@7.30.5 --activate",
|
17
|
+
"-- -----------------------------------------------": "",
|
18
|
+
"bump-version:beta": "npm run switch-node-version && tsx scripts/bump.ts beta",
|
19
|
+
"bump-version:major": "npm run switch-node-version && tsx scripts/bump.ts major",
|
20
|
+
"bump-version:minor": "npm run switch-node-version && tsx scripts/bump.ts minor",
|
21
|
+
"bump-version:patch": "npm run switch-node-version && tsx scripts/bump.ts patch",
|
22
|
+
"---- ---------------------------------------------": "",
|
23
|
+
"publish:all": "npm run switch-node-version && tsx scripts/publish.ts",
|
24
|
+
"publish:npm": "npm run switch-node-version && npmrc kengic && npm publish ./ --registry https://registry.npmjs.org/ --access public",
|
25
|
+
"------- ------------------------------------------": "",
|
26
|
+
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
|
27
|
+
"copy-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
28
|
+
"copy-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts",
|
29
|
+
"copy-to:luotao:smartfactory.tyre.haohua.gantry.was-java--main": "npm run build:dev && tsx scripts/copy-to.luotao.smartfactory.tyre.haohua.gantry.was-java--main.ts",
|
30
|
+
"--- ----------------------------------------------": "",
|
31
|
+
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.1": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.1.ts",
|
32
|
+
"bump-to:luotao:smartfactory.product.wms.wms--dev-3.2": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms--dev-3.2.ts",
|
33
|
+
"bump-to:luotao:smartfactory.product.wms.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.smartfactory.product.wms.wms-vue3--focus.ts"
|
34
|
+
},
|
35
|
+
"peerDependencies": {
|
36
|
+
"vue": "3.2.43"
|
37
|
+
},
|
38
|
+
"dependencies": {
|
39
|
+
"@ant-design/colors": "6.0.0",
|
40
|
+
"@ant-design/icons-vue": "6.1.0",
|
41
|
+
"@iconify-icons/akar-icons": "1.2.19",
|
42
|
+
"@iconify-icons/ant-design": "1.2.5",
|
43
|
+
"@iconify-icons/fluent-mdl2": "1.2.1",
|
44
|
+
"@iconify-icons/material-symbols": "1.2.58",
|
45
|
+
"@iconify-icons/mdi": "1.2.48",
|
46
|
+
"@iconify-icons/ph": "1.2.5",
|
47
|
+
"@iconify/vue": "4.1.1",
|
48
|
+
"@kengic/pont": "1.2.13",
|
49
|
+
"@rys-fe/vite-plugin-theme": "0.8.6",
|
50
|
+
"@types/crypto-js": "4.1.1",
|
51
|
+
"@types/fs-extra": "9.0.13",
|
52
|
+
"@types/inquirer": "8.2.5",
|
53
|
+
"@types/lodash-es": "4.17.9",
|
54
|
+
"@types/node": "18.18.4",
|
55
|
+
"@types/semver": "7.5.3",
|
56
|
+
"@types/store": "2.0.3",
|
57
|
+
"@vitejs/plugin-legacy": "2.3.1",
|
58
|
+
"@vitejs/plugin-vue": "3.2.0",
|
59
|
+
"@vitejs/plugin-vue-jsx": "1.3.10",
|
60
|
+
"@vueuse/core": "8.9.4",
|
61
|
+
"@vueuse/shared": "8.9.4",
|
62
|
+
"ant-design-vue": "3.2.14",
|
63
|
+
"axios": "0.26.1",
|
64
|
+
"chalk": "4.1.2",
|
65
|
+
"crypto-js": "4.1.1",
|
66
|
+
"dayjs": "1.11.10",
|
67
|
+
"dotenv": "16.0.3",
|
68
|
+
"filesize": "10.1.0",
|
69
|
+
"fs-extra": "10.1.0",
|
70
|
+
"html-to-image": "1.11.11",
|
71
|
+
"inquirer": "8.2.5",
|
72
|
+
"less": "4.1.3",
|
73
|
+
"lodash-es": "4.17.21",
|
74
|
+
"picocolors": "1.0.0",
|
75
|
+
"pinia": "2.0.12",
|
76
|
+
"prettier": "3.2.5",
|
77
|
+
"rimraf": "3.0.2",
|
78
|
+
"rollup": "2.79.1",
|
79
|
+
"rollup-plugin-visualizer": "5.8.3",
|
80
|
+
"semver": "7.5.4",
|
81
|
+
"store": "2.0.12",
|
82
|
+
"tsx": "3.12.3",
|
83
|
+
"typescript": "~4.8.4",
|
84
|
+
"vite": "3.2.3",
|
85
|
+
"vite-plugin-compression": "0.5.1",
|
86
|
+
"vite-plugin-html": "3.2.0",
|
87
|
+
"vite-plugin-imagemin": "0.6.1",
|
88
|
+
"vite-plugin-mkcert": "1.10.1",
|
89
|
+
"vite-plugin-optimize-persist": "0.1.2",
|
90
|
+
"vite-plugin-package-config": "0.1.1",
|
91
|
+
"vite-plugin-purge-icons": "0.8.2",
|
92
|
+
"vite-plugin-pwa": "0.12.8",
|
93
|
+
"vite-plugin-style-import": "2.0.0",
|
94
|
+
"vite-plugin-svg-icons": "2.0.1",
|
95
|
+
"vite-plugin-vue-setup-extend": "0.4.0",
|
96
|
+
"vite-plugin-windicss": "1.8.8",
|
97
|
+
"vue": "3.2.43",
|
98
|
+
"vue-i18n": "9.2.2",
|
99
|
+
"vue-router": "4.1.6",
|
100
|
+
"vue-tsc": "1.8.27"
|
101
|
+
},
|
102
|
+
"devDependencies": {},
|
103
|
+
"main": "./dist/kengic-vue.js",
|
104
|
+
"module": "./dist/kengic-vue.js",
|
105
|
+
"types": "./dist/src/index.d.ts",
|
106
|
+
"exports": {
|
107
|
+
".": {
|
108
|
+
"import": "./dist/kengic-vue.js"
|
109
|
+
},
|
110
|
+
"./dist/index.css": "./dist/index.css"
|
111
|
+
},
|
112
|
+
"prettier": {
|
113
|
+
"endOfLine": "auto",
|
114
|
+
"printWidth": 160,
|
115
|
+
"semi": true,
|
116
|
+
"singleAttributePerLine": true,
|
117
|
+
"singleQuote": true,
|
118
|
+
"tabWidth": 4,
|
119
|
+
"trailingComma": "all"
|
120
|
+
}
|
121
|
+
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { LocaleSetting, LocaleType } from '../../types/config';
|
2
|
-
import { DropMenu } from '../components/Dropdown/src/typing';
|
3
|
-
export declare const LOCALE: {
|
4
|
-
[key: string]: LocaleType;
|
5
|
-
};
|
6
|
-
export declare const localeList: DropMenu[];
|
7
|
-
export declare const localeSetting: LocaleSetting;
|