ss-component-new 1.3.644 → 1.3.645
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.
|
@@ -72,8 +72,8 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
74
|
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
|
-
setup(
|
|
76
|
-
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F),
|
|
75
|
+
setup(f, { emit: _ }) {
|
|
76
|
+
const A = te(), d = J(h), { loginUserInfo: s } = v(d), { initSystemInfo: D } = Q(), F = X(h), { refreshLogin: E } = v(F), m = Y(h), g = z(!0), { activeMenuPath: I } = v(m), e = f, o = _, j = N(() => {
|
|
77
77
|
var t, n;
|
|
78
78
|
return (e == null ? void 0 : e.showButton) || ((n = (t = s.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
79
|
}), B = (t) => {
|
|
@@ -87,7 +87,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
87
87
|
() => e == null ? void 0 : e.menuFiles,
|
|
88
88
|
() => {
|
|
89
89
|
var t;
|
|
90
|
-
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 &&
|
|
90
|
+
((t = e == null ? void 0 : e.menuFiles) == null ? void 0 : t.length) > 0 && m.setLocalFiles(e == null ? void 0 : e.menuFiles);
|
|
91
91
|
},
|
|
92
92
|
{ deep: !0, immediate: !0 }
|
|
93
93
|
), y(
|
|
@@ -97,7 +97,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
97
97
|
let t = await Z({
|
|
98
98
|
platId: parseInt((n = s == null ? void 0 : s.value) == null ? void 0 : n.plat_id)
|
|
99
99
|
});
|
|
100
|
-
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result,
|
|
100
|
+
t = (a = t == null ? void 0 : t.data) == null ? void 0 : a.result, m.setDataFiles(t), o("getMenuPathValue", I.value);
|
|
101
101
|
},
|
|
102
102
|
{ deep: !0, immediate: !0 }
|
|
103
103
|
), y(
|
|
@@ -114,7 +114,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
114
114
|
account: ((n = s.value) == null ? void 0 : n.account) ?? ((a = s.value) == null ? void 0 : a.账号),
|
|
115
115
|
userName: ((u = s.value) == null ? void 0 : u.姓名) || ((l = s.value) == null ? void 0 : l.userName) || "未知"
|
|
116
116
|
}
|
|
117
|
-
}, "/login", "login"),
|
|
117
|
+
}, "/login", "login"), m.setHasClickEditComp(!1);
|
|
118
118
|
}
|
|
119
119
|
g.value = !1, await V();
|
|
120
120
|
},
|
|
@@ -139,11 +139,11 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
139
139
|
), k(async () => {
|
|
140
140
|
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
|
|
141
141
|
});
|
|
142
|
-
const
|
|
142
|
+
const b = () => {
|
|
143
143
|
o("buildContent");
|
|
144
|
-
},
|
|
144
|
+
}, R = () => {
|
|
145
145
|
o("setLoginInfo");
|
|
146
|
-
},
|
|
146
|
+
}, U = (t) => {
|
|
147
147
|
o("openThreeBuild", t);
|
|
148
148
|
}, H = (t) => {
|
|
149
149
|
o("threeData", t);
|
|
@@ -154,7 +154,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
154
154
|
}, C = () => {
|
|
155
155
|
var r, i, S;
|
|
156
156
|
const t = e != null && e.windowConfig ? (r = e == null ? void 0 : e.windowConfig) == null ? void 0 : r.width : window.innerWidth, n = (i = e == null ? void 0 : e.windowConfig) != null && i.height ? (S = e == null ? void 0 : e.windowConfig) == null ? void 0 : S.height : window.innerHeight;
|
|
157
|
-
|
|
157
|
+
m.setSystemHeight(n);
|
|
158
158
|
const a = 1920, u = 16, l = t / a, c = u * l;
|
|
159
159
|
document.documentElement.style.fontSize = `${c}px`;
|
|
160
160
|
};
|
|
@@ -173,17 +173,17 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
173
173
|
pathContent: e == null ? void 0 : e.pathContent,
|
|
174
174
|
showButton: j.value,
|
|
175
175
|
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
176
|
-
windowConfig:
|
|
177
|
-
systemInfo:
|
|
178
|
-
"old-systemKey":
|
|
179
|
-
onBuildContent:
|
|
176
|
+
windowConfig: f.windowConfig,
|
|
177
|
+
systemInfo: f.systemInfo,
|
|
178
|
+
"old-systemKey": f.systemKey,
|
|
179
|
+
onBuildContent: b,
|
|
180
180
|
onProjectLogin: x,
|
|
181
181
|
onClearLogin: K,
|
|
182
182
|
onUpdateApiUrl: O,
|
|
183
|
-
onOpenThreeBuild:
|
|
184
|
-
pageKey:
|
|
183
|
+
onOpenThreeBuild: U,
|
|
184
|
+
pageKey: f.pageKey,
|
|
185
185
|
onThreeData: H,
|
|
186
|
-
onSetLoginInfo:
|
|
186
|
+
onSetLoginInfo: R,
|
|
187
187
|
loginContent: e == null ? void 0 : e.loginContent,
|
|
188
188
|
onUpdateVersion: M,
|
|
189
189
|
onClearFileContent: T,
|
|
@@ -195,7 +195,7 @@ const oe = { key: 0 }, ae = /* @__PURE__ */ W({
|
|
|
195
195
|
]);
|
|
196
196
|
};
|
|
197
197
|
}
|
|
198
|
-
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-
|
|
198
|
+
}), de = /* @__PURE__ */ ne(ae, [["__scopeId", "data-v-0fb25f2c"]]);
|
|
199
199
|
export {
|
|
200
200
|
de as default
|
|
201
201
|
};
|