@das-fed/upf-web 6.4.0-dev.217 → 6.4.0-dev.218
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/es5.js +949 -953
- package/{index-Bg6PM02l.js → index-B2YeFQ3Z.js} +1 -1
- package/{index-Duoum6s2.js → index-CGxSVJwB.js} +522 -524
- package/index-CGxSVJwB.js.gz +0 -0
- package/{packages/main-app-framework/index-DLOeR4lo.js → index-DoFPzS4H.js} +1 -1
- package/index-DoFPzS4H.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/es5.js +991 -995
- package/packages/main-app-framework/{index-D2I3UnWM.js → index-3vSO62GO.js} +1 -1
- package/packages/main-app-framework/{index-D2D_f0hd.js → index-B_17B7NN.js} +604 -606
- package/packages/main-app-framework/index-B_17B7NN.js.gz +0 -0
- package/{index-DsbX1-Oq.js → packages/main-app-framework/index-CXgpHY21.js} +1 -1
- package/packages/main-app-framework/index-CXgpHY21.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/index-DsbX1-Oq.js.gz +0 -0
- package/index-Duoum6s2.js.gz +0 -0
- package/packages/main-app-framework/index-D2D_f0hd.js.gz +0 -0
- package/packages/main-app-framework/index-DLOeR4lo.js.gz +0 -0
|
@@ -109,7 +109,7 @@ const G0 = (t) => {
|
|
|
109
109
|
}, Wn = (t, e) => t.map((n) => {
|
|
110
110
|
const r = n.meta || {};
|
|
111
111
|
return r.keepAlive = r.keepAlive ?? (e == null ? void 0 : e.keepAlive) ?? !0, { ...n, meta: r };
|
|
112
|
-
}),
|
|
112
|
+
}), Zg = (t) => {
|
|
113
113
|
var c;
|
|
114
114
|
t || (t = {});
|
|
115
115
|
const e = L(!0);
|
|
@@ -120,7 +120,7 @@ const G0 = (t) => {
|
|
|
120
120
|
a.use(K0, t), a.use(Nr);
|
|
121
121
|
const { router: i } = G0(t);
|
|
122
122
|
return a.use(i), a.mount(n || "#app"), (c = window.top) != null && c.vueRouter || window.top && (window.top.vueRouter = i), { app: a, router: i, loading: e, store: Nr };
|
|
123
|
-
},
|
|
123
|
+
}, em = {
|
|
124
124
|
loaded: {},
|
|
125
125
|
isLoaded(t, e) {
|
|
126
126
|
return !!(this.loaded[t] && this.loaded[t][e]);
|
|
@@ -166,7 +166,7 @@ const G0 = (t) => {
|
|
|
166
166
|
const i = (o = t[a]) != null && o._appCode ? t[a]._appCode.toLowerCase() : "";
|
|
167
167
|
i && (nn[i] || (nn[i] = {}), nn[i][a] = t[a]), $t[a] || ($t[a] = t[a]);
|
|
168
168
|
}
|
|
169
|
-
},
|
|
169
|
+
}, tm = async (t) => {
|
|
170
170
|
Ps();
|
|
171
171
|
const e = window[Z0];
|
|
172
172
|
e && ec(e, "global");
|
|
@@ -183,9 +183,9 @@ const G0 = (t) => {
|
|
|
183
183
|
return an.value === "zh-CN" && a["zh-cn"] && !a["zh-CN"] && (i = a["zh-cn"]), e.map((c, l) => {
|
|
184
184
|
i && (i = i.replace(`$${l}`, c));
|
|
185
185
|
}), i;
|
|
186
|
-
}), rc = nc,
|
|
186
|
+
}), rc = nc, nm = (t, ...e) => rc(t, ...e).value, oc = (t) => {
|
|
187
187
|
an.value = t, Ps();
|
|
188
|
-
},
|
|
188
|
+
}, rm = () => an, jo = {
|
|
189
189
|
"en-US": { ant: () => import("ant-design-vue/es/locale/en_US"), dayjs: () => import("dayjs/locale/en") },
|
|
190
190
|
"zh-CN": { ant: () => import("ant-design-vue/es/locale/zh_CN"), dayjs: () => import("dayjs/locale/zh-cn") },
|
|
191
191
|
"zh-MO": { ant: () => import("ant-design-vue/es/locale/zh_TW"), dayjs: () => import("dayjs/locale/zh-tw") },
|
|
@@ -200,19 +200,19 @@ const G0 = (t) => {
|
|
|
200
200
|
"nl-NL": { ant: () => import("ant-design-vue/es/locale/nl_NL"), dayjs: () => import("dayjs/locale/nl") },
|
|
201
201
|
"tr-TR": { ant: () => import("ant-design-vue/es/locale/tr_TR"), dayjs: () => import("dayjs/locale/tr") }
|
|
202
202
|
};
|
|
203
|
-
function
|
|
203
|
+
function om(t, e) {
|
|
204
204
|
var r;
|
|
205
205
|
const n = window.DATE_FORMAT_MAP;
|
|
206
206
|
return n && n[t] && n[t][e] ? n[t][e] : ((r = window.DATE_FORMAT_MAP[t]) == null ? void 0 : r[e]) || "YYYY-MM-DD";
|
|
207
207
|
}
|
|
208
|
-
const
|
|
208
|
+
const am = async (t) => {
|
|
209
209
|
const e = jo[t] || jo["zh-CN"];
|
|
210
210
|
try {
|
|
211
211
|
const n = await e.ant();
|
|
212
212
|
return await e.dayjs(), n.default;
|
|
213
213
|
} catch {
|
|
214
214
|
}
|
|
215
|
-
},
|
|
215
|
+
}, sm = async (t = [], e = "zh-CN") => {
|
|
216
216
|
try {
|
|
217
217
|
const n = await X0(t, e);
|
|
218
218
|
n != null && n.frontEnd && typeof n.frontEnd == "object" && Object.keys(n.frontEnd).length && t.forEach((r) => {
|
|
@@ -269,7 +269,7 @@ const Ho = (t, e) => {
|
|
|
269
269
|
}
|
|
270
270
|
const o = `${rn}-${Ot.value}`;
|
|
271
271
|
document.body.classList.contains(o) || document.body.classList.add(o);
|
|
272
|
-
},
|
|
272
|
+
}, im = async (t) => {
|
|
273
273
|
var r, o;
|
|
274
274
|
const e = window[ac];
|
|
275
275
|
e && Ho(e, "global");
|
|
@@ -278,12 +278,12 @@ const Ho = (t, e) => {
|
|
|
278
278
|
var i;
|
|
279
279
|
n = Object.assign(n, ((i = a.theme) == null ? void 0 : i.glob) || {});
|
|
280
280
|
}), Object.values(n).filter((a) => !!a).flat().map((a) => Ho(a));
|
|
281
|
-
},
|
|
281
|
+
}, cm = (t) => {
|
|
282
282
|
document.body.classList.add(`${rn}-light`), t === "light" && document.body.classList.remove(`${rn}-${Ot.value}`), Ot.value = t, document.body.classList.add(`${rn}-${Ot.value}`);
|
|
283
283
|
}, cc = (t) => J(() => {
|
|
284
284
|
var e, n, r, o;
|
|
285
285
|
return ((n = (e = Zt.value) == null ? void 0 : e[Ot.value]) == null ? void 0 : n[t]) || ((o = (r = Jt.value) == null ? void 0 : r[Ot.value]) == null ? void 0 : o[t]) || t;
|
|
286
|
-
}),
|
|
286
|
+
}), lm = (t) => `var(${t})`, um = cc, de = et({
|
|
287
287
|
visible: !1,
|
|
288
288
|
theme: "default",
|
|
289
289
|
logo: "",
|
|
@@ -911,7 +911,7 @@ const Ho = (t, e) => {
|
|
|
911
911
|
]);
|
|
912
912
|
};
|
|
913
913
|
}
|
|
914
|
-
}),
|
|
914
|
+
}), dm = /* @__PURE__ */ Ne(Dc, [["__scopeId", "data-v-cc197012"]]), Sc = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], fm = /* @__PURE__ */ xe({
|
|
915
915
|
__name: "das-web-nav",
|
|
916
916
|
setup(t) {
|
|
917
917
|
const { nav: e } = mt, n = J(() => e.theme), r = J(() => e.logo || ""), o = J(() => e.activeItem || ""), a = J(() => (e.items || []).filter((w) => w.fixed)), i = J(() => (e.items || []).filter((w) => !w.fixed)), c = J(() => {
|
|
@@ -991,7 +991,7 @@ const Ho = (t, e) => {
|
|
|
991
991
|
"on:openAI": k
|
|
992
992
|
}, null, 40, Sc));
|
|
993
993
|
}
|
|
994
|
-
}), Ic = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"],
|
|
994
|
+
}), Ic = ["theme", "modelValue", "data", "collapse", "fixedTopMenu", "subMenuAttrs"], pm = /* @__PURE__ */ xe({
|
|
995
995
|
__name: "das-web-menu",
|
|
996
996
|
props: {
|
|
997
997
|
menuAttr: {}
|
|
@@ -1016,7 +1016,7 @@ const Ho = (t, e) => {
|
|
|
1016
1016
|
"on:toggleCollapse": _
|
|
1017
1017
|
}), null, 16, Ic)) : Q("v-if", !0);
|
|
1018
1018
|
}
|
|
1019
|
-
}), Fc = ["theme", "modelValue", "options"],
|
|
1019
|
+
}), Fc = ["theme", "modelValue", "options"], hm = /* @__PURE__ */ xe({
|
|
1020
1020
|
__name: "das-web-tabs",
|
|
1021
1021
|
props: {
|
|
1022
1022
|
tabsAttr: {}
|
|
@@ -1494,7 +1494,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
|
|
|
1494
1494
|
/* NEED_PATCH */
|
|
1495
1495
|
));
|
|
1496
1496
|
}
|
|
1497
|
-
}), tl = /* @__PURE__ */ Ne(el, [["__scopeId", "data-v-3abdb1e9"]]),
|
|
1497
|
+
}), tl = /* @__PURE__ */ Ne(el, [["__scopeId", "data-v-3abdb1e9"]]), xm = /* @__PURE__ */ xe({
|
|
1498
1498
|
__name: "das-main-app-layout",
|
|
1499
1499
|
props: {
|
|
1500
1500
|
transitionConfig: { default: () => {
|
|
@@ -1547,7 +1547,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
|
|
|
1547
1547
|
}, 300);
|
|
1548
1548
|
}), (e, n) => null;
|
|
1549
1549
|
}
|
|
1550
|
-
}), nl = (t) => ["http://", "https://", "ws://", "wss://", "/"].find((n) => t.startsWith(n)) ? t : `/${t}`,
|
|
1550
|
+
}), nl = (t) => ["http://", "https://", "ws://", "wss://", "/"].find((n) => t.startsWith(n)) ? t : `/${t}`, vm = (t, e) => {
|
|
1551
1551
|
if (!(t != null && t.microApps) || !Array.isArray(t.microApps)) return;
|
|
1552
1552
|
window.__IN_DAS_MAIN_APP = !0, t != null && t.microAppRouterPrefix && (Vo.value = t.microAppRouterPrefix), Se.value = (t.microApps || []).filter((o) => !!o.name).map((o) => ({ ...o, entry: nl(o.entry || o.name) })), e == null || e.addRoute({
|
|
1553
1553
|
name: "das-micro-app",
|
|
@@ -1572,7 +1572,7 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
|
|
|
1572
1572
|
const { cmd: a, isAutoCloseApp: i } = o.data || {};
|
|
1573
1573
|
a === "reload" && (i !== void 0 && (window.__isAutoCloseApp = i), location.reload());
|
|
1574
1574
|
});
|
|
1575
|
-
},
|
|
1575
|
+
}, gm = (t, e) => {
|
|
1576
1576
|
if (!(t != null && t.microAppName)) return;
|
|
1577
1577
|
window.config.microAppName = t.microAppName, window.self !== window.top && t.microAppName && (window.__IN_DAS_MICRO_APP = !0);
|
|
1578
1578
|
const n = "das-micro-app-ghost";
|
|
@@ -1920,8 +1920,6 @@ const Yc = ["src", "entry", "name"], Jc = /* @__PURE__ */ xe({
|
|
|
1920
1920
|
});
|
|
1921
1921
|
o0(pl);
|
|
1922
1922
|
const ml = (t = {}) => {
|
|
1923
|
-
sessionStorage.setItem("userInfo", JSON.stringify(t));
|
|
1924
|
-
}, _l = (t = {}) => {
|
|
1925
1923
|
var n;
|
|
1926
1924
|
sessionStorage.setItem("tenantInfo", JSON.stringify(t));
|
|
1927
1925
|
const e = {
|
|
@@ -1931,9 +1929,9 @@ const ml = (t = {}) => {
|
|
|
1931
1929
|
tenantId: ((n = t == null ? void 0 : t.tenant) == null ? void 0 : n.id) ?? ""
|
|
1932
1930
|
};
|
|
1933
1931
|
sessionStorage.setItem("hotentUserInfo", JSON.stringify(e));
|
|
1934
|
-
},
|
|
1932
|
+
}, _l = (t = "") => {
|
|
1935
1933
|
localStorage.setItem("fav-icon", t);
|
|
1936
|
-
},
|
|
1934
|
+
}, Cl = () => {
|
|
1937
1935
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
1938
1936
|
}, He = (t) => {
|
|
1939
1937
|
let e = Le();
|
|
@@ -1978,7 +1976,7 @@ const ml = (t = {}) => {
|
|
|
1978
1976
|
for (const n in e.subAppList)
|
|
1979
1977
|
e.subAppList[n].code === e.currentSubAppCode && (e.subAppList[n].currentMenuCode = t);
|
|
1980
1978
|
sessionStorage.setItem("subApps", JSON.stringify(e));
|
|
1981
|
-
},
|
|
1979
|
+
}, yl = (t, e) => {
|
|
1982
1980
|
const n = "permission-btn", r = JSON.parse(sessionStorage.getItem(n) || "{}") || {}, o = t != null && t.length ? t.filter((l) => l.routeUrl) : [], a = t != null && t.length ? t.filter((l) => !l.routeUrl && l.children).map((l) => l.children).flat() : [], i = [...o, ...a], c = {};
|
|
1983
1981
|
return i.forEach((l) => {
|
|
1984
1982
|
var d;
|
|
@@ -2008,17 +2006,17 @@ const ml = (t = {}) => {
|
|
|
2008
2006
|
c[s].push(v), u && s !== u && (c["origin-auth"] || (c["origin-auth"] = {}), c["origin-auth"][u] || (c["origin-auth"][u] = []), c["origin-auth"][u].push(v));
|
|
2009
2007
|
}));
|
|
2010
2008
|
}), r[e] = c, sessionStorage.setItem(n, JSON.stringify(r)), r;
|
|
2011
|
-
},
|
|
2009
|
+
}, bl = () => {
|
|
2012
2010
|
sessionStorage.removeItem("permission-btn");
|
|
2013
|
-
},
|
|
2011
|
+
}, wl = (t, e) => {
|
|
2014
2012
|
const n = "breadcrumb", r = t.filter((a) => a.routeUrl), o = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
|
|
2015
2013
|
return r.forEach((a) => {
|
|
2016
2014
|
const c = ((a == null ? void 0 : a.style) ?? 1) === 1, l = a.code;
|
|
2017
2015
|
o[e] || (o[e] = {}), o[e][l] = c;
|
|
2018
2016
|
}), sessionStorage.setItem(n, JSON.stringify(o)), o;
|
|
2019
|
-
},
|
|
2017
|
+
}, Al = () => {
|
|
2020
2018
|
sessionStorage.removeItem("breadcrumb");
|
|
2021
|
-
},
|
|
2019
|
+
}, El = (t, e) => {
|
|
2022
2020
|
const n = "tabStyle", r = t.filter((a) => a.routeUrl), o = JSON.parse(sessionStorage.getItem(n) || "{}") || {};
|
|
2023
2021
|
return r.forEach((a) => {
|
|
2024
2022
|
const i = a.code, c = {
|
|
@@ -2027,13 +2025,13 @@ const ml = (t = {}) => {
|
|
|
2027
2025
|
};
|
|
2028
2026
|
o[e] || (o[e] = {}), o[e][i] = c;
|
|
2029
2027
|
}), sessionStorage.setItem(n, JSON.stringify(o)), o;
|
|
2030
|
-
},
|
|
2028
|
+
}, kl = () => {
|
|
2031
2029
|
sessionStorage.removeItem("tabStyle");
|
|
2032
|
-
},
|
|
2030
|
+
}, Bl = (t) => {
|
|
2033
2031
|
sessionStorage.setItem("instance", JSON.stringify(t));
|
|
2034
|
-
},
|
|
2035
|
-
|
|
2036
|
-
},
|
|
2032
|
+
}, Dl = () => {
|
|
2033
|
+
bl(), ro(), Ns(), Al(), kl();
|
|
2034
|
+
}, Sl = (t) => {
|
|
2037
2035
|
const e = JSON.parse(sessionStorage.getItem(t) || "{}");
|
|
2038
2036
|
if (e && JSON.stringify(e) !== "{}" && e != null && e.exitConfirmPages && e.exitConfirmPages.length) {
|
|
2039
2037
|
const n = (e == null ? void 0 : e.currentPage) ?? "";
|
|
@@ -2052,10 +2050,10 @@ const ml = (t = {}) => {
|
|
|
2052
2050
|
}
|
|
2053
2051
|
};
|
|
2054
2052
|
var oe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2055
|
-
function
|
|
2053
|
+
function Il(t) {
|
|
2056
2054
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
2057
2055
|
}
|
|
2058
|
-
function
|
|
2056
|
+
function Fl(t) {
|
|
2059
2057
|
if (t.__esModule) return t;
|
|
2060
2058
|
var e = t.default;
|
|
2061
2059
|
if (typeof e == "function") {
|
|
@@ -2075,14 +2073,14 @@ function Tl(t) {
|
|
|
2075
2073
|
}), n;
|
|
2076
2074
|
}
|
|
2077
2075
|
var js = { exports: {} };
|
|
2078
|
-
function
|
|
2076
|
+
function Tl(t) {
|
|
2079
2077
|
throw new Error('Could not dynamically require "' + t + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
2080
2078
|
}
|
|
2081
2079
|
var Gn = { exports: {} };
|
|
2082
|
-
const
|
|
2080
|
+
const Pl = {}, Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2083
2081
|
__proto__: null,
|
|
2084
|
-
default:
|
|
2085
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2082
|
+
default: Pl
|
|
2083
|
+
}, Symbol.toStringTag, { value: "Module" })), Ll = /* @__PURE__ */ Fl(Rl);
|
|
2086
2084
|
var ea;
|
|
2087
2085
|
function se() {
|
|
2088
2086
|
return ea || (ea = 1, function(t, e) {
|
|
@@ -2091,9 +2089,9 @@ function se() {
|
|
|
2091
2089
|
})(oe, function() {
|
|
2092
2090
|
var n = n || function(r, o) {
|
|
2093
2091
|
var a;
|
|
2094
|
-
if (typeof window < "u" && window.crypto && (a = window.crypto), typeof self < "u" && self.crypto && (a = self.crypto), typeof globalThis < "u" && globalThis.crypto && (a = globalThis.crypto), !a && typeof window < "u" && window.msCrypto && (a = window.msCrypto), !a && typeof oe < "u" && oe.crypto && (a = oe.crypto), !a && typeof
|
|
2092
|
+
if (typeof window < "u" && window.crypto && (a = window.crypto), typeof self < "u" && self.crypto && (a = self.crypto), typeof globalThis < "u" && globalThis.crypto && (a = globalThis.crypto), !a && typeof window < "u" && window.msCrypto && (a = window.msCrypto), !a && typeof oe < "u" && oe.crypto && (a = oe.crypto), !a && typeof Tl == "function")
|
|
2095
2093
|
try {
|
|
2096
|
-
a =
|
|
2094
|
+
a = Ll;
|
|
2097
2095
|
} catch {
|
|
2098
2096
|
}
|
|
2099
2097
|
var i = function() {
|
|
@@ -2815,7 +2813,7 @@ function $n() {
|
|
|
2815
2813
|
}(Xn)), Xn.exports;
|
|
2816
2814
|
}
|
|
2817
2815
|
var Qn = { exports: {} }, na;
|
|
2818
|
-
function
|
|
2816
|
+
function $l() {
|
|
2819
2817
|
return na || (na = 1, function(t, e) {
|
|
2820
2818
|
(function(n, r) {
|
|
2821
2819
|
t.exports = r(se());
|
|
@@ -2837,7 +2835,7 @@ function Ml() {
|
|
|
2837
2835
|
}(Qn)), Qn.exports;
|
|
2838
2836
|
}
|
|
2839
2837
|
var Yn = { exports: {} }, ra;
|
|
2840
|
-
function
|
|
2838
|
+
function Ml() {
|
|
2841
2839
|
return ra || (ra = 1, function(t, e) {
|
|
2842
2840
|
(function(n, r) {
|
|
2843
2841
|
t.exports = r(se());
|
|
@@ -3006,7 +3004,7 @@ function Et() {
|
|
|
3006
3004
|
}(Jn)), Jn.exports;
|
|
3007
3005
|
}
|
|
3008
3006
|
var Zn = { exports: {} }, aa;
|
|
3009
|
-
function
|
|
3007
|
+
function Ol() {
|
|
3010
3008
|
return aa || (aa = 1, function(t, e) {
|
|
3011
3009
|
(function(n, r) {
|
|
3012
3010
|
t.exports = r(se());
|
|
@@ -3250,7 +3248,7 @@ function oo() {
|
|
|
3250
3248
|
}(nr)), nr.exports;
|
|
3251
3249
|
}
|
|
3252
3250
|
var rr = { exports: {} }, la;
|
|
3253
|
-
function
|
|
3251
|
+
function Nl() {
|
|
3254
3252
|
return la || (la = 1, function(t, e) {
|
|
3255
3253
|
(function(n, r, o) {
|
|
3256
3254
|
t.exports = r(se(), oo());
|
|
@@ -3421,7 +3419,7 @@ function Us() {
|
|
|
3421
3419
|
}(or)), or.exports;
|
|
3422
3420
|
}
|
|
3423
3421
|
var ar = { exports: {} }, da;
|
|
3424
|
-
function
|
|
3422
|
+
function zl() {
|
|
3425
3423
|
return da || (da = 1, function(t, e) {
|
|
3426
3424
|
(function(n, r, o) {
|
|
3427
3425
|
t.exports = r(se(), $n(), Us());
|
|
@@ -3451,7 +3449,7 @@ function jl() {
|
|
|
3451
3449
|
}(ar)), ar.exports;
|
|
3452
3450
|
}
|
|
3453
3451
|
var sr = { exports: {} }, fa;
|
|
3454
|
-
function
|
|
3452
|
+
function jl() {
|
|
3455
3453
|
return fa || (fa = 1, function(t, e) {
|
|
3456
3454
|
(function(n, r, o) {
|
|
3457
3455
|
t.exports = r(se(), $n());
|
|
@@ -3561,7 +3559,7 @@ function Hl() {
|
|
|
3561
3559
|
}(sr)), sr.exports;
|
|
3562
3560
|
}
|
|
3563
3561
|
var ir = { exports: {} }, pa;
|
|
3564
|
-
function
|
|
3562
|
+
function Hl() {
|
|
3565
3563
|
return pa || (pa = 1, function(t, e) {
|
|
3566
3564
|
(function(n, r) {
|
|
3567
3565
|
t.exports = r(se());
|
|
@@ -4032,7 +4030,7 @@ function ao() {
|
|
|
4032
4030
|
}(cr)), cr.exports;
|
|
4033
4031
|
}
|
|
4034
4032
|
var lr = { exports: {} }, xa;
|
|
4035
|
-
function
|
|
4033
|
+
function Ul() {
|
|
4036
4034
|
return xa || (xa = 1, function(t, e) {
|
|
4037
4035
|
(function(n, r, o) {
|
|
4038
4036
|
t.exports = r(se(), oo(), ao());
|
|
@@ -4700,7 +4698,7 @@ function Ee() {
|
|
|
4700
4698
|
}(dr)), dr.exports;
|
|
4701
4699
|
}
|
|
4702
4700
|
var fr = { exports: {} }, ma;
|
|
4703
|
-
function
|
|
4701
|
+
function ql() {
|
|
4704
4702
|
return ma || (ma = 1, function(t, e) {
|
|
4705
4703
|
(function(n, r, o) {
|
|
4706
4704
|
t.exports = r(se(), Ee());
|
|
@@ -4730,7 +4728,7 @@ function Wl() {
|
|
|
4730
4728
|
}(fr)), fr.exports;
|
|
4731
4729
|
}
|
|
4732
4730
|
var pr = { exports: {} }, _a;
|
|
4733
|
-
function
|
|
4731
|
+
function Wl() {
|
|
4734
4732
|
return _a || (_a = 1, function(t, e) {
|
|
4735
4733
|
(function(n, r, o) {
|
|
4736
4734
|
t.exports = r(se(), Ee());
|
|
@@ -4752,7 +4750,7 @@ function Vl() {
|
|
|
4752
4750
|
}(pr)), pr.exports;
|
|
4753
4751
|
}
|
|
4754
4752
|
var hr = { exports: {} }, Ca;
|
|
4755
|
-
function
|
|
4753
|
+
function Vl() {
|
|
4756
4754
|
return Ca || (Ca = 1, function(t, e) {
|
|
4757
4755
|
(function(n, r, o) {
|
|
4758
4756
|
t.exports = r(se(), Ee());
|
|
@@ -4791,7 +4789,7 @@ function Kl() {
|
|
|
4791
4789
|
}(hr)), hr.exports;
|
|
4792
4790
|
}
|
|
4793
4791
|
var xr = { exports: {} }, ya;
|
|
4794
|
-
function
|
|
4792
|
+
function Kl() {
|
|
4795
4793
|
return ya || (ya = 1, function(t, e) {
|
|
4796
4794
|
(function(n, r, o) {
|
|
4797
4795
|
t.exports = r(se(), Ee());
|
|
@@ -4811,7 +4809,7 @@ function Gl() {
|
|
|
4811
4809
|
}(xr)), xr.exports;
|
|
4812
4810
|
}
|
|
4813
4811
|
var vr = { exports: {} }, ba;
|
|
4814
|
-
function
|
|
4812
|
+
function Gl() {
|
|
4815
4813
|
return ba || (ba = 1, function(t, e) {
|
|
4816
4814
|
(function(n, r, o) {
|
|
4817
4815
|
t.exports = r(se(), Ee());
|
|
@@ -4832,7 +4830,7 @@ function Xl() {
|
|
|
4832
4830
|
}(vr)), vr.exports;
|
|
4833
4831
|
}
|
|
4834
4832
|
var gr = { exports: {} }, wa;
|
|
4835
|
-
function
|
|
4833
|
+
function Xl() {
|
|
4836
4834
|
return wa || (wa = 1, function(t, e) {
|
|
4837
4835
|
(function(n, r, o) {
|
|
4838
4836
|
t.exports = r(se(), Ee());
|
|
@@ -4851,7 +4849,7 @@ function Ql() {
|
|
|
4851
4849
|
}(gr)), gr.exports;
|
|
4852
4850
|
}
|
|
4853
4851
|
var mr = { exports: {} }, Aa;
|
|
4854
|
-
function
|
|
4852
|
+
function Ql() {
|
|
4855
4853
|
return Aa || (Aa = 1, function(t, e) {
|
|
4856
4854
|
(function(n, r, o) {
|
|
4857
4855
|
t.exports = r(se(), Ee());
|
|
@@ -4870,7 +4868,7 @@ function Yl() {
|
|
|
4870
4868
|
}(mr)), mr.exports;
|
|
4871
4869
|
}
|
|
4872
4870
|
var _r = { exports: {} }, Ea;
|
|
4873
|
-
function
|
|
4871
|
+
function Yl() {
|
|
4874
4872
|
return Ea || (Ea = 1, function(t, e) {
|
|
4875
4873
|
(function(n, r, o) {
|
|
4876
4874
|
t.exports = r(se(), Ee());
|
|
@@ -4887,7 +4885,7 @@ function Jl() {
|
|
|
4887
4885
|
}(_r)), _r.exports;
|
|
4888
4886
|
}
|
|
4889
4887
|
var Cr = { exports: {} }, ka;
|
|
4890
|
-
function
|
|
4888
|
+
function Jl() {
|
|
4891
4889
|
return ka || (ka = 1, function(t, e) {
|
|
4892
4890
|
(function(n, r, o) {
|
|
4893
4891
|
t.exports = r(se(), Ee());
|
|
@@ -4909,7 +4907,7 @@ function Zl() {
|
|
|
4909
4907
|
}(Cr)), Cr.exports;
|
|
4910
4908
|
}
|
|
4911
4909
|
var yr = { exports: {} }, Ba;
|
|
4912
|
-
function
|
|
4910
|
+
function Zl() {
|
|
4913
4911
|
return Ba || (Ba = 1, function(t, e) {
|
|
4914
4912
|
(function(n, r, o) {
|
|
4915
4913
|
t.exports = r(se(), Ee());
|
|
@@ -4924,7 +4922,7 @@ function eu() {
|
|
|
4924
4922
|
}(yr)), yr.exports;
|
|
4925
4923
|
}
|
|
4926
4924
|
var br = { exports: {} }, Da;
|
|
4927
|
-
function
|
|
4925
|
+
function eu() {
|
|
4928
4926
|
return Da || (Da = 1, function(t, e) {
|
|
4929
4927
|
(function(n, r, o) {
|
|
4930
4928
|
t.exports = r(se(), Ee());
|
|
@@ -4971,7 +4969,7 @@ function tu() {
|
|
|
4971
4969
|
}(br)), br.exports;
|
|
4972
4970
|
}
|
|
4973
4971
|
var wr = { exports: {} }, Sa;
|
|
4974
|
-
function
|
|
4972
|
+
function tu() {
|
|
4975
4973
|
return Sa || (Sa = 1, function(t, e) {
|
|
4976
4974
|
(function(n, r, o) {
|
|
4977
4975
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -5031,7 +5029,7 @@ function nu() {
|
|
|
5031
5029
|
}(wr)), wr.exports;
|
|
5032
5030
|
}
|
|
5033
5031
|
var Ar = { exports: {} }, Ia;
|
|
5034
|
-
function
|
|
5032
|
+
function nu() {
|
|
5035
5033
|
return Ia || (Ia = 1, function(t, e) {
|
|
5036
5034
|
(function(n, r, o) {
|
|
5037
5035
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -5751,7 +5749,7 @@ function ru() {
|
|
|
5751
5749
|
}(Ar)), Ar.exports;
|
|
5752
5750
|
}
|
|
5753
5751
|
var Er = { exports: {} }, Fa;
|
|
5754
|
-
function
|
|
5752
|
+
function ru() {
|
|
5755
5753
|
return Fa || (Fa = 1, function(t, e) {
|
|
5756
5754
|
(function(n, r, o) {
|
|
5757
5755
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -5805,7 +5803,7 @@ function ou() {
|
|
|
5805
5803
|
}(Er)), Er.exports;
|
|
5806
5804
|
}
|
|
5807
5805
|
var kr = { exports: {} }, Ta;
|
|
5808
|
-
function
|
|
5806
|
+
function ou() {
|
|
5809
5807
|
return Ta || (Ta = 1, function(t, e) {
|
|
5810
5808
|
(function(n, r, o) {
|
|
5811
5809
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -5871,7 +5869,7 @@ function au() {
|
|
|
5871
5869
|
}(kr)), kr.exports;
|
|
5872
5870
|
}
|
|
5873
5871
|
var Br = { exports: {} }, Pa;
|
|
5874
|
-
function
|
|
5872
|
+
function au() {
|
|
5875
5873
|
return Pa || (Pa = 1, function(t, e) {
|
|
5876
5874
|
(function(n, r, o) {
|
|
5877
5875
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -5935,7 +5933,7 @@ function su() {
|
|
|
5935
5933
|
}(Br)), Br.exports;
|
|
5936
5934
|
}
|
|
5937
5935
|
var Dr = { exports: {} }, Ra;
|
|
5938
|
-
function
|
|
5936
|
+
function su() {
|
|
5939
5937
|
return Ra || (Ra = 1, function(t, e) {
|
|
5940
5938
|
(function(n, r, o) {
|
|
5941
5939
|
t.exports = r(se(), Et(), kt(), ht(), Ee());
|
|
@@ -7058,16 +7056,16 @@ function iu() {
|
|
|
7058
7056
|
}
|
|
7059
7057
|
(function(t, e) {
|
|
7060
7058
|
(function(n, r, o) {
|
|
7061
|
-
t.exports = r(se(), $n(),
|
|
7059
|
+
t.exports = r(se(), $n(), $l(), Ml(), Et(), Ol(), kt(), Hs(), oo(), Nl(), Us(), zl(), jl(), Hl(), ao(), Ul(), ht(), Ee(), ql(), Wl(), Vl(), Kl(), Gl(), Xl(), Ql(), Yl(), Jl(), Zl(), eu(), tu(), nu(), ru(), ou(), au(), su());
|
|
7062
7060
|
})(oe, function(n) {
|
|
7063
7061
|
return n;
|
|
7064
7062
|
});
|
|
7065
7063
|
})(js);
|
|
7066
|
-
var
|
|
7067
|
-
const Re = /* @__PURE__ */
|
|
7068
|
-
function
|
|
7064
|
+
var iu = js.exports;
|
|
7065
|
+
const Re = /* @__PURE__ */ Il(iu);
|
|
7066
|
+
function cu(t, e, n, r) {
|
|
7069
7067
|
qs(t, e).then(({ input: o, key: a }) => Vs(o, a, n, !0, r)).then((o) => {
|
|
7070
|
-
|
|
7068
|
+
lu.apply(null, o);
|
|
7071
7069
|
}).catch((o) => {
|
|
7072
7070
|
r({
|
|
7073
7071
|
value: null,
|
|
@@ -7075,16 +7073,16 @@ function lu(t, e, n, r) {
|
|
|
7075
7073
|
});
|
|
7076
7074
|
});
|
|
7077
7075
|
}
|
|
7078
|
-
function
|
|
7076
|
+
function lu(t, e, n, r, o, a, i, c) {
|
|
7079
7077
|
let l = Ws(e, n, r, o, a), s = Re.AES.encrypt.apply(null, [t, l.key, l.options]), u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex, _ = s.ciphertext.toString(u);
|
|
7080
7078
|
c({
|
|
7081
7079
|
value: _,
|
|
7082
7080
|
error: null
|
|
7083
7081
|
});
|
|
7084
7082
|
}
|
|
7085
|
-
function
|
|
7083
|
+
function uu(t, e, n, r) {
|
|
7086
7084
|
qs(t, e).then(({ input: o, key: a }) => Vs(o, a, n, !1, r)).then((o) => {
|
|
7087
|
-
|
|
7085
|
+
du.apply(null, o);
|
|
7088
7086
|
}).catch((o) => {
|
|
7089
7087
|
r({
|
|
7090
7088
|
value: null,
|
|
@@ -7092,7 +7090,7 @@ function du(t, e, n, r) {
|
|
|
7092
7090
|
});
|
|
7093
7091
|
});
|
|
7094
7092
|
}
|
|
7095
|
-
function
|
|
7093
|
+
function du(t, e, n, r, o, a, i, c) {
|
|
7096
7094
|
let l = Ws(e, n, r, o, a), s = Re.DES.encrypt.apply(null, [t, l.key, l.options]), u = i === "base64" ? Re.enc.Base64 : Re.enc.Hex, _ = s.ciphertext.toString(u);
|
|
7097
7095
|
c({
|
|
7098
7096
|
value: _,
|
|
@@ -7121,7 +7119,7 @@ function Ws(t, e, n, r, o) {
|
|
|
7121
7119
|
async function Vs(t, e, n, r = !1, o) {
|
|
7122
7120
|
let a;
|
|
7123
7121
|
try {
|
|
7124
|
-
a = await
|
|
7122
|
+
a = await fu(n);
|
|
7125
7123
|
} catch (u) {
|
|
7126
7124
|
return Promise.reject(u);
|
|
7127
7125
|
}
|
|
@@ -7130,39 +7128,39 @@ async function Vs(t, e, n, r = !1, o) {
|
|
|
7130
7128
|
return Promise.reject("非ECB模式iv不能为空");
|
|
7131
7129
|
let c;
|
|
7132
7130
|
try {
|
|
7133
|
-
c = await
|
|
7131
|
+
c = await pu(n, r);
|
|
7134
7132
|
} catch (u) {
|
|
7135
7133
|
return Promise.reject(u);
|
|
7136
7134
|
}
|
|
7137
7135
|
let l;
|
|
7138
7136
|
try {
|
|
7139
|
-
l = await
|
|
7137
|
+
l = await hu(n);
|
|
7140
7138
|
} catch (u) {
|
|
7141
7139
|
return Promise.reject(u);
|
|
7142
7140
|
}
|
|
7143
7141
|
let s;
|
|
7144
7142
|
try {
|
|
7145
|
-
s = await
|
|
7143
|
+
s = await xu(n);
|
|
7146
7144
|
} catch (u) {
|
|
7147
7145
|
return Promise.reject(u);
|
|
7148
7146
|
}
|
|
7149
7147
|
return [t, e, c, i, a, l, s, o];
|
|
7150
7148
|
}
|
|
7151
|
-
async function
|
|
7149
|
+
async function fu(t) {
|
|
7152
7150
|
let { mode: e = "CBC" } = t || {};
|
|
7153
7151
|
return e = e.trim().toUpperCase(), ["CBC", "CFB", "OFB", "ECB"].indexOf(e) === -1 ? Promise.reject("mode模式配置错误") : e;
|
|
7154
7152
|
}
|
|
7155
|
-
async function
|
|
7153
|
+
async function pu(t, e = !1) {
|
|
7156
7154
|
if (!e)
|
|
7157
7155
|
return 8;
|
|
7158
7156
|
let { keySize: n = 0 } = t || {};
|
|
7159
7157
|
return [16, 24, 32].indexOf(n) !== -1 ? n : Promise.reject("keySize配置错误");
|
|
7160
7158
|
}
|
|
7161
|
-
async function
|
|
7159
|
+
async function hu(t) {
|
|
7162
7160
|
let { padding: e = "pkcs7" } = t || {};
|
|
7163
7161
|
return e = e.trim().toLowerCase(), ["pkcs7", "pkcs5", "zero", "iso10126", "ansix923"].indexOf(e) !== -1 ? e : Promise.reject("padding配置错误");
|
|
7164
7162
|
}
|
|
7165
|
-
async function
|
|
7163
|
+
async function xu(t) {
|
|
7166
7164
|
let { encoding: e = "base64" } = t || {};
|
|
7167
7165
|
return e = e.trim().toLowerCase(), ["base64", "hex"].indexOf(e) !== -1 ? e : Promise.reject("encoding配置错误");
|
|
7168
7166
|
}
|
|
@@ -7177,10 +7175,10 @@ function La(t, e) {
|
|
|
7177
7175
|
}
|
|
7178
7176
|
return Re.enc.Latin1.parse(n);
|
|
7179
7177
|
}
|
|
7180
|
-
const
|
|
7181
|
-
aes:
|
|
7182
|
-
des:
|
|
7183
|
-
},
|
|
7178
|
+
const vu = {
|
|
7179
|
+
aes: cu,
|
|
7180
|
+
des: uu
|
|
7181
|
+
}, gu = (t = {}, e) => {
|
|
7184
7182
|
const n = { aes: "aes", des: "des" }, r = {
|
|
7185
7183
|
pkcs5padding: "Pkcs5",
|
|
7186
7184
|
pkcs7padding: "Pkcs7",
|
|
@@ -7190,7 +7188,7 @@ const gu = {
|
|
|
7190
7188
|
}, o = { hex: "hex", base64: "base64" };
|
|
7191
7189
|
let a = t.encryptType || "", i = n[a.toLowerCase()], c = t.encryptMode || "", l = t.encryptKey || "", s = t.encryptOffset || "", u = t.encryptPadding || "", _ = r[u.toLowerCase()], d = t.codingMode || "", f = o[d.toLowerCase()], v = (Number(t.encryptKeyLength) || 0) / 8;
|
|
7192
7190
|
return new Promise((x) => {
|
|
7193
|
-
i !== "aes" && i !== "des" ? x({ error: "加密类型出错==", value: null }) :
|
|
7191
|
+
i !== "aes" && i !== "des" ? x({ error: "加密类型出错==", value: null }) : vu[i](e, l, { mode: c, keySize: v, padding: _, encoding: f, iv: s }, (m) => {
|
|
7194
7192
|
x(m);
|
|
7195
7193
|
});
|
|
7196
7194
|
});
|
|
@@ -7217,7 +7215,7 @@ async function Xs(t) {
|
|
|
7217
7215
|
CURRENT_PROJECT: ut().id
|
|
7218
7216
|
}[t];
|
|
7219
7217
|
}
|
|
7220
|
-
async function
|
|
7218
|
+
async function mu(t) {
|
|
7221
7219
|
if (typeof t != "string") return "";
|
|
7222
7220
|
let e = null;
|
|
7223
7221
|
try {
|
|
@@ -7240,7 +7238,7 @@ async function _u(t) {
|
|
|
7240
7238
|
}
|
|
7241
7239
|
return JSON.stringify(n);
|
|
7242
7240
|
}
|
|
7243
|
-
async function
|
|
7241
|
+
async function _u(t) {
|
|
7244
7242
|
let e = {};
|
|
7245
7243
|
for (let n = 0; n < t.length; n++) {
|
|
7246
7244
|
let r = t[n] || {}, { attributeContentEnum: o, paramName: a, attributeContent: i, paramType: c, isEncrypted: l } = r, s = a, u = i;
|
|
@@ -7248,11 +7246,11 @@ async function Cu(t) {
|
|
|
7248
7246
|
if (!ft())
|
|
7249
7247
|
return ks({ ...Bs, redirect_uri: Ds }), "goLogin";
|
|
7250
7248
|
u = await Xs(o);
|
|
7251
|
-
} else if (c === Ks.JSON && (u = await
|
|
7249
|
+
} else if (c === Ks.JSON && (u = await mu(i), u === "goLogin"))
|
|
7252
7250
|
return "goLogin";
|
|
7253
7251
|
if (s && u) {
|
|
7254
7252
|
if (l) {
|
|
7255
|
-
let _ = await
|
|
7253
|
+
let _ = await gu(r, u);
|
|
7256
7254
|
_.error, u = _.value ?? "";
|
|
7257
7255
|
}
|
|
7258
7256
|
e[s] = u;
|
|
@@ -7260,7 +7258,7 @@ async function Cu(t) {
|
|
|
7260
7258
|
}
|
|
7261
7259
|
return e;
|
|
7262
7260
|
}
|
|
7263
|
-
function
|
|
7261
|
+
function Cu(t) {
|
|
7264
7262
|
let e = {}, n = t.split("&");
|
|
7265
7263
|
for (let r = 0; r < n.length; r++) {
|
|
7266
7264
|
let a = n[r].split("=");
|
|
@@ -7271,35 +7269,35 @@ function yu(t) {
|
|
|
7271
7269
|
}
|
|
7272
7270
|
return e;
|
|
7273
7271
|
}
|
|
7274
|
-
function
|
|
7272
|
+
function yu(t) {
|
|
7275
7273
|
return Object.keys(t).map((e) => `${e}=${t[e]}`).join("&");
|
|
7276
7274
|
}
|
|
7277
|
-
function
|
|
7275
|
+
function bu(t, e) {
|
|
7278
7276
|
let n = t.split("?").filter((s) => s.length > 0), r = Object.keys(e).map((s) => {
|
|
7279
7277
|
let u = e[s];
|
|
7280
7278
|
return `${encodeURIComponent(s)}=${encodeURIComponent(u)}`;
|
|
7281
7279
|
}).join("&");
|
|
7282
7280
|
if (n.length !== 2)
|
|
7283
7281
|
return r.length > 0 ? `${t}?${r}` : t;
|
|
7284
|
-
let o = n[0], a =
|
|
7282
|
+
let o = n[0], a = Cu(n[1]), i = /* @__PURE__ */ new Set();
|
|
7285
7283
|
Object.keys(a).forEach((s) => {
|
|
7286
7284
|
e[s] && i.add(s);
|
|
7287
7285
|
}), i.forEach((s) => {
|
|
7288
7286
|
delete a[s];
|
|
7289
7287
|
});
|
|
7290
|
-
let c = r, l =
|
|
7288
|
+
let c = r, l = yu(a);
|
|
7291
7289
|
return l.length > 0 && (r.length > 0 ? c = `${l}&${r}` : c = l), c.length > 0 ? `${o}?${c}` : o;
|
|
7292
7290
|
}
|
|
7293
7291
|
const Qs = async (t, e) => {
|
|
7294
|
-
const n = await
|
|
7295
|
-
return n === "goLogin" ? "" :
|
|
7292
|
+
const n = await _u(e);
|
|
7293
|
+
return n === "goLogin" ? "" : bu(t, n) ?? "";
|
|
7296
7294
|
}, jr = (t) => {
|
|
7297
7295
|
const e = new URL(t, location.origin);
|
|
7298
7296
|
return ["true", "1"].includes(e.searchParams.get("autoSetToken")) && (e.searchParams.append("access_token", k0()), e.searchParams.delete("autoSetToken")), e.toString();
|
|
7299
|
-
}, Ys = "v1",
|
|
7300
|
-
|
|
7297
|
+
}, Ys = "v1", wu = pt(`/api/personal-center/personal-server/${Ys}`), Au = pt(`/api/enterpriseright/permission/${Ys}`), Eu = wu.get("/info"), ku = As.get("/user-info");
|
|
7298
|
+
Au.get("/user/tenant");
|
|
7301
7299
|
Qr.post("/tenant/page");
|
|
7302
|
-
const
|
|
7300
|
+
const Bu = "v1", Du = pt(`/api/user-portrait/user-data/${Bu}`), Js = Du.post("/data/actions", (t) => (t.ignoreErrorMessage = !0, t)), Zs = "pc", ei = "pc", Su = async (t) => {
|
|
7303
7301
|
const e = JSON.parse(sessionStorage.getItem("access-sys") || "{}");
|
|
7304
7302
|
(e == null ? void 0 : e.projectId) !== t && (await Js().run({
|
|
7305
7303
|
action: "access-sys",
|
|
@@ -7321,14 +7319,14 @@ const Du = "v1", Su = pt(`/api/user-portrait/user-data/${Du}`), Js = Su.post("/d
|
|
|
7321
7319
|
displayMenuName: o
|
|
7322
7320
|
}
|
|
7323
7321
|
});
|
|
7322
|
+
}, Iu = async () => {
|
|
7323
|
+
const [t, e] = await Eu().run({});
|
|
7324
|
+
return t ? { personalConfig: null } : (Su(ut().id), { personalConfig: e });
|
|
7324
7325
|
}, Fu = async () => {
|
|
7325
|
-
const [t, e] = await ku().run(
|
|
7326
|
-
return t ? {
|
|
7327
|
-
}, Tu =
|
|
7328
|
-
|
|
7329
|
-
return t ? { tenantConfig: null } : (_l(e), { tenantConfig: e });
|
|
7330
|
-
}, Pu = Yr.get("/permissionset/user-portal-menu"), Ru = A0.deviceManage.get("/instance/getLast");
|
|
7331
|
-
function Lu() {
|
|
7326
|
+
const [t, e] = await ku().run();
|
|
7327
|
+
return t ? { tenantConfig: null } : (ml(e), { tenantConfig: e });
|
|
7328
|
+
}, Tu = Yr.get("/permissionset/user-portal-menu"), Pu = A0.deviceManage.get("/instance/getLast");
|
|
7329
|
+
function Ru() {
|
|
7332
7330
|
this.__data__ = [], this.size = 0;
|
|
7333
7331
|
}
|
|
7334
7332
|
function ni(t, e) {
|
|
@@ -7340,22 +7338,22 @@ function Mn(t, e) {
|
|
|
7340
7338
|
return n;
|
|
7341
7339
|
return -1;
|
|
7342
7340
|
}
|
|
7343
|
-
var
|
|
7344
|
-
function
|
|
7341
|
+
var Lu = Array.prototype, $u = Lu.splice;
|
|
7342
|
+
function Mu(t) {
|
|
7345
7343
|
var e = this.__data__, n = Mn(e, t);
|
|
7346
7344
|
if (n < 0)
|
|
7347
7345
|
return !1;
|
|
7348
7346
|
var r = e.length - 1;
|
|
7349
|
-
return n == r ? e.pop() :
|
|
7347
|
+
return n == r ? e.pop() : $u.call(e, n, 1), --this.size, !0;
|
|
7350
7348
|
}
|
|
7351
|
-
function
|
|
7349
|
+
function Ou(t) {
|
|
7352
7350
|
var e = this.__data__, n = Mn(e, t);
|
|
7353
7351
|
return n < 0 ? void 0 : e[n][1];
|
|
7354
7352
|
}
|
|
7355
|
-
function
|
|
7353
|
+
function Nu(t) {
|
|
7356
7354
|
return Mn(this.__data__, t) > -1;
|
|
7357
7355
|
}
|
|
7358
|
-
function
|
|
7356
|
+
function zu(t, e) {
|
|
7359
7357
|
var n = this.__data__, r = Mn(n, t);
|
|
7360
7358
|
return r < 0 ? (++this.size, n.push([t, e])) : n[r][1] = e, this;
|
|
7361
7359
|
}
|
|
@@ -7366,66 +7364,66 @@ function at(t) {
|
|
|
7366
7364
|
this.set(r[0], r[1]);
|
|
7367
7365
|
}
|
|
7368
7366
|
}
|
|
7369
|
-
at.prototype.clear =
|
|
7370
|
-
at.prototype.delete =
|
|
7371
|
-
at.prototype.get =
|
|
7372
|
-
at.prototype.has =
|
|
7373
|
-
at.prototype.set =
|
|
7374
|
-
function
|
|
7367
|
+
at.prototype.clear = Ru;
|
|
7368
|
+
at.prototype.delete = Mu;
|
|
7369
|
+
at.prototype.get = Ou;
|
|
7370
|
+
at.prototype.has = Nu;
|
|
7371
|
+
at.prototype.set = zu;
|
|
7372
|
+
function ju() {
|
|
7375
7373
|
this.__data__ = new at(), this.size = 0;
|
|
7376
7374
|
}
|
|
7377
|
-
function
|
|
7375
|
+
function Hu(t) {
|
|
7378
7376
|
var e = this.__data__, n = e.delete(t);
|
|
7379
7377
|
return this.size = e.size, n;
|
|
7380
7378
|
}
|
|
7381
|
-
function
|
|
7379
|
+
function Uu(t) {
|
|
7382
7380
|
return this.__data__.get(t);
|
|
7383
7381
|
}
|
|
7384
|
-
function
|
|
7382
|
+
function qu(t) {
|
|
7385
7383
|
return this.__data__.has(t);
|
|
7386
7384
|
}
|
|
7387
|
-
var ri = typeof global == "object" && global && global.Object === Object && global,
|
|
7388
|
-
function
|
|
7389
|
-
var e =
|
|
7385
|
+
var ri = typeof global == "object" && global && global.Object === Object && global, Wu = typeof self == "object" && self && self.Object === Object && self, tt = ri || Wu || Function("return this")(), zt = tt.Symbol, oi = Object.prototype, Vu = oi.hasOwnProperty, Ku = oi.toString, Yt = zt ? zt.toStringTag : void 0;
|
|
7386
|
+
function Gu(t) {
|
|
7387
|
+
var e = Vu.call(t, Yt), n = t[Yt];
|
|
7390
7388
|
try {
|
|
7391
7389
|
t[Yt] = void 0;
|
|
7392
7390
|
var r = !0;
|
|
7393
7391
|
} catch {
|
|
7394
7392
|
}
|
|
7395
|
-
var o =
|
|
7393
|
+
var o = Ku.call(t);
|
|
7396
7394
|
return r && (e ? t[Yt] = n : delete t[Yt]), o;
|
|
7397
7395
|
}
|
|
7398
|
-
var
|
|
7399
|
-
function
|
|
7400
|
-
return
|
|
7396
|
+
var Xu = Object.prototype, Qu = Xu.toString;
|
|
7397
|
+
function Yu(t) {
|
|
7398
|
+
return Qu.call(t);
|
|
7401
7399
|
}
|
|
7402
|
-
var
|
|
7400
|
+
var Ju = "[object Null]", Zu = "[object Undefined]", $a = zt ? zt.toStringTag : void 0;
|
|
7403
7401
|
function vn(t) {
|
|
7404
|
-
return t == null ? t === void 0 ?
|
|
7402
|
+
return t == null ? t === void 0 ? Zu : Ju : $a && $a in Object(t) ? Gu(t) : Yu(t);
|
|
7405
7403
|
}
|
|
7406
7404
|
function gn(t) {
|
|
7407
7405
|
var e = typeof t;
|
|
7408
7406
|
return t != null && (e == "object" || e == "function");
|
|
7409
7407
|
}
|
|
7410
|
-
var
|
|
7408
|
+
var ed = "[object AsyncFunction]", td = "[object Function]", nd = "[object GeneratorFunction]", rd = "[object Proxy]";
|
|
7411
7409
|
function ai(t) {
|
|
7412
7410
|
if (!gn(t))
|
|
7413
7411
|
return !1;
|
|
7414
7412
|
var e = vn(t);
|
|
7415
|
-
return e ==
|
|
7413
|
+
return e == td || e == nd || e == ed || e == rd;
|
|
7416
7414
|
}
|
|
7417
7415
|
var Sr = tt["__core-js_shared__"], Ma = function() {
|
|
7418
7416
|
var t = /[^.]+$/.exec(Sr && Sr.keys && Sr.keys.IE_PROTO || "");
|
|
7419
7417
|
return t ? "Symbol(src)_1." + t : "";
|
|
7420
7418
|
}();
|
|
7421
|
-
function
|
|
7419
|
+
function od(t) {
|
|
7422
7420
|
return !!Ma && Ma in t;
|
|
7423
7421
|
}
|
|
7424
|
-
var
|
|
7422
|
+
var ad = Function.prototype, sd = ad.toString;
|
|
7425
7423
|
function Bt(t) {
|
|
7426
7424
|
if (t != null) {
|
|
7427
7425
|
try {
|
|
7428
|
-
return
|
|
7426
|
+
return sd.call(t);
|
|
7429
7427
|
} catch {
|
|
7430
7428
|
}
|
|
7431
7429
|
try {
|
|
@@ -7435,48 +7433,48 @@ function Bt(t) {
|
|
|
7435
7433
|
}
|
|
7436
7434
|
return "";
|
|
7437
7435
|
}
|
|
7438
|
-
var
|
|
7439
|
-
"^" +
|
|
7436
|
+
var id = /[\\^$.*+?()[\]{}|]/g, cd = /^\[object .+?Constructor\]$/, ld = Function.prototype, ud = Object.prototype, dd = ld.toString, fd = ud.hasOwnProperty, pd = RegExp(
|
|
7437
|
+
"^" + dd.call(fd).replace(id, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
7440
7438
|
);
|
|
7441
|
-
function
|
|
7442
|
-
if (!gn(t) ||
|
|
7439
|
+
function hd(t) {
|
|
7440
|
+
if (!gn(t) || od(t))
|
|
7443
7441
|
return !1;
|
|
7444
|
-
var e = ai(t) ?
|
|
7442
|
+
var e = ai(t) ? pd : cd;
|
|
7445
7443
|
return e.test(Bt(t));
|
|
7446
7444
|
}
|
|
7447
|
-
function
|
|
7445
|
+
function xd(t, e) {
|
|
7448
7446
|
return t == null ? void 0 : t[e];
|
|
7449
7447
|
}
|
|
7450
7448
|
function Dt(t, e) {
|
|
7451
|
-
var n =
|
|
7452
|
-
return
|
|
7449
|
+
var n = xd(t, e);
|
|
7450
|
+
return hd(n) ? n : void 0;
|
|
7453
7451
|
}
|
|
7454
7452
|
var cn = Dt(tt, "Map"), ln = Dt(Object, "create");
|
|
7455
|
-
function
|
|
7453
|
+
function vd() {
|
|
7456
7454
|
this.__data__ = ln ? ln(null) : {}, this.size = 0;
|
|
7457
7455
|
}
|
|
7458
|
-
function
|
|
7456
|
+
function gd(t) {
|
|
7459
7457
|
var e = this.has(t) && delete this.__data__[t];
|
|
7460
7458
|
return this.size -= e ? 1 : 0, e;
|
|
7461
7459
|
}
|
|
7462
|
-
var
|
|
7463
|
-
function
|
|
7460
|
+
var md = "__lodash_hash_undefined__", _d = Object.prototype, Cd = _d.hasOwnProperty;
|
|
7461
|
+
function yd(t) {
|
|
7464
7462
|
var e = this.__data__;
|
|
7465
7463
|
if (ln) {
|
|
7466
7464
|
var n = e[t];
|
|
7467
|
-
return n ===
|
|
7465
|
+
return n === md ? void 0 : n;
|
|
7468
7466
|
}
|
|
7469
|
-
return
|
|
7467
|
+
return Cd.call(e, t) ? e[t] : void 0;
|
|
7470
7468
|
}
|
|
7471
|
-
var
|
|
7472
|
-
function
|
|
7469
|
+
var bd = Object.prototype, wd = bd.hasOwnProperty;
|
|
7470
|
+
function Ad(t) {
|
|
7473
7471
|
var e = this.__data__;
|
|
7474
|
-
return ln ? e[t] !== void 0 :
|
|
7472
|
+
return ln ? e[t] !== void 0 : wd.call(e, t);
|
|
7475
7473
|
}
|
|
7476
|
-
var
|
|
7477
|
-
function
|
|
7474
|
+
var Ed = "__lodash_hash_undefined__";
|
|
7475
|
+
function kd(t, e) {
|
|
7478
7476
|
var n = this.__data__;
|
|
7479
|
-
return this.size += this.has(t) ? 0 : 1, n[t] = ln && e === void 0 ?
|
|
7477
|
+
return this.size += this.has(t) ? 0 : 1, n[t] = ln && e === void 0 ? Ed : e, this;
|
|
7480
7478
|
}
|
|
7481
7479
|
function bt(t) {
|
|
7482
7480
|
var e = -1, n = t == null ? 0 : t.length;
|
|
@@ -7485,37 +7483,37 @@ function bt(t) {
|
|
|
7485
7483
|
this.set(r[0], r[1]);
|
|
7486
7484
|
}
|
|
7487
7485
|
}
|
|
7488
|
-
bt.prototype.clear =
|
|
7489
|
-
bt.prototype.delete =
|
|
7490
|
-
bt.prototype.get =
|
|
7491
|
-
bt.prototype.has =
|
|
7492
|
-
bt.prototype.set =
|
|
7493
|
-
function
|
|
7486
|
+
bt.prototype.clear = vd;
|
|
7487
|
+
bt.prototype.delete = gd;
|
|
7488
|
+
bt.prototype.get = yd;
|
|
7489
|
+
bt.prototype.has = Ad;
|
|
7490
|
+
bt.prototype.set = kd;
|
|
7491
|
+
function Bd() {
|
|
7494
7492
|
this.size = 0, this.__data__ = {
|
|
7495
7493
|
hash: new bt(),
|
|
7496
7494
|
map: new (cn || at)(),
|
|
7497
7495
|
string: new bt()
|
|
7498
7496
|
};
|
|
7499
7497
|
}
|
|
7500
|
-
function
|
|
7498
|
+
function Dd(t) {
|
|
7501
7499
|
var e = typeof t;
|
|
7502
7500
|
return e == "string" || e == "number" || e == "symbol" || e == "boolean" ? t !== "__proto__" : t === null;
|
|
7503
7501
|
}
|
|
7504
7502
|
function On(t, e) {
|
|
7505
7503
|
var n = t.__data__;
|
|
7506
|
-
return
|
|
7504
|
+
return Dd(e) ? n[typeof e == "string" ? "string" : "hash"] : n.map;
|
|
7507
7505
|
}
|
|
7508
|
-
function
|
|
7506
|
+
function Sd(t) {
|
|
7509
7507
|
var e = On(this, t).delete(t);
|
|
7510
7508
|
return this.size -= e ? 1 : 0, e;
|
|
7511
7509
|
}
|
|
7512
|
-
function
|
|
7510
|
+
function Id(t) {
|
|
7513
7511
|
return On(this, t).get(t);
|
|
7514
7512
|
}
|
|
7515
|
-
function
|
|
7513
|
+
function Fd(t) {
|
|
7516
7514
|
return On(this, t).has(t);
|
|
7517
7515
|
}
|
|
7518
|
-
function
|
|
7516
|
+
function Td(t, e) {
|
|
7519
7517
|
var n = On(this, t), r = n.size;
|
|
7520
7518
|
return n.set(t, e), this.size += n.size == r ? 0 : 1, this;
|
|
7521
7519
|
}
|
|
@@ -7526,17 +7524,17 @@ function Wt(t) {
|
|
|
7526
7524
|
this.set(r[0], r[1]);
|
|
7527
7525
|
}
|
|
7528
7526
|
}
|
|
7529
|
-
Wt.prototype.clear =
|
|
7530
|
-
Wt.prototype.delete =
|
|
7531
|
-
Wt.prototype.get =
|
|
7532
|
-
Wt.prototype.has =
|
|
7533
|
-
Wt.prototype.set =
|
|
7534
|
-
var
|
|
7535
|
-
function
|
|
7527
|
+
Wt.prototype.clear = Bd;
|
|
7528
|
+
Wt.prototype.delete = Sd;
|
|
7529
|
+
Wt.prototype.get = Id;
|
|
7530
|
+
Wt.prototype.has = Fd;
|
|
7531
|
+
Wt.prototype.set = Td;
|
|
7532
|
+
var Pd = 200;
|
|
7533
|
+
function Rd(t, e) {
|
|
7536
7534
|
var n = this.__data__;
|
|
7537
7535
|
if (n instanceof at) {
|
|
7538
7536
|
var r = n.__data__;
|
|
7539
|
-
if (!cn || r.length <
|
|
7537
|
+
if (!cn || r.length < Pd - 1)
|
|
7540
7538
|
return r.push([t, e]), this.size = ++n.size, this;
|
|
7541
7539
|
n = this.__data__ = new Wt(r);
|
|
7542
7540
|
}
|
|
@@ -7546,12 +7544,12 @@ function Vt(t) {
|
|
|
7546
7544
|
var e = this.__data__ = new at(t);
|
|
7547
7545
|
this.size = e.size;
|
|
7548
7546
|
}
|
|
7549
|
-
Vt.prototype.clear =
|
|
7550
|
-
Vt.prototype.delete =
|
|
7551
|
-
Vt.prototype.get =
|
|
7552
|
-
Vt.prototype.has =
|
|
7553
|
-
Vt.prototype.set =
|
|
7554
|
-
function
|
|
7547
|
+
Vt.prototype.clear = ju;
|
|
7548
|
+
Vt.prototype.delete = Hu;
|
|
7549
|
+
Vt.prototype.get = Uu;
|
|
7550
|
+
Vt.prototype.has = qu;
|
|
7551
|
+
Vt.prototype.set = Rd;
|
|
7552
|
+
function Ld(t, e) {
|
|
7555
7553
|
for (var n = -1, r = t == null ? 0 : t.length; ++n < r && e(t[n], n, t) !== !1; )
|
|
7556
7554
|
;
|
|
7557
7555
|
return t;
|
|
@@ -7571,10 +7569,10 @@ function si(t, e, n) {
|
|
|
7571
7569
|
writable: !0
|
|
7572
7570
|
}) : t[e] = n;
|
|
7573
7571
|
}
|
|
7574
|
-
var
|
|
7572
|
+
var $d = Object.prototype, Md = $d.hasOwnProperty;
|
|
7575
7573
|
function ii(t, e, n) {
|
|
7576
7574
|
var r = t[e];
|
|
7577
|
-
(!(
|
|
7575
|
+
(!(Md.call(t, e) && ni(r, n)) || n === void 0 && !(e in t)) && si(t, e, n);
|
|
7578
7576
|
}
|
|
7579
7577
|
function Nn(t, e, n, r) {
|
|
7580
7578
|
var o = !n;
|
|
@@ -7585,7 +7583,7 @@ function Nn(t, e, n, r) {
|
|
|
7585
7583
|
}
|
|
7586
7584
|
return n;
|
|
7587
7585
|
}
|
|
7588
|
-
function
|
|
7586
|
+
function Od(t, e) {
|
|
7589
7587
|
for (var n = -1, r = Array(t); ++n < t; )
|
|
7590
7588
|
r[n] = e(n);
|
|
7591
7589
|
return r;
|
|
@@ -7593,31 +7591,31 @@ function Nd(t, e) {
|
|
|
7593
7591
|
function mn(t) {
|
|
7594
7592
|
return t != null && typeof t == "object";
|
|
7595
7593
|
}
|
|
7596
|
-
var
|
|
7594
|
+
var Nd = "[object Arguments]";
|
|
7597
7595
|
function Na(t) {
|
|
7598
|
-
return mn(t) && vn(t) ==
|
|
7596
|
+
return mn(t) && vn(t) == Nd;
|
|
7599
7597
|
}
|
|
7600
|
-
var ci = Object.prototype,
|
|
7598
|
+
var ci = Object.prototype, zd = ci.hasOwnProperty, jd = ci.propertyIsEnumerable, Hd = Na(/* @__PURE__ */ function() {
|
|
7601
7599
|
return arguments;
|
|
7602
7600
|
}()) ? Na : function(t) {
|
|
7603
|
-
return mn(t) &&
|
|
7601
|
+
return mn(t) && zd.call(t, "callee") && !jd.call(t, "callee");
|
|
7604
7602
|
}, so = Array.isArray;
|
|
7605
|
-
function
|
|
7603
|
+
function Ud() {
|
|
7606
7604
|
return !1;
|
|
7607
7605
|
}
|
|
7608
|
-
var li = typeof exports == "object" && exports && !exports.nodeType && exports, za = li && typeof module == "object" && module && !module.nodeType && module,
|
|
7609
|
-
function
|
|
7606
|
+
var li = typeof exports == "object" && exports && !exports.nodeType && exports, za = li && typeof module == "object" && module && !module.nodeType && module, qd = za && za.exports === li, ja = qd ? tt.Buffer : void 0, Wd = ja ? ja.isBuffer : void 0, ui = Wd || Ud, Vd = 9007199254740991, Kd = /^(?:0|[1-9]\d*)$/;
|
|
7607
|
+
function Gd(t, e) {
|
|
7610
7608
|
var n = typeof t;
|
|
7611
|
-
return e = e ??
|
|
7609
|
+
return e = e ?? Vd, !!e && (n == "number" || n != "symbol" && Kd.test(t)) && t > -1 && t % 1 == 0 && t < e;
|
|
7612
7610
|
}
|
|
7613
|
-
var
|
|
7611
|
+
var Xd = 9007199254740991;
|
|
7614
7612
|
function di(t) {
|
|
7615
|
-
return typeof t == "number" && t > -1 && t % 1 == 0 && t <=
|
|
7613
|
+
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= Xd;
|
|
7616
7614
|
}
|
|
7617
|
-
var
|
|
7618
|
-
pe[pf] = pe[hf] = pe[xf] = pe[vf] = pe[gf] = pe[mf] = pe[_f] = pe[Cf] =
|
|
7619
|
-
pe[Yd] = pe[
|
|
7620
|
-
function
|
|
7615
|
+
var Qd = "[object Arguments]", Yd = "[object Array]", Jd = "[object Boolean]", Zd = "[object Date]", ef = "[object Error]", tf = "[object Function]", nf = "[object Map]", rf = "[object Number]", of = "[object Object]", af = "[object RegExp]", sf = "[object Set]", cf = "[object String]", lf = "[object WeakMap]", uf = "[object ArrayBuffer]", df = "[object DataView]", ff = "[object Float32Array]", pf = "[object Float64Array]", hf = "[object Int8Array]", xf = "[object Int16Array]", vf = "[object Int32Array]", gf = "[object Uint8Array]", mf = "[object Uint8ClampedArray]", _f = "[object Uint16Array]", Cf = "[object Uint32Array]", pe = {};
|
|
7616
|
+
pe[ff] = pe[pf] = pe[hf] = pe[xf] = pe[vf] = pe[gf] = pe[mf] = pe[_f] = pe[Cf] = !0;
|
|
7617
|
+
pe[Qd] = pe[Yd] = pe[uf] = pe[Jd] = pe[df] = pe[Zd] = pe[ef] = pe[tf] = pe[nf] = pe[rf] = pe[of] = pe[af] = pe[sf] = pe[cf] = pe[lf] = !1;
|
|
7618
|
+
function yf(t) {
|
|
7621
7619
|
return mn(t) && di(t.length) && !!pe[vn(t)];
|
|
7622
7620
|
}
|
|
7623
7621
|
function io(t) {
|
|
@@ -7625,26 +7623,26 @@ function io(t) {
|
|
|
7625
7623
|
return t(e);
|
|
7626
7624
|
};
|
|
7627
7625
|
}
|
|
7628
|
-
var fi = typeof exports == "object" && exports && !exports.nodeType && exports, on = fi && typeof module == "object" && module && !module.nodeType && module,
|
|
7626
|
+
var fi = typeof exports == "object" && exports && !exports.nodeType && exports, on = fi && typeof module == "object" && module && !module.nodeType && module, bf = on && on.exports === fi, Ir = bf && ri.process, jt = function() {
|
|
7629
7627
|
try {
|
|
7630
7628
|
var t = on && on.require && on.require("util").types;
|
|
7631
7629
|
return t || Ir && Ir.binding && Ir.binding("util");
|
|
7632
7630
|
} catch {
|
|
7633
7631
|
}
|
|
7634
|
-
}(), Ha = jt && jt.isTypedArray,
|
|
7632
|
+
}(), Ha = jt && jt.isTypedArray, wf = Ha ? io(Ha) : yf, Af = Object.prototype, Ef = Af.hasOwnProperty;
|
|
7635
7633
|
function pi(t, e) {
|
|
7636
|
-
var n = so(t), r = !n &&
|
|
7634
|
+
var n = so(t), r = !n && Hd(t), o = !n && !r && ui(t), a = !n && !r && !o && wf(t), i = n || r || o || a, c = i ? Od(t.length, String) : [], l = c.length;
|
|
7637
7635
|
for (var s in t)
|
|
7638
|
-
(e ||
|
|
7636
|
+
(e || Ef.call(t, s)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7639
7637
|
(s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
7640
7638
|
o && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
7641
7639
|
a && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
|
|
7642
|
-
|
|
7640
|
+
Gd(s, l))) && c.push(s);
|
|
7643
7641
|
return c;
|
|
7644
7642
|
}
|
|
7645
|
-
var
|
|
7643
|
+
var kf = Object.prototype;
|
|
7646
7644
|
function co(t) {
|
|
7647
|
-
var e = t && t.constructor, n = typeof e == "function" && e.prototype ||
|
|
7645
|
+
var e = t && t.constructor, n = typeof e == "function" && e.prototype || kf;
|
|
7648
7646
|
return t === n;
|
|
7649
7647
|
}
|
|
7650
7648
|
function hi(t, e) {
|
|
@@ -7652,60 +7650,60 @@ function hi(t, e) {
|
|
|
7652
7650
|
return t(e(n));
|
|
7653
7651
|
};
|
|
7654
7652
|
}
|
|
7655
|
-
var
|
|
7656
|
-
function
|
|
7653
|
+
var Bf = hi(Object.keys, Object), Df = Object.prototype, Sf = Df.hasOwnProperty;
|
|
7654
|
+
function If(t) {
|
|
7657
7655
|
if (!co(t))
|
|
7658
|
-
return
|
|
7656
|
+
return Bf(t);
|
|
7659
7657
|
var e = [];
|
|
7660
7658
|
for (var n in Object(t))
|
|
7661
|
-
|
|
7659
|
+
Sf.call(t, n) && n != "constructor" && e.push(n);
|
|
7662
7660
|
return e;
|
|
7663
7661
|
}
|
|
7664
7662
|
function xi(t) {
|
|
7665
7663
|
return t != null && di(t.length) && !ai(t);
|
|
7666
7664
|
}
|
|
7667
7665
|
function lo(t) {
|
|
7668
|
-
return xi(t) ? pi(t) :
|
|
7666
|
+
return xi(t) ? pi(t) : If(t);
|
|
7669
7667
|
}
|
|
7670
|
-
function
|
|
7668
|
+
function Ff(t, e) {
|
|
7671
7669
|
return t && Nn(e, lo(e), t);
|
|
7672
7670
|
}
|
|
7673
|
-
function
|
|
7671
|
+
function Tf(t) {
|
|
7674
7672
|
var e = [];
|
|
7675
7673
|
if (t != null)
|
|
7676
7674
|
for (var n in Object(t))
|
|
7677
7675
|
e.push(n);
|
|
7678
7676
|
return e;
|
|
7679
7677
|
}
|
|
7680
|
-
var
|
|
7681
|
-
function
|
|
7678
|
+
var Pf = Object.prototype, Rf = Pf.hasOwnProperty;
|
|
7679
|
+
function Lf(t) {
|
|
7682
7680
|
if (!gn(t))
|
|
7683
|
-
return
|
|
7681
|
+
return Tf(t);
|
|
7684
7682
|
var e = co(t), n = [];
|
|
7685
7683
|
for (var r in t)
|
|
7686
|
-
r == "constructor" && (e || !
|
|
7684
|
+
r == "constructor" && (e || !Rf.call(t, r)) || n.push(r);
|
|
7687
7685
|
return n;
|
|
7688
7686
|
}
|
|
7689
7687
|
function uo(t) {
|
|
7690
|
-
return xi(t) ? pi(t, !0) :
|
|
7688
|
+
return xi(t) ? pi(t, !0) : Lf(t);
|
|
7691
7689
|
}
|
|
7692
|
-
function
|
|
7690
|
+
function $f(t, e) {
|
|
7693
7691
|
return t && Nn(e, uo(e), t);
|
|
7694
7692
|
}
|
|
7695
|
-
var vi = typeof exports == "object" && exports && !exports.nodeType && exports, Ua = vi && typeof module == "object" && module && !module.nodeType && module,
|
|
7696
|
-
function
|
|
7693
|
+
var vi = typeof exports == "object" && exports && !exports.nodeType && exports, Ua = vi && typeof module == "object" && module && !module.nodeType && module, Mf = Ua && Ua.exports === vi, qa = Mf ? tt.Buffer : void 0, Wa = qa ? qa.allocUnsafe : void 0;
|
|
7694
|
+
function Of(t, e) {
|
|
7697
7695
|
if (e)
|
|
7698
7696
|
return t.slice();
|
|
7699
7697
|
var n = t.length, r = Wa ? Wa(n) : new t.constructor(n);
|
|
7700
7698
|
return t.copy(r), r;
|
|
7701
7699
|
}
|
|
7702
|
-
function
|
|
7700
|
+
function Nf(t, e) {
|
|
7703
7701
|
var n = -1, r = t.length;
|
|
7704
7702
|
for (e || (e = Array(r)); ++n < r; )
|
|
7705
7703
|
e[n] = t[n];
|
|
7706
7704
|
return e;
|
|
7707
7705
|
}
|
|
7708
|
-
function
|
|
7706
|
+
function zf(t, e) {
|
|
7709
7707
|
for (var n = -1, r = t == null ? 0 : t.length, o = 0, a = []; ++n < r; ) {
|
|
7710
7708
|
var i = t[n];
|
|
7711
7709
|
e(i, n, t) && (a[o++] = i);
|
|
@@ -7715,12 +7713,12 @@ function jf(t, e) {
|
|
|
7715
7713
|
function gi() {
|
|
7716
7714
|
return [];
|
|
7717
7715
|
}
|
|
7718
|
-
var
|
|
7719
|
-
return t == null ? [] : (t = Object(t),
|
|
7720
|
-
return
|
|
7716
|
+
var jf = Object.prototype, Hf = jf.propertyIsEnumerable, Va = Object.getOwnPropertySymbols, fo = Va ? function(t) {
|
|
7717
|
+
return t == null ? [] : (t = Object(t), zf(Va(t), function(e) {
|
|
7718
|
+
return Hf.call(t, e);
|
|
7721
7719
|
}));
|
|
7722
7720
|
} : gi;
|
|
7723
|
-
function
|
|
7721
|
+
function Uf(t, e) {
|
|
7724
7722
|
return Nn(t, fo(t), e);
|
|
7725
7723
|
}
|
|
7726
7724
|
function mi(t, e) {
|
|
@@ -7728,80 +7726,81 @@ function mi(t, e) {
|
|
|
7728
7726
|
t[o + n] = e[n];
|
|
7729
7727
|
return t;
|
|
7730
7728
|
}
|
|
7731
|
-
var _i = hi(Object.getPrototypeOf, Object),
|
|
7729
|
+
var _i = hi(Object.getPrototypeOf, Object), qf = Object.getOwnPropertySymbols, Ci = qf ? function(t) {
|
|
7732
7730
|
for (var e = []; t; )
|
|
7733
7731
|
mi(e, fo(t)), t = _i(t);
|
|
7734
7732
|
return e;
|
|
7735
7733
|
} : gi;
|
|
7736
|
-
function
|
|
7734
|
+
function Wf(t, e) {
|
|
7737
7735
|
return Nn(t, Ci(t), e);
|
|
7738
7736
|
}
|
|
7739
7737
|
function yi(t, e, n) {
|
|
7740
7738
|
var r = e(t);
|
|
7741
7739
|
return so(t) ? r : mi(r, n(t));
|
|
7742
7740
|
}
|
|
7743
|
-
function
|
|
7741
|
+
function Vf(t) {
|
|
7744
7742
|
return yi(t, lo, fo);
|
|
7745
7743
|
}
|
|
7746
|
-
function
|
|
7744
|
+
function Kf(t) {
|
|
7747
7745
|
return yi(t, uo, Ci);
|
|
7748
7746
|
}
|
|
7749
|
-
var Hr = Dt(tt, "DataView"), Ur = Dt(tt, "Promise"), qr = Dt(tt, "Set"), Wr = Dt(tt, "WeakMap"), Ka = "[object Map]",
|
|
7747
|
+
var Hr = Dt(tt, "DataView"), Ur = Dt(tt, "Promise"), qr = Dt(tt, "Set"), Wr = Dt(tt, "WeakMap"), Ka = "[object Map]", Gf = "[object Object]", Ga = "[object Promise]", Xa = "[object Set]", Qa = "[object WeakMap]", Ya = "[object DataView]", Xf = Bt(Hr), Qf = Bt(cn), Yf = Bt(Ur), Jf = Bt(qr), Zf = Bt(Wr), nt = vn;
|
|
7750
7748
|
(Hr && nt(new Hr(new ArrayBuffer(1))) != Ya || cn && nt(new cn()) != Ka || Ur && nt(Ur.resolve()) != Ga || qr && nt(new qr()) != Xa || Wr && nt(new Wr()) != Qa) && (nt = function(t) {
|
|
7751
|
-
var e = vn(t), n = e ==
|
|
7749
|
+
var e = vn(t), n = e == Gf ? t.constructor : void 0, r = n ? Bt(n) : "";
|
|
7752
7750
|
if (r)
|
|
7753
7751
|
switch (r) {
|
|
7754
|
-
case
|
|
7752
|
+
case Xf:
|
|
7755
7753
|
return Ya;
|
|
7756
|
-
case
|
|
7754
|
+
case Qf:
|
|
7757
7755
|
return Ka;
|
|
7758
|
-
case
|
|
7756
|
+
case Yf:
|
|
7759
7757
|
return Ga;
|
|
7760
|
-
case
|
|
7758
|
+
case Jf:
|
|
7761
7759
|
return Xa;
|
|
7762
|
-
case
|
|
7760
|
+
case Zf:
|
|
7763
7761
|
return Qa;
|
|
7764
7762
|
}
|
|
7765
7763
|
return e;
|
|
7766
7764
|
});
|
|
7767
|
-
var
|
|
7768
|
-
function
|
|
7765
|
+
var ep = Object.prototype, tp = ep.hasOwnProperty;
|
|
7766
|
+
function np(t) {
|
|
7769
7767
|
var e = t.length, n = new t.constructor(e);
|
|
7770
|
-
return e && typeof t[0] == "string" &&
|
|
7768
|
+
return e && typeof t[0] == "string" && tp.call(t, "index") && (n.index = t.index, n.input = t.input), n;
|
|
7771
7769
|
}
|
|
7772
7770
|
var Ja = tt.Uint8Array;
|
|
7773
7771
|
function po(t) {
|
|
7774
7772
|
var e = new t.constructor(t.byteLength);
|
|
7775
7773
|
return new Ja(e).set(new Ja(t)), e;
|
|
7776
7774
|
}
|
|
7777
|
-
function
|
|
7775
|
+
function rp(t, e) {
|
|
7778
7776
|
var n = e ? po(t.buffer) : t.buffer;
|
|
7779
7777
|
return new t.constructor(n, t.byteOffset, t.byteLength);
|
|
7780
7778
|
}
|
|
7781
|
-
var
|
|
7782
|
-
function
|
|
7783
|
-
var e = new t.constructor(t.source,
|
|
7779
|
+
var op = /\w*$/;
|
|
7780
|
+
function ap(t) {
|
|
7781
|
+
var e = new t.constructor(t.source, op.exec(t));
|
|
7784
7782
|
return e.lastIndex = t.lastIndex, e;
|
|
7785
7783
|
}
|
|
7786
7784
|
var Za = zt ? zt.prototype : void 0, es = Za ? Za.valueOf : void 0;
|
|
7787
|
-
function
|
|
7785
|
+
function sp(t) {
|
|
7788
7786
|
return es ? Object(es.call(t)) : {};
|
|
7789
7787
|
}
|
|
7790
|
-
function
|
|
7788
|
+
function ip(t, e) {
|
|
7791
7789
|
var n = e ? po(t.buffer) : t.buffer;
|
|
7792
7790
|
return new t.constructor(n, t.byteOffset, t.length);
|
|
7793
7791
|
}
|
|
7794
|
-
var
|
|
7795
|
-
function
|
|
7792
|
+
var cp = "[object Boolean]", lp = "[object Date]", up = "[object Map]", dp = "[object Number]", fp = "[object RegExp]", pp = "[object Set]", hp = "[object String]", xp = "[object Symbol]", vp = "[object ArrayBuffer]", gp = "[object DataView]", mp = "[object Float32Array]", _p = "[object Float64Array]", Cp = "[object Int8Array]", yp = "[object Int16Array]", bp = "[object Int32Array]", wp = "[object Uint8Array]", Ap = "[object Uint8ClampedArray]", Ep = "[object Uint16Array]", kp = "[object Uint32Array]";
|
|
7793
|
+
function Bp(t, e, n) {
|
|
7796
7794
|
var r = t.constructor;
|
|
7797
7795
|
switch (e) {
|
|
7798
|
-
case
|
|
7796
|
+
case vp:
|
|
7799
7797
|
return po(t);
|
|
7798
|
+
case cp:
|
|
7800
7799
|
case lp:
|
|
7801
|
-
case up:
|
|
7802
7800
|
return new r(+t);
|
|
7801
|
+
case gp:
|
|
7802
|
+
return rp(t, n);
|
|
7803
7803
|
case mp:
|
|
7804
|
-
return op(t, n);
|
|
7805
7804
|
case _p:
|
|
7806
7805
|
case Cp:
|
|
7807
7806
|
case yp:
|
|
@@ -7810,22 +7809,21 @@ function Dp(t, e, n) {
|
|
|
7810
7809
|
case Ap:
|
|
7811
7810
|
case Ep:
|
|
7812
7811
|
case kp:
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
case dp:
|
|
7812
|
+
return ip(t, n);
|
|
7813
|
+
case up:
|
|
7816
7814
|
return new r();
|
|
7817
|
-
case
|
|
7818
|
-
case
|
|
7815
|
+
case dp:
|
|
7816
|
+
case hp:
|
|
7819
7817
|
return new r(t);
|
|
7818
|
+
case fp:
|
|
7819
|
+
return ap(t);
|
|
7820
7820
|
case pp:
|
|
7821
|
-
return sp(t);
|
|
7822
|
-
case hp:
|
|
7823
7821
|
return new r();
|
|
7824
|
-
case
|
|
7825
|
-
return
|
|
7822
|
+
case xp:
|
|
7823
|
+
return sp(t);
|
|
7826
7824
|
}
|
|
7827
7825
|
}
|
|
7828
|
-
var ts = Object.create,
|
|
7826
|
+
var ts = Object.create, Dp = /* @__PURE__ */ function() {
|
|
7829
7827
|
function t() {
|
|
7830
7828
|
}
|
|
7831
7829
|
return function(e) {
|
|
@@ -7838,60 +7836,60 @@ var ts = Object.create, Sp = /* @__PURE__ */ function() {
|
|
|
7838
7836
|
return t.prototype = void 0, n;
|
|
7839
7837
|
};
|
|
7840
7838
|
}();
|
|
7841
|
-
function
|
|
7842
|
-
return typeof t.constructor == "function" && !co(t) ?
|
|
7839
|
+
function Sp(t) {
|
|
7840
|
+
return typeof t.constructor == "function" && !co(t) ? Dp(_i(t)) : {};
|
|
7843
7841
|
}
|
|
7844
|
-
var
|
|
7845
|
-
function
|
|
7846
|
-
return mn(t) && nt(t) ==
|
|
7842
|
+
var Ip = "[object Map]";
|
|
7843
|
+
function Fp(t) {
|
|
7844
|
+
return mn(t) && nt(t) == Ip;
|
|
7847
7845
|
}
|
|
7848
|
-
var ns = jt && jt.isMap,
|
|
7849
|
-
function
|
|
7850
|
-
return mn(t) && nt(t) ==
|
|
7846
|
+
var ns = jt && jt.isMap, Tp = ns ? io(ns) : Fp, Pp = "[object Set]";
|
|
7847
|
+
function Rp(t) {
|
|
7848
|
+
return mn(t) && nt(t) == Pp;
|
|
7851
7849
|
}
|
|
7852
|
-
var rs = jt && jt.isSet,
|
|
7853
|
-
fe[bi] = fe[
|
|
7854
|
-
fe[
|
|
7850
|
+
var rs = jt && jt.isSet, Lp = rs ? io(rs) : Rp, $p = 1, Mp = 2, Op = 4, bi = "[object Arguments]", Np = "[object Array]", zp = "[object Boolean]", jp = "[object Date]", Hp = "[object Error]", wi = "[object Function]", Up = "[object GeneratorFunction]", qp = "[object Map]", Wp = "[object Number]", Ai = "[object Object]", Vp = "[object RegExp]", Kp = "[object Set]", Gp = "[object String]", Xp = "[object Symbol]", Qp = "[object WeakMap]", Yp = "[object ArrayBuffer]", Jp = "[object DataView]", Zp = "[object Float32Array]", eh = "[object Float64Array]", th = "[object Int8Array]", nh = "[object Int16Array]", rh = "[object Int32Array]", oh = "[object Uint8Array]", ah = "[object Uint8ClampedArray]", sh = "[object Uint16Array]", ih = "[object Uint32Array]", fe = {};
|
|
7851
|
+
fe[bi] = fe[Np] = fe[Yp] = fe[Jp] = fe[zp] = fe[jp] = fe[Zp] = fe[eh] = fe[th] = fe[nh] = fe[rh] = fe[qp] = fe[Wp] = fe[Ai] = fe[Vp] = fe[Kp] = fe[Gp] = fe[Xp] = fe[oh] = fe[ah] = fe[sh] = fe[ih] = !0;
|
|
7852
|
+
fe[Hp] = fe[wi] = fe[Qp] = !1;
|
|
7855
7853
|
function Bn(t, e, n, r, o, a) {
|
|
7856
|
-
var i, c = e &
|
|
7854
|
+
var i, c = e & $p, l = e & Mp, s = e & Op;
|
|
7857
7855
|
if (i !== void 0)
|
|
7858
7856
|
return i;
|
|
7859
7857
|
if (!gn(t))
|
|
7860
7858
|
return t;
|
|
7861
7859
|
var u = so(t);
|
|
7862
7860
|
if (u) {
|
|
7863
|
-
if (i =
|
|
7864
|
-
return
|
|
7861
|
+
if (i = np(t), !c)
|
|
7862
|
+
return Nf(t, i);
|
|
7865
7863
|
} else {
|
|
7866
|
-
var _ = nt(t), d = _ == wi || _ ==
|
|
7864
|
+
var _ = nt(t), d = _ == wi || _ == Up;
|
|
7867
7865
|
if (ui(t))
|
|
7868
|
-
return
|
|
7866
|
+
return Of(t, c);
|
|
7869
7867
|
if (_ == Ai || _ == bi || d && !o) {
|
|
7870
|
-
if (i = l || d ? {} :
|
|
7871
|
-
return l ?
|
|
7868
|
+
if (i = l || d ? {} : Sp(t), !c)
|
|
7869
|
+
return l ? Wf(t, $f(i, t)) : Uf(t, Ff(i, t));
|
|
7872
7870
|
} else {
|
|
7873
7871
|
if (!fe[_])
|
|
7874
7872
|
return o ? t : {};
|
|
7875
|
-
i =
|
|
7873
|
+
i = Bp(t, _, c);
|
|
7876
7874
|
}
|
|
7877
7875
|
}
|
|
7878
7876
|
a || (a = new Vt());
|
|
7879
7877
|
var f = a.get(t);
|
|
7880
7878
|
if (f)
|
|
7881
7879
|
return f;
|
|
7882
|
-
a.set(t, i),
|
|
7880
|
+
a.set(t, i), Lp(t) ? t.forEach(function(x) {
|
|
7883
7881
|
i.add(Bn(x, e, n, x, t, a));
|
|
7884
|
-
}) :
|
|
7882
|
+
}) : Tp(t) && t.forEach(function(x, m) {
|
|
7885
7883
|
i.set(m, Bn(x, e, n, m, t, a));
|
|
7886
7884
|
});
|
|
7887
|
-
var p = s ? l ?
|
|
7888
|
-
return
|
|
7885
|
+
var p = s ? l ? Kf : Vf : l ? uo : lo, v = u ? void 0 : p(t);
|
|
7886
|
+
return Ld(v || t, function(x, m) {
|
|
7889
7887
|
v && (m = x, x = t[m]), ii(i, m, Bn(x, e, n, m, t, a));
|
|
7890
7888
|
}), i;
|
|
7891
7889
|
}
|
|
7892
|
-
var
|
|
7890
|
+
var ch = 1, lh = 4;
|
|
7893
7891
|
function Fn(t) {
|
|
7894
|
-
return Bn(t,
|
|
7892
|
+
return Bn(t, ch | lh);
|
|
7895
7893
|
}
|
|
7896
7894
|
const Tn = (t, e = "") => {
|
|
7897
7895
|
for (let n of t)
|
|
@@ -7912,7 +7910,7 @@ const Tn = (t, e = "") => {
|
|
|
7912
7910
|
}
|
|
7913
7911
|
}
|
|
7914
7912
|
return null;
|
|
7915
|
-
},
|
|
7913
|
+
}, uh = (t, e) => {
|
|
7916
7914
|
let n;
|
|
7917
7915
|
const r = t.findIndex((i) => i.code === e);
|
|
7918
7916
|
if (r === -1) return { index: r, target: n };
|
|
@@ -7920,19 +7918,19 @@ const Tn = (t, e = "") => {
|
|
|
7920
7918
|
return a.length && (n = a[0]), n || o.length && (n = o[o.length - 1]), { index: r, target: n };
|
|
7921
7919
|
}, os = (t) => {
|
|
7922
7920
|
const e = ge().subAppList ?? [];
|
|
7923
|
-
let { index: n, target: r } =
|
|
7921
|
+
let { index: n, target: r } = uh(e, t);
|
|
7924
7922
|
return e.splice(n, 1), e.length ? lt([{ key: "subAppList", value: e }]) : ro(), He([
|
|
7925
7923
|
{ key: "currentCode", value: "" },
|
|
7926
7924
|
{ key: "currentTab", value: {} },
|
|
7927
7925
|
{ key: `preTab:${t}`, value: {} },
|
|
7928
7926
|
{ key: `tabMap:${t}`, value: [] }
|
|
7929
7927
|
]), r || (r = { fixed: !0, path: ot }), { currentApp: r };
|
|
7930
|
-
},
|
|
7928
|
+
}, dh = (t, e) => {
|
|
7931
7929
|
const n = t.findIndex((a) => a.code === e), r = t.slice(0, n), o = t.slice(n + 1);
|
|
7932
7930
|
return { left: r, right: o };
|
|
7933
|
-
},
|
|
7931
|
+
}, fh = (t, e, n) => {
|
|
7934
7932
|
var _;
|
|
7935
|
-
const r = Ve(e).filter((d) => d.routeUrl).filter((d) => !(d != null && d.disable) && !(d != null && d.expired)), a = (((_ = Le()) == null ? void 0 : _.tabMap) ?? {})[t] ?? [], { left: i, right: c } =
|
|
7933
|
+
const r = Ve(e).filter((d) => d.routeUrl).filter((d) => !(d != null && d.disable) && !(d != null && d.expired)), a = (((_ = Le()) == null ? void 0 : _.tabMap) ?? {})[t] ?? [], { left: i, right: c } = dh(a, n), l = a.filter((d) => r.find((f) => f.code === d.code)).map((d) => {
|
|
7936
7934
|
var f;
|
|
7937
7935
|
return {
|
|
7938
7936
|
...d,
|
|
@@ -7974,21 +7972,21 @@ const Tn = (t, e = "") => {
|
|
|
7974
7972
|
{ key: `tabMap:${t}`, value: [] }
|
|
7975
7973
|
]), os(t));
|
|
7976
7974
|
}, ho = async (t) => {
|
|
7977
|
-
const [e, n] = await
|
|
7975
|
+
const [e, n] = await Tu().run({
|
|
7978
7976
|
code: t,
|
|
7979
7977
|
showBtn: !0,
|
|
7980
7978
|
userType: 1
|
|
7981
7979
|
});
|
|
7982
7980
|
if (e || !n || !n.length) return { menus: [], originalMenus: [], err: e };
|
|
7983
|
-
|
|
7981
|
+
yl(n, t);
|
|
7984
7982
|
const r = Ve(n);
|
|
7985
|
-
|
|
7983
|
+
wl(r, t), El(r, t);
|
|
7986
7984
|
let o = h0(n, (i) => i.isMenu);
|
|
7987
7985
|
const a = Fn(o);
|
|
7988
7986
|
return o.forEach((i) => {
|
|
7989
7987
|
i != null && i.children && i.children.length && (i.originalChildren = Fn(i.children)), (i != null && i.expired || i != null && i.disable) && (i.children = []);
|
|
7990
7988
|
}), { menus: o, originalMenus: a };
|
|
7991
|
-
},
|
|
7989
|
+
}, ph = async (t) => {
|
|
7992
7990
|
var d, f, p, v, x;
|
|
7993
7991
|
let { microApp: e = null, menuCode: n = "", menuPath: r = "", route: o = {} } = t;
|
|
7994
7992
|
const a = ((d = o.meta) == null ? void 0 : d.showLayout) ?? !0;
|
|
@@ -8043,7 +8041,7 @@ const Tn = (t, e = "") => {
|
|
|
8043
8041
|
if (!_) {
|
|
8044
8042
|
if (!a || !i)
|
|
8045
8043
|
return { menuConfig: l, currentApp: null, currentMenu: null, query: { ...o.query, app: c } };
|
|
8046
|
-
const m =
|
|
8044
|
+
const m = fh(e.code, l, n);
|
|
8047
8045
|
m != null && m.currentApp && (e = m.currentApp), m != null && m.currentMenu && (_ = m.currentMenu), m != null && m.currentTab && (o.query = ((x = m.currentTab) == null ? void 0 : x.query) ?? {});
|
|
8048
8046
|
}
|
|
8049
8047
|
if ((e == null ? void 0 : e.routeUrl) === ot)
|
|
@@ -8092,17 +8090,17 @@ const Tn = (t, e = "") => {
|
|
|
8092
8090
|
return { menuConfig: l, currentApp: e, currentMenu: _, query: g, microPath: h };
|
|
8093
8091
|
}
|
|
8094
8092
|
return { menuConfig: l, currentApp: e, currentMenu: null, query: { ...o.query, app: c } };
|
|
8095
|
-
},
|
|
8096
|
-
|
|
8093
|
+
}, hh = "v1", xh = Rn.get("/visitor/login/with-default", (t) => (t.public = !0, t)), vh = Rn.get("/visitor/appearance/with-default", (t) => (t.public = !0, t)), gh = Rn.get("platform/appearance/withdefault"), mh = pt(`/api/portal/manager/${hh}`);
|
|
8094
|
+
mh.get("/basics/home/info");
|
|
8097
8095
|
Es.get("/language");
|
|
8098
8096
|
Es.get("/menu/personal-setting");
|
|
8099
|
-
const
|
|
8100
|
-
const [t, e] = await
|
|
8097
|
+
const _h = async () => {
|
|
8098
|
+
const [t, e] = await xh().run();
|
|
8101
8099
|
return t ? { loginConfig: null } : { loginConfig: e };
|
|
8102
|
-
},
|
|
8103
|
-
const t = ft() ?
|
|
8100
|
+
}, Ch = async () => {
|
|
8101
|
+
const t = ft() ? gh : vh, [e, n] = await t().run();
|
|
8104
8102
|
return e ? { platformConfig: null } : { platformConfig: n };
|
|
8105
|
-
},
|
|
8103
|
+
}, yh = L(null), Ei = L({ style: 1, skinStyle: "default" }), bh = () => L(null), wh = { class: "iframe-container" }, Ah = ["src"], Eh = /* @__PURE__ */ xe({
|
|
8106
8104
|
__name: "index",
|
|
8107
8105
|
props: {
|
|
8108
8106
|
src: { default: "" }
|
|
@@ -8123,7 +8121,7 @@ const Ch = async () => {
|
|
|
8123
8121
|
};
|
|
8124
8122
|
return pn(() => {
|
|
8125
8123
|
r.value = !1;
|
|
8126
|
-
}), (i, c) => (N(), ce("div",
|
|
8124
|
+
}), (i, c) => (N(), ce("div", wh, [
|
|
8127
8125
|
i.src ? (N(), re(D(Jr), {
|
|
8128
8126
|
key: 0,
|
|
8129
8127
|
spinning: !r.value
|
|
@@ -8137,7 +8135,7 @@ const Ch = async () => {
|
|
|
8137
8135
|
height: "100%",
|
|
8138
8136
|
src: i.src,
|
|
8139
8137
|
onLoad: a
|
|
8140
|
-
}, null, 40,
|
|
8138
|
+
}, null, 40, Ah), [
|
|
8141
8139
|
[We, r.value]
|
|
8142
8140
|
])
|
|
8143
8141
|
]),
|
|
@@ -8146,12 +8144,12 @@ const Ch = async () => {
|
|
|
8146
8144
|
}, 8, ["spinning"])) : Q("v-if", !0)
|
|
8147
8145
|
]));
|
|
8148
8146
|
}
|
|
8149
|
-
}), Vr = /* @__PURE__ */ Ne(
|
|
8147
|
+
}), Vr = /* @__PURE__ */ Ne(Eh, [["__scopeId", "data-v-d0f25bba"]]), kh = Qr.get("/login/history"), Bh = () => {
|
|
8150
8148
|
const t = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((l) => new RegExp(`^${l}$`, "i").test(location.pathname)), e = (i) => {
|
|
8151
8149
|
const { browserLogoImgHost: c = "", browserLogoImg: l = "" } = i || {}, s = l ? c + b0(l) : "./logo.svg";
|
|
8152
|
-
|
|
8150
|
+
_l(s), v0(s);
|
|
8153
8151
|
}, n = async () => {
|
|
8154
|
-
const [i, c] = await
|
|
8152
|
+
const [i, c] = await kh().run({ userId: bs().id });
|
|
8155
8153
|
i || !c || JSON.stringify(c) === "{}" || (Dn.open({
|
|
8156
8154
|
key: "loginTip",
|
|
8157
8155
|
message: ie("上次登录信息"),
|
|
@@ -8166,7 +8164,7 @@ const Ch = async () => {
|
|
|
8166
8164
|
])
|
|
8167
8165
|
}), sessionStorage.setItem("loginInfoTip", "true"));
|
|
8168
8166
|
}, r = async () => {
|
|
8169
|
-
const [{ loginConfig: i }, { platformConfig: c }] = await Promise.all([
|
|
8167
|
+
const [{ loginConfig: i }, { platformConfig: c }] = await Promise.all([_h(), Ch()]);
|
|
8170
8168
|
e(c), c != null && c.browserTitle && localStorage.setItem("browser-title", c.browserTitle || "AIoT智能物联网管控平台"), x0(), !t() && i != null && i.loginInfoTip && !sessionStorage.getItem("loginInfoTip") && n();
|
|
8171
8169
|
}, o = L(!1), a = () => new Promise((i) => {
|
|
8172
8170
|
const c = () => {
|
|
@@ -8177,15 +8175,15 @@ const Ch = async () => {
|
|
|
8177
8175
|
});
|
|
8178
8176
|
return dt(async () => {
|
|
8179
8177
|
if (await r(), t()) return;
|
|
8180
|
-
await
|
|
8178
|
+
await Iu(), await Fu();
|
|
8181
8179
|
const i = ft();
|
|
8182
8180
|
ws({ accessToken: i }), o.value = !0;
|
|
8183
8181
|
}), {
|
|
8184
8182
|
platformInited: o,
|
|
8185
8183
|
initNextTick: a
|
|
8186
8184
|
};
|
|
8187
|
-
},
|
|
8188
|
-
const [e, n] = await
|
|
8185
|
+
}, Dh = eo.get("/data/menu-expiration"), ki = async (t) => {
|
|
8186
|
+
const [e, n] = await Dh().run();
|
|
8189
8187
|
if (e) return { title: "", content: "", decs: [] };
|
|
8190
8188
|
const r = (t == null ? void 0 : t.expired) ?? !1;
|
|
8191
8189
|
return {
|
|
@@ -8193,7 +8191,7 @@ const Ch = async () => {
|
|
|
8193
8191
|
content: r ? n.menuExpirationExpiredContent : n.menuExpirationRetrieveContent,
|
|
8194
8192
|
desc: n.menuExpirationExpiredInfo
|
|
8195
8193
|
};
|
|
8196
|
-
},
|
|
8194
|
+
}, Sh = () => {
|
|
8197
8195
|
const { entryMenu: t } = zn();
|
|
8198
8196
|
ee.menu.addEventListener("onItemClick", async (e) => {
|
|
8199
8197
|
var a;
|
|
@@ -8212,12 +8210,12 @@ const Ch = async () => {
|
|
|
8212
8210
|
let r = ge().menuCollapses || [];
|
|
8213
8211
|
e ? r = Array.from(/* @__PURE__ */ new Set([...r, n])) : r = r.filter((o) => o !== n), lt([{ key: "menuCollapses", value: r }]);
|
|
8214
8212
|
});
|
|
8215
|
-
},
|
|
8213
|
+
}, Ih = () => {
|
|
8216
8214
|
const { changeApp: t, deleteApp: e, beforeEntryApp: n } = _n();
|
|
8217
8215
|
ee.nav.addEventListener("onItemClick", async (o) => {
|
|
8218
8216
|
const a = ge().currentSubAppCode ?? "";
|
|
8219
8217
|
if (a !== o.code) {
|
|
8220
|
-
if (a &&
|
|
8218
|
+
if (a && Sl(a), !o.fixed && !await n(o))
|
|
8221
8219
|
throw new Error(ie("取消切换"));
|
|
8222
8220
|
t(o);
|
|
8223
8221
|
}
|
|
@@ -8230,7 +8228,7 @@ const Ch = async () => {
|
|
|
8230
8228
|
});
|
|
8231
8229
|
const { enter: r } = qt();
|
|
8232
8230
|
return ee.nav.addEventListener("fullScreenHandle", r), {};
|
|
8233
|
-
},
|
|
8231
|
+
}, Fh = () => {
|
|
8234
8232
|
const t = hn(), e = L(""), n = L(""), r = L("");
|
|
8235
8233
|
let o = "", a = {};
|
|
8236
8234
|
he(
|
|
@@ -8411,7 +8409,7 @@ const Ch = async () => {
|
|
|
8411
8409
|
currentMenu: w = null,
|
|
8412
8410
|
microPath: B = "",
|
|
8413
8411
|
query: y = {}
|
|
8414
|
-
} = await
|
|
8412
|
+
} = await ph({ microApp: f, menuCode: p, menuPath: v, route: m });
|
|
8415
8413
|
if (w && (m = {
|
|
8416
8414
|
path: B || `/${w.applicationPath}${w.routeUrl}`.replace(/\/\//g, "/"),
|
|
8417
8415
|
query: { ...y, app: w.applicationCode, menu: w.code },
|
|
@@ -8600,8 +8598,8 @@ const Ch = async () => {
|
|
|
8600
8598
|
ke.excludeRoutes = Array.from(/* @__PURE__ */ new Set([...ke.excludeRoutes, ...n])), ke.routeKeepAliveVisible = !1, setTimeout(() => {
|
|
8601
8599
|
ke.excludeRoutes = [], ke.routeKeepAliveVisible = !0;
|
|
8602
8600
|
}, 100);
|
|
8603
|
-
} }),
|
|
8604
|
-
const t = I0(), e =
|
|
8601
|
+
} }), Th = () => {
|
|
8602
|
+
const t = I0(), e = bh(), n = At(), r = async () => {
|
|
8605
8603
|
const i = {
|
|
8606
8604
|
logout: "/api/justauth/oauth-server/v1/visitor/logout"
|
|
8607
8605
|
}, c = location.origin + sn, l = {
|
|
@@ -8639,7 +8637,7 @@ const Ch = async () => {
|
|
|
8639
8637
|
$changePwd: t,
|
|
8640
8638
|
$personSetDialog: e
|
|
8641
8639
|
};
|
|
8642
|
-
},
|
|
8640
|
+
}, Ph = As.get("/convert/tenant"), Rh = Qr.get("/platform/withdefault"), Bi = () => {
|
|
8643
8641
|
const t = At(), e = L(!1), n = L(""), r = L(""), o = () => {
|
|
8644
8642
|
n.value = Xr().id, r.value = bs().tenantId, e.value = !0;
|
|
8645
8643
|
};
|
|
@@ -8647,14 +8645,14 @@ const Ch = async () => {
|
|
|
8647
8645
|
o();
|
|
8648
8646
|
});
|
|
8649
8647
|
const a = () => {
|
|
8650
|
-
|
|
8648
|
+
Dl(), Cl(), window.__isAutoCloseApp = !1, location.pathname !== ot && location.pathname !== sn ? window.location.replace(location.origin + ot) : window.location.reload();
|
|
8651
8649
|
};
|
|
8652
8650
|
return {
|
|
8653
8651
|
changeEnterprisesVisible: e,
|
|
8654
8652
|
userId: n,
|
|
8655
8653
|
tenantId: r,
|
|
8656
8654
|
changeEnterprise: async (c) => {
|
|
8657
|
-
const [l, s] = await
|
|
8655
|
+
const [l, s] = await Ph().run({ tenant: c });
|
|
8658
8656
|
if (l) return;
|
|
8659
8657
|
e.value = !1;
|
|
8660
8658
|
const { access_token: u = "", refresh_token: _ = "", expires_in: d = 0, sub: f = "", name: p = "", flag: v = "", tenant: x = "" } = s, m = {
|
|
@@ -8675,7 +8673,7 @@ const Ch = async () => {
|
|
|
8675
8673
|
if (t != null && t.ssoLocale)
|
|
8676
8674
|
g = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${c}`;
|
|
8677
8675
|
else {
|
|
8678
|
-
const [C, E] = await
|
|
8676
|
+
const [C, E] = await Rh().run();
|
|
8679
8677
|
E != null && E.loginHost && (g = `${E.loginHost}/oauth/refreshOauthToken?tenantId=${c}`);
|
|
8680
8678
|
}
|
|
8681
8679
|
if (g) {
|
|
@@ -8685,7 +8683,7 @@ const Ch = async () => {
|
|
|
8685
8683
|
a();
|
|
8686
8684
|
}
|
|
8687
8685
|
};
|
|
8688
|
-
},
|
|
8686
|
+
}, Lh = () => {
|
|
8689
8687
|
const { changeEnterprise: t } = Bi();
|
|
8690
8688
|
ee.nav.addEventListener("onProjectChange", async (e) => {
|
|
8691
8689
|
const n = ys();
|
|
@@ -8695,7 +8693,7 @@ const Ch = async () => {
|
|
|
8695
8693
|
}
|
|
8696
8694
|
w0((e == null ? void 0 : e.id) || 0), (n == null ? void 0 : n.flag) !== 4 && (window.__isAutoCloseApp = !1, window.location.reload());
|
|
8697
8695
|
});
|
|
8698
|
-
},
|
|
8696
|
+
}, $h = () => {
|
|
8699
8697
|
const t = L(), { entryApp: e } = _n();
|
|
8700
8698
|
return ee.nav.addEventListener("openAI", () => {
|
|
8701
8699
|
var r;
|
|
@@ -8717,12 +8715,12 @@ const Ch = async () => {
|
|
|
8717
8715
|
innerSet: !1,
|
|
8718
8716
|
excludeRoutes: [],
|
|
8719
8717
|
routeKeepAliveVisible: !0
|
|
8720
|
-
}),
|
|
8721
|
-
const [t, e] = await
|
|
8722
|
-
return
|
|
8718
|
+
}), Mh = async () => {
|
|
8719
|
+
const [t, e] = await Pu().run(), n = { instanceInfo: e ?? null };
|
|
8720
|
+
return Bl(n), n;
|
|
8723
8721
|
};
|
|
8724
8722
|
Is("container");
|
|
8725
|
-
const
|
|
8723
|
+
const Oh = (t) => {
|
|
8726
8724
|
const { microAppBus: e } = t, n = "/iot/iot/deviceInstance", r = "/iot/iot/statisticalReport", o = (i) => {
|
|
8727
8725
|
const { menuName: c = "实例" } = i || {};
|
|
8728
8726
|
e.cors.send("customEventFromMicro", {
|
|
@@ -8743,7 +8741,7 @@ const Nh = (t) => {
|
|
|
8743
8741
|
}, a = async (i) => {
|
|
8744
8742
|
const { toPath: c = "", params: l = {} } = i || {};
|
|
8745
8743
|
let s = "实例", u = !1;
|
|
8746
|
-
const { instanceInfo: _ } = await
|
|
8744
|
+
const { instanceInfo: _ } = await Mh();
|
|
8747
8745
|
if (_) {
|
|
8748
8746
|
const v = m0(_.endTime) || _.endTime == 0 || _.endTime === 253370736e6 || _.endTime === "253370736000000" ? "-" : Number(_.endTime);
|
|
8749
8747
|
u = Or().endOf("day") > Or(v).endOf("day"), u || (s = _.instanceName ?? "实例");
|
|
@@ -8762,7 +8760,7 @@ const Nh = (t) => {
|
|
|
8762
8760
|
path: r
|
|
8763
8761
|
});
|
|
8764
8762
|
}), { routerBeforEnter: a };
|
|
8765
|
-
}, Kr = Is("microApp"), { routerBeforEnter:
|
|
8763
|
+
}, Kr = Is("microApp"), { routerBeforEnter: Nh } = Oh({ microAppBus: Kr }), zh = () => {
|
|
8766
8764
|
const { unloadRoute: t } = xo();
|
|
8767
8765
|
Kr.event.on("unmountPage", (e) => {
|
|
8768
8766
|
var r;
|
|
@@ -8771,14 +8769,14 @@ const Nh = (t) => {
|
|
|
8771
8769
|
}), Kr.event.on("beforeEnter", async (e) => {
|
|
8772
8770
|
const n = String((e == null ? void 0 : e.toPath) || "").trim().split("?")[0].split("#")[0];
|
|
8773
8771
|
try {
|
|
8774
|
-
n && n.startsWith("/iot/iot") &&
|
|
8772
|
+
n && n.startsWith("/iot/iot") && Nh({ toPath: n, params: e });
|
|
8775
8773
|
} catch {
|
|
8776
8774
|
}
|
|
8777
8775
|
});
|
|
8778
|
-
},
|
|
8776
|
+
}, jh = () => {
|
|
8779
8777
|
Fe.addEventListenerFromMicroApp("iot:change-instance", (t) => {
|
|
8780
8778
|
});
|
|
8781
|
-
},
|
|
8779
|
+
}, Hh = () => {
|
|
8782
8780
|
Fe.addEventListenerFromMicroApp("devicePanelShow", (t) => {
|
|
8783
8781
|
const { deviceId: e = "", panelCode: n = "", deviceName: r = "", x: o = 0, y: a = 0, isCenter: i = !1 } = t.data;
|
|
8784
8782
|
Fs(e, n, r, o, a, i);
|
|
@@ -8790,7 +8788,7 @@ const Nh = (t) => {
|
|
|
8790
8788
|
}), Fe.addEventListenerFromMicroApp("closeAlarmPanel", (t) => {
|
|
8791
8789
|
R0();
|
|
8792
8790
|
});
|
|
8793
|
-
},
|
|
8791
|
+
}, Uh = Rn.get("/platform/login/pwd-advance-notify-check"), qh = () => {
|
|
8794
8792
|
const t = L([]), e = L(null), n = L([]), { entryApp: r } = Sn.hooks.useEntryApp(), o = () => {
|
|
8795
8793
|
var l;
|
|
8796
8794
|
const c = (((l = ge().appcategorys) == null ? void 0 : l.map((s) => s.apps).flat()) ?? []).find((s) => s.code === "messagecenter");
|
|
@@ -8800,7 +8798,7 @@ const Nh = (t) => {
|
|
|
8800
8798
|
url: "/api/messagecenter/message/v1/innersend",
|
|
8801
8799
|
reconnectWhenClose: !0,
|
|
8802
8800
|
opened: async () => {
|
|
8803
|
-
await
|
|
8801
|
+
await Uh().run();
|
|
8804
8802
|
},
|
|
8805
8803
|
message: async (i) => {
|
|
8806
8804
|
if (Fe.sendMessageToMicroApp("enterpriseadmin/messagecenter", "message-notify:message", { msgList: i }), window.self !== window.top) return;
|
|
@@ -8843,8 +8841,8 @@ const Nh = (t) => {
|
|
|
8843
8841
|
}), pn(() => {
|
|
8844
8842
|
e.value && e.value.disconnect(), e.value = null;
|
|
8845
8843
|
});
|
|
8846
|
-
},
|
|
8847
|
-
function
|
|
8844
|
+
}, Wh = "v1", Vh = Ut(`/api/enterpriseright/permission/${Wh}`), Di = Ut("/api/device-relation/deviceproject/v1/project/device/video", Gh), Kh = eo.get("/permissionset/user-portal-menu");
|
|
8845
|
+
function Gh(t) {
|
|
8848
8846
|
const e = ut() ? ut().id : 1;
|
|
8849
8847
|
return t.params || (t.params = {}), t.params.project = e, t.params.projectId = e, t;
|
|
8850
8848
|
}
|
|
@@ -8857,10 +8855,10 @@ function Si(t) {
|
|
|
8857
8855
|
function as(t) {
|
|
8858
8856
|
return Di.post(`/ptz?${Si(t)}`)().run();
|
|
8859
8857
|
}
|
|
8860
|
-
function
|
|
8858
|
+
function Xh(t) {
|
|
8861
8859
|
return Di.post(`/url/preview?${Si(t)}`)().run();
|
|
8862
8860
|
}
|
|
8863
|
-
const
|
|
8861
|
+
const Qh = Vh.post("data/device-auth"), Yh = /* @__PURE__ */ xe({
|
|
8864
8862
|
__name: "GridItem",
|
|
8865
8863
|
props: {
|
|
8866
8864
|
active: { type: Boolean },
|
|
@@ -8894,7 +8892,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
8894
8892
|
/* CLASS, NEED_HYDRATION */
|
|
8895
8893
|
));
|
|
8896
8894
|
}
|
|
8897
|
-
}),
|
|
8895
|
+
}), Jh = /* @__PURE__ */ Ne(Yh, [["__scopeId", "data-v-68946aef"]]), Zh = { class: "layout-wrapper" }, ex = /* @__PURE__ */ xe({
|
|
8898
8896
|
__name: "GridLayout",
|
|
8899
8897
|
props: {
|
|
8900
8898
|
gridNum: {},
|
|
@@ -8906,12 +8904,12 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
8906
8904
|
const n = t, r = e, o = (a) => {
|
|
8907
8905
|
r("update:activeIndex", a);
|
|
8908
8906
|
};
|
|
8909
|
-
return (a, i) => (N(), ce("div",
|
|
8907
|
+
return (a, i) => (N(), ce("div", Zh, [
|
|
8910
8908
|
Q(' :active="index === activeIndex" '),
|
|
8911
8909
|
(N(!0), ce(
|
|
8912
8910
|
Ye,
|
|
8913
8911
|
null,
|
|
8914
|
-
Nt(n.gridNum, (c, l) => (N(), re(
|
|
8912
|
+
Nt(n.gridNum, (c, l) => (N(), re(Jh, {
|
|
8915
8913
|
active: !1,
|
|
8916
8914
|
"grid-num": n.gridNum,
|
|
8917
8915
|
onItemClick: (s) => o(l)
|
|
@@ -8930,7 +8928,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
8930
8928
|
))
|
|
8931
8929
|
]));
|
|
8932
8930
|
}
|
|
8933
|
-
}),
|
|
8931
|
+
}), tx = /* @__PURE__ */ Ne(ex, [["__scopeId", "data-v-22baf4d8"]]), nx = /* @__PURE__ */ xe({
|
|
8934
8932
|
__name: "DirectionControl",
|
|
8935
8933
|
emits: ["change"],
|
|
8936
8934
|
setup(t, { emit: e }) {
|
|
@@ -9057,10 +9055,10 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9057
9055
|
/* NEED_HYDRATION */
|
|
9058
9056
|
));
|
|
9059
9057
|
}
|
|
9060
|
-
}),
|
|
9058
|
+
}), rx = /* @__PURE__ */ Ne(nx, [["__scopeId", "data-v-83a64a40"]]), ox = { class: "video-wrapper" }, ax = { class: "video-top" }, sx = { class: "video-top_l" }, ix = { class: "video-title-wrapper" }, cx = { class: "video-title" }, lx = { class: "video-top_r" }, ux = {
|
|
9061
9059
|
key: 0,
|
|
9062
9060
|
class: "play-status"
|
|
9063
|
-
},
|
|
9061
|
+
}, dx = { class: "video-bottom" }, fx = { class: "video-bottom_r" }, px = /* @__PURE__ */ xe({
|
|
9064
9062
|
__name: "index",
|
|
9065
9063
|
props: {
|
|
9066
9064
|
videoUrl: {},
|
|
@@ -9150,29 +9148,29 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9150
9148
|
u.value = !0;
|
|
9151
9149
|
});
|
|
9152
9150
|
}
|
|
9153
|
-
), (g, C) => (N(), ce("div",
|
|
9151
|
+
), (g, C) => (N(), ce("div", ox, [
|
|
9154
9152
|
Y(D(Jr), {
|
|
9155
9153
|
spinning: n.loading,
|
|
9156
9154
|
type: "component",
|
|
9157
9155
|
tip: "加载中..."
|
|
9158
9156
|
}, {
|
|
9159
9157
|
default: V(() => [
|
|
9160
|
-
q("div",
|
|
9161
|
-
q("div",
|
|
9162
|
-
q("div",
|
|
9158
|
+
q("div", ax, [
|
|
9159
|
+
q("div", sx, [
|
|
9160
|
+
q("div", ix, [
|
|
9163
9161
|
q(
|
|
9164
9162
|
"div",
|
|
9165
|
-
|
|
9163
|
+
cx,
|
|
9166
9164
|
Ce(n.title.length > 20 ? n.title.slice(0, 19) + "..." : n.title),
|
|
9167
9165
|
1
|
|
9168
9166
|
/* TEXT */
|
|
9169
9167
|
)
|
|
9170
9168
|
])
|
|
9171
9169
|
]),
|
|
9172
|
-
q("div",
|
|
9170
|
+
q("div", lx, [
|
|
9173
9171
|
["live"].includes(g.type) ? (N(), ce(
|
|
9174
9172
|
"span",
|
|
9175
|
-
|
|
9173
|
+
ux,
|
|
9176
9174
|
Ce(D(ie)("正在实时预览")),
|
|
9177
9175
|
1
|
|
9178
9176
|
/* TEXT */
|
|
@@ -9189,7 +9187,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9189
9187
|
onLoaded: _,
|
|
9190
9188
|
src: n.videoUrl
|
|
9191
9189
|
}, null, 8, ["muted", "src"])) : Q("v-if", !0),
|
|
9192
|
-
q("div",
|
|
9190
|
+
q("div", dx, [
|
|
9193
9191
|
C[3] || (C[3] = q(
|
|
9194
9192
|
"div",
|
|
9195
9193
|
{ class: "video-bottom_l" },
|
|
@@ -9197,7 +9195,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9197
9195
|
-1
|
|
9198
9196
|
/* CACHED */
|
|
9199
9197
|
)),
|
|
9200
|
-
q("div",
|
|
9198
|
+
q("div", fx, [
|
|
9201
9199
|
q(
|
|
9202
9200
|
"div",
|
|
9203
9201
|
{
|
|
@@ -9282,7 +9280,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9282
9280
|
)
|
|
9283
9281
|
])
|
|
9284
9282
|
]),
|
|
9285
|
-
i.value ? (N(), re(
|
|
9283
|
+
i.value ? (N(), re(rx, {
|
|
9286
9284
|
key: 1,
|
|
9287
9285
|
onChange: x
|
|
9288
9286
|
})) : Q("v-if", !0)
|
|
@@ -9292,7 +9290,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9292
9290
|
}, 8, ["spinning"])
|
|
9293
9291
|
]));
|
|
9294
9292
|
}
|
|
9295
|
-
}),
|
|
9293
|
+
}), hx = /* @__PURE__ */ Ne(px, [["__scopeId", "data-v-30f67b62"]]), xx = /* @__PURE__ */ xe({
|
|
9296
9294
|
props: {
|
|
9297
9295
|
deviceInfo: {
|
|
9298
9296
|
type: Object,
|
|
@@ -9308,7 +9306,7 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9308
9306
|
var u;
|
|
9309
9307
|
if (!((u = n.value) != null && u.deviceId)) return;
|
|
9310
9308
|
r.value = !0;
|
|
9311
|
-
const [l, s] = await
|
|
9309
|
+
const [l, s] = await Xh({
|
|
9312
9310
|
productId: n.value.productId,
|
|
9313
9311
|
deviceId: n.value.deviceId,
|
|
9314
9312
|
source: "strategy"
|
|
@@ -9345,13 +9343,13 @@ const Yh = Kh.post("data/device-auth"), Jh = /* @__PURE__ */ xe({
|
|
|
9345
9343
|
})]);
|
|
9346
9344
|
}
|
|
9347
9345
|
});
|
|
9348
|
-
function
|
|
9346
|
+
function vx(t) {
|
|
9349
9347
|
const e = L(0), n = L(), {
|
|
9350
9348
|
toggle: r,
|
|
9351
9349
|
isFullscreen: o
|
|
9352
9350
|
} = qt(n);
|
|
9353
9351
|
return {
|
|
9354
|
-
render: () => Y(
|
|
9352
|
+
render: () => Y(tx, {
|
|
9355
9353
|
ref: n,
|
|
9356
9354
|
gridNum: t.gridNum,
|
|
9357
9355
|
activeIndex: e.value,
|
|
@@ -9362,7 +9360,7 @@ function gx(t) {
|
|
|
9362
9360
|
index: i
|
|
9363
9361
|
}) => {
|
|
9364
9362
|
const c = t.deviceList[i];
|
|
9365
|
-
return Y(
|
|
9363
|
+
return Y(xx, {
|
|
9366
9364
|
deviceInfo: c
|
|
9367
9365
|
}, {
|
|
9368
9366
|
default: ({
|
|
@@ -9370,7 +9368,7 @@ function gx(t) {
|
|
|
9370
9368
|
onDirectionControl: s,
|
|
9371
9369
|
onZoomControl: u,
|
|
9372
9370
|
loading: _
|
|
9373
|
-
}) => Y(
|
|
9371
|
+
}) => Y(hx, {
|
|
9374
9372
|
type: "live",
|
|
9375
9373
|
loading: _,
|
|
9376
9374
|
videoUrl: l,
|
|
@@ -9385,7 +9383,7 @@ function gx(t) {
|
|
|
9385
9383
|
toggleFullscreen: r
|
|
9386
9384
|
};
|
|
9387
9385
|
}
|
|
9388
|
-
const
|
|
9386
|
+
const gx = /* @__PURE__ */ xe({
|
|
9389
9387
|
__name: "index",
|
|
9390
9388
|
props: {
|
|
9391
9389
|
deviceList: { default: () => [] },
|
|
@@ -9396,7 +9394,7 @@ const mx = /* @__PURE__ */ xe({
|
|
|
9396
9394
|
Ts({
|
|
9397
9395
|
fullscreen2: import("@das-fed/upf-ui/packages/icons/fullscreen-2")
|
|
9398
9396
|
});
|
|
9399
|
-
const e = t, n = L(!0), { render: r, toggleFullscreen: o } =
|
|
9397
|
+
const e = t, n = L(!0), { render: r, toggleFullscreen: o } = vx(e), a = J(() => {
|
|
9400
9398
|
let i = {};
|
|
9401
9399
|
switch (e.gridNum) {
|
|
9402
9400
|
case 1:
|
|
@@ -9454,23 +9452,23 @@ const mx = /* @__PURE__ */ xe({
|
|
|
9454
9452
|
/* STABLE */
|
|
9455
9453
|
}, 8, ["title", "custom-class", "modelValue", "onClosed"]));
|
|
9456
9454
|
}
|
|
9457
|
-
}),
|
|
9455
|
+
}), mx = (t) => {
|
|
9458
9456
|
const { gridNum: e = 4, deviceList: n = [] } = t;
|
|
9459
9457
|
return new Promise((r) => {
|
|
9460
9458
|
let o = document.body.querySelector("#video-dialog-container");
|
|
9461
9459
|
o && (tn(null, o), document.body.removeChild(o)), o = document.createElement("div"), o.setAttribute("id", "video-dialog-container"), document.body.appendChild(o);
|
|
9462
|
-
const i = we(
|
|
9460
|
+
const i = we(gx, { gridNum: e, deviceList: n, closeCallback: () => {
|
|
9463
9461
|
tn(null, o), document.body.removeChild(o), r(null);
|
|
9464
9462
|
} });
|
|
9465
9463
|
tn(i, o);
|
|
9466
9464
|
});
|
|
9467
|
-
},
|
|
9465
|
+
}, _x = () => {
|
|
9468
9466
|
const t = L(4), e = L([]), n = L(null), r = async (a) => {
|
|
9469
|
-
const [i, c] = await
|
|
9467
|
+
const [i, c] = await Qh(a).run();
|
|
9470
9468
|
if (!i)
|
|
9471
9469
|
return c;
|
|
9472
9470
|
}, o = async () => {
|
|
9473
|
-
const a = ut().id, [i, c] = await
|
|
9471
|
+
const a = ut().id, [i, c] = await Kh().run({
|
|
9474
9472
|
code: "strategy",
|
|
9475
9473
|
showBtn: !1
|
|
9476
9474
|
});
|
|
@@ -9496,7 +9494,7 @@ const mx = /* @__PURE__ */ xe({
|
|
|
9496
9494
|
show: !!v
|
|
9497
9495
|
};
|
|
9498
9496
|
});
|
|
9499
|
-
e.value = f.filter((p) => !!p.show), (u = e.value) != null && u.length &&
|
|
9497
|
+
e.value = f.filter((p) => !!p.show), (u = e.value) != null && u.length && mx({ gridNum: t.value, deviceList: e.value });
|
|
9500
9498
|
}
|
|
9501
9499
|
}
|
|
9502
9500
|
}));
|
|
@@ -9543,7 +9541,7 @@ class Qe extends Error {
|
|
|
9543
9541
|
super(e), this.__proto__ = n;
|
|
9544
9542
|
}
|
|
9545
9543
|
}
|
|
9546
|
-
class
|
|
9544
|
+
class Cx extends Error {
|
|
9547
9545
|
/** Constructs a new instance of {@link @microsoft/signalr.UnsupportedTransportError}.
|
|
9548
9546
|
*
|
|
9549
9547
|
* @param {string} message A descriptive error message.
|
|
@@ -9554,7 +9552,7 @@ class yx extends Error {
|
|
|
9554
9552
|
super(e), this.transport = n, this.errorType = "UnsupportedTransportError", this.__proto__ = r;
|
|
9555
9553
|
}
|
|
9556
9554
|
}
|
|
9557
|
-
class
|
|
9555
|
+
class yx extends Error {
|
|
9558
9556
|
/** Constructs a new instance of {@link @microsoft/signalr.DisabledTransportError}.
|
|
9559
9557
|
*
|
|
9560
9558
|
* @param {string} message A descriptive error message.
|
|
@@ -9565,7 +9563,7 @@ class bx extends Error {
|
|
|
9565
9563
|
super(e), this.transport = n, this.errorType = "DisabledTransportError", this.__proto__ = r;
|
|
9566
9564
|
}
|
|
9567
9565
|
}
|
|
9568
|
-
class
|
|
9566
|
+
class bx extends Error {
|
|
9569
9567
|
/** Constructs a new instance of {@link @microsoft/signalr.FailedToStartTransportError}.
|
|
9570
9568
|
*
|
|
9571
9569
|
* @param {string} message A descriptive error message.
|
|
@@ -9586,7 +9584,7 @@ class ss extends Error {
|
|
|
9586
9584
|
super(e), this.errorType = "FailedToNegotiateWithServerError", this.__proto__ = n;
|
|
9587
9585
|
}
|
|
9588
9586
|
}
|
|
9589
|
-
class
|
|
9587
|
+
class wx extends Error {
|
|
9590
9588
|
/** Constructs a new instance of {@link @microsoft/signalr.AggregateErrors}.
|
|
9591
9589
|
*
|
|
9592
9590
|
* @param {string} message A descriptive error message.
|
|
@@ -9647,7 +9645,7 @@ class un {
|
|
|
9647
9645
|
}
|
|
9648
9646
|
}
|
|
9649
9647
|
un.instance = new un();
|
|
9650
|
-
const
|
|
9648
|
+
const Ax = "8.0.7";
|
|
9651
9649
|
class be {
|
|
9652
9650
|
static isRequired(e, n) {
|
|
9653
9651
|
if (e == null)
|
|
@@ -9683,9 +9681,9 @@ class _e {
|
|
|
9683
9681
|
}
|
|
9684
9682
|
function dn(t, e) {
|
|
9685
9683
|
let n = "";
|
|
9686
|
-
return wt(t) ? (n = `Binary data of length ${t.byteLength}`, e && (n += `. Content: '${
|
|
9684
|
+
return wt(t) ? (n = `Binary data of length ${t.byteLength}`, e && (n += `. Content: '${Ex(t)}'`)) : typeof t == "string" && (n = `String data of length ${t.length}`, e && (n += `. Content: '${t}'`)), n;
|
|
9687
9685
|
}
|
|
9688
|
-
function
|
|
9686
|
+
function Ex(t) {
|
|
9689
9687
|
const e = new Uint8Array(t);
|
|
9690
9688
|
let n = "";
|
|
9691
9689
|
return e.forEach((r) => {
|
|
@@ -9709,10 +9707,10 @@ async function Fi(t, e, n, r, o, a) {
|
|
|
9709
9707
|
});
|
|
9710
9708
|
t.log(F.Trace, `(${e} transport) request complete. Response status: ${u.statusCode}.`);
|
|
9711
9709
|
}
|
|
9712
|
-
function
|
|
9710
|
+
function kx(t) {
|
|
9713
9711
|
return t === void 0 ? new Pn(F.Information) : t === null ? un.instance : t.log !== void 0 ? t : new Pn(t);
|
|
9714
9712
|
}
|
|
9715
|
-
class
|
|
9713
|
+
class Bx {
|
|
9716
9714
|
constructor(e, n) {
|
|
9717
9715
|
this._subject = e, this._observer = n;
|
|
9718
9716
|
}
|
|
@@ -9749,14 +9747,14 @@ class Pn {
|
|
|
9749
9747
|
}
|
|
9750
9748
|
function Ht() {
|
|
9751
9749
|
let t = "X-SignalR-User-Agent";
|
|
9752
|
-
return _e.isNode && (t = "User-Agent"), [t,
|
|
9750
|
+
return _e.isNode && (t = "User-Agent"), [t, Dx(Ax, Sx(), Fx(), Ix())];
|
|
9753
9751
|
}
|
|
9754
|
-
function
|
|
9752
|
+
function Dx(t, e, n, r) {
|
|
9755
9753
|
let o = "Microsoft SignalR/";
|
|
9756
9754
|
const a = t.split(".");
|
|
9757
9755
|
return o += `${a[0]}.${a[1]}`, o += ` (${t}; `, e && e !== "" ? o += `${e}; ` : o += "Unknown OS; ", o += `${n}`, r ? o += `; ${r}` : o += "; Unknown Runtime Version", o += ")", o;
|
|
9758
9756
|
}
|
|
9759
|
-
function
|
|
9757
|
+
function Sx() {
|
|
9760
9758
|
if (_e.isNode)
|
|
9761
9759
|
switch (process.platform) {
|
|
9762
9760
|
case "win32":
|
|
@@ -9771,17 +9769,17 @@ function Ix() {
|
|
|
9771
9769
|
else
|
|
9772
9770
|
return "";
|
|
9773
9771
|
}
|
|
9774
|
-
function
|
|
9772
|
+
function Ix() {
|
|
9775
9773
|
if (_e.isNode)
|
|
9776
9774
|
return process.versions.node;
|
|
9777
9775
|
}
|
|
9778
|
-
function
|
|
9776
|
+
function Fx() {
|
|
9779
9777
|
return _e.isNode ? "NodeJS" : "Browser";
|
|
9780
9778
|
}
|
|
9781
9779
|
function Fr(t) {
|
|
9782
9780
|
return t.stack ? t.stack : t.message ? t.message : `${t}`;
|
|
9783
9781
|
}
|
|
9784
|
-
function
|
|
9782
|
+
function Tx() {
|
|
9785
9783
|
if (typeof globalThis < "u")
|
|
9786
9784
|
return globalThis;
|
|
9787
9785
|
if (typeof self < "u")
|
|
@@ -9792,13 +9790,13 @@ function Px() {
|
|
|
9792
9790
|
return global;
|
|
9793
9791
|
throw new Error("could not find global");
|
|
9794
9792
|
}
|
|
9795
|
-
class
|
|
9793
|
+
class Px extends jn {
|
|
9796
9794
|
constructor(e) {
|
|
9797
9795
|
if (super(), this._logger = e, typeof fetch > "u" || _e.isNode) {
|
|
9798
9796
|
const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
9799
9797
|
this._jar = new (n("tough-cookie")).CookieJar(), typeof fetch > "u" ? this._fetchType = n("node-fetch") : this._fetchType = fetch, this._fetchType = n("fetch-cookie")(this._fetchType, this._jar);
|
|
9800
9798
|
} else
|
|
9801
|
-
this._fetchType = fetch.bind(
|
|
9799
|
+
this._fetchType = fetch.bind(Tx());
|
|
9802
9800
|
if (typeof AbortController > "u") {
|
|
9803
9801
|
const n = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
9804
9802
|
this._abortControllerType = n("abort-controller");
|
|
@@ -9877,7 +9875,7 @@ function is(t, e) {
|
|
|
9877
9875
|
}
|
|
9878
9876
|
return n;
|
|
9879
9877
|
}
|
|
9880
|
-
class
|
|
9878
|
+
class Rx extends jn {
|
|
9881
9879
|
constructor(e) {
|
|
9882
9880
|
super(), this._logger = e;
|
|
9883
9881
|
}
|
|
@@ -9901,13 +9899,13 @@ class Lx extends jn {
|
|
|
9901
9899
|
}) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
9902
9900
|
}
|
|
9903
9901
|
}
|
|
9904
|
-
class
|
|
9902
|
+
class Lx extends jn {
|
|
9905
9903
|
/** Creates a new instance of the {@link @microsoft/signalr.DefaultHttpClient}, using the provided {@link @microsoft/signalr.ILogger} to log messages. */
|
|
9906
9904
|
constructor(e) {
|
|
9907
9905
|
if (super(), typeof fetch < "u" || _e.isNode)
|
|
9908
|
-
this._httpClient = new
|
|
9906
|
+
this._httpClient = new Px(e);
|
|
9909
9907
|
else if (typeof XMLHttpRequest < "u")
|
|
9910
|
-
this._httpClient = new
|
|
9908
|
+
this._httpClient = new Rx(e);
|
|
9911
9909
|
else
|
|
9912
9910
|
throw new Error("No usable HttpClient found.");
|
|
9913
9911
|
}
|
|
@@ -9932,7 +9930,7 @@ class Ue {
|
|
|
9932
9930
|
}
|
|
9933
9931
|
Ue.RecordSeparatorCode = 30;
|
|
9934
9932
|
Ue.RecordSeparator = String.fromCharCode(Ue.RecordSeparatorCode);
|
|
9935
|
-
class
|
|
9933
|
+
class $x {
|
|
9936
9934
|
// Handshake request is always JSON
|
|
9937
9935
|
writeHandshakeRequest(e) {
|
|
9938
9936
|
return Ue.write(JSON.stringify(e));
|
|
@@ -9962,7 +9960,7 @@ var te;
|
|
|
9962
9960
|
(function(t) {
|
|
9963
9961
|
t[t.Invocation = 1] = "Invocation", t[t.StreamItem = 2] = "StreamItem", t[t.Completion = 3] = "Completion", t[t.StreamInvocation = 4] = "StreamInvocation", t[t.CancelInvocation = 5] = "CancelInvocation", t[t.Ping = 6] = "Ping", t[t.Close = 7] = "Close", t[t.Ack = 8] = "Ack", t[t.Sequence = 9] = "Sequence";
|
|
9964
9962
|
})(te || (te = {}));
|
|
9965
|
-
class
|
|
9963
|
+
class Mx {
|
|
9966
9964
|
constructor() {
|
|
9967
9965
|
this.observers = [];
|
|
9968
9966
|
}
|
|
@@ -9979,10 +9977,10 @@ class Ox {
|
|
|
9979
9977
|
e.complete && e.complete();
|
|
9980
9978
|
}
|
|
9981
9979
|
subscribe(e) {
|
|
9982
|
-
return this.observers.push(e), new
|
|
9980
|
+
return this.observers.push(e), new Bx(this, e);
|
|
9983
9981
|
}
|
|
9984
9982
|
}
|
|
9985
|
-
class
|
|
9983
|
+
class Ox {
|
|
9986
9984
|
constructor(e, n, r) {
|
|
9987
9985
|
this._bufferSize = 1e5, this._messages = [], this._totalMessageCount = 0, this._waitForSequenceMessage = !1, this._nextReceivingSequenceId = 1, this._latestReceivedSequenceId = 0, this._bufferedByteCount = 0, this._reconnectInProgress = !1, this._protocol = e, this._connection = n, this._bufferSize = r;
|
|
9988
9986
|
}
|
|
@@ -9996,7 +9994,7 @@ class Nx {
|
|
|
9996
9994
|
};
|
|
9997
9995
|
wt(n) ? this._bufferedByteCount += n.byteLength : this._bufferedByteCount += n.length, this._bufferedByteCount >= this._bufferSize && (r = new Promise((i, c) => {
|
|
9998
9996
|
o = i, a = c;
|
|
9999
|
-
})), this._messages.push(new
|
|
9997
|
+
})), this._messages.push(new Nx(n, this._totalMessageCount, o, a));
|
|
10000
9998
|
}
|
|
10001
9999
|
try {
|
|
10002
10000
|
this._reconnectInProgress || await this._connection.send(n);
|
|
@@ -10074,12 +10072,12 @@ class Nx {
|
|
|
10074
10072
|
}, 1e3));
|
|
10075
10073
|
}
|
|
10076
10074
|
}
|
|
10077
|
-
class
|
|
10075
|
+
class Nx {
|
|
10078
10076
|
constructor(e, n, r, o) {
|
|
10079
10077
|
this._message = e, this._id = n, this._resolver = r, this._rejector = o;
|
|
10080
10078
|
}
|
|
10081
10079
|
}
|
|
10082
|
-
const
|
|
10080
|
+
const zx = 30 * 1e3, jx = 15 * 1e3, Hx = 1e5;
|
|
10083
10081
|
var ve;
|
|
10084
10082
|
(function(t) {
|
|
10085
10083
|
t.Disconnected = "Disconnected", t.Connecting = "Connecting", t.Connected = "Connected", t.Disconnecting = "Disconnecting", t.Reconnecting = "Reconnecting";
|
|
@@ -10096,7 +10094,7 @@ class go {
|
|
|
10096
10094
|
constructor(e, n, r, o, a, i, c) {
|
|
10097
10095
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
10098
10096
|
this._logger.log(F.Warning, "The page is being frozen, this will likely lead to the connection being closed and messages being lost. For more information see the docs at https://learn.microsoft.com/aspnet/core/signalr/javascript-client#bsleep");
|
|
10099
|
-
}, be.isRequired(e, "connection"), be.isRequired(n, "logger"), be.isRequired(r, "protocol"), this.serverTimeoutInMilliseconds = a ??
|
|
10097
|
+
}, be.isRequired(e, "connection"), be.isRequired(n, "logger"), be.isRequired(r, "protocol"), this.serverTimeoutInMilliseconds = a ?? zx, this.keepAliveIntervalInMilliseconds = i ?? jx, this._statefulReconnectBufferSize = c ?? Hx, this._logger = n, this._protocol = r, this.connection = e, this._reconnectPolicy = o, this._handshakeProtocol = new $x(), this.connection.onreceive = (l) => this._processIncomingData(l), this.connection.onclose = (l) => this._connectionClosed(l), this._callbacks = {}, this._methods = {}, this._closedCallbacks = [], this._reconnectingCallbacks = [], this._reconnectedCallbacks = [], this._invocationId = 0, this._receivedHandshakeResponse = !1, this._connectionState = ve.Disconnected, this._connectionStarted = !1, this._cachedPingMessage = this._protocol.writeMessage({ type: te.Ping });
|
|
10100
10098
|
}
|
|
10101
10099
|
/** Indicates the state of the {@link HubConnection} to the server. */
|
|
10102
10100
|
get state() {
|
|
@@ -10156,7 +10154,7 @@ class go {
|
|
|
10156
10154
|
};
|
|
10157
10155
|
if (this._logger.log(F.Debug, "Sending handshake request."), await this._sendMessage(this._handshakeProtocol.writeHandshakeRequest(r)), this._logger.log(F.Information, `Using HubProtocol '${this._protocol.name}'.`), this._cleanupTimeout(), this._resetTimeoutPeriod(), this._resetKeepAliveInterval(), await e, this._stopDuringStartError)
|
|
10158
10156
|
throw this._stopDuringStartError;
|
|
10159
|
-
(this.connection.features.reconnect || !1) && (this._messageBuffer = new
|
|
10157
|
+
(this.connection.features.reconnect || !1) && (this._messageBuffer = new Ox(this._protocol, this.connection, this._statefulReconnectBufferSize), this.connection.features.disconnected = this._messageBuffer._disconnected.bind(this._messageBuffer), this.connection.features.resend = () => {
|
|
10160
10158
|
if (this._messageBuffer)
|
|
10161
10159
|
return this._messageBuffer._resend();
|
|
10162
10160
|
}), this.connection.features.inherentKeepAlive || await this._sendMessage(this._cachedPingMessage);
|
|
@@ -10200,7 +10198,7 @@ class go {
|
|
|
10200
10198
|
stream(e, ...n) {
|
|
10201
10199
|
const [r, o] = this._replaceStreamingParams(n), a = this._createStreamInvocation(e, n, o);
|
|
10202
10200
|
let i;
|
|
10203
|
-
const c = new
|
|
10201
|
+
const c = new Mx();
|
|
10204
10202
|
return c.cancelCallback = () => {
|
|
10205
10203
|
const l = this._createCancelInvocation(a.invocationId);
|
|
10206
10204
|
return delete this._callbacks[a.invocationId], i.then(() => this._sendWithProtocol(l));
|
|
@@ -10586,10 +10584,10 @@ class go {
|
|
|
10586
10584
|
return { type: te.Close };
|
|
10587
10585
|
}
|
|
10588
10586
|
}
|
|
10589
|
-
const
|
|
10587
|
+
const Ux = [0, 2e3, 1e4, 3e4, null];
|
|
10590
10588
|
class cs {
|
|
10591
10589
|
constructor(e) {
|
|
10592
|
-
this._retryDelays = e !== void 0 ? [...e, null] :
|
|
10590
|
+
this._retryDelays = e !== void 0 ? [...e, null] : Ux;
|
|
10593
10591
|
}
|
|
10594
10592
|
nextRetryDelayInMilliseconds(e) {
|
|
10595
10593
|
return this._retryDelays[e.previousRetryCount];
|
|
@@ -10599,7 +10597,7 @@ class yt {
|
|
|
10599
10597
|
}
|
|
10600
10598
|
yt.Authorization = "Authorization";
|
|
10601
10599
|
yt.Cookie = "Cookie";
|
|
10602
|
-
class
|
|
10600
|
+
class qx extends jn {
|
|
10603
10601
|
constructor(e, n) {
|
|
10604
10602
|
super(), this._innerClient = e, this._accessTokenFactory = n;
|
|
10605
10603
|
}
|
|
@@ -10624,7 +10622,7 @@ var Ie;
|
|
|
10624
10622
|
(function(t) {
|
|
10625
10623
|
t[t.Text = 1] = "Text", t[t.Binary = 2] = "Binary";
|
|
10626
10624
|
})(Ie || (Ie = {}));
|
|
10627
|
-
let
|
|
10625
|
+
let Wx = class {
|
|
10628
10626
|
constructor() {
|
|
10629
10627
|
this._isAborted = !1, this.onabort = null;
|
|
10630
10628
|
}
|
|
@@ -10644,7 +10642,7 @@ class ls {
|
|
|
10644
10642
|
return this._pollAbort.aborted;
|
|
10645
10643
|
}
|
|
10646
10644
|
constructor(e, n, r) {
|
|
10647
|
-
this._httpClient = e, this._logger = n, this._pollAbort = new
|
|
10645
|
+
this._httpClient = e, this._logger = n, this._pollAbort = new Wx(), this._options = r, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
10648
10646
|
}
|
|
10649
10647
|
async connect(e, n) {
|
|
10650
10648
|
if (be.isRequired(e, "url"), be.isRequired(n, "transferFormat"), be.isIn(n, Ie, "transferFormat"), this._url = e, this._logger.log(F.Trace, "(LongPolling transport) Connecting."), n === Ie.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
@@ -10708,7 +10706,7 @@ class ls {
|
|
|
10708
10706
|
}
|
|
10709
10707
|
}
|
|
10710
10708
|
}
|
|
10711
|
-
class
|
|
10709
|
+
class Vx {
|
|
10712
10710
|
constructor(e, n, r, o) {
|
|
10713
10711
|
this._httpClient = e, this._accessToken = n, this._logger = r, this._options = o, this.onreceive = null, this.onclose = null;
|
|
10714
10712
|
}
|
|
@@ -10758,7 +10756,7 @@ class Kx {
|
|
|
10758
10756
|
this._eventSource && (this._eventSource.close(), this._eventSource = void 0, this.onclose && this.onclose(e));
|
|
10759
10757
|
}
|
|
10760
10758
|
}
|
|
10761
|
-
class
|
|
10759
|
+
class Kx {
|
|
10762
10760
|
constructor(e, n, r, o, a, i) {
|
|
10763
10761
|
this._logger = r, this._accessTokenFactory = n, this._logMessageContent = o, this._webSocketConstructor = a, this._httpClient = e, this.onreceive = null, this.onclose = null, this._headers = i;
|
|
10764
10762
|
}
|
|
@@ -10817,10 +10815,10 @@ class Gx {
|
|
|
10817
10815
|
}
|
|
10818
10816
|
}
|
|
10819
10817
|
const us = 100;
|
|
10820
|
-
class
|
|
10818
|
+
class Gx {
|
|
10821
10819
|
constructor(e, n = {}) {
|
|
10822
10820
|
if (this._stopPromiseResolver = () => {
|
|
10823
|
-
}, this.features = {}, this._negotiateVersion = 1, be.isRequired(e, "url"), this._logger =
|
|
10821
|
+
}, this.features = {}, this._negotiateVersion = 1, be.isRequired(e, "url"), this._logger = kx(n.logger), this.baseUrl = this._resolveUrl(e), n = n || {}, n.logMessageContent = n.logMessageContent === void 0 ? !1 : n.logMessageContent, typeof n.withCredentials == "boolean" || n.withCredentials === void 0)
|
|
10824
10822
|
n.withCredentials = n.withCredentials === void 0 ? !0 : n.withCredentials;
|
|
10825
10823
|
else
|
|
10826
10824
|
throw new Error("withCredentials option was not a 'boolean' or 'undefined' value");
|
|
@@ -10830,7 +10828,7 @@ class Xx {
|
|
|
10830
10828
|
const a = typeof __webpack_require__ == "function" ? __non_webpack_require__ : require;
|
|
10831
10829
|
r = a("ws"), o = a("eventsource");
|
|
10832
10830
|
}
|
|
10833
|
-
!_e.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : _e.isNode && !n.WebSocket && r && (n.WebSocket = r), !_e.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : _e.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new
|
|
10831
|
+
!_e.isNode && typeof WebSocket < "u" && !n.WebSocket ? n.WebSocket = WebSocket : _e.isNode && !n.WebSocket && r && (n.WebSocket = r), !_e.isNode && typeof EventSource < "u" && !n.EventSource ? n.EventSource = EventSource : _e.isNode && !n.EventSource && typeof o < "u" && (n.EventSource = o), this._httpClient = new qx(n.httpClient || new Lx(this._logger), n.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = n, this.onreceive = null, this.onclose = null;
|
|
10834
10832
|
}
|
|
10835
10833
|
async start(e) {
|
|
10836
10834
|
if (e = e || Ie.Binary, be.isIn(e, Ie, "transferFormat"), this._logger.log(F.Debug, `Starting connection with transfer format '${Ie[e]}'.`), this._connectionState !== "Disconnected")
|
|
@@ -10954,25 +10952,25 @@ class Xx {
|
|
|
10954
10952
|
await this._startTransport(a, o), this.connectionId = l.connectionId;
|
|
10955
10953
|
return;
|
|
10956
10954
|
} catch (_) {
|
|
10957
|
-
if (this._logger.log(F.Error, `Failed to start the transport '${s.transport}': ${_}`), l = void 0, i.push(new
|
|
10955
|
+
if (this._logger.log(F.Error, `Failed to start the transport '${s.transport}': ${_}`), l = void 0, i.push(new bx(`${s.transport} failed: ${_}`, ye[s.transport])), this._connectionState !== "Connecting") {
|
|
10958
10956
|
const d = "Failed to select transport before stop() was called.";
|
|
10959
10957
|
return this._logger.log(F.Debug, d), Promise.reject(new Qe(d));
|
|
10960
10958
|
}
|
|
10961
10959
|
}
|
|
10962
10960
|
}
|
|
10963
10961
|
}
|
|
10964
|
-
return i.length > 0 ? Promise.reject(new
|
|
10962
|
+
return i.length > 0 ? Promise.reject(new wx(`Unable to connect to the server with any of the available transports. ${i.join(" ")}`, i)) : Promise.reject(new Error("None of the transports supported by the client are supported by the server."));
|
|
10965
10963
|
}
|
|
10966
10964
|
_constructTransport(e) {
|
|
10967
10965
|
switch (e) {
|
|
10968
10966
|
case ye.WebSockets:
|
|
10969
10967
|
if (!this._options.WebSocket)
|
|
10970
10968
|
throw new Error("'WebSocket' is not supported in your environment.");
|
|
10971
|
-
return new
|
|
10969
|
+
return new Kx(this._httpClient, this._accessTokenFactory, this._logger, this._options.logMessageContent, this._options.WebSocket, this._options.headers || {});
|
|
10972
10970
|
case ye.ServerSentEvents:
|
|
10973
10971
|
if (!this._options.EventSource)
|
|
10974
10972
|
throw new Error("'EventSource' is not supported in your environment.");
|
|
10975
|
-
return new
|
|
10973
|
+
return new Vx(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
|
|
10976
10974
|
case ye.LongPolling:
|
|
10977
10975
|
return new ls(this._httpClient, this._logger, this._options);
|
|
10978
10976
|
default:
|
|
@@ -10999,10 +10997,10 @@ class Xx {
|
|
|
10999
10997
|
const a = ye[e.transport];
|
|
11000
10998
|
if (a == null)
|
|
11001
10999
|
return this._logger.log(F.Debug, `Skipping transport '${e.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${e.transport}' because it is not supported by this client.`);
|
|
11002
|
-
if (
|
|
11000
|
+
if (Xx(n, a))
|
|
11003
11001
|
if (e.transferFormats.map((c) => Ie[c]).indexOf(r) >= 0) {
|
|
11004
11002
|
if (a === ye.WebSockets && !this._options.WebSocket || a === ye.ServerSentEvents && !this._options.EventSource)
|
|
11005
|
-
return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it is not supported in your environment.'`), new
|
|
11003
|
+
return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it is not supported in your environment.'`), new Cx(`'${ye[a]}' is not supported in your environment.`, a);
|
|
11006
11004
|
this._logger.log(F.Debug, `Selecting transport '${ye[a]}'.`);
|
|
11007
11005
|
try {
|
|
11008
11006
|
return this.features.reconnect = a === ye.WebSockets ? o : void 0, this._constructTransport(a);
|
|
@@ -11012,7 +11010,7 @@ class Xx {
|
|
|
11012
11010
|
} else
|
|
11013
11011
|
return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it does not support the requested transfer format '${Ie[r]}'.`), new Error(`'${ye[a]}' does not support ${Ie[r]}.`);
|
|
11014
11012
|
else
|
|
11015
|
-
return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it was disabled by the client.`), new
|
|
11013
|
+
return this._logger.log(F.Debug, `Skipping transport '${ye[a]}' because it was disabled by the client.`), new yx(`'${ye[a]}' is disabled by the client.`, a);
|
|
11016
11014
|
}
|
|
11017
11015
|
_isITransport(e) {
|
|
11018
11016
|
return e && typeof e == "object" && "connect" in e;
|
|
@@ -11050,7 +11048,7 @@ class Xx {
|
|
|
11050
11048
|
return r.has("negotiateVersion") || r.append("negotiateVersion", this._negotiateVersion.toString()), r.has("useStatefulReconnect") ? r.get("useStatefulReconnect") === "true" && (this._options._useStatefulReconnect = !0) : this._options._useStatefulReconnect === !0 && r.append("useStatefulReconnect", "true"), n.search = r.toString(), n.toString();
|
|
11051
11049
|
}
|
|
11052
11050
|
}
|
|
11053
|
-
function
|
|
11051
|
+
function Xx(t, e) {
|
|
11054
11052
|
return !t || (e & t) !== 0;
|
|
11055
11053
|
}
|
|
11056
11054
|
class mo {
|
|
@@ -11105,10 +11103,10 @@ class An {
|
|
|
11105
11103
|
this._rejecter(e);
|
|
11106
11104
|
}
|
|
11107
11105
|
}
|
|
11108
|
-
const
|
|
11109
|
-
class
|
|
11106
|
+
const Qx = "json";
|
|
11107
|
+
class Yx {
|
|
11110
11108
|
constructor() {
|
|
11111
|
-
this.name =
|
|
11109
|
+
this.name = Qx, this.version = 2, this.transferFormat = Ie.Text;
|
|
11112
11110
|
}
|
|
11113
11111
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
11114
11112
|
*
|
|
@@ -11187,7 +11185,7 @@ class Jx {
|
|
|
11187
11185
|
throw new Error(n);
|
|
11188
11186
|
}
|
|
11189
11187
|
}
|
|
11190
|
-
const
|
|
11188
|
+
const Jx = {
|
|
11191
11189
|
trace: F.Trace,
|
|
11192
11190
|
debug: F.Debug,
|
|
11193
11191
|
info: F.Information,
|
|
@@ -11198,18 +11196,18 @@ const Zx = {
|
|
|
11198
11196
|
critical: F.Critical,
|
|
11199
11197
|
none: F.None
|
|
11200
11198
|
};
|
|
11201
|
-
function
|
|
11202
|
-
const e =
|
|
11199
|
+
function Zx(t) {
|
|
11200
|
+
const e = Jx[t.toLowerCase()];
|
|
11203
11201
|
if (typeof e < "u")
|
|
11204
11202
|
return e;
|
|
11205
11203
|
throw new Error(`Unknown log level: ${t}`);
|
|
11206
11204
|
}
|
|
11207
|
-
class
|
|
11205
|
+
class ev {
|
|
11208
11206
|
configureLogging(e) {
|
|
11209
|
-
if (be.isRequired(e, "logging"),
|
|
11207
|
+
if (be.isRequired(e, "logging"), tv(e))
|
|
11210
11208
|
this.logger = e;
|
|
11211
11209
|
else if (typeof e == "string") {
|
|
11212
|
-
const n =
|
|
11210
|
+
const n = Zx(e);
|
|
11213
11211
|
this.logger = new Pn(n);
|
|
11214
11212
|
} else
|
|
11215
11213
|
this.logger = new Pn(e);
|
|
@@ -11262,16 +11260,16 @@ class tv {
|
|
|
11262
11260
|
const e = this.httpConnectionOptions || {};
|
|
11263
11261
|
if (e.logger === void 0 && (e.logger = this.logger), !this.url)
|
|
11264
11262
|
throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
11265
|
-
const n = new
|
|
11266
|
-
return go.create(n, this.logger || un.instance, this.protocol || new
|
|
11263
|
+
const n = new Gx(this.url, e);
|
|
11264
|
+
return go.create(n, this.logger || un.instance, this.protocol || new Yx(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
11267
11265
|
}
|
|
11268
11266
|
}
|
|
11269
|
-
function
|
|
11267
|
+
function tv(t) {
|
|
11270
11268
|
return t.log !== void 0;
|
|
11271
11269
|
}
|
|
11272
|
-
let { baseURL:
|
|
11273
|
-
const
|
|
11274
|
-
const t = new
|
|
11270
|
+
let { baseURL: nv } = At();
|
|
11271
|
+
const rv = () => {
|
|
11272
|
+
const t = new ev().withUrl(`${nv}/api/tool/event-bus`, {
|
|
11275
11273
|
skipNegotiation: !0,
|
|
11276
11274
|
transport: ye.WebSockets
|
|
11277
11275
|
}).withAutomaticReconnect().build();
|
|
@@ -11280,10 +11278,10 @@ const ov = () => {
|
|
|
11280
11278
|
}), t.onclose((e) => {
|
|
11281
11279
|
}), t.onreconnected(() => {
|
|
11282
11280
|
}), t;
|
|
11283
|
-
}, Hn = "v1",
|
|
11284
|
-
|
|
11285
|
-
const
|
|
11286
|
-
const [n, r] = await
|
|
11281
|
+
}, Hn = "v1", ov = pt(`/api/graphics-engine/component/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), av = pt(`/api/portal/manager/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), sv = pt(`/api/speech-base/speech/${Hn}`, (t) => (t.customErrorMessage = () => "", t)), ds = ov.get("/component/client/heartbeat"), iv = av.get("/basics/by-alias");
|
|
11282
|
+
sv.post("/control/callBack");
|
|
11283
|
+
const cv = pt(`/api/tool/event-bus/${Hn}/`), Tr = cv.post("/publish"), lv = Yr.get("/permissionset/application"), uv = Yr.get("/permissionset/user-portal-menu"), fs = async (t, e) => {
|
|
11284
|
+
const [n, r] = await uv().run({
|
|
11287
11285
|
code: t,
|
|
11288
11286
|
showBtn: !1,
|
|
11289
11287
|
userType: 1
|
|
@@ -11291,7 +11289,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11291
11289
|
if (n || !r || !r.length) return null;
|
|
11292
11290
|
const o = Ve(r).find((a) => a.code === e);
|
|
11293
11291
|
return o || null;
|
|
11294
|
-
},
|
|
11292
|
+
}, dv = () => {
|
|
11295
11293
|
const t = xn(), { entryApp: e } = Sn.hooks.useEntryApp(), { entryMenu: n } = Sn.hooks.useEntryMenu();
|
|
11296
11294
|
let r = null;
|
|
11297
11295
|
return dt(async () => {
|
|
@@ -11351,7 +11349,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11351
11349
|
if (G)
|
|
11352
11350
|
e({ microApp: G });
|
|
11353
11351
|
else {
|
|
11354
|
-
const [K, U] = await
|
|
11352
|
+
const [K, U] = await lv().run({ menuCode: H });
|
|
11355
11353
|
if (K) return;
|
|
11356
11354
|
const W = C.find((Z) => Z.code === U);
|
|
11357
11355
|
if (W) {
|
|
@@ -11378,7 +11376,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11378
11376
|
setTimeout(async () => {
|
|
11379
11377
|
var g, C;
|
|
11380
11378
|
if (l.value) {
|
|
11381
|
-
const [E, k] = await
|
|
11379
|
+
const [E, k] = await iv().run({}, { params: { aliasName: h.actionValue } });
|
|
11382
11380
|
E ? await Tr().run({
|
|
11383
11381
|
uniqueId: h.uniqueId,
|
|
11384
11382
|
status: 0,
|
|
@@ -11397,7 +11395,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11397
11395
|
}, 2e3);
|
|
11398
11396
|
}, u = (h) => {
|
|
11399
11397
|
const g = ft(), C = JSON.parse(atob(g.split(".")[1])).sub;
|
|
11400
|
-
|
|
11398
|
+
rv().on(`${h}:${C}`, async function(k) {
|
|
11401
11399
|
let b = i(k);
|
|
11402
11400
|
if (b)
|
|
11403
11401
|
b.uniqueId && b.actionKey == "switch-menu" && s(b);
|
|
@@ -11424,10 +11422,10 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11424
11422
|
}), pn(() => {
|
|
11425
11423
|
r && clearInterval(r);
|
|
11426
11424
|
}), {};
|
|
11427
|
-
}, Un = "v1",
|
|
11425
|
+
}, Un = "v1", fv = Ut(`/api/fms/report/${Un}`), _o = Ut(`/api/emergency/manage/${Un}`), pv = eo.get("/permissionset/user-portal-menu"), Ti = Ut(`/api/alarm/config/${Un}`), hv = Ut(`/api/alarm/run-time/${Un}`), xv = Ti.get("/alarm-definition/status-option"), vv = hv.post("/record/handling"), gv = Ti.get("/alarm-level/prompttone"), mv = fv.get("/alarm/rule/list"), _v = Ss.get("/controller/space-children-all-type"), Cv = Ss.get("/controller/fuzzy-area-small"), yv = _o.get("/emergency-event/event/type"), bv = _o.get("/emergency-event/event/level"), wv = _o.get("/emergency-plan/plan/handle-time"), Av = { class: "handle-alarm-container" }, Ev = { class: "select-check" }, kv = { class: "form-box" }, Bv = { class: "select-check" }, Dv = { style: { "margin-left": "8px" } }, Sv = { class: "foot-btn-box" }, Iv = {
|
|
11428
11426
|
name: "handleAlarm"
|
|
11429
|
-
},
|
|
11430
|
-
...
|
|
11427
|
+
}, Fv = /* @__PURE__ */ xe({
|
|
11428
|
+
...Iv,
|
|
11431
11429
|
props: {
|
|
11432
11430
|
projectId: { default: "" },
|
|
11433
11431
|
handerIds: { default: [] }
|
|
@@ -11491,13 +11489,13 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11491
11489
|
const E = L(!0), k = L(!0), b = async (j) => {
|
|
11492
11490
|
const R = { name: "1" };
|
|
11493
11491
|
j != null && j.id && (R.spaceId = j.id);
|
|
11494
|
-
const [O, Te] = await
|
|
11492
|
+
const [O, Te] = await _v(R).run();
|
|
11495
11493
|
return O ? {} : Te;
|
|
11496
11494
|
}, w = async (j) => {
|
|
11497
|
-
const R = { name: j || "" }, [O, Te] = await
|
|
11495
|
+
const R = { name: j || "" }, [O, Te] = await Cv(R).run();
|
|
11498
11496
|
return O ? {} : Te;
|
|
11499
11497
|
}, B = L(!0), y = L(!0), A = L([]), S = async () => {
|
|
11500
|
-
const [j, R] = await
|
|
11498
|
+
const [j, R] = await mv().run({ pageIndex: -1, pageSize: -1 });
|
|
11501
11499
|
if (j) return {};
|
|
11502
11500
|
A.value = R.data.filter((O) => O.status), A.value.length > 0 && (s.value.workOrderRules = A.value[0].id);
|
|
11503
11501
|
};
|
|
@@ -11534,13 +11532,13 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11534
11532
|
}, Z = (j) => {
|
|
11535
11533
|
j == "eventTypeId" && (s.value.eventLevelId = null, P()), j == "eventLevelId" && M(), j == "interval" && (u.value.timeLimit = "", s.value.interval == 3 ? (_.value = !0, s.value.timeLimit = "") : _.value = !1);
|
|
11536
11534
|
}, T = async () => {
|
|
11537
|
-
const [j, R] = await
|
|
11535
|
+
const [j, R] = await yv().run();
|
|
11538
11536
|
if (j) return {};
|
|
11539
11537
|
d.value = R, s.value.eventTypeId || (s.value.eventTypeId = R[0] ? R[0].id : null), P();
|
|
11540
11538
|
}, P = async () => {
|
|
11541
11539
|
const j = {
|
|
11542
11540
|
eventTypeId: s.value.eventTypeId
|
|
11543
|
-
}, [R, O] = await
|
|
11541
|
+
}, [R, O] = await bv(j).run();
|
|
11544
11542
|
if (R) return {};
|
|
11545
11543
|
const Te = { 1: X("一级").value, 2: X("二级").value, 3: X("三级").value, 4: X("四级").value };
|
|
11546
11544
|
f.value = O.map((Je) => ({
|
|
@@ -11551,7 +11549,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11551
11549
|
const j = {
|
|
11552
11550
|
eventTypeId: s.value.eventTypeId,
|
|
11553
11551
|
eventLevel: s.value.eventLevelId
|
|
11554
|
-
}, [R, O] = await
|
|
11552
|
+
}, [R, O] = await wv(j).run();
|
|
11555
11553
|
if (R) return {};
|
|
11556
11554
|
s.value.interval = O.handleTimeUnit, O.handleTimeUnit == 3 ? s.value.timeLimit = "" : s.value.timeLimit = O.handleTime;
|
|
11557
11555
|
}, $ = (j) => {
|
|
@@ -11563,7 +11561,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11563
11561
|
projectId: r.projectId
|
|
11564
11562
|
};
|
|
11565
11563
|
a.value = !0;
|
|
11566
|
-
const [R, O] = await
|
|
11564
|
+
const [R, O] = await xv(j).run();
|
|
11567
11565
|
if (R) {
|
|
11568
11566
|
a.value = !1;
|
|
11569
11567
|
return;
|
|
@@ -11597,7 +11595,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11597
11595
|
//处理类型id
|
|
11598
11596
|
};
|
|
11599
11597
|
s.value.processTypeId === "createorder" ? (j.path = k.value ? "" : s.value.customPath, j.topic = y.value ? "" : s.value.reportTheme, j.spaceId = k.value ? "" : s.value.reportPosition ?? "", j.orderId = s.value.workOrderRules) : s.value.processTypeId === "createcontingency" ? (j.eventTypeId = s.value.eventTypeId, j.eventLevelId = s.value.eventLevelId, j.timeLimit = s.value.interval == 3 ? null : Number(s.value.timeLimit), j.interval = s.value.interval) : (j.reason = s.value.reason, j.treatmentPlan = s.value.treatmentPlan, j.remarks = s.value.remarks), a.value = !0, o("emitFn", "startHandle");
|
|
11600
|
-
const [R, O] = await
|
|
11598
|
+
const [R, O] = await vv(j, {
|
|
11601
11599
|
params: {
|
|
11602
11600
|
projectId: r.projectId
|
|
11603
11601
|
}
|
|
@@ -11615,7 +11613,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11615
11613
|
return e({
|
|
11616
11614
|
open: st,
|
|
11617
11615
|
close: vt
|
|
11618
|
-
}), (j, R) => (N(), ce("div",
|
|
11616
|
+
}), (j, R) => (N(), ce("div", Av, [
|
|
11619
11617
|
Y(D(Zr), {
|
|
11620
11618
|
modelValue: l.value,
|
|
11621
11619
|
"onUpdate:modelValue": R[31] || (R[31] = (O) => l.value = O),
|
|
@@ -11636,7 +11634,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11636
11634
|
)
|
|
11637
11635
|
]),
|
|
11638
11636
|
footer: V(() => [
|
|
11639
|
-
q("div",
|
|
11637
|
+
q("div", Sv, [
|
|
11640
11638
|
Y(D(Lt), {
|
|
11641
11639
|
size: "middle",
|
|
11642
11640
|
onClick: De
|
|
@@ -11770,8 +11768,8 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11770
11768
|
marginRight: "0"
|
|
11771
11769
|
}, {
|
|
11772
11770
|
default: V(() => [
|
|
11773
|
-
q("div",
|
|
11774
|
-
q("div",
|
|
11771
|
+
q("div", Ev, [
|
|
11772
|
+
q("div", kv, [
|
|
11775
11773
|
Y(D(z0), {
|
|
11776
11774
|
borderType: "underline",
|
|
11777
11775
|
props: { disabled: "_disabled", label: "name" },
|
|
@@ -11833,7 +11831,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11833
11831
|
marginRight: "0"
|
|
11834
11832
|
}, {
|
|
11835
11833
|
default: V(() => [
|
|
11836
|
-
q("div",
|
|
11834
|
+
q("div", Bv, [
|
|
11837
11835
|
Y(D(Oo), {
|
|
11838
11836
|
maxlength: "20",
|
|
11839
11837
|
disabled: B.value,
|
|
@@ -11934,7 +11932,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11934
11932
|
marginRight: "0"
|
|
11935
11933
|
}, {
|
|
11936
11934
|
default: V(() => [
|
|
11937
|
-
q("div",
|
|
11935
|
+
q("div", Dv, [
|
|
11938
11936
|
Y(D(N0), {
|
|
11939
11937
|
class: "select",
|
|
11940
11938
|
modelValue: s.value.interval,
|
|
@@ -11974,18 +11972,18 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
11974
11972
|
}, 8, ["modelValue"])
|
|
11975
11973
|
]));
|
|
11976
11974
|
}
|
|
11977
|
-
}),
|
|
11978
|
-
handleAlarmVue: () => we(
|
|
11975
|
+
}), Tv = /* @__PURE__ */ Ne(Fv, [["__scopeId", "data-v-f392391d"]]), Pv = (t, e, n) => ({
|
|
11976
|
+
handleAlarmVue: () => we(Tv, {
|
|
11979
11977
|
handerIds: e.value,
|
|
11980
11978
|
projectId: Xr().id,
|
|
11981
11979
|
ref: t,
|
|
11982
11980
|
onEmitFn: (o, a) => {
|
|
11983
11981
|
}
|
|
11984
11982
|
})
|
|
11985
|
-
}),
|
|
11983
|
+
}), Rv = { class: "alarm-msg" }, Lv = { style: { position: "relative" } }, $v = { class: "title-left" }, Mv = { class: "title-box" }, Ov = { class: "content-box" }, Nv = { class: "alarm-msg-line" }, zv = { class: "alarm-msg-line-left" }, jv = { class: "alarm-msg-line" }, Hv = { class: "alarm-msg-line-left" }, Uv = { class: "alarm-msg-line-right alarm-content-object" }, qv = { class: "alarm-msg-line" }, Wv = { class: "alarm-msg-line-left" }, Vv = { class: "alarm-msg-line-right alarm-content" }, Kv = { class: "btn-box" }, Gv = {
|
|
11986
11984
|
name: "alarm"
|
|
11987
|
-
},
|
|
11988
|
-
...
|
|
11985
|
+
}, Xv = /* @__PURE__ */ xe({
|
|
11986
|
+
...Gv,
|
|
11989
11987
|
props: {
|
|
11990
11988
|
alarmhandle: { type: Boolean, default: !1 },
|
|
11991
11989
|
msgItem: { default: {} }
|
|
@@ -12002,8 +12000,8 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
12002
12000
|
null,
|
|
12003
12001
|
[
|
|
12004
12002
|
Q(` <div class="alarm-msg" :style="{ 'border-color': msgItem.color }"> `),
|
|
12005
|
-
q("div",
|
|
12006
|
-
q("div",
|
|
12003
|
+
q("div", Rv, [
|
|
12004
|
+
q("div", Lv, [
|
|
12007
12005
|
q(
|
|
12008
12006
|
"div",
|
|
12009
12007
|
{
|
|
@@ -12011,13 +12009,13 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
12011
12009
|
class: "title-detail"
|
|
12012
12010
|
},
|
|
12013
12011
|
[
|
|
12014
|
-
q("div",
|
|
12012
|
+
q("div", $v, [
|
|
12015
12013
|
Q(` <div class="icon-box" :style="{ color: msgItem.color }">\r
|
|
12016
12014
|
!\r
|
|
12017
12015
|
</div> `),
|
|
12018
12016
|
q(
|
|
12019
12017
|
"div",
|
|
12020
|
-
|
|
12018
|
+
Mv,
|
|
12021
12019
|
Ce(D(X)("新告警").value),
|
|
12022
12020
|
1
|
|
12023
12021
|
/* TEXT */
|
|
@@ -12034,11 +12032,11 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
12034
12032
|
4
|
|
12035
12033
|
/* STYLE */
|
|
12036
12034
|
),
|
|
12037
|
-
q("div",
|
|
12038
|
-
q("div",
|
|
12035
|
+
q("div", Ov, [
|
|
12036
|
+
q("div", Nv, [
|
|
12039
12037
|
q(
|
|
12040
12038
|
"div",
|
|
12041
|
-
|
|
12039
|
+
zv,
|
|
12042
12040
|
Ce(D(X)("告警等级:").value),
|
|
12043
12041
|
1
|
|
12044
12042
|
/* TEXT */
|
|
@@ -12054,39 +12052,39 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
12054
12052
|
/* TEXT, STYLE */
|
|
12055
12053
|
)
|
|
12056
12054
|
]),
|
|
12057
|
-
q("div",
|
|
12055
|
+
q("div", jv, [
|
|
12058
12056
|
q(
|
|
12059
12057
|
"div",
|
|
12060
|
-
|
|
12058
|
+
Hv,
|
|
12061
12059
|
Ce(D(X)("告警对象:").value),
|
|
12062
12060
|
1
|
|
12063
12061
|
/* TEXT */
|
|
12064
12062
|
),
|
|
12065
12063
|
q(
|
|
12066
12064
|
"div",
|
|
12067
|
-
|
|
12065
|
+
Uv,
|
|
12068
12066
|
Ce(i.msgItem.equipmentName || ""),
|
|
12069
12067
|
1
|
|
12070
12068
|
/* TEXT */
|
|
12071
12069
|
)
|
|
12072
12070
|
]),
|
|
12073
|
-
q("div",
|
|
12071
|
+
q("div", qv, [
|
|
12074
12072
|
q(
|
|
12075
12073
|
"div",
|
|
12076
|
-
|
|
12074
|
+
Wv,
|
|
12077
12075
|
Ce(D(X)("告警内容:").value),
|
|
12078
12076
|
1
|
|
12079
12077
|
/* TEXT */
|
|
12080
12078
|
),
|
|
12081
12079
|
q(
|
|
12082
12080
|
"div",
|
|
12083
|
-
|
|
12081
|
+
Vv,
|
|
12084
12082
|
Ce(i.msgItem.alarmContent || ""),
|
|
12085
12083
|
1
|
|
12086
12084
|
/* TEXT */
|
|
12087
12085
|
)
|
|
12088
12086
|
]),
|
|
12089
|
-
q("div",
|
|
12087
|
+
q("div", Kv, [
|
|
12090
12088
|
i.msgItem.equipmentCode && i.msgItem.equipmentPanelCode ? (N(), re(D(Lt), {
|
|
12091
12089
|
key: 0,
|
|
12092
12090
|
block: "",
|
|
@@ -12131,7 +12129,7 @@ const lv = pt(`/api/tool/event-bus/${Hn}/`), Tr = lv.post("/publish"), uv = Yr.g
|
|
|
12131
12129
|
));
|
|
12132
12130
|
}
|
|
12133
12131
|
});
|
|
12134
|
-
let
|
|
12132
|
+
let Qv = (t = 21) => {
|
|
12135
12133
|
let e = "", n = crypto.getRandomValues(new Uint8Array(t));
|
|
12136
12134
|
for (; t--; ) {
|
|
12137
12135
|
let r = n[t] & 63;
|
|
@@ -12139,7 +12137,7 @@ let Yv = (t = 21) => {
|
|
|
12139
12137
|
}
|
|
12140
12138
|
return e;
|
|
12141
12139
|
};
|
|
12142
|
-
const
|
|
12140
|
+
const Yv = () => {
|
|
12143
12141
|
const t = L(null), e = L(0), n = L(null), r = L(null), o = L([]), a = L([]), i = L(!1), c = L(!1), l = L(!1), s = L({
|
|
12144
12142
|
playId: "",
|
|
12145
12143
|
// 播放的告警的recordId
|
|
@@ -12166,7 +12164,7 @@ const Jv = () => {
|
|
|
12166
12164
|
B.push({ alarmId: w.recordId }), o.value = B, (y = n.value) == null || y.open();
|
|
12167
12165
|
}, { entryApp: _ } = Sn.hooks.useEntryApp(), d = (w) => {
|
|
12168
12166
|
Fs(w.equipmentCode, w.equipmentPanelCode);
|
|
12169
|
-
}, { handleAlarmVue: f } =
|
|
12167
|
+
}, { handleAlarmVue: f } = Pv(n, o), p = async () => {
|
|
12170
12168
|
var y;
|
|
12171
12169
|
const B = (((y = ge().appcategorys) == null ? void 0 : y.map((A) => A.apps).flat()) ?? []).find((A) => A.code === "alarm");
|
|
12172
12170
|
B && _({ microApp: B, menuPath: `/${B.routeUrl}/realTimeAlarm` });
|
|
@@ -12177,13 +12175,13 @@ const Jv = () => {
|
|
|
12177
12175
|
}
|
|
12178
12176
|
}, m = (w) => {
|
|
12179
12177
|
if (!w) return;
|
|
12180
|
-
const B =
|
|
12178
|
+
const B = Qv();
|
|
12181
12179
|
Dn.open({
|
|
12182
12180
|
key: B,
|
|
12183
12181
|
class: "alarm-notify",
|
|
12184
12182
|
message: X("新告警").value,
|
|
12185
12183
|
placement: "bottomRight",
|
|
12186
|
-
description: we(
|
|
12184
|
+
description: we(Xv, {
|
|
12187
12185
|
msgItem: w,
|
|
12188
12186
|
alarmhandle: i.value,
|
|
12189
12187
|
onHanderDetail: d,
|
|
@@ -12227,7 +12225,7 @@ const Jv = () => {
|
|
|
12227
12225
|
s.value.loopCount = s.value.loopCount + 1, s.value.loopTotalCount && s.value.loopTotalCount && (s.value.loopCount == s.value.loopTotalCount ? (s.value.playPath = "", s.value.isplay = !1, s.value.playId = "", s.value.loopTotalCount = 0, s.value.loopCount = 0, s.value.playLine = null) : r.value.play());
|
|
12228
12226
|
};
|
|
12229
12227
|
}, k = async () => {
|
|
12230
|
-
const [w, B] = await
|
|
12228
|
+
const [w, B] = await gv().run();
|
|
12231
12229
|
w || (l.value = B.isEnable);
|
|
12232
12230
|
};
|
|
12233
12231
|
return {
|
|
@@ -12238,7 +12236,7 @@ const Jv = () => {
|
|
|
12238
12236
|
handleAlarmVue: f,
|
|
12239
12237
|
creatAlarmSocket: async () => {
|
|
12240
12238
|
k();
|
|
12241
|
-
const [w, B] = await
|
|
12239
|
+
const [w, B] = await pv().run({
|
|
12242
12240
|
code: "alarm",
|
|
12243
12241
|
showBtn: !0
|
|
12244
12242
|
});
|
|
@@ -12259,10 +12257,10 @@ const Jv = () => {
|
|
|
12259
12257
|
}));
|
|
12260
12258
|
}
|
|
12261
12259
|
};
|
|
12262
|
-
},
|
|
12260
|
+
}, Jv = ["src", "muted", "loop"], Zv = /* @__PURE__ */ xe({
|
|
12263
12261
|
__name: "index",
|
|
12264
12262
|
setup(t) {
|
|
12265
|
-
const { alarmSocket: e, creatAlarmSocket: n, audioObj: r, audioAlarmRef: o, handleAlarmVue: a } =
|
|
12263
|
+
const { alarmSocket: e, creatAlarmSocket: n, audioObj: r, audioAlarmRef: o, handleAlarmVue: a } = Yv();
|
|
12266
12264
|
return dt(async () => {
|
|
12267
12265
|
await Ln(), n();
|
|
12268
12266
|
}), pn(() => {
|
|
@@ -12280,13 +12278,13 @@ const Jv = () => {
|
|
|
12280
12278
|
muted: !D(r).isplay,
|
|
12281
12279
|
loop: D(r).loop,
|
|
12282
12280
|
autoplay: ""
|
|
12283
|
-
}, null, 8,
|
|
12281
|
+
}, null, 8, Jv)
|
|
12284
12282
|
],
|
|
12285
12283
|
64
|
|
12286
12284
|
/* STABLE_FRAGMENT */
|
|
12287
12285
|
));
|
|
12288
12286
|
}
|
|
12289
|
-
}),
|
|
12287
|
+
}), eg = { class: "das-main-app-container" }, tg = /* @__PURE__ */ xe({
|
|
12290
12288
|
__name: "index",
|
|
12291
12289
|
props: {
|
|
12292
12290
|
showLayout: { type: Boolean, default: !0 }
|
|
@@ -12304,10 +12302,10 @@ const Jv = () => {
|
|
|
12304
12302
|
},
|
|
12305
12303
|
{ immediate: !0 }
|
|
12306
12304
|
);
|
|
12307
|
-
const { initNextTick: l } =
|
|
12308
|
-
|
|
12309
|
-
const { fontColor: s, backgroudColor: u, borderColor: _ } =
|
|
12310
|
-
return
|
|
12305
|
+
const { initNextTick: l } = Bh();
|
|
12306
|
+
Ih(), Lh(), Th(), $h(), Bi(), Sh();
|
|
12307
|
+
const { fontColor: s, backgroudColor: u, borderColor: _ } = Fh();
|
|
12308
|
+
return zh(), jh(), Hh(), qh(), _x(), dv(), (d, f) => (N(), ce("div", eg, [
|
|
12311
12309
|
Q(` <button @click="test(0)">test</button>\r
|
|
12312
12310
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
12313
12311
|
Y(D(fl), { platformInitNextTick: D(l) }, {
|
|
@@ -12335,10 +12333,10 @@ const Jv = () => {
|
|
|
12335
12333
|
/* FORWARDED */
|
|
12336
12334
|
}, 8, ["platformInitNextTick"]),
|
|
12337
12335
|
Q(" 告警 "),
|
|
12338
|
-
Y(D(
|
|
12336
|
+
Y(D(Zv))
|
|
12339
12337
|
]));
|
|
12340
12338
|
}
|
|
12341
|
-
}),
|
|
12339
|
+
}), ng = /* @__PURE__ */ Ne(tg, [["__scopeId", "data-v-7a63b5ce"]]), rg = {
|
|
12342
12340
|
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework", "zh-MO": "正在實時預覽" },
|
|
12343
12341
|
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework", "zh-MO": "聲音" },
|
|
12344
12342
|
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework", "zh-MO": "截圖" },
|
|
@@ -12517,22 +12515,22 @@ const Jv = () => {
|
|
|
12517
12515
|
"zh-MO": "當前實例($0)$1天后過期(到期時間:$2),請儘快聯繫管理人員續費,過期失效後將會停用物聯網平臺所有功能服務~"
|
|
12518
12516
|
}
|
|
12519
12517
|
};
|
|
12520
|
-
f0(
|
|
12518
|
+
f0(rg);
|
|
12521
12519
|
L("@das-fed/upf-web");
|
|
12522
|
-
const
|
|
12520
|
+
const og = [
|
|
12523
12521
|
{
|
|
12524
12522
|
path: ot,
|
|
12525
|
-
component: () => import("./index-
|
|
12523
|
+
component: () => import("./index-DoFPzS4H.js")
|
|
12526
12524
|
},
|
|
12527
12525
|
{
|
|
12528
12526
|
path: Os,
|
|
12529
|
-
component: () => import("./index-
|
|
12527
|
+
component: () => import("./index-B2YeFQ3Z.js")
|
|
12530
12528
|
}
|
|
12531
|
-
],
|
|
12532
|
-
routes:
|
|
12533
|
-
Layout:
|
|
12529
|
+
], _m = {
|
|
12530
|
+
routes: og,
|
|
12531
|
+
Layout: ng,
|
|
12534
12532
|
data: {
|
|
12535
|
-
homeInfo:
|
|
12533
|
+
homeInfo: yh,
|
|
12536
12534
|
personalConfig: Ei
|
|
12537
12535
|
},
|
|
12538
12536
|
hooks: {
|
|
@@ -12542,44 +12540,44 @@ const ag = [
|
|
|
12542
12540
|
};
|
|
12543
12541
|
export {
|
|
12544
12542
|
Ho as A,
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12543
|
+
lm as B,
|
|
12544
|
+
um as C,
|
|
12545
|
+
dm as D,
|
|
12546
|
+
fm as E,
|
|
12547
|
+
pm as F,
|
|
12548
|
+
hm as G,
|
|
12551
12549
|
ae as H,
|
|
12552
12550
|
mt as I,
|
|
12553
|
-
|
|
12554
|
-
|
|
12551
|
+
vm as J,
|
|
12552
|
+
gm as K,
|
|
12555
12553
|
me as L,
|
|
12556
|
-
|
|
12557
|
-
|
|
12554
|
+
xm as M,
|
|
12555
|
+
_m as N,
|
|
12558
12556
|
Ne as _,
|
|
12559
12557
|
jr as a,
|
|
12560
|
-
|
|
12558
|
+
Zg as b,
|
|
12561
12559
|
Fn as c,
|
|
12562
|
-
|
|
12560
|
+
om as d,
|
|
12563
12561
|
Q0 as e,
|
|
12564
12562
|
nc as f,
|
|
12565
12563
|
Qs as g,
|
|
12566
12564
|
rc as h,
|
|
12567
|
-
|
|
12565
|
+
tm as i,
|
|
12568
12566
|
oc as j,
|
|
12569
|
-
|
|
12567
|
+
rm as k,
|
|
12570
12568
|
ke as l,
|
|
12571
12569
|
an as m,
|
|
12572
12570
|
zo as n,
|
|
12573
12571
|
$t as o,
|
|
12574
12572
|
Ei as p,
|
|
12575
|
-
|
|
12576
|
-
|
|
12573
|
+
am as q,
|
|
12574
|
+
em as r,
|
|
12577
12575
|
ec as s,
|
|
12578
|
-
|
|
12576
|
+
nm as t,
|
|
12579
12577
|
_n as u,
|
|
12580
|
-
|
|
12581
|
-
|
|
12582
|
-
|
|
12578
|
+
sm as v,
|
|
12579
|
+
im as w,
|
|
12580
|
+
cm as x,
|
|
12583
12581
|
cc as y,
|
|
12584
12582
|
Ot as z
|
|
12585
12583
|
};
|