@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
|
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-mWP8kr_p.js";
|
|
2
2
|
export {
|
|
3
3
|
e as DasMainAppLayout,
|
|
4
4
|
t as DasWebLayout,
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@das-fed/web",
|
|
3
|
-
"version": "6.4.0-dev.
|
|
3
|
+
"version": "6.4.0-dev.92",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@das-fed/ui": "6.4.0-dev.
|
|
8
|
-
"@das-fed/utils": "6.4.0-dev.
|
|
9
|
-
"@das-fed/web": "6.4.0-dev.
|
|
10
|
-
"@das-fed/web-components": "6.4.0-dev.
|
|
7
|
+
"@das-fed/ui": "6.4.0-dev.92",
|
|
8
|
+
"@das-fed/utils": "6.4.0-dev.92",
|
|
9
|
+
"@das-fed/web": "6.4.0-dev.92",
|
|
10
|
+
"@das-fed/web-components": "6.4.0-dev.92",
|
|
11
11
|
"@microsoft/signalr": "^8.0.7",
|
|
12
12
|
"@vueuse/core": "^9.13.0",
|
|
13
13
|
"animate.css": "^4.1.1",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"vue-router": "^4.4.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
|
-
"@das-fed/cli": "6.4.0-dev.
|
|
22
|
+
"@das-fed/cli": "6.4.0-dev.92",
|
|
23
23
|
"@types/crypto-js": "^4.2.2",
|
|
24
24
|
"@types/lodash": "^4.14.194",
|
|
25
25
|
"@types/lodash-es": "^4.17.12",
|
|
@@ -2,7 +2,7 @@ import { defineComponent as lA, computed as gA, openBlock as eA, createBlock as
|
|
|
2
2
|
import { DasWebLayout as on, DasWebNav as yn, DasWebMenu as Wn, DasWebTabs as wn, layout as F, layoutData as J3 } from "@das-fed/web/packages/layout/index";
|
|
3
3
|
import { DasChangePwdRef as En, DasChangePwd as In } from "@das-fed/ui/packages/business-components/change-pwd/index";
|
|
4
4
|
import { DasChangeEnterprises as Mn } from "@das-fed/ui/packages/business-components/change-enterprises/index";
|
|
5
|
-
import { getSubApps as tA, getTabInfo as
|
|
5
|
+
import { getSubApps as tA, getTabInfo as jA, getToken as P9, getTenantInfo as af, getProjectInfo as kA, getPersonalInfo as K9, getUserInfo as F3, getMenus as uf } from "@das-fed/utils/common-info";
|
|
6
6
|
import { t as g, currentLang as S3, i18n as $, setI18nRule as gn } from "@das-fed/web/packages/i18n/index";
|
|
7
7
|
import { pureImageSrc as sf } from "@das-fed/utils/pure-image-src";
|
|
8
8
|
import { DasNotification as zf } from "@das-fed/ui/packages/components/notification/index";
|
|
@@ -30,7 +30,7 @@ import { socketService as pf } from "@das-fed/utils/webSocket-service";
|
|
|
30
30
|
import { userInfoNextTick as ur, tokenNextTick as xf } from "@das-fed/utils/nextTiken";
|
|
31
31
|
import { mainAppFramework as df } from "@das-fed/web/packages/main-app-framework/index";
|
|
32
32
|
import { DasAutoRegisterIcon as vv, DasIcon as D9 } from "@das-fed/ui/packages/components/icon/index";
|
|
33
|
-
import { DasTooltip as
|
|
33
|
+
import { DasTooltip as LA } from "@das-fed/ui/packages/components/tooltip/index";
|
|
34
34
|
import { DasLivePlayer as zr } from "@das-fed/ui/packages/components/live-player/index";
|
|
35
35
|
import { DasWatermark as dr } from "@das-fed/ui/packages/components/watermark/index";
|
|
36
36
|
import { DasDrawer as Xr } from "@das-fed/ui/packages/components/drawer/index";
|
|
@@ -444,7 +444,7 @@ const Ur = (e = {}) => {
|
|
|
444
444
|
}, Kr = () => {
|
|
445
445
|
sessionStorage.removeItem("projectInfo"), sessionStorage.removeItem("project");
|
|
446
446
|
}, yA = (e) => {
|
|
447
|
-
let A =
|
|
447
|
+
let A = jA();
|
|
448
448
|
e.forEach((f) => {
|
|
449
449
|
var v;
|
|
450
450
|
if (f.key.startsWith("tabMap")) {
|
|
@@ -1898,7 +1898,7 @@ function qv() {
|
|
|
1898
1898
|
]);
|
|
1899
1899
|
},
|
|
1900
1900
|
_doProcessBlock: function(a, H) {
|
|
1901
|
-
for (var b = this._hash.words, q = b[0], c = b[1], s = b[2], x = b[3], l = b[4], D = b[5], R = b[6], m = b[7], j = q.high, O = q.low, N = c.high, Z = c.low, T = s.high, K = s.low, C = x.high, G = x.low, S = l.high, Q = l.low, J = D.high, AA = D.low, L = R.high, W = R.low, I = m.high, w = m.low, zA = j, uA = O, xA = N, h = Z, _ = T, fA = K, z9 = C, U = G, E = S, M = Q,
|
|
1901
|
+
for (var b = this._hash.words, q = b[0], c = b[1], s = b[2], x = b[3], l = b[4], D = b[5], R = b[6], m = b[7], j = q.high, O = q.low, N = c.high, Z = c.low, T = s.high, K = s.low, C = x.high, G = x.low, S = l.high, Q = l.low, J = D.high, AA = D.low, L = R.high, W = R.low, I = m.high, w = m.low, zA = j, uA = O, xA = N, h = Z, _ = T, fA = K, z9 = C, U = G, E = S, M = Q, TA = J, CA = AA, ef = L, I9 = W, Zf = I, M9 = w, GA = 0; GA < 80; GA++) {
|
|
1902
1902
|
var QA, e9, vf = X[GA];
|
|
1903
1903
|
if (GA < 16)
|
|
1904
1904
|
e9 = vf.high = a[H + GA * 2] | 0, QA = vf.low = a[H + GA * 2 + 1] | 0;
|
|
@@ -1906,10 +1906,10 @@ function qv() {
|
|
|
1906
1906
|
var e7 = X[GA - 15], O9 = e7.high, g9 = e7.low, Xn = (O9 >>> 1 | g9 << 31) ^ (O9 >>> 8 | g9 << 24) ^ O9 >>> 7, v7 = (g9 >>> 1 | O9 << 31) ^ (g9 >>> 8 | O9 << 24) ^ (g9 >>> 7 | O9 << 25), n7 = X[GA - 2], m9 = n7.high, B9 = n7.low, bn = (m9 >>> 19 | B9 << 13) ^ (m9 << 3 | B9 >>> 29) ^ m9 >>> 6, r7 = (B9 >>> 19 | m9 << 13) ^ (B9 << 3 | m9 >>> 29) ^ (B9 >>> 6 | m9 << 26), P7 = X[GA - 7], cn = P7.high, an = P7.low, t7 = X[GA - 16], sn = t7.high, u7 = t7.low;
|
|
1907
1907
|
QA = v7 + an, e9 = Xn + cn + (QA >>> 0 < v7 >>> 0 ? 1 : 0), QA = QA + r7, e9 = e9 + bn + (QA >>> 0 < r7 >>> 0 ? 1 : 0), QA = QA + u7, e9 = e9 + sn + (QA >>> 0 < u7 >>> 0 ? 1 : 0), vf.high = e9, vf.low = QA;
|
|
1908
1908
|
}
|
|
1909
|
-
var qn = E &
|
|
1910
|
-
Zf = ef, M9 = I9, ef =
|
|
1909
|
+
var qn = E & TA ^ ~E & ef, z7 = M & CA ^ ~M & I9, Hn = zA & xA ^ zA & _ ^ xA & _, pn = uA & h ^ uA & fA ^ h & fA, xn = (zA >>> 28 | uA << 4) ^ (zA << 30 | uA >>> 2) ^ (zA << 25 | uA >>> 7), d7 = (uA >>> 28 | zA << 4) ^ (uA << 30 | zA >>> 2) ^ (uA << 25 | zA >>> 7), On = (E >>> 14 | M << 18) ^ (E >>> 18 | M << 14) ^ (E << 23 | M >>> 9), mn = (M >>> 14 | E << 18) ^ (M >>> 18 | E << 14) ^ (M << 23 | E >>> 9), X7 = p[GA], ln = X7.high, b7 = X7.low, IA = M9 + mn, v9 = Zf + On + (IA >>> 0 < M9 >>> 0 ? 1 : 0), IA = IA + z7, v9 = v9 + qn + (IA >>> 0 < z7 >>> 0 ? 1 : 0), IA = IA + b7, v9 = v9 + ln + (IA >>> 0 < b7 >>> 0 ? 1 : 0), IA = IA + QA, v9 = v9 + e9 + (IA >>> 0 < QA >>> 0 ? 1 : 0), c7 = d7 + pn, Dn = xn + Hn + (c7 >>> 0 < d7 >>> 0 ? 1 : 0);
|
|
1910
|
+
Zf = ef, M9 = I9, ef = TA, I9 = CA, TA = E, CA = M, M = U + IA | 0, E = z9 + v9 + (M >>> 0 < U >>> 0 ? 1 : 0) | 0, z9 = _, U = fA, _ = xA, fA = h, xA = zA, h = uA, uA = IA + c7 | 0, zA = v9 + Dn + (uA >>> 0 < IA >>> 0 ? 1 : 0) | 0;
|
|
1911
1911
|
}
|
|
1912
|
-
O = q.low = O + uA, q.high = j + zA + (O >>> 0 < uA >>> 0 ? 1 : 0), Z = c.low = Z + h, c.high = N + xA + (Z >>> 0 < h >>> 0 ? 1 : 0), K = s.low = K + fA, s.high = T + _ + (K >>> 0 < fA >>> 0 ? 1 : 0), G = x.low = G + U, x.high = C + z9 + (G >>> 0 < U >>> 0 ? 1 : 0), Q = l.low = Q + M, l.high = S + E + (Q >>> 0 < M >>> 0 ? 1 : 0), AA = D.low = AA + CA, D.high = J +
|
|
1912
|
+
O = q.low = O + uA, q.high = j + zA + (O >>> 0 < uA >>> 0 ? 1 : 0), Z = c.low = Z + h, c.high = N + xA + (Z >>> 0 < h >>> 0 ? 1 : 0), K = s.low = K + fA, s.high = T + _ + (K >>> 0 < fA >>> 0 ? 1 : 0), G = x.low = G + U, x.high = C + z9 + (G >>> 0 < U >>> 0 ? 1 : 0), Q = l.low = Q + M, l.high = S + E + (Q >>> 0 < M >>> 0 ? 1 : 0), AA = D.low = AA + CA, D.high = J + TA + (AA >>> 0 < CA >>> 0 ? 1 : 0), W = R.low = W + I9, R.high = L + ef + (W >>> 0 < I9 >>> 0 ? 1 : 0), w = m.low = w + M9, m.high = I + Zf + (w >>> 0 < M9 >>> 0 ? 1 : 0);
|
|
1913
1913
|
},
|
|
1914
1914
|
_doFinalize: function() {
|
|
1915
1915
|
var a = this._data, H = a.words, b = this._nDataBytes * 8, q = a.sigBytes * 8;
|
|
@@ -5572,7 +5572,7 @@ function wP() {
|
|
|
5572
5572
|
});
|
|
5573
5573
|
})(iv);
|
|
5574
5574
|
var EP = iv.exports;
|
|
5575
|
-
const
|
|
5575
|
+
const oA = /* @__PURE__ */ rP(EP);
|
|
5576
5576
|
function IP(e, A, f, v) {
|
|
5577
5577
|
Hv(e, A).then(({ input: r, key: P }) => xv(r, P, f, !0, v)).then((r) => {
|
|
5578
5578
|
MP.apply(null, r);
|
|
@@ -5584,7 +5584,7 @@ function IP(e, A, f, v) {
|
|
|
5584
5584
|
});
|
|
5585
5585
|
}
|
|
5586
5586
|
function MP(e, A, f, v, r, P, t, z) {
|
|
5587
|
-
let d = pv(A, f, v, r, P), n =
|
|
5587
|
+
let d = pv(A, f, v, r, P), n = oA.AES.encrypt.apply(null, [e, d.key, d.options]), u = t === "base64" ? oA.enc.Base64 : oA.enc.Hex, p = n.ciphertext.toString(u);
|
|
5588
5588
|
z({
|
|
5589
5589
|
value: p,
|
|
5590
5590
|
error: null
|
|
@@ -5601,7 +5601,7 @@ function gP(e, A, f, v) {
|
|
|
5601
5601
|
});
|
|
5602
5602
|
}
|
|
5603
5603
|
function BP(e, A, f, v, r, P, t, z) {
|
|
5604
|
-
let d = pv(A, f, v, r, P), n =
|
|
5604
|
+
let d = pv(A, f, v, r, P), n = oA.DES.encrypt.apply(null, [e, d.key, d.options]), u = t === "base64" ? oA.enc.Base64 : oA.enc.Hex, p = n.ciphertext.toString(u);
|
|
5605
5605
|
z({
|
|
5606
5606
|
value: p,
|
|
5607
5607
|
error: null
|
|
@@ -5615,13 +5615,13 @@ async function Hv(e, A) {
|
|
|
5615
5615
|
} : Promise.reject("秘钥为空");
|
|
5616
5616
|
}
|
|
5617
5617
|
function pv(e, A, f, v, r) {
|
|
5618
|
-
let P = P3(e, A), t = {}, z =
|
|
5619
|
-
if (v === "CFB" ? z =
|
|
5618
|
+
let P = P3(e, A), t = {}, z = oA.mode.CBC;
|
|
5619
|
+
if (v === "CFB" ? z = oA.mode.CFB : v === "OFB" ? z = oA.mode.OFB : v === "ECB" && (z = oA.mode.ECB), t.mode = z, v !== "ECB") {
|
|
5620
5620
|
let u = P3(f, A === 8 ? 8 : 16);
|
|
5621
5621
|
t.iv = u;
|
|
5622
5622
|
}
|
|
5623
|
-
let d =
|
|
5624
|
-
return r === "zero" ? d =
|
|
5623
|
+
let d = oA.pad.Pkcs7;
|
|
5624
|
+
return r === "zero" ? d = oA.pad.ZeroPadding : r === "iso10126" ? d = oA.pad.Iso10126 : r === "ansix923" && (d = oA.pad.AnsiX923), t.padding = d, {
|
|
5625
5625
|
key: P,
|
|
5626
5626
|
options: t
|
|
5627
5627
|
};
|
|
@@ -5683,7 +5683,7 @@ function P3(e, A) {
|
|
|
5683
5683
|
for (let P = v; P < A; P++)
|
|
5684
5684
|
f = f + r;
|
|
5685
5685
|
}
|
|
5686
|
-
return
|
|
5686
|
+
return oA.enc.Latin1.parse(f);
|
|
5687
5687
|
}
|
|
5688
5688
|
const UP = {
|
|
5689
5689
|
aes: IP,
|
|
@@ -6448,7 +6448,7 @@ const Xf = (e, A = "") => {
|
|
|
6448
6448
|
return { left: v, right: r };
|
|
6449
6449
|
}, Qd = (e, A, f) => {
|
|
6450
6450
|
var p;
|
|
6451
|
-
const v = KA(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), P = (((p =
|
|
6451
|
+
const v = KA(A).filter((X) => X.routeUrl).filter((X) => !(X != null && X.disable) && !(X != null && X.expired)), P = (((p = jA()) == null ? void 0 : p.tabMap) ?? {})[e] ?? [], { left: t, right: z } = kd(P, f), d = P.filter((X) => v.find((i) => i.code === X.code));
|
|
6452
6452
|
if (!t.length && !z.length || !d.length)
|
|
6453
6453
|
return yA([
|
|
6454
6454
|
{ key: "currentCode", value: "" },
|
|
@@ -6529,7 +6529,7 @@ const Xf = (e, A = "") => {
|
|
|
6529
6529
|
}
|
|
6530
6530
|
}
|
|
6531
6531
|
if (P && t) {
|
|
6532
|
-
const q = (
|
|
6532
|
+
const q = (jA().tabMap ?? {})[A.code] ?? [];
|
|
6533
6533
|
if (q.length) {
|
|
6534
6534
|
const c = q.filter(
|
|
6535
6535
|
(s) => f && f === s.code || v && v === `/${s.applicationPath}${s.path}`.replace(/\/\//g, "/") || KA(d).map((x) => x.code).includes(s.code)
|
|
@@ -6920,7 +6920,7 @@ const u6 = (e) => {
|
|
|
6920
6920
|
const { information: A, orgInfo: f } = e, v = gA(() => f.id), r = o(!1), P = o(0), t = o([
|
|
6921
6921
|
{ value: 0, label: g("图纸") },
|
|
6922
6922
|
{ value: 1, label: g("图纸编排") },
|
|
6923
|
-
{ value: 2, label: g("
|
|
6923
|
+
{ value: 2, label: g("设备看板") },
|
|
6924
6924
|
{ value: 3, label: g("数据编排") },
|
|
6925
6925
|
{ value: 4, label: g("轻分析") }
|
|
6926
6926
|
]), z = o([]), d = o(20), n = o(1), u = o(0), p = o(""), X = o(""), i = o(""), a = o(!1), { run: H } = f6(), { run: b } = e6(), { run: q } = v6(), { run: c } = n6();
|
|
@@ -6994,7 +6994,7 @@ const u6 = (e) => {
|
|
|
6994
6994
|
z.value = [];
|
|
6995
6995
|
return;
|
|
6996
6996
|
}
|
|
6997
|
-
z.value = Q.data.map((J) => (J.type = g("
|
|
6997
|
+
z.value = Q.data.map((J) => (J.type = g("设备看板"), J)) || [], u.value = Q.totalCount;
|
|
6998
6998
|
}, K = async () => {
|
|
6999
6999
|
const G = {
|
|
7000
7000
|
project: v.value,
|
|
@@ -7692,16 +7692,17 @@ const u6 = (e) => {
|
|
|
7692
7692
|
}, g6 = () => {
|
|
7693
7693
|
const { entryMenu: e } = Vf();
|
|
7694
7694
|
F.menu.addEventListener("onItemClick", async (A) => {
|
|
7695
|
+
var P;
|
|
7695
7696
|
pA.innerSet = !0;
|
|
7696
|
-
const f = KA(uf(A.applicationCode)).filter((
|
|
7697
|
-
if (
|
|
7698
|
-
|
|
7699
|
-
|
|
7700
|
-
|
|
7701
|
-
|
|
7702
|
-
}
|
|
7703
|
-
e({ currentMenu: f });
|
|
7697
|
+
const f = KA(uf(A.applicationCode)).filter((t) => !t.disable && !t.expired).find((t) => t.code === A.code);
|
|
7698
|
+
if (f && !f.routeUrl) return;
|
|
7699
|
+
if (!f) {
|
|
7700
|
+
const { title: t, content: z, desc: d } = await Ce(f);
|
|
7701
|
+
await G9({ title: t, content: z, desc: d });
|
|
7702
|
+
return;
|
|
7704
7703
|
}
|
|
7704
|
+
const r = (((P = jA().tabMap) == null ? void 0 : P[A.applicationCode]) ?? []).find((t) => t.code === A.code);
|
|
7705
|
+
e(r ? { currentMenu: f, route: { path: r.path, query: r.query ?? {} } } : { currentMenu: f });
|
|
7705
7706
|
}), F.menu.addEventListener("toggleCollapse", (A) => {
|
|
7706
7707
|
const f = J3.nav.activeItem;
|
|
7707
7708
|
let v = tA().menuCollapses || [];
|
|
@@ -7720,7 +7721,7 @@ const u6 = (e) => {
|
|
|
7720
7721
|
var n;
|
|
7721
7722
|
const P = tA();
|
|
7722
7723
|
if (!((n = P.subAppList) != null && n.length) || P.subAppList.findIndex((u) => u.code === r.code) === -1) return;
|
|
7723
|
-
const d = (
|
|
7724
|
+
const d = (jA().tabMap[r.code] ?? []).map((u) => u.code);
|
|
7724
7725
|
d && d.length && Pf(r.code, d), A(r);
|
|
7725
7726
|
});
|
|
7726
7727
|
const { enter: v } = C9();
|
|
@@ -7738,7 +7739,7 @@ const u6 = (e) => {
|
|
|
7738
7739
|
r = T9(a.path), P = T9(a.query);
|
|
7739
7740
|
const q = tA().currentSubAppCode ?? "";
|
|
7740
7741
|
if (!q) return;
|
|
7741
|
-
const c = ((D = a.query) == null ? void 0 : D.menu) ?? ((R =
|
|
7742
|
+
const c = ((D = a.query) == null ? void 0 : D.menu) ?? ((R = jA()) == null ? void 0 : R.currentCode) ?? "";
|
|
7742
7743
|
if (!c) return;
|
|
7743
7744
|
const s = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
7744
7745
|
s && JSON.stringify(s) !== "{}" && (A.value = (j = (m = s[q]) == null ? void 0 : m[c]) != null && j.fontColor ? s[q][c].fontColor : "", f.value = (N = (O = s[q]) == null ? void 0 : O[c]) != null && N.backgroundColor ? s[q][c].backgroundColor : "", v.value = (T = (Z = s[q]) == null ? void 0 : Z[c]) != null && T.backgroundColor ? s[q][c].backgroundColor : "");
|
|
@@ -7746,7 +7747,7 @@ const u6 = (e) => {
|
|
|
7746
7747
|
);
|
|
7747
7748
|
const { deleteApp: t } = E9(), { entryMenu: z } = Vf(), { reloadRoute: d, unloadRoute: n } = nn(), u = (a) => {
|
|
7748
7749
|
var c;
|
|
7749
|
-
const H = KA(uf(a.applicationCode)).find((s) => s.code === a.code), q = (((c =
|
|
7750
|
+
const H = KA(uf(a.applicationCode)).find((s) => s.code === a.code), q = (((c = jA().tabMap) == null ? void 0 : c[a.applicationCode]) ?? []).find((s) => s.code === a.code);
|
|
7750
7751
|
z({ currentMenu: H, route: { path: q.path, query: q.query ?? {} } });
|
|
7751
7752
|
}, p = (a) => {
|
|
7752
7753
|
if (!a || !a.length) return;
|
|
@@ -7755,7 +7756,7 @@ const u6 = (e) => {
|
|
|
7755
7756
|
}, X = (a) => {
|
|
7756
7757
|
const H = tA().currentSubAppCode ?? "";
|
|
7757
7758
|
pA.innerSet = !0;
|
|
7758
|
-
const b =
|
|
7759
|
+
const b = jA(), q = b.tabMap[H], c = q.findIndex((m) => m.code === a.data.code);
|
|
7759
7760
|
if (c === -1) return;
|
|
7760
7761
|
const s = () => {
|
|
7761
7762
|
var O;
|
|
@@ -7794,13 +7795,13 @@ const u6 = (e) => {
|
|
|
7794
7795
|
})[a.type](a.data);
|
|
7795
7796
|
};
|
|
7796
7797
|
F.tab.addEventListener("onItemClick", async (a) => {
|
|
7797
|
-
|
|
7798
|
+
jA().currentCode !== a.currentCode && (pA.innerSet = !0, u(a));
|
|
7798
7799
|
}), F.tab.addEventListener("onItemRemove", (a) => {
|
|
7799
|
-
const H =
|
|
7800
|
+
const H = jA(), b = tA().currentSubAppCode ?? "";
|
|
7800
7801
|
H.tabMap[b].findIndex((s) => s.code === a.code) !== -1 && (Pf(a.applicationCode, [a.code]), X({ type: "me", data: a }));
|
|
7801
7802
|
}), F.tab.addEventListener("onMenuClick", (a) => {
|
|
7802
7803
|
let H = [];
|
|
7803
|
-
const b =
|
|
7804
|
+
const b = jA().tabMap[a.applicationCode] ?? [];
|
|
7804
7805
|
if (a.type.key === "right") {
|
|
7805
7806
|
const q = b.findIndex((c) => c.code === a.data.value);
|
|
7806
7807
|
H = b.slice(q + 1);
|
|
@@ -7934,7 +7935,7 @@ const u6 = (e) => {
|
|
|
7934
7935
|
meta: { ...(q == null ? void 0 : q.meta) ?? {} }
|
|
7935
7936
|
}), R && (R == null ? void 0 : R.code) !== (i == null ? void 0 : i.code)) {
|
|
7936
7937
|
if (R.fixed && (await e.push(R.path), z(), F.nav.setActiveItem(R.path)), !R.fixed) {
|
|
7937
|
-
const S = (C = tA().subAppList) == null ? void 0 : C.find((AA) => AA.code === R.code), Q =
|
|
7938
|
+
const S = (C = tA().subAppList) == null ? void 0 : C.find((AA) => AA.code === R.code), Q = jA().preTab[R.code], J = { ...(Q == null ? void 0 : Q.query) ?? {} };
|
|
7938
7939
|
await n({ microApp: S, menuCode: (Q == null ? void 0 : Q.code) ?? "", route: { query: J } });
|
|
7939
7940
|
}
|
|
7940
7941
|
return;
|
|
@@ -7955,7 +7956,7 @@ const u6 = (e) => {
|
|
|
7955
7956
|
const J = { ...Q, value: Q.code, label: Q.name };
|
|
7956
7957
|
F.nav.appendItem(J);
|
|
7957
7958
|
}), F.nav.setActiveItem(N.code), F.menu.setItems(D);
|
|
7958
|
-
const S =
|
|
7959
|
+
const S = jA().tabMap[N.code] ?? [];
|
|
7959
7960
|
if (S.length) {
|
|
7960
7961
|
const Q = S.map((J) => ({
|
|
7961
7962
|
...J,
|
|
@@ -7980,7 +7981,7 @@ const u6 = (e) => {
|
|
|
7980
7981
|
return;
|
|
7981
7982
|
}
|
|
7982
7983
|
if (!X.fixed) {
|
|
7983
|
-
const a = (i = tA().subAppList) == null ? void 0 : i.find((c) => c.code === X.code), H =
|
|
7984
|
+
const a = (i = tA().subAppList) == null ? void 0 : i.find((c) => c.code === X.code), H = jA().preTab[X.code], b = (H == null ? void 0 : H.code) ?? "", q = { ...(H == null ? void 0 : H.query) ?? {} };
|
|
7984
7985
|
await n({ microApp: a, menuCode: b, route: { query: q } });
|
|
7985
7986
|
}
|
|
7986
7987
|
};
|
|
@@ -7994,7 +7995,7 @@ const u6 = (e) => {
|
|
|
7994
7995
|
if (!((q = i.subAppList) != null && q.length)) return;
|
|
7995
7996
|
const a = i.subAppList.findIndex((c) => c.code === X.code);
|
|
7996
7997
|
if (a === -1) return;
|
|
7997
|
-
const H =
|
|
7998
|
+
const H = jA().tabMap[X.code] ?? [];
|
|
7998
7999
|
if (H.length) {
|
|
7999
8000
|
const c = H.filter((s) => !s.path.startsWith(X9)).map((s) => s.path);
|
|
8000
8001
|
c && c.length && f(c), H.forEach((s) => F.iframeView.triggerEventListener("onUnloadPage", s.path));
|
|
@@ -8162,7 +8163,7 @@ const u6 = (e) => {
|
|
|
8162
8163
|
const { currentApp: j } = Re(X.query.app);
|
|
8163
8164
|
if (j) {
|
|
8164
8165
|
m = j;
|
|
8165
|
-
const N = (
|
|
8166
|
+
const N = (jA().preTab ?? {})[m.code];
|
|
8166
8167
|
X = {}, N && (X.path = `/${N.applicationPath}${N.path}`.replace(/\/\//g, "/"), X.query = N.query);
|
|
8167
8168
|
}
|
|
8168
8169
|
}
|
|
@@ -8528,7 +8529,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8528
8529
|
class: "direction-control",
|
|
8529
8530
|
onDblclick: P[9] || (P[9] = OA((t) => t.stopPropagation(), ["stop"]))
|
|
8530
8531
|
}, [
|
|
8531
|
-
k(V(
|
|
8532
|
+
k(V(LA), {
|
|
8532
8533
|
content: V(g)("左上")
|
|
8533
8534
|
}, {
|
|
8534
8535
|
default: Y(() => [
|
|
@@ -8539,7 +8540,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8539
8540
|
]),
|
|
8540
8541
|
_: 1
|
|
8541
8542
|
}, 8, ["content"]),
|
|
8542
|
-
k(V(
|
|
8543
|
+
k(V(LA), {
|
|
8543
8544
|
content: V(g)("上")
|
|
8544
8545
|
}, {
|
|
8545
8546
|
default: Y(() => [
|
|
@@ -8550,7 +8551,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8550
8551
|
]),
|
|
8551
8552
|
_: 1
|
|
8552
8553
|
}, 8, ["content"]),
|
|
8553
|
-
k(V(
|
|
8554
|
+
k(V(LA), {
|
|
8554
8555
|
content: V(g)("右上")
|
|
8555
8556
|
}, {
|
|
8556
8557
|
default: Y(() => [
|
|
@@ -8561,7 +8562,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8561
8562
|
]),
|
|
8562
8563
|
_: 1
|
|
8563
8564
|
}, 8, ["content"]),
|
|
8564
|
-
k(V(
|
|
8565
|
+
k(V(LA), {
|
|
8565
8566
|
content: V(g)("左")
|
|
8566
8567
|
}, {
|
|
8567
8568
|
default: Y(() => [
|
|
@@ -8572,7 +8573,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8572
8573
|
]),
|
|
8573
8574
|
_: 1
|
|
8574
8575
|
}, 8, ["content"]),
|
|
8575
|
-
k(V(
|
|
8576
|
+
k(V(LA), {
|
|
8576
8577
|
content: V(g)("自动")
|
|
8577
8578
|
}, {
|
|
8578
8579
|
default: Y(() => [
|
|
@@ -8583,7 +8584,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8583
8584
|
]),
|
|
8584
8585
|
_: 1
|
|
8585
8586
|
}, 8, ["content"]),
|
|
8586
|
-
k(V(
|
|
8587
|
+
k(V(LA), {
|
|
8587
8588
|
content: V(g)("右")
|
|
8588
8589
|
}, {
|
|
8589
8590
|
default: Y(() => [
|
|
@@ -8594,7 +8595,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8594
8595
|
]),
|
|
8595
8596
|
_: 1
|
|
8596
8597
|
}, 8, ["content"]),
|
|
8597
|
-
k(V(
|
|
8598
|
+
k(V(LA), {
|
|
8598
8599
|
content: V(g)("左下")
|
|
8599
8600
|
}, {
|
|
8600
8601
|
default: Y(() => [
|
|
@@ -8605,7 +8606,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8605
8606
|
]),
|
|
8606
8607
|
_: 1
|
|
8607
8608
|
}, 8, ["content"]),
|
|
8608
|
-
k(V(
|
|
8609
|
+
k(V(LA), {
|
|
8609
8610
|
content: V(g)("下")
|
|
8610
8611
|
}, {
|
|
8611
8612
|
default: Y(() => [
|
|
@@ -8616,7 +8617,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8616
8617
|
]),
|
|
8617
8618
|
_: 1
|
|
8618
8619
|
}, 8, ["content"]),
|
|
8619
|
-
k(V(
|
|
8620
|
+
k(V(LA), {
|
|
8620
8621
|
content: V(g)("右下")
|
|
8621
8622
|
}, {
|
|
8622
8623
|
default: Y(() => [
|
|
@@ -8755,7 +8756,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8755
8756
|
class: "controls",
|
|
8756
8757
|
onDblclick: x[2] || (x[2] = OA((l) => l.stopPropagation(), ["stop"]))
|
|
8757
8758
|
}, [
|
|
8758
|
-
k(V(
|
|
8759
|
+
k(V(LA), {
|
|
8759
8760
|
content: V(g)("声音")
|
|
8760
8761
|
}, {
|
|
8761
8762
|
default: Y(() => [
|
|
@@ -8767,7 +8768,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8767
8768
|
]),
|
|
8768
8769
|
_: 1
|
|
8769
8770
|
}, 8, ["content"]),
|
|
8770
|
-
k(V(
|
|
8771
|
+
k(V(LA), {
|
|
8771
8772
|
content: V(g)("截图")
|
|
8772
8773
|
}, {
|
|
8773
8774
|
default: Y(() => [
|
|
@@ -8779,7 +8780,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8779
8780
|
]),
|
|
8780
8781
|
_: 1
|
|
8781
8782
|
}, 8, ["content"]),
|
|
8782
|
-
c("control") ? (eA(), dA(V(
|
|
8783
|
+
c("control") ? (eA(), dA(V(LA), {
|
|
8783
8784
|
key: 0,
|
|
8784
8785
|
content: V(g)("聚焦-")
|
|
8785
8786
|
}, {
|
|
@@ -8793,7 +8794,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8793
8794
|
]),
|
|
8794
8795
|
_: 1
|
|
8795
8796
|
}, 8, ["content"])) : cA("", !0),
|
|
8796
|
-
c("control") ? (eA(), dA(V(
|
|
8797
|
+
c("control") ? (eA(), dA(V(LA), {
|
|
8797
8798
|
key: 1,
|
|
8798
8799
|
content: V(g)("聚焦+")
|
|
8799
8800
|
}, {
|
|
@@ -8807,7 +8808,7 @@ const d1 = P1.post("data/device-auth"), X1 = /* @__PURE__ */ lA({
|
|
|
8807
8808
|
]),
|
|
8808
8809
|
_: 1
|
|
8809
8810
|
}, 8, ["content"])) : cA("", !0),
|
|
8810
|
-
c("control") ? (eA(), dA(V(
|
|
8811
|
+
c("control") ? (eA(), dA(V(LA), {
|
|
8811
8812
|
key: 2,
|
|
8812
8813
|
content: V(g)("方向控制")
|
|
8813
8814
|
}, {
|
|
@@ -8967,7 +8968,7 @@ const y1 = /* @__PURE__ */ lA({
|
|
|
8967
8968
|
}, {
|
|
8968
8969
|
header: Y(() => [
|
|
8969
8970
|
B("div", null, nA(V(g)("视频监控")), 1),
|
|
8970
|
-
k(V(
|
|
8971
|
+
k(V(LA), {
|
|
8971
8972
|
content: V(g)("页面全屏")
|
|
8972
8973
|
}, {
|
|
8973
8974
|
default: Y(() => [
|
|
@@ -10153,10 +10154,10 @@ var qA;
|
|
|
10153
10154
|
(function(e) {
|
|
10154
10155
|
e[e.None = 0] = "None", e[e.WebSockets = 1] = "WebSockets", e[e.ServerSentEvents = 2] = "ServerSentEvents", e[e.LongPolling = 4] = "LongPolling";
|
|
10155
10156
|
})(qA || (qA = {}));
|
|
10156
|
-
var
|
|
10157
|
+
var ZA;
|
|
10157
10158
|
(function(e) {
|
|
10158
10159
|
e[e.Text = 1] = "Text", e[e.Binary = 2] = "Binary";
|
|
10159
|
-
})(
|
|
10160
|
+
})(ZA || (ZA = {}));
|
|
10160
10161
|
let t8 = class {
|
|
10161
10162
|
constructor() {
|
|
10162
10163
|
this._isAborted = !1, this.onabort = null;
|
|
@@ -10180,7 +10181,7 @@ class g3 {
|
|
|
10180
10181
|
this._httpClient = A, this._logger = f, this._pollAbort = new t8(), this._options = v, this._running = !1, this.onreceive = null, this.onclose = null;
|
|
10181
10182
|
}
|
|
10182
10183
|
async connect(A, f) {
|
|
10183
|
-
if (HA.isRequired(A, "url"), HA.isRequired(f, "transferFormat"), HA.isIn(f,
|
|
10184
|
+
if (HA.isRequired(A, "url"), HA.isRequired(f, "transferFormat"), HA.isIn(f, ZA, "transferFormat"), this._url = A, this._logger.log(y.Trace, "(LongPolling transport) Connecting."), f === ZA.Binary && typeof XMLHttpRequest < "u" && typeof new XMLHttpRequest().responseType != "string")
|
|
10184
10185
|
throw new Error("Binary protocols over XmlHttpRequest not implementing advanced features are not supported.");
|
|
10185
10186
|
const [v, r] = L9(), P = { [v]: r, ...this._options.headers }, t = {
|
|
10186
10187
|
abortSignal: this._pollAbort.signal,
|
|
@@ -10188,7 +10189,7 @@ class g3 {
|
|
|
10188
10189
|
timeout: 1e5,
|
|
10189
10190
|
withCredentials: this._options.withCredentials
|
|
10190
10191
|
};
|
|
10191
|
-
f ===
|
|
10192
|
+
f === ZA.Binary && (t.responseType = "arraybuffer");
|
|
10192
10193
|
const z = `${A}&_=${Date.now()}`;
|
|
10193
10194
|
this._logger.log(y.Trace, `(LongPolling transport) polling: ${z}.`);
|
|
10194
10195
|
const d = await this._httpClient.get(z, t);
|
|
@@ -10246,9 +10247,9 @@ class u8 {
|
|
|
10246
10247
|
this._httpClient = A, this._accessToken = f, this._logger = v, this._options = r, this.onreceive = null, this.onclose = null;
|
|
10247
10248
|
}
|
|
10248
10249
|
async connect(A, f) {
|
|
10249
|
-
return HA.isRequired(A, "url"), HA.isRequired(f, "transferFormat"), HA.isIn(f,
|
|
10250
|
+
return HA.isRequired(A, "url"), HA.isRequired(f, "transferFormat"), HA.isIn(f, ZA, "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, r) => {
|
|
10250
10251
|
let P = !1;
|
|
10251
|
-
if (f !==
|
|
10252
|
+
if (f !== ZA.Text) {
|
|
10252
10253
|
r(new Error("The Server-Sent Events transport only supports the 'Text' transfer format"));
|
|
10253
10254
|
return;
|
|
10254
10255
|
}
|
|
@@ -10296,7 +10297,7 @@ class z8 {
|
|
|
10296
10297
|
this._logger = v, this._accessTokenFactory = f, this._logMessageContent = r, this._webSocketConstructor = P, this._httpClient = A, this.onreceive = null, this.onclose = null, this._headers = t;
|
|
10297
10298
|
}
|
|
10298
10299
|
async connect(A, f) {
|
|
10299
|
-
HA.isRequired(A, "url"), HA.isRequired(f, "transferFormat"), HA.isIn(f,
|
|
10300
|
+
HA.isRequired(A, "url"), HA.isRequired(f, "transferFormat"), HA.isIn(f, ZA, "transferFormat"), this._logger.log(y.Trace, "(WebSockets transport) Connecting.");
|
|
10300
10301
|
let v;
|
|
10301
10302
|
return this._accessTokenFactory && (v = await this._accessTokenFactory()), new Promise((r, P) => {
|
|
10302
10303
|
A = A.replace(/^http/, "ws");
|
|
@@ -10310,7 +10311,7 @@ class z8 {
|
|
|
10310
10311
|
});
|
|
10311
10312
|
} else
|
|
10312
10313
|
v && (A += (A.indexOf("?") < 0 ? "?" : "&") + `access_token=${encodeURIComponent(v)}`);
|
|
10313
|
-
t || (t = new this._webSocketConstructor(A)), f ===
|
|
10314
|
+
t || (t = new this._webSocketConstructor(A)), f === ZA.Binary && (t.binaryType = "arraybuffer"), t.onopen = (n) => {
|
|
10314
10315
|
this._logger.log(y.Information, `WebSocket connected to ${A}.`), this._webSocket = t, d = !0, r();
|
|
10315
10316
|
}, t.onerror = (n) => {
|
|
10316
10317
|
let u = null;
|
|
@@ -10366,7 +10367,7 @@ class d8 {
|
|
|
10366
10367
|
!sA.isNode && typeof WebSocket < "u" && !f.WebSocket ? f.WebSocket = WebSocket : sA.isNode && !f.WebSocket && v && (f.WebSocket = v), !sA.isNode && typeof EventSource < "u" && !f.EventSource ? f.EventSource = EventSource : sA.isNode && !f.EventSource && typeof r < "u" && (f.EventSource = r), this._httpClient = new P8(f.httpClient || new C1(this._logger), f.accessTokenFactory), this._connectionState = "Disconnected", this._connectionStarted = !1, this._options = f, this.onreceive = null, this.onclose = null;
|
|
10367
10368
|
}
|
|
10368
10369
|
async start(A) {
|
|
10369
|
-
if (A = A ||
|
|
10370
|
+
if (A = A || ZA.Binary, HA.isIn(A, ZA, "transferFormat"), this._logger.log(y.Debug, `Starting connection with transfer format '${ZA[A]}'.`), this._connectionState !== "Disconnected")
|
|
10370
10371
|
return Promise.reject(new Error("Cannot start an HttpConnection that is not in the 'Disconnected' state."));
|
|
10371
10372
|
if (this._connectionState = "Connecting", this._startInternalPromise = this._startInternal(A), await this._startInternalPromise, this._connectionState === "Disconnecting") {
|
|
10372
10373
|
const f = "Failed to start the HttpConnection before stop() was called.";
|
|
@@ -10533,7 +10534,7 @@ class d8 {
|
|
|
10533
10534
|
if (P == null)
|
|
10534
10535
|
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.`);
|
|
10535
10536
|
if (X8(f, P))
|
|
10536
|
-
if (A.transferFormats.map((z) =>
|
|
10537
|
+
if (A.transferFormats.map((z) => ZA[z]).indexOf(v) >= 0) {
|
|
10537
10538
|
if (P === qA.WebSockets && !this._options.WebSocket || P === qA.ServerSentEvents && !this._options.EventSource)
|
|
10538
10539
|
return this._logger.log(y.Debug, `Skipping transport '${qA[P]}' because it is not supported in your environment.'`), new E1(`'${qA[P]}' is not supported in your environment.`, P);
|
|
10539
10540
|
this._logger.log(y.Debug, `Selecting transport '${qA[P]}'.`);
|
|
@@ -10543,7 +10544,7 @@ class d8 {
|
|
|
10543
10544
|
return z;
|
|
10544
10545
|
}
|
|
10545
10546
|
} else
|
|
10546
|
-
return this._logger.log(y.Debug, `Skipping transport '${qA[P]}' because it does not support the requested transfer format '${
|
|
10547
|
+
return this._logger.log(y.Debug, `Skipping transport '${qA[P]}' because it does not support the requested transfer format '${ZA[v]}'.`), new Error(`'${qA[P]}' does not support ${ZA[v]}.`);
|
|
10547
10548
|
else
|
|
10548
10549
|
return this._logger.log(y.Debug, `Skipping transport '${qA[P]}' because it was disabled by the client.`), new I1(`'${qA[P]}' is disabled by the client.`, P);
|
|
10549
10550
|
}
|
|
@@ -10641,7 +10642,7 @@ class rf {
|
|
|
10641
10642
|
const b8 = "json";
|
|
10642
10643
|
class c8 {
|
|
10643
10644
|
constructor() {
|
|
10644
|
-
this.name = b8, this.version = 2, this.transferFormat =
|
|
10645
|
+
this.name = b8, this.version = 2, this.transferFormat = ZA.Text;
|
|
10645
10646
|
}
|
|
10646
10647
|
/** Creates an array of {@link @microsoft/signalr.HubMessage} objects from the specified serialized representation.
|
|
10647
10648
|
*
|
|
@@ -10982,11 +10983,11 @@ const D8 = WA(`/api/tool/event-bus/${Rf}/`), se = D8.post("/publish"), V8 = oe.g
|
|
|
10982
10983
|
const l = o(!0), D = o(!0), R = async (U) => {
|
|
10983
10984
|
const E = { name: "1" };
|
|
10984
10985
|
U != null && U.id && (E.spaceId = U.id);
|
|
10985
|
-
const [M,
|
|
10986
|
-
return M ? {} :
|
|
10986
|
+
const [M, TA] = await W8(E).run();
|
|
10987
|
+
return M ? {} : TA;
|
|
10987
10988
|
}, m = async (U) => {
|
|
10988
|
-
const E = { name: U || "" }, [M,
|
|
10989
|
-
return M ? {} :
|
|
10989
|
+
const E = { name: U || "" }, [M, TA] = await w8(E).run();
|
|
10990
|
+
return M ? {} : TA;
|
|
10990
10991
|
}, j = o(!0), O = o(!0), N = o([]), Z = async () => {
|
|
10991
10992
|
const [U, E] = await y8().run({ pageIndex: -1, pageSize: -1 });
|
|
10992
10993
|
if (U) return {};
|
|
@@ -11033,10 +11034,10 @@ const D8 = WA(`/api/tool/event-bus/${Rf}/`), se = D8.post("/publish"), V8 = oe.g
|
|
|
11033
11034
|
eventTypeId: n.value.eventTypeId
|
|
11034
11035
|
}, [E, M] = await I8(U).run();
|
|
11035
11036
|
if (E) return {};
|
|
11036
|
-
const
|
|
11037
|
+
const TA = { 1: $("一级").value, 2: $("二级").value, 3: $("三级").value, 4: $("四级").value };
|
|
11037
11038
|
i.value = M.map((CA) => ({
|
|
11038
11039
|
id: `${CA}`,
|
|
11039
|
-
name:
|
|
11040
|
+
name: TA[CA] ? TA[CA] : CA
|
|
11040
11041
|
})), M.length && !n.value.eventLevelId && (n.value.eventLevelId = i.value[0].id, I());
|
|
11041
11042
|
}, I = async () => {
|
|
11042
11043
|
const U = {
|
|
@@ -11060,8 +11061,8 @@ const D8 = WA(`/api/tool/event-bus/${Rf}/`), se = D8.post("/publish"), V8 = oe.g
|
|
|
11060
11061
|
return;
|
|
11061
11062
|
}
|
|
11062
11063
|
P.value = !1, H.value = M;
|
|
11063
|
-
for (let
|
|
11064
|
-
H.value[
|
|
11064
|
+
for (let TA = 0; TA < H.value.length; TA++)
|
|
11065
|
+
H.value[TA].id === "createorder" && Z();
|
|
11065
11066
|
}, uA = () => {
|
|
11066
11067
|
let U = !0;
|
|
11067
11068
|
if (n.value.processTypeId == "dealwith")
|
|
@@ -11875,11 +11876,11 @@ o("@das-fed/web");
|
|
|
11875
11876
|
const xX = [
|
|
11876
11877
|
{
|
|
11877
11878
|
path: VA,
|
|
11878
|
-
component: () => import("./index-
|
|
11879
|
+
component: () => import("./index-BifLTON-.js")
|
|
11879
11880
|
},
|
|
11880
11881
|
{
|
|
11881
11882
|
path: tv,
|
|
11882
|
-
component: () => import("./index-
|
|
11883
|
+
component: () => import("./index-B0Y-zSJl.js")
|
|
11883
11884
|
}
|
|
11884
11885
|
], H2 = {
|
|
11885
11886
|
routes: xX,
|
|
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-BPp-7sEG.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/types/main-app-framework/components/person-set-dialog/src/components/set-home/api.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const homePageTypesApi: (payload?: any, payloadConfig?: import('@
|
|
|
8
8
|
export declare const portalTree: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
9
9
|
/** 门户管理树查询 */
|
|
10
10
|
export declare const portalTreeSearch: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
11
|
-
/**
|
|
11
|
+
/** 查询设备看板 */
|
|
12
12
|
export declare const deviceOrchestration: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
|
13
13
|
/** 查询图纸编排 */
|
|
14
14
|
export declare const drawingOrchestration: (payload?: any, payloadConfig?: import('@das-fed/utils/curring-http/type').CurringConfig) => import('@das-fed/utils/curring-http/type').CurringRes;
|
package/index-DXL5jYrG.js.gz
DELETED
|
Binary file
|
package/index-JQg--Cmc.js.gz
DELETED
|
Binary file
|
|
Binary file
|
|
Binary file
|