@wyltils/ems-editor 1.0.48 → 1.0.50
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/dist/index.es.js +36 -24
- package/dist/index.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -24727,7 +24727,7 @@ const Ert = { class: "formNode" }, Irt = {
|
|
|
24727
24727
|
c.value = !0;
|
|
24728
24728
|
try {
|
|
24729
24729
|
r.httpRequest(m).then((v) => {
|
|
24730
|
-
c.value = !1, v && v.success && m.parse &&
|
|
24730
|
+
c.value = !1, v && v.success && (m.parse && g(v, p.id), o.value.buttonSuccess && $s.success(o.value.buttonSuccessTips)), v && !v.success && (m.parse && g(v, p.id), o.value.buttonError && $s.error(v.msg || "操作失败!"));
|
|
24731
24731
|
});
|
|
24732
24732
|
} catch (v) {
|
|
24733
24733
|
c.value = !1, $s.error("操作失败!"), console.error(v);
|
|
@@ -24893,7 +24893,7 @@ const Ert = { class: "formNode" }, Irt = {
|
|
|
24893
24893
|
]);
|
|
24894
24894
|
};
|
|
24895
24895
|
}
|
|
24896
|
-
}, krt = /* @__PURE__ */ Vn(Irt, [["__scopeId", "data-v-
|
|
24896
|
+
}, krt = /* @__PURE__ */ Vn(Irt, [["__scopeId", "data-v-3943f259"]]), HAe = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAADMElEQVR4AeyZPYgTQRTH39topXKXXU/lUFAkEVstchYBBQsrscmhaHGFCkkQPxALG8/C6vA7u0GuOBBFSGMjNoofYCPYa7IHd4WFIGRF7c7L+N5e9pLL7W52klw2C1nmZWbfzM78f/smO8msAhE/hgBhB3AYgWEEurwD9hRSdfNe3DDfR8qK5llmV1TDvA8IVxHgaKRMwDNVL09zBCaBDgHwIUpGkgFQucAA40AHitpHK5c4FgVjrSSZ0zgDcCGyNgQIO3QDE4HR4te9ml6Z0ozyqZ1Pf2wJemMGAkA1Kk8UsWlBIM4JUF4u/f3zXeXHewCK0AE0wzQA8CKsPUbp9AotrF+2PjLHqOyZQgWIF8unae3JeqmjhfXw5hhkvOrZHyoA1vAki/A1hAm/+lABSNgIWbu0x69BuAAKlv3EcR0iLnLuZaEC0BPnnZcwxy9AvHXKbrkEgNvl3fms7P5XIGq3vXoRCAUrm3juVc/+UAFYQDV/YLoO8ZnPhYCfAOIT3fkbJP4S+/ysI4AxfWGXWpyf8+tYpo4hqrnEBBla+cSOai6ZtnLJmSB9dASwjMslEGJK1SvXgwyykW2kAWiJv0YhTtuiEGdUff6EXQ7pQwpg5PG3faTzLlkjoSips+buhqO/JSmAWCz2wkXeNvgHJRd/X1yBAehH101SlCJbnwQcoak1u77C20PtM2RdgwcC0PTFgwLgjrccu+Y8fakv26U2HyScf6Cx+K4hAgEIXAr2yER8oBmV4376m8Q7zbqCaAug0t4LjeQ+daiiNQnAEq8TrX4+dxHPbraOIXwBthfMQ4DKLR5BwuL2OtFygY94p2VHEL4ANQXo35LTv0wu0pr9T2vlmgDiVxoCSEN4AshOHUeBkwuALEHkJcQ7l0pBuAJohUqqg6njCFjNCaJAJ/y0oUwqBYZwBRAKPpQabmMaB4JYA8DTho30pMgGIdkQrKnZmoU1APhp41hzi/DLGXB0Ned1XQ2AuiNq2RAg7IhxBH71XET/OvzNAG/6N16vRxKvlWouMck7ALToROodGW25nKvmkmc4AmDRDoAVkfdjqzrr+0U2QK8D28/+Ig/wHwAA///iiMh1AAAABklEQVQDAClVhH+eelZjAAAAAElFTkSuQmCC", Nrt = { class: "imgNode" }, Mrt = ["src"], Art = {
|
|
24897
24897
|
__name: "imageNode",
|
|
24898
24898
|
setup(n) {
|
|
24899
24899
|
Li("getNode");
|
|
@@ -78992,10 +78992,10 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
|
|
|
78992
78992
|
}
|
|
78993
78993
|
}, hAt = {
|
|
78994
78994
|
key: 0,
|
|
78995
|
-
style: { width: "100%", "border-bottom": "solid
|
|
78995
|
+
style: { width: "100%", "border-bottom": "solid #42516c 1px", "margin-bottom": "14px" }
|
|
78996
78996
|
}, uAt = {
|
|
78997
78997
|
key: 1,
|
|
78998
|
-
style: { width: "100%", "border-bottom": "solid
|
|
78998
|
+
style: { width: "100%", "border-bottom": "solid #42516c 1px", "margin-bottom": "14px" }
|
|
78999
78999
|
}, dAt = {
|
|
79000
79000
|
__name: "echartPanel",
|
|
79001
79001
|
setup(n) {
|
|
@@ -79005,7 +79005,9 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
|
|
|
79005
79005
|
const g = i.value.series.at(-1).tabTitle;
|
|
79006
79006
|
s = +g.charAt(g.length - 1);
|
|
79007
79007
|
}
|
|
79008
|
-
const r = Ge(
|
|
79008
|
+
const r = Ge(
|
|
79009
|
+
i.value.series[0] ? i.value.series[0].tabTitle : ""
|
|
79010
|
+
), o = (g, p) => {
|
|
79009
79011
|
if (p === "add") {
|
|
79010
79012
|
const m = `系列${++s}`, v = JSON.parse(JSON.stringify(Ck));
|
|
79011
79013
|
v.tabTitle = m, v.name = m, v.yAxisIndex = 0, i.value.series.push(v), r.value = m;
|
|
@@ -79025,18 +79027,28 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
|
|
|
79025
79027
|
}, u = () => {
|
|
79026
79028
|
if (l.value) {
|
|
79027
79029
|
const g = e.getData(), p = g.chart;
|
|
79028
|
-
e.setData(
|
|
79030
|
+
e.setData(
|
|
79031
|
+
{ ...g, chart: { ...p, data: l.value } },
|
|
79032
|
+
{ deep: !1 }
|
|
79033
|
+
);
|
|
79029
79034
|
}
|
|
79030
79035
|
c.value = !1;
|
|
79031
79036
|
};
|
|
79032
|
-
Fn(
|
|
79033
|
-
|
|
79034
|
-
|
|
79037
|
+
Fn(
|
|
79038
|
+
i,
|
|
79039
|
+
() => {
|
|
79040
|
+
d();
|
|
79041
|
+
},
|
|
79042
|
+
{ deep: !0 }
|
|
79043
|
+
);
|
|
79035
79044
|
const d = WAe(() => {
|
|
79036
79045
|
f();
|
|
79037
79046
|
}, 500), f = () => {
|
|
79038
79047
|
const g = e.getData(), p = g.chart, m = JSON.parse(JSON.stringify(i.value || {}));
|
|
79039
|
-
e.setData(
|
|
79048
|
+
e.setData(
|
|
79049
|
+
{ ...g, chart: { ...p, option: m } },
|
|
79050
|
+
{ deep: !1 }
|
|
79051
|
+
);
|
|
79040
79052
|
};
|
|
79041
79053
|
return Qs(() => {
|
|
79042
79054
|
}), ho(() => {
|
|
@@ -79816,14 +79828,11 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
|
|
|
79816
79828
|
}, 1024),
|
|
79817
79829
|
V(v, { label: "系列名称" }, {
|
|
79818
79830
|
default: X(() => [
|
|
79819
|
-
V(
|
|
79820
|
-
modelValue: A.
|
|
79821
|
-
"onUpdate:modelValue": (W) => A.
|
|
79822
|
-
|
|
79823
|
-
|
|
79824
|
-
"inactive-text": "左轴",
|
|
79825
|
-
"active-value": 1,
|
|
79826
|
-
"inactive-value": 0
|
|
79831
|
+
V(T, {
|
|
79832
|
+
modelValue: A.name,
|
|
79833
|
+
"onUpdate:modelValue": (W) => A.name = W,
|
|
79834
|
+
placeholder: "",
|
|
79835
|
+
style: { width: "120px" }
|
|
79827
79836
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
79828
79837
|
]),
|
|
79829
79838
|
_: 2
|
|
@@ -79833,11 +79842,14 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
|
|
|
79833
79842
|
label: "Y轴"
|
|
79834
79843
|
}, {
|
|
79835
79844
|
default: X(() => [
|
|
79836
|
-
V(
|
|
79837
|
-
modelValue: A.
|
|
79838
|
-
"onUpdate:modelValue": (W) => A.
|
|
79839
|
-
|
|
79840
|
-
|
|
79845
|
+
V(b, {
|
|
79846
|
+
modelValue: A.yAxisIndex,
|
|
79847
|
+
"onUpdate:modelValue": (W) => A.yAxisIndex = W,
|
|
79848
|
+
modelModifiers: { number: !0 },
|
|
79849
|
+
"active-text": "右轴",
|
|
79850
|
+
"inactive-text": "左轴",
|
|
79851
|
+
"active-value": 1,
|
|
79852
|
+
"inactive-value": 0
|
|
79841
79853
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
79842
79854
|
]),
|
|
79843
79855
|
_: 2
|
|
@@ -80003,7 +80015,7 @@ const lAt = /* @__PURE__ */ ju(sAt, [["render", aAt], ["__scopeId", "data-v-354c
|
|
|
80003
80015
|
});
|
|
80004
80016
|
};
|
|
80005
80017
|
}
|
|
80006
|
-
}, fAt = /* @__PURE__ */ Vn(dAt, [["__scopeId", "data-v-
|
|
80018
|
+
}, fAt = /* @__PURE__ */ Vn(dAt, [["__scopeId", "data-v-233c23c3"]]), gAt = { class: "propertyForm" }, pAt = {
|
|
80007
80019
|
__name: "base",
|
|
80008
80020
|
setup(n) {
|
|
80009
80021
|
var s;
|