ss-component-new 1.3.521 → 1.3.522
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/{array-BRwrKJlV.js → array-CQw-GeHC.js} +2 -2
- package/dist/{index-CFXn8xkv.js → index-3ErVBbH8.js} +1 -1
- package/dist/{index-4s9mkvSs.js → index-B3DTw9_9.js} +2 -2
- package/dist/{index-ByHx7i0z.js → index-Bh1_GzJJ.js} +3 -3
- package/dist/{index-DgYOJXmM.js → index-Bk4EZG2c.js} +2 -2
- package/dist/{index-CKvkzOa-.js → index-BmOqEwSf.js} +2 -2
- package/dist/{index-BYBLD6Rl.js → index-C01hGJwe.js} +8040 -8014
- package/dist/{index-BwSHrBUC.js → index-CBYpk6A5.js} +4325 -4313
- package/dist/{index-GJSfgvE-.js → index-C_icB1vj.js} +44 -41
- package/dist/{index-BNbYTrvo.js → index-CtMT9RMN.js} +1 -1
- package/dist/{index-CY4HgzY7.js → index-DIoPo0Xx.js} +1 -1
- package/dist/{index-C3VRWxQ1.js → index-DgEq7Tz8.js} +1 -1
- package/dist/{index-E-khiDDS.js → index-DhUTsfy3.js} +1 -1
- package/dist/{index-BA5rwfAJ.js → index-er5r9s1P.js} +1 -1
- package/dist/{main-CEjFxAqR.js → main-DLe8Oe_z.js} +2 -2
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +6 -6
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-_i9rJkeK.js → threeModel-DzjTmm32.js} +1 -1
- package/dist/{threeSceneView-DI9hUGM7.js → threeSceneView-B49X5rjg.js} +3 -3
- package/dist/{threeSceneViewForCPMPIP-CiN3lWh2.js → threeSceneViewForCPMPIP-Z4u56pHl.js} +1 -1
- package/dist/{threeViewerHost-CQgDQAFR.js → threeViewerHost-u52VnpzT.js} +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { b as
|
|
3
|
-
import { l as
|
|
4
|
-
import { useRouter as
|
|
5
|
-
import { _ as
|
|
6
|
-
const
|
|
1
|
+
import { defineComponent as W, ref as z, computed as N, watch as r, nextTick as V, onMounted as k, onUnmounted as G, resolveComponent as $, createElementBlock as L, openBlock as w, createBlock as q } from "vue";
|
|
2
|
+
import { b as J, p as h, s as v, d as Q, a as X, u as Y, v as Z } from "./index-do6fZMuP.js";
|
|
3
|
+
import { l as p } from "./index-BQBbSVQv.js";
|
|
4
|
+
import { useRouter as ee } from "vue-router";
|
|
5
|
+
import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
6
|
+
const ne = { key: 0 }, oe = /* @__PURE__ */ W({
|
|
7
7
|
__name: "index",
|
|
8
8
|
props: {
|
|
9
9
|
windowConfig: {
|
|
@@ -71,14 +71,16 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
|
|
|
71
71
|
default: () => []
|
|
72
72
|
}
|
|
73
73
|
},
|
|
74
|
-
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace"],
|
|
75
|
-
setup(
|
|
76
|
-
const A =
|
|
74
|
+
emits: ["buildContent", "openThreeBuild", "threeData", "setLoginInfo", "projectLogin", "updateApiUrl", "clearFileContent", "systemContent", "getMenuPathValue", "executeWorkspace", "updateVersion"],
|
|
75
|
+
setup(l, { emit: _ }) {
|
|
76
|
+
const A = ee(), d = J(h), { loginUserInfo: f } = v(d), { initSystemInfo: D } = Q(), E = X(h), { refreshLogin: F } = v(E), y = Y(h), g = z(!0), { activeMenuPath: I } = v(y), e = l, o = _, j = N(() => {
|
|
77
77
|
var t, n;
|
|
78
78
|
return (e == null ? void 0 : e.showButton) || ((n = (t = f.value) == null ? void 0 : t.layer) == null ? void 0 : n.toUpperCase()) === "SUPERADMIN";
|
|
79
79
|
}), B = (t) => {
|
|
80
80
|
o("systemContent", t);
|
|
81
81
|
}, M = () => {
|
|
82
|
+
o("updateVersion");
|
|
83
|
+
}, T = () => {
|
|
82
84
|
o("clearFileContent");
|
|
83
85
|
};
|
|
84
86
|
r(
|
|
@@ -100,9 +102,9 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
|
|
|
100
102
|
var n, i, c, u;
|
|
101
103
|
g.value = !0;
|
|
102
104
|
let t = e == null ? void 0 : e.loginContent;
|
|
103
|
-
if (t != null && t.account && (t != null && t.password) && !F.value && (await
|
|
104
|
-
let s = await
|
|
105
|
-
o("systemContent", s == null ? void 0 : s.allMenuContents), A.push("/"),
|
|
105
|
+
if (t != null && t.account && (t != null && t.password) && !F.value && (await p(t), status)) {
|
|
106
|
+
let s = await Z();
|
|
107
|
+
o("systemContent", s == null ? void 0 : s.allMenuContents), A.push("/"), d.setLogRecordAsync({
|
|
106
108
|
type: "登录",
|
|
107
109
|
data: {
|
|
108
110
|
account: ((n = f.value) == null ? void 0 : n.account) ?? ((i = f.value) == null ? void 0 : i.账号),
|
|
@@ -110,40 +112,40 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
|
|
|
110
112
|
}
|
|
111
113
|
}, "/login", "login"), y.setHasClickEditComp(!1);
|
|
112
114
|
}
|
|
113
|
-
g.value = !1, await
|
|
115
|
+
g.value = !1, await V();
|
|
114
116
|
},
|
|
115
117
|
{ deep: !0, immediate: !0 }
|
|
116
118
|
);
|
|
117
|
-
const
|
|
119
|
+
const U = (t) => {
|
|
118
120
|
o("projectLogin", t);
|
|
119
|
-
},
|
|
121
|
+
}, x = () => {
|
|
120
122
|
o("projectLogin", "");
|
|
121
123
|
};
|
|
122
124
|
r(() => [e == null ? void 0 : e.systemKey, e == null ? void 0 : e.systemInfo], async ([t, n]) => {
|
|
123
|
-
|
|
125
|
+
d.setSystemKey(t), t !== "" && sessionStorage.setItem("systemKey", t);
|
|
124
126
|
}, { immediate: !0 }), r(
|
|
125
127
|
() => e == null ? void 0 : e.interfaceContent,
|
|
126
128
|
() => {
|
|
127
129
|
var i, c, u, s, m;
|
|
128
130
|
if (!(e != null && e.interfaceContent) || Array.isArray(e == null ? void 0 : e.interfaceContent) && ((i = e == null ? void 0 : e.interfaceContent) == null ? void 0 : i.length) === 0) return;
|
|
129
131
|
let t = (c = e == null ? void 0 : e.interfaceContent) == null ? void 0 : c.find((a) => a == null ? void 0 : a.includes("VITE_API_NEW_URL")), n = (u = e == null ? void 0 : e.interfaceContent) == null ? void 0 : u.find((a) => a == null ? void 0 : a.includes("VITE_FACE_RECOGNITION_API_URL"));
|
|
130
|
-
n = (s = n == null ? void 0 : n.split("=")) == null ? void 0 : s[1], n = n == null ? void 0 : n.trim(), t = (m = t == null ? void 0 : t.split("=")) == null ? void 0 : m[1], t = t == null ? void 0 : t.trim(),
|
|
132
|
+
n = (s = n == null ? void 0 : n.split("=")) == null ? void 0 : s[1], n = n == null ? void 0 : n.trim(), t = (m = t == null ? void 0 : t.split("=")) == null ? void 0 : m[1], t = t == null ? void 0 : t.trim(), d.setExtraUrl(n ?? ""), d.setSystemUrl(t ?? "");
|
|
131
133
|
},
|
|
132
134
|
{ immediate: !0, deep: !0 }
|
|
133
135
|
), k(async () => {
|
|
134
|
-
e.systemInfo ?
|
|
136
|
+
e.systemInfo ? d.setSystemInfo(e.systemInfo) : await D();
|
|
135
137
|
});
|
|
136
|
-
const
|
|
138
|
+
const K = () => {
|
|
137
139
|
o("buildContent");
|
|
138
|
-
},
|
|
140
|
+
}, R = () => {
|
|
139
141
|
o("setLoginInfo");
|
|
140
|
-
},
|
|
142
|
+
}, b = (t) => {
|
|
141
143
|
o("openThreeBuild", t);
|
|
142
|
-
}, R = (t) => {
|
|
143
|
-
o("threeData", t);
|
|
144
144
|
}, H = (t) => {
|
|
145
|
-
o("
|
|
145
|
+
o("threeData", t);
|
|
146
146
|
}, O = (t) => {
|
|
147
|
+
o("updateApiUrl", t);
|
|
148
|
+
}, P = (t) => {
|
|
147
149
|
o("executeWorkspace", t);
|
|
148
150
|
}, C = () => {
|
|
149
151
|
var m, a, S;
|
|
@@ -157,9 +159,9 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
|
|
|
157
159
|
}), G(() => {
|
|
158
160
|
window.removeEventListener("resize", C);
|
|
159
161
|
}), (t, n) => {
|
|
160
|
-
const i =
|
|
162
|
+
const i = $("router-view");
|
|
161
163
|
return w(), L("div", null, [
|
|
162
|
-
g.value ? (w(), L("div",
|
|
164
|
+
g.value ? (w(), L("div", ne)) : (w(), q(i, {
|
|
163
165
|
key: 1,
|
|
164
166
|
mode: e == null ? void 0 : e.mode,
|
|
165
167
|
content: e == null ? void 0 : e.content,
|
|
@@ -167,28 +169,29 @@ const te = { key: 0 }, ne = /* @__PURE__ */ P({
|
|
|
167
169
|
pathContent: e == null ? void 0 : e.pathContent,
|
|
168
170
|
showButton: j.value,
|
|
169
171
|
nodeDev: e == null ? void 0 : e.nodeDev,
|
|
170
|
-
windowConfig:
|
|
171
|
-
systemInfo:
|
|
172
|
-
"old-systemKey":
|
|
173
|
-
onBuildContent:
|
|
174
|
-
onProjectLogin:
|
|
175
|
-
onClearLogin:
|
|
176
|
-
onUpdateApiUrl:
|
|
177
|
-
onOpenThreeBuild:
|
|
178
|
-
pageKey:
|
|
179
|
-
onThreeData:
|
|
180
|
-
onSetLoginInfo:
|
|
172
|
+
windowConfig: l.windowConfig,
|
|
173
|
+
systemInfo: l.systemInfo,
|
|
174
|
+
"old-systemKey": l.systemKey,
|
|
175
|
+
onBuildContent: K,
|
|
176
|
+
onProjectLogin: U,
|
|
177
|
+
onClearLogin: x,
|
|
178
|
+
onUpdateApiUrl: O,
|
|
179
|
+
onOpenThreeBuild: b,
|
|
180
|
+
pageKey: l.pageKey,
|
|
181
|
+
onThreeData: H,
|
|
182
|
+
onSetLoginInfo: R,
|
|
181
183
|
loginContent: e == null ? void 0 : e.loginContent,
|
|
182
|
-
|
|
184
|
+
onUpdateVersion: M,
|
|
185
|
+
onClearFileContent: T,
|
|
183
186
|
onSystemContent: B,
|
|
184
|
-
onExecuteWorkspace:
|
|
187
|
+
onExecuteWorkspace: P,
|
|
185
188
|
workspaceHistoryData: e == null ? void 0 : e.workspaceHistoryData,
|
|
186
189
|
workspaceInfo: e == null ? void 0 : e.workspaceInfo
|
|
187
190
|
}, null, 8, ["mode", "content", "jsonContents", "pathContent", "showButton", "nodeDev", "windowConfig", "systemInfo", "old-systemKey", "pageKey", "loginContent", "workspaceHistoryData", "workspaceInfo"]))
|
|
188
191
|
]);
|
|
189
192
|
};
|
|
190
193
|
}
|
|
191
|
-
}),
|
|
194
|
+
}), de = /* @__PURE__ */ te(oe, [["__scopeId", "data-v-fed2d442"]]);
|
|
192
195
|
export {
|
|
193
|
-
|
|
196
|
+
de as default
|
|
194
197
|
};
|
|
@@ -8,7 +8,7 @@ import { _ as Y0 } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js
|
|
|
8
8
|
import { m as Ki, B as $9, Y as l8 } from "./index-DFa_fhBD.js";
|
|
9
9
|
/* empty css */
|
|
10
10
|
import { s as J4 } from "./index-11kpzK0A.js";
|
|
11
|
-
import { T as Xi, a as j9 } from "./threeViewerHost-
|
|
11
|
+
import { T as Xi, a as j9 } from "./threeViewerHost-u52VnpzT.js";
|
|
12
12
|
import { A as W9 } from "./index-BtQhJSqM.js";
|
|
13
13
|
var U9 = "[object Date]";
|
|
14
14
|
function I9(n) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as n, computed as c, defineComponent as s, reactive as p, onMounted as i, createElementBlock as u, openBlock as f, createVNode as b } from "vue";
|
|
2
|
-
import { W as m } from "./index-
|
|
2
|
+
import { W as m } from "./index-C01hGJwe.js";
|
|
3
3
|
import { g as d, c as _ } from "./index-ZULlm1OB.js";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const l = n([]), g = c(() => [
|
|
@@ -5,7 +5,7 @@ import { g as Q, u as we } from "./index-DUq4XELr.js";
|
|
|
5
5
|
import { J as X } from "./JSEncrypt-B36c1iN5.js";
|
|
6
6
|
import { a5 as Se } from "./index-DFa_fhBD.js";
|
|
7
7
|
import { A as _e } from "./index-BtQhJSqM.js";
|
|
8
|
-
import { u as Y, l as Ce } from "./index-
|
|
8
|
+
import { u as Y, l as Ce } from "./index-CtMT9RMN.js";
|
|
9
9
|
import { _ as Z } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { S as x } from "./index-BHtNKL1L.js";
|
|
11
11
|
function Ae(t, s) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as l, defineComponent as m, createElementBlock as f, openBlock as p, createElementVNode as e, createVNode as u, unref as t } from "vue";
|
|
2
|
-
import { W as C } from "./index-
|
|
2
|
+
import { W as C } from "./index-C01hGJwe.js";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const b = () => {
|
|
5
5
|
const i = l("日志管理"), o = l(), a = l([
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as C, onMounted as _, createElementBlock as c, openBlock as g, createVNode as v } from "vue";
|
|
2
2
|
import { u as h, p as k, s as x, c as m } from "./index-do6fZMuP.js";
|
|
3
|
-
import { W as M } from "./index-
|
|
3
|
+
import { W as M } from "./index-C01hGJwe.js";
|
|
4
4
|
import { a as D, d as T, f as S } from "./index-BmZwVwZC.js";
|
|
5
5
|
import { g as w } from "./index-DUq4XELr.js";
|
|
6
6
|
import { _ as B } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ref as U, watch as v, createElementBlock as E, createCommentVNode as q, openBlock as I, Fragment as de, renderList as fe, createElementVNode as S, createBlock as se, toDisplayString as oe, resolveDynamicComponent as ye, onMounted as he, onUnmounted as ke, createVNode as te } from "vue";
|
|
2
|
-
import { m as ge, a as _e, b as Ce, c as be } from "./array-
|
|
2
|
+
import { m as ge, a as _e, b as Ce, c as be } from "./array-CQw-GeHC.js";
|
|
3
3
|
import { c, a as ce, p as re, s as ue, u as Oe } from "./index-do6fZMuP.js";
|
|
4
|
-
import { g as Ae } from "./index-
|
|
4
|
+
import { g as Ae } from "./index-C01hGJwe.js";
|
|
5
5
|
import { v as H, a as K } from "./index-DFa_fhBD.js";
|
|
6
6
|
import { _ as pe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
7
7
|
const B = [
|