ss-component-new 1.1.68 → 1.1.69
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.
|
@@ -4,18 +4,18 @@ import { a as mA, l as FA, u as uA, s as CA } from "./menu-D6yKPqgS.js";
|
|
|
4
4
|
import { v as gA, d as IA, p as BA, u as DA, f as UA, i as hA, e as xA, g as MA, m as YA, a as OA, b as zA, c as KA } from "./array-BGMpYX__.js";
|
|
5
5
|
import { u as RA } from "./modelComp-Cr1QF6ip.js";
|
|
6
6
|
import LA from "./index-K2751gew.js";
|
|
7
|
-
const pA = {}, jA = { class: "header-wrapper" }, vA = { class: "header-horizontal" }, PA = { class: "header-logo" },
|
|
7
|
+
const pA = {}, jA = { class: "header-wrapper" }, vA = { class: "header-horizontal" }, PA = { class: "header-logo" }, HA = { class: "header-cTitle" }, fA = { class: "header-horizontal" }, bA = { class: "header-eTitle" };
|
|
8
8
|
function GA(I, B) {
|
|
9
9
|
return F(), Y("div", jA, [
|
|
10
10
|
k("div", vA, [
|
|
11
11
|
k("span", PA, [
|
|
12
12
|
G(I.$slots, "logo", {}, void 0, !0)
|
|
13
13
|
]),
|
|
14
|
-
k("span",
|
|
14
|
+
k("span", HA, [
|
|
15
15
|
G(I.$slots, "cTitle", {}, void 0, !0)
|
|
16
16
|
])
|
|
17
17
|
]),
|
|
18
|
-
k("div",
|
|
18
|
+
k("div", fA, [
|
|
19
19
|
k("span", bA, [
|
|
20
20
|
G(I.$slots, "eTitle", {}, void 0, !0)
|
|
21
21
|
])
|
|
@@ -394,7 +394,7 @@ const wE = { class: "login-wrap" }, dE = { class: "login-header" }, SE = { class
|
|
|
394
394
|
]);
|
|
395
395
|
};
|
|
396
396
|
}
|
|
397
|
-
}), hE = /* @__PURE__ */ q(UE, [["__scopeId", "data-v-
|
|
397
|
+
}), hE = /* @__PURE__ */ q(UE, [["__scopeId", "data-v-31afa5b4"]]), xE = { class: "bread-content" }, ME = ["onClick"], YE = { key: 0 }, OE = {
|
|
398
398
|
__name: "index",
|
|
399
399
|
props: {
|
|
400
400
|
breadArray: {
|
|
@@ -475,7 +475,7 @@ const AA = z(0), pE = (I) => {
|
|
|
475
475
|
for (const g of B)
|
|
476
476
|
g.includes("{") || A.includes("{") || g.includes("[") || A.includes("[") || g.includes("【") || A.includes("【") || g.includes("(") || A.includes("(") || g.includes("(") || A.includes("(") || g.includes("/*") || A.includes("/*") ? (A += g.trim(), a(A).split("{").length - 1 === a(A).split("}").length - 1 && a(A).split("【").length - 1 === a(A).split("】").length - 1 && a(A).split("[").length - 1 === a(A).split("]").length - 1 && a(A).split("(").length - 1 === a(A).split(")").length - 1 && a(A).split("(").length - 1 === a(A).split(")").length - 1 && a(A).split("/*").length - 1 === a(A).split("*/").length - 1 && (E.push(A), A = "")) : E.push(g.trim());
|
|
477
477
|
return E == null ? void 0 : E.filter((g) => g.includes("{"));
|
|
478
|
-
},
|
|
478
|
+
}, HE = (I) => {
|
|
479
479
|
var E;
|
|
480
480
|
let B = [];
|
|
481
481
|
return (E = PE(I.slice(1, -1))) == null || E.forEach((A) => {
|
|
@@ -516,7 +516,7 @@ const AA = z(0), pE = (I) => {
|
|
|
516
516
|
});
|
|
517
517
|
}), Q;
|
|
518
518
|
} else
|
|
519
|
-
return A.trim().startsWith("{{") ?
|
|
519
|
+
return A.trim().startsWith("{{") ? HE(A.trim()) : nA(g);
|
|
520
520
|
} else if (QA(A)) {
|
|
521
521
|
const g = JSON.parse(A);
|
|
522
522
|
return Object.entries(g).map(([i, Q]) => (AA.value++, {
|
|
@@ -557,7 +557,7 @@ const AA = z(0), pE = (I) => {
|
|
|
557
557
|
});
|
|
558
558
|
}
|
|
559
559
|
return B;
|
|
560
|
-
},
|
|
560
|
+
}, fE = (I, B) => {
|
|
561
561
|
var E;
|
|
562
562
|
try {
|
|
563
563
|
if ((E = gA) != null && E.find((A) => (A == null ? void 0 : A.key) === B))
|
|
@@ -576,7 +576,7 @@ const AA = z(0), pE = (I) => {
|
|
|
576
576
|
} catch (A) {
|
|
577
577
|
return console.error("解析失败:", A), I;
|
|
578
578
|
}
|
|
579
|
-
}, bE = (I) => ({ [I == null ? void 0 : I.key]:
|
|
579
|
+
}, bE = (I) => ({ [I == null ? void 0 : I.key]: fE(I == null ? void 0 : I.value, I == null ? void 0 : I.key) }), GE = (I) => {
|
|
580
580
|
try {
|
|
581
581
|
if (a(I).split("[").length - 1 > 1) {
|
|
582
582
|
const B = a(I).replace(/[’]|[‘]|[']/g, '"').replaceAll(/,/g, ",").replaceAll("(", "[").replaceAll(")", "]").replaceAll("],]", "]]");
|
|
@@ -708,37 +708,37 @@ const AA = z(0), pE = (I) => {
|
|
|
708
708
|
var U;
|
|
709
709
|
let J = [];
|
|
710
710
|
return (U = u.contents) == null || U.forEach((x) => {
|
|
711
|
-
var p, j, d, C, c, o, l, R, S, P, K, y, m,
|
|
711
|
+
var p, j, d, C, c, o, l, R, S, P, K, y, m, H, W, T, V;
|
|
712
712
|
if ((p = gA) != null && p.find((O) => {
|
|
713
|
-
var v,
|
|
714
|
-
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (
|
|
713
|
+
var v, f, b;
|
|
714
|
+
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (f = Object.keys(x)) == null ? void 0 : f[0]) == null ? void 0 : b.toUpperCase());
|
|
715
715
|
}))
|
|
716
716
|
J.push({
|
|
717
717
|
comp: (d = (j = gA) == null ? void 0 : j.find((O) => {
|
|
718
|
-
var v,
|
|
719
|
-
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (
|
|
718
|
+
var v, f, b;
|
|
719
|
+
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (f = Object.keys(x)) == null ? void 0 : f[0]) == null ? void 0 : b.toUpperCase());
|
|
720
720
|
})) == null ? void 0 : d.value,
|
|
721
721
|
name: (c = (C = Object.values(x)) == null ? void 0 : C[0]) == null ? void 0 : c.replace(/[’]|[‘]|[']/g, ""),
|
|
722
722
|
compData: []
|
|
723
723
|
});
|
|
724
724
|
else if ((o = IA) != null && o.find((O) => {
|
|
725
|
-
var v,
|
|
726
|
-
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (
|
|
725
|
+
var v, f, b;
|
|
726
|
+
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (f = Object.keys(x)) == null ? void 0 : f[0]) == null ? void 0 : b.toUpperCase());
|
|
727
727
|
})) {
|
|
728
728
|
if ((J == null ? void 0 : J.length) === 0) return;
|
|
729
729
|
(l = J == null ? void 0 : J[(J == null ? void 0 : J.length) - 1]) != null && l.compData && J[(J == null ? void 0 : J.length) - 1].compData.push({
|
|
730
730
|
key: (S = (R = IA) == null ? void 0 : R.find((O) => {
|
|
731
|
-
var v,
|
|
732
|
-
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (
|
|
731
|
+
var v, f, b;
|
|
732
|
+
return ((v = O == null ? void 0 : O.key) == null ? void 0 : v.toUpperCase()) === ((b = (f = Object.keys(x)) == null ? void 0 : f[0]) == null ? void 0 : b.toUpperCase());
|
|
733
733
|
})) == null ? void 0 : S.value,
|
|
734
734
|
contents: (P = Object.values(x)) == null ? void 0 : P[0]
|
|
735
735
|
});
|
|
736
736
|
} else if ((y = (K = Object.keys(x)) == null ? void 0 : K[0]) != null && y.includes("$")) {
|
|
737
|
-
const O = (
|
|
737
|
+
const O = (H = (m = Object.keys(a(x))) == null ? void 0 : m[0]) == null ? void 0 : H.split("$");
|
|
738
738
|
J[(J == null ? void 0 : J.length) - 1].compData.push({
|
|
739
739
|
key: (T = (W = IA) == null ? void 0 : W.find((v) => {
|
|
740
|
-
var
|
|
741
|
-
return ((
|
|
740
|
+
var f, b;
|
|
741
|
+
return ((f = v == null ? void 0 : v.key) == null ? void 0 : f.toUpperCase()) === ((b = O == null ? void 0 : O[0]) == null ? void 0 : b.toUpperCase());
|
|
742
742
|
})) == null ? void 0 : T.value,
|
|
743
743
|
contents: (V = Object.values(x)) == null ? void 0 : V[0],
|
|
744
744
|
selectLabel: O == null ? void 0 : O[1]
|
|
@@ -776,11 +776,11 @@ const AA = z(0), pE = (I) => {
|
|
|
776
776
|
});
|
|
777
777
|
}, p = (C) => {
|
|
778
778
|
var P, K, y;
|
|
779
|
-
const c = a(J.value), o = c == null ? void 0 : c.map((m,
|
|
779
|
+
const c = a(J.value), o = c == null ? void 0 : c.map((m, H) => (H === (C == null ? void 0 : C.index) && (m.compData = C == null ? void 0 : C.contents), m));
|
|
780
780
|
let l = "";
|
|
781
781
|
(K = (P = a(o)) == null ? void 0 : P.filter((m) => (m == null ? void 0 : m.comp) === "Form")) == null || K.forEach((m) => {
|
|
782
|
-
var
|
|
783
|
-
(
|
|
782
|
+
var H;
|
|
783
|
+
(H = m == null ? void 0 : m.compData) == null || H.forEach((W) => {
|
|
784
784
|
var T;
|
|
785
785
|
(W == null ? void 0 : W.key) === "formContent" && ((T = W == null ? void 0 : W.contents) == null || T.forEach((V) => {
|
|
786
786
|
V.value !== "" && (l = l === "" ? V == null ? void 0 : V.value : l + "-" + (V == null ? void 0 : V.value));
|
|
@@ -789,7 +789,7 @@ const AA = z(0), pE = (I) => {
|
|
|
789
789
|
});
|
|
790
790
|
let R = u == null ? void 0 : u.value;
|
|
791
791
|
(R == null ? void 0 : R.length) > 0 ? R[0] = { key: "main", value: l } : (Array.isArray(R) || (R = []), R.push({ key: "main", value: l })), t.setSelectTitle(R), i.value = !1, J.value = o;
|
|
792
|
-
const S = (y = n.value) == null ? void 0 : y.map((m,
|
|
792
|
+
const S = (y = n.value) == null ? void 0 : y.map((m, H) => {
|
|
793
793
|
var W;
|
|
794
794
|
return m.name === e.value && (m.compData = (W = m.compData) == null ? void 0 : W.map((T) => ((T == null ? void 0 : T.key) === "groupContents" && (T.contents = J.value), T))), m;
|
|
795
795
|
});
|
|
@@ -817,8 +817,8 @@ const AA = z(0), pE = (I) => {
|
|
|
817
817
|
if (!e.value)
|
|
818
818
|
C = (l = (o = a(n.value)) == null ? void 0 : o.filter((m) => (m == null ? void 0 : m.comp) === "Group")) == null ? void 0 : l[0], Q.setActiveMenuPath(C == null ? void 0 : C.name);
|
|
819
819
|
else {
|
|
820
|
-
const m = (R = a(n.value)) == null ? void 0 : R.filter((
|
|
821
|
-
C = m == null ? void 0 : m.find((
|
|
820
|
+
const m = (R = a(n.value)) == null ? void 0 : R.filter((H) => (H == null ? void 0 : H.comp) === "Group");
|
|
821
|
+
C = m == null ? void 0 : m.find((H) => H.name === e.value);
|
|
822
822
|
}
|
|
823
823
|
U.value = (P = (S = C == null ? void 0 : C.compData) == null ? void 0 : S[0]) == null ? void 0 : P.contents, J.value = (y = (K = C == null ? void 0 : C.compData) == null ? void 0 : K[0]) == null ? void 0 : y.contents, console.log("itemData监听", C, e.value, n.value);
|
|
824
824
|
},
|
package/dist/ss-component.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}.menu-wrap[data-v-2cbe7506]{width:100%;height:100%}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item.is-active{background:var(--ssComponent-menuitem-active-bg)}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}.form-content[data-v-39978581]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-39978581]{width:100%}.form-content .form-content-view .form-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-39978581]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-39978581]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-39978581]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-39978581] .el-form-item__label{padding:0;justify-content:start}[data-v-39978581] .el-form-item__content{align-items:start;width:220px}.extra-button-content[data-v-1d46278f]{display:flex;flex-direction:row;justify-content:space-between}.extra-button-content .extra-header[data-v-1d46278f],.extra-button-content .extra-header .extra-contents[data-v-1d46278f]{display:flex;flex-direction:row;gap:8px}.extra-button-content .extra-header .extra-contents .extra-content[data-v-1d46278f]{padding:4px 12px;border-radius:8px;cursor:pointer}.extra-button-content .extra-button-filter[data-v-1d46278f]{display:flex;gap:8px;flex-direction:row}.extra-button-content .extra-button-filter .button-style[data-v-1d46278f]{width:24px;height:24px;cursor:pointer}[data-v-67bc73bd] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-67bc73bd] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-67bc73bd] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-67bc73bd] .el-table__body .el-table__row{height:48px}[data-v-67bc73bd] .el-table__body{height:100%}.table-content-show[data-v-67bc73bd]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-67bc73bd]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-67bc73bd]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-67bc73bd]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-67bc73bd]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-67bc73bd]{height:inherit}[data-v-67bc73bd] .el-table__body-wrapper{overflow:auto}.table-content[data-v-781eace3]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-781eace3]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-781eace3],.table-content .dialog-footer .ok-button[data-v-781eace3],.table-content .extra-button-label[data-v-781eace3]{cursor:pointer}.form-content[data-v-156885e4]{display:flex;flex-direction:column;gap:16px}[data-v-156885e4] .el-form-item{margin-bottom:0}[data-v-156885e4] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}:root{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c;--ssComponent-bgColor: #426ec4;--ssComponent-menu-bg: #426ec4;--ssComponent-submenu-hover-bg: #00000033;--ssComponent-submenu-open-bg: #2DA0FF;--ssComponent-submenu-open-inline-bg: #1C4275;--ssComponent-menuitem-hover-bg: #1d7bef;--ssComponent-menuitem-active-bg: #1d7bef;--login-sys-title-color: #2DA0FF;--login-sys-cTitle-fontSize: 2em;--login-sys-loginTitle-fontSize: 1.5em;--login-sys-eTitle-fontSize: 1.3em}.menuList-wrap[data-v-dc84a8f7]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-dc84a8f7]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg)}.header-wrapper[data-v-0498c988]{width:95%;height:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-content:center;padding:20px;box-sizing:border-box}.header-wrapper .header-horizontal[data-v-0498c988]{width:100%;min-height:30px;display:flex;gap:8px;align-items:center}.header-wrapper .header-horizontal .header-logo[data-v-0498c988]{display:inline-block;width:30px;height:30px}.header-wrapper .header-horizontal .header-cTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-cTitle-fontSize);font-weight:800}.header-wrapper .header-horizontal .header-eTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-eTitle-fontSize);font-weight:500}.left-wrap[data-v-06d813c8]{width:100%;display:flex;justify-content:right}.left-wrap .left-bg[data-v-06d813c8]{width:70%}@keyframes electric-flow-c5b59515{0%{border-color:transparent}25%{border-left-color:var(--login-sys-title-color)}50%{border-top-color:var(--login-sys-title-color)}75%{border-right-color:var(--login-sys-title-color)}to{border-bottom-color:var(--login-sys-title-color)}}.right-wrap[data-v-c5b59515]{width:100%;height:65%;border:1px solid transparent;animation:electric-flow-c5b59515 2s linear infinite}.right-wrap .right-title[data-v-c5b59515]{width:100%;height:15%;display:flex;align-items:center;justify-content:center;color:var(--login-sys-title-color);font-size:var(--login-sys-loginTitle-fontSize);font-weight:500}.right-wrap .right-content[data-v-c5b59515]{width:100%;height:85%}.right-wrap .right-content[data-v-c5b59515] .right-tabs{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__header{padding:0 30px;height:40px}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content{height:calc(100% - 40px);padding:0 30px;box-sizing:border-box}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane{height:100%;display:flex;flex-direction:column}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-content{flex:1}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button{width:100%;min-height:50px;margin:5% auto;cursor:pointer}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button .el-button{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.common>.el-button{background:#f4f4f5}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.special>.el-button{background:var(--login-sys-title-color);color:#fff}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-tips{width:100%;height:100px;color:#c7c7c9;display:flex;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:wrap}.account-wrap[data-v-53a41975]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item[data-v-53a41975]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-53a41975]{width:100%;height:40px}.card-wrap[data-v-23f91251]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-content:space-between;justify-content:space-between;padding-top:8%;box-sizing:border-box}.card-wrap .card-icon[data-v-23f91251]{width:100%;text-align:center}.card-wrap .card-input[data-v-23f91251]{width:100%}.card-wrap .card-input .el-input[data-v-23f91251]{height:40px}.card-wrap .card-icon.card[data-v-23f91251]{padding:0}.login-wrap[data-v-7e6fafc1]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px}.login-wrap .login-header[data-v-7e6fafc1]{width:100%}.login-wrap .login-body[data-v-7e6fafc1]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-7e6fafc1]{height:100%}.login-wrap .login-body .left[data-v-7e6fafc1]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-7e6fafc1]{width:32%;padding:0 70px;box-sizing:border-box}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-38117cb6]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-38117cb6]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-38117cb6]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-38117cb6]{display:flex}.system-wrap .show-content .item-content[data-v-38117cb6]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-38117cb6]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-876d48c6]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-876d48c6]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-876d48c6]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-876d48c6]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-876d48c6]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-876d48c6]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-876d48c6]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.c-menuA[data-v-29351fb5]{width:300px;height:300px;border:1px solid red}.chart-model-class[data-v-798284db]{display:flex;width:100%;height:100%}.eCharts[data-v-0440fac3]{display:flex;align-items:center;justify-content:center;height:300px}
|
|
1
|
+
.tabs-label[data-v-c1c693d0]{display:flex;width:100%;flex-direction:row}.tabs-label .tabs-children[data-v-c1c693d0]{display:flex;flex-direction:row;gap:8px}.tabs-contents[data-v-c1c693d0]{display:flex;flex-direction:column;gap:16px}.menu-wrap[data-v-2cbe7506]{width:100%;height:100%}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-sub-menu .el-sub-menu__title:hover{background:var(--ssComponent-submenu-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened{background:var(--ssComponent-submenu-open-bg);border-radius:8px}.menu-wrap[data-v-2cbe7506] .el-sub-menu.is-opened .el-menu--inline{background:var(--ssComponent-submenu-open-inline-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item{font-family:SourceHanSansCN,SourceHanSansCN;font-weight:400;font-size:16px;color:#fff;line-height:24px;text-align:left;font-style:normal}.menu-wrap[data-v-2cbe7506] .el-menu-item:hover{background:var(--ssComponent-menuitem-hover-bg)}.menu-wrap[data-v-2cbe7506] .el-menu-item.is-active{background:var(--ssComponent-menuitem-active-bg)}[data-v-917c453d] .el-textarea__inner{resize:none;height:120px}.dialog-title[data-v-5547662c]{display:flex}.el-dialog__headerbtn{margin-top:8px}.upload[data-v-3e08e20d]{display:flex;gap:8px}.upload .upload-word[data-v-3e08e20d]{display:flex;align-items:center}.upload .upload-icon[data-v-3e08e20d]{display:flex;width:20px;height:20px}.dialog-footer[data-v-3e08e20d]{display:flex;flex-direction:row;justify-content:end}.tip-content[data-v-3e08e20d]{display:flex}[data-v-3e08e20d] .el-upload-list{margin:0}[data-v-3e08e20d] .el-upload-list__item{display:flex}[data-v-3e08e20d] .el-upload-list__item .el-upload-list__item-info{margin-left:0}[data-v-3e08e20d] .el-upload-list__item-name{padding:0}.form-content[data-v-39978581]{width:100%;display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:8px;flex-wrap:wrap}.form-content .form-content-view[data-v-39978581]{width:100%}.form-content .form-content-view .form-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-data .form-item .from-item-label[data-v-39978581]{display:flex;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-content-view .form-noRegular-data[data-v-39978581]{display:flex;flex-direction:row;gap:12px;width:100%;flex-wrap:wrap}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__label{padding:0;justify-content:start;width:auto}.form-content .form-content-view .form-noRegular-data .form-row-content[data-v-39978581] .el-form-item__content{align-items:start;width:100%}.form-content .form-content-view .form-noRegular-data .form-item[data-v-39978581]{display:flex;flex-direction:row;gap:8px;width:260px;height:100%;align-items:center}.form-content .form-content-view .form-noRegular-data .form-item .from-item-label[data-v-39978581]{text-align:left;width:72px;min-width:72px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.form-content .form-content-view .form-noRegular-data .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px;align-items:center}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content[data-v-39978581]{display:flex;cursor:pointer}.form-content .form-content-view .form-noRegular-data .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}.form-content .form-button[data-v-39978581]{display:flex;flex-direction:row;flex-wrap:wrap;gap:12px}.form-content .form-button .form-button-content[data-v-39978581]{cursor:pointer}.form-content .form-button .form-button-content .form-button-item[data-v-39978581]{background:var(--ssComponent-primary-color);color:#fff;justify-content:center;align-items:center;padding:4px 12px;border-radius:8px;display:flex}[data-v-39978581] .el-form-item__label{padding:0;justify-content:start}[data-v-39978581] .el-form-item__content{align-items:start;width:220px}.extra-button-content[data-v-1d46278f]{display:flex;flex-direction:row;justify-content:space-between}.extra-button-content .extra-header[data-v-1d46278f],.extra-button-content .extra-header .extra-contents[data-v-1d46278f]{display:flex;flex-direction:row;gap:8px}.extra-button-content .extra-header .extra-contents .extra-content[data-v-1d46278f]{padding:4px 12px;border-radius:8px;cursor:pointer}.extra-button-content .extra-button-filter[data-v-1d46278f]{display:flex;gap:8px;flex-direction:row}.extra-button-content .extra-button-filter .button-style[data-v-1d46278f]{width:24px;height:24px;cursor:pointer}[data-v-67bc73bd] .el-table__cell .cell{font-size:14px;font-weight:700;color:#000000d9;font-family:PingFangSC,PingFang SC;min-width:79.2px}[data-v-67bc73bd] .layout-container-view .el-scrollbar__view{width:100%;overflow:auto}[data-v-67bc73bd] .el-table__header-wrapper .el-table__header{height:48px;width:auto!important}[data-v-67bc73bd] .el-table__body .el-table__row{height:48px}[data-v-67bc73bd] .el-table__body{height:100%}.table-content-show[data-v-67bc73bd]{display:flex;flex-direction:column;gap:12px}.table-content-show .table-wrap .table-operate[data-v-67bc73bd]{display:flex;flex-direction:row;justify-content:space-between;gap:8px}.table-content-show .table-wrap .table-operate .blue-table-operate[data-v-67bc73bd]{color:#1890ff}.table-content-show .table-wrap .table-operate .red-table-operate[data-v-67bc73bd]{color:red}.table-content-show .table-wrap .table-operate .table-operate-content[data-v-67bc73bd]{font-family:SourceHanSansSC,SourceHanSansSC;font-weight:400;font-size:14px;font-style:normal;text-transform:none;cursor:pointer}.el-table[data-v-67bc73bd]{height:inherit}[data-v-67bc73bd] .el-table__body-wrapper{overflow:auto}.table-content[data-v-781eace3]{display:flex;flex-direction:column;gap:16px}.table-content .dialog-footer[data-v-781eace3]{display:flex;flex-direction:row;gap:16px;justify-content:end}.table-content .dialog-footer .cancel-button[data-v-781eace3],.table-content .dialog-footer .ok-button[data-v-781eace3],.table-content .extra-button-label[data-v-781eace3]{cursor:pointer}.form-content[data-v-156885e4]{display:flex;flex-direction:column;gap:16px}[data-v-156885e4] .el-form-item{margin-bottom:0}[data-v-156885e4] .form-data{align-items:center}.table-operate-content[data-v-877911eb]{display:flex;flex-direction:column;gap:12px}.table-operate-content .table-operate-item[data-v-877911eb]{display:flex;flex-direction:column;gap:8px}.table-operate-content .table-operate-item .operate-title[data-v-877911eb]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.table-operate-content .table-operate-item .operate-content[data-v-877911eb]{display:flex;font-size:13px}.form-operate-content[data-v-a36b8468]{display:flex;flex-direction:column;gap:12px}.form-operate-content .form-operate-item[data-v-a36b8468]{display:flex;flex-direction:column;gap:8px}.form-operate-content .form-operate-item .operate-title[data-v-a36b8468]{font-size:14px;font-weight:600;display:flex;flex-direction:row;justify-content:space-between;align-items:center}.form-operate-content .form-operate-item .operate-content[data-v-a36b8468]{display:flex;font-size:13px}.type-select[data-v-fe4aecc8]{display:flex;flex-direction:row;flex-wrap:wrap;width:100%;height:fit-content;overflow:auto}.type-select .type-list[data-v-fe4aecc8]{display:flex;flex-direction:row;height:110px;gap:8px}.type-select .type-list .list-content[data-v-fe4aecc8]{width:85px;height:auto;display:flex;flex-direction:column;gap:6px;padding:4px 12px;align-items:center;height:82px;cursor:pointer}.type-select .type-list .list-content .list-icon[data-v-fe4aecc8]{width:48px;height:48px}.fill-content[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.fill-content .fill-operate[data-v-a216b035]{font-size:16px;font-weight:600}.fill-content .operate-content[data-v-a216b035]{display:flex;flex-direction:row;width:100%;height:100%;overflow:auto}.fill-content .operate-content .collapse-content[data-v-a216b035]{width:100%}.fill-content .operate-content .collapse-content .collapse-title[data-v-a216b035]{font-size:15px;font-weight:600}.fill-content .operate-content .collapse-content .comp-child[data-v-a216b035]{display:flex;flex-direction:column;gap:16px;width:100%}.show-content[data-v-79320497]{display:flex;flex-direction:column;height:100%;gap:16px;width:100%;overflow:auto}.show-content .item-content[data-v-79320497]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content[data-v-869e6e20]{display:flex;flex-direction:column;height:auto;gap:16px;width:100%;overflow:auto;padding:16px;background:#fff}.show-content .item-content[data-v-869e6e20]{display:flex;flex-direction:column;gap:8px;height:fit-content}.show-content .item-content .item-view-group[data-v-869e6e20]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-b25bde75]{display:flex;flex-direction:column;width:100%;height:100%;gap:16px;overflow:hidden}.add-model-content .model-operate[data-v-b25bde75]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-b25bde75]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-b25bde75]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-b25bde75]{display:flex;flex-direction:row;flex:1;padding:4px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-b25bde75]{display:flex;flex-direction:row;align-items:center;gap:8px}.add-model-content .model-import-data .import-button[data-v-b25bde75]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-b25bde75]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}:root{--ssComponent-primary-color: #3F68B1;--ssComponent-danger-color: #f56c6c;--ssComponent-bgColor: #426ec4;--ssComponent-menu-bg: #426ec4;--ssComponent-submenu-hover-bg: #00000033;--ssComponent-submenu-open-bg: #2DA0FF;--ssComponent-submenu-open-inline-bg: #1C4275;--ssComponent-menuitem-hover-bg: #1d7bef;--ssComponent-menuitem-active-bg: #1d7bef;--login-sys-title-color: #2DA0FF;--login-sys-cTitle-fontSize: 2em;--login-sys-loginTitle-fontSize: 1.5em;--login-sys-eTitle-fontSize: 1.3em;--system-bg:#fff}.menuList-wrap[data-v-dc84a8f7]::-webkit-scrollbar{display:none}.menuList-wrap[data-v-dc84a8f7]{width:100%;height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none;background:var(--ssComponent-menu-bg)}.header-wrapper[data-v-0498c988]{width:95%;height:100%;margin:0 auto;display:flex;flex-wrap:wrap;align-content:center;padding:20px;box-sizing:border-box}.header-wrapper .header-horizontal[data-v-0498c988]{width:100%;min-height:30px;display:flex;gap:8px;align-items:center}.header-wrapper .header-horizontal .header-logo[data-v-0498c988]{display:inline-block;width:30px;height:30px}.header-wrapper .header-horizontal .header-cTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-cTitle-fontSize);font-weight:800}.header-wrapper .header-horizontal .header-eTitle[data-v-0498c988]{color:var(--login-sys-title-color);font-size:var(--login-sys-eTitle-fontSize);font-weight:500}.left-wrap[data-v-06d813c8]{width:100%;display:flex;justify-content:right}.left-wrap .left-bg[data-v-06d813c8]{width:70%}@keyframes electric-flow-c5b59515{0%{border-color:transparent}25%{border-left-color:var(--login-sys-title-color)}50%{border-top-color:var(--login-sys-title-color)}75%{border-right-color:var(--login-sys-title-color)}to{border-bottom-color:var(--login-sys-title-color)}}.right-wrap[data-v-c5b59515]{width:100%;height:65%;border:1px solid transparent;animation:electric-flow-c5b59515 2s linear infinite}.right-wrap .right-title[data-v-c5b59515]{width:100%;height:15%;display:flex;align-items:center;justify-content:center;color:var(--login-sys-title-color);font-size:var(--login-sys-loginTitle-fontSize);font-weight:500}.right-wrap .right-content[data-v-c5b59515]{width:100%;height:85%}.right-wrap .right-content[data-v-c5b59515] .right-tabs{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__header{padding:0 30px;height:40px}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content{height:calc(100% - 40px);padding:0 30px;box-sizing:border-box}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane{height:100%;display:flex;flex-direction:column}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-content{flex:1}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button{width:100%;min-height:50px;margin:5% auto;cursor:pointer}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button .el-button{width:100%;height:100%}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.common>.el-button{background:#f4f4f5}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-button.special>.el-button{background:var(--login-sys-title-color);color:#fff}.right-wrap .right-content[data-v-c5b59515] .right-tabs .el-tabs__content .el-tab-pane .tab-tips{width:100%;height:100px;color:#c7c7c9;display:flex;text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:wrap}.account-wrap[data-v-53a41975]{width:100%;height:100%;display:flex;align-items:center}.account-wrap .el-form[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item[data-v-53a41975]{width:100%;margin-bottom:5%}.account-wrap .el-form .el-form-item .el-form-item__content[data-v-53a41975]{width:100%}.account-wrap .el-form .el-form-item .el-form-item__content .el-input[data-v-53a41975]{width:100%;height:40px}.card-wrap[data-v-23f91251]{width:100%;height:100%;display:flex;flex-wrap:wrap;align-content:space-between;justify-content:space-between;padding-top:8%;box-sizing:border-box}.card-wrap .card-icon[data-v-23f91251]{width:100%;text-align:center}.card-wrap .card-input[data-v-23f91251]{width:100%}.card-wrap .card-input .el-input[data-v-23f91251]{height:40px}.card-wrap .card-icon.card[data-v-23f91251]{padding:0}.login-wrap[data-v-31afa5b4]{width:100%;height:100%;display:grid;grid-template-rows:15% auto;gap:16px;background:var(--system-bg)}.login-wrap .login-header[data-v-31afa5b4]{width:100%}.login-wrap .login-body[data-v-31afa5b4]{width:100%;display:flex;justify-content:center;align-items:center;gap:90px}.login-wrap .login-body .login-body-item[data-v-31afa5b4]{height:100%}.login-wrap .login-body .left[data-v-31afa5b4]{width:55%;display:flex;justify-content:right;padding:0 50px;box-sizing:border-box}.login-wrap .login-body .right[data-v-31afa5b4]{width:32%;padding:0 70px;box-sizing:border-box}.bread-content[data-v-d55d3ede]{display:flex;width:100%}.bread-content .bread-item[data-v-d55d3ede]{display:flex}.bread-content .bread-item .bread-title[data-v-d55d3ede]{cursor:pointer}.bread-content .bread-item .bread-title[data-v-d55d3ede]:hover{color:var(--ssComponent-primary-color)}.system-wrap[data-v-38117cb6]{width:100%;height:auto;display:flex;gap:1%;background:#f8f8f8}.system-wrap .sys-aside[data-v-38117cb6]{padding:8px;min-width:200px;width:15%}.system-wrap .show-content[data-v-38117cb6]{flex:1;display:flex;flex-direction:column;height:calc(100% - 16px);gap:16px;overflow:auto;padding:24px;background:#fff;margin-top:16px;box-sizing:border-box;border-radius:8px}.system-wrap .show-content .item-menu-content[data-v-38117cb6]{display:flex}.system-wrap .show-content .item-content[data-v-38117cb6]{display:flex;flex-direction:column;gap:16px;height:fit-content}.system-wrap .show-content .item-content .item-view-group[data-v-38117cb6]{display:flex;flex-direction:row;justify-content:start;align-items:center}.add-model-content[data-v-876d48c6]{display:flex;flex-direction:column;width:100%;height:100%;overflow:hidden}.add-model-content .model-operate[data-v-876d48c6]{display:flex;flex-direction:row;gap:16px;flex:1;height:0px;padding:4px 2px}.add-model-content .model-operate .model-select[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:220px;min-width:220px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-operate .model-show[data-v-876d48c6]{display:flex;padding:16px;height:initial;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;flex:1;min-width:0}.add-model-content .model-operate .model-fill[data-v-876d48c6]{display:flex;padding:16px;height:initial;width:300px;min-width:300px;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a}.add-model-content .model-view[data-v-876d48c6]{display:flex;flex-direction:row;flex:1;background:#fff;border-radius:8px;box-shadow:1px 2px 6px 1px #0000001a;height:calc(100% - 72px)}.add-model-content .model-import-data[data-v-876d48c6]{display:flex;flex-direction:row;align-items:center;gap:8px;padding:16px}.add-model-content .model-import-data .import-button[data-v-876d48c6]{padding:4px 12px;background:var(--el-color-primary);color:#fff;border-radius:8px;cursor:pointer}.add-model-content .model-import-data .import-button .import-button-content[data-v-876d48c6]{background:var(--el-color-primary);color:#fff;border:0px;cursor:pointer}.c-menuA[data-v-29351fb5]{width:300px;height:300px;border:1px solid red}.chart-model-class[data-v-798284db]{display:flex;width:100%;height:100%}.eCharts[data-v-0440fac3]{display:flex;align-items:center;justify-content:center;height:300px}
|
package/dist/ss-component.js
CHANGED
|
@@ -11,7 +11,7 @@ const e = s(() => import("./index-K2751gew.js"));
|
|
|
11
11
|
e.install = (n) => {
|
|
12
12
|
n.component("ssMenu", e);
|
|
13
13
|
};
|
|
14
|
-
const m = s(() => import("./index-
|
|
14
|
+
const m = s(() => import("./index-CEq6IRIE.js"));
|
|
15
15
|
m.install = (n) => {
|
|
16
16
|
n.component("ssMenuComponent", m);
|
|
17
17
|
};
|
|
@@ -30,7 +30,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`),{initialZIndex:n,curr
|
|
|
30
30
|
* vue-router v4.5.1
|
|
31
31
|
* (c) 2025 Eduardo San Martin Morote
|
|
32
32
|
* @license MIT
|
|
33
|
-
*/var y6;(function(r){r.pop="pop",r.push="push"})(y6||(y6={}));var A6;(function(r){r.back="back",r.forward="forward",r.unknown=""})(A6||(A6={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var _6;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(_6||(_6={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const tX=Symbol(process.env.NODE_ENV!=="production"?"router":"");Symbol(process.env.NODE_ENV!=="production"?"route location":""),Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function rX(){return d.inject(tX)}const nX={class:"login-wrap"},aX={class:"login-header"},iX={class:"login-body"},oX={class:"login-body-item left"},sX={class:"login-body-item right"},lX=["title"],uX=["title"],cX=Ze(d.defineComponent({__name:"index",emits:["change"],setup(r,{emit:t}){rX();const e=t,n=d.ref({sysCTitle:"动力学试验信息系统",sysETitle:"Dynamic Test Information System",loginTitle:"欢迎登录",tabs:[{name:"刷卡登录",btnLabel:"请刷卡登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"},{name:"用户名登录",btnLabel:"登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"}]}),a=d.ref(""),i=d.ref(!1),o=d.ref(!1),s=()=>{i.value=!0},l=p=>{i.value=!1,f(p)},u=(p,v)=>{i.value=!1,p&&f(v)},c=async()=>{const p={data:{result:{token:"QEIOJHFJJNCJJHFJEBJ"}}};return localStorage.setItem("loginToken",p.data.result.token),!0},f=p=>{o.value=!0,console.log("handleLogin",a.value,p),c().then(v=>{v&&(console.log("loginAsync",v),e("change","/model"))})},h=p=>{a.value=p,i.value=!1,o.value=!1};return(p,v)=>{const m=d.resolveComponent("el-image");return d.openBlock(),d.createElementBlock("div",nX,[d.createElementVNode("div",aX,[d.createVNode(TK,null,{logo:d.withCtx(()=>[d.createVNode(m,{src:d.unref(UK)},null,8,["src"])]),cTitle:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(n.value.sysCTitle),1)]),eTitle:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(n.value.sysETitle),1)]),_:1})]),d.createElementVNode("div",iX,[d.createElementVNode("div",oX,[d.createVNode(NK,null,{img:d.withCtx(()=>[d.createVNode(m,{src:d.unref(WK),fit:"cover"},null,8,["src"])]),_:1})]),d.createElementVNode("div",sX,[d.createVNode(GK,{loading:o.value,onClickLogin:s,onHandleTabClick:h},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.loginTitle),1)]),tabLabel1:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[0].name),1)]),tabContent1:d.withCtx(()=>[d.createVNode(eX,{activeTabName:a.value,onHandleCardInput:l},null,8,["activeTabName"])]),tabButton1:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[0].btnLabel),1)]),tabTips1:d.withCtx(()=>[d.createElementVNode("span",{title:n.value.tabs[0].tips},d.toDisplayString(n.value.tabs[0].tips),9,lX)]),tabLabel2:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[1].name),1)]),tabContent2:d.withCtx(()=>[d.createVNode(JK,{activeTabName:a.value,isClickLogin:i.value,onHandleLoginFormChange:u},null,8,["activeTabName","isClickLogin"])]),tabButton2:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[1].btnLabel),1)]),tabTips2:d.withCtx(()=>[d.createElementVNode("span",{title:n.value.tabs[1].tips},d.toDisplayString(n.value.tabs[1].tips),9,uX)]),_:1},8,["loading"])])])])}}}),[["__scopeId","data-v-
|
|
33
|
+
*/var y6;(function(r){r.pop="pop",r.push="push"})(y6||(y6={}));var A6;(function(r){r.back="back",r.forward="forward",r.unknown=""})(A6||(A6={})),Symbol(process.env.NODE_ENV!=="production"?"navigation failure":"");var _6;(function(r){r[r.aborted=4]="aborted",r[r.cancelled=8]="cancelled",r[r.duplicated=16]="duplicated"})(_6||(_6={})),Symbol(process.env.NODE_ENV!=="production"?"router view location matched":""),Symbol(process.env.NODE_ENV!=="production"?"router view depth":"");const tX=Symbol(process.env.NODE_ENV!=="production"?"router":"");Symbol(process.env.NODE_ENV!=="production"?"route location":""),Symbol(process.env.NODE_ENV!=="production"?"router view location":"");function rX(){return d.inject(tX)}const nX={class:"login-wrap"},aX={class:"login-header"},iX={class:"login-body"},oX={class:"login-body-item left"},sX={class:"login-body-item right"},lX=["title"],uX=["title"],cX=Ze(d.defineComponent({__name:"index",emits:["change"],setup(r,{emit:t}){rX();const e=t,n=d.ref({sysCTitle:"动力学试验信息系统",sysETitle:"Dynamic Test Information System",loginTitle:"欢迎登录",tabs:[{name:"刷卡登录",btnLabel:"请刷卡登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"},{name:"用户名登录",btnLabel:"登录",tips:"温馨提示:建议使用谷歌、Microsoft Edge,版本79.0.1072.62及以上浏览器,360浏览器请使用极速模式"}]}),a=d.ref(""),i=d.ref(!1),o=d.ref(!1),s=()=>{i.value=!0},l=p=>{i.value=!1,f(p)},u=(p,v)=>{i.value=!1,p&&f(v)},c=async()=>{const p={data:{result:{token:"QEIOJHFJJNCJJHFJEBJ"}}};return localStorage.setItem("loginToken",p.data.result.token),!0},f=p=>{o.value=!0,console.log("handleLogin",a.value,p),c().then(v=>{v&&(console.log("loginAsync",v),e("change","/model"))})},h=p=>{a.value=p,i.value=!1,o.value=!1};return(p,v)=>{const m=d.resolveComponent("el-image");return d.openBlock(),d.createElementBlock("div",nX,[d.createElementVNode("div",aX,[d.createVNode(TK,null,{logo:d.withCtx(()=>[d.createVNode(m,{src:d.unref(UK)},null,8,["src"])]),cTitle:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(n.value.sysCTitle),1)]),eTitle:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(n.value.sysETitle),1)]),_:1})]),d.createElementVNode("div",iX,[d.createElementVNode("div",oX,[d.createVNode(NK,null,{img:d.withCtx(()=>[d.createVNode(m,{src:d.unref(WK),fit:"cover"},null,8,["src"])]),_:1})]),d.createElementVNode("div",sX,[d.createVNode(GK,{loading:o.value,onClickLogin:s,onHandleTabClick:h},{title:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.loginTitle),1)]),tabLabel1:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[0].name),1)]),tabContent1:d.withCtx(()=>[d.createVNode(eX,{activeTabName:a.value,onHandleCardInput:l},null,8,["activeTabName"])]),tabButton1:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[0].btnLabel),1)]),tabTips1:d.withCtx(()=>[d.createElementVNode("span",{title:n.value.tabs[0].tips},d.toDisplayString(n.value.tabs[0].tips),9,lX)]),tabLabel2:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[1].name),1)]),tabContent2:d.withCtx(()=>[d.createVNode(JK,{activeTabName:a.value,isClickLogin:i.value,onHandleLoginFormChange:u},null,8,["activeTabName","isClickLogin"])]),tabButton2:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(n.value.tabs[1].btnLabel),1)]),tabTips2:d.withCtx(()=>[d.createElementVNode("span",{title:n.value.tabs[1].tips},d.toDisplayString(n.value.tabs[1].tips),9,uX)]),_:1},8,["loading"])])])])}}}),[["__scopeId","data-v-31afa5b4"]]),fX={class:"bread-content"},hX=["onClick"],pX={key:0},dX=Ze({__name:"index",props:{breadArray:{type:Array,default:()=>[]}},emits:["click"],setup(r,{emit:t}){const e=r,n=d.ref([]),a=t;d.onMounted(()=>{n.value=e==null?void 0:e.breadArray});const i=o=>{a("click",o)};return(o,s)=>(d.openBlock(),d.createElementBlock("div",fX,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.value,(l,u)=>(d.openBlock(),d.createElementBlock("div",{key:u,class:"bread-item"},[d.createElementVNode("div",{class:"bread-title",onClick:c=>i(l)},d.toDisplayString(l.value),9,hX),u!==n.value.length-1?(d.openBlock(),d.createElementBlock("div",pX,d.toDisplayString("/"))):d.createCommentVNode("",!0)]))),128))]))}},[["__scopeId","data-v-d55d3ede"]]);function vX(r){const t=[],e={"(":")","{":"}","[":"]"};for(let n=0;n<r.length;n++){const a=r[n];if(e[a])t.push(a);else if(Object.values(e).includes(a)){const i=t.pop();if(console.log("stack",t,i,e[i]),e[i]!==a)return!1}}return t.length===0}function gX(r){var n,a,i,o;const t=(a=(n=r[0])==null?void 0:n.compData)==null?void 0:a.filter(s=>s.key!=="formContent"),e=(o=(i=r[0])==null?void 0:i.compData)==null?void 0:o.filter(s=>s.key==="formContent");console.log("handleFormModel:",t,e,r)}const Ts=d.ref(0),mX=r=>{let t;r.includes(`\r
|
|
34
34
|
`)?t=r.split(`\r
|
|
35
35
|
`).filter(a=>a.trim()!==""):t=r.split(`
|
|
36
36
|
`).filter(a=>a.trim()!=="");const e=[];let n="";for(const a of t)a.includes("{")||n.includes("{")||a.includes("[")||n.includes("[")||a.includes("【")||n.includes("【")||a.includes("(")||n.includes("(")||a.includes("(")||n.includes("(")||a.includes("/*")||n.includes("/*")?(n+=a.trim(),H(n).split("{").length-1===H(n).split("}").length-1&&H(n).split("【").length-1===H(n).split("】").length-1&&H(n).split("[").length-1===H(n).split("]").length-1&&H(n).split("(").length-1===H(n).split(")").length-1&&H(n).split("(").length-1===H(n).split(")").length-1&&H(n).split("/*").length-1===H(n).split("*/").length-1&&(e.push(n),n="")):e.push(a.trim());return e},yX=r=>{const[t,e]=r.split(/=(.+)/),n=t.replace(/['"]/g,"").trim(),a=e.replace(/^['"]|['"]$/g,"");return{key:n,value:a}},ch=r=>{try{return JSON.parse(r),!0}catch{return!1}},AX=r=>r.includes("$")&&r.trim().endsWith("(")?r+")":r,_X=r=>{let t=r;const e=[];let n="";for(const a of t)a.includes("{")||n.includes("{")||a.includes("[")||n.includes("[")||a.includes("【")||n.includes("【")||a.includes("(")||n.includes("(")||a.includes("(")||n.includes("(")||a.includes("/*")||n.includes("/*")?(n+=a.trim(),H(n).split("{").length-1===H(n).split("}").length-1&&H(n).split("【").length-1===H(n).split("】").length-1&&H(n).split("[").length-1===H(n).split("]").length-1&&H(n).split("(").length-1===H(n).split(")").length-1&&H(n).split("(").length-1===H(n).split(")").length-1&&H(n).split("/*").length-1===H(n).split("*/").length-1&&(e.push(n),n="")):e.push(a.trim());return e==null?void 0:e.filter(a=>a.includes("{"))},wX=r=>{var e;let t=[];return(e=_X(r.slice(1,-1)))==null||e.forEach(n=>{var i,o,s,l;let a=((o=(i=n.slice(1,-1))==null?void 0:i.split(","))==null?void 0:o.length)??1;(l=(s=n.slice(1,-1))==null?void 0:s.split(","))==null||l.forEach(u=>{var p,v,m,g,y,A,_,w,C,x,E,I,b;let c=u==null?void 0:u.split(":"),f=c!=null&&c[0]?(c==null?void 0:c[1].split("$").length)-1===1?((p=c==null?void 0:c[0])==null?void 0:p.replace(/^"(.*)"$/,"$1"))+((v=c==null?void 0:c[1])==null?void 0:v.replace(/^"(.*)"$/,"$1")):Array.isArray((g=(m=c==null?void 0:c[1])==null?void 0:m.replace(/^"(.*)"$/,"$1"))==null?void 0:g.split("("))&&((_=(A=(y=c==null?void 0:c[1])==null?void 0:y.replace(/^"(.*)"$/,"$1"))==null?void 0:A.split("("))==null?void 0:_.length)>1?((w=c==null?void 0:c[0])==null?void 0:w.replace(/^"(.*)"$/,"$1"))+((E=(x=(C=c==null?void 0:c[1])==null?void 0:C.replace(/^"(.*)"$/,"$1"))==null?void 0:x.split("("))==null?void 0:E[0])+"()":(I=c==null?void 0:c[0])==null?void 0:I.replace(/^"(.*)"$/,"$1"):"",h=(c==null?void 0:c[1].split("$").length)-1===0?(b=c==null?void 0:c[1])==null?void 0:b.replace(/^"(.*)"$/,"$1"):"";Ts.value++,t.push({id:Ts.value,key:f,value:h,width:a,extraContent:c==null?void 0:c[1]})})}),t},w6=r=>{var t,e;try{const n=r.replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",").replace(/:/g,":").replace(/:\s*(?=,|}|$)/g,': ""');if(H(n).split("{").length-1>1){let a=H(n).replace(/^\{(.*)\}$/,"[$1]");if(ch(a)&&!a.includes("$")||(a=a.replace(/"([^"]+)"\$([\w\u4e00-\u9fa5]+\([^)]*\))/g,'"$1$$$2"')),ch(a)){const i=JSON.parse(a);let o=[];return i==null||i.forEach(s=>{var l;(l=Object.entries(H(s)))==null||l.forEach(u=>{Ts.value++,o.push({id:Ts.value,key:(u==null?void 0:u[0])??"",value:(u==null?void 0:u[1])===""?"":u==null?void 0:u[1],width:Object.keys(H(s)).length})})}),o}else return n.trim().startsWith("{{")?wX(n.trim()):T0(a)}else if(ch(n)){const a=JSON.parse(n);return Object.entries(a).map(([i,o])=>(Ts.value++,{id:Ts.value,key:i,value:o===""?"":o,width:1}))}else return((t=T0(n))==null?void 0:t.length)===0?n:(e=T0(n))==null?void 0:e.map(a=>({label:a.label,method:AX(a.method)}))}catch(n){return console.error("转换失败:",n),[]}},T0=r=>{r=r.trim().replace(/^\{|\}$/g,"").trim();const t=[];let e=0;for(;e<r.length;){const n=r.slice(e).match(/^\s*"([^"]+)"\s*:\s*/);if(!n)break;const a=n[1];e+=n[0].length;let i="",o=0,s=!1,l="";for(let u=e;u<r.length;u++){const c=r[u];if((c==='"'||c==="'")&&!s?(s=!0,l=c):c===l&&s&&(s=!1,l=""),!s&&((c==="{"||c==="("||c==="[")&&o++,(c==="}"||c===")"||c==="]")&&o--,c===","&&o===0||u===r.length-1)){i=r.slice(e,u+1).trim(),e=u+1;break}}t.push({label:a,method:i})}return t},CX=(r,t)=>{try{if(Ke!=null&&Ke.find(e=>(e==null?void 0:e.key)===t))return r.replace(/['"]/g,"").trim();if(H(r).split("[").length-1>1){const e=H(r).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(e)}else{const e=H(r).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",");if(ch(e)){const n=JSON.parse(e);return Array.isArray(n)?n.map(a=>({label:a})):n}else return w6(H(r))}}catch(e){return console.error("解析失败:",e),r}},xX=r=>({[r==null?void 0:r.key]:CX(r==null?void 0:r.value,r==null?void 0:r.key)}),EX=r=>{try{if(H(r).split("[").length-1>1){const t=H(r).replace(/[’]|[‘]|[']/g,'"').replaceAll(/,/g,",").replaceAll("(","[").replaceAll(")","]").replaceAll("],]","]]");return JSON.parse(t)}else return JSON.parse(H(r).replace(/[’]|[‘]|[']/g,'"').replace(/,/g,",")).map(e=>({label:e}))}catch(t){return console.error("解析失败:",t),r}},SX=r=>{const t=r.match(/\(([^)]+)\)/);return t?t[1]:""},bX=r=>{const t=r.match(/^([^(]+)\s*\(/);return t?t[1].trim():r},C6=r=>r.replace(/'/g,"").replace(/"/g,"").replace(/{|}/g,"").split(":").map(t=>t.trim()).filter(t=>t).join("/"),IX=r=>{var o,s;let t=[],e=[];const n=(o=H(r))==null?void 0:o.map(l=>l==null?void 0:l.key),a=[...new Set((s=H(n))==null?void 0:s.map(l=>SX(l)))];a==null||a.forEach(l=>{let u=r==null?void 0:r.filter(h=>h.key.includes(l));u==null||u.forEach(h=>{h!=null&&h.key.includes("Menus")&&(t.push({key:"GroupName",value:C6(h==null?void 0:h.value)}),e.push(C6(h==null?void 0:h.value)))});let c=r==null?void 0:r.filter(h=>h.key.includes(l)&&!(h!=null&&h.key.includes("Menus")));c=c==null?void 0:c.map(h=>(h.key=bX(h.key),h));const f={key:"GroupContents",value:c};t.push(f)});const i={key:"Menus",value:e};return t.unshift(i),t},x6=r=>{var t,e;if(Array.isArray(Object.keys(r))&&((t=Object.keys(r))==null?void 0:t.length)>0){let n=[];return(e=Object.entries(r))==null||e.forEach(([a,i])=>{var s,l;let o=[];if(o.push(a),((s=Object.keys(i))==null?void 0:s.length)>0){let u=[];u.push((l=x6(i))==null?void 0:l[0]),o.push(u==null?void 0:u[0])}n.push(o)}),n}},BX=(r,t)=>{var n;let e=t;return Array.isArray(Object.keys(r))&&((n=Object.entries(r))==null||n.forEach(([a,i])=>{let o=[a];if(typeof i=="object"&&i!==null){let s=x6(i);s==null||s.forEach(l=>{o.push(l)})}e.push(o)})),e},DX=r=>{const t={};return r.forEach(n=>{const a=n.split("/");let i=t;a.forEach(o=>{i[o]||(i[o]={}),i=i[o]})}),BX(t,[])},TX=r=>DX(r),MX=r=>{var o,s,l,u,c,f,h;const t=mX((s=(o=H(r))==null?void 0:o.replace("(","("))==null?void 0:s.replace(")",")")),e=(u=(l=H(t))==null?void 0:l.filter(p=>!p.includes("/*")))==null?void 0:u.map(p=>yX(p)),n=IX(e),a=[];(c=H(n))==null||c.forEach(p=>{var v,m,g,y,A;Ke!=null&&Ke.find(_=>{var w,C;return((w=_==null?void 0:_.key)==null?void 0:w.toUpperCase())===((C=p==null?void 0:p.key)==null?void 0:C.toUpperCase())})?a.push({comp:((v=Ke==null?void 0:Ke.find(_=>{var w,C;return((w=_==null?void 0:_.key)==null?void 0:w.toUpperCase())===((C=p==null?void 0:p.key)==null?void 0:C.toUpperCase())}))==null?void 0:v.value)??"",name:(m=p==null?void 0:p.value)==null?void 0:m.replace(/[’]|[‘]|[']/g,""),compData:[]}):Xe!=null&&Xe.find(_=>{var w,C;return((w=_==null?void 0:_.key)==null?void 0:w.toUpperCase())===((C=p==null?void 0:p.key)==null?void 0:C.toUpperCase())})&&((a==null?void 0:a.length)===0&&(g=p.key)!=null&&g.includes("Menus")&&a.push({comp:"Menu",name:"",compData:[]}),(y=a==null?void 0:a[(a==null?void 0:a.length)-1])!=null&&y.compData&&a[(a==null?void 0:a.length)-1].compData.push({key:(A=Xe==null?void 0:Xe.find(_=>{var w,C;return((w=_==null?void 0:_.key)==null?void 0:w.toUpperCase())===((C=p==null?void 0:p.key)==null?void 0:C.toUpperCase())}))==null?void 0:A.value,contents:p==null?void 0:p.value}))});let i=(f=H(a))==null?void 0:f.map(p=>{var v;return p!=null&&p.compData&&(p.compData=(v=p==null?void 0:p.compData)==null?void 0:v.map(m=>{var g,y,A,_,w,C,x,E,I,b,S;if((m==null?void 0:m.key)==="formFlex")m.contents=((y=(g=m.contents)==null?void 0:g.replace(/[’]|[‘]|[']/g,""))==null?void 0:y.toUpperCase())!=="Vertical".toUpperCase();else if((m==null?void 0:m.key)==="groupContents")m.contents=(A=H(m.contents))==null?void 0:A.map(B=>xX(H(B)));else if(Array.isArray(m==null?void 0:m.contents))m.contents=TX(m.contents);else if(((w=(_=m==null?void 0:m.contents)==null?void 0:_.trim())!=null&&w.startsWith("[")||(x=(C=m.contents)==null?void 0:C.trim())!=null&&x.startsWith("【"))&&((I=(E=m.contents)==null?void 0:E.trim())!=null&&I.endsWith("]")||(S=(b=m.contents)==null?void 0:b.trim())!=null&&S.endsWith("】")))m.contents=EX(H(m.contents));else{if(!m.contents)return;m.contents=w6(H(m.contents))}return m})),p});return i=(h=H(i))==null?void 0:h.map(p=>{var v;return(p==null?void 0:p.comp)==="Group"&&(p.compData=(v=p.compData)==null?void 0:v.map(m=>{var y;let g=[];return(y=m.contents)==null||y.forEach(A=>{var _,w,C,x,E,I,b,S,B,T,L,k;if(Ke!=null&&Ke.find(M=>{var R,N,P;return((R=M==null?void 0:M.key)==null?void 0:R.toUpperCase())===((P=(N=Object.keys(A))==null?void 0:N[0])==null?void 0:P.toUpperCase())}))g.push({comp:(_=Ke==null?void 0:Ke.find(M=>{var R,N,P;return((R=M==null?void 0:M.key)==null?void 0:R.toUpperCase())===((P=(N=Object.keys(A))==null?void 0:N[0])==null?void 0:P.toUpperCase())}))==null?void 0:_.value,name:(C=(w=Object.values(A))==null?void 0:w[0])==null?void 0:C.replace(/[’]|[‘]|[']/g,""),compData:[]});else if(Xe!=null&&Xe.find(M=>{var R,N,P;return((R=M==null?void 0:M.key)==null?void 0:R.toUpperCase())===((P=(N=Object.keys(A))==null?void 0:N[0])==null?void 0:P.toUpperCase())})){if((g==null?void 0:g.length)===0)return;(x=g==null?void 0:g[(g==null?void 0:g.length)-1])!=null&&x.compData&&g[(g==null?void 0:g.length)-1].compData.push({key:(E=Xe==null?void 0:Xe.find(M=>{var R,N,P;return((R=M==null?void 0:M.key)==null?void 0:R.toUpperCase())===((P=(N=Object.keys(A))==null?void 0:N[0])==null?void 0:P.toUpperCase())}))==null?void 0:E.value,contents:(I=Object.values(A))==null?void 0:I[0]})}else if((S=(b=Object.keys(A))==null?void 0:b[0])!=null&&S.includes("$")){const M=(T=(B=Object.keys(H(A)))==null?void 0:B[0])==null?void 0:T.split("$");g[(g==null?void 0:g.length)-1].compData.push({key:(L=Xe==null?void 0:Xe.find(R=>{var N,P;return((N=R==null?void 0:R.key)==null?void 0:N.toUpperCase())===((P=M==null?void 0:M[0])==null?void 0:P.toUpperCase())}))==null?void 0:L.value,contents:(k=Object.values(A))==null?void 0:k[0],selectLabel:M==null?void 0:M[1]})}return A}),m.contents=g,m})),p}),i},kX={class:"system-wrap"},LX={key:0,class:"show-content"},RX={key:0,class:"item-menu-content"},NX={key:0,class:"item-view-group"},PX=Ze({__name:"index",props:{content:String,jsonContents:Array},emits:["change","contentChange"],setup(r,{emit:t}){const e=r,n=t,a=ha(zt);p0(zt);const i=d.ref(!0),o=Ss(),s=d.ref(!0),{itemData:l}=Ot(a),u=y_(zt),{activeMenuPath:c,activeMenuOpenPaths:f,menuTriggerType:h,menus:p}=Ot(o),{selectIndex:v,selectTitle:m}=Ot(u),g=d.ref([]),y=d.ref([]),A=x=>{var I,b,S;const E=(I=l.value)==null?void 0:I.find(B=>B.name===c.value);y.value=(S=(b=E==null?void 0:E.compData)==null?void 0:b[0])==null?void 0:S.contents,s.value=!0,s.value&&(s.value=!1),n("change",{wholeValue:g.value,editValue:x})},_=x=>{var T,L,k;const E=H(g.value),I=E==null?void 0:E.map((M,R)=>(R===(x==null?void 0:x.index)&&(M.compData=x==null?void 0:x.contents),M));let b="";(L=(T=H(I))==null?void 0:T.filter(M=>(M==null?void 0:M.comp)==="Form"))==null||L.forEach(M=>{var R;(R=M==null?void 0:M.compData)==null||R.forEach(N=>{var P;(N==null?void 0:N.key)==="formContent"&&((P=N==null?void 0:N.contents)==null||P.forEach(V=>{V.value!==""&&(b=b===""?V==null?void 0:V.value:b+"-"+(V==null?void 0:V.value))}))})});let S=m==null?void 0:m.value;(S==null?void 0:S.length)>0?S[0]={key:"main",value:b}:(Array.isArray(S)||(S=[]),S.push({key:"main",value:b})),u.setSelectTitle(S),i.value=!1,g.value=I;const B=(k=l.value)==null?void 0:k.map((M,R)=>{var N;return M.name===c.value&&(M.compData=(N=M.compData)==null?void 0:N.map(P=>((P==null?void 0:P.key)==="groupContents"&&(P.contents=g.value),P))),M});a.setItemData(B),s.value&&(s.value=!1),n("contentChange",{wholeContent:l.value})},w=x=>{var E,I;if((x==null?void 0:x.key)==="main")u.setSelectIndex(""),u.setSelectMenu(""),u.setSelectTitle((E=m.value)==null?void 0:E[0]);else{const b=[];let S=-1;(I=m.value)==null||I.forEach((B,T)=>{(B==null?void 0:B.key)===(x==null?void 0:x.key)&&(S=T),(S===-1||S>=T)&&b.push(B)}),u.setSelectTitle(b),u.setSelectMenu(x==null?void 0:x.key)}};d.watch(()=>l.value,()=>{var E,I,b,S,B,T,L,k;if(!l.value||((E=l.value)==null?void 0:E.length)===0||!i.value)return;let x=null;if(!c.value)x=(b=(I=H(l.value))==null?void 0:I.filter(M=>(M==null?void 0:M.comp)==="Group"))==null?void 0:b[0],o.setActiveMenuPath(x==null?void 0:x.name);else{const M=(S=H(l.value))==null?void 0:S.filter(R=>(R==null?void 0:R.comp)==="Group");x=M==null?void 0:M.find(R=>R.name===c.value)}y.value=(T=(B=x==null?void 0:x.compData)==null?void 0:B[0])==null?void 0:T.contents,g.value=(k=(L=x==null?void 0:x.compData)==null?void 0:L[0])==null?void 0:k.contents,console.log("itemData监听",x,c.value,l.value)},{deep:!0,immediate:!0}),d.watch(()=>c.value,x=>{var E,I,b,S,B,T;if(x){const L=(E=H(l.value))==null?void 0:E.find(k=>k.name===x);if(x&&L){y.value=(b=(I=L==null?void 0:L.compData)==null?void 0:I[0])==null?void 0:b.contents,g.value=(B=(S=L==null?void 0:L.compData)==null?void 0:S[0])==null?void 0:B.contents,console.log("点击-新-data:",x,y.value);const k=(T=y.value)==null?void 0:T.filter(M=>M.comp==="Form");gX(k)}else y.value=[],g.value=[];u.setSelectTitle([]),u.setSelectIndex(""),u.setSelectMenu("")}},{immediate:!0}),d.watch(()=>[e==null?void 0:e.content,e==null?void 0:e.jsonContents],()=>{var b;if(((b=e==null?void 0:e.jsonContents)==null?void 0:b.length)>0){a.setOriginalData(e==null?void 0:e.jsonContents),a.setItemData(e==null?void 0:e.jsonContents);return}if(!(e!=null&&e.content)||(e==null?void 0:e.content)==="")return;i.value=!0;let x;Tj(e==null?void 0:e.content)?x=T_(e==null?void 0:e.content):x=MX(e==null?void 0:e.content);const E=Array.isArray(x)&&(x==null?void 0:x.find(S=>{var B;return((B=S.comp)==null?void 0:B.toUpperCase())==="MENU"}));o.setRawMenu(E??{});const I=Array.isArray(x)&&(x==null?void 0:x.find(S=>{var B;return((B=S.comp)==null?void 0:B.toUpperCase())==="SYSTEM"}));o.setSystemKey((I==null?void 0:I.name)??""),a.setOriginalData(x),a.setItemData(x)},{deep:!0,immediate:!0});const C=x=>Jf(x);return(x,E)=>{var I,b;return d.openBlock(),d.createElementBlock("div",kX,[d.createVNode(m6,{class:"sys-aside"}),((I=y.value)==null?void 0:I.length)>0?(d.openBlock(),d.createElementBlock("div",LX,[((b=d.unref(m))==null?void 0:b.length)>1?(d.openBlock(),d.createElementBlock("div",RX,[(d.openBlock(),d.createBlock(dX,{key:d.unref(m),breadArray:d.unref(m),onClick:w},null,8,["breadArray"]))])):d.createCommentVNode("",!0),(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(y.value,(S,B)=>(d.openBlock(),d.createElementBlock("div",{class:"item-content",key:B},[d.unref(v)===""||B.toString()===d.unref(v)?(d.openBlock(),d.createElementBlock("div",NX,d.toDisplayString(S.name),1)):d.createCommentVNode("",!0),d.unref(v)===""||B.toString()===d.unref(v)?(d.openBlock(),d.createBlock(d.resolveDynamicComponent(C(S.comp)),{itemData:S==null?void 0:S.compData,childItemData:S==null?void 0:S.itemChildData,key:B,onChange:A,index:B,onContentChange:_},null,40,["itemData","childItemData","index"])):d.createCommentVNode("",!0)]))),128))])):d.createCommentVNode("",!0)])}}},[["__scopeId","data-v-38117cb6"]]),VX={class:"add-model-content"},OX={key:0,class:"model-import-data"},zX={class:"import-button"},FX={key:0},QX={key:1,class:"model-operate"},HX={class:"model-select"},GX={class:"model-fill"},UX={key:2,class:"model-view"},WX=Ze({__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},emits:["change","contentChange"],setup(r,{emit:t}){const e=r,n=t,a=d.ref(""),i=d.ref([]),o=d.ref(0),s=ha(zt),l=Ss(zt),{itemData:u,originalData:c}=Ot(s),{activeMenuPath:f}=Ot(l),h=d.ref(null),p=d.ref(0),v=d.ref(""),m=C=>{n("contentChange",C)},g=C=>{var E;const x=(E=H(C==null?void 0:C.wholeValue))==null?void 0:E.map(I=>{var b;return(I==null?void 0:I.comp)==="Form"&&(I.compData=(b=I.compData)==null?void 0:b.map(S=>((S==null?void 0:S.key)==="formContent"&&(S.contents=g6(S==null?void 0:S.contents)),S))),I});n("change",{originalContents:c.value,currentContents:C==null?void 0:C.wholeValue,editContent:C==null?void 0:C.editValue,arrayToContents:x})},y=d.ref([]),A=()=>{h.value.click()},_=C=>{const x=C.target.files[0];if(!x)return;const E=new FileReader;E.onload=I=>{try{a.value=I.target.result;const b=vX(I.target.result);console.log("handleFileChange-isValid",b),y.value=w(I.target.result),p.value++}catch(b){console.error("解析失败:",b)}},E.onerror=I=>{console.error("文件读取错误:",I)},E.readAsText(x)};d.watch(()=>[e==null?void 0:e.content,e==null?void 0:e.jsonContents],()=>{a.value=e==null?void 0:e.content,i.value=e==null?void 0:e.jsonContents},{deep:!0,immediate:!0}),d.watch(()=>p.value,()=>{var C;((C=y.value)==null?void 0:C.length)!==0&&(s.setOriginalData(y.value),s.setItemData(y.value))},{deep:!0,immediate:!0});const w=C=>{let x=C.replace(/,/g,",").replace(/;/g,";").replace(/:/g,":");x=x.replace(/(\w+)\s*:/g,"$1:"),x=x.replace(/\r\n/g,"").replace(/\n/g,"").replace(/\t/g,"").replace(/\s+/g," ").trim(),x=x.replace(/,\s*([}\]])/g,"$1"),x=x.replace(/:(\s*)([^"{}\[\],\s]+)(\s*)([,}])/g,": $2$4");try{return JSON.parse(x)}catch(E){try{const b=new Function(`return ${x}`)();if(Array.isArray(b)||typeof b=="object")return b;throw new Error(`解析结果不是有效的数组或对象: ${E}`)}catch(I){throw new Error(`无法解析JSON: ${I.message}`)}}};return(C,x)=>{var E;return d.openBlock(),d.createElementBlock("div",VX,[((E=e==null?void 0:e.jsonContents)==null?void 0:E.length)===0&&(e!=null&&e.showButton)?(d.openBlock(),d.createElementBlock("div",OX,[d.createElementVNode("div",zX,[d.createElementVNode("input",{type:"file",ref_key:"fileInput",ref:h,accept:".txt",onChange:_,style:{display:"none"}},null,544),d.createElementVNode("button",{onClick:A,class:"import-button-content"},"导入文件"),v.value?(d.openBlock(),d.createElementBlock("span",FX,d.toDisplayString(v.value),1)):d.createCommentVNode("",!0)])])):d.createCommentVNode("",!0),(e==null?void 0:e.mode)==="edit"?(d.openBlock(),d.createElementBlock("div",QX,[d.createElementVNode("div",HX,[d.createVNode(E_)]),(d.openBlock(),d.createElementBlock("div",{class:"model-show",key:o.value},[d.createVNode(b_)])),d.createElementVNode("div",GX,[d.createVNode(S_)])])):d.createCommentVNode("",!0),(e==null?void 0:e.mode)==="view"?(d.openBlock(),d.createElementBlock("div",UX,[(d.openBlock(),d.createBlock(PX,{content:a.value,onChange:g,jsonContents:i.value,onContentChange:m,key:o.value},null,8,["content","jsonContents"]))])):d.createCommentVNode("",!0)])}}},[["__scopeId","data-v-876d48c6"]]),YX=Object.freeze(Object.defineProperty({__proto__:null,default:Ze({__name:"index",props:{mode:{type:String,default:"view"},content:{type:String,default:""},jsonContents:{type:Array,default:()=>[]},showButton:{type:Boolean,default:!0}},setup(r){const t=r,e=d.ref(!1),n=()=>{e.value=!0};return(a,i)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[e.value?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(cX,{key:0,onChange:n})),e.value?(d.openBlock(),d.createBlock(WX,{key:1,mode:t.mode,content:t.content,jsonContents:t.jsonContents,showButton:t.showButton},null,8,["mode","content","jsonContents","showButton"])):d.createCommentVNode("",!0)],64))}},[["__scopeId","data-v-29351fb5"]])},Symbol.toStringTag,{value:"Module"}));/*! *****************************************************************************
|