@das-fed/web 6.4.0-dev.91 → 6.4.0-dev.92
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-DdhcschT.js → index-BrDtEtKe.js} +1 -1
- package/index-BrDtEtKe.js.gz +0 -0
- package/{index-CsEX6zxA.js → index-DbgCYRff.js} +1 -1
- package/{index-JQg--Cmc.js → index-mWP8kr_p.js} +111 -110
- package/index-mWP8kr_p.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/main-app-framework/{index-D1_j1bhg.js → index-B0Y-zSJl.js} +1 -1
- package/packages/main-app-framework/{index-Bm_tLBXF.js → index-BPp-7sEG.js} +77 -76
- package/packages/main-app-framework/index-BPp-7sEG.js.gz +0 -0
- package/{index-DXL5jYrG.js → packages/main-app-framework/index-BifLTON-.js} +1 -1
- package/packages/main-app-framework/index-BifLTON-.js.gz +0 -0
- package/packages/main-app-framework/index.js +1 -1
- package/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts +1 -1
- package/index-DXL5jYrG.js.gz +0 -0
- package/index-JQg--Cmc.js.gz +0 -0
- package/packages/main-app-framework/index-Bm_tLBXF.js.gz +0 -0
- package/packages/main-app-framework/index-DdhcschT.js.gz +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ref as Z, createApp as qr, reactive as Xe, computed as eA, defineComponent as sA, watch as iA, openBlock as Y, createElementBlock as zA, Fragment as Pe, createBlock as tA, TransitionGroup as Hr, normalizeProps as Kf, mergeProps as l9, withCtx as Q, renderList as Je, withDirectives as
|
|
1
|
+
import { ref as Z, createApp as qr, reactive as Xe, computed as eA, defineComponent as sA, watch as iA, openBlock as Y, createElementBlock as zA, Fragment as Pe, createBlock as tA, TransitionGroup as Hr, normalizeProps as Kf, mergeProps as l9, withCtx as Q, renderList as Je, withDirectives as MA, resolveDynamicComponent as Qe, vShow as UA, unref as V, createCommentVNode as rA, nextTick as ae, resolveComponent as pr, createElementVNode as g, normalizeClass as c7, normalizeStyle as Cf, renderSlot as TA, createVNode as B, Transition as K7, guardReactiveProps as C7, KeepAlive as _7, h as RA, onBeforeMount as mr, onMounted as ze, onUnmounted as lr, getCurrentScope as xr, onScopeDispose as Or, getCurrentInstance as Dr, onActivated as Vr, createTextVNode as lA, toDisplayString as PA, pushScopeId as Lv, popScopeId as yv, render as X9, isRef as ee, onBeforeUnmount as x9, useCssVars as Nr, withModifiers as oA, toRefs as Rr, createSlots as jr } from "vue";
|
|
2
2
|
import { initTheme as or, setThemeRule as Zr, getVar as $7 } from "@das-fed/web/packages/theme/index";
|
|
3
3
|
import { initI18n as Tr, t as k, currentLang as wv, i18n as AA, setI18nRule as Lr } from "@das-fed/web/packages/i18n/index";
|
|
4
4
|
import { DasWebLayout as b7, DasWebNav as Wv, DasWebMenu as Ev, DasWebTabs as Iv, layout as F, layoutData as gv } from "@das-fed/web/packages/layout/index";
|
|
@@ -7,7 +7,7 @@ import wr from "pinia-plugin-persistedstate";
|
|
|
7
7
|
import { createRouter as Wr, createWebHistory as Er, useRouter as Ze, useRoute as O9 } from "vue-router";
|
|
8
8
|
import { DasChangePwdRef as Ir, DasChangePwd as gr } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
9
9
|
import { DasChangeEnterprises as Mr } from "@das-fed/ui/packages/business-components/change-enterprises/index";
|
|
10
|
-
import { getSubApps as cA, getTabInfo as
|
|
10
|
+
import { getSubApps as cA, getTabInfo as wA, getToken as pe, getTenantInfo as Y9, getProjectInfo as KA, getPersonalInfo as D9, getUserInfo as Mv, getMenus as g9 } from "@das-fed/utils/common-info";
|
|
11
11
|
import { pureImageSrc as G9 } from "@das-fed/utils/pure-image-src";
|
|
12
12
|
import { DasNotification as M9 } from "@das-fed/ui/packages/components/notification/index";
|
|
13
13
|
import { flatTree as ue, filterTreeArray as Br, isEmpty as kr, treeFind as A3, setBrowseTitle as Qr, updateFavIcon as Yr, dateFormat as Gr, runPromiseByQueue as Ur, objEqual as _f, setShowWatermark as $f, setShowLayout as A7, getUrlParams as Jr, withToken as hr } from "@das-fed/utils/common-tools";
|
|
@@ -32,7 +32,7 @@ import { socketService as h9 } from "@das-fed/utils/webSocket-service";
|
|
|
32
32
|
import { userInfoNextTick as Pt, tokenNextTick as F9 } from "@das-fed/utils/nextTiken";
|
|
33
33
|
import { mainAppFramework as B9 } from "@das-fed/web/packages/main-app-framework/index";
|
|
34
34
|
import { DasAutoRegisterIcon as Fv, DasIcon as Be } from "@das-fed/ui/packages/components/icon/index";
|
|
35
|
-
import { DasTooltip as
|
|
35
|
+
import { DasTooltip as gA } from "@das-fed/ui/packages/components/tooltip/index";
|
|
36
36
|
import { DasLivePlayer as ut } from "@das-fed/ui/packages/components/live-player/index";
|
|
37
37
|
import { DasWatermark as zt } from "@das-fed/ui/packages/components/watermark/index";
|
|
38
38
|
import { DasDrawer as dt } from "@das-fed/ui/packages/components/drawer/index";
|
|
@@ -655,7 +655,7 @@ const f3 = (e, A) => {
|
|
|
655
655
|
}), (X, a) => (Y(), zA(Pe, null, [
|
|
656
656
|
X.needTransition ? (Y(), tA(Hr, Kf(l9({ key: 0 }, f.value)), {
|
|
657
657
|
default: Q(() => [
|
|
658
|
-
(Y(!0), zA(Pe, null, Je(P.value, ({ path: b, meta: q }) =>
|
|
658
|
+
(Y(!0), zA(Pe, null, Je(P.value, ({ path: b, meta: q }) => MA((Y(), zA("div", {
|
|
659
659
|
class: "das-iframe-router-view",
|
|
660
660
|
key: q.key,
|
|
661
661
|
name: b
|
|
@@ -669,7 +669,7 @@ const f3 = (e, A) => {
|
|
|
669
669
|
]),
|
|
670
670
|
_: 1
|
|
671
671
|
}, 16)) : rA("", !0),
|
|
672
|
-
X.needTransition ? rA("", !0) : (Y(!0), zA(Pe, { key: 1 }, Je(P.value, ({ path: b, meta: q }) =>
|
|
672
|
+
X.needTransition ? rA("", !0) : (Y(!0), zA(Pe, { key: 1 }, Je(P.value, ({ path: b, meta: q }) => MA((Y(), zA("div", {
|
|
673
673
|
class: "das-iframe-router-view",
|
|
674
674
|
key: q.key,
|
|
675
675
|
name: b
|
|
@@ -682,12 +682,12 @@ const f3 = (e, A) => {
|
|
|
682
682
|
])), 128))
|
|
683
683
|
], 64));
|
|
684
684
|
}
|
|
685
|
-
}),
|
|
685
|
+
}), EA = (e, A) => {
|
|
686
686
|
const f = e.__vccOpts || e;
|
|
687
687
|
for (const [v, n] of A)
|
|
688
688
|
f[v] = n;
|
|
689
689
|
return f;
|
|
690
|
-
}, kt = /* @__PURE__ */
|
|
690
|
+
}, kt = /* @__PURE__ */ EA(Bt, [["__scopeId", "data-v-6dd310c9"]]), Qt = { class: "das-web-app-container" }, Yt = {
|
|
691
691
|
key: 0,
|
|
692
692
|
class: "das-web-app-header"
|
|
693
693
|
}, Gt = { class: "das-web-app-main" }, Ut = {
|
|
@@ -758,37 +758,37 @@ const f3 = (e, A) => {
|
|
|
758
758
|
return (s, m) => {
|
|
759
759
|
const D = pr("router-view");
|
|
760
760
|
return Y(), zA("div", Qt, [
|
|
761
|
-
|
|
761
|
+
MA(g("div", {
|
|
762
762
|
class: c7(["das-web-app-overlay", p.value]),
|
|
763
763
|
style: Cf(X.value)
|
|
764
764
|
}, null, 6), [
|
|
765
765
|
[UA, i.value]
|
|
766
766
|
]),
|
|
767
|
-
P.value ?
|
|
767
|
+
P.value ? MA((Y(), zA("div", Yt, [
|
|
768
768
|
TA(s.$slots, "header", {}, void 0, !0)
|
|
769
769
|
], 512)), [
|
|
770
770
|
[UA, i.value]
|
|
771
771
|
]) : rA("", !0),
|
|
772
772
|
g("div", Gt, [
|
|
773
|
-
u.value ?
|
|
773
|
+
u.value ? MA((Y(), zA("div", Ut, [
|
|
774
774
|
TA(s.$slots, "aside", {}, void 0, !0)
|
|
775
775
|
], 512)), [
|
|
776
776
|
[UA, i.value]
|
|
777
777
|
]) : rA("", !0),
|
|
778
778
|
g("div", Jt, [
|
|
779
|
-
z.value ?
|
|
779
|
+
z.value ? MA((Y(), zA("div", ht, [
|
|
780
780
|
TA(s.$slots, "tab", {}, void 0, !0)
|
|
781
781
|
], 512)), [
|
|
782
782
|
[UA, i.value]
|
|
783
783
|
]) : rA("", !0),
|
|
784
784
|
g("div", Ft, [
|
|
785
|
-
|
|
785
|
+
MA(g("div", St, [
|
|
786
786
|
TA(s.$slots, "banner", {}, void 0, !0)
|
|
787
787
|
], 512), [
|
|
788
788
|
[UA, i.value]
|
|
789
789
|
]),
|
|
790
790
|
g("div", Kt, [
|
|
791
|
-
|
|
791
|
+
MA((Y(), zA("div", {
|
|
792
792
|
key: s.pageKey,
|
|
793
793
|
style: { width: "100%", height: "100%" }
|
|
794
794
|
}, [
|
|
@@ -842,7 +842,7 @@ const f3 = (e, A) => {
|
|
|
842
842
|
]),
|
|
843
843
|
_: 1
|
|
844
844
|
})),
|
|
845
|
-
|
|
845
|
+
MA(g("div", $t, [
|
|
846
846
|
B(kt, {
|
|
847
847
|
exclude: a.value,
|
|
848
848
|
transitionConfig: q.value,
|
|
@@ -855,7 +855,7 @@ const f3 = (e, A) => {
|
|
|
855
855
|
])), [
|
|
856
856
|
[UA, t.value]
|
|
857
857
|
]),
|
|
858
|
-
|
|
858
|
+
MA(g("div", AP, [
|
|
859
859
|
TA(s.$slots, "default", {}, void 0, !0)
|
|
860
860
|
], 512), [
|
|
861
861
|
[UA, !t.value]
|
|
@@ -867,7 +867,7 @@ const f3 = (e, A) => {
|
|
|
867
867
|
]);
|
|
868
868
|
};
|
|
869
869
|
}
|
|
870
|
-
}), Rb = /* @__PURE__ */
|
|
870
|
+
}), Rb = /* @__PURE__ */ EA(eP, [["__scopeId", "data-v-e2af5217"]]), fP = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], jb = /* @__PURE__ */ sA({
|
|
871
871
|
__name: "das-web-nav",
|
|
872
872
|
setup(e) {
|
|
873
873
|
const { nav: A } = De, f = eA(() => A.theme), v = eA(() => A.logo || ""), n = eA(() => A.activeItem || ""), r = eA(() => (A.items || []).filter((N) => N.fixed)), P = eA(() => (A.items || []).filter((N) => !N.fixed)), u = eA(() => {
|
|
@@ -1358,7 +1358,7 @@ const xP = ["src", "entry", "name"], OP = /* @__PURE__ */ sA({
|
|
|
1358
1358
|
onLoad: n
|
|
1359
1359
|
}, null, 40, xP));
|
|
1360
1360
|
}
|
|
1361
|
-
}), DP = /* @__PURE__ */
|
|
1361
|
+
}), DP = /* @__PURE__ */ EA(OP, [["__scopeId", "data-v-8ae871f6"]]), VP = /* @__PURE__ */ sA({
|
|
1362
1362
|
__name: "das-micro-apps",
|
|
1363
1363
|
setup(e) {
|
|
1364
1364
|
const A = Z(null), f = async (r, P) => {
|
|
@@ -1396,7 +1396,7 @@ const xP = ["src", "entry", "name"], OP = /* @__PURE__ */ sA({
|
|
|
1396
1396
|
class: "das-micro-app-container"
|
|
1397
1397
|
}, [
|
|
1398
1398
|
(Y(!0), zA(Pe, null, Je(V(yA), (u) => (Y(), zA(Pe, null, [
|
|
1399
|
-
u.loaded ?
|
|
1399
|
+
u.loaded ? MA((Y(), tA(DP, {
|
|
1400
1400
|
key: 0,
|
|
1401
1401
|
src: u.src || "",
|
|
1402
1402
|
name: u.name,
|
|
@@ -1410,7 +1410,7 @@ const xP = ["src", "entry", "name"], OP = /* @__PURE__ */ sA({
|
|
|
1410
1410
|
], 64))), 256))
|
|
1411
1411
|
], 512));
|
|
1412
1412
|
}
|
|
1413
|
-
}), NP = /* @__PURE__ */
|
|
1413
|
+
}), NP = /* @__PURE__ */ EA(VP, [["__scopeId", "data-v-3abdb1e9"]]), Tb = /* @__PURE__ */ sA({
|
|
1414
1414
|
__name: "das-main-app-layout",
|
|
1415
1415
|
props: {
|
|
1416
1416
|
transitionConfig: { default: () => {
|
|
@@ -1691,7 +1691,7 @@ const xP = ["src", "entry", "name"], OP = /* @__PURE__ */ sA({
|
|
|
1691
1691
|
_: 3
|
|
1692
1692
|
}, 8, ["font", "content", "width", "height"]));
|
|
1693
1693
|
}
|
|
1694
|
-
}), LP = /* @__PURE__ */
|
|
1694
|
+
}), LP = /* @__PURE__ */ EA(TP, [["__scopeId", "data-v-dacc9554"]]), yP = {
|
|
1695
1695
|
"--menu-tip-diaolg-content": "#212121",
|
|
1696
1696
|
"--menu-tip-diaolg-divide": "#d9d9d9",
|
|
1697
1697
|
"--menu-tip-diaolg-info": "#999999"
|
|
@@ -1737,7 +1737,7 @@ const xP = ["src", "entry", "name"], OP = /* @__PURE__ */ sA({
|
|
|
1737
1737
|
}, null, 8, WP),
|
|
1738
1738
|
f.desc && f.desc.length ? (Y(), zA(Pe, { key: 0 }, [
|
|
1739
1739
|
EP,
|
|
1740
|
-
(Y(!0), zA(Pe, null, Je(f.desc, (n, r) =>
|
|
1740
|
+
(Y(!0), zA(Pe, null, Je(f.desc, (n, r) => MA((Y(), zA("div", {
|
|
1741
1741
|
key: r,
|
|
1742
1742
|
class: "desc-item"
|
|
1743
1743
|
}, [
|
|
@@ -1750,7 +1750,7 @@ const xP = ["src", "entry", "name"], OP = /* @__PURE__ */ sA({
|
|
|
1750
1750
|
_: 1
|
|
1751
1751
|
}, 8, ["modelValue", "width", "height", "title", "onClosed"]));
|
|
1752
1752
|
}
|
|
1753
|
-
}), MP = /* @__PURE__ */
|
|
1753
|
+
}), MP = /* @__PURE__ */ EA(gP, [["__scopeId", "data-v-816eb0f2"]]), s9 = ({ title: e = "", content: A = "", desc: f = [] }) => new Promise((v) => {
|
|
1754
1754
|
const n = document.createElement("div");
|
|
1755
1755
|
n.setAttribute("id", "entry-app-dialog"), document.body.appendChild(n);
|
|
1756
1756
|
const P = RA(MP, { title: e, content: A, desc: f, closeCallback: () => {
|
|
@@ -1782,7 +1782,7 @@ const BP = (e = {}) => {
|
|
|
1782
1782
|
}, UP = () => {
|
|
1783
1783
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
1784
1784
|
}, kA = (e) => {
|
|
1785
|
-
let A =
|
|
1785
|
+
let A = wA();
|
|
1786
1786
|
e.forEach((f) => {
|
|
1787
1787
|
var v;
|
|
1788
1788
|
if (f.key.startsWith("tabMap")) {
|
|
@@ -3236,7 +3236,7 @@ function zn() {
|
|
|
3236
3236
|
]);
|
|
3237
3237
|
},
|
|
3238
3238
|
_doProcessBlock: function(b, q) {
|
|
3239
|
-
for (var c = this._hash.words, H = c[0], i = c[1], s = c[2], m = c[3], D = c[4], O = c[5], N = c[6], l = c[7], j = H.high, x = H.low, R = i.high, o = i.low, T = s.high, S = s.low, _ = m.high, U = m.low, K = D.high, G = D.low, h = O.high, fA = O.low, L = N.high, w = N.low, I = l.high, W = l.low, aA = j, bA = x, jA = R, C = o, $ = T, vA = S, xe = _, J = U, E = K, M = G,
|
|
3239
|
+
for (var c = this._hash.words, H = c[0], i = c[1], s = c[2], m = c[3], D = c[4], O = c[5], N = c[6], l = c[7], j = H.high, x = H.low, R = i.high, o = i.low, T = s.high, S = s.low, _ = m.high, U = m.low, K = D.high, G = D.low, h = O.high, fA = O.low, L = N.high, w = N.low, I = l.high, W = l.low, aA = j, bA = x, jA = R, C = o, $ = T, vA = S, xe = _, J = U, E = K, M = G, IA = h, de = fA, o9 = L, v9 = w, vf = I, n9 = W, Ae = 0; Ae < 80; Ae++) {
|
|
3240
3240
|
var CA, se, Z9 = X[Ae];
|
|
3241
3241
|
if (Ae < 16)
|
|
3242
3242
|
se = Z9.high = b[q + Ae * 2] | 0, CA = Z9.low = b[q + Ae * 2 + 1] | 0;
|
|
@@ -3244,10 +3244,10 @@ function zn() {
|
|
|
3244
3244
|
var g7 = X[Ae - 15], Ee = g7.high, r9 = g7.low, nr = (Ee >>> 1 | r9 << 31) ^ (Ee >>> 8 | r9 << 24) ^ Ee >>> 7, M7 = (r9 >>> 1 | Ee << 31) ^ (r9 >>> 8 | Ee << 24) ^ (r9 >>> 7 | Ee << 25), B7 = X[Ae - 2], Ie = B7.high, t9 = B7.low, rr = (Ie >>> 19 | t9 << 13) ^ (Ie << 3 | t9 >>> 29) ^ Ie >>> 6, k7 = (t9 >>> 19 | Ie << 13) ^ (t9 << 3 | Ie >>> 29) ^ (t9 >>> 6 | Ie << 26), Q7 = X[Ae - 7], tr = Q7.high, Pr = Q7.low, Y7 = X[Ae - 16], ur = Y7.high, G7 = Y7.low;
|
|
3245
3245
|
CA = M7 + Pr, se = nr + tr + (CA >>> 0 < M7 >>> 0 ? 1 : 0), CA = CA + k7, se = se + rr + (CA >>> 0 < k7 >>> 0 ? 1 : 0), CA = CA + G7, se = se + ur + (CA >>> 0 < G7 >>> 0 ? 1 : 0), Z9.high = se, Z9.low = CA;
|
|
3246
3246
|
}
|
|
3247
|
-
var zr = E &
|
|
3248
|
-
vf = o9, n9 = v9, o9 =
|
|
3247
|
+
var zr = E & IA ^ ~E & o9, U7 = M & de ^ ~M & v9, dr = aA & jA ^ aA & $ ^ jA & $, Xr = bA & C ^ bA & vA ^ C & vA, cr = (aA >>> 28 | bA << 4) ^ (aA << 30 | bA >>> 2) ^ (aA << 25 | bA >>> 7), J7 = (bA >>> 28 | aA << 4) ^ (bA << 30 | aA >>> 2) ^ (bA << 25 | aA >>> 7), br = (E >>> 14 | M << 18) ^ (E >>> 18 | M << 14) ^ (E << 23 | M >>> 9), ar = (M >>> 14 | E << 18) ^ (M >>> 18 | E << 14) ^ (M << 23 | E >>> 9), h7 = p[Ae], ir = h7.high, F7 = h7.low, hA = n9 + ar, qe = vf + br + (hA >>> 0 < n9 >>> 0 ? 1 : 0), hA = hA + U7, qe = qe + zr + (hA >>> 0 < U7 >>> 0 ? 1 : 0), hA = hA + F7, qe = qe + ir + (hA >>> 0 < F7 >>> 0 ? 1 : 0), hA = hA + CA, qe = qe + se + (hA >>> 0 < CA >>> 0 ? 1 : 0), S7 = J7 + Xr, sr = cr + dr + (S7 >>> 0 < J7 >>> 0 ? 1 : 0);
|
|
3248
|
+
vf = o9, n9 = v9, o9 = IA, v9 = de, IA = E, de = M, M = J + hA | 0, E = xe + qe + (M >>> 0 < J >>> 0 ? 1 : 0) | 0, xe = $, J = vA, $ = jA, vA = C, jA = aA, C = bA, bA = hA + S7 | 0, aA = qe + sr + (bA >>> 0 < hA >>> 0 ? 1 : 0) | 0;
|
|
3249
3249
|
}
|
|
3250
|
-
x = H.low = x + bA, H.high = j + aA + (x >>> 0 < bA >>> 0 ? 1 : 0), o = i.low = o + C, i.high = R + jA + (o >>> 0 < C >>> 0 ? 1 : 0), S = s.low = S + vA, s.high = T + $ + (S >>> 0 < vA >>> 0 ? 1 : 0), U = m.low = U + J, m.high = _ + xe + (U >>> 0 < J >>> 0 ? 1 : 0), G = D.low = G + M, D.high = K + E + (G >>> 0 < M >>> 0 ? 1 : 0), fA = O.low = fA + de, O.high = h +
|
|
3250
|
+
x = H.low = x + bA, H.high = j + aA + (x >>> 0 < bA >>> 0 ? 1 : 0), o = i.low = o + C, i.high = R + jA + (o >>> 0 < C >>> 0 ? 1 : 0), S = s.low = S + vA, s.high = T + $ + (S >>> 0 < vA >>> 0 ? 1 : 0), U = m.low = U + J, m.high = _ + xe + (U >>> 0 < J >>> 0 ? 1 : 0), G = D.low = G + M, D.high = K + E + (G >>> 0 < M >>> 0 ? 1 : 0), fA = O.low = fA + de, O.high = h + IA + (fA >>> 0 < de >>> 0 ? 1 : 0), w = N.low = w + v9, N.high = L + o9 + (w >>> 0 < v9 >>> 0 ? 1 : 0), W = l.low = W + n9, l.high = I + vf + (W >>> 0 < n9 >>> 0 ? 1 : 0);
|
|
3251
3251
|
},
|
|
3252
3252
|
_doFinalize: function() {
|
|
3253
3253
|
var b = this._data, q = b.words, c = this._nDataBytes * 8, H = b.sigBytes * 8;
|
|
@@ -6910,7 +6910,7 @@ function Zu() {
|
|
|
6910
6910
|
});
|
|
6911
6911
|
})(Pn);
|
|
6912
6912
|
var Tu = Pn.exports;
|
|
6913
|
-
const
|
|
6913
|
+
const BA = /* @__PURE__ */ Au(Tu);
|
|
6914
6914
|
function Lu(e, A, f, v) {
|
|
6915
6915
|
dn(e, A).then(({ input: n, key: r }) => cn(n, r, f, !0, v)).then((n) => {
|
|
6916
6916
|
yu.apply(null, n);
|
|
@@ -6922,7 +6922,7 @@ function Lu(e, A, f, v) {
|
|
|
6922
6922
|
});
|
|
6923
6923
|
}
|
|
6924
6924
|
function yu(e, A, f, v, n, r, P, u) {
|
|
6925
|
-
let z = Xn(A, f, v, n, r), t =
|
|
6925
|
+
let z = Xn(A, f, v, n, r), t = BA.AES.encrypt.apply(null, [e, z.key, z.options]), d = P === "base64" ? BA.enc.Base64 : BA.enc.Hex, p = t.ciphertext.toString(d);
|
|
6926
6926
|
u({
|
|
6927
6927
|
value: p,
|
|
6928
6928
|
error: null
|
|
@@ -6939,7 +6939,7 @@ function wu(e, A, f, v) {
|
|
|
6939
6939
|
});
|
|
6940
6940
|
}
|
|
6941
6941
|
function Wu(e, A, f, v, n, r, P, u) {
|
|
6942
|
-
let z = Xn(A, f, v, n, r), t =
|
|
6942
|
+
let z = Xn(A, f, v, n, r), t = BA.DES.encrypt.apply(null, [e, z.key, z.options]), d = P === "base64" ? BA.enc.Base64 : BA.enc.Hex, p = t.ciphertext.toString(d);
|
|
6943
6943
|
u({
|
|
6944
6944
|
value: p,
|
|
6945
6945
|
error: null
|
|
@@ -6953,13 +6953,13 @@ async function dn(e, A) {
|
|
|
6953
6953
|
} : Promise.reject("秘钥为空");
|
|
6954
6954
|
}
|
|
6955
6955
|
function Xn(e, A, f, v, n) {
|
|
6956
|
-
let r = S3(e, A), P = {}, u =
|
|
6957
|
-
if (v === "CFB" ? u =
|
|
6956
|
+
let r = S3(e, A), P = {}, u = BA.mode.CBC;
|
|
6957
|
+
if (v === "CFB" ? u = BA.mode.CFB : v === "OFB" ? u = BA.mode.OFB : v === "ECB" && (u = BA.mode.ECB), P.mode = u, v !== "ECB") {
|
|
6958
6958
|
let d = S3(f, A === 8 ? 8 : 16);
|
|
6959
6959
|
P.iv = d;
|
|
6960
6960
|
}
|
|
6961
|
-
let z =
|
|
6962
|
-
return n === "zero" ? z =
|
|
6961
|
+
let z = BA.pad.Pkcs7;
|
|
6962
|
+
return n === "zero" ? z = BA.pad.ZeroPadding : n === "iso10126" ? z = BA.pad.Iso10126 : n === "ansix923" && (z = BA.pad.AnsiX923), P.padding = z, {
|
|
6963
6963
|
key: r,
|
|
6964
6964
|
options: P
|
|
6965
6965
|
};
|
|
@@ -7021,7 +7021,7 @@ function S3(e, A) {
|
|
|
7021
7021
|
for (let r = v; r < A; r++)
|
|
7022
7022
|
f = f + n;
|
|
7023
7023
|
}
|
|
7024
|
-
return
|
|
7024
|
+
return BA.enc.Latin1.parse(f);
|
|
7025
7025
|
}
|
|
7026
7026
|
const Bu = {
|
|
7027
7027
|
aes: Lu,
|
|
@@ -7786,7 +7786,7 @@ const k9 = (e, A = "") => {
|
|
|
7786
7786
|
return { left: v, right: n };
|
|
7787
7787
|
}, I6 = (e, A, f) => {
|
|
7788
7788
|
var p;
|
|
7789
|
-
const v = ue(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), r = (((p =
|
|
7789
|
+
const v = ue(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), r = (((p = wA()) == null ? void 0 : p.tabMap) ?? {})[e] ?? [], { left: P, right: u } = E6(r, f), z = r.filter((X) => v.find((a) => a.code === X.code));
|
|
7790
7790
|
if (!P.length && !u.length || !z.length)
|
|
7791
7791
|
return kA([
|
|
7792
7792
|
{ key: "currentCode", value: "" },
|
|
@@ -7867,7 +7867,7 @@ const k9 = (e, A = "") => {
|
|
|
7867
7867
|
}
|
|
7868
7868
|
}
|
|
7869
7869
|
if (r && P) {
|
|
7870
|
-
const H = (
|
|
7870
|
+
const H = (wA().tabMap ?? {})[A.code] ?? [];
|
|
7871
7871
|
if (H.length) {
|
|
7872
7872
|
const i = H.filter(
|
|
7873
7873
|
(s) => f && f === s.code || v && v === `/${s.applicationPath}${s.path}`.replace(/\/\//g, "/") || ue(z).map((m) => m.code).includes(s.code)
|
|
@@ -8038,7 +8038,7 @@ const k9 = (e, A = "") => {
|
|
|
8038
8038
|
return A({
|
|
8039
8039
|
init: z,
|
|
8040
8040
|
getResult: p
|
|
8041
|
-
}), (q, c) =>
|
|
8041
|
+
}), (q, c) => MA((Y(), zA("div", H1, [
|
|
8042
8042
|
g("section", p1, [
|
|
8043
8043
|
g("p", m1, PA(V(k)("侧边菜单栏")), 1),
|
|
8044
8044
|
g("div", l1, [
|
|
@@ -8187,7 +8187,7 @@ const k9 = (e, A = "") => {
|
|
|
8187
8187
|
[UA, q.isShow]
|
|
8188
8188
|
]);
|
|
8189
8189
|
}
|
|
8190
|
-
}), I1 = /* @__PURE__ */
|
|
8190
|
+
}), I1 = /* @__PURE__ */ EA(E1, [["__scopeId", "data-v-81971137"]]), j9 = "v1", g1 = `/api/portal/manager/${j9}`, T7 = QA(g1), M1 = `/api/orchestration-engine/${j9}`, L7 = QA(`${M1}`), B1 = `/api/workbench/workbench-server/${j9}`, k1 = QA(B1), Q1 = `/workflow/form/form/${j9}`, Y1 = QA(Q1), G1 = `/api/portal/user/${j9}`, Kn = QA(G1), U1 = Kn.get("/home"), J1 = Kn.delete("/home"), h1 = T7.get("/basics/home/type"), F1 = T7.get("/basics/tree-page"), S1 = T7.get("/basics/list"), K1 = L7.get("/device-list/arrange/page"), C1 = L7.get("/drawingArrangement/list"), _1 = L7.get("/data/arrange/page"), $1 = k1.get("/page/portal/list"), A8 = Y1.post("/list"), e8 = (e) => {
|
|
8191
8191
|
const { orgInfo: A, information: f, validate: v } = e, n = Z(!1), r = Z(""), P = Z(""), u = Z(""), z = Z([]), t = Z({
|
|
8192
8192
|
id: "0",
|
|
8193
8193
|
path: "",
|
|
@@ -8258,7 +8258,7 @@ const v8 = (e) => {
|
|
|
8258
8258
|
const { information: A, orgInfo: f } = e, v = eA(() => f.id), n = Z(!1), r = Z(0), P = Z([
|
|
8259
8259
|
{ value: 0, label: k("图纸") },
|
|
8260
8260
|
{ value: 1, label: k("图纸编排") },
|
|
8261
|
-
{ value: 2, label: k("
|
|
8261
|
+
{ value: 2, label: k("设备看板") },
|
|
8262
8262
|
{ value: 3, label: k("数据编排") },
|
|
8263
8263
|
{ value: 4, label: k("轻分析") }
|
|
8264
8264
|
]), u = Z([]), z = Z(20), t = Z(1), d = Z(0), p = Z(""), X = Z(""), a = Z(""), b = Z(!1), { run: q } = K1(), { run: c } = C1(), { run: H } = _1(), { run: i } = $1();
|
|
@@ -8332,7 +8332,7 @@ const v8 = (e) => {
|
|
|
8332
8332
|
u.value = [];
|
|
8333
8333
|
return;
|
|
8334
8334
|
}
|
|
8335
|
-
u.value = G.data.map((h) => (h.type = k("
|
|
8335
|
+
u.value = G.data.map((h) => (h.type = k("设备看板"), h)) || [], d.value = G.totalCount;
|
|
8336
8336
|
}, S = async () => {
|
|
8337
8337
|
const U = {
|
|
8338
8338
|
project: v.value,
|
|
@@ -8507,7 +8507,7 @@ const v8 = (e) => {
|
|
|
8507
8507
|
formValidate: bA,
|
|
8508
8508
|
getResult: jA
|
|
8509
8509
|
}), (C, $) => (Y(), zA(Pe, null, [
|
|
8510
|
-
|
|
8510
|
+
MA(g("div", u8, [
|
|
8511
8511
|
B(V(Sv), {
|
|
8512
8512
|
width: "100%",
|
|
8513
8513
|
"label-length": 6,
|
|
@@ -8757,7 +8757,7 @@ const v8 = (e) => {
|
|
|
8757
8757
|
}, null, 512)
|
|
8758
8758
|
], 64));
|
|
8759
8759
|
}
|
|
8760
|
-
}), i8 = /* @__PURE__ */
|
|
8760
|
+
}), i8 = /* @__PURE__ */ EA(a8, [["__scopeId", "data-v-acf77da9"]]), s8 = "v1", q8 = `/api/portal/user/${s8}`, H8 = QA(q8), p8 = Cr.post("/menu/personal-setting"), m8 = H8.put("/home"), l8 = { class: "preson-style-drawer" }, x8 = { class: "preson-style-footer" }, O8 = /* @__PURE__ */ sA({
|
|
8761
8761
|
__name: "index",
|
|
8762
8762
|
setup(e, { expose: A }) {
|
|
8763
8763
|
const f = Z(!1), v = Z(!1), n = Z(null), r = Z(null), P = Z("theme"), u = Z(""), z = eA(() => [
|
|
@@ -8846,7 +8846,7 @@ const v8 = (e) => {
|
|
|
8846
8846
|
}, 8, ["title", "modelValue"])) : rA("", !0)
|
|
8847
8847
|
]));
|
|
8848
8848
|
}
|
|
8849
|
-
}), D8 = /* @__PURE__ */
|
|
8849
|
+
}), D8 = /* @__PURE__ */ EA(O8, [["__scopeId", "data-v-ee8cc238"]]), V8 = () => Z(null), N8 = { class: "iframe-container" }, R8 = ["src"], j8 = /* @__PURE__ */ sA({
|
|
8850
8850
|
__name: "index",
|
|
8851
8851
|
props: {
|
|
8852
8852
|
src: { default: "" }
|
|
@@ -8873,7 +8873,7 @@ const v8 = (e) => {
|
|
|
8873
8873
|
spinning: !v.value
|
|
8874
8874
|
}, {
|
|
8875
8875
|
default: Q(() => [
|
|
8876
|
-
|
|
8876
|
+
MA(g("iframe", {
|
|
8877
8877
|
id: "iframe-view",
|
|
8878
8878
|
ref_key: "iframeRef",
|
|
8879
8879
|
ref: f,
|
|
@@ -8889,7 +8889,7 @@ const v8 = (e) => {
|
|
|
8889
8889
|
}, 8, ["spinning"])) : rA("", !0)
|
|
8890
8890
|
]));
|
|
8891
8891
|
}
|
|
8892
|
-
}), X7 = /* @__PURE__ */
|
|
8892
|
+
}), X7 = /* @__PURE__ */ EA(j8, [["__scopeId", "data-v-ed99a1f3"]]), o8 = a7.get("/login/history"), Z8 = () => {
|
|
8893
8893
|
const e = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((z) => new RegExp(`^${z}$`, "i").test(location.pathname)), A = (P) => {
|
|
8894
8894
|
const { browserLogoImgHost: u = "", browserLogoImg: z = "" } = P || {}, t = z ? u + G9(z) : "./logo.svg";
|
|
8895
8895
|
YP(t), Yr(t);
|
|
@@ -9030,16 +9030,17 @@ const v8 = (e) => {
|
|
|
9030
9030
|
}, w8 = () => {
|
|
9031
9031
|
const { entryMenu: e } = $9();
|
|
9032
9032
|
F.menu.addEventListener("onItemClick", async (A) => {
|
|
9033
|
+
var r;
|
|
9033
9034
|
NA.innerSet = !0;
|
|
9034
|
-
const f = ue(g9(A.applicationCode)).filter((
|
|
9035
|
-
if (
|
|
9036
|
-
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
}
|
|
9041
|
-
e({ currentMenu: f });
|
|
9035
|
+
const f = ue(g9(A.applicationCode)).filter((P) => !P.disable && !P.expired).find((P) => P.code === A.code);
|
|
9036
|
+
if (f && !f.routeUrl) return;
|
|
9037
|
+
if (!f) {
|
|
9038
|
+
const { title: P, content: u, desc: z } = await y7(f);
|
|
9039
|
+
await s9({ title: P, content: u, desc: z });
|
|
9040
|
+
return;
|
|
9042
9041
|
}
|
|
9042
|
+
const n = (((r = wA().tabMap) == null ? void 0 : r[A.applicationCode]) ?? []).find((P) => P.code === A.code);
|
|
9043
|
+
e(n ? { currentMenu: f, route: { path: n.path, query: n.query ?? {} } } : { currentMenu: f });
|
|
9043
9044
|
}), F.menu.addEventListener("toggleCollapse", (A) => {
|
|
9044
9045
|
const f = gv.nav.activeItem;
|
|
9045
9046
|
let v = cA().menuCollapses || [];
|
|
@@ -9058,7 +9059,7 @@ const v8 = (e) => {
|
|
|
9058
9059
|
var t;
|
|
9059
9060
|
const r = cA();
|
|
9060
9061
|
if (!((t = r.subAppList) != null && t.length) || r.subAppList.findIndex((d) => d.code === n.code) === -1) return;
|
|
9061
|
-
const z = (
|
|
9062
|
+
const z = (wA().tabMap[n.code] ?? []).map((d) => d.code);
|
|
9062
9063
|
z && z.length && E9(n.code, z), A(n);
|
|
9063
9064
|
});
|
|
9064
9065
|
const { enter: v } = $e();
|
|
@@ -9076,7 +9077,7 @@ const v8 = (e) => {
|
|
|
9076
9077
|
n = Ke(b.path), r = Ke(b.query);
|
|
9077
9078
|
const H = cA().currentSubAppCode ?? "";
|
|
9078
9079
|
if (!H) return;
|
|
9079
|
-
const i = ((O = b.query) == null ? void 0 : O.menu) ?? ((N =
|
|
9080
|
+
const i = ((O = b.query) == null ? void 0 : O.menu) ?? ((N = wA()) == null ? void 0 : N.currentCode) ?? "";
|
|
9080
9081
|
if (!i) return;
|
|
9081
9082
|
const s = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
9082
9083
|
s && JSON.stringify(s) !== "{}" && (A.value = (j = (l = s[H]) == null ? void 0 : l[i]) != null && j.fontColor ? s[H][i].fontColor : "", f.value = (R = (x = s[H]) == null ? void 0 : x[i]) != null && R.backgroundColor ? s[H][i].backgroundColor : "", v.value = (T = (o = s[H]) == null ? void 0 : o[i]) != null && T.backgroundColor ? s[H][i].backgroundColor : "");
|
|
@@ -9084,7 +9085,7 @@ const v8 = (e) => {
|
|
|
9084
9085
|
);
|
|
9085
9086
|
const { deleteApp: P } = f9(), { entryMenu: u } = $9(), { reloadRoute: z, unloadRoute: t } = Cn(), d = (b) => {
|
|
9086
9087
|
var i;
|
|
9087
|
-
const q = ue(g9(b.applicationCode)).find((s) => s.code === b.code), H = (((i =
|
|
9088
|
+
const q = ue(g9(b.applicationCode)).find((s) => s.code === b.code), H = (((i = wA().tabMap) == null ? void 0 : i[b.applicationCode]) ?? []).find((s) => s.code === b.code);
|
|
9088
9089
|
u({ currentMenu: q, route: { path: H.path, query: H.query ?? {} } });
|
|
9089
9090
|
}, p = (b) => {
|
|
9090
9091
|
if (!b || !b.length) return;
|
|
@@ -9093,7 +9094,7 @@ const v8 = (e) => {
|
|
|
9093
9094
|
}, X = (b) => {
|
|
9094
9095
|
const q = cA().currentSubAppCode ?? "";
|
|
9095
9096
|
NA.innerSet = !0;
|
|
9096
|
-
const c =
|
|
9097
|
+
const c = wA(), H = c.tabMap[q], i = H.findIndex((l) => l.code === b.data.code);
|
|
9097
9098
|
if (i === -1) return;
|
|
9098
9099
|
const s = () => {
|
|
9099
9100
|
var x;
|
|
@@ -9132,13 +9133,13 @@ const v8 = (e) => {
|
|
|
9132
9133
|
})[b.type](b.data);
|
|
9133
9134
|
};
|
|
9134
9135
|
F.tab.addEventListener("onItemClick", async (b) => {
|
|
9135
|
-
|
|
9136
|
+
wA().currentCode !== b.currentCode && (NA.innerSet = !0, d(b));
|
|
9136
9137
|
}), F.tab.addEventListener("onItemRemove", (b) => {
|
|
9137
|
-
const q =
|
|
9138
|
+
const q = wA(), c = cA().currentSubAppCode ?? "";
|
|
9138
9139
|
q.tabMap[c].findIndex((s) => s.code === b.code) !== -1 && (E9(b.applicationCode, [b.code]), X({ type: "me", data: b }));
|
|
9139
9140
|
}), F.tab.addEventListener("onMenuClick", (b) => {
|
|
9140
9141
|
let q = [];
|
|
9141
|
-
const c =
|
|
9142
|
+
const c = wA().tabMap[b.applicationCode] ?? [];
|
|
9142
9143
|
if (b.type.key === "right") {
|
|
9143
9144
|
const H = c.findIndex((i) => i.code === b.data.value);
|
|
9144
9145
|
q = c.slice(H + 1);
|
|
@@ -9272,7 +9273,7 @@ const v8 = (e) => {
|
|
|
9272
9273
|
meta: { ...(H == null ? void 0 : H.meta) ?? {} }
|
|
9273
9274
|
}), N && (N == null ? void 0 : N.code) !== (a == null ? void 0 : a.code)) {
|
|
9274
9275
|
if (N.fixed && (await e.push(N.path), u(), F.nav.setActiveItem(N.path)), !N.fixed) {
|
|
9275
|
-
const K = (_ = cA().subAppList) == null ? void 0 : _.find((fA) => fA.code === N.code), G =
|
|
9276
|
+
const K = (_ = cA().subAppList) == null ? void 0 : _.find((fA) => fA.code === N.code), G = wA().preTab[N.code], h = { ...(G == null ? void 0 : G.query) ?? {} };
|
|
9276
9277
|
await t({ microApp: K, menuCode: (G == null ? void 0 : G.code) ?? "", route: { query: h } });
|
|
9277
9278
|
}
|
|
9278
9279
|
return;
|
|
@@ -9293,7 +9294,7 @@ const v8 = (e) => {
|
|
|
9293
9294
|
const h = { ...G, value: G.code, label: G.name };
|
|
9294
9295
|
F.nav.appendItem(h);
|
|
9295
9296
|
}), F.nav.setActiveItem(R.code), F.menu.setItems(O);
|
|
9296
|
-
const K =
|
|
9297
|
+
const K = wA().tabMap[R.code] ?? [];
|
|
9297
9298
|
if (K.length) {
|
|
9298
9299
|
const G = K.map((h) => ({
|
|
9299
9300
|
...h,
|
|
@@ -9318,7 +9319,7 @@ const v8 = (e) => {
|
|
|
9318
9319
|
return;
|
|
9319
9320
|
}
|
|
9320
9321
|
if (!X.fixed) {
|
|
9321
|
-
const b = (a = cA().subAppList) == null ? void 0 : a.find((i) => i.code === X.code), q =
|
|
9322
|
+
const b = (a = cA().subAppList) == null ? void 0 : a.find((i) => i.code === X.code), q = wA().preTab[X.code], c = (q == null ? void 0 : q.code) ?? "", H = { ...(q == null ? void 0 : q.query) ?? {} };
|
|
9322
9323
|
await t({ microApp: b, menuCode: c, route: { query: H } });
|
|
9323
9324
|
}
|
|
9324
9325
|
};
|
|
@@ -9332,7 +9333,7 @@ const v8 = (e) => {
|
|
|
9332
9333
|
if (!((H = a.subAppList) != null && H.length)) return;
|
|
9333
9334
|
const b = a.subAppList.findIndex((i) => i.code === X.code);
|
|
9334
9335
|
if (b === -1) return;
|
|
9335
|
-
const q =
|
|
9336
|
+
const q = wA().tabMap[X.code] ?? [];
|
|
9336
9337
|
if (q.length) {
|
|
9337
9338
|
const i = q.filter((s) => !s.path.startsWith(Ve)).map((s) => s.path);
|
|
9338
9339
|
i && i.length && f(i), q.forEach((s) => F.iframeView.triggerEventListener("onUnloadPage", s.path));
|
|
@@ -9500,7 +9501,7 @@ const v8 = (e) => {
|
|
|
9500
9501
|
const { currentApp: j } = d7(X.query.app);
|
|
9501
9502
|
if (j) {
|
|
9502
9503
|
l = j;
|
|
9503
|
-
const R = (
|
|
9504
|
+
const R = (wA().preTab ?? {})[l.code];
|
|
9504
9505
|
X = {}, R && (X.path = `/${R.applicationPath}${R.path}`.replace(/\/\//g, "/"), X.query = R.query);
|
|
9505
9506
|
}
|
|
9506
9507
|
}
|
|
@@ -9827,7 +9828,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9827
9828
|
TA(d.$slots, "default", {}, void 0, !0)
|
|
9828
9829
|
], 34));
|
|
9829
9830
|
}
|
|
9830
|
-
}), PX = /* @__PURE__ */
|
|
9831
|
+
}), PX = /* @__PURE__ */ EA(tX, [["__scopeId", "data-v-68946aef"]]), uX = { class: "layout-wrapper" }, zX = /* @__PURE__ */ sA({
|
|
9831
9832
|
__name: "GridLayout",
|
|
9832
9833
|
props: {
|
|
9833
9834
|
gridNum: {},
|
|
@@ -9855,7 +9856,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9855
9856
|
}, 1032, ["grid-num", "onItemClick"]))), 256))
|
|
9856
9857
|
]));
|
|
9857
9858
|
}
|
|
9858
|
-
}), dX = /* @__PURE__ */
|
|
9859
|
+
}), dX = /* @__PURE__ */ EA(zX, [["__scopeId", "data-v-22baf4d8"]]), XX = /* @__PURE__ */ sA({
|
|
9859
9860
|
__name: "DirectionControl",
|
|
9860
9861
|
emits: ["change"],
|
|
9861
9862
|
setup(e, { emit: A }) {
|
|
@@ -9866,7 +9867,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9866
9867
|
class: "direction-control",
|
|
9867
9868
|
onDblclick: r[9] || (r[9] = oA((P) => P.stopPropagation(), ["stop"]))
|
|
9868
9869
|
}, [
|
|
9869
|
-
B(V(
|
|
9870
|
+
B(V(gA), {
|
|
9870
9871
|
content: V(k)("左上")
|
|
9871
9872
|
}, {
|
|
9872
9873
|
default: Q(() => [
|
|
@@ -9877,7 +9878,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9877
9878
|
]),
|
|
9878
9879
|
_: 1
|
|
9879
9880
|
}, 8, ["content"]),
|
|
9880
|
-
B(V(
|
|
9881
|
+
B(V(gA), {
|
|
9881
9882
|
content: V(k)("上")
|
|
9882
9883
|
}, {
|
|
9883
9884
|
default: Q(() => [
|
|
@@ -9888,7 +9889,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9888
9889
|
]),
|
|
9889
9890
|
_: 1
|
|
9890
9891
|
}, 8, ["content"]),
|
|
9891
|
-
B(V(
|
|
9892
|
+
B(V(gA), {
|
|
9892
9893
|
content: V(k)("右上")
|
|
9893
9894
|
}, {
|
|
9894
9895
|
default: Q(() => [
|
|
@@ -9899,7 +9900,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9899
9900
|
]),
|
|
9900
9901
|
_: 1
|
|
9901
9902
|
}, 8, ["content"]),
|
|
9902
|
-
B(V(
|
|
9903
|
+
B(V(gA), {
|
|
9903
9904
|
content: V(k)("左")
|
|
9904
9905
|
}, {
|
|
9905
9906
|
default: Q(() => [
|
|
@@ -9910,7 +9911,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9910
9911
|
]),
|
|
9911
9912
|
_: 1
|
|
9912
9913
|
}, 8, ["content"]),
|
|
9913
|
-
B(V(
|
|
9914
|
+
B(V(gA), {
|
|
9914
9915
|
content: V(k)("自动")
|
|
9915
9916
|
}, {
|
|
9916
9917
|
default: Q(() => [
|
|
@@ -9921,7 +9922,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9921
9922
|
]),
|
|
9922
9923
|
_: 1
|
|
9923
9924
|
}, 8, ["content"]),
|
|
9924
|
-
B(V(
|
|
9925
|
+
B(V(gA), {
|
|
9925
9926
|
content: V(k)("右")
|
|
9926
9927
|
}, {
|
|
9927
9928
|
default: Q(() => [
|
|
@@ -9932,7 +9933,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9932
9933
|
]),
|
|
9933
9934
|
_: 1
|
|
9934
9935
|
}, 8, ["content"]),
|
|
9935
|
-
B(V(
|
|
9936
|
+
B(V(gA), {
|
|
9936
9937
|
content: V(k)("左下")
|
|
9937
9938
|
}, {
|
|
9938
9939
|
default: Q(() => [
|
|
@@ -9943,7 +9944,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9943
9944
|
]),
|
|
9944
9945
|
_: 1
|
|
9945
9946
|
}, 8, ["content"]),
|
|
9946
|
-
B(V(
|
|
9947
|
+
B(V(gA), {
|
|
9947
9948
|
content: V(k)("下")
|
|
9948
9949
|
}, {
|
|
9949
9950
|
default: Q(() => [
|
|
@@ -9954,7 +9955,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9954
9955
|
]),
|
|
9955
9956
|
_: 1
|
|
9956
9957
|
}, 8, ["content"]),
|
|
9957
|
-
B(V(
|
|
9958
|
+
B(V(gA), {
|
|
9958
9959
|
content: V(k)("右下")
|
|
9959
9960
|
}, {
|
|
9960
9961
|
default: Q(() => [
|
|
@@ -9967,7 +9968,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
9967
9968
|
}, 8, ["content"])
|
|
9968
9969
|
], 32));
|
|
9969
9970
|
}
|
|
9970
|
-
}), cX = /* @__PURE__ */
|
|
9971
|
+
}), cX = /* @__PURE__ */ EA(XX, [["__scopeId", "data-v-5061ed2b"]]), bX = (e) => (Lv("data-v-25a3c0f5"), e = e(), yv(), e), aX = { class: "video-wrapper" }, iX = { class: "video-top" }, sX = { class: "video-top_l" }, qX = { class: "video-title-wrapper" }, HX = { class: "video-title" }, pX = { class: "video-top_r" }, mX = {
|
|
9971
9972
|
key: 0,
|
|
9972
9973
|
class: "play-status"
|
|
9973
9974
|
}, lX = { class: "video-bottom" }, xX = /* @__PURE__ */ bX(() => /* @__PURE__ */ g("div", { class: "video-bottom_l" }, null, -1)), OX = { class: "video-bottom_r" }, DX = /* @__PURE__ */ sA({
|
|
@@ -10093,7 +10094,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
10093
10094
|
class: "controls",
|
|
10094
10095
|
onDblclick: m[2] || (m[2] = oA((D) => D.stopPropagation(), ["stop"]))
|
|
10095
10096
|
}, [
|
|
10096
|
-
B(V(
|
|
10097
|
+
B(V(gA), {
|
|
10097
10098
|
content: V(k)("声音")
|
|
10098
10099
|
}, {
|
|
10099
10100
|
default: Q(() => [
|
|
@@ -10105,7 +10106,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
10105
10106
|
]),
|
|
10106
10107
|
_: 1
|
|
10107
10108
|
}, 8, ["content"]),
|
|
10108
|
-
B(V(
|
|
10109
|
+
B(V(gA), {
|
|
10109
10110
|
content: V(k)("截图")
|
|
10110
10111
|
}, {
|
|
10111
10112
|
default: Q(() => [
|
|
@@ -10117,7 +10118,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
10117
10118
|
]),
|
|
10118
10119
|
_: 1
|
|
10119
10120
|
}, 8, ["content"]),
|
|
10120
|
-
i("control") ? (Y(), tA(V(
|
|
10121
|
+
i("control") ? (Y(), tA(V(gA), {
|
|
10121
10122
|
key: 0,
|
|
10122
10123
|
content: V(k)("聚焦-")
|
|
10123
10124
|
}, {
|
|
@@ -10131,7 +10132,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
10131
10132
|
]),
|
|
10132
10133
|
_: 1
|
|
10133
10134
|
}, 8, ["content"])) : rA("", !0),
|
|
10134
|
-
i("control") ? (Y(), tA(V(
|
|
10135
|
+
i("control") ? (Y(), tA(V(gA), {
|
|
10135
10136
|
key: 1,
|
|
10136
10137
|
content: V(k)("聚焦+")
|
|
10137
10138
|
}, {
|
|
@@ -10145,7 +10146,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
10145
10146
|
]),
|
|
10146
10147
|
_: 1
|
|
10147
10148
|
}, 8, ["content"])) : rA("", !0),
|
|
10148
|
-
i("control") ? (Y(), tA(V(
|
|
10149
|
+
i("control") ? (Y(), tA(V(gA), {
|
|
10149
10150
|
key: 2,
|
|
10150
10151
|
content: V(k)("方向控制")
|
|
10151
10152
|
}, {
|
|
@@ -10171,7 +10172,7 @@ const rX = eX.post("data/device-auth"), tX = /* @__PURE__ */ sA({
|
|
|
10171
10172
|
}, 8, ["spinning"])
|
|
10172
10173
|
]));
|
|
10173
10174
|
}
|
|
10174
|
-
}), VX = /* @__PURE__ */
|
|
10175
|
+
}), VX = /* @__PURE__ */ EA(DX, [["__scopeId", "data-v-25a3c0f5"]]), NX = /* @__PURE__ */ sA({
|
|
10175
10176
|
props: {
|
|
10176
10177
|
deviceInfo: {
|
|
10177
10178
|
type: Object,
|
|
@@ -10305,7 +10306,7 @@ const jX = /* @__PURE__ */ sA({
|
|
|
10305
10306
|
}, {
|
|
10306
10307
|
header: Q(() => [
|
|
10307
10308
|
g("div", null, PA(V(k)("视频监控")), 1),
|
|
10308
|
-
B(V(
|
|
10309
|
+
B(V(gA), {
|
|
10309
10310
|
content: V(k)("页面全屏")
|
|
10310
10311
|
}, {
|
|
10311
10312
|
default: Q(() => [
|
|
@@ -11491,10 +11492,10 @@ var DA;
|
|
|
11491
11492
|
(function(e) {
|
|
11492
11493
|
e[e.None = 0] = "None", e[e.WebSockets = 1] = "WebSockets", e[e.ServerSentEvents = 2] = "ServerSentEvents", e[e.LongPolling = 4] = "LongPolling";
|
|
11493
11494
|
})(DA || (DA = {}));
|
|
11494
|
-
var
|
|
11495
|
+
var WA;
|
|
11495
11496
|
(function(e) {
|
|
11496
11497
|
e[e.Text = 1] = "Text", e[e.Binary = 2] = "Binary";
|
|
11497
|
-
})(
|
|
11498
|
+
})(WA || (WA = {}));
|
|
11498
11499
|
let f2 = class {
|
|
11499
11500
|
constructor() {
|
|
11500
11501
|
this._isAborted = !1, this.onabort = null;
|
|
@@ -11518,7 +11519,7 @@ class jv {
|
|
|
11518
11519
|
this._httpClient = A, this._logger = f, this._pollAbort = new f2(), this._options = v, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
11519
11520
|
}
|
|
11520
11521
|
async connect(A, f) {
|
|
11521
|
-
if (VA.isRequired(A, "url"), VA.isRequired(f, "transferFormat"), VA.isIn(f,
|
|
11522
|
+
if (VA.isRequired(A, "url"), VA.isRequired(f, "transferFormat"), VA.isIn(f, WA, "transferFormat"), this._url = A, this._logger.log(y.Trace, "(LongPolling transport) Connecting."), f === WA.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
11522
11523
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
11523
11524
|
const [v, n] = Ce(), r = { [v]: n, ...this._options.headers }, P = {
|
|
11524
11525
|
abortSignal: this._pollAbort.signal,
|
|
@@ -11526,7 +11527,7 @@ class jv {
|
|
|
11526
11527
|
timeout: 1e5,
|
|
11527
11528
|
withCredentials: this._options.withCredentials
|
|
11528
11529
|
};
|
|
11529
|
-
f ===
|
|
11530
|
+
f === WA.Binary && (P.responseType = "arraybuffer");
|
|
11530
11531
|
const u = `${A}&_=${Date.now()}`;
|
|
11531
11532
|
this._logger.log(y.Trace, `(LongPolling transport) polling: ${u}.`);
|
|
11532
11533
|
const z = await this._httpClient.get(u, P);
|
|
@@ -11584,9 +11585,9 @@ class v2 {
|
|
|
11584
11585
|
this._httpClient = A, this._accessToken = f, this._logger = v, this._options = n, this.onreceive = null, this.onclose = null;
|
|
11585
11586
|
}
|
|
11586
11587
|
async connect(A, f) {
|
|
11587
|
-
return VA.isRequired(A, "url"), VA.isRequired(f, "transferFormat"), VA.isIn(f,
|
|
11588
|
+
return VA.isRequired(A, "url"), VA.isRequired(f, "transferFormat"), VA.isIn(f, WA, "transferFormat"), this._logger.log(y.Trace, "(SSE transport) Connecting."), this._url = A, this._accessToken && (A += (A.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(this._accessToken)}`), new Promise((v, n) => {
|
|
11588
11589
|
let r = !1;
|
|
11589
|
-
if (f !==
|
|
11590
|
+
if (f !== WA.Text) {
|
|
11590
11591
|
n(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
11591
11592
|
return;
|
|
11592
11593
|
}
|
|
@@ -11634,7 +11635,7 @@ class n2 {
|
|
|
11634
11635
|
this._logger = v, this._accessTokenFactory = f, this._logMessageContent = n, this._webSocketConstructor = r, this._httpClient = A, this.onreceive = null, this.onclose = null, this._headers = P;
|
|
11635
11636
|
}
|
|
11636
11637
|
async connect(A, f) {
|
|
11637
|
-
VA.isRequired(A, "url"), VA.isRequired(f, "transferFormat"), VA.isIn(f,
|
|
11638
|
+
VA.isRequired(A, "url"), VA.isRequired(f, "transferFormat"), VA.isIn(f, WA, "transferFormat"), this._logger.log(y.Trace, "(WebSockets transport) Connecting.");
|
|
11638
11639
|
let v;
|
|
11639
11640
|
return this._accessTokenFactory && (v = await this._accessTokenFactory()), new Promise((n, r) => {
|
|
11640
11641
|
A = A.replace(/^http/, "ws");
|
|
@@ -11648,7 +11649,7 @@ class n2 {
|
|
|
11648
11649
|
});
|
|
11649
11650
|
} else
|
|
11650
11651
|
v && (A += (A.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(v)}`);
|
|
11651
|
-
P || (P = new this._webSocketConstructor(A)), f ===
|
|
11652
|
+
P || (P = new this._webSocketConstructor(A)), f === WA.Binary && (P.binaryType = "arraybuffer"), P.onopen = (t) => {
|
|
11652
11653
|
this._logger.log(y.Information, `WebSocket connected to ${A}.`), this._webSocket = P, z = !0, n();
|
|
11653
11654
|
}, P.onerror = (t) => {
|
|
11654
11655
|
let d = null;
|
|
@@ -11704,7 +11705,7 @@ class r2 {
|
|
|
11704
11705
|
!OA.isNode && typeof WebSocket < "u" && !f.WebSocket ? f.WebSocket = WebSocket : OA.isNode && !f.WebSocket && v && (f.WebSocket = v), !OA.isNode && typeof EventSource < "u" && !f.EventSource ? f.EventSource = EventSource : OA.isNode && !f.EventSource && typeof n < "u" && (f.EventSource = n), this._httpClient = new e2(f.httpClient || new JX(this._logger), f.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = f, this.onreceive = null, this.onclose = null;
|
|
11705
11706
|
}
|
|
11706
11707
|
async start(A) {
|
|
11707
|
-
if (A = A ||
|
|
11708
|
+
if (A = A || WA.Binary, VA.isIn(A, WA, "transferFormat"), this._logger.log(y.Debug, `Starting connection with transfer format '${WA[A]}'.`), this._connectionState !== "Disconnected")
|
|
11708
11709
|
return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
|
|
11709
11710
|
if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(A), await this._startInternalPromise, this._connectionState === "Disconnecting") {
|
|
11710
11711
|
const f = "Failed to start the HttpConnection before stop() was called.";
|
|
@@ -11871,7 +11872,7 @@ class r2 {
|
|
|
11871
11872
|
if (r == null)
|
|
11872
11873
|
return this._logger.log(y.Debug, `Skipping transport '${A.transport}' because it is not supported by this client.`), new Error(`Skipping transport '${A.transport}' because it is not supported by this client.`);
|
|
11873
11874
|
if (t2(f, r))
|
|
11874
|
-
if (A.transferFormats.map((u) =>
|
|
11875
|
+
if (A.transferFormats.map((u) => WA[u]).indexOf(v) >= 0) {
|
|
11875
11876
|
if (r === DA.WebSockets && !this._options.WebSocket || r === DA.ServerSentEvents && !this._options.EventSource)
|
|
11876
11877
|
return this._logger.log(y.Debug, `Skipping transport '${DA[r]}' because it is not supported in your environment.'`), new TX(`'${DA[r]}' is not supported in your environment.`, r);
|
|
11877
11878
|
this._logger.log(y.Debug, `Selecting transport '${DA[r]}'.`);
|
|
@@ -11881,7 +11882,7 @@ class r2 {
|
|
|
11881
11882
|
return u;
|
|
11882
11883
|
}
|
|
11883
11884
|
} else
|
|
11884
|
-
return this._logger.log(y.Debug, `Skipping transport '${DA[r]}' because it does not support the requested transfer format '${
|
|
11885
|
+
return this._logger.log(y.Debug, `Skipping transport '${DA[r]}' because it does not support the requested transfer format '${WA[v]}'.`), new Error(`'${DA[r]}' does not support ${WA[v]}.`);
|
|
11885
11886
|
else
|
|
11886
11887
|
return this._logger.log(y.Debug, `Skipping transport '${DA[r]}' because it was disabled by the client.`), new LX(`'${DA[r]}' is disabled by the client.`, r);
|
|
11887
11888
|
}
|
|
@@ -11979,7 +11980,7 @@ class w9 {
|
|
|
11979
11980
|
const P2 = "json";
|
|
11980
11981
|
class u2 {
|
|
11981
11982
|
constructor() {
|
|
11982
|
-
this.name = P2, this.version = 2, this.transferFormat =
|
|
11983
|
+
this.name = P2, this.version = 2, this.transferFormat = WA.Text;
|
|
11983
11984
|
}
|
|
11984
11985
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
11985
11986
|
*
|
|
@@ -12320,11 +12321,11 @@ const p2 = QA(`/api/tool/event-bus/${ef}/`), Sf = p2.post("/publish"), m2 = i7.g
|
|
|
12320
12321
|
const D = Z(!0), O = Z(!0), N = async (J) => {
|
|
12321
12322
|
const E = { name: "1" };
|
|
12322
12323
|
J != null && J.id && (E.spaceId = J.id);
|
|
12323
|
-
const [M,
|
|
12324
|
-
return M ? {} :
|
|
12324
|
+
const [M, IA] = await o2(E).run();
|
|
12325
|
+
return M ? {} : IA;
|
|
12325
12326
|
}, l = async (J) => {
|
|
12326
|
-
const E = { name: J || "" }, [M,
|
|
12327
|
-
return M ? {} :
|
|
12327
|
+
const E = { name: J || "" }, [M, IA] = await Z2(E).run();
|
|
12328
|
+
return M ? {} : IA;
|
|
12328
12329
|
}, j = Z(!0), x = Z(!0), R = Z([]), o = async () => {
|
|
12329
12330
|
const [J, E] = await j2().run({ pageIndex: -1, pageSize: -1 });
|
|
12330
12331
|
if (J) return {};
|
|
@@ -12371,10 +12372,10 @@ const p2 = QA(`/api/tool/event-bus/${ef}/`), Sf = p2.post("/publish"), m2 = i7.g
|
|
|
12371
12372
|
eventTypeId: t.value.eventTypeId
|
|
12372
12373
|
}, [E, M] = await L2(J).run();
|
|
12373
12374
|
if (E) return {};
|
|
12374
|
-
const
|
|
12375
|
+
const IA = { 1: AA("一级").value, 2: AA("二级").value, 3: AA("三级").value, 4: AA("四级").value };
|
|
12375
12376
|
a.value = M.map((de) => ({
|
|
12376
12377
|
id: `${de}`,
|
|
12377
|
-
name:
|
|
12378
|
+
name: IA[de] ? IA[de] : de
|
|
12378
12379
|
})), M.length && !t.value.eventLevelId && (t.value.eventLevelId = a.value[0].id, I());
|
|
12379
12380
|
}, I = async () => {
|
|
12380
12381
|
const J = {
|
|
@@ -12398,8 +12399,8 @@ const p2 = QA(`/api/tool/event-bus/${ef}/`), Sf = p2.post("/publish"), m2 = i7.g
|
|
|
12398
12399
|
return;
|
|
12399
12400
|
}
|
|
12400
12401
|
r.value = !1, q.value = M;
|
|
12401
|
-
for (let
|
|
12402
|
-
q.value[
|
|
12402
|
+
for (let IA = 0; IA < q.value.length; IA++)
|
|
12403
|
+
q.value[IA].id === "createorder" && o();
|
|
12403
12404
|
}, bA = () => {
|
|
12404
12405
|
let J = !0;
|
|
12405
12406
|
if (t.value.processTypeId == "dealwith")
|
|
@@ -12761,7 +12762,7 @@ const p2 = QA(`/api/tool/event-bus/${ef}/`), Sf = p2.post("/publish"), m2 = i7.g
|
|
|
12761
12762
|
}, 8, ["modelValue"])
|
|
12762
12763
|
]));
|
|
12763
12764
|
}
|
|
12764
|
-
}), Q2 = /* @__PURE__ */
|
|
12765
|
+
}), Q2 = /* @__PURE__ */ EA(k2, [["__scopeId", "data-v-2eaa1bda"]]), Y2 = (e, A, f) => ({
|
|
12765
12766
|
handleAlarmVue: () => RA(Q2, {
|
|
12766
12767
|
handerIds: A.value,
|
|
12767
12768
|
projectId: D9().id,
|
|
@@ -13051,7 +13052,7 @@ const uc = () => {
|
|
|
13051
13052
|
B(V(dc))
|
|
13052
13053
|
]));
|
|
13053
13054
|
}
|
|
13054
|
-
}), bc = /* @__PURE__ */
|
|
13055
|
+
}), bc = /* @__PURE__ */ EA(cc, [["__scopeId", "data-v-30c6edf5"]]), ac = {
|
|
13055
13056
|
正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time preview", _appCode: "framework" },
|
|
13056
13057
|
声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
|
|
13057
13058
|
截图: { "zh-CN": "截图", en: "Screenshot", _appCode: "framework" },
|
|
@@ -13213,11 +13214,11 @@ Z("@das-fed/web");
|
|
|
13213
13214
|
const ic = [
|
|
13214
13215
|
{
|
|
13215
13216
|
path: LA,
|
|
13216
|
-
component: () => import("./index-
|
|
13217
|
+
component: () => import("./index-BrDtEtKe.js")
|
|
13217
13218
|
},
|
|
13218
13219
|
{
|
|
13219
13220
|
path: fn,
|
|
13220
|
-
component: () => import("./index-
|
|
13221
|
+
component: () => import("./index-DbgCYRff.js")
|
|
13221
13222
|
}
|
|
13222
13223
|
], Wb = {
|
|
13223
13224
|
routes: ic,
|
|
@@ -13243,7 +13244,7 @@ export {
|
|
|
13243
13244
|
xA as I,
|
|
13244
13245
|
Tb as J,
|
|
13245
13246
|
Wb as K,
|
|
13246
|
-
|
|
13247
|
+
EA as _,
|
|
13247
13248
|
pv as a,
|
|
13248
13249
|
Hv as b,
|
|
13249
13250
|
Ke as c,
|