@fecp/designer 5.5.117 → 5.5.118
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/es/designer/index.mjs +0 -1
- package/es/designer/package.json.mjs +1 -1
- package/es/designer/src/packages/dialog/useDialogDialog.mjs +1 -1
- package/es/designer/src/packages/dialogGlobal/useDialogGlobalDialog.mjs +1 -1
- package/es/designer/src/packages/form/property/widgets.vue.mjs +2 -2
- package/es/packages/vue/src/utils/install.mjs +12 -4
- package/lib/designer/index.js +0 -1
- package/lib/designer/package.json.js +1 -1
- package/lib/designer/src/packages/dialog/useDialogDialog.js +1 -1
- package/lib/designer/src/packages/dialogGlobal/useDialogGlobalDialog.js +1 -1
- package/lib/designer/src/packages/form/property/widgets.vue.js +2 -2
- package/lib/packages/vue/src/utils/install.js +12 -4
- package/package.json +1 -1
package/es/designer/index.mjs
CHANGED
|
@@ -3,7 +3,6 @@ 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 "element-plus";
|
|
7
6
|
const install = (app) => {
|
|
8
7
|
app.use(fecVue);
|
|
9
8
|
app.component("fecDevDesigner", layout);
|
|
@@ -61,8 +61,8 @@ import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
|
61
61
|
import "../../../components/TemplateSelector.vue.mjs";
|
|
62
62
|
import "../../table/default.mjs";
|
|
63
63
|
/* empty css */
|
|
64
|
-
/* empty css
|
|
65
|
-
/* empty css
|
|
64
|
+
/* empty css */
|
|
65
|
+
/* empty css */
|
|
66
66
|
import "../../../store/index.mjs";
|
|
67
67
|
/* empty css */
|
|
68
68
|
const _hoisted_1 = {
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
+
import { h } from "vue";
|
|
2
|
+
import { ElConfigProvider } from "element-plus";
|
|
3
|
+
import zh_cn_default from "../../../../node_modules/element-plus/dist/locale/zh-cn.mjs";
|
|
1
4
|
import packageJSON from "../../package.json.mjs";
|
|
2
5
|
const install = {
|
|
3
6
|
withInstall: function(name, comp) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
const prefixName = packageJSON.prefix + name.charAt(0).toUpperCase() + name.slice(1);
|
|
8
|
+
const WrapComp = {
|
|
9
|
+
render() {
|
|
10
|
+
return h(ElConfigProvider, { locale: zh_cn_default }, () => h(comp));
|
|
11
|
+
}
|
|
7
12
|
};
|
|
8
|
-
|
|
13
|
+
WrapComp.install = (app) => {
|
|
14
|
+
app.component(prefixName, WrapComp);
|
|
15
|
+
};
|
|
16
|
+
return WrapComp;
|
|
9
17
|
}
|
|
10
18
|
};
|
|
11
19
|
export {
|
package/lib/designer/index.js
CHANGED
|
@@ -5,7 +5,6 @@ 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
|
-
require("element-plus");
|
|
9
8
|
const install = (app) => {
|
|
10
9
|
app.use(index$1.default);
|
|
11
10
|
app.component("fecDevDesigner", index$2.default);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogDialog() {
|
|
6
6
|
const dialogDialogVisible = Vue.ref(false);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("./index.
|
|
3
|
+
const index = require("./index.vue.js");
|
|
4
4
|
const Vue = require("vue");
|
|
5
5
|
function useDialogGlobalDialog() {
|
|
6
6
|
const dialogGlobalDialogVisible = Vue.ref(false);
|
|
@@ -63,8 +63,8 @@ const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_exp
|
|
|
63
63
|
require("../../../components/TemplateSelector.vue.js");
|
|
64
64
|
require("../../table/default.js");
|
|
65
65
|
;/* empty css */
|
|
66
|
-
;/* empty css
|
|
67
|
-
;/* empty css
|
|
66
|
+
;/* empty css */
|
|
67
|
+
;/* empty css */
|
|
68
68
|
require("../../../store/index.js");
|
|
69
69
|
;/* empty css */
|
|
70
70
|
const _hoisted_1 = {
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const ElementPlus = require("element-plus");
|
|
5
|
+
const zhCn = require("../../../../node_modules/element-plus/dist/locale/zh-cn.js");
|
|
3
6
|
const _package = require("../../package.json.js");
|
|
4
7
|
const install = {
|
|
5
8
|
withInstall: function(name, comp) {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
const prefixName = _package.default.prefix + name.charAt(0).toUpperCase() + name.slice(1);
|
|
10
|
+
const WrapComp = {
|
|
11
|
+
render() {
|
|
12
|
+
return Vue.h(ElementPlus.ElConfigProvider, { locale: zhCn.default }, () => Vue.h(comp));
|
|
13
|
+
}
|
|
9
14
|
};
|
|
10
|
-
|
|
15
|
+
WrapComp.install = (app) => {
|
|
16
|
+
app.component(prefixName, WrapComp);
|
|
17
|
+
};
|
|
18
|
+
return WrapComp;
|
|
11
19
|
}
|
|
12
20
|
};
|
|
13
21
|
exports.default = install;
|