@fecp/designer 5.5.116 → 5.5.117

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.
@@ -3,18 +3,20 @@ import layout from "./src/layout/index.vue.mjs";
3
3
  /* empty css */
4
4
  import devStore from "./src/store/designer.mjs";
5
5
  import fecVue from "../packages/vue/index.mjs";
6
- import zh_cn_default from "../node_modules/element-plus/es/locale/lang/zh-cn.mjs";
7
- import ElementPlus from "element-plus";
6
+ import "element-plus";
8
7
  const install = (app) => {
9
- app.use(ElementPlus, {
10
- locale: zh_cn_default
11
- });
12
8
  app.use(fecVue);
13
9
  app.component("fecDevDesigner", layout);
14
10
  };
11
+ function useZhCn(app, ElementPlus, zhCn) {
12
+ app.use(ElementPlus, {
13
+ locale: zhCn
14
+ });
15
+ }
15
16
  const index = {
16
17
  install,
17
- devStore
18
+ devStore,
19
+ useZhCn
18
20
  };
19
21
  export {
20
22
  index as default
@@ -1,4 +1,4 @@
1
- const version = "5.5.116";
1
+ const version = "5.5.117";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -5,17 +5,19 @@ const index$2 = ;/* empty css */
5
5
  ;/* empty css */
6
6
  const designer = require("./src/store/designer.js");
7
7
  const index$1 = require("../packages/vue/index.js");
8
- const zhCn = require("../node_modules/element-plus/es/locale/lang/zh-cn.js");
9
- const ElementPlus = require("element-plus");
8
+ require("element-plus");
10
9
  const install = (app) => {
11
- app.use(ElementPlus, {
12
- locale: zhCn.default
13
- });
14
10
  app.use(index$1.default);
15
11
  app.component("fecDevDesigner", index$2.default);
16
12
  };
13
+ function useZhCn(app, ElementPlus, zhCn) {
14
+ app.use(ElementPlus, {
15
+ locale: zhCn
16
+ });
17
+ }
17
18
  const index = {
18
19
  install,
19
- devStore: designer.default
20
+ devStore: designer.default,
21
+ useZhCn
20
22
  };
21
23
  exports.default = index;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
- const version = "5.5.116";
3
+ const version = "5.5.117";
4
4
  const packageJson = {
5
5
  version
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.5.116",
3
+ "version": "5.5.117",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [