@kengic/vue 0.30.1-beta.85 → 0.30.1-beta.87
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/component/KgCanvas/KgCanvas.css +0 -2
- package/component/KgCanvas/KgCanvas.tsx +1 -0
- package/component/KgLayoutHeader/KgLayoutHeader.Locale.tsx +8 -8
- package/component/KgWarehouse/KgWarehouse.tsx +2 -2
- package/config/index.ts +3 -3
- package/index.ts +1 -1
- package/package.json +1 -2
- package/project/build/vite/plugin/index.ts +1 -5
- package/project/types/global.d.ts +0 -1
- package/{asset → style}/ant.less +14 -14
- package/{asset → style}/element-plus.css +1 -1
- package/{asset → style}/index.less +2 -2
- package/{asset → style}/vxe.less +2 -2
- /package/{asset → style}/flag/cs_CZ.png +0 -0
- /package/{asset → style}/flag/en.png +0 -0
- /package/{asset → style}/flag/es_ES.png +0 -0
- /package/{asset → style}/flag/fr_FR.png +0 -0
- /package/{asset → style}/flag/km_KH.png +0 -0
- /package/{asset → style}/flag/ko_KR.png +0 -0
- /package/{asset → style}/flag/vi_VN.png +0 -0
- /package/{asset → style}/flag/zh_CN.png +0 -0
- /package/{asset → style}/images/warehouse.000000.svg +0 -0
- /package/{asset → style}/images/warehouse.1890ff.svg +0 -0
- /package/{asset → style}/jeecg.less +0 -0
- /package/{asset → style}/var.less +0 -0
|
@@ -3,6 +3,7 @@ import { Q } from '@thymine/xunee';
|
|
|
3
3
|
import { forEach } from 'lodash-es';
|
|
4
4
|
import { defineComponent, ExtractPropTypes, onMounted, PropType, provide, ref } from 'vue';
|
|
5
5
|
import './KgCanvas.css';
|
|
6
|
+
import '@thymine/xunee/dist/xunee.css';
|
|
6
7
|
import { KG } from '../../model';
|
|
7
8
|
import { type IKgCanvasContextMenu, KgCanvasContextMenu, KgCanvasContextMenuProps } from './KgCanvas.ContextMenu';
|
|
8
9
|
import {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { Dropdown, Menu } from 'ant-design-vue';
|
|
2
2
|
import { computed, defineComponent, ExtractPropTypes, ref, unref, watchEffect } from 'vue';
|
|
3
3
|
import './KgLayoutHeader.less';
|
|
4
|
-
import cs_CZ from '../../
|
|
5
|
-
import en from '../../
|
|
6
|
-
import es_ES from '../../
|
|
7
|
-
import fr_FR from '../../
|
|
8
|
-
import km_KH from '../../
|
|
9
|
-
import ko_KR from '../../
|
|
10
|
-
import vi_VN from '../../
|
|
11
|
-
import zh_CN from '../../
|
|
4
|
+
import cs_CZ from '../../style/flag/cs_CZ.png';
|
|
5
|
+
import en from '../../style/flag/en.png';
|
|
6
|
+
import es_ES from '../../style/flag/es_ES.png';
|
|
7
|
+
import fr_FR from '../../style/flag/fr_FR.png';
|
|
8
|
+
import km_KH from '../../style/flag/km_KH.png';
|
|
9
|
+
import ko_KR from '../../style/flag/ko_KR.png';
|
|
10
|
+
import vi_VN from '../../style/flag/vi_VN.png';
|
|
11
|
+
import zh_CN from '../../style/flag/zh_CN.png';
|
|
12
12
|
import { localeList } from '../../i18n';
|
|
13
13
|
import { DropMenu, LocaleType, useLocale } from '../../project';
|
|
14
14
|
|
|
@@ -5,8 +5,8 @@ import { ColumnsType } from 'ant-design-vue/es/table';
|
|
|
5
5
|
import { computed, defineComponent, ExtractPropTypes, onMounted, PropType, reactive, ref, watch } from 'vue';
|
|
6
6
|
import { API } from '../../api';
|
|
7
7
|
import { SysUserWarehouseDTO, WarehouseDTO } from '../../api/WMS/models';
|
|
8
|
-
import IMG_WAREHOUSE_000000 from '../../
|
|
9
|
-
import IMG_WAREHOUSE_1890ff from '../../
|
|
8
|
+
import IMG_WAREHOUSE_000000 from '../../style/images/warehouse.000000.svg';
|
|
9
|
+
import IMG_WAREHOUSE_1890ff from '../../style/images/warehouse.1890ff.svg';
|
|
10
10
|
import { pinia, useKg } from '../../config';
|
|
11
11
|
import { KgUtil } from '../../util';
|
|
12
12
|
import { KgModal } from '../KgModal';
|
package/config/index.ts
CHANGED
|
@@ -31,9 +31,9 @@ import viVN from 'vxe-table/lib/locale/lang/vi-VN'; // 越南语
|
|
|
31
31
|
import zhHK from 'vxe-table/lib/locale/lang/zh-HK'; // 中文(香港)
|
|
32
32
|
import zhMO from 'vxe-table/lib/locale/lang/zh-MO'; // 中文(澳门)
|
|
33
33
|
import zhTW from 'vxe-table/lib/locale/lang/zh-TW'; // 中文(台湾)
|
|
34
|
-
import { version } from '../../package.json';
|
|
35
|
-
import { KG } from '../model';
|
|
36
34
|
import { kgConfigLocale } from '../i18n';
|
|
35
|
+
import { KG } from '../model';
|
|
36
|
+
import { version } from '../package.json';
|
|
37
37
|
import { LocaleType } from '../project/types/config';
|
|
38
38
|
import { kgConfigHttpClient } from '../service';
|
|
39
39
|
import { KgUtil } from '../util';
|
|
@@ -163,7 +163,7 @@ let isCancelReload = false;
|
|
|
163
163
|
setTimeout(() => {
|
|
164
164
|
const kg = useKg();
|
|
165
165
|
|
|
166
|
-
|
|
166
|
+
window.setInterval(async () => {
|
|
167
167
|
if (isCancelReload) {
|
|
168
168
|
return;
|
|
169
169
|
}
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kengic/vue",
|
|
3
|
-
"version": "0.30.1-beta.
|
|
3
|
+
"version": "0.30.1-beta.87",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"postinstall": "node bin/postinstall.mjs"
|
|
6
6
|
},
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
"@types/semver": "7.5.3",
|
|
32
32
|
"@types/store": "2.0.3",
|
|
33
33
|
"@types/uuid": "10.0.0",
|
|
34
|
-
"@vitejs/plugin-legacy": "2.3.1",
|
|
35
34
|
"@vitejs/plugin-vue": "3.2.0",
|
|
36
35
|
"@vitejs/plugin-vue-jsx": "1.3.10",
|
|
37
36
|
"@vueuse/core": "8.9.4",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import legacy from '@vitejs/plugin-legacy';
|
|
2
1
|
import vue from '@vitejs/plugin-vue';
|
|
3
2
|
import vueJsx from '@vitejs/plugin-vue-jsx';
|
|
4
3
|
import { PluginOption } from 'vite';
|
|
@@ -18,7 +17,7 @@ import { configThemePlugin } from './theme';
|
|
|
18
17
|
import { configVisualizerConfig } from './visualizer';
|
|
19
18
|
|
|
20
19
|
export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
|
|
21
|
-
const { VITE_USE_IMAGEMIN,
|
|
20
|
+
const { VITE_USE_IMAGEMIN, VITE_BUILD_COMPRESS, VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE } = viteEnv;
|
|
22
21
|
|
|
23
22
|
const vitePlugins: (PluginOption | PluginOption[])[] = [
|
|
24
23
|
vue({
|
|
@@ -47,9 +46,6 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
|
|
|
47
46
|
// vite-plugin-windicss
|
|
48
47
|
vitePlugins.push(windiCSS());
|
|
49
48
|
|
|
50
|
-
// @vitejs/plugin-legacy
|
|
51
|
-
VITE_LEGACY && isBuild && vitePlugins.push(legacy());
|
|
52
|
-
|
|
53
49
|
// vite-plugin-html
|
|
54
50
|
vitePlugins.push(configHtmlPlugin(viteEnv, isBuild));
|
|
55
51
|
|
package/{asset → style}/ant.less
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
// 覆盖 ant-design 的样式
|
|
2
2
|
|
|
3
|
-
@import 'ant-design-vue/lib/button/style/index.css';
|
|
4
|
-
@import 'ant-design-vue/lib/menu/style/index.css';
|
|
5
|
-
@import 'ant-design-vue/lib/pagination/style/index.css';
|
|
6
|
-
@import 'ant-design-vue/lib/select/style/index.css';
|
|
7
|
-
@import 'ant-design-vue/lib/spin/style/index.css';
|
|
8
|
-
@import 'ant-design-vue/lib/form/style/index.css';
|
|
9
|
-
@import 'ant-design-vue/lib/input/style/index.css';
|
|
10
|
-
@import 'ant-design-vue/lib/input-number/style/index.css';
|
|
11
|
-
@import 'ant-design-vue/lib/switch/style/index.css';
|
|
12
|
-
@import 'ant-design-vue/lib/checkbox/style/index.css';
|
|
13
|
-
@import 'ant-design-vue/lib/tooltip/style/index.css';
|
|
14
|
-
@import 'ant-design-vue/lib/notification/style/index.css';
|
|
15
|
-
@import 'ant-design-vue/lib/message/style/index.css';
|
|
16
|
-
@import 'ant-design-vue/lib/modal/style/index.css';
|
|
3
|
+
@import '../../../ant-design-vue/lib/button/style/index.css';
|
|
4
|
+
@import '../../../ant-design-vue/lib/menu/style/index.css';
|
|
5
|
+
@import '../../../ant-design-vue/lib/pagination/style/index.css';
|
|
6
|
+
@import '../../../ant-design-vue/lib/select/style/index.css';
|
|
7
|
+
@import '../../../ant-design-vue/lib/spin/style/index.css';
|
|
8
|
+
@import '../../../ant-design-vue/lib/form/style/index.css';
|
|
9
|
+
@import '../../../ant-design-vue/lib/input/style/index.css';
|
|
10
|
+
@import '../../../ant-design-vue/lib/input-number/style/index.css';
|
|
11
|
+
@import '../../../ant-design-vue/lib/switch/style/index.css';
|
|
12
|
+
@import '../../../ant-design-vue/lib/checkbox/style/index.css';
|
|
13
|
+
@import '../../../ant-design-vue/lib/tooltip/style/index.css';
|
|
14
|
+
@import '../../../ant-design-vue/lib/notification/style/index.css';
|
|
15
|
+
@import '../../../ant-design-vue/lib/message/style/index.css';
|
|
16
|
+
@import '../../../ant-design-vue/lib/modal/style/index.css';
|
|
17
17
|
@import 'var.less';
|
|
18
18
|
|
|
19
19
|
.ant-input,
|
package/{asset → style}/vxe.less
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|