@das-fed/web 6.4.0-dev.116 → 6.4.0-dev.118
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/{packages/main-app-framework/index-CiQ3NPI4.js → index-ByvKrojI.js} +1 -1
- package/{index-DqOrjSdb.js → index-CUEaQqhg.js} +82 -82
- package/index-CUEaQqhg.js.gz +0 -0
- package/{index-D6Lh9Xp9.js → index-DNmPYqCc.js} +1 -1
- package/index-DNmPYqCc.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/{index-DJse0Ydy.js → packages/main-app-framework/index-BsqHCDiq.js} +1 -1
- package/packages/main-app-framework/{index-BE1WGhcO.js → index-CEUVvcoF.js} +1 -1
- package/packages/main-app-framework/index-CEUVvcoF.js.gz +0 -0
- package/packages/main-app-framework/{index-BoYlZeSG.js → index-DGMsib08.js} +88 -88
- package/packages/main-app-framework/index-DGMsib08.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/packages/main-app-framework/style.css +1 -1
- package/packages/main-app-framework/style.css.gz +0 -0
- package/style.css +1 -1
- package/style.css.gz +0 -0
- package/index-D6Lh9Xp9.js.gz +0 -0
- package/index-DqOrjSdb.js.gz +0 -0
- package/packages/main-app-framework/index-BE1WGhcO.js.gz +0 -0
- package/packages/main-app-framework/index-BoYlZeSG.js.gz +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { defineComponent as qA, ref as o, onUnmounted as Xn, createElementBlock as mA, createCommentVNode as nA, openBlock as fA, createElementVNode as k, createVNode as B, createTextVNode as aA, unref as V, toDisplayString as rA, watch as OA, createBlock as XA, computed as EA, mergeProps as bn, withCtx as J, renderSlot as r9, getCurrentScope as cn, onScopeDispose as an, getCurrentInstance as sn, onMounted as _A, nextTick as R9, reactive as g3, Fragment as i9, renderList as ye, withDirectives as h9, h as jA, render as Q9, vShow as
|
|
1
|
+
import { defineComponent as qA, ref as o, onUnmounted as Xn, createElementBlock as mA, createCommentVNode as nA, openBlock as fA, createElementVNode as k, createVNode as B, createTextVNode as aA, unref as V, toDisplayString as rA, watch as OA, createBlock as XA, computed as EA, mergeProps as bn, withCtx as J, renderSlot as r9, getCurrentScope as cn, onScopeDispose as an, getCurrentInstance as sn, onMounted as _A, nextTick as R9, reactive as g3, Fragment as i9, renderList as ye, withDirectives as h9, h as jA, render as Q9, vShow as af, normalizeClass as B3, isRef as FA, onBeforeUnmount as K9, useCssVars as qn, withModifiers as DA, toRefs as Hn, normalizeStyle as b7, createSlots as pn } from "vue";
|
|
2
2
|
import { DasWebLayout as xn, DasWebTabs as On, DasWebMenu as mn, DasWebNav as ln, layout as K, layoutData as k3 } from "@das-fed/web/packages/layout/index";
|
|
3
|
-
import { useRoute as
|
|
3
|
+
import { useRoute as sf, useRouter as y9 } from "vue-router";
|
|
4
4
|
import { microFrontend as NA } from "@das-fed/web/packages/micro-frontend/index";
|
|
5
|
-
import { i18n as AA, t as M, currentLang as
|
|
5
|
+
import { i18n as AA, t as M, currentLang as C9, setLang as Dn, setI18nRule as Vn } from "@das-fed/web/packages/i18n/index";
|
|
6
6
|
import { DasIconWarning as Nn } from "@das-fed/ui/packages/icons/warning/index";
|
|
7
7
|
import { DasIconClose2 as Rn } from "@das-fed/ui/packages/icons/close-2/index";
|
|
8
8
|
import { DasChangePwdRef as jn, DasChangePwd as Zn } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
9
9
|
import { DasChangeEnterprises as Tn } from "@das-fed/ui/packages/business-components/change-enterprises/index";
|
|
10
10
|
import { DasAiPanel as on } from "@das-fed/ui/packages/business-components/ai-panel/index";
|
|
11
|
-
import { getSubApps as uA, getTabInfo as ZA, getToken as t9, getTenantInfo as qf, getProjectInfo as GA, getPersonalInfo as
|
|
11
|
+
import { getSubApps as uA, getTabInfo as ZA, getToken as t9, getTenantInfo as qf, getProjectInfo as GA, getPersonalInfo as _9, getLanguages as Ln, getUserInfo as Q3, getMenus as zf } from "@das-fed/utils/common-info";
|
|
12
12
|
import { pureImageSrc as Hf } from "@das-fed/utils/pure-image-src";
|
|
13
|
-
import { DasNotification as
|
|
13
|
+
import { DasNotification as df } from "@das-fed/ui/packages/components/notification/index";
|
|
14
14
|
import { flatTree as QA, isEmpty as yn, filterTreeArray as Wn, treeFind as c7, setBrowseTitle as wn, updateFavIcon as En, dateFormat as In, runPromiseByQueue as Mn, objEqual as xe, setShowWatermark as Oe, setShowLayout as me, getUrlParams as gn, withToken as Bn } from "@das-fed/utils/common-tools";
|
|
15
15
|
import { setProcessEngineProject as Y3, setProcessEngineToken as G3 } from "@das-fed/utils/process-engine-info";
|
|
16
16
|
import { oauthServer as U3, justauth as We, enterpriseright as pf, iotModules as kn, portal as f9, systemConfiguration as xf } from "@das-fed/utils/api-services/modules";
|
|
@@ -31,7 +31,7 @@ import { devicePanelShow as K3, closeDevicePanel as Cn, alarmDevicePanelShow as
|
|
|
31
31
|
import { DasIconWarningFace as Ar } from "@das-fed/ui/packages/icons/warning-face/index";
|
|
32
32
|
import { socketService as mf } from "@das-fed/utils/webSocket-service";
|
|
33
33
|
import { userInfoNextTick as fr, tokenNextTick as lf } from "@das-fed/utils/nextTiken";
|
|
34
|
-
import { mainAppFramework as
|
|
34
|
+
import { mainAppFramework as Xf } from "@das-fed/web/packages/main-app-framework/index";
|
|
35
35
|
import { DasAutoRegisterIcon as C3, DasIcon as N9 } from "@das-fed/ui/packages/components/icon/index";
|
|
36
36
|
import { DasTooltip as WA } from "@das-fed/ui/packages/components/tooltip/index";
|
|
37
37
|
import { DasLivePlayer as er } from "@das-fed/ui/packages/components/live-player/index";
|
|
@@ -103,7 +103,7 @@ const hA = "/home", RA = "/application", $3 = [
|
|
|
103
103
|
}, qr = /* @__PURE__ */ gA(sr, [["__scopeId", "data-v-2470d845"]]), Hr = /* @__PURE__ */ qA({
|
|
104
104
|
__name: "index",
|
|
105
105
|
setup(e) {
|
|
106
|
-
const A =
|
|
106
|
+
const A = sf(), f = o("");
|
|
107
107
|
return OA(
|
|
108
108
|
() => A.path,
|
|
109
109
|
(v) => {
|
|
@@ -251,7 +251,7 @@ const p7 = [
|
|
|
251
251
|
"MSFullscreenError"
|
|
252
252
|
]
|
|
253
253
|
];
|
|
254
|
-
function
|
|
254
|
+
function $9(e, A = {}) {
|
|
255
255
|
const { document: f = Vr, autoExit: v = !1 } = A, r = e || (f == null ? void 0 : f.querySelector("html")), P = o(!1);
|
|
256
256
|
let t = p7[0];
|
|
257
257
|
const z = Rr(() => {
|
|
@@ -377,7 +377,7 @@ const yr = Yn.get("watermark"), Wr = /* @__PURE__ */ qA({
|
|
|
377
377
|
return n.value = !1, i;
|
|
378
378
|
};
|
|
379
379
|
X();
|
|
380
|
-
const a = y9(), c =
|
|
380
|
+
const a = y9(), c = sf();
|
|
381
381
|
return OA(
|
|
382
382
|
() => a.currentRoute.value,
|
|
383
383
|
(q) => {
|
|
@@ -633,7 +633,7 @@ const kr = (e = {}) => {
|
|
|
633
633
|
if (A.exitConfirmPages.includes(f) && !window.confirm(M("切换后已录入的数据将会丢失且不可恢复,确定切换?")))
|
|
634
634
|
throw new Error(M("取消切换"));
|
|
635
635
|
}
|
|
636
|
-
},
|
|
636
|
+
}, tf = (e, A) => {
|
|
637
637
|
if (!A || !A.length) return;
|
|
638
638
|
const f = JSON.parse(sessionStorage.getItem(e) || "{}");
|
|
639
639
|
if (f && JSON.stringify(f) !== "{}" && f != null && f.closeTabPageConfirm && f.closeTabPageConfirm.length) {
|
|
@@ -1983,18 +1983,18 @@ function dv() {
|
|
|
1983
1983
|
]);
|
|
1984
1984
|
},
|
|
1985
1985
|
_doProcessBlock: function(c, q) {
|
|
1986
|
-
for (var i = this._hash.words, H = i[0], b = i[1], s = i[2], x = i[3], m = i[4], l = i[5], R = i[6], D = i[7], j = H.high, O = H.low, N = b.high, Z = b.low, T = s.high, U = s.low, S = x.high, $ = x.low, G = m.high, Q = m.low, Y = l.high, F = l.low, L = R.high, W = R.low, E = D.high, w = D.low, zA = j, dA = O, lA = N, C = Z, _ = T, eA = U, d9 = S, h = $, I = G, g = Q, LA = Y, CA = F,
|
|
1987
|
-
var UA, v9,
|
|
1986
|
+
for (var i = this._hash.words, H = i[0], b = i[1], s = i[2], x = i[3], m = i[4], l = i[5], R = i[6], D = i[7], j = H.high, O = H.low, N = b.high, Z = b.low, T = s.high, U = s.low, S = x.high, $ = x.low, G = m.high, Q = m.low, Y = l.high, F = l.low, L = R.high, W = R.low, E = D.high, w = D.low, zA = j, dA = O, lA = N, C = Z, _ = T, eA = U, d9 = S, h = $, I = G, g = Q, LA = Y, CA = F, vf = L, I9 = W, Lf = E, M9 = w, JA = 0; JA < 80; JA++) {
|
|
1987
|
+
var UA, v9, nf = X[JA];
|
|
1988
1988
|
if (JA < 16)
|
|
1989
|
-
v9 =
|
|
1989
|
+
v9 = nf.high = c[q + JA * 2] | 0, UA = nf.low = c[q + JA * 2 + 1] | 0;
|
|
1990
1990
|
else {
|
|
1991
1991
|
var A7 = X[JA - 15], l9 = A7.high, g9 = A7.low, _v = (l9 >>> 1 | g9 << 31) ^ (l9 >>> 8 | g9 << 24) ^ l9 >>> 7, f7 = (g9 >>> 1 | l9 << 31) ^ (g9 >>> 8 | l9 << 24) ^ (g9 >>> 7 | l9 << 25), e7 = X[JA - 2], D9 = e7.high, B9 = e7.low, $v = (D9 >>> 19 | B9 << 13) ^ (D9 << 3 | B9 >>> 29) ^ D9 >>> 6, v7 = (B9 >>> 19 | D9 << 13) ^ (B9 << 3 | D9 >>> 29) ^ (B9 >>> 6 | D9 << 26), n7 = X[JA - 7], An = n7.high, fn = n7.low, r7 = X[JA - 16], en = r7.high, P7 = r7.low;
|
|
1992
|
-
UA = f7 + fn, v9 = _v + An + (UA >>> 0 < f7 >>> 0 ? 1 : 0), UA = UA + v7, v9 = v9 + $v + (UA >>> 0 < v7 >>> 0 ? 1 : 0), UA = UA + P7, v9 = v9 + en + (UA >>> 0 < P7 >>> 0 ? 1 : 0),
|
|
1992
|
+
UA = f7 + fn, v9 = _v + An + (UA >>> 0 < f7 >>> 0 ? 1 : 0), UA = UA + v7, v9 = v9 + $v + (UA >>> 0 < v7 >>> 0 ? 1 : 0), UA = UA + P7, v9 = v9 + en + (UA >>> 0 < P7 >>> 0 ? 1 : 0), nf.high = v9, nf.low = UA;
|
|
1993
1993
|
}
|
|
1994
|
-
var vn = I & LA ^ ~I &
|
|
1995
|
-
Lf =
|
|
1994
|
+
var vn = I & LA ^ ~I & vf, t7 = g & CA ^ ~g & I9, nn = zA & lA ^ zA & _ ^ lA & _, rn = dA & C ^ dA & eA ^ C & eA, Pn = (zA >>> 28 | dA << 4) ^ (zA << 30 | dA >>> 2) ^ (zA << 25 | dA >>> 7), u7 = (dA >>> 28 | zA << 4) ^ (dA << 30 | zA >>> 2) ^ (dA << 25 | zA >>> 7), tn = (I >>> 14 | g << 18) ^ (I >>> 18 | g << 14) ^ (I << 23 | g >>> 9), un = (g >>> 14 | I << 18) ^ (g >>> 18 | I << 14) ^ (g << 23 | I >>> 9), z7 = p[JA], zn = z7.high, d7 = z7.low, BA = M9 + un, n9 = Lf + tn + (BA >>> 0 < M9 >>> 0 ? 1 : 0), BA = BA + t7, n9 = n9 + vn + (BA >>> 0 < t7 >>> 0 ? 1 : 0), BA = BA + d7, n9 = n9 + zn + (BA >>> 0 < d7 >>> 0 ? 1 : 0), BA = BA + UA, n9 = n9 + v9 + (BA >>> 0 < UA >>> 0 ? 1 : 0), X7 = u7 + rn, dn = Pn + nn + (X7 >>> 0 < u7 >>> 0 ? 1 : 0);
|
|
1995
|
+
Lf = vf, M9 = I9, vf = LA, I9 = CA, LA = I, CA = g, g = h + BA | 0, I = d9 + n9 + (g >>> 0 < h >>> 0 ? 1 : 0) | 0, d9 = _, h = eA, _ = lA, eA = C, lA = zA, C = dA, dA = BA + X7 | 0, zA = n9 + dn + (dA >>> 0 < BA >>> 0 ? 1 : 0) | 0;
|
|
1996
1996
|
}
|
|
1997
|
-
O = H.low = O + dA, H.high = j + zA + (O >>> 0 < dA >>> 0 ? 1 : 0), Z = b.low = Z + C, b.high = N + lA + (Z >>> 0 < C >>> 0 ? 1 : 0), U = s.low = U + eA, s.high = T + _ + (U >>> 0 < eA >>> 0 ? 1 : 0), $ = x.low = $ + h, x.high = S + d9 + ($ >>> 0 < h >>> 0 ? 1 : 0), Q = m.low = Q + g, m.high = G + I + (Q >>> 0 < g >>> 0 ? 1 : 0), F = l.low = F + CA, l.high = Y + LA + (F >>> 0 < CA >>> 0 ? 1 : 0), W = R.low = W + I9, R.high = L +
|
|
1997
|
+
O = H.low = O + dA, H.high = j + zA + (O >>> 0 < dA >>> 0 ? 1 : 0), Z = b.low = Z + C, b.high = N + lA + (Z >>> 0 < C >>> 0 ? 1 : 0), U = s.low = U + eA, s.high = T + _ + (U >>> 0 < eA >>> 0 ? 1 : 0), $ = x.low = $ + h, x.high = S + d9 + ($ >>> 0 < h >>> 0 ? 1 : 0), Q = m.low = Q + g, m.high = G + I + (Q >>> 0 < g >>> 0 ? 1 : 0), F = l.low = F + CA, l.high = Y + LA + (F >>> 0 < CA >>> 0 ? 1 : 0), W = R.low = W + I9, R.high = L + vf + (W >>> 0 < I9 >>> 0 ? 1 : 0), w = D.low = w + M9, D.high = E + Lf + (w >>> 0 < M9 >>> 0 ? 1 : 0);
|
|
1998
1998
|
},
|
|
1999
1999
|
_doFinalize: function() {
|
|
2000
2000
|
var c = this._data, q = c.words, i = this._nDataBytes * 8, H = c.sigBytes * 8;
|
|
@@ -5922,7 +5922,7 @@ const qv = async (e, A) => {
|
|
|
5922
5922
|
return Yr(f.length), e ? { currentTenatConfig: null } : { tenantConfig: A };
|
|
5923
5923
|
}, Pt = async () => {
|
|
5924
5924
|
const [e, A] = await At().run({
|
|
5925
|
-
userId:
|
|
5925
|
+
userId: _9().id,
|
|
5926
5926
|
pageSize: 20,
|
|
5927
5927
|
pageIndex: 1
|
|
5928
5928
|
});
|
|
@@ -6004,7 +6004,7 @@ function Rt(e) {
|
|
|
6004
6004
|
return Nt.call(e);
|
|
6005
6005
|
}
|
|
6006
6006
|
var jt = "[object Null]", Zt = "[object Undefined]", r3 = Z9 ? Z9.toStringTag : void 0;
|
|
6007
|
-
function
|
|
6007
|
+
function Af(e) {
|
|
6008
6008
|
return e == null ? e === void 0 ? Zt : jt : r3 && r3 in Object(e) ? Dt(e) : Rt(e);
|
|
6009
6009
|
}
|
|
6010
6010
|
function Nf(e) {
|
|
@@ -6015,7 +6015,7 @@ var Tt = "[object AsyncFunction]", ot = "[object Function]", Lt = "[object Gener
|
|
|
6015
6015
|
function Rv(e) {
|
|
6016
6016
|
if (!Nf(e))
|
|
6017
6017
|
return !1;
|
|
6018
|
-
var A =
|
|
6018
|
+
var A = Af(e);
|
|
6019
6019
|
return A == ot || A == Lt || A == Tt || A == yt;
|
|
6020
6020
|
}
|
|
6021
6021
|
var ie = $A["__core-js_shared__"], P3 = function() {
|
|
@@ -6185,17 +6185,17 @@ function su(e, A) {
|
|
|
6185
6185
|
v[f] = A(f);
|
|
6186
6186
|
return v;
|
|
6187
6187
|
}
|
|
6188
|
-
function
|
|
6188
|
+
function ff(e) {
|
|
6189
6189
|
return e != null && typeof e == "object";
|
|
6190
6190
|
}
|
|
6191
6191
|
var qu = "[object Arguments]";
|
|
6192
6192
|
function u3(e) {
|
|
6193
|
-
return
|
|
6193
|
+
return ff(e) && Af(e) == qu;
|
|
6194
6194
|
}
|
|
6195
6195
|
var jv = Object.prototype, Hu = jv.hasOwnProperty, pu = jv.propertyIsEnumerable, xu = u3(/* @__PURE__ */ function() {
|
|
6196
6196
|
return arguments;
|
|
6197
6197
|
}()) ? u3 : function(e) {
|
|
6198
|
-
return
|
|
6198
|
+
return ff(e) && Hu.call(e, "callee") && !pu.call(e, "callee");
|
|
6199
6199
|
}, Qe = Array.isArray;
|
|
6200
6200
|
function Ou() {
|
|
6201
6201
|
return !1;
|
|
@@ -6213,7 +6213,7 @@ var ju = "[object Arguments]", Zu = "[object Array]", Tu = "[object Boolean]", o
|
|
|
6213
6213
|
cA[Yu] = cA[Gu] = cA[Uu] = cA[Ju] = cA[Fu] = cA[Su] = cA[hu] = cA[Ku] = cA[Cu] = !0;
|
|
6214
6214
|
cA[ju] = cA[Zu] = cA[ku] = cA[Tu] = cA[Qu] = cA[ou] = cA[Lu] = cA[yu] = cA[Wu] = cA[wu] = cA[Eu] = cA[Iu] = cA[Mu] = cA[gu] = cA[Bu] = !1;
|
|
6215
6215
|
function _u(e) {
|
|
6216
|
-
return
|
|
6216
|
+
return ff(e) && ov(e.length) && !!cA[Af(e)];
|
|
6217
6217
|
}
|
|
6218
6218
|
function Ye(e) {
|
|
6219
6219
|
return function(A) {
|
|
@@ -6295,9 +6295,9 @@ function xz(e, A, f) {
|
|
|
6295
6295
|
function Oz(e) {
|
|
6296
6296
|
return xz(e, dz, qz);
|
|
6297
6297
|
}
|
|
6298
|
-
var Ne = O9($A, "DataView"), Re = O9($A, "Promise"), je = O9($A, "Set"), Ze = O9($A, "WeakMap"), i3 = "[object Map]", mz = "[object Object]", s3 = "[object Promise]", q3 = "[object Set]", H3 = "[object WeakMap]", p3 = "[object DataView]", lz = x9(Ne), Dz = x9(U9), Vz = x9(Re), Nz = x9(je), Rz = x9(Ze), A9 =
|
|
6298
|
+
var Ne = O9($A, "DataView"), Re = O9($A, "Promise"), je = O9($A, "Set"), Ze = O9($A, "WeakMap"), i3 = "[object Map]", mz = "[object Object]", s3 = "[object Promise]", q3 = "[object Set]", H3 = "[object WeakMap]", p3 = "[object DataView]", lz = x9(Ne), Dz = x9(U9), Vz = x9(Re), Nz = x9(je), Rz = x9(Ze), A9 = Af;
|
|
6299
6299
|
(Ne && A9(new Ne(new ArrayBuffer(1))) != p3 || U9 && A9(new U9()) != i3 || Re && A9(Re.resolve()) != s3 || je && A9(new je()) != q3 || Ze && A9(new Ze()) != H3) && (A9 = function(e) {
|
|
6300
|
-
var A =
|
|
6300
|
+
var A = Af(e), f = A == mz ? e.constructor : void 0, v = f ? x9(f) : "";
|
|
6301
6301
|
if (v)
|
|
6302
6302
|
switch (v) {
|
|
6303
6303
|
case lz:
|
|
@@ -6392,16 +6392,16 @@ function vd(e) {
|
|
|
6392
6392
|
}
|
|
6393
6393
|
var nd = "[object Map]";
|
|
6394
6394
|
function rd(e) {
|
|
6395
|
-
return
|
|
6395
|
+
return ff(e) && A9(e) == nd;
|
|
6396
6396
|
}
|
|
6397
6397
|
var D3 = T9 && T9.isMap, Pd = D3 ? Ye(D3) : rd, td = "[object Set]";
|
|
6398
6398
|
function ud(e) {
|
|
6399
|
-
return
|
|
6399
|
+
return ff(e) && A9(e) == td;
|
|
6400
6400
|
}
|
|
6401
6401
|
var V3 = T9 && T9.isSet, zd = V3 ? Ye(V3) : ud, Ev = "[object Arguments]", dd = "[object Array]", Xd = "[object Boolean]", bd = "[object Date]", cd = "[object Error]", Iv = "[object Function]", ad = "[object GeneratorFunction]", id = "[object Map]", sd = "[object Number]", Mv = "[object Object]", qd = "[object RegExp]", Hd = "[object Set]", pd = "[object String]", xd = "[object Symbol]", Od = "[object WeakMap]", md = "[object ArrayBuffer]", ld = "[object DataView]", Dd = "[object Float32Array]", Vd = "[object Float64Array]", Nd = "[object Int8Array]", Rd = "[object Int16Array]", jd = "[object Int32Array]", Zd = "[object Uint8Array]", Td = "[object Uint8ClampedArray]", od = "[object Uint16Array]", Ld = "[object Uint32Array]", bA = {};
|
|
6402
6402
|
bA[Ev] = bA[dd] = bA[md] = bA[ld] = bA[Xd] = bA[bd] = bA[Dd] = bA[Vd] = bA[Nd] = bA[Rd] = bA[jd] = bA[id] = bA[sd] = bA[Mv] = bA[qd] = bA[Hd] = bA[pd] = bA[xd] = bA[Zd] = bA[Td] = bA[od] = bA[Ld] = !0;
|
|
6403
6403
|
bA[cd] = bA[Iv] = bA[Od] = !1;
|
|
6404
|
-
function
|
|
6404
|
+
function uf(e, A, f, v, r, P) {
|
|
6405
6405
|
var t;
|
|
6406
6406
|
if (t !== void 0)
|
|
6407
6407
|
return t;
|
|
@@ -6427,34 +6427,34 @@ function tf(e, A, f, v, r, P) {
|
|
|
6427
6427
|
if (u)
|
|
6428
6428
|
return u;
|
|
6429
6429
|
P.set(e, t), zd(e) ? e.forEach(function(a) {
|
|
6430
|
-
t.add(
|
|
6430
|
+
t.add(uf(a, A, f, a, e, P));
|
|
6431
6431
|
}) : Pd(e) && e.forEach(function(a, c) {
|
|
6432
|
-
t.set(c,
|
|
6432
|
+
t.set(c, uf(a, A, f, c, e, P));
|
|
6433
6433
|
});
|
|
6434
6434
|
var p = Oz, X = z ? void 0 : p(e);
|
|
6435
6435
|
return Xu(X || e, function(a, c) {
|
|
6436
|
-
X && (c = a, a = e[c]), iu(t, c,
|
|
6436
|
+
X && (c = a, a = e[c]), iu(t, c, uf(a, A, f, c, e, P));
|
|
6437
6437
|
}), t;
|
|
6438
6438
|
}
|
|
6439
6439
|
var yd = 1, Wd = 4;
|
|
6440
6440
|
function o9(e) {
|
|
6441
|
-
return
|
|
6441
|
+
return uf(e, yd | Wd);
|
|
6442
6442
|
}
|
|
6443
|
-
const
|
|
6443
|
+
const bf = (e, A = "") => {
|
|
6444
6444
|
for (let f of e)
|
|
6445
6445
|
if (!(f != null && f.disable) && !(f != null && f.expired))
|
|
6446
6446
|
if (A) {
|
|
6447
6447
|
if (f.routeUrl && f.code === A)
|
|
6448
6448
|
return f;
|
|
6449
6449
|
if (f.children && f.children.length) {
|
|
6450
|
-
const v =
|
|
6450
|
+
const v = bf(f.children, A);
|
|
6451
6451
|
if (v) return v;
|
|
6452
6452
|
}
|
|
6453
6453
|
} else {
|
|
6454
6454
|
if (f.routeUrl)
|
|
6455
6455
|
return f;
|
|
6456
6456
|
if (f.children && f.children.length) {
|
|
6457
|
-
const v =
|
|
6457
|
+
const v = bf(f.children, A);
|
|
6458
6458
|
if (v) return v;
|
|
6459
6459
|
}
|
|
6460
6460
|
}
|
|
@@ -6600,7 +6600,7 @@ const Xf = (e, A = "") => {
|
|
|
6600
6600
|
query: { ...r.query, app: z }
|
|
6601
6601
|
};
|
|
6602
6602
|
}
|
|
6603
|
-
let p =
|
|
6603
|
+
let p = bf(d, f);
|
|
6604
6604
|
if (!p) {
|
|
6605
6605
|
if (!P || !t)
|
|
6606
6606
|
return { menuConfig: d, currentApp: null, currentMenu: null, query: { ...r.query, app: z } };
|
|
@@ -6711,7 +6711,7 @@ const Xf = (e, A = "") => {
|
|
|
6711
6711
|
};
|
|
6712
6712
|
}, P5 = async () => {
|
|
6713
6713
|
const [e, A] = await f5().run();
|
|
6714
|
-
let f =
|
|
6714
|
+
let f = C9.value;
|
|
6715
6715
|
return A != null && A.type && A.type === 1 && (f = "zh-CN"), A != null && A.type && A.type === 2 && (f = "en"), Dn(f), {
|
|
6716
6716
|
langConfig: { ...A }
|
|
6717
6717
|
};
|
|
@@ -6739,7 +6739,7 @@ const Xf = (e, A = "") => {
|
|
|
6739
6739
|
style: f.value ? 1 : 2,
|
|
6740
6740
|
skinStyle: u()
|
|
6741
6741
|
}), X = EA(() => {
|
|
6742
|
-
const q =
|
|
6742
|
+
const q = C9.value === "zh-CN";
|
|
6743
6743
|
return {
|
|
6744
6744
|
default: q ? c5 : q5,
|
|
6745
6745
|
kjl: q ? a5 : H5,
|
|
@@ -6952,7 +6952,7 @@ const Xf = (e, A = "") => {
|
|
|
6952
6952
|
512
|
|
6953
6953
|
/* NEED_PATCH */
|
|
6954
6954
|
)), [
|
|
6955
|
-
[
|
|
6955
|
+
[af, q.isShow]
|
|
6956
6956
|
]);
|
|
6957
6957
|
}
|
|
6958
6958
|
}), B5 = /* @__PURE__ */ gA(g5, [["__scopeId", "data-v-cea07b15"]]), k5 = { class: "set-lang" }, Q5 = /* @__PURE__ */ qA({
|
|
@@ -6970,7 +6970,7 @@ const Xf = (e, A = "") => {
|
|
|
6970
6970
|
code: 2,
|
|
6971
6971
|
name: "English"
|
|
6972
6972
|
}
|
|
6973
|
-
]), v = EA(() => ({ type:
|
|
6973
|
+
]), v = EA(() => ({ type: C9.value === "zh-CN" ? 1 : 2 }));
|
|
6974
6974
|
return A({
|
|
6975
6975
|
getResult: () => ({ ...v.value })
|
|
6976
6976
|
}), (P, t) => h9((fA(), mA(
|
|
@@ -7002,10 +7002,10 @@ const Xf = (e, A = "") => {
|
|
|
7002
7002
|
512
|
|
7003
7003
|
/* NEED_PATCH */
|
|
7004
7004
|
)), [
|
|
7005
|
-
[
|
|
7005
|
+
[af, P.isShow]
|
|
7006
7006
|
]);
|
|
7007
7007
|
}
|
|
7008
|
-
}), Y5 = /* @__PURE__ */ gA(Q5, [["__scopeId", "data-v-b5871b7c"]]),
|
|
7008
|
+
}), Y5 = /* @__PURE__ */ gA(Q5, [["__scopeId", "data-v-b5871b7c"]]), ef = "v1", G5 = `/api/portal/manager/${ef}`, Fe = oA(G5), U5 = `/api/orchestration-engine/${ef}`, Se = oA(`${U5}`), J5 = `/api/workbench/workbench-server/${ef}`, F5 = oA(J5), S5 = `/workflow/form/form/${ef}`, h5 = oA(S5), K5 = `/api/portal/user/${ef}`, Yv = oA(K5), C5 = Yv.get("/home"), _5 = Yv.delete("/home"), $5 = Fe.get("/basics/home/type"), A6 = Fe.get("/basics/tree-page"), f6 = Fe.get("/basics/list"), e6 = Se.get("/device-list/arrange/page"), v6 = Se.get("/drawingArrangement/list"), n6 = Se.get("/data/arrange/page"), r6 = F5.get("/page/portal/list"), P6 = h5.post("/list"), t6 = (e) => {
|
|
7009
7009
|
const { orgInfo: A, information: f, validate: v } = e, r = o(!1), P = o(""), t = o(""), z = o(""), d = o([]), n = o({
|
|
7010
7010
|
id: "0",
|
|
7011
7011
|
path: "",
|
|
@@ -7071,7 +7071,7 @@ const Xf = (e, A = "") => {
|
|
|
7071
7071
|
}
|
|
7072
7072
|
};
|
|
7073
7073
|
}, u6 = "/enterpriseadmin/ioc-server/ioc-server/ws";
|
|
7074
|
-
let
|
|
7074
|
+
let rf = null;
|
|
7075
7075
|
const z6 = (e) => {
|
|
7076
7076
|
const { information: A, orgInfo: f } = e, v = EA(() => f.id), r = o(!1), P = o(0), t = o([
|
|
7077
7077
|
{ value: 0, label: M("图纸") },
|
|
@@ -7098,7 +7098,7 @@ const z6 = (e) => {
|
|
|
7098
7098
|
n.value = 1, u.value = 0, p.value = "";
|
|
7099
7099
|
}, R = () => {
|
|
7100
7100
|
var G, Q, Y;
|
|
7101
|
-
l(), P.value = ((G = A.value) == null ? void 0 : G.urlType) ?? 0, X.value = ((Q = A.value) == null ? void 0 : Q.urlId) ?? "", a.value = ((Y = A.value) == null ? void 0 : Y.routeUrl) ?? "",
|
|
7101
|
+
l(), P.value = ((G = A.value) == null ? void 0 : G.urlType) ?? 0, X.value = ((Q = A.value) == null ? void 0 : Q.urlId) ?? "", a.value = ((Y = A.value) == null ? void 0 : Y.routeUrl) ?? "", rf.afterMsg = x, N(), r.value = !0;
|
|
7102
7102
|
}, D = (G, Q, Y) => {
|
|
7103
7103
|
a.value = Q.url;
|
|
7104
7104
|
}, j = () => {
|
|
@@ -7120,7 +7120,7 @@ const z6 = (e) => {
|
|
|
7120
7120
|
})[P.value]();
|
|
7121
7121
|
}, Z = async () => {
|
|
7122
7122
|
const G = ["explore", "explore-displays", `proj/${v.value}`];
|
|
7123
|
-
|
|
7123
|
+
rf.send(JSON.stringify(G));
|
|
7124
7124
|
}, T = async () => {
|
|
7125
7125
|
const G = {
|
|
7126
7126
|
project: v.value,
|
|
@@ -7179,7 +7179,7 @@ const z6 = (e) => {
|
|
|
7179
7179
|
z.value = Y.data.map((F) => (F.type = M("数据编排"), F)) || [], u.value = Y.totalCount;
|
|
7180
7180
|
};
|
|
7181
7181
|
return _A(() => {
|
|
7182
|
-
|
|
7182
|
+
rf || (rf = new mf({ url: u6, reconnectWhenClose: !0, message: x }));
|
|
7183
7183
|
}), {
|
|
7184
7184
|
loading: c,
|
|
7185
7185
|
urlDialog: r,
|
|
@@ -7436,7 +7436,7 @@ const z6 = (e) => {
|
|
|
7436
7436
|
512
|
|
7437
7437
|
/* NEED_PATCH */
|
|
7438
7438
|
), [
|
|
7439
|
-
[
|
|
7439
|
+
[af, C.isShow]
|
|
7440
7440
|
]),
|
|
7441
7441
|
nA(" 内置链接选择弹窗 "),
|
|
7442
7442
|
B(V(j9), {
|
|
@@ -7774,7 +7774,7 @@ const z6 = (e) => {
|
|
|
7774
7774
|
v.value && (t = f.value) != null && t.contentWindow && ((z = f.value.contentWindow) == null || z.postMessage(
|
|
7775
7775
|
{
|
|
7776
7776
|
token: t9(),
|
|
7777
|
-
userInfo:
|
|
7777
|
+
userInfo: _9(),
|
|
7778
7778
|
projectInfo: GA()
|
|
7779
7779
|
},
|
|
7780
7780
|
A.src
|
|
@@ -7799,7 +7799,7 @@ const z6 = (e) => {
|
|
|
7799
7799
|
src: t.src,
|
|
7800
7800
|
onLoad: P
|
|
7801
7801
|
}, null, 40, y6), [
|
|
7802
|
-
[
|
|
7802
|
+
[af, v.value]
|
|
7803
7803
|
])
|
|
7804
7804
|
]),
|
|
7805
7805
|
_: 1
|
|
@@ -7813,7 +7813,7 @@ const z6 = (e) => {
|
|
|
7813
7813
|
Ur(n), En(n);
|
|
7814
7814
|
}, f = async () => {
|
|
7815
7815
|
const [t, z] = await w6().run({ userId: Q3().id });
|
|
7816
|
-
t || !z || JSON.stringify(z) === "{}" || (
|
|
7816
|
+
t || !z || JSON.stringify(z) === "{}" || (df.open({
|
|
7817
7817
|
key: "loginTip",
|
|
7818
7818
|
message: M("上次登录信息"),
|
|
7819
7819
|
placement: "bottomRight",
|
|
@@ -7846,7 +7846,7 @@ const z6 = (e) => {
|
|
|
7846
7846
|
initNextTick: P
|
|
7847
7847
|
};
|
|
7848
7848
|
}, I6 = (e, A, f) => (A >= e.length || f < 0 || f >= e.length || ([e[A], e[f]] = [e[f], e[A]]), e), M6 = (e) => {
|
|
7849
|
-
const A = y9(), f =
|
|
7849
|
+
const A = y9(), f = sf(), { getMenu: v } = Qn(), { getHistoryList: r, getSearchList: P } = A1(), t = o("0"), z = o(!0), d = o([]), n = o([]), u = o(!1), p = o(!1), X = o(!1);
|
|
7850
7850
|
OA(
|
|
7851
7851
|
() => f.path,
|
|
7852
7852
|
(b) => {
|
|
@@ -7906,7 +7906,7 @@ const z6 = (e) => {
|
|
|
7906
7906
|
// 树打平之后保留的数据
|
|
7907
7907
|
filterFlatCondition: (T) => T.type === 7
|
|
7908
7908
|
}), K.nav.setProjects(m || []), l && K.nav.setActiveProject(l));
|
|
7909
|
-
const j =
|
|
7909
|
+
const j = _9() ?? {}, O = j != null && j.headPicture ? Hf(j.headPicture) : void 0;
|
|
7910
7910
|
n.value = [...cr].map((T) => ({
|
|
7911
7911
|
...T,
|
|
7912
7912
|
label: M(T.label)
|
|
@@ -7951,7 +7951,7 @@ const z6 = (e) => {
|
|
|
7951
7951
|
K.menu.addEventListener("onItemClick", async (A) => {
|
|
7952
7952
|
var P;
|
|
7953
7953
|
xA.innerSet = !0;
|
|
7954
|
-
const f = QA(
|
|
7954
|
+
const f = QA(zf(A.applicationCode)).filter((t) => !t.disable && !t.expired).find((t) => t.code === A.code);
|
|
7955
7955
|
if (f && !f.routeUrl) return;
|
|
7956
7956
|
if (!f) {
|
|
7957
7957
|
const { title: t, content: z, desc: d } = await he(f);
|
|
@@ -7979,9 +7979,9 @@ const z6 = (e) => {
|
|
|
7979
7979
|
const P = uA();
|
|
7980
7980
|
if (!((n = P.subAppList) != null && n.length) || P.subAppList.findIndex((u) => u.code === r.code) === -1) return;
|
|
7981
7981
|
const d = (ZA().tabMap[r.code] ?? []).map((u) => u.code);
|
|
7982
|
-
d && d.length &&
|
|
7982
|
+
d && d.length && tf(r.code, d), A(r);
|
|
7983
7983
|
});
|
|
7984
|
-
const { enter: v } =
|
|
7984
|
+
const { enter: v } = $9();
|
|
7985
7985
|
return K.nav.addEventListener("fullScreenHandle", v), {};
|
|
7986
7986
|
}, Q6 = () => {
|
|
7987
7987
|
const e = y9(), A = o(""), f = o(""), v = o("");
|
|
@@ -8004,7 +8004,7 @@ const z6 = (e) => {
|
|
|
8004
8004
|
);
|
|
8005
8005
|
const { deleteApp: t } = m9(), { entryMenu: z } = jf(), { reloadRoute: d, unloadRoute: n } = Uv(), u = (c) => {
|
|
8006
8006
|
var b;
|
|
8007
|
-
const q = QA(
|
|
8007
|
+
const q = QA(zf(c.applicationCode)).find((s) => s.code === c.code), H = (((b = ZA().tabMap) == null ? void 0 : b[c.applicationCode]) ?? []).find((s) => s.code === c.code);
|
|
8008
8008
|
z({ currentMenu: q, route: { path: H.path, query: H.query ?? {} } });
|
|
8009
8009
|
}, p = (c) => {
|
|
8010
8010
|
if (!c || !c.length) return;
|
|
@@ -8055,7 +8055,7 @@ const z6 = (e) => {
|
|
|
8055
8055
|
ZA().currentCode !== c.currentCode && (xA.innerSet = !0, u(c));
|
|
8056
8056
|
}), K.tab.addEventListener("onItemRemove", (c) => {
|
|
8057
8057
|
const q = ZA(), i = uA().currentSubAppCode ?? "";
|
|
8058
|
-
q.tabMap[i].findIndex((s) => s.code === c.code) !== -1 && (
|
|
8058
|
+
q.tabMap[i].findIndex((s) => s.code === c.code) !== -1 && (tf(c.applicationCode, [c.code]), X({ type: "me", data: c }));
|
|
8059
8059
|
}), K.tab.addEventListener("onMenuClick", (c) => {
|
|
8060
8060
|
let q = [];
|
|
8061
8061
|
const i = ZA().tabMap[c.applicationCode] ?? [];
|
|
@@ -8063,7 +8063,7 @@ const z6 = (e) => {
|
|
|
8063
8063
|
const H = i.findIndex((b) => b.code === c.data.value);
|
|
8064
8064
|
q = i.slice(H + 1);
|
|
8065
8065
|
}
|
|
8066
|
-
c.type.key === "other" && (q = i.filter((H) => H.code !== c.data.value)), c.type.key === "all" && (q = [...i]),
|
|
8066
|
+
c.type.key === "other" && (q = i.filter((H) => H.code !== c.data.value)), c.type.key === "all" && (q = [...i]), tf(
|
|
8067
8067
|
c.applicationCode,
|
|
8068
8068
|
q.map((H) => H.code)
|
|
8069
8069
|
), X({ type: c.type.key, data: c.data });
|
|
@@ -8073,8 +8073,8 @@ const z6 = (e) => {
|
|
|
8073
8073
|
K.iframeView.triggerEventListener("onRefreshCurrentPage");
|
|
8074
8074
|
return;
|
|
8075
8075
|
}
|
|
8076
|
-
|
|
8077
|
-
const q = QA(
|
|
8076
|
+
tf(c.applicationCode, [c.code]);
|
|
8077
|
+
const q = QA(zf(c.applicationCode)).find((b) => b.code === c.code);
|
|
8078
8078
|
if (!q) return;
|
|
8079
8079
|
if (q.routeUrl !== c.path) {
|
|
8080
8080
|
d([c.path]), n([`/${c.applicationPath}${q.routeUrl}`]), await z({ currentMenu: q });
|
|
@@ -8083,7 +8083,7 @@ const z6 = (e) => {
|
|
|
8083
8083
|
const i = { app: q.applicationCode, menu: q.code }, H = { ...c.query };
|
|
8084
8084
|
xe(i, H) || await z({ currentMenu: q }), d([c.path]);
|
|
8085
8085
|
});
|
|
8086
|
-
const { enter: a } =
|
|
8086
|
+
const { enter: a } = $9();
|
|
8087
8087
|
return K.tab.addEventListener("onToggleFullScreen", a), { fontColor: A, backgroudColor: f, borderColor: v };
|
|
8088
8088
|
}, qe = u9(), j3 = (qe == null ? void 0 : qe.isAutoCloseApp) ?? !0, Z3 = location.href.includes("showLayout=false"), T3 = window.self !== window.top, Y6 = () => {
|
|
8089
8089
|
const e = () => {
|
|
@@ -8121,7 +8121,7 @@ const z6 = (e) => {
|
|
|
8121
8121
|
if (l) return !1;
|
|
8122
8122
|
i = x ?? [], H = m ?? [];
|
|
8123
8123
|
}
|
|
8124
|
-
if (i.length ?
|
|
8124
|
+
if (i.length ? bf(i) || (await G9({
|
|
8125
8125
|
title: M("提示"),
|
|
8126
8126
|
content: M("此应用菜单已过期/已收回/配置有误") + "<br/>" + M("无法使用")
|
|
8127
8127
|
}), b = !0) : (await G9({ title: M("提示"), content: M("此应用未配置菜单/无菜单权限") + "<br/>" + M("无法使用") }), b = !0), b) return !1;
|
|
@@ -8520,7 +8520,7 @@ const z6 = (e) => {
|
|
|
8520
8520
|
};
|
|
8521
8521
|
}, J6 = U3.get("/convert/tenant"), F6 = We.get("/platform/withdefault"), Jv = () => {
|
|
8522
8522
|
const e = u9(), A = o(!1), f = o(""), v = o(""), r = () => {
|
|
8523
|
-
f.value =
|
|
8523
|
+
f.value = _9().id, v.value = Q3().tenantId, A.value = !0;
|
|
8524
8524
|
};
|
|
8525
8525
|
K.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
8526
8526
|
r();
|
|
@@ -8629,7 +8629,7 @@ const z6 = (e) => {
|
|
|
8629
8629
|
}), e1 = () => {
|
|
8630
8630
|
NA.addEventListenerFromMicroApp("iot:change-instance", (e) => {
|
|
8631
8631
|
const A = uA(), f = A.currentSubAppCode;
|
|
8632
|
-
let v =
|
|
8632
|
+
let v = zf(f);
|
|
8633
8633
|
v.forEach((P) => {
|
|
8634
8634
|
P.fixed && (P.name = e.data.instanceInfo.instanceName);
|
|
8635
8635
|
}), K.menu.setItems(v);
|
|
@@ -8667,7 +8667,7 @@ const z6 = (e) => {
|
|
|
8667
8667
|
$n();
|
|
8668
8668
|
});
|
|
8669
8669
|
}, r1 = xf.get("/platform/login/pwd-advance-notify-check"), P1 = () => {
|
|
8670
|
-
const e = o([]), A = o(null), f = o([]), { entryApp: v } =
|
|
8670
|
+
const e = o([]), A = o(null), f = o([]), { entryApp: v } = Xf.hooks.useEntryApp(), r = () => {
|
|
8671
8671
|
var d;
|
|
8672
8672
|
const z = (((d = uA().appcategorys) == null ? void 0 : d.map((n) => n.apps).flat()) ?? []).find((n) => n.code === "messagecenter");
|
|
8673
8673
|
z && v({ microApp: z });
|
|
@@ -8683,8 +8683,8 @@ const z6 = (e) => {
|
|
|
8683
8683
|
const d = GA().id;
|
|
8684
8684
|
e.value = t.filter(
|
|
8685
8685
|
(n) => n.projectId === d || n.projectId === 0 || n.projectId === "0"
|
|
8686
|
-
), f.value && f.value.length && (f.value.forEach((n) =>
|
|
8687
|
-
|
|
8686
|
+
), f.value && f.value.length && (f.value.forEach((n) => df.close(n)), f.value = []), await R9(), e.value.forEach((n, u) => {
|
|
8687
|
+
df.info({
|
|
8688
8688
|
key: n.id,
|
|
8689
8689
|
class: "message-center-notify",
|
|
8690
8690
|
message: n.title,
|
|
@@ -8747,7 +8747,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
8747
8747
|
qn((u) => ({
|
|
8748
8748
|
"23bfa220": n.value
|
|
8749
8749
|
}));
|
|
8750
|
-
const f = e, v = A, r = o(), { toggle: P, isFullscreen: t } =
|
|
8750
|
+
const f = e, v = A, r = o(), { toggle: P, isFullscreen: t } = $9(r), z = () => {
|
|
8751
8751
|
r.value != document.fullscreenElement && (t.value ? (t.value = !1, R9(() => {
|
|
8752
8752
|
P();
|
|
8753
8753
|
})) : P());
|
|
@@ -9224,7 +9224,7 @@ const b1 = u1.post("data/device-auth"), c1 = /* @__PURE__ */ qA({
|
|
|
9224
9224
|
function L1(e) {
|
|
9225
9225
|
const A = o(0), f = o(), {
|
|
9226
9226
|
toggle: v
|
|
9227
|
-
} =
|
|
9227
|
+
} = $9(f);
|
|
9228
9228
|
return {
|
|
9229
9229
|
render: () => B(q1, {
|
|
9230
9230
|
ref: f,
|
|
@@ -9585,7 +9585,7 @@ async function Kv(e, A, f, v, r, P) {
|
|
|
9585
9585
|
e.log(y.Trace, `(${A} transport) request complete. Response status: ${u.statusCode}.`);
|
|
9586
9586
|
}
|
|
9587
9587
|
function Q1(e) {
|
|
9588
|
-
return e === void 0 ? new
|
|
9588
|
+
return e === void 0 ? new cf(y.Information) : e === null ? F9.instance : e.log !== void 0 ? e : new cf(e);
|
|
9589
9589
|
}
|
|
9590
9590
|
class Y1 {
|
|
9591
9591
|
constructor(A, f) {
|
|
@@ -9597,7 +9597,7 @@ class Y1 {
|
|
|
9597
9597
|
});
|
|
9598
9598
|
}
|
|
9599
9599
|
}
|
|
9600
|
-
class
|
|
9600
|
+
class cf {
|
|
9601
9601
|
constructor(A) {
|
|
9602
9602
|
this._minLevel = A, this.out = console;
|
|
9603
9603
|
}
|
|
@@ -10930,10 +10930,10 @@ function X8(e, A) {
|
|
|
10930
10930
|
}
|
|
10931
10931
|
class _e {
|
|
10932
10932
|
constructor(A) {
|
|
10933
|
-
this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new
|
|
10933
|
+
this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new Pf(), this._transportResult = new Pf(), this._sendLoopPromise = this._sendLoop();
|
|
10934
10934
|
}
|
|
10935
10935
|
send(A) {
|
|
10936
|
-
return this._bufferData(A), this._transportResult || (this._transportResult = new
|
|
10936
|
+
return this._bufferData(A), this._transportResult || (this._transportResult = new Pf()), this._transportResult.promise;
|
|
10937
10937
|
}
|
|
10938
10938
|
stop() {
|
|
10939
10939
|
return this._executing = !1, this._sendBufferedData.resolve(), this._sendLoopPromise;
|
|
@@ -10949,7 +10949,7 @@ class _e {
|
|
|
10949
10949
|
this._transportResult && this._transportResult.reject("Connection stopped.");
|
|
10950
10950
|
break;
|
|
10951
10951
|
}
|
|
10952
|
-
this._sendBufferedData = new
|
|
10952
|
+
this._sendBufferedData = new Pf();
|
|
10953
10953
|
const A = this._transportResult;
|
|
10954
10954
|
this._transportResult = void 0;
|
|
10955
10955
|
const f = typeof this._buffer[0] == "string" ? this._buffer.join("") : _e._concatBuffers(this._buffer);
|
|
@@ -10969,7 +10969,7 @@ class _e {
|
|
|
10969
10969
|
return v.buffer;
|
|
10970
10970
|
}
|
|
10971
10971
|
}
|
|
10972
|
-
class
|
|
10972
|
+
class Pf {
|
|
10973
10973
|
constructor() {
|
|
10974
10974
|
this.promise = new Promise((A, f) => [this._resolver, this._rejecter] = [A, f]);
|
|
10975
10975
|
}
|
|
@@ -11085,9 +11085,9 @@ class s8 {
|
|
|
11085
11085
|
this.logger = A;
|
|
11086
11086
|
else if (typeof A == "string") {
|
|
11087
11087
|
const f = i8(A);
|
|
11088
|
-
this.logger = new
|
|
11088
|
+
this.logger = new cf(f);
|
|
11089
11089
|
} else
|
|
11090
|
-
this.logger = new
|
|
11090
|
+
this.logger = new cf(A);
|
|
11091
11091
|
return this;
|
|
11092
11092
|
}
|
|
11093
11093
|
withUrl(A, f) {
|
|
@@ -11167,7 +11167,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
|
|
|
11167
11167
|
const r = QA(v).find((P) => P.code === A);
|
|
11168
11168
|
return r || null;
|
|
11169
11169
|
}, R8 = () => {
|
|
11170
|
-
const e =
|
|
11170
|
+
const e = sf(), { entryApp: A } = Xf.hooks.useEntryApp(), { entryMenu: f } = Xf.hooks.useEntryMenu();
|
|
11171
11171
|
let v = null;
|
|
11172
11172
|
return _A(async () => {
|
|
11173
11173
|
var H;
|
|
@@ -11814,7 +11814,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
|
|
|
11814
11814
|
class: "select",
|
|
11815
11815
|
modelValue: n.value.interval,
|
|
11816
11816
|
"onUpdate:modelValue": I[25] || (I[25] = (g) => n.value.interval = g),
|
|
11817
|
-
width: V(
|
|
11817
|
+
width: V(C9) == "zh-CN" ? "65px" : "85px",
|
|
11818
11818
|
fieldNames: {
|
|
11819
11819
|
value: "id",
|
|
11820
11820
|
label: "name"
|
|
@@ -11852,7 +11852,7 @@ const D8 = oA(`/api/tool/event-bus/${Tf}/`), pe = D8.post("/publish"), V8 = pf.g
|
|
|
11852
11852
|
}), S8 = /* @__PURE__ */ gA(F8, [["__scopeId", "data-v-2eaa1bda"]]), h8 = (e, A, f) => ({
|
|
11853
11853
|
handleAlarmVue: () => jA(S8, {
|
|
11854
11854
|
handerIds: A.value,
|
|
11855
|
-
projectId:
|
|
11855
|
+
projectId: _9().id,
|
|
11856
11856
|
ref: e,
|
|
11857
11857
|
onEmitFn: (r, P) => {
|
|
11858
11858
|
}
|
|
@@ -12039,7 +12039,7 @@ const cX = () => {
|
|
|
12039
12039
|
var O;
|
|
12040
12040
|
const j = [];
|
|
12041
12041
|
j.push({ alarmId: D.recordId }), r.value = j, (O = f.value) == null || O.open();
|
|
12042
|
-
}, { entryApp: p } =
|
|
12042
|
+
}, { entryApp: p } = Xf.hooks.useEntryApp(), X = (D) => {
|
|
12043
12043
|
K3(D.equipmentCode, D.equipmentPanelCode);
|
|
12044
12044
|
}, { handleAlarmVue: a } = h8(f, r), c = async () => {
|
|
12045
12045
|
var O;
|
|
@@ -12053,7 +12053,7 @@ const cX = () => {
|
|
|
12053
12053
|
}, H = (D) => {
|
|
12054
12054
|
if (!D) return;
|
|
12055
12055
|
const j = bX();
|
|
12056
|
-
|
|
12056
|
+
df.open({
|
|
12057
12057
|
key: j,
|
|
12058
12058
|
class: "alarm-notify",
|
|
12059
12059
|
message: AA("新告警").value,
|
|
@@ -12167,7 +12167,7 @@ const cX = () => {
|
|
|
12167
12167
|
showLayout: { type: Boolean, default: !0 }
|
|
12168
12168
|
},
|
|
12169
12169
|
setup(e) {
|
|
12170
|
-
const A = e, { isFullscreen: f } =
|
|
12170
|
+
const A = e, { isFullscreen: f } = $9(), v = u9().showLayout ?? !0, r = EA(() => v && A.showLayout && !f.value), P = EA(() => xA.excludeRoutes), t = EA(() => xA.routeKeepAliveVisible), z = EA(() => ({ mode: SA.value.style === 1 ? "vertical" : "inline" }));
|
|
12171
12171
|
OA(
|
|
12172
12172
|
() => k3.nav.activeItem,
|
|
12173
12173
|
(j) => {
|
|
@@ -12191,7 +12191,7 @@ const cX = () => {
|
|
|
12191
12191
|
default: J(() => [
|
|
12192
12192
|
B(pr, {
|
|
12193
12193
|
loading: V(n),
|
|
12194
|
-
pageKey: V(u),
|
|
12194
|
+
pageKey: V(u) + V(C9),
|
|
12195
12195
|
showLayout: r.value,
|
|
12196
12196
|
excludeRoutes: P.value,
|
|
12197
12197
|
routeKeepAliveVisible: t.value,
|
|
@@ -12252,7 +12252,7 @@ const cX = () => {
|
|
|
12252
12252
|
B(V(iX))
|
|
12253
12253
|
]));
|
|
12254
12254
|
}
|
|
12255
|
-
}), HX = /* @__PURE__ */ gA(qX, [["__scopeId", "data-v-
|
|
12255
|
+
}), HX = /* @__PURE__ */ gA(qX, [["__scopeId", "data-v-bc5e05fa"]]), pX = {
|
|
12256
12256
|
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
|
|
12257
12257
|
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
|
|
12258
12258
|
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
|
|
@@ -12422,11 +12422,11 @@ o("@das-fed/web");
|
|
|
12422
12422
|
const xX = [
|
|
12423
12423
|
{
|
|
12424
12424
|
path: RA,
|
|
12425
|
-
component: () => import("./index-
|
|
12425
|
+
component: () => import("./index-CEUVvcoF.js")
|
|
12426
12426
|
},
|
|
12427
12427
|
{
|
|
12428
12428
|
path: Av,
|
|
12429
|
-
component: () => import("./index-
|
|
12429
|
+
component: () => import("./index-BsqHCDiq.js")
|
|
12430
12430
|
}
|
|
12431
12431
|
], O2 = {
|
|
12432
12432
|
routes: xX,
|
|
Binary file
|