@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,6 +1,6 @@
|
|
|
1
1
|
import { ref as T, createApp as rr, reactive as Xe, computed as vA, defineComponent as iA, watch as sA, createElementBlock as dA, openBlock as G, Fragment as fe, createBlock as tA, createCommentVNode as $, TransitionGroup as tr, normalizeProps as Cf, mergeProps as x9, withCtx as Q, renderList as he, withDirectives as EA, resolveDynamicComponent as Ye, vShow as YA, unref as D, nextTick as ae, resolveComponent as Pr, createElementVNode as M, normalizeStyle as _f, normalizeClass as a7, renderSlot as LA, createVNode as g, Transition as F7, guardReactiveProps as S7, KeepAlive as K7, h as RA, onBeforeMount as ur, onMounted as de, onUnmounted as ov, getCurrentScope as dr, onScopeDispose as zr, getCurrentInstance as Xr, onActivated as cr, createTextVNode as mA, toDisplayString as PA, render as c9, isRef as ne, onBeforeUnmount as O9, useCssVars as br, withModifiers as oA, toRefs as ar, createSlots as ir } from "vue";
|
|
2
2
|
import { initTheme as sr, setThemeRule as qr, getVar as C7 } from "@das-fed/web/packages/theme/index";
|
|
3
|
-
import { initI18n as Hr, i18n as fA, t as B, currentLang as
|
|
3
|
+
import { initI18n as Hr, i18n as fA, t as B, currentLang as D9, setLang as pr, setI18nRule as mr } from "@das-fed/web/packages/i18n/index";
|
|
4
4
|
import { DasWebLayout as i7, DasWebTabs as Zv, DasWebMenu as Tv, DasWebNav as Lv, layout as C, layoutData as yv } from "@das-fed/web/packages/layout/index";
|
|
5
5
|
import { createPinia as lr } from "pinia";
|
|
6
6
|
import xr from "pinia-plugin-persistedstate";
|
|
@@ -11,9 +11,9 @@ import { DasIconClose2 as Nr } from "@das-fed/ui/packages/icons/close-2/index";
|
|
|
11
11
|
import { DasChangePwdRef as Rr, DasChangePwd as jr } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
12
12
|
import { DasChangeEnterprises as or } from "@das-fed/ui/packages/business-components/change-enterprises/index";
|
|
13
13
|
import { DasAiPanel as Zr } from "@das-fed/ui/packages/business-components/ai-panel/index";
|
|
14
|
-
import { getSubApps as cA, getTabInfo as IA, getToken as me, getTenantInfo as Y9, getProjectInfo as Ae, getPersonalInfo as
|
|
14
|
+
import { getSubApps as cA, getTabInfo as IA, getToken as me, getTenantInfo as Y9, getProjectInfo as Ae, getPersonalInfo as V9, getLanguages as Tr, getUserInfo as wv, getMenus as g9 } from "@das-fed/utils/common-info";
|
|
15
15
|
import { pureImageSrc as G9 } from "@das-fed/utils/pure-image-src";
|
|
16
|
-
import { DasNotification as
|
|
16
|
+
import { DasNotification as M9 } from "@das-fed/ui/packages/components/notification/index";
|
|
17
17
|
import { flatTree as _A, isEmpty as Lr, filterTreeArray as yr, treeFind as _7, setBrowseTitle as wr, updateFavIcon as Wr, dateFormat as Er, runPromiseByQueue as Ir, objEqual as $f, setShowWatermark as A7, setShowLayout as e7, getUrlParams as gr, withToken as Mr } from "@das-fed/utils/common-tools";
|
|
18
18
|
import { setProcessEngineProject as Wv, setProcessEngineToken as Ev } from "@das-fed/utils/process-engine-info";
|
|
19
19
|
import { oauthServer as Iv, justauth as s7, enterpriseright as U9, iotModules as Br, portal as ie, systemConfiguration as J9 } from "@das-fed/utils/api-services/modules";
|
|
@@ -33,7 +33,7 @@ import { devicePanelShow as Qv, closeDevicePanel as Sr, alarmDevicePanelShow as
|
|
|
33
33
|
import { DasIconWarningFace as _r } from "@das-fed/ui/packages/icons/warning-face/index";
|
|
34
34
|
import { socketService as F9 } from "@das-fed/utils/webSocket-service";
|
|
35
35
|
import { userInfoNextTick as $r, tokenNextTick as S9 } from "@das-fed/utils/nextTiken";
|
|
36
|
-
import { mainAppFramework as
|
|
36
|
+
import { mainAppFramework as B9 } from "@das-fed/web/packages/main-app-framework/index";
|
|
37
37
|
import { DasAutoRegisterIcon as Yv, DasIcon as ke } from "@das-fed/ui/packages/components/icon/index";
|
|
38
38
|
import { DasTooltip as QA } from "@das-fed/ui/packages/components/tooltip/index";
|
|
39
39
|
import { DasLivePlayer as At } from "@das-fed/ui/packages/components/live-player/index";
|
|
@@ -1096,7 +1096,7 @@ const A3 = (f, A) => {
|
|
|
1096
1096
|
"on:toggleFullScreen": p
|
|
1097
1097
|
}), null, 16, Kt)) : $("v-if", !0);
|
|
1098
1098
|
}
|
|
1099
|
-
}), n3 = T("/das-micro-app"), WA = T([]),
|
|
1099
|
+
}), n3 = T("/das-micro-app"), WA = T([]), W9 = T(!1), T9 = T([]), L9 = T(!0);
|
|
1100
1100
|
let UA = null, JA = null, Be = null;
|
|
1101
1101
|
const Ct = (f) => new Promise((A) => {
|
|
1102
1102
|
const e = () => {
|
|
@@ -1172,7 +1172,7 @@ const Ct = (f) => new Promise((A) => {
|
|
|
1172
1172
|
);
|
|
1173
1173
|
}, xA = {
|
|
1174
1174
|
loadMicroApp: (f) => {
|
|
1175
|
-
|
|
1175
|
+
W9.value = !0;
|
|
1176
1176
|
const A = WA.value.find((P) => P.name === f), e = WA.value.find((P) => P.actived), v = !!A, r = !(A != null && A.loaded), n = A == null ? void 0 : A.actived;
|
|
1177
1177
|
if (!v) {
|
|
1178
1178
|
e && (e.actived = !1);
|
|
@@ -1200,7 +1200,7 @@ const Ct = (f) => new Promise((A) => {
|
|
|
1200
1200
|
}));
|
|
1201
1201
|
},
|
|
1202
1202
|
hideAllMicroApp: () => {
|
|
1203
|
-
|
|
1203
|
+
W9.value = !1, WA.value.map((f) => {
|
|
1204
1204
|
f.actived = !1;
|
|
1205
1205
|
});
|
|
1206
1206
|
},
|
|
@@ -1209,7 +1209,7 @@ const Ct = (f) => new Promise((A) => {
|
|
|
1209
1209
|
A && (A.loaded = !1, A.actived = !1, A.dom = void 0);
|
|
1210
1210
|
},
|
|
1211
1211
|
unloadAllMicroApp: () => {
|
|
1212
|
-
|
|
1212
|
+
W9.value = !1, WA.value.map((f) => {
|
|
1213
1213
|
f.loaded = !1, f.actived = !1, f.dom = void 0;
|
|
1214
1214
|
});
|
|
1215
1215
|
},
|
|
@@ -1552,7 +1552,7 @@ const sP = ["src", "entry", "name"], qP = /* @__PURE__ */ iA({
|
|
|
1552
1552
|
} }
|
|
1553
1553
|
},
|
|
1554
1554
|
setup(f) {
|
|
1555
|
-
const A = f, e = vA(() => !
|
|
1555
|
+
const A = f, e = vA(() => !W9.value), v = vA(() => ({
|
|
1556
1556
|
"enter-active-class": "animate__animated animate__fadeInLeft",
|
|
1557
1557
|
...A.transitionConfig
|
|
1558
1558
|
})), r = vA(() => ({ showLayout: A.showLayout, showAside: A.showAside, showTabs: A.showTabs }));
|
|
@@ -1675,10 +1675,10 @@ const sP = ["src", "entry", "name"], qP = /* @__PURE__ */ iA({
|
|
|
1675
1675
|
u === "setItem" && window.sessionStorage.setItem(d, t), u === "getItem" && window.sessionStorage.getItem(d), u === "removeItem" && window.sessionStorage.removeItem(d), u === "clear" && window.sessionStorage.clear();
|
|
1676
1676
|
}), xA.addEventListenerFromMainApp("route", (P) => {
|
|
1677
1677
|
const { cmd: u, path: d } = P.data;
|
|
1678
|
-
u === "reload" && (
|
|
1679
|
-
|
|
1680
|
-
}, 300)), u === "unload" && (
|
|
1681
|
-
|
|
1678
|
+
u === "reload" && (T9.value.push(d), L9.value = !1, setTimeout(() => {
|
|
1679
|
+
L9.value = !0, T9.value = [];
|
|
1680
|
+
}, 300)), u === "unload" && (T9.value.push(d), L9.value = !1, setTimeout(() => {
|
|
1681
|
+
L9.value = !0, T9.value = [];
|
|
1682
1682
|
}, 100));
|
|
1683
1683
|
});
|
|
1684
1684
|
}, Pe = "/home", wA = "/application", Sv = [
|
|
@@ -2097,7 +2097,7 @@ const IP = (f = {}) => {
|
|
|
2097
2097
|
if (A.exitConfirmPages.includes(e) && !window.confirm(B("切换后已录入的数据将会丢失且不可恢复,确定切换?")))
|
|
2098
2098
|
throw new Error(B("取消切换"));
|
|
2099
2099
|
}
|
|
2100
|
-
},
|
|
2100
|
+
}, E9 = (f, A) => {
|
|
2101
2101
|
if (!A || !A.length) return;
|
|
2102
2102
|
const e = JSON.parse(sessionStorage.getItem(f) || "{}");
|
|
2103
2103
|
if (e && JSON.stringify(e) !== "{}" && e != null && e.closeTabPageConfirm && e.closeTabPageConfirm.length) {
|
|
@@ -3447,18 +3447,18 @@ function vn() {
|
|
|
3447
3447
|
]);
|
|
3448
3448
|
},
|
|
3449
3449
|
_doProcessBlock: function(c, q) {
|
|
3450
|
-
for (var i = this._hash.words, H = i[0], a = i[1], s = i[2], m = i[3], x = i[4], V = i[5], R = i[6], O = i[7], j = H.high, l = H.low, N = a.high, o = a.low, Z = s.high, J = s.low, F = m.high, eA = m.low, h = x.high, Y = x.low, U = V.high, S = V.low, L = R.high, w = R.low, E = O.high, W = O.low, bA = j, aA = l, jA = N, _ = o, AA = Z, nA = J, Oe = F, K = eA, I = h, k = Y, BA = U, ze = S,
|
|
3451
|
-
var ee, qe,
|
|
3450
|
+
for (var i = this._hash.words, H = i[0], a = i[1], s = i[2], m = i[3], x = i[4], V = i[5], R = i[6], O = i[7], j = H.high, l = H.low, N = a.high, o = a.low, Z = s.high, J = s.low, F = m.high, eA = m.low, h = x.high, Y = x.low, U = V.high, S = V.low, L = R.high, w = R.low, E = O.high, W = O.low, bA = j, aA = l, jA = N, _ = o, AA = Z, nA = J, Oe = F, K = eA, I = h, k = Y, BA = U, ze = S, o9 = L, n9 = w, nf = E, r9 = W, ve = 0; ve < 80; ve++) {
|
|
3451
|
+
var ee, qe, Z9 = X[ve];
|
|
3452
3452
|
if (ve < 16)
|
|
3453
|
-
qe =
|
|
3453
|
+
qe = Z9.high = c[q + ve * 2] | 0, ee = Z9.low = c[q + ve * 2 + 1] | 0;
|
|
3454
3454
|
else {
|
|
3455
3455
|
var E7 = X[ve - 15], Ie = E7.high, t9 = E7.low, Jn = (Ie >>> 1 | t9 << 31) ^ (Ie >>> 8 | t9 << 24) ^ Ie >>> 7, I7 = (t9 >>> 1 | Ie << 31) ^ (t9 >>> 8 | Ie << 24) ^ (t9 >>> 7 | Ie << 25), g7 = X[ve - 2], ge = g7.high, P9 = g7.low, hn = (ge >>> 19 | P9 << 13) ^ (ge << 3 | P9 >>> 29) ^ ge >>> 6, M7 = (P9 >>> 19 | ge << 13) ^ (P9 << 3 | ge >>> 29) ^ (P9 >>> 6 | ge << 26), B7 = X[ve - 7], Fn = B7.high, Sn = B7.low, k7 = X[ve - 16], Kn = k7.high, Q7 = k7.low;
|
|
3456
|
-
ee = I7 + Sn, qe = Jn + Fn + (ee >>> 0 < I7 >>> 0 ? 1 : 0), ee = ee + M7, qe = qe + hn + (ee >>> 0 < M7 >>> 0 ? 1 : 0), ee = ee + Q7, qe = qe + Kn + (ee >>> 0 < Q7 >>> 0 ? 1 : 0),
|
|
3456
|
+
ee = I7 + Sn, qe = Jn + Fn + (ee >>> 0 < I7 >>> 0 ? 1 : 0), ee = ee + M7, qe = qe + hn + (ee >>> 0 < M7 >>> 0 ? 1 : 0), ee = ee + Q7, qe = qe + Kn + (ee >>> 0 < Q7 >>> 0 ? 1 : 0), Z9.high = qe, Z9.low = ee;
|
|
3457
3457
|
}
|
|
3458
|
-
var Cn = I & BA ^ ~I &
|
|
3459
|
-
nf =
|
|
3458
|
+
var Cn = I & BA ^ ~I & o9, Y7 = k & ze ^ ~k & n9, _n = bA & jA ^ bA & AA ^ jA & AA, $n = aA & _ ^ aA & nA ^ _ & nA, Ar = (bA >>> 28 | aA << 4) ^ (bA << 30 | aA >>> 2) ^ (bA << 25 | aA >>> 7), G7 = (aA >>> 28 | bA << 4) ^ (aA << 30 | bA >>> 2) ^ (aA << 25 | bA >>> 7), er = (I >>> 14 | k << 18) ^ (I >>> 18 | k << 14) ^ (I << 23 | k >>> 9), fr = (k >>> 14 | I << 18) ^ (k >>> 18 | I << 14) ^ (k << 23 | I >>> 9), U7 = p[ve], vr = U7.high, J7 = U7.low, KA = r9 + fr, He = nf + er + (KA >>> 0 < r9 >>> 0 ? 1 : 0), KA = KA + Y7, He = He + Cn + (KA >>> 0 < Y7 >>> 0 ? 1 : 0), KA = KA + J7, He = He + vr + (KA >>> 0 < J7 >>> 0 ? 1 : 0), KA = KA + ee, He = He + qe + (KA >>> 0 < ee >>> 0 ? 1 : 0), h7 = G7 + $n, nr = Ar + _n + (h7 >>> 0 < G7 >>> 0 ? 1 : 0);
|
|
3459
|
+
nf = o9, r9 = n9, o9 = BA, n9 = ze, BA = I, ze = k, k = K + KA | 0, I = Oe + He + (k >>> 0 < K >>> 0 ? 1 : 0) | 0, Oe = AA, K = nA, AA = jA, nA = _, jA = bA, _ = aA, aA = KA + h7 | 0, bA = He + nr + (aA >>> 0 < KA >>> 0 ? 1 : 0) | 0;
|
|
3460
3460
|
}
|
|
3461
|
-
l = H.low = l + aA, H.high = j + bA + (l >>> 0 < aA >>> 0 ? 1 : 0), o = a.low = o + _, a.high = N + jA + (o >>> 0 < _ >>> 0 ? 1 : 0), J = s.low = J + nA, s.high = Z + AA + (J >>> 0 < nA >>> 0 ? 1 : 0), eA = m.low = eA + K, m.high = F + Oe + (eA >>> 0 < K >>> 0 ? 1 : 0), Y = x.low = Y + k, x.high = h + I + (Y >>> 0 < k >>> 0 ? 1 : 0), S = V.low = S + ze, V.high = U + BA + (S >>> 0 < ze >>> 0 ? 1 : 0), w = R.low = w + n9, R.high = L +
|
|
3461
|
+
l = H.low = l + aA, H.high = j + bA + (l >>> 0 < aA >>> 0 ? 1 : 0), o = a.low = o + _, a.high = N + jA + (o >>> 0 < _ >>> 0 ? 1 : 0), J = s.low = J + nA, s.high = Z + AA + (J >>> 0 < nA >>> 0 ? 1 : 0), eA = m.low = eA + K, m.high = F + Oe + (eA >>> 0 < K >>> 0 ? 1 : 0), Y = x.low = Y + k, x.high = h + I + (Y >>> 0 < k >>> 0 ? 1 : 0), S = V.low = S + ze, V.high = U + BA + (S >>> 0 < ze >>> 0 ? 1 : 0), w = R.low = w + n9, R.high = L + o9 + (w >>> 0 < n9 >>> 0 ? 1 : 0), W = O.low = W + r9, O.high = E + nf + (W >>> 0 < r9 >>> 0 ? 1 : 0);
|
|
3462
3462
|
},
|
|
3463
3463
|
_doFinalize: function() {
|
|
3464
3464
|
var c = this._data, q = c.words, i = this._nDataBytes * 8, H = c.sigBytes * 8;
|
|
@@ -7386,7 +7386,7 @@ const zn = async (f, A) => {
|
|
|
7386
7386
|
return MP(e.length), f ? { currentTenatConfig: null } : { tenantConfig: A };
|
|
7387
7387
|
}, fd = async () => {
|
|
7388
7388
|
const [f, A] = await Ku().run({
|
|
7389
|
-
userId:
|
|
7389
|
+
userId: V9().id,
|
|
7390
7390
|
pageSize: 20,
|
|
7391
7391
|
pageIndex: 1
|
|
7392
7392
|
});
|
|
@@ -7468,7 +7468,7 @@ function Od(f) {
|
|
|
7468
7468
|
return xd.call(f);
|
|
7469
7469
|
}
|
|
7470
7470
|
var Dd = "[object Null]", Vd = "[object Undefined]", F3 = Se ? Se.toStringTag : void 0;
|
|
7471
|
-
function
|
|
7471
|
+
function N9(f) {
|
|
7472
7472
|
return f == null ? f === void 0 ? Vd : Dd : F3 && F3 in Object(f) ? md(f) : Od(f);
|
|
7473
7473
|
}
|
|
7474
7474
|
function _9(f) {
|
|
@@ -7479,7 +7479,7 @@ var Nd = "[object AsyncFunction]", Rd = "[object Function]", jd = "[object Gener
|
|
|
7479
7479
|
function ln(f) {
|
|
7480
7480
|
if (!_9(f))
|
|
7481
7481
|
return !1;
|
|
7482
|
-
var A =
|
|
7482
|
+
var A = N9(f);
|
|
7483
7483
|
return A == Rd || A == jd || A == Nd || A == od;
|
|
7484
7484
|
}
|
|
7485
7485
|
var Jf = ce["__core-js_shared__"], S3 = function() {
|
|
@@ -7649,17 +7649,17 @@ function cz(f, A) {
|
|
|
7649
7649
|
v[e] = A(e);
|
|
7650
7650
|
return v;
|
|
7651
7651
|
}
|
|
7652
|
-
function
|
|
7652
|
+
function R9(f) {
|
|
7653
7653
|
return f != null && typeof f == "object";
|
|
7654
7654
|
}
|
|
7655
7655
|
var bz = "[object Arguments]";
|
|
7656
7656
|
function C3(f) {
|
|
7657
|
-
return
|
|
7657
|
+
return R9(f) && N9(f) == bz;
|
|
7658
7658
|
}
|
|
7659
7659
|
var xn = Object.prototype, az = xn.hasOwnProperty, iz = xn.propertyIsEnumerable, sz = C3(/* @__PURE__ */ function() {
|
|
7660
7660
|
return arguments;
|
|
7661
7661
|
}()) ? C3 : function(f) {
|
|
7662
|
-
return
|
|
7662
|
+
return R9(f) && az.call(f, "callee") && !iz.call(f, "callee");
|
|
7663
7663
|
}, D7 = Array.isArray;
|
|
7664
7664
|
function qz() {
|
|
7665
7665
|
return !1;
|
|
@@ -7677,7 +7677,7 @@ var Dz = "[object Arguments]", Vz = "[object Array]", Nz = "[object Boolean]", R
|
|
|
7677
7677
|
pA[Mz] = pA[Bz] = pA[kz] = pA[Qz] = pA[Yz] = pA[Gz] = pA[Uz] = pA[Jz] = pA[hz] = !0;
|
|
7678
7678
|
pA[Dz] = pA[Vz] = pA[Iz] = pA[Nz] = pA[gz] = pA[Rz] = pA[jz] = pA[oz] = pA[Zz] = pA[Tz] = pA[Lz] = pA[yz] = pA[wz] = pA[Wz] = pA[Ez] = !1;
|
|
7679
7679
|
function Fz(f) {
|
|
7680
|
-
return
|
|
7680
|
+
return R9(f) && Vn(f.length) && !!pA[N9(f)];
|
|
7681
7681
|
}
|
|
7682
7682
|
function V7(f) {
|
|
7683
7683
|
return function(A) {
|
|
@@ -7759,9 +7759,9 @@ function s5(f, A, e) {
|
|
|
7759
7759
|
function q5(f) {
|
|
7760
7760
|
return s5(f, t5, b5);
|
|
7761
7761
|
}
|
|
7762
|
-
var P7 = We(ce, "DataView"), u7 = We(ce, "Promise"), d7 = We(ce, "Set"), z7 = We(ce, "WeakMap"), nv = "[object Map]", H5 = "[object Object]", rv = "[object Promise]", tv = "[object Set]", Pv = "[object WeakMap]", uv = "[object DataView]", p5 = we(P7), m5 = we(H9), l5 = we(u7), x5 = we(d7), O5 = we(z7), be =
|
|
7762
|
+
var P7 = We(ce, "DataView"), u7 = We(ce, "Promise"), d7 = We(ce, "Set"), z7 = We(ce, "WeakMap"), nv = "[object Map]", H5 = "[object Object]", rv = "[object Promise]", tv = "[object Set]", Pv = "[object WeakMap]", uv = "[object DataView]", p5 = we(P7), m5 = we(H9), l5 = we(u7), x5 = we(d7), O5 = we(z7), be = N9;
|
|
7763
7763
|
(P7 && be(new P7(new ArrayBuffer(1))) != uv || H9 && be(new H9()) != nv || u7 && be(u7.resolve()) != rv || d7 && be(new d7()) != tv || z7 && be(new z7()) != Pv) && (be = function(f) {
|
|
7764
|
-
var A =
|
|
7764
|
+
var A = N9(f), e = A == H5 ? f.constructor : void 0, v = e ? we(e) : "";
|
|
7765
7765
|
if (v)
|
|
7766
7766
|
switch (v) {
|
|
7767
7767
|
case p5:
|
|
@@ -7856,16 +7856,16 @@ function $5(f) {
|
|
|
7856
7856
|
}
|
|
7857
7857
|
var A6 = "[object Map]";
|
|
7858
7858
|
function e6(f) {
|
|
7859
|
-
return
|
|
7859
|
+
return R9(f) && be(f) == A6;
|
|
7860
7860
|
}
|
|
7861
7861
|
var bv = Ke && Ke.isMap, f6 = bv ? V7(bv) : e6, v6 = "[object Set]";
|
|
7862
7862
|
function n6(f) {
|
|
7863
|
-
return
|
|
7863
|
+
return R9(f) && be(f) == v6;
|
|
7864
7864
|
}
|
|
7865
7865
|
var av = Ke && Ke.isSet, r6 = av ? V7(av) : n6, Zn = "[object Arguments]", t6 = "[object Array]", P6 = "[object Boolean]", u6 = "[object Date]", d6 = "[object Error]", Tn = "[object Function]", z6 = "[object GeneratorFunction]", X6 = "[object Map]", c6 = "[object Number]", Ln = "[object Object]", b6 = "[object RegExp]", a6 = "[object Set]", i6 = "[object String]", s6 = "[object Symbol]", q6 = "[object WeakMap]", H6 = "[object ArrayBuffer]", p6 = "[object DataView]", m6 = "[object Float32Array]", l6 = "[object Float64Array]", x6 = "[object Int8Array]", O6 = "[object Int16Array]", D6 = "[object Int32Array]", V6 = "[object Uint8Array]", N6 = "[object Uint8ClampedArray]", R6 = "[object Uint16Array]", j6 = "[object Uint32Array]", HA = {};
|
|
7866
7866
|
HA[Zn] = HA[t6] = HA[H6] = HA[p6] = HA[P6] = HA[u6] = HA[m6] = HA[l6] = HA[x6] = HA[O6] = HA[D6] = HA[X6] = HA[c6] = HA[Ln] = HA[b6] = HA[a6] = HA[i6] = HA[s6] = HA[V6] = HA[N6] = HA[R6] = HA[j6] = !0;
|
|
7867
7867
|
HA[d6] = HA[Tn] = HA[q6] = !1;
|
|
7868
|
-
function
|
|
7868
|
+
function I9(f, A, e, v, r, n) {
|
|
7869
7869
|
var P;
|
|
7870
7870
|
if (P !== void 0)
|
|
7871
7871
|
return P;
|
|
@@ -7891,34 +7891,34 @@ function E9(f, A, e, v, r, n) {
|
|
|
7891
7891
|
if (z)
|
|
7892
7892
|
return z;
|
|
7893
7893
|
n.set(f, P), r6(f) ? f.forEach(function(b) {
|
|
7894
|
-
P.add(
|
|
7894
|
+
P.add(I9(b, A, e, b, f, n));
|
|
7895
7895
|
}) : f6(f) && f.forEach(function(b, c) {
|
|
7896
|
-
P.set(c,
|
|
7896
|
+
P.set(c, I9(b, A, e, c, f, n));
|
|
7897
7897
|
});
|
|
7898
7898
|
var p = q5, X = u ? void 0 : p(f);
|
|
7899
7899
|
return Pz(X || f, function(b, c) {
|
|
7900
|
-
X && (c = b, b = f[c]), Xz(P, c,
|
|
7900
|
+
X && (c = b, b = f[c]), Xz(P, c, I9(b, A, e, c, f, n));
|
|
7901
7901
|
}), P;
|
|
7902
7902
|
}
|
|
7903
7903
|
var o6 = 1, Z6 = 4;
|
|
7904
7904
|
function Ce(f) {
|
|
7905
|
-
return
|
|
7905
|
+
return I9(f, o6 | Z6);
|
|
7906
7906
|
}
|
|
7907
|
-
const
|
|
7907
|
+
const k9 = (f, A = "") => {
|
|
7908
7908
|
for (let e of f)
|
|
7909
7909
|
if (!(e != null && e.disable) && !(e != null && e.expired))
|
|
7910
7910
|
if (A) {
|
|
7911
7911
|
if (e.routeUrl && e.code === A)
|
|
7912
7912
|
return e;
|
|
7913
7913
|
if (e.children && e.children.length) {
|
|
7914
|
-
const v =
|
|
7914
|
+
const v = k9(e.children, A);
|
|
7915
7915
|
if (v) return v;
|
|
7916
7916
|
}
|
|
7917
7917
|
} else {
|
|
7918
7918
|
if (e.routeUrl)
|
|
7919
7919
|
return e;
|
|
7920
7920
|
if (e.children && e.children.length) {
|
|
7921
|
-
const v =
|
|
7921
|
+
const v = k9(e.children, A);
|
|
7922
7922
|
if (v) return v;
|
|
7923
7923
|
}
|
|
7924
7924
|
}
|
|
@@ -8064,7 +8064,7 @@ const B9 = (f, A = "") => {
|
|
|
8064
8064
|
query: { ...r.query, app: u }
|
|
8065
8065
|
};
|
|
8066
8066
|
}
|
|
8067
|
-
let p =
|
|
8067
|
+
let p = k9(d, e);
|
|
8068
8068
|
if (!p) {
|
|
8069
8069
|
if (!n || !P)
|
|
8070
8070
|
return { menuConfig: d, currentApp: null, currentMenu: null, query: { ...r.query, app: u } };
|
|
@@ -8175,7 +8175,7 @@ const B9 = (f, A = "") => {
|
|
|
8175
8175
|
};
|
|
8176
8176
|
}, f1 = async () => {
|
|
8177
8177
|
const [f, A] = await C6().run();
|
|
8178
|
-
let e =
|
|
8178
|
+
let e = D9.value;
|
|
8179
8179
|
return A != null && A.type && A.type === 1 && (e = "zh-CN"), A != null && A.type && A.type === 2 && (e = "en"), pr(e), {
|
|
8180
8180
|
langConfig: { ...A }
|
|
8181
8181
|
};
|
|
@@ -8203,7 +8203,7 @@ const B9 = (f, A = "") => {
|
|
|
8203
8203
|
style: e.value ? 1 : 2,
|
|
8204
8204
|
skinStyle: z()
|
|
8205
8205
|
}), X = vA(() => {
|
|
8206
|
-
const q =
|
|
8206
|
+
const q = D9.value === "zh-CN";
|
|
8207
8207
|
return {
|
|
8208
8208
|
default: q ? d1 : b1,
|
|
8209
8209
|
kjl: q ? z1 : a1,
|
|
@@ -8434,7 +8434,7 @@ const B9 = (f, A = "") => {
|
|
|
8434
8434
|
code: 2,
|
|
8435
8435
|
name: "English"
|
|
8436
8436
|
}
|
|
8437
|
-
]), v = vA(() => ({ type:
|
|
8437
|
+
]), v = vA(() => ({ type: D9.value === "zh-CN" ? 1 : 2 }));
|
|
8438
8438
|
return A({
|
|
8439
8439
|
getResult: () => ({ ...v.value })
|
|
8440
8440
|
}), (n, P) => EA((G(), dA(
|
|
@@ -8469,7 +8469,7 @@ const B9 = (f, A = "") => {
|
|
|
8469
8469
|
[YA, n.isShow]
|
|
8470
8470
|
]);
|
|
8471
8471
|
}
|
|
8472
|
-
}), M1 = /* @__PURE__ */ ZA(g1, [["__scopeId", "data-v-b5871b7c"]]),
|
|
8472
|
+
}), M1 = /* @__PURE__ */ ZA(g1, [["__scopeId", "data-v-b5871b7c"]]), j9 = "v1", B1 = `/api/portal/manager/${j9}`, o7 = MA(B1), k1 = `/api/orchestration-engine/${j9}`, Z7 = MA(`${k1}`), Q1 = `/api/workbench/workbench-server/${j9}`, Y1 = MA(Q1), G1 = `/workflow/form/form/${j9}`, U1 = MA(G1), J1 = `/api/portal/user/${j9}`, In = MA(J1), h1 = In.get("/home"), F1 = In.delete("/home"), S1 = o7.get("/basics/home/type"), K1 = o7.get("/basics/tree-page"), C1 = o7.get("/basics/list"), _1 = Z7.get("/device-list/arrange/page"), $1 = Z7.get("/drawingArrangement/list"), A8 = Z7.get("/data/arrange/page"), e8 = Y1.get("/page/portal/list"), f8 = U1.post("/list"), v8 = (f) => {
|
|
8473
8473
|
const { orgInfo: A, information: e, validate: v } = f, r = T(!1), n = T(""), P = T(""), u = T(""), d = T([]), t = T({
|
|
8474
8474
|
id: "0",
|
|
8475
8475
|
path: "",
|
|
@@ -8535,7 +8535,7 @@ const B9 = (f, A = "") => {
|
|
|
8535
8535
|
}
|
|
8536
8536
|
};
|
|
8537
8537
|
}, n8 = "/enterpriseadmin/ioc-server/ioc-server/ws";
|
|
8538
|
-
let
|
|
8538
|
+
let y9 = null;
|
|
8539
8539
|
const r8 = (f) => {
|
|
8540
8540
|
const { information: A, orgInfo: e } = f, v = vA(() => e.id), r = T(!1), n = T(0), P = T([
|
|
8541
8541
|
{ value: 0, label: B("图纸") },
|
|
@@ -8562,7 +8562,7 @@ const r8 = (f) => {
|
|
|
8562
8562
|
t.value = 1, z.value = 0, p.value = "";
|
|
8563
8563
|
}, R = () => {
|
|
8564
8564
|
var h, Y, U;
|
|
8565
|
-
V(), n.value = ((h = A.value) == null ? void 0 : h.urlType) ?? 0, X.value = ((Y = A.value) == null ? void 0 : Y.urlId) ?? "", b.value = ((U = A.value) == null ? void 0 : U.routeUrl) ?? "",
|
|
8565
|
+
V(), n.value = ((h = A.value) == null ? void 0 : h.urlType) ?? 0, X.value = ((Y = A.value) == null ? void 0 : Y.urlId) ?? "", b.value = ((U = A.value) == null ? void 0 : U.routeUrl) ?? "", y9.afterMsg = m, N(), r.value = !0;
|
|
8566
8566
|
}, O = (h, Y, U) => {
|
|
8567
8567
|
b.value = Y.url;
|
|
8568
8568
|
}, j = () => {
|
|
@@ -8584,7 +8584,7 @@ const r8 = (f) => {
|
|
|
8584
8584
|
})[n.value]();
|
|
8585
8585
|
}, o = async () => {
|
|
8586
8586
|
const h = ["explore", "explore-displays", `proj/${v.value}`];
|
|
8587
|
-
|
|
8587
|
+
y9.send(JSON.stringify(h));
|
|
8588
8588
|
}, Z = async () => {
|
|
8589
8589
|
const h = {
|
|
8590
8590
|
project: v.value,
|
|
@@ -8643,7 +8643,7 @@ const r8 = (f) => {
|
|
|
8643
8643
|
u.value = U.data.map((S) => (S.type = B("数据编排"), S)) || [], z.value = U.totalCount;
|
|
8644
8644
|
};
|
|
8645
8645
|
return de(() => {
|
|
8646
|
-
|
|
8646
|
+
y9 || (y9 = new F9({ url: n8, reconnectWhenClose: !0, message: m }));
|
|
8647
8647
|
}), {
|
|
8648
8648
|
loading: c,
|
|
8649
8649
|
urlDialog: r,
|
|
@@ -9238,7 +9238,7 @@ const r8 = (f) => {
|
|
|
9238
9238
|
v.value && (P = e.value) != null && P.contentWindow && ((u = e.value.contentWindow) == null || u.postMessage(
|
|
9239
9239
|
{
|
|
9240
9240
|
token: me(),
|
|
9241
|
-
userInfo:
|
|
9241
|
+
userInfo: V9(),
|
|
9242
9242
|
projectInfo: Ae()
|
|
9243
9243
|
},
|
|
9244
9244
|
A.src
|
|
@@ -9277,7 +9277,7 @@ const r8 = (f) => {
|
|
|
9277
9277
|
kP(t), Wr(t);
|
|
9278
9278
|
}, e = async () => {
|
|
9279
9279
|
const [P, u] = await T8().run({ userId: wv().id });
|
|
9280
|
-
P || !u || JSON.stringify(u) === "{}" || (
|
|
9280
|
+
P || !u || JSON.stringify(u) === "{}" || (M9.open({
|
|
9281
9281
|
key: "loginTip",
|
|
9282
9282
|
message: B("上次登录信息"),
|
|
9283
9283
|
placement: "bottomRight",
|
|
@@ -9370,7 +9370,7 @@ const r8 = (f) => {
|
|
|
9370
9370
|
// 树打平之后保留的数据
|
|
9371
9371
|
filterFlatCondition: (Z) => Z.type === 7
|
|
9372
9372
|
}), C.nav.setProjects(x || []), V && C.nav.setActiveProject(V));
|
|
9373
|
-
const j =
|
|
9373
|
+
const j = V9() ?? {}, l = j != null && j.headPicture ? G9(j.headPicture) : void 0;
|
|
9374
9374
|
t.value = [...xP].map((Z) => ({
|
|
9375
9375
|
...Z,
|
|
9376
9376
|
label: B(Z.label)
|
|
@@ -9415,7 +9415,7 @@ const r8 = (f) => {
|
|
|
9415
9415
|
C.menu.addEventListener("onItemClick", async (A) => {
|
|
9416
9416
|
var n;
|
|
9417
9417
|
NA.innerSet = !0;
|
|
9418
|
-
const e = _A(
|
|
9418
|
+
const e = _A(g9(A.applicationCode)).filter((P) => !P.disable && !P.expired).find((P) => P.code === A.code);
|
|
9419
9419
|
if (e && !e.routeUrl) return;
|
|
9420
9420
|
if (!e) {
|
|
9421
9421
|
const { title: P, content: u, desc: d } = await T7(e);
|
|
@@ -9443,7 +9443,7 @@ const r8 = (f) => {
|
|
|
9443
9443
|
const n = cA();
|
|
9444
9444
|
if (!((t = n.subAppList) != null && t.length) || n.subAppList.findIndex((z) => z.code === r.code) === -1) return;
|
|
9445
9445
|
const d = (IA().tabMap[r.code] ?? []).map((z) => z.code);
|
|
9446
|
-
d && d.length &&
|
|
9446
|
+
d && d.length && E9(r.code, d), A(r);
|
|
9447
9447
|
});
|
|
9448
9448
|
const { enter: v } = e9();
|
|
9449
9449
|
return C.nav.addEventListener("fullScreenHandle", v), {};
|
|
@@ -9468,7 +9468,7 @@ const r8 = (f) => {
|
|
|
9468
9468
|
);
|
|
9469
9469
|
const { deleteApp: P } = Ee(), { entryMenu: u } = Af(), { reloadRoute: d, unloadRoute: t } = Mn(), z = (c) => {
|
|
9470
9470
|
var a;
|
|
9471
|
-
const q = _A(
|
|
9471
|
+
const q = _A(g9(c.applicationCode)).find((s) => s.code === c.code), H = (((a = IA().tabMap) == null ? void 0 : a[c.applicationCode]) ?? []).find((s) => s.code === c.code);
|
|
9472
9472
|
u({ currentMenu: q, route: { path: H.path, query: H.query ?? {} } });
|
|
9473
9473
|
}, p = (c) => {
|
|
9474
9474
|
if (!c || !c.length) return;
|
|
@@ -9519,7 +9519,7 @@ const r8 = (f) => {
|
|
|
9519
9519
|
IA().currentCode !== c.currentCode && (NA.innerSet = !0, z(c));
|
|
9520
9520
|
}), C.tab.addEventListener("onItemRemove", (c) => {
|
|
9521
9521
|
const q = IA(), i = cA().currentSubAppCode ?? "";
|
|
9522
|
-
q.tabMap[i].findIndex((s) => s.code === c.code) !== -1 && (
|
|
9522
|
+
q.tabMap[i].findIndex((s) => s.code === c.code) !== -1 && (E9(c.applicationCode, [c.code]), X({ type: "me", data: c }));
|
|
9523
9523
|
}), C.tab.addEventListener("onMenuClick", (c) => {
|
|
9524
9524
|
let q = [];
|
|
9525
9525
|
const i = IA().tabMap[c.applicationCode] ?? [];
|
|
@@ -9527,7 +9527,7 @@ const r8 = (f) => {
|
|
|
9527
9527
|
const H = i.findIndex((a) => a.code === c.data.value);
|
|
9528
9528
|
q = i.slice(H + 1);
|
|
9529
9529
|
}
|
|
9530
|
-
c.type.key === "other" && (q = i.filter((H) => H.code !== c.data.value)), c.type.key === "all" && (q = [...i]),
|
|
9530
|
+
c.type.key === "other" && (q = i.filter((H) => H.code !== c.data.value)), c.type.key === "all" && (q = [...i]), E9(
|
|
9531
9531
|
c.applicationCode,
|
|
9532
9532
|
q.map((H) => H.code)
|
|
9533
9533
|
), X({ type: c.type.key, data: c.data });
|
|
@@ -9537,8 +9537,8 @@ const r8 = (f) => {
|
|
|
9537
9537
|
C.iframeView.triggerEventListener("onRefreshCurrentPage");
|
|
9538
9538
|
return;
|
|
9539
9539
|
}
|
|
9540
|
-
|
|
9541
|
-
const q = _A(
|
|
9540
|
+
E9(c.applicationCode, [c.code]);
|
|
9541
|
+
const q = _A(g9(c.applicationCode)).find((a) => a.code === c.code);
|
|
9542
9542
|
if (!q) return;
|
|
9543
9543
|
if (q.routeUrl !== c.path) {
|
|
9544
9544
|
d([c.path]), t([`/${c.applicationPath}${q.routeUrl}`]), await u({ currentMenu: q });
|
|
@@ -9585,7 +9585,7 @@ const r8 = (f) => {
|
|
|
9585
9585
|
if (V) return !1;
|
|
9586
9586
|
i = m ?? [], H = x ?? [];
|
|
9587
9587
|
}
|
|
9588
|
-
if (i.length ?
|
|
9588
|
+
if (i.length ? k9(i) || (await q9({
|
|
9589
9589
|
title: B("提示"),
|
|
9590
9590
|
content: B("此应用菜单已过期/已收回/配置有误") + "<br/>" + B("无法使用")
|
|
9591
9591
|
}), a = !0) : (await q9({ title: B("提示"), content: B("此应用未配置菜单/无菜单权限") + "<br/>" + B("无法使用") }), a = !0), a) return !1;
|
|
@@ -9984,7 +9984,7 @@ const r8 = (f) => {
|
|
|
9984
9984
|
};
|
|
9985
9985
|
}, Q8 = Iv.get("/convert/tenant"), Y8 = s7.get("/platform/withdefault"), Bn = () => {
|
|
9986
9986
|
const f = le(), A = T(!1), e = T(""), v = T(""), r = () => {
|
|
9987
|
-
e.value =
|
|
9987
|
+
e.value = V9().id, v.value = wv().tenantId, A.value = !0;
|
|
9988
9988
|
};
|
|
9989
9989
|
C.nav.addEventListener("changeEnterpriseHandle", () => {
|
|
9990
9990
|
r();
|
|
@@ -10093,7 +10093,7 @@ const r8 = (f) => {
|
|
|
10093
10093
|
}), _8 = () => {
|
|
10094
10094
|
yA.addEventListenerFromMicroApp("iot:change-instance", (f) => {
|
|
10095
10095
|
const A = cA(), e = A.currentSubAppCode;
|
|
10096
|
-
let v =
|
|
10096
|
+
let v = g9(e);
|
|
10097
10097
|
v.forEach((n) => {
|
|
10098
10098
|
n.fixed && (n.name = f.data.instanceInfo.instanceName);
|
|
10099
10099
|
}), C.menu.setItems(v);
|
|
@@ -10131,7 +10131,7 @@ const r8 = (f) => {
|
|
|
10131
10131
|
Cr();
|
|
10132
10132
|
});
|
|
10133
10133
|
}, eX = J9.get("/platform/login/pwd-advance-notify-check"), fX = () => {
|
|
10134
|
-
const f = T([]), A = T(null), e = T([]), { entryApp: v } =
|
|
10134
|
+
const f = T([]), A = T(null), e = T([]), { entryApp: v } = B9.hooks.useEntryApp(), r = () => {
|
|
10135
10135
|
var d;
|
|
10136
10136
|
const u = (((d = cA().appcategorys) == null ? void 0 : d.map((t) => t.apps).flat()) ?? []).find((t) => t.code === "messagecenter");
|
|
10137
10137
|
u && v({ microApp: u });
|
|
@@ -10147,8 +10147,8 @@ const r8 = (f) => {
|
|
|
10147
10147
|
const d = Ae().id;
|
|
10148
10148
|
f.value = P.filter(
|
|
10149
10149
|
(t) => t.projectId === d || t.projectId === 0 || t.projectId === "0"
|
|
10150
|
-
), e.value && e.value.length && (e.value.forEach((t) =>
|
|
10151
|
-
|
|
10150
|
+
), e.value && e.value.length && (e.value.forEach((t) => M9.close(t)), e.value = []), await ae(), f.value.forEach((t, z) => {
|
|
10151
|
+
M9.info({
|
|
10152
10152
|
key: t.id,
|
|
10153
10153
|
class: "message-center-notify",
|
|
10154
10154
|
message: t.title,
|
|
@@ -11049,7 +11049,7 @@ async function Gn(f, A, e, v, r, n) {
|
|
|
11049
11049
|
f.log(y.Trace, `(${A} transport) request complete. Response status: ${z.statusCode}.`);
|
|
11050
11050
|
}
|
|
11051
11051
|
function gX(f) {
|
|
11052
|
-
return f === void 0 ? new
|
|
11052
|
+
return f === void 0 ? new Q9(y.Information) : f === null ? m9.instance : f.log !== void 0 ? f : new Q9(f);
|
|
11053
11053
|
}
|
|
11054
11054
|
class MX {
|
|
11055
11055
|
constructor(A, e) {
|
|
@@ -11061,7 +11061,7 @@ class MX {
|
|
|
11061
11061
|
});
|
|
11062
11062
|
}
|
|
11063
11063
|
}
|
|
11064
|
-
class
|
|
11064
|
+
class Q9 {
|
|
11065
11065
|
constructor(A) {
|
|
11066
11066
|
this._minLevel = A, this.out = console;
|
|
11067
11067
|
}
|
|
@@ -12394,10 +12394,10 @@ function P2(f, A) {
|
|
|
12394
12394
|
}
|
|
12395
12395
|
class w7 {
|
|
12396
12396
|
constructor(A) {
|
|
12397
|
-
this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new
|
|
12397
|
+
this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new w9(), this._transportResult = new w9(), this._sendLoopPromise = this._sendLoop();
|
|
12398
12398
|
}
|
|
12399
12399
|
send(A) {
|
|
12400
|
-
return this._bufferData(A), this._transportResult || (this._transportResult = new
|
|
12400
|
+
return this._bufferData(A), this._transportResult || (this._transportResult = new w9()), this._transportResult.promise;
|
|
12401
12401
|
}
|
|
12402
12402
|
stop() {
|
|
12403
12403
|
return this._executing = !1, this._sendBufferedData.resolve(), this._sendLoopPromise;
|
|
@@ -12413,7 +12413,7 @@ class w7 {
|
|
|
12413
12413
|
this._transportResult && this._transportResult.reject("Connection stopped.");
|
|
12414
12414
|
break;
|
|
12415
12415
|
}
|
|
12416
|
-
this._sendBufferedData = new
|
|
12416
|
+
this._sendBufferedData = new w9();
|
|
12417
12417
|
const A = this._transportResult;
|
|
12418
12418
|
this._transportResult = void 0;
|
|
12419
12419
|
const e = typeof this._buffer[0] == "string" ? this._buffer.join("") : w7._concatBuffers(this._buffer);
|
|
@@ -12433,7 +12433,7 @@ class w7 {
|
|
|
12433
12433
|
return v.buffer;
|
|
12434
12434
|
}
|
|
12435
12435
|
}
|
|
12436
|
-
class
|
|
12436
|
+
class w9 {
|
|
12437
12437
|
constructor() {
|
|
12438
12438
|
this.promise = new Promise((A, e) => [this._resolver, this._rejecter] = [A, e]);
|
|
12439
12439
|
}
|
|
@@ -12549,9 +12549,9 @@ class c2 {
|
|
|
12549
12549
|
this.logger = A;
|
|
12550
12550
|
else if (typeof A == "string") {
|
|
12551
12551
|
const e = X2(A);
|
|
12552
|
-
this.logger = new
|
|
12552
|
+
this.logger = new Q9(e);
|
|
12553
12553
|
} else
|
|
12554
|
-
this.logger = new
|
|
12554
|
+
this.logger = new Q9(A);
|
|
12555
12555
|
return this;
|
|
12556
12556
|
}
|
|
12557
12557
|
withUrl(A, e) {
|
|
@@ -12631,7 +12631,7 @@ const m2 = MA(`/api/tool/event-bus/${ff}/`), Kf = m2.post("/publish"), l2 = U9.g
|
|
|
12631
12631
|
const r = _A(v).find((n) => n.code === A);
|
|
12632
12632
|
return r || null;
|
|
12633
12633
|
}, O2 = () => {
|
|
12634
|
-
const f = $e(), { entryApp: A } =
|
|
12634
|
+
const f = $e(), { entryApp: A } = B9.hooks.useEntryApp(), { entryMenu: e } = B9.hooks.useEntryMenu();
|
|
12635
12635
|
let v = null;
|
|
12636
12636
|
return de(async () => {
|
|
12637
12637
|
var H;
|
|
@@ -13278,7 +13278,7 @@ const m2 = MA(`/api/tool/event-bus/${ff}/`), Kf = m2.post("/publish"), l2 = U9.g
|
|
|
13278
13278
|
class: "select",
|
|
13279
13279
|
modelValue: t.value.interval,
|
|
13280
13280
|
"onUpdate:modelValue": I[25] || (I[25] = (k) => t.value.interval = k),
|
|
13281
|
-
width: D(
|
|
13281
|
+
width: D(D9) == "zh-CN" ? "65px" : "85px",
|
|
13282
13282
|
fieldNames: {
|
|
13283
13283
|
value: "id",
|
|
13284
13284
|
label: "name"
|
|
@@ -13316,7 +13316,7 @@ const m2 = MA(`/api/tool/event-bus/${ff}/`), Kf = m2.post("/publish"), l2 = U9.g
|
|
|
13316
13316
|
}), G2 = /* @__PURE__ */ ZA(Y2, [["__scopeId", "data-v-2eaa1bda"]]), U2 = (f, A, e) => ({
|
|
13317
13317
|
handleAlarmVue: () => RA(G2, {
|
|
13318
13318
|
handerIds: A.value,
|
|
13319
|
-
projectId:
|
|
13319
|
+
projectId: V9().id,
|
|
13320
13320
|
ref: f,
|
|
13321
13321
|
onEmitFn: (r, n) => {
|
|
13322
13322
|
}
|
|
@@ -13503,7 +13503,7 @@ const dc = () => {
|
|
|
13503
13503
|
var l;
|
|
13504
13504
|
const j = [];
|
|
13505
13505
|
j.push({ alarmId: O.recordId }), r.value = j, (l = e.value) == null || l.open();
|
|
13506
|
-
}, { entryApp: p } =
|
|
13506
|
+
}, { entryApp: p } = B9.hooks.useEntryApp(), X = (O) => {
|
|
13507
13507
|
Qv(O.equipmentCode, O.equipmentPanelCode);
|
|
13508
13508
|
}, { handleAlarmVue: b } = U2(e, r), c = async () => {
|
|
13509
13509
|
var l;
|
|
@@ -13517,7 +13517,7 @@ const dc = () => {
|
|
|
13517
13517
|
}, H = (O) => {
|
|
13518
13518
|
if (!O) return;
|
|
13519
13519
|
const j = uc();
|
|
13520
|
-
|
|
13520
|
+
M9.open({
|
|
13521
13521
|
key: j,
|
|
13522
13522
|
class: "alarm-notify",
|
|
13523
13523
|
message: fA("新告警").value,
|
|
@@ -13655,7 +13655,7 @@ const dc = () => {
|
|
|
13655
13655
|
default: Q(() => [
|
|
13656
13656
|
g(jP, {
|
|
13657
13657
|
loading: D(t),
|
|
13658
|
-
pageKey: D(z),
|
|
13658
|
+
pageKey: D(z) + D(D9),
|
|
13659
13659
|
showLayout: r.value,
|
|
13660
13660
|
excludeRoutes: n.value,
|
|
13661
13661
|
routeKeepAliveVisible: P.value,
|
|
@@ -13716,7 +13716,7 @@ const dc = () => {
|
|
|
13716
13716
|
g(D(Xc))
|
|
13717
13717
|
]));
|
|
13718
13718
|
}
|
|
13719
|
-
}), ac = /* @__PURE__ */ ZA(bc, [["__scopeId", "data-v-
|
|
13719
|
+
}), ac = /* @__PURE__ */ ZA(bc, [["__scopeId", "data-v-bc5e05fa"]]), ic = {
|
|
13720
13720
|
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
|
|
13721
13721
|
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
|
|
13722
13722
|
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
|
|
@@ -13886,11 +13886,11 @@ T("@das-fed/web");
|
|
|
13886
13886
|
const sc = [
|
|
13887
13887
|
{
|
|
13888
13888
|
path: wA,
|
|
13889
|
-
component: () => import("./index-
|
|
13889
|
+
component: () => import("./index-DNmPYqCc.js")
|
|
13890
13890
|
},
|
|
13891
13891
|
{
|
|
13892
13892
|
path: Kv,
|
|
13893
|
-
component: () => import("./index-
|
|
13893
|
+
component: () => import("./index-ByvKrojI.js")
|
|
13894
13894
|
}
|
|
13895
13895
|
], Mb = {
|
|
13896
13896
|
routes: sc,
|
|
Binary file
|
|
@@ -6,7 +6,7 @@ import { DasSpin as x } from "@das-fed/ui/packages/components/spin/index";
|
|
|
6
6
|
import { getTabInfo as T } from "@das-fed/utils/common-info";
|
|
7
7
|
import { setShowLayout as b } from "@das-fed/utils/common-tools";
|
|
8
8
|
import { createService as E } from "@das-fed/utils/create-api-service";
|
|
9
|
-
import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-
|
|
9
|
+
import { u as L, p as P, a as u, c as f, b as q, l as B, g as K, d as M } from "./index-CUEaQqhg.js";
|
|
10
10
|
const N = "v1", O = E(`/api/justauth/client/${N}`), V = O.get("/visitor/kingdee/auth/user/auth_code"), z = /* @__PURE__ */ k({
|
|
11
11
|
__name: "index",
|
|
12
12
|
setup(F) {
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-
|
|
1
|
+
import { J as e, A as t, C as n, B as i, D as r, e as u, m as o, w as m, o as p, f as g, k as D, v as l, y as L, z as b, h as c, i as h, G as A, H as T, q as y, E as R, F as W, K as I, I as M, s as F, j as V, n as f, r as k, x as v, t as w } from "./index-CUEaQqhg.js";
|
|
2
2
|
export {
|
|
3
3
|
e as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|