@fecp/designer 5.5.20 → 5.5.21

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,9 +3,14 @@ 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
8
  const install = (app) => {
7
9
  app.use(fecVue);
8
10
  app.component("fecDevDesigner", layout);
11
+ app.use(ElementPlus, {
12
+ locale: zh_cn_default
13
+ });
9
14
  };
10
15
  const index = {
11
16
  install,
@@ -1,4 +1,4 @@
1
- const version = "5.5.20";
1
+ const version = "5.5.21";
2
2
  const packageJson = {
3
3
  version
4
4
  };
@@ -387,6 +387,8 @@ async function handleTableRowDelete(node, data, fields, context) {
387
387
  "此操作将永久删除该记录, 是否继续",
388
388
  "确认操作",
389
389
  {
390
+ // confirmButtonText: "确定",
391
+ // cancelButtonText: "取消",
390
392
  type: "warning",
391
393
  draggable: true,
392
394
  showClose: false
@@ -5,9 +5,14 @@ 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
10
  const install = (app) => {
9
11
  app.use(index$1.default);
10
12
  app.component("fecDevDesigner", index$2.default);
13
+ app.use(ElementPlus, {
14
+ locale: zhCn.default
15
+ });
11
16
  };
12
17
  const index = {
13
18
  install,
@@ -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.20";
3
+ const version = "5.5.21";
4
4
  const packageJson = {
5
5
  version
6
6
  };
@@ -389,6 +389,8 @@ async function handleTableRowDelete(node, data, fields, context) {
389
389
  "此操作将永久删除该记录, 是否继续",
390
390
  "确认操作",
391
391
  {
392
+ // confirmButtonText: "确定",
393
+ // cancelButtonText: "取消",
392
394
  type: "warning",
393
395
  draggable: true,
394
396
  showClose: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fecp/designer",
3
- "version": "5.5.20",
3
+ "version": "5.5.21",
4
4
  "main": "lib/designer/index.js",
5
5
  "module": "es/designer/index.mjs",
6
6
  "files": [