@das-fed/upf-web 6.4.0-dev.203 → 6.4.0-dev.204
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es5.js +66 -66
- package/{index-4gY_dDQ-.js → index-B8OU227U.js} +1 -1
- package/index-B8OU227U.js.gz +0 -0
- package/{index-DC6Eay0b.js → index-BDoN_kC5.js} +1 -1
- package/{index-DBJqJe-a.js → index-BTfDckHk.js} +748 -748
- package/index-BTfDckHk.js.gz +0 -0
- package/index.js +1 -1
- package/package.json +6 -6
- package/packages/create-das-web-app/es5.js +117 -117
- package/packages/create-das-web-app/index.js +94 -94
- package/packages/create-das-web-app/index.js.gz +0 -0
- package/packages/layout/index.js.gz +0 -0
- package/packages/micro-frontend/index.js.gz +0 -0
- package/types/i18n/microI18n.d.ts +5 -5
- package/index-4gY_dDQ-.js.gz +0 -0
- package/index-DBJqJe-a.js.gz +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { reactive as de, ref as T, computed as vA, createApp as sr, defineComponent as aA, watch as iA, openBlock as G, createElementBlock as zA, Fragment as fe, createBlock as tA, TransitionGroup as qr, normalizeProps as Kf, mergeProps as x9, withCtx as Q, renderList as he, withDirectives as wA, resolveDynamicComponent as Ye, vShow as QA, unref as D, createCommentVNode as $, nextTick as ae, resolveComponent as Hr, createElementVNode as M, normalizeClass as b7, normalizeStyle as Cf, renderSlot as LA, createVNode as g, Transition as
|
|
2
|
-
import { initTheme as Rr, setThemeRule as jr, getVar as
|
|
3
|
-
import { DasWebLayout as a7, DasWebNav as
|
|
1
|
+
import { reactive as de, ref as T, computed as vA, createApp as sr, defineComponent as aA, watch as iA, openBlock as G, createElementBlock as zA, Fragment as fe, createBlock as tA, TransitionGroup as qr, normalizeProps as Kf, mergeProps as x9, withCtx as Q, renderList as he, withDirectives as wA, resolveDynamicComponent as Ye, vShow as QA, unref as D, createCommentVNode as $, nextTick as ae, resolveComponent as Hr, createElementVNode as M, normalizeClass as b7, normalizeStyle as Cf, renderSlot as LA, createVNode as g, Transition as C7, guardReactiveProps as _7, KeepAlive as $7, h as RA, onBeforeMount as pr, onMounted as ue, onUnmounted as Tv, getCurrentScope as mr, onScopeDispose as lr, getCurrentInstance as xr, onActivated as Or, createTextVNode as mA, toDisplayString as PA, render as c9, isRef as ne, onBeforeUnmount as O9, useCssVars as Dr, withModifiers as oA, toRefs as Vr, createSlots as Nr } from "vue";
|
|
2
|
+
import { initTheme as Rr, setThemeRule as jr, getVar as A3 } from "@das-fed/upf-web/packages/theme/index";
|
|
3
|
+
import { DasWebLayout as a7, DasWebNav as Lv, DasWebMenu as yv, DasWebTabs as wv, layout as C, layoutData as Wv } from "@das-fed/upf-web/packages/layout/index";
|
|
4
4
|
import { createPinia as or } from "pinia";
|
|
5
5
|
import Zr from "pinia-plugin-persistedstate";
|
|
6
6
|
import { createRouter as Tr, createWebHistory as Lr, useRouter as Te, useRoute as $e } from "vue-router";
|
|
7
|
-
import { getUrlParams as
|
|
7
|
+
import { getUrlParams as Ev, handleI18nData as yr, flatTree as CA, filterTreeArray as wr, isEmpty as Wr, treeFind as e3, setBrowseTitle as Er, updateFavIcon as Ir, dateFormat as gr, runPromiseByQueue as Mr, objEqual as _f, setShowWatermark as $f, setShowLayout as A7, withToken as Br } from "@das-fed/upf-utils/common-tools";
|
|
8
8
|
import { getConfig as me } from "@das-fed/upf-utils/config";
|
|
9
9
|
import { microFrontend as IA } from "@das-fed/upf-web/packages/micro-frontend/index";
|
|
10
10
|
import { i18n as fA, t as B, currentLang as D9, setLang as kr, setI18nRule as Qr } from "@das-fed/upf-web/packages/i18n/index";
|
|
@@ -17,10 +17,10 @@ import { getSubApps as cA, getTabInfo as WA, getToken as le, getTenantInfo as G9
|
|
|
17
17
|
import { pureImageSrc as U9 } from "@das-fed/upf-utils/pure-image-src";
|
|
18
18
|
import { DasNotification as B9 } from "@das-fed/upf-ui/packages/components/notification/index";
|
|
19
19
|
import { setProcessEngineProject as gv, setProcessEngineToken as Mv } from "@das-fed/upf-utils/process-engine-info";
|
|
20
|
-
import { oauthServer as Bv, justauth as
|
|
20
|
+
import { oauthServer as Bv, justauth as i7, enterpriseright as J9, iotModules as Kr, portal as ie, systemConfiguration as h9 } from "@das-fed/upf-utils/api-services/modules";
|
|
21
21
|
import { createService as gA } from "@das-fed/upf-utils/create-api-service";
|
|
22
22
|
import { useGetAuth as Cr } from "@das-fed/upf-utils/hooks/use-get-auth";
|
|
23
|
-
import { systemConfiguration as _r, portal as $r, enterpriseright as
|
|
23
|
+
import { systemConfiguration as _r, portal as $r, enterpriseright as s7, createService as A9, spaceManage as kv } from "@das-fed/upf-utils/api-services";
|
|
24
24
|
import e7 from "dayjs";
|
|
25
25
|
import { login as Qv, getTokenParams as Yv, real_uri as Gv, tokenStorage as At } from "@das-fed/upf-utils/create-api-service/sso";
|
|
26
26
|
import { getAccessToken as et, removeAccessToken as ft } from "@das-fed/upf-utils/token-tools";
|
|
@@ -40,10 +40,10 @@ import { DasLivePlayer as dt } from "@das-fed/upf-ui/packages/components/live-pl
|
|
|
40
40
|
import { DasWatermark as Xt } from "@das-fed/upf-ui/packages/components/watermark/index";
|
|
41
41
|
import { DasDrawer as ct } from "@das-fed/upf-ui/packages/components/drawer/index";
|
|
42
42
|
import { DasTabs as bt } from "@das-fed/upf-ui/packages/components/tabs/index";
|
|
43
|
-
import { DasMessage as
|
|
43
|
+
import { DasMessage as q7 } from "@das-fed/upf-ui/packages/components/message/index";
|
|
44
44
|
import { DasRadio as Me } from "@das-fed/upf-ui/packages/components/radio/index";
|
|
45
45
|
import { useImageViewer as at } from "@das-fed/upf-ui/packages/components/image-preview/index";
|
|
46
|
-
import { DasForm as
|
|
46
|
+
import { DasForm as H7 } from "@das-fed/upf-ui/packages/components/form/index";
|
|
47
47
|
import { DasFormItem as BA } from "@das-fed/upf-ui/packages/components/form-item/index";
|
|
48
48
|
import { DasTable as it, DasTableColumn as tf } from "@das-fed/upf-ui/packages/components/table/index";
|
|
49
49
|
import { DasSelect as hv } from "@das-fed/upf-ui/packages/components/select/index";
|
|
@@ -52,7 +52,7 @@ import { DasTreeRef as qt, DasTree as Ht } from "@das-fed/upf-ui/packages/compon
|
|
|
52
52
|
import { DasSearch as pt } from "@das-fed/upf-ui/packages/components/search/index";
|
|
53
53
|
import { DasInput as f7 } from "@das-fed/upf-ui/packages/components/input/index";
|
|
54
54
|
import { DasTreeSelect as mt } from "@das-fed/upf-ui/packages/components/tree-select/index";
|
|
55
|
-
import { DasCheckbox as
|
|
55
|
+
import { DasCheckbox as f3 } from "@das-fed/upf-ui/packages/components/checkbox/index";
|
|
56
56
|
import { flatTree as lt } from "@das-fed/upf-utils/common-tools/nest-tree-format";
|
|
57
57
|
import { setHtmlMinWH as xt } from "@das-fed/upf-utils/common-tools/setHtmlMinWH";
|
|
58
58
|
import { createCeNav as Ot, createCeTabs as Dt, createCeMenu as Vt } from "@das-fed/upf-web-components/das-web-app";
|
|
@@ -66,10 +66,10 @@ const Nt = {
|
|
|
66
66
|
}
|
|
67
67
|
}, v7 = or();
|
|
68
68
|
v7.use(Zr);
|
|
69
|
-
const Fv = "language", Ge = de({}), Ue = de({}), b9 = de({}), Rt =
|
|
69
|
+
const Fv = "language", Ge = de({}), Ue = de({}), b9 = de({}), Rt = Ev(location.href, "uiCulture") || "", jt = Rt || window.localStorage.getItem(Fv) || window.navigator.language || "zh-CN", s9 = T(jt), ot = "dasI18n", Sv = () => {
|
|
70
70
|
const e = document.documentElement;
|
|
71
71
|
e && e.setAttribute("lang", s9.value);
|
|
72
|
-
},
|
|
72
|
+
}, v3 = (e = {}, A) => {
|
|
73
73
|
const f = A === "global", v = !f, n = {};
|
|
74
74
|
for (const r in e)
|
|
75
75
|
for (const P in e[r])
|
|
@@ -101,7 +101,7 @@ const Fv = "language", Ge = de({}), Ue = de({}), b9 = de({}), Rt = i7(location.h
|
|
|
101
101
|
}), P;
|
|
102
102
|
}), yt = Lt, kb = (e, ...A) => yt(e, ...A).value, wt = (e) => {
|
|
103
103
|
s9.value = e, Sv();
|
|
104
|
-
}, Qb = () => s9,
|
|
104
|
+
}, Qb = () => s9, n3 = {
|
|
105
105
|
"en-US": { ant: () => import("ant-design-vue/es/locale/en_US"), dayjs: () => import("dayjs/locale/en") },
|
|
106
106
|
"zh-CN": { ant: () => import("ant-design-vue/es/locale/zh_CN"), dayjs: () => import("dayjs/locale/zh-cn") },
|
|
107
107
|
"zh-MO": { ant: () => import("ant-design-vue/es/locale/zh_TW"), dayjs: () => import("dayjs/locale/zh-tw") },
|
|
@@ -122,7 +122,7 @@ function Yb(e, A) {
|
|
|
122
122
|
return f && f[e] && f[e][A] ? f[e][A] : ((v = window.DATE_FORMAT_MAP[e]) == null ? void 0 : v[A]) || "YYYY-MM-DD";
|
|
123
123
|
}
|
|
124
124
|
const Gb = async (e) => {
|
|
125
|
-
const A =
|
|
125
|
+
const A = n3[e] || n3["zh-CN"];
|
|
126
126
|
try {
|
|
127
127
|
const f = await A.ant();
|
|
128
128
|
return await A.dayjs(), f.default;
|
|
@@ -130,14 +130,14 @@ const Gb = async (e) => {
|
|
|
130
130
|
}
|
|
131
131
|
}, Wt = {
|
|
132
132
|
loaded: {},
|
|
133
|
-
isLoaded(e) {
|
|
134
|
-
return !!this.loaded[e];
|
|
133
|
+
isLoaded(e, A) {
|
|
134
|
+
return !!(this.loaded[e] && this.loaded[e][A]);
|
|
135
135
|
},
|
|
136
|
-
markLoaded(e) {
|
|
137
|
-
this.loaded[e] = !0;
|
|
136
|
+
markLoaded(e, A) {
|
|
137
|
+
this.loaded[e] || (this.loaded[e] = {}), this.loaded[e][A] = !0;
|
|
138
138
|
},
|
|
139
|
-
markUnloaded(e) {
|
|
140
|
-
delete this.loaded[e];
|
|
139
|
+
markUnloaded(e, A) {
|
|
140
|
+
this.loaded[e] && (delete this.loaded[e][A], Object.keys(this.loaded[e]).length === 0 && delete this.loaded[e]);
|
|
141
141
|
}
|
|
142
142
|
}, Et = async (e, A) => {
|
|
143
143
|
var u, z, t;
|
|
@@ -158,13 +158,12 @@ const Gb = async (e) => {
|
|
|
158
158
|
} catch (d) {
|
|
159
159
|
throw new Error(`registerResources error: ${d}`);
|
|
160
160
|
}
|
|
161
|
-
}, It = async (e = []) => {
|
|
162
|
-
const A = i7(location.href, "uiCulture") || window.localStorage.getItem(Fv) || window.navigator.language || "zh-CN";
|
|
161
|
+
}, It = async (e = [], A = "zh-CN") => {
|
|
163
162
|
try {
|
|
164
163
|
const f = await Et(e, A);
|
|
165
164
|
f != null && f.frontEnd && typeof f.frontEnd == "object" && Object.keys(f.frontEnd).length && e.forEach((v) => {
|
|
166
|
-
f.frontEnd[v] && typeof f.frontEnd[v] == "object" && Object.keys(f.frontEnd[v]).length &&
|
|
167
|
-
}), f != null && f.dasUiEnd && typeof f.dasUiEnd == "object" && Object.keys(f.dasUiEnd).length &&
|
|
165
|
+
f.frontEnd[v] && typeof f.frontEnd[v] == "object" && Object.keys(f.frontEnd[v]).length && v3({ [A]: f.frontEnd[v] });
|
|
166
|
+
}), f != null && f.dasUiEnd && typeof f.dasUiEnd == "object" && Object.keys(f.dasUiEnd).length && v3({ [A]: f.dasUiEnd }), wt(A);
|
|
168
167
|
} catch {
|
|
169
168
|
}
|
|
170
169
|
}, gt = (e) => {
|
|
@@ -195,17 +194,18 @@ const Gb = async (e) => {
|
|
|
195
194
|
for (const i of e.microApps)
|
|
196
195
|
i != null && i.microAppName && (i != null && i.i18n) && s.set(i.microAppName, i.i18n);
|
|
197
196
|
z.beforeEach(async (i, H, c) => {
|
|
197
|
+
var q;
|
|
198
198
|
try {
|
|
199
|
-
const q = i.path || "";
|
|
200
|
-
for (const [
|
|
201
|
-
if (!
|
|
202
|
-
if (
|
|
203
|
-
const
|
|
204
|
-
|
|
199
|
+
const m = ((q = i.query) == null ? void 0 : q.uiCulture) || window.localStorage.getItem(Fv) || window.navigator.language || "zh-CN", O = i.path || "";
|
|
200
|
+
for (const [V, N] of s.entries()) {
|
|
201
|
+
if (!V || !O.toLowerCase().startsWith(`/${V.toLowerCase()}`)) continue;
|
|
202
|
+
if (t.isLoaded(m, V) || !N || !(N != null && N.length)) break;
|
|
203
|
+
const x = typeof N == "string" ? [N] : N;
|
|
204
|
+
t.markLoaded(m, V);
|
|
205
205
|
try {
|
|
206
|
-
await It(
|
|
206
|
+
await It(x, m);
|
|
207
207
|
} catch {
|
|
208
|
-
|
|
208
|
+
t.markUnloaded(m, V);
|
|
209
209
|
}
|
|
210
210
|
break;
|
|
211
211
|
}
|
|
@@ -266,7 +266,7 @@ function kt(e) {
|
|
|
266
266
|
let v = document.getElementById(f);
|
|
267
267
|
return e === "global" && (v = document.getElementById(A)), v.sheet;
|
|
268
268
|
}
|
|
269
|
-
const
|
|
269
|
+
const r3 = (e, A) => {
|
|
270
270
|
A || (A = "custom");
|
|
271
271
|
const f = kt(A), v = Bt(e);
|
|
272
272
|
for (const r in v) {
|
|
@@ -282,12 +282,12 @@ const t3 = (e, A) => {
|
|
|
282
282
|
}, Jb = async (e) => {
|
|
283
283
|
var v, n;
|
|
284
284
|
const A = window[Mt];
|
|
285
|
-
A &&
|
|
285
|
+
A && r3(A, "global");
|
|
286
286
|
let f = Object.assign(((v = e == null ? void 0 : e.theme) == null ? void 0 : v.glob) || {});
|
|
287
287
|
(n = e == null ? void 0 : e.microApps) == null || n.map((r) => {
|
|
288
288
|
var P;
|
|
289
289
|
f = Object.assign(f, ((P = r.theme) == null ? void 0 : P.glob) || {});
|
|
290
|
-
}), Object.values(f).filter((r) => !!r).flat().map((r) =>
|
|
290
|
+
}), Object.values(f).filter((r) => !!r).flat().map((r) => r3(r));
|
|
291
291
|
}, hb = (e) => {
|
|
292
292
|
document.body.classList.add(`${a9}-light`), e === "light" && document.body.classList.remove(`${a9}-${Je.value}`), Je.value = e, document.body.classList.add(`${a9}-${Je.value}`);
|
|
293
293
|
}, Qt = (e) => vA(() => {
|
|
@@ -305,7 +305,7 @@ const t3 = (e, A) => {
|
|
|
305
305
|
// activeItem: '',
|
|
306
306
|
// activeProject: {},
|
|
307
307
|
eventListeners: {}
|
|
308
|
-
}),
|
|
308
|
+
}), t3 = {
|
|
309
309
|
show: () => {
|
|
310
310
|
qA.visible = !0;
|
|
311
311
|
},
|
|
@@ -386,7 +386,7 @@ const t3 = (e, A) => {
|
|
|
386
386
|
items: [],
|
|
387
387
|
collapse: !1,
|
|
388
388
|
eventListeners: {}
|
|
389
|
-
}),
|
|
389
|
+
}), P3 = {
|
|
390
390
|
setItems: (e) => {
|
|
391
391
|
re.items = e;
|
|
392
392
|
},
|
|
@@ -438,7 +438,7 @@ const t3 = (e, A) => {
|
|
|
438
438
|
theme: "default",
|
|
439
439
|
items: [],
|
|
440
440
|
eventListeners: {}
|
|
441
|
-
}),
|
|
441
|
+
}), u3 = {
|
|
442
442
|
setItems: (e) => {
|
|
443
443
|
hA.items = e;
|
|
444
444
|
},
|
|
@@ -537,14 +537,14 @@ const t3 = (e, A) => {
|
|
|
537
537
|
iframeView: X9,
|
|
538
538
|
visible: T(!1)
|
|
539
539
|
}, dA = {
|
|
540
|
-
nav:
|
|
541
|
-
menu:
|
|
542
|
-
tab:
|
|
540
|
+
nav: t3,
|
|
541
|
+
menu: P3,
|
|
542
|
+
tab: u3,
|
|
543
543
|
overlay: Gt,
|
|
544
544
|
iframeView: Yt,
|
|
545
545
|
setVisible: (e) => Ve.visible.value = e,
|
|
546
546
|
setTheme: (e) => {
|
|
547
|
-
|
|
547
|
+
t3.setTheme(e), P3.setTheme(e), u3.setTheme(e);
|
|
548
548
|
}
|
|
549
549
|
}, Ut = ["name"], Jt = ["name"], ht = /* @__PURE__ */ aA({
|
|
550
550
|
__name: "das-iframe-router-view",
|
|
@@ -723,15 +723,15 @@ const t3 = (e, A) => {
|
|
|
723
723
|
iA(
|
|
724
724
|
() => [f.meta, f.query],
|
|
725
725
|
([q, m]) => {
|
|
726
|
-
const { showLayout:
|
|
726
|
+
const { showLayout: O = !0, showAside: V = !0, showTabs: N = !0, layout: x = {} } = q, {
|
|
727
727
|
showLayout: j = !0,
|
|
728
728
|
showAside: l = !0,
|
|
729
|
-
showTabs:
|
|
729
|
+
showTabs: R = !0,
|
|
730
730
|
app: o
|
|
731
731
|
} = m;
|
|
732
|
-
xt(
|
|
732
|
+
xt(x);
|
|
733
733
|
let Z = !0, J = !0, S = !0;
|
|
734
|
-
(
|
|
734
|
+
(O === !1 || j === !1 || j === "false") && (Z = !1, J = !1, S = !1), (V === !1 || l === !1 || l === "false") && (J = !1), (N === !1 || R === !1 || R === "false") && (S = !1), v.value = Z, n.value = J, r.value = S;
|
|
735
735
|
}
|
|
736
736
|
);
|
|
737
737
|
const s = vA(() => ({
|
|
@@ -741,16 +741,16 @@ const t3 = (e, A) => {
|
|
|
741
741
|
}));
|
|
742
742
|
let i = /* @__PURE__ */ new Map();
|
|
743
743
|
const H = (q, m) => {
|
|
744
|
-
let
|
|
745
|
-
return i.has(m) ?
|
|
744
|
+
let O;
|
|
745
|
+
return i.has(m) ? O = i.get(m) : (O = {
|
|
746
746
|
name: m,
|
|
747
747
|
render() {
|
|
748
748
|
return RA("div", { style: { width: "100%", height: "100%" } }, [RA(q)]);
|
|
749
749
|
}
|
|
750
|
-
}, i.set(m,
|
|
750
|
+
}, i.set(m, O)), RA(O);
|
|
751
751
|
}, c = vA(() => Ve.visible.value);
|
|
752
752
|
return (q, m) => {
|
|
753
|
-
const
|
|
753
|
+
const O = Hr("router-view");
|
|
754
754
|
return G(), zA("div", St, [
|
|
755
755
|
wA(M(
|
|
756
756
|
"div",
|
|
@@ -818,20 +818,20 @@ const t3 = (e, A) => {
|
|
|
818
818
|
}, [
|
|
819
819
|
LA(q.$slots, "router-view", {}, () => [
|
|
820
820
|
$(" 有动画 "),
|
|
821
|
-
q.needTransition ? (G(), tA(
|
|
821
|
+
q.needTransition ? (G(), tA(O, { key: 0 }, {
|
|
822
822
|
default: Q(({ Component: V }) => [
|
|
823
823
|
g(
|
|
824
|
-
|
|
825
|
-
Kf(
|
|
824
|
+
C7,
|
|
825
|
+
Kf(_7(s.value)),
|
|
826
826
|
{
|
|
827
827
|
default: Q(() => {
|
|
828
|
-
var
|
|
828
|
+
var N;
|
|
829
829
|
return [
|
|
830
|
-
D(f).meta.keepAlive ? (G(), tA(
|
|
830
|
+
D(f).meta.keepAlive ? (G(), tA($7, {
|
|
831
831
|
key: 0,
|
|
832
832
|
exclude: b.value
|
|
833
833
|
}, [
|
|
834
|
-
a.value && !((
|
|
834
|
+
a.value && !((N = D(f).meta) != null && N.isIframe) ? (G(), tA(Ye(H(V, D(f).path)), {
|
|
835
835
|
key: D(f).path
|
|
836
836
|
})) : $("v-if", !0)
|
|
837
837
|
], 1032, ["exclude"])) : $("v-if", !0)
|
|
@@ -844,8 +844,8 @@ const t3 = (e, A) => {
|
|
|
844
844
|
/* FULL_PROPS, DYNAMIC_SLOTS */
|
|
845
845
|
),
|
|
846
846
|
g(
|
|
847
|
-
|
|
848
|
-
Kf(
|
|
847
|
+
C7,
|
|
848
|
+
Kf(_7(s.value)),
|
|
849
849
|
{
|
|
850
850
|
default: Q(() => [
|
|
851
851
|
!D(f).meta.keepAlive && !D(f).meta.isIframe ? (G(), zA("div", nP, [
|
|
@@ -865,9 +865,9 @@ const t3 = (e, A) => {
|
|
|
865
865
|
/* STABLE */
|
|
866
866
|
})) : $("v-if", !0),
|
|
867
867
|
$(" 无动画 "),
|
|
868
|
-
q.needTransition ? $("v-if", !0) : (G(), tA(
|
|
868
|
+
q.needTransition ? $("v-if", !0) : (G(), tA(O, { key: 1 }, {
|
|
869
869
|
default: Q(({ Component: V }) => [
|
|
870
|
-
D(f).meta.keepAlive ? (G(), tA(
|
|
870
|
+
D(f).meta.keepAlive ? (G(), tA($7, {
|
|
871
871
|
key: 0,
|
|
872
872
|
exclude: b.value
|
|
873
873
|
}, [
|
|
@@ -924,21 +924,21 @@ const t3 = (e, A) => {
|
|
|
924
924
|
}), Kb = /* @__PURE__ */ ZA(uP, [["__scopeId", "data-v-cc197012"]]), zP = ["theme", "modelValue", "logoUrl", "config", "innerPagesConfig", "searchConfig", "projectTreeConfig", "userInfoConfig"], Cb = /* @__PURE__ */ aA({
|
|
925
925
|
__name: "das-web-nav",
|
|
926
926
|
setup(e) {
|
|
927
|
-
const { nav: A } = Ve, f = vA(() => A.theme), v = vA(() => A.logo || ""), n = vA(() => A.activeItem || ""), r = vA(() => (A.items || []).filter((
|
|
928
|
-
var
|
|
927
|
+
const { nav: A } = Ve, f = vA(() => A.theme), v = vA(() => A.logo || ""), n = vA(() => A.activeItem || ""), r = vA(() => (A.items || []).filter((x) => x.fixed)), P = vA(() => (A.items || []).filter((x) => !x.fixed)), u = vA(() => {
|
|
928
|
+
var N, x, j, l, R;
|
|
929
929
|
return {
|
|
930
|
-
showAIHelper: ((
|
|
931
|
-
showFullScreen: ((
|
|
930
|
+
showAIHelper: ((N = A.config) == null ? void 0 : N.showAIHelper) ?? !1,
|
|
931
|
+
showFullScreen: ((x = A.config) == null ? void 0 : x.showFullScreen) ?? !1,
|
|
932
932
|
showChangeEnterprise: ((j = A.config) == null ? void 0 : j.showChangeEnterprise) ?? !1,
|
|
933
933
|
showSearch: ((l = A.config) == null ? void 0 : l.showSearch) ?? !0,
|
|
934
|
-
showProjectTree: ((
|
|
934
|
+
showProjectTree: ((R = A.config) == null ? void 0 : R.showProjectTree) ?? !0,
|
|
935
935
|
subAppList: P.value.map((o) => ({ code: o.value, name: o.label, ...o }))
|
|
936
936
|
};
|
|
937
937
|
}), z = vA(() => {
|
|
938
|
-
const
|
|
938
|
+
const N = r.value.find((x) => x.value === A.activeItem);
|
|
939
939
|
return {
|
|
940
|
-
activeInnerPagePath: (
|
|
941
|
-
innerPages: r.value.map((
|
|
940
|
+
activeInnerPagePath: (N == null ? void 0 : N.path) || "",
|
|
941
|
+
innerPages: r.value.map((x) => ({ title: x.label, ...x }))
|
|
942
942
|
};
|
|
943
943
|
}), t = vA(() => ({
|
|
944
944
|
projectStore: {
|
|
@@ -946,29 +946,29 @@ const t3 = (e, A) => {
|
|
|
946
946
|
currentProject: A.activeProject
|
|
947
947
|
},
|
|
948
948
|
...A.projectConfig
|
|
949
|
-
})), d = vA(() => A.userInfo), p = vA(() => A.searchConfig), X = async (
|
|
950
|
-
const
|
|
949
|
+
})), d = vA(() => A.userInfo), p = vA(() => A.searchConfig), X = async (N) => {
|
|
950
|
+
const x = N.detail[0], j = r.value.find((R) => x.value === R.value);
|
|
951
951
|
await dA.nav.triggerEventListener("onItemClick", j) && dA.nav.setActiveItem(j.value);
|
|
952
|
-
}, b = async (
|
|
953
|
-
const
|
|
952
|
+
}, b = async (N) => {
|
|
953
|
+
const x = N.detail[0], j = P.value.find((R) => x === R.value);
|
|
954
954
|
await dA.nav.triggerEventListener("onItemClick", j) && dA.nav.setActiveItem(j.value);
|
|
955
|
-
}, a = async (
|
|
956
|
-
const
|
|
955
|
+
}, a = async (N) => {
|
|
956
|
+
const x = N.detail[0], j = P.value.find((R) => x === R.value);
|
|
957
957
|
await dA.nav.triggerEventListener("onItemRemove", j) && dA.nav.removeItem(j.value);
|
|
958
|
-
}, s = async (
|
|
959
|
-
const [
|
|
960
|
-
!
|
|
961
|
-
}, i = (
|
|
962
|
-
dA.nav.triggerEventListener("onUserCommandChange",
|
|
963
|
-
}, H = (
|
|
964
|
-
dA.nav.triggerEventListener("searchToPage", { item:
|
|
965
|
-
}, c = (
|
|
966
|
-
dA.nav.triggerEventListener("clearSearchList", { cb:
|
|
967
|
-
}, q = (
|
|
968
|
-
dA.nav.triggerEventListener("deleteSearchItem", { value:
|
|
958
|
+
}, s = async (N) => {
|
|
959
|
+
const [x, j] = N.detail;
|
|
960
|
+
!x || !await dA.nav.triggerEventListener("onProjectChange", j) || dA.nav.setActiveProject(j);
|
|
961
|
+
}, i = (N) => {
|
|
962
|
+
dA.nav.triggerEventListener("onUserCommandChange", N.detail[0]);
|
|
963
|
+
}, H = (N) => {
|
|
964
|
+
dA.nav.triggerEventListener("searchToPage", { item: N.detail[0], keyword: N.detail[1], cb: N.detail[2] });
|
|
965
|
+
}, c = (N) => {
|
|
966
|
+
dA.nav.triggerEventListener("clearSearchList", { cb: N.detail[0] });
|
|
967
|
+
}, q = (N) => {
|
|
968
|
+
dA.nav.triggerEventListener("deleteSearchItem", { value: N.detail[0], cb: N.detail[1] });
|
|
969
969
|
}, m = () => {
|
|
970
970
|
dA.nav.triggerEventListener("changeEnterpriseHandle");
|
|
971
|
-
},
|
|
971
|
+
}, O = () => {
|
|
972
972
|
dA.nav.triggerEventListener("fullScreenHandle");
|
|
973
973
|
}, V = () => {
|
|
974
974
|
dA.nav.triggerEventListener("openAI");
|
|
@@ -977,9 +977,9 @@ const t3 = (e, A) => {
|
|
|
977
977
|
dA.nav.triggerEventListener("onBeforeMount", null, { autoRemove: !0 });
|
|
978
978
|
}), ue(() => {
|
|
979
979
|
dA.nav.triggerEventListener("onMounted", null, { autoRemove: !0 });
|
|
980
|
-
}),
|
|
980
|
+
}), Tv(() => {
|
|
981
981
|
dA.nav.triggerEventListener("onUnmounted", null, { autoRemove: !0 });
|
|
982
|
-
}), (
|
|
982
|
+
}), (N, x) => (G(), zA("das-ce-nav", {
|
|
983
983
|
theme: f.value,
|
|
984
984
|
modelValue: n.value,
|
|
985
985
|
logoUrl: v.value,
|
|
@@ -997,7 +997,7 @@ const t3 = (e, A) => {
|
|
|
997
997
|
"on:clearSearchList": c,
|
|
998
998
|
"on:deleteSearchItem": q,
|
|
999
999
|
"on:changeEnterpriseHandle": m,
|
|
1000
|
-
"on:fullScreen":
|
|
1000
|
+
"on:fullScreen": O,
|
|
1001
1001
|
"on:openAI": V
|
|
1002
1002
|
}, null, 40, zP));
|
|
1003
1003
|
}
|
|
@@ -1062,7 +1062,7 @@ const t3 = (e, A) => {
|
|
|
1062
1062
|
"on:toggleFullScreen": p
|
|
1063
1063
|
}), null, 16, XP)) : $("v-if", !0);
|
|
1064
1064
|
}
|
|
1065
|
-
}),
|
|
1065
|
+
}), z3 = T("/das-micro-app"), yA = T([]), E9 = T(!1), L9 = T([]), y9 = T(!0);
|
|
1066
1066
|
let GA = null, UA = null, Be = null;
|
|
1067
1067
|
const cP = (e) => new Promise((A) => {
|
|
1068
1068
|
const f = () => {
|
|
@@ -1251,10 +1251,10 @@ const cP = (e) => new Promise((A) => {
|
|
|
1251
1251
|
uf("layoutVisible", { visible: e });
|
|
1252
1252
|
}
|
|
1253
1253
|
};
|
|
1254
|
-
var
|
|
1255
|
-
const
|
|
1254
|
+
var d3;
|
|
1255
|
+
const p7 = typeof window < "u", HP = (e) => typeof e == "string", pP = () => {
|
|
1256
1256
|
};
|
|
1257
|
-
|
|
1257
|
+
p7 && ((d3 = window == null ? void 0 : window.navigator) != null && d3.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
1258
1258
|
function Kv(e) {
|
|
1259
1259
|
return typeof e == "function" ? e() : D(e);
|
|
1260
1260
|
}
|
|
@@ -1272,7 +1272,7 @@ function _v(e) {
|
|
|
1272
1272
|
const f = Kv(e);
|
|
1273
1273
|
return (A = f == null ? void 0 : f.$el) != null ? A : f;
|
|
1274
1274
|
}
|
|
1275
|
-
const xP =
|
|
1275
|
+
const xP = p7 ? window : void 0, OP = p7 ? window.document : void 0;
|
|
1276
1276
|
function DP(...e) {
|
|
1277
1277
|
let A, f, v, n;
|
|
1278
1278
|
if (HP(e[0]) || Array.isArray(e[0]) ? ([f, v, n] = e, A = xP) : [A, f, v, n] = e, !A)
|
|
@@ -1291,9 +1291,9 @@ function VP(e, A = !1) {
|
|
|
1291
1291
|
const f = T(), v = () => f.value = !!e();
|
|
1292
1292
|
return v(), lP(v, A), f;
|
|
1293
1293
|
}
|
|
1294
|
-
const
|
|
1295
|
-
c3
|
|
1296
|
-
const
|
|
1294
|
+
const X3 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, c3 = "__vueuse_ssr_handlers__";
|
|
1295
|
+
X3[c3] = X3[c3] || {};
|
|
1296
|
+
const b3 = [
|
|
1297
1297
|
[
|
|
1298
1298
|
"requestFullscreen",
|
|
1299
1299
|
"exitFullscreen",
|
|
@@ -1337,10 +1337,10 @@ const a3 = [
|
|
|
1337
1337
|
];
|
|
1338
1338
|
function e9(e, A = {}) {
|
|
1339
1339
|
const { document: f = OP, autoExit: v = !1 } = A, n = e || (f == null ? void 0 : f.querySelector("html")), r = T(!1);
|
|
1340
|
-
let P =
|
|
1340
|
+
let P = b3[0];
|
|
1341
1341
|
const u = VP(() => {
|
|
1342
1342
|
if (f) {
|
|
1343
|
-
for (const s of
|
|
1343
|
+
for (const s of b3)
|
|
1344
1344
|
if (s[1] in f)
|
|
1345
1345
|
return P = s, !0;
|
|
1346
1346
|
} else
|
|
@@ -1370,16 +1370,16 @@ function e9(e, A = {}) {
|
|
|
1370
1370
|
toggle: a
|
|
1371
1371
|
};
|
|
1372
1372
|
}
|
|
1373
|
-
var
|
|
1373
|
+
var a3;
|
|
1374
1374
|
(function(e) {
|
|
1375
1375
|
e.UP = "UP", e.RIGHT = "RIGHT", e.DOWN = "DOWN", e.LEFT = "LEFT", e.NONE = "NONE";
|
|
1376
|
-
})(
|
|
1377
|
-
var NP = Object.defineProperty,
|
|
1376
|
+
})(a3 || (a3 = {}));
|
|
1377
|
+
var NP = Object.defineProperty, i3 = Object.getOwnPropertySymbols, RP = Object.prototype.hasOwnProperty, jP = Object.prototype.propertyIsEnumerable, s3 = (e, A, f) => A in e ? NP(e, A, { enumerable: !0, configurable: !0, writable: !0, value: f }) : e[A] = f, oP = (e, A) => {
|
|
1378
1378
|
for (var f in A)
|
|
1379
|
-
RP.call(A, f) &&
|
|
1380
|
-
if (
|
|
1381
|
-
for (var f of
|
|
1382
|
-
jP.call(A, f) &&
|
|
1379
|
+
RP.call(A, f) && s3(e, f, A[f]);
|
|
1380
|
+
if (i3)
|
|
1381
|
+
for (var f of i3(A))
|
|
1382
|
+
jP.call(A, f) && s3(e, f, A[f]);
|
|
1383
1383
|
return e;
|
|
1384
1384
|
};
|
|
1385
1385
|
const ZP = {
|
|
@@ -1528,17 +1528,17 @@ const TP = ["src", "entry", "name"], LP = /* @__PURE__ */ aA({
|
|
|
1528
1528
|
}, n.value), {
|
|
1529
1529
|
header: Q(() => [
|
|
1530
1530
|
LA(r.$slots, "header", {}, () => [
|
|
1531
|
-
g(D(
|
|
1531
|
+
g(D(Lv))
|
|
1532
1532
|
])
|
|
1533
1533
|
]),
|
|
1534
1534
|
aside: Q(() => [
|
|
1535
1535
|
LA(r.$slots, "aside", {}, () => [
|
|
1536
|
-
g(D(
|
|
1536
|
+
g(D(yv), { menuAttr: r.menuAttr }, null, 8, ["menuAttr"])
|
|
1537
1537
|
])
|
|
1538
1538
|
]),
|
|
1539
1539
|
tab: Q(() => [
|
|
1540
1540
|
LA(r.$slots, "tab", {}, () => [
|
|
1541
|
-
g(D(
|
|
1541
|
+
g(D(wv), { tabsAttr: r.tabsAttr }, null, 8, ["tabsAttr"])
|
|
1542
1542
|
])
|
|
1543
1543
|
]),
|
|
1544
1544
|
default: Q(() => [
|
|
@@ -1559,9 +1559,9 @@ const TP = ["src", "entry", "name"], LP = /* @__PURE__ */ aA({
|
|
|
1559
1559
|
}
|
|
1560
1560
|
}), EP = (e) => ["http://", "https://", "ws://", "wss://", "/"].find((f) => e.startsWith(f)) ? e : `/${e}`, ea = (e, A) => {
|
|
1561
1561
|
if (!(e != null && e.microApps) || !Array.isArray(e.microApps)) return;
|
|
1562
|
-
window.__IN_DAS_MAIN_APP = !0, e != null && e.microAppRouterPrefix && (
|
|
1562
|
+
window.__IN_DAS_MAIN_APP = !0, e != null && e.microAppRouterPrefix && (z3.value = e.microAppRouterPrefix), yA.value = (e.microApps || []).filter((n) => !!n.name).map((n) => ({ ...n, entry: EP(n.entry || n.name) })), A == null || A.addRoute({
|
|
1563
1563
|
name: "das-micro-app",
|
|
1564
|
-
path: `${
|
|
1564
|
+
path: `${z3.value}/:pathMatch(.*)*`,
|
|
1565
1565
|
component: $v,
|
|
1566
1566
|
meta: { isMicroApp: !0, keepAlive: !0 }
|
|
1567
1567
|
}), xA.addEventListenerFromMicroApp("bodyOverlay", (n) => {
|
|
@@ -1670,7 +1670,7 @@ const TP = ["src", "entry", "name"], LP = /* @__PURE__ */ aA({
|
|
|
1670
1670
|
const d = JSON.parse(t.data);
|
|
1671
1671
|
v.value = d == null ? void 0 : d.isClosed, n.value = d == null ? void 0 : d.expireDate, r.value = d == null ? void 0 : d.relativeDate, P.value = d == null ? void 0 : d.curExample;
|
|
1672
1672
|
});
|
|
1673
|
-
return
|
|
1673
|
+
return Tv(() => {
|
|
1674
1674
|
z();
|
|
1675
1675
|
}), (t, d) => v.value ? $("v-if", !0) : (G(), zA("div", gP, [
|
|
1676
1676
|
M("div", MP, [
|
|
@@ -1735,17 +1735,17 @@ const TP = ["src", "entry", "name"], LP = /* @__PURE__ */ aA({
|
|
|
1735
1735
|
}, v.value), {
|
|
1736
1736
|
header: Q(() => [
|
|
1737
1737
|
LA(n.$slots, "header", {}, () => [
|
|
1738
|
-
g(D(
|
|
1738
|
+
g(D(Lv))
|
|
1739
1739
|
])
|
|
1740
1740
|
]),
|
|
1741
1741
|
aside: Q(() => [
|
|
1742
1742
|
LA(n.$slots, "aside", {}, () => [
|
|
1743
|
-
g(D(
|
|
1743
|
+
g(D(yv), { menuAttr: n.menuAttr }, null, 8, ["menuAttr"])
|
|
1744
1744
|
])
|
|
1745
1745
|
]),
|
|
1746
1746
|
tab: Q(() => [
|
|
1747
1747
|
LA(n.$slots, "tab", {}, () => [
|
|
1748
|
-
g(D(
|
|
1748
|
+
g(D(wv), { tabsAttr: n.tabsAttr }, null, 8, ["tabsAttr"])
|
|
1749
1749
|
])
|
|
1750
1750
|
]),
|
|
1751
1751
|
banner: Q(() => [
|
|
@@ -1783,26 +1783,26 @@ const TP = ["src", "entry", "name"], LP = /* @__PURE__ */ aA({
|
|
|
1783
1783
|
const i = !!((H = f.value) != null && H.pageSwith);
|
|
1784
1784
|
P.value = s && i ? [...r.value] : [];
|
|
1785
1785
|
}, X = async () => {
|
|
1786
|
-
var c, q, m,
|
|
1786
|
+
var c, q, m, O, V, N, x;
|
|
1787
1787
|
t.value = !0, await (A == null ? void 0 : A.platformInitNextTick());
|
|
1788
1788
|
const [s, i] = await GP().run();
|
|
1789
1789
|
if (s) return null;
|
|
1790
1790
|
if (f.value = i, !!((c = f.value) != null && c.pageSwith)) {
|
|
1791
1791
|
r.value = [];
|
|
1792
1792
|
const { name: j, phone: l } = await zt();
|
|
1793
|
-
let
|
|
1794
|
-
if ((q = f.value) != null && q.nameSwith && j && (r.value.push(j),
|
|
1793
|
+
let R = "";
|
|
1794
|
+
if ((q = f.value) != null && q.nameSwith && j && (r.value.push(j), R = R + `${j} `), (m = f.value) != null && m.phoneSwith && l) {
|
|
1795
1795
|
const o = l.slice(-4);
|
|
1796
|
-
r.value.push(o),
|
|
1796
|
+
r.value.push(o), R = R + `${o} `;
|
|
1797
1797
|
}
|
|
1798
|
-
if ((
|
|
1798
|
+
if ((O = f.value) != null && O.textSwith && ((V = f.value) != null && V.text)) {
|
|
1799
1799
|
r.value.push(f.value.text);
|
|
1800
1800
|
const o = f.value.text.replaceAll(`
|
|
1801
1801
|
`, "<br/>");
|
|
1802
|
-
|
|
1802
|
+
R = R + `${o}`;
|
|
1803
1803
|
}
|
|
1804
1804
|
r.value.length && (r.value = r.value.join(" ").split(`
|
|
1805
|
-
`)), u.color = (
|
|
1805
|
+
`)), u.color = (N = f.value) != null && N.textColor ? f.value.textColor : "rgba(0,0,0,.15)", u.fontSize = (x = f.value) != null && x.textSize ? parseInt(f.value.textSize) : 16, z(R, u.fontSize);
|
|
1806
1806
|
}
|
|
1807
1807
|
return t.value = !1, i;
|
|
1808
1808
|
};
|
|
@@ -1811,9 +1811,9 @@ const TP = ["src", "entry", "name"], LP = /* @__PURE__ */ aA({
|
|
|
1811
1811
|
return iA(
|
|
1812
1812
|
() => b.currentRoute.value,
|
|
1813
1813
|
(s) => {
|
|
1814
|
-
var q, m,
|
|
1814
|
+
var q, m, O;
|
|
1815
1815
|
const i = !!((q = f.value) != null && q.pageSwith), H = ((m = s.meta) == null ? void 0 : m.showWatermark) ?? !0;
|
|
1816
|
-
let c = ((
|
|
1816
|
+
let c = ((O = s.query) == null ? void 0 : O.showWatermark) ?? !0;
|
|
1817
1817
|
c === "false" && (c = !1), p(i && !!(H && c));
|
|
1818
1818
|
},
|
|
1819
1819
|
{ immediate: !0 }
|
|
@@ -1986,7 +1986,7 @@ const _P = (e = {}) => {
|
|
|
1986
1986
|
} else
|
|
1987
1987
|
Object.assign(A, { [f.key]: f.value });
|
|
1988
1988
|
}), sessionStorage.setItem("subApps", JSON.stringify(A));
|
|
1989
|
-
},
|
|
1989
|
+
}, m7 = () => {
|
|
1990
1990
|
FA([
|
|
1991
1991
|
{ key: "currentSubApp", value: {} },
|
|
1992
1992
|
{ key: "currentSubAppCode", value: "" },
|
|
@@ -2053,7 +2053,7 @@ const _P = (e = {}) => {
|
|
|
2053
2053
|
}, Xu = (e) => {
|
|
2054
2054
|
sessionStorage.setItem("instance", JSON.stringify(e));
|
|
2055
2055
|
}, cu = () => {
|
|
2056
|
-
tu(),
|
|
2056
|
+
tu(), m7(), fn(), uu(), du();
|
|
2057
2057
|
}, bu = (e) => {
|
|
2058
2058
|
const A = JSON.parse(sessionStorage.getItem(e) || "{}");
|
|
2059
2059
|
if (A && JSON.stringify(A) !== "{}" && A != null && A.exitConfirmPages && A.exitConfirmPages.length) {
|
|
@@ -2104,9 +2104,9 @@ const qu = {}, Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2104
2104
|
__proto__: null,
|
|
2105
2105
|
default: qu
|
|
2106
2106
|
}, Symbol.toStringTag, { value: "Module" })), pu = /* @__PURE__ */ iu(Hu);
|
|
2107
|
-
var
|
|
2107
|
+
var q3;
|
|
2108
2108
|
function XA() {
|
|
2109
|
-
return
|
|
2109
|
+
return q3 || (q3 = 1, function(e, A) {
|
|
2110
2110
|
(function(f, v) {
|
|
2111
2111
|
e.exports = v();
|
|
2112
2112
|
})(uA, function() {
|
|
@@ -2267,15 +2267,15 @@ function XA() {
|
|
|
2267
2267
|
* wordArray1.concat(wordArray2);
|
|
2268
2268
|
*/
|
|
2269
2269
|
concat: function(c) {
|
|
2270
|
-
var q = this.words, m = c.words,
|
|
2271
|
-
if (this.clamp(),
|
|
2272
|
-
for (var
|
|
2273
|
-
var
|
|
2274
|
-
q[
|
|
2270
|
+
var q = this.words, m = c.words, O = this.sigBytes, V = c.sigBytes;
|
|
2271
|
+
if (this.clamp(), O % 4)
|
|
2272
|
+
for (var N = 0; N < V; N++) {
|
|
2273
|
+
var x = m[N >>> 2] >>> 24 - N % 4 * 8 & 255;
|
|
2274
|
+
q[O + N >>> 2] |= x << 24 - (O + N) % 4 * 8;
|
|
2275
2275
|
}
|
|
2276
2276
|
else
|
|
2277
2277
|
for (var j = 0; j < V; j += 4)
|
|
2278
|
-
q[
|
|
2278
|
+
q[O + j >>> 2] = m[j >>> 2];
|
|
2279
2279
|
return this.sigBytes += V, this;
|
|
2280
2280
|
},
|
|
2281
2281
|
/**
|
|
@@ -2335,11 +2335,11 @@ function XA() {
|
|
|
2335
2335
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
2336
2336
|
*/
|
|
2337
2337
|
stringify: function(c) {
|
|
2338
|
-
for (var q = c.words, m = c.sigBytes,
|
|
2339
|
-
var
|
|
2340
|
-
|
|
2338
|
+
for (var q = c.words, m = c.sigBytes, O = [], V = 0; V < m; V++) {
|
|
2339
|
+
var N = q[V >>> 2] >>> 24 - V % 4 * 8 & 255;
|
|
2340
|
+
O.push((N >>> 4).toString(16)), O.push((N & 15).toString(16));
|
|
2341
2341
|
}
|
|
2342
|
-
return
|
|
2342
|
+
return O.join("");
|
|
2343
2343
|
},
|
|
2344
2344
|
/**
|
|
2345
2345
|
* Converts a hex string to a word array.
|
|
@@ -2355,8 +2355,8 @@ function XA() {
|
|
|
2355
2355
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
2356
2356
|
*/
|
|
2357
2357
|
parse: function(c) {
|
|
2358
|
-
for (var q = c.length, m = [],
|
|
2359
|
-
m[
|
|
2358
|
+
for (var q = c.length, m = [], O = 0; O < q; O += 2)
|
|
2359
|
+
m[O >>> 3] |= parseInt(c.substr(O, 2), 16) << 24 - O % 8 * 4;
|
|
2360
2360
|
return new p.init(m, q / 2);
|
|
2361
2361
|
}
|
|
2362
2362
|
}, a = X.Latin1 = {
|
|
@@ -2374,11 +2374,11 @@ function XA() {
|
|
|
2374
2374
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
2375
2375
|
*/
|
|
2376
2376
|
stringify: function(c) {
|
|
2377
|
-
for (var q = c.words, m = c.sigBytes,
|
|
2378
|
-
var
|
|
2379
|
-
|
|
2377
|
+
for (var q = c.words, m = c.sigBytes, O = [], V = 0; V < m; V++) {
|
|
2378
|
+
var N = q[V >>> 2] >>> 24 - V % 4 * 8 & 255;
|
|
2379
|
+
O.push(String.fromCharCode(N));
|
|
2380
2380
|
}
|
|
2381
|
-
return
|
|
2381
|
+
return O.join("");
|
|
2382
2382
|
},
|
|
2383
2383
|
/**
|
|
2384
2384
|
* Converts a Latin1 string to a word array.
|
|
@@ -2394,8 +2394,8 @@ function XA() {
|
|
|
2394
2394
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
2395
2395
|
*/
|
|
2396
2396
|
parse: function(c) {
|
|
2397
|
-
for (var q = c.length, m = [],
|
|
2398
|
-
m[
|
|
2397
|
+
for (var q = c.length, m = [], O = 0; O < q; O++)
|
|
2398
|
+
m[O >>> 2] |= (c.charCodeAt(O) & 255) << 24 - O % 4 * 8;
|
|
2399
2399
|
return new p.init(m, q);
|
|
2400
2400
|
}
|
|
2401
2401
|
}, s = X.Utf8 = {
|
|
@@ -2474,15 +2474,15 @@ function XA() {
|
|
|
2474
2474
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
2475
2475
|
*/
|
|
2476
2476
|
_process: function(c) {
|
|
2477
|
-
var q, m = this._data,
|
|
2477
|
+
var q, m = this._data, O = m.words, V = m.sigBytes, N = this.blockSize, x = N * 4, j = V / x;
|
|
2478
2478
|
c ? j = v.ceil(j) : j = v.max((j | 0) - this._minBufferSize, 0);
|
|
2479
|
-
var l = j *
|
|
2479
|
+
var l = j * N, R = v.min(l * 4, V);
|
|
2480
2480
|
if (l) {
|
|
2481
|
-
for (var o = 0; o < l; o +=
|
|
2482
|
-
this._doProcessBlock(
|
|
2483
|
-
q =
|
|
2481
|
+
for (var o = 0; o < l; o += N)
|
|
2482
|
+
this._doProcessBlock(O, o);
|
|
2483
|
+
q = O.splice(0, l), m.sigBytes -= R;
|
|
2484
2484
|
}
|
|
2485
|
-
return new p.init(q,
|
|
2485
|
+
return new p.init(q, R);
|
|
2486
2486
|
},
|
|
2487
2487
|
/**
|
|
2488
2488
|
* Creates a copy of this object.
|
|
@@ -2605,9 +2605,9 @@ function XA() {
|
|
|
2605
2605
|
});
|
|
2606
2606
|
}(df)), df.exports;
|
|
2607
2607
|
}
|
|
2608
|
-
var Xf = { exports: {} },
|
|
2608
|
+
var Xf = { exports: {} }, H3;
|
|
2609
2609
|
function C9() {
|
|
2610
|
-
return
|
|
2610
|
+
return H3 || (H3 = 1, function(e, A) {
|
|
2611
2611
|
(function(f, v) {
|
|
2612
2612
|
e.exports = v(XA());
|
|
2613
2613
|
})(uA, function(f) {
|
|
@@ -2835,9 +2835,9 @@ function C9() {
|
|
|
2835
2835
|
});
|
|
2836
2836
|
}(Xf)), Xf.exports;
|
|
2837
2837
|
}
|
|
2838
|
-
var cf = { exports: {} },
|
|
2838
|
+
var cf = { exports: {} }, p3;
|
|
2839
2839
|
function mu() {
|
|
2840
|
-
return
|
|
2840
|
+
return p3 || (p3 = 1, function(e, A) {
|
|
2841
2841
|
(function(f, v) {
|
|
2842
2842
|
e.exports = v(XA());
|
|
2843
2843
|
})(uA, function(f) {
|
|
@@ -2857,9 +2857,9 @@ function mu() {
|
|
|
2857
2857
|
});
|
|
2858
2858
|
}(cf)), cf.exports;
|
|
2859
2859
|
}
|
|
2860
|
-
var bf = { exports: {} },
|
|
2860
|
+
var bf = { exports: {} }, m3;
|
|
2861
2861
|
function lu() {
|
|
2862
|
-
return
|
|
2862
|
+
return m3 || (m3 = 1, function(e, A) {
|
|
2863
2863
|
(function(f, v) {
|
|
2864
2864
|
e.exports = v(XA());
|
|
2865
2865
|
})(uA, function(f) {
|
|
@@ -2951,9 +2951,9 @@ function lu() {
|
|
|
2951
2951
|
});
|
|
2952
2952
|
}(bf)), bf.exports;
|
|
2953
2953
|
}
|
|
2954
|
-
var af = { exports: {} },
|
|
2954
|
+
var af = { exports: {} }, l3;
|
|
2955
2955
|
function Le() {
|
|
2956
|
-
return
|
|
2956
|
+
return l3 || (l3 = 1, function(e, A) {
|
|
2957
2957
|
(function(f, v) {
|
|
2958
2958
|
e.exports = v(XA());
|
|
2959
2959
|
})(uA, function(f) {
|
|
@@ -3026,9 +3026,9 @@ function Le() {
|
|
|
3026
3026
|
});
|
|
3027
3027
|
}(af)), af.exports;
|
|
3028
3028
|
}
|
|
3029
|
-
var sf = { exports: {} },
|
|
3029
|
+
var sf = { exports: {} }, x3;
|
|
3030
3030
|
function xu() {
|
|
3031
|
-
return
|
|
3031
|
+
return x3 || (x3 = 1, function(e, A) {
|
|
3032
3032
|
(function(f, v) {
|
|
3033
3033
|
e.exports = v(XA());
|
|
3034
3034
|
})(uA, function(f) {
|
|
@@ -3108,9 +3108,9 @@ function xu() {
|
|
|
3108
3108
|
});
|
|
3109
3109
|
}(sf)), sf.exports;
|
|
3110
3110
|
}
|
|
3111
|
-
var qf = { exports: {} },
|
|
3111
|
+
var qf = { exports: {} }, O3;
|
|
3112
3112
|
function ye() {
|
|
3113
|
-
return
|
|
3113
|
+
return O3 || (O3 = 1, function(e, A) {
|
|
3114
3114
|
(function(f, v) {
|
|
3115
3115
|
e.exports = v(XA());
|
|
3116
3116
|
})(uA, function(f) {
|
|
@@ -3134,39 +3134,39 @@ function ye() {
|
|
|
3134
3134
|
var c = i + H, q = s[c];
|
|
3135
3135
|
s[c] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360;
|
|
3136
3136
|
}
|
|
3137
|
-
var m = this._hash.words,
|
|
3138
|
-
L = p(L, w, I, W,
|
|
3137
|
+
var m = this._hash.words, O = s[i + 0], V = s[i + 1], N = s[i + 2], x = s[i + 3], j = s[i + 4], l = s[i + 5], R = s[i + 6], o = s[i + 7], Z = s[i + 8], J = s[i + 9], S = s[i + 10], h = s[i + 11], F = s[i + 12], Y = s[i + 13], U = s[i + 14], eA = s[i + 15], L = m[0], w = m[1], I = m[2], W = m[3];
|
|
3138
|
+
L = p(L, w, I, W, O, 7, t[0]), W = p(W, L, w, I, V, 12, t[1]), I = p(I, W, L, w, N, 17, t[2]), w = p(w, I, W, L, x, 22, t[3]), L = p(L, w, I, W, j, 7, t[4]), W = p(W, L, w, I, l, 12, t[5]), I = p(I, W, L, w, R, 17, t[6]), w = p(w, I, W, L, o, 22, t[7]), L = p(L, w, I, W, Z, 7, t[8]), W = p(W, L, w, I, J, 12, t[9]), I = p(I, W, L, w, S, 17, t[10]), w = p(w, I, W, L, h, 22, t[11]), L = p(L, w, I, W, F, 7, t[12]), W = p(W, L, w, I, Y, 12, t[13]), I = p(I, W, L, w, U, 17, t[14]), w = p(w, I, W, L, eA, 22, t[15]), L = X(L, w, I, W, V, 5, t[16]), W = X(W, L, w, I, R, 9, t[17]), I = X(I, W, L, w, h, 14, t[18]), w = X(w, I, W, L, O, 20, t[19]), L = X(L, w, I, W, l, 5, t[20]), W = X(W, L, w, I, S, 9, t[21]), I = X(I, W, L, w, eA, 14, t[22]), w = X(w, I, W, L, j, 20, t[23]), L = X(L, w, I, W, J, 5, t[24]), W = X(W, L, w, I, U, 9, t[25]), I = X(I, W, L, w, x, 14, t[26]), w = X(w, I, W, L, Z, 20, t[27]), L = X(L, w, I, W, Y, 5, t[28]), W = X(W, L, w, I, N, 9, t[29]), I = X(I, W, L, w, o, 14, t[30]), w = X(w, I, W, L, F, 20, t[31]), L = b(L, w, I, W, l, 4, t[32]), W = b(W, L, w, I, Z, 11, t[33]), I = b(I, W, L, w, h, 16, t[34]), w = b(w, I, W, L, U, 23, t[35]), L = b(L, w, I, W, V, 4, t[36]), W = b(W, L, w, I, j, 11, t[37]), I = b(I, W, L, w, o, 16, t[38]), w = b(w, I, W, L, S, 23, t[39]), L = b(L, w, I, W, Y, 4, t[40]), W = b(W, L, w, I, O, 11, t[41]), I = b(I, W, L, w, x, 16, t[42]), w = b(w, I, W, L, R, 23, t[43]), L = b(L, w, I, W, J, 4, t[44]), W = b(W, L, w, I, F, 11, t[45]), I = b(I, W, L, w, eA, 16, t[46]), w = b(w, I, W, L, N, 23, t[47]), L = a(L, w, I, W, O, 6, t[48]), W = a(W, L, w, I, o, 10, t[49]), I = a(I, W, L, w, U, 15, t[50]), w = a(w, I, W, L, l, 21, t[51]), L = a(L, w, I, W, F, 6, t[52]), W = a(W, L, w, I, x, 10, t[53]), I = a(I, W, L, w, S, 15, t[54]), w = a(w, I, W, L, V, 21, t[55]), L = a(L, w, I, W, Z, 6, t[56]), W = a(W, L, w, I, eA, 10, t[57]), I = a(I, W, L, w, R, 15, t[58]), w = a(w, I, W, L, Y, 21, t[59]), L = a(L, w, I, W, j, 6, t[60]), W = a(W, L, w, I, h, 10, t[61]), I = a(I, W, L, w, N, 15, t[62]), w = a(w, I, W, L, J, 21, t[63]), m[0] = m[0] + L | 0, m[1] = m[1] + w | 0, m[2] = m[2] + I | 0, m[3] = m[3] + W | 0;
|
|
3139
3139
|
},
|
|
3140
3140
|
_doFinalize: function() {
|
|
3141
3141
|
var s = this._data, i = s.words, H = this._nDataBytes * 8, c = s.sigBytes * 8;
|
|
3142
3142
|
i[c >>> 5] |= 128 << 24 - c % 32;
|
|
3143
3143
|
var q = v.floor(H / 4294967296), m = H;
|
|
3144
3144
|
i[(c + 64 >>> 9 << 4) + 15] = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, i[(c + 64 >>> 9 << 4) + 14] = (m << 8 | m >>> 24) & 16711935 | (m << 24 | m >>> 8) & 4278255360, s.sigBytes = (i.length + 1) * 4, this._process();
|
|
3145
|
-
for (var
|
|
3146
|
-
var
|
|
3147
|
-
V[
|
|
3145
|
+
for (var O = this._hash, V = O.words, N = 0; N < 4; N++) {
|
|
3146
|
+
var x = V[N];
|
|
3147
|
+
V[N] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
|
|
3148
3148
|
}
|
|
3149
|
-
return
|
|
3149
|
+
return O;
|
|
3150
3150
|
},
|
|
3151
3151
|
clone: function() {
|
|
3152
3152
|
var s = u.clone.call(this);
|
|
3153
3153
|
return s._hash = this._hash.clone(), s;
|
|
3154
3154
|
}
|
|
3155
3155
|
});
|
|
3156
|
-
function p(s, i, H, c, q, m,
|
|
3157
|
-
var V = s + (i & H | ~i & c) + q +
|
|
3156
|
+
function p(s, i, H, c, q, m, O) {
|
|
3157
|
+
var V = s + (i & H | ~i & c) + q + O;
|
|
3158
3158
|
return (V << m | V >>> 32 - m) + i;
|
|
3159
3159
|
}
|
|
3160
|
-
function X(s, i, H, c, q, m,
|
|
3161
|
-
var V = s + (i & c | H & ~c) + q +
|
|
3160
|
+
function X(s, i, H, c, q, m, O) {
|
|
3161
|
+
var V = s + (i & c | H & ~c) + q + O;
|
|
3162
3162
|
return (V << m | V >>> 32 - m) + i;
|
|
3163
3163
|
}
|
|
3164
|
-
function b(s, i, H, c, q, m,
|
|
3165
|
-
var V = s + (i ^ H ^ c) + q +
|
|
3164
|
+
function b(s, i, H, c, q, m, O) {
|
|
3165
|
+
var V = s + (i ^ H ^ c) + q + O;
|
|
3166
3166
|
return (V << m | V >>> 32 - m) + i;
|
|
3167
3167
|
}
|
|
3168
|
-
function a(s, i, H, c, q, m,
|
|
3169
|
-
var V = s + (H ^ (i | ~c)) + q +
|
|
3168
|
+
function a(s, i, H, c, q, m, O) {
|
|
3169
|
+
var V = s + (H ^ (i | ~c)) + q + O;
|
|
3170
3170
|
return (V << m | V >>> 32 - m) + i;
|
|
3171
3171
|
}
|
|
3172
3172
|
n.MD5 = u._createHelper(d), n.HmacMD5 = u._createHmacHelper(d);
|
|
@@ -3174,9 +3174,9 @@ function ye() {
|
|
|
3174
3174
|
});
|
|
3175
3175
|
}(qf)), qf.exports;
|
|
3176
3176
|
}
|
|
3177
|
-
var Hf = { exports: {} },
|
|
3177
|
+
var Hf = { exports: {} }, D3;
|
|
3178
3178
|
function rn() {
|
|
3179
|
-
return
|
|
3179
|
+
return D3 || (D3 = 1, function(e, A) {
|
|
3180
3180
|
(function(f, v) {
|
|
3181
3181
|
e.exports = v(XA());
|
|
3182
3182
|
})(uA, function(f) {
|
|
@@ -3218,9 +3218,9 @@ function rn() {
|
|
|
3218
3218
|
});
|
|
3219
3219
|
}(Hf)), Hf.exports;
|
|
3220
3220
|
}
|
|
3221
|
-
var pf = { exports: {} },
|
|
3222
|
-
function
|
|
3223
|
-
return
|
|
3221
|
+
var pf = { exports: {} }, V3;
|
|
3222
|
+
function l7() {
|
|
3223
|
+
return V3 || (V3 = 1, function(e, A) {
|
|
3224
3224
|
(function(f, v) {
|
|
3225
3225
|
e.exports = v(XA());
|
|
3226
3226
|
})(uA, function(f) {
|
|
@@ -3244,17 +3244,17 @@ function x7() {
|
|
|
3244
3244
|
this._hash = new P.init(t.slice(0));
|
|
3245
3245
|
},
|
|
3246
3246
|
_doProcessBlock: function(b, a) {
|
|
3247
|
-
for (var s = this._hash.words, i = s[0], H = s[1], c = s[2], q = s[3], m = s[4],
|
|
3248
|
-
if (
|
|
3249
|
-
p[
|
|
3247
|
+
for (var s = this._hash.words, i = s[0], H = s[1], c = s[2], q = s[3], m = s[4], O = s[5], V = s[6], N = s[7], x = 0; x < 64; x++) {
|
|
3248
|
+
if (x < 16)
|
|
3249
|
+
p[x] = b[a + x] | 0;
|
|
3250
3250
|
else {
|
|
3251
|
-
var j = p[
|
|
3252
|
-
p[
|
|
3251
|
+
var j = p[x - 15], l = (j << 25 | j >>> 7) ^ (j << 14 | j >>> 18) ^ j >>> 3, R = p[x - 2], o = (R << 15 | R >>> 17) ^ (R << 13 | R >>> 19) ^ R >>> 10;
|
|
3252
|
+
p[x] = l + p[x - 7] + o + p[x - 16];
|
|
3253
3253
|
}
|
|
3254
|
-
var Z = m &
|
|
3255
|
-
|
|
3254
|
+
var Z = m & O ^ ~m & V, J = i & H ^ i & c ^ H & c, S = (i << 30 | i >>> 2) ^ (i << 19 | i >>> 13) ^ (i << 10 | i >>> 22), h = (m << 26 | m >>> 6) ^ (m << 21 | m >>> 11) ^ (m << 7 | m >>> 25), F = N + h + Z + d[x] + p[x], Y = S + J;
|
|
3255
|
+
N = V, V = O, O = m, m = q + F | 0, q = c, c = H, H = i, i = F + Y | 0;
|
|
3256
3256
|
}
|
|
3257
|
-
s[0] = s[0] + i | 0, s[1] = s[1] + H | 0, s[2] = s[2] + c | 0, s[3] = s[3] + q | 0, s[4] = s[4] + m | 0, s[5] = s[5] +
|
|
3257
|
+
s[0] = s[0] + i | 0, s[1] = s[1] + H | 0, s[2] = s[2] + c | 0, s[3] = s[3] + q | 0, s[4] = s[4] + m | 0, s[5] = s[5] + O | 0, s[6] = s[6] + V | 0, s[7] = s[7] + N | 0;
|
|
3258
3258
|
},
|
|
3259
3259
|
_doFinalize: function() {
|
|
3260
3260
|
var b = this._data, a = b.words, s = this._nDataBytes * 8, i = b.sigBytes * 8;
|
|
@@ -3270,11 +3270,11 @@ function x7() {
|
|
|
3270
3270
|
});
|
|
3271
3271
|
}(pf)), pf.exports;
|
|
3272
3272
|
}
|
|
3273
|
-
var mf = { exports: {} },
|
|
3273
|
+
var mf = { exports: {} }, N3;
|
|
3274
3274
|
function Ou() {
|
|
3275
|
-
return
|
|
3275
|
+
return N3 || (N3 = 1, function(e, A) {
|
|
3276
3276
|
(function(f, v, n) {
|
|
3277
|
-
e.exports = v(XA(),
|
|
3277
|
+
e.exports = v(XA(), l7());
|
|
3278
3278
|
})(uA, function(f) {
|
|
3279
3279
|
return function() {
|
|
3280
3280
|
var v = f, n = v.lib, r = n.WordArray, P = v.algo, u = P.SHA256, z = P.SHA224 = u.extend({
|
|
@@ -3300,9 +3300,9 @@ function Ou() {
|
|
|
3300
3300
|
});
|
|
3301
3301
|
}(mf)), mf.exports;
|
|
3302
3302
|
}
|
|
3303
|
-
var lf = { exports: {} },
|
|
3303
|
+
var lf = { exports: {} }, R3;
|
|
3304
3304
|
function tn() {
|
|
3305
|
-
return
|
|
3305
|
+
return R3 || (R3 = 1, function(e, A) {
|
|
3306
3306
|
(function(f, v, n) {
|
|
3307
3307
|
e.exports = v(XA(), C9());
|
|
3308
3308
|
})(uA, function(f) {
|
|
@@ -3411,18 +3411,18 @@ function tn() {
|
|
|
3411
3411
|
]);
|
|
3412
3412
|
},
|
|
3413
3413
|
_doProcessBlock: function(a, s) {
|
|
3414
|
-
for (var i = this._hash.words, H = i[0], c = i[1], q = i[2], m = i[3],
|
|
3414
|
+
for (var i = this._hash.words, H = i[0], c = i[1], q = i[2], m = i[3], O = i[4], V = i[5], N = i[6], x = i[7], j = H.high, l = H.low, R = c.high, o = c.low, Z = q.high, J = q.low, S = m.high, h = m.low, F = O.high, Y = O.low, U = V.high, eA = V.low, L = N.high, w = N.low, I = x.high, W = x.low, sA = j, bA = l, jA = R, _ = o, AA = Z, nA = J, Oe = S, K = h, E = F, k = Y, MA = U, ze = eA, Z9 = L, n9 = w, rf = I, r9 = W, ve = 0; ve < 80; ve++) {
|
|
3415
3415
|
var ee, qe, T9 = X[ve];
|
|
3416
3416
|
if (ve < 16)
|
|
3417
3417
|
qe = T9.high = a[s + ve * 2] | 0, ee = T9.low = a[s + ve * 2 + 1] | 0;
|
|
3418
3418
|
else {
|
|
3419
|
-
var
|
|
3420
|
-
ee =
|
|
3419
|
+
var M7 = X[ve - 15], Ie = M7.high, t9 = M7.low, vr = (Ie >>> 1 | t9 << 31) ^ (Ie >>> 8 | t9 << 24) ^ Ie >>> 7, B7 = (t9 >>> 1 | Ie << 31) ^ (t9 >>> 8 | Ie << 24) ^ (t9 >>> 7 | Ie << 25), k7 = X[ve - 2], ge = k7.high, P9 = k7.low, nr = (ge >>> 19 | P9 << 13) ^ (ge << 3 | P9 >>> 29) ^ ge >>> 6, Q7 = (P9 >>> 19 | ge << 13) ^ (P9 << 3 | ge >>> 29) ^ (P9 >>> 6 | ge << 26), Y7 = X[ve - 7], rr = Y7.high, tr = Y7.low, G7 = X[ve - 16], Pr = G7.high, U7 = G7.low;
|
|
3420
|
+
ee = B7 + tr, qe = vr + rr + (ee >>> 0 < B7 >>> 0 ? 1 : 0), ee = ee + Q7, qe = qe + nr + (ee >>> 0 < Q7 >>> 0 ? 1 : 0), ee = ee + U7, qe = qe + Pr + (ee >>> 0 < U7 >>> 0 ? 1 : 0), T9.high = qe, T9.low = ee;
|
|
3421
3421
|
}
|
|
3422
|
-
var ur = E & MA ^ ~E & Z9,
|
|
3423
|
-
rf = Z9, r9 = n9, Z9 = MA, n9 = ze, MA = E, ze = k, k = K + SA | 0, E = Oe + He + (k >>> 0 < K >>> 0 ? 1 : 0) | 0, Oe = AA, K = nA, AA = jA, nA = _, jA = sA, _ = bA, bA = SA +
|
|
3422
|
+
var ur = E & MA ^ ~E & Z9, J7 = k & ze ^ ~k & n9, zr = sA & jA ^ sA & AA ^ jA & AA, dr = bA & _ ^ bA & nA ^ _ & nA, Xr = (sA >>> 28 | bA << 4) ^ (sA << 30 | bA >>> 2) ^ (sA << 25 | bA >>> 7), h7 = (bA >>> 28 | sA << 4) ^ (bA << 30 | sA >>> 2) ^ (bA << 25 | sA >>> 7), cr = (E >>> 14 | k << 18) ^ (E >>> 18 | k << 14) ^ (E << 23 | k >>> 9), br = (k >>> 14 | E << 18) ^ (k >>> 18 | E << 14) ^ (k << 23 | E >>> 9), F7 = p[ve], ar = F7.high, S7 = F7.low, SA = r9 + br, He = rf + cr + (SA >>> 0 < r9 >>> 0 ? 1 : 0), SA = SA + J7, He = He + ur + (SA >>> 0 < J7 >>> 0 ? 1 : 0), SA = SA + S7, He = He + ar + (SA >>> 0 < S7 >>> 0 ? 1 : 0), SA = SA + ee, He = He + qe + (SA >>> 0 < ee >>> 0 ? 1 : 0), K7 = h7 + dr, ir = Xr + zr + (K7 >>> 0 < h7 >>> 0 ? 1 : 0);
|
|
3423
|
+
rf = Z9, r9 = n9, Z9 = MA, n9 = ze, MA = E, ze = k, k = K + SA | 0, E = Oe + He + (k >>> 0 < K >>> 0 ? 1 : 0) | 0, Oe = AA, K = nA, AA = jA, nA = _, jA = sA, _ = bA, bA = SA + K7 | 0, sA = He + ir + (bA >>> 0 < SA >>> 0 ? 1 : 0) | 0;
|
|
3424
3424
|
}
|
|
3425
|
-
l = H.low = l + bA, H.high = j + sA + (l >>> 0 < bA >>> 0 ? 1 : 0), o = c.low = o + _, c.high =
|
|
3425
|
+
l = H.low = l + bA, H.high = j + sA + (l >>> 0 < bA >>> 0 ? 1 : 0), o = c.low = o + _, c.high = R + jA + (o >>> 0 < _ >>> 0 ? 1 : 0), J = q.low = J + nA, q.high = Z + AA + (J >>> 0 < nA >>> 0 ? 1 : 0), h = m.low = h + K, m.high = S + Oe + (h >>> 0 < K >>> 0 ? 1 : 0), Y = O.low = Y + k, O.high = F + E + (Y >>> 0 < k >>> 0 ? 1 : 0), eA = V.low = eA + ze, V.high = U + MA + (eA >>> 0 < ze >>> 0 ? 1 : 0), w = N.low = w + n9, N.high = L + Z9 + (w >>> 0 < n9 >>> 0 ? 1 : 0), W = x.low = W + r9, x.high = I + rf + (W >>> 0 < r9 >>> 0 ? 1 : 0);
|
|
3426
3426
|
},
|
|
3427
3427
|
_doFinalize: function() {
|
|
3428
3428
|
var a = this._data, s = a.words, i = this._nDataBytes * 8, H = a.sigBytes * 8;
|
|
@@ -3441,9 +3441,9 @@ function tn() {
|
|
|
3441
3441
|
});
|
|
3442
3442
|
}(lf)), lf.exports;
|
|
3443
3443
|
}
|
|
3444
|
-
var xf = { exports: {} },
|
|
3444
|
+
var xf = { exports: {} }, j3;
|
|
3445
3445
|
function Du() {
|
|
3446
|
-
return
|
|
3446
|
+
return j3 || (j3 = 1, function(e, A) {
|
|
3447
3447
|
(function(f, v, n) {
|
|
3448
3448
|
e.exports = v(XA(), C9(), tn());
|
|
3449
3449
|
})(uA, function(f) {
|
|
@@ -3471,9 +3471,9 @@ function Du() {
|
|
|
3471
3471
|
});
|
|
3472
3472
|
}(xf)), xf.exports;
|
|
3473
3473
|
}
|
|
3474
|
-
var Of = { exports: {} },
|
|
3474
|
+
var Of = { exports: {} }, o3;
|
|
3475
3475
|
function Vu() {
|
|
3476
|
-
return
|
|
3476
|
+
return o3 || (o3 = 1, function(e, A) {
|
|
3477
3477
|
(function(f, v, n) {
|
|
3478
3478
|
e.exports = v(XA(), C9());
|
|
3479
3479
|
})(uA, function(f) {
|
|
@@ -3488,15 +3488,15 @@ function Vu() {
|
|
|
3488
3488
|
for (var i = 0; i < 5; i++)
|
|
3489
3489
|
for (var H = 0; H < 5; H++)
|
|
3490
3490
|
X[i + 5 * H] = H + (2 * i + 3 * H) % 5 * 5;
|
|
3491
|
-
for (var
|
|
3492
|
-
for (var
|
|
3493
|
-
if (
|
|
3491
|
+
for (var O = 1, V = 0; V < 24; V++) {
|
|
3492
|
+
for (var N = 0, x = 0, j = 0; j < 7; j++) {
|
|
3493
|
+
if (O & 1) {
|
|
3494
3494
|
var l = (1 << j) - 1;
|
|
3495
|
-
l < 32 ?
|
|
3495
|
+
l < 32 ? x ^= 1 << l : N ^= 1 << l - 32;
|
|
3496
3496
|
}
|
|
3497
|
-
|
|
3497
|
+
O & 128 ? O = O << 1 ^ 113 : O <<= 1;
|
|
3498
3498
|
}
|
|
3499
|
-
b[V] = t.create(
|
|
3499
|
+
b[V] = t.create(N, x);
|
|
3500
3500
|
}
|
|
3501
3501
|
})();
|
|
3502
3502
|
var a = [];
|
|
@@ -3523,40 +3523,40 @@ function Vu() {
|
|
|
3523
3523
|
},
|
|
3524
3524
|
_doProcessBlock: function(i, H) {
|
|
3525
3525
|
for (var c = this._state, q = this.blockSize / 2, m = 0; m < q; m++) {
|
|
3526
|
-
var
|
|
3527
|
-
|
|
3528
|
-
var
|
|
3529
|
-
|
|
3526
|
+
var O = i[H + 2 * m], V = i[H + 2 * m + 1];
|
|
3527
|
+
O = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360, V = (V << 8 | V >>> 24) & 16711935 | (V << 24 | V >>> 8) & 4278255360;
|
|
3528
|
+
var N = c[m];
|
|
3529
|
+
N.high ^= V, N.low ^= O;
|
|
3530
3530
|
}
|
|
3531
|
-
for (var
|
|
3531
|
+
for (var x = 0; x < 24; x++) {
|
|
3532
3532
|
for (var j = 0; j < 5; j++) {
|
|
3533
|
-
for (var l = 0,
|
|
3534
|
-
var
|
|
3535
|
-
l ^=
|
|
3533
|
+
for (var l = 0, R = 0, o = 0; o < 5; o++) {
|
|
3534
|
+
var N = c[j + 5 * o];
|
|
3535
|
+
l ^= N.high, R ^= N.low;
|
|
3536
3536
|
}
|
|
3537
3537
|
var Z = a[j];
|
|
3538
|
-
Z.high = l, Z.low =
|
|
3538
|
+
Z.high = l, Z.low = R;
|
|
3539
3539
|
}
|
|
3540
3540
|
for (var j = 0; j < 5; j++)
|
|
3541
|
-
for (var J = a[(j + 4) % 5], S = a[(j + 1) % 5], h = S.high, F = S.low, l = J.high ^ (h << 1 | F >>> 31),
|
|
3542
|
-
var
|
|
3543
|
-
|
|
3541
|
+
for (var J = a[(j + 4) % 5], S = a[(j + 1) % 5], h = S.high, F = S.low, l = J.high ^ (h << 1 | F >>> 31), R = J.low ^ (F << 1 | h >>> 31), o = 0; o < 5; o++) {
|
|
3542
|
+
var N = c[j + 5 * o];
|
|
3543
|
+
N.high ^= l, N.low ^= R;
|
|
3544
3544
|
}
|
|
3545
3545
|
for (var Y = 1; Y < 25; Y++) {
|
|
3546
|
-
var l,
|
|
3547
|
-
L < 32 ? (l = U << L | eA >>> 32 - L,
|
|
3546
|
+
var l, R, N = c[Y], U = N.high, eA = N.low, L = p[Y];
|
|
3547
|
+
L < 32 ? (l = U << L | eA >>> 32 - L, R = eA << L | U >>> 32 - L) : (l = eA << L - 32 | U >>> 64 - L, R = U << L - 32 | eA >>> 64 - L);
|
|
3548
3548
|
var w = a[X[Y]];
|
|
3549
|
-
w.high = l, w.low =
|
|
3549
|
+
w.high = l, w.low = R;
|
|
3550
3550
|
}
|
|
3551
3551
|
var I = a[0], W = c[0];
|
|
3552
3552
|
I.high = W.high, I.low = W.low;
|
|
3553
3553
|
for (var j = 0; j < 5; j++)
|
|
3554
3554
|
for (var o = 0; o < 5; o++) {
|
|
3555
|
-
var Y = j + 5 * o,
|
|
3556
|
-
|
|
3555
|
+
var Y = j + 5 * o, N = c[Y], sA = a[Y], bA = a[(j + 1) % 5 + 5 * o], jA = a[(j + 2) % 5 + 5 * o];
|
|
3556
|
+
N.high = sA.high ^ ~bA.high & jA.high, N.low = sA.low ^ ~bA.low & jA.low;
|
|
3557
3557
|
}
|
|
3558
|
-
var
|
|
3559
|
-
|
|
3558
|
+
var N = c[0], _ = b[x];
|
|
3559
|
+
N.high ^= _.high, N.low ^= _.low;
|
|
3560
3560
|
}
|
|
3561
3561
|
},
|
|
3562
3562
|
_doFinalize: function() {
|
|
@@ -3564,11 +3564,11 @@ function Vu() {
|
|
|
3564
3564
|
this._nDataBytes * 8;
|
|
3565
3565
|
var c = i.sigBytes * 8, q = this.blockSize * 32;
|
|
3566
3566
|
H[c >>> 5] |= 1 << 24 - c % 32, H[(v.ceil((c + 1) / q) * q >>> 5) - 1] |= 128, i.sigBytes = H.length * 4, this._process();
|
|
3567
|
-
for (var m = this._state,
|
|
3568
|
-
var j = m[
|
|
3569
|
-
l = (l << 8 | l >>> 24) & 16711935 | (l << 24 | l >>> 8) & 4278255360,
|
|
3567
|
+
for (var m = this._state, O = this.cfg.outputLength / 8, V = O / 8, N = [], x = 0; x < V; x++) {
|
|
3568
|
+
var j = m[x], l = j.high, R = j.low;
|
|
3569
|
+
l = (l << 8 | l >>> 24) & 16711935 | (l << 24 | l >>> 8) & 4278255360, R = (R << 8 | R >>> 24) & 16711935 | (R << 24 | R >>> 8) & 4278255360, N.push(R), N.push(l);
|
|
3570
3570
|
}
|
|
3571
|
-
return new P.init(
|
|
3571
|
+
return new P.init(N, O);
|
|
3572
3572
|
},
|
|
3573
3573
|
clone: function() {
|
|
3574
3574
|
for (var i = u.clone.call(this), H = i._state = this._state.slice(0), c = 0; c < 25; c++)
|
|
@@ -3581,9 +3581,9 @@ function Vu() {
|
|
|
3581
3581
|
});
|
|
3582
3582
|
}(Of)), Of.exports;
|
|
3583
3583
|
}
|
|
3584
|
-
var Df = { exports: {} },
|
|
3584
|
+
var Df = { exports: {} }, Z3;
|
|
3585
3585
|
function Nu() {
|
|
3586
|
-
return
|
|
3586
|
+
return Z3 || (Z3 = 1, function(e, A) {
|
|
3587
3587
|
(function(f, v) {
|
|
3588
3588
|
e.exports = v(XA());
|
|
3589
3589
|
})(uA, function(f) {
|
|
@@ -3926,23 +3926,23 @@ function Nu() {
|
|
|
3926
3926
|
_doReset: function() {
|
|
3927
3927
|
this._hash = P.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
3928
3928
|
},
|
|
3929
|
-
_doProcessBlock: function(V,
|
|
3930
|
-
for (var
|
|
3931
|
-
var j =
|
|
3929
|
+
_doProcessBlock: function(V, N) {
|
|
3930
|
+
for (var x = 0; x < 16; x++) {
|
|
3931
|
+
var j = N + x, l = V[j];
|
|
3932
3932
|
V[j] = (l << 8 | l >>> 24) & 16711935 | (l << 24 | l >>> 8) & 4278255360;
|
|
3933
3933
|
}
|
|
3934
|
-
var
|
|
3935
|
-
I = Y =
|
|
3936
|
-
for (var _,
|
|
3937
|
-
_ = Y + V[
|
|
3938
|
-
_ =
|
|
3934
|
+
var R = this._hash.words, o = b.words, Z = a.words, J = t.words, S = d.words, h = p.words, F = X.words, Y, U, eA, L, w, I, W, sA, bA, jA;
|
|
3935
|
+
I = Y = R[0], W = U = R[1], sA = eA = R[2], bA = L = R[3], jA = w = R[4];
|
|
3936
|
+
for (var _, x = 0; x < 80; x += 1)
|
|
3937
|
+
_ = Y + V[N + J[x]] | 0, x < 16 ? _ += i(U, eA, L) + o[0] : x < 32 ? _ += H(U, eA, L) + o[1] : x < 48 ? _ += c(U, eA, L) + o[2] : x < 64 ? _ += q(U, eA, L) + o[3] : _ += m(U, eA, L) + o[4], _ = _ | 0, _ = O(_, h[x]), _ = _ + w | 0, Y = w, w = L, L = O(eA, 10), eA = U, U = _, _ = I + V[N + S[x]] | 0, x < 16 ? _ += m(W, sA, bA) + Z[0] : x < 32 ? _ += q(W, sA, bA) + Z[1] : x < 48 ? _ += c(W, sA, bA) + Z[2] : x < 64 ? _ += H(W, sA, bA) + Z[3] : _ += i(W, sA, bA) + Z[4], _ = _ | 0, _ = O(_, F[x]), _ = _ + jA | 0, I = jA, jA = bA, bA = O(sA, 10), sA = W, W = _;
|
|
3938
|
+
_ = R[1] + eA + bA | 0, R[1] = R[2] + L + jA | 0, R[2] = R[3] + w + I | 0, R[3] = R[4] + Y + W | 0, R[4] = R[0] + U + sA | 0, R[0] = _;
|
|
3939
3939
|
},
|
|
3940
3940
|
_doFinalize: function() {
|
|
3941
|
-
var V = this._data,
|
|
3942
|
-
|
|
3943
|
-
for (var l = this._hash,
|
|
3944
|
-
var Z =
|
|
3945
|
-
|
|
3941
|
+
var V = this._data, N = V.words, x = this._nDataBytes * 8, j = V.sigBytes * 8;
|
|
3942
|
+
N[j >>> 5] |= 128 << 24 - j % 32, N[(j + 64 >>> 9 << 4) + 14] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, V.sigBytes = (N.length + 1) * 4, this._process();
|
|
3943
|
+
for (var l = this._hash, R = l.words, o = 0; o < 5; o++) {
|
|
3944
|
+
var Z = R[o];
|
|
3945
|
+
R[o] = (Z << 8 | Z >>> 24) & 16711935 | (Z << 24 | Z >>> 8) & 4278255360;
|
|
3946
3946
|
}
|
|
3947
3947
|
return l;
|
|
3948
3948
|
},
|
|
@@ -3951,32 +3951,32 @@ function Nu() {
|
|
|
3951
3951
|
return V._hash = this._hash.clone(), V;
|
|
3952
3952
|
}
|
|
3953
3953
|
});
|
|
3954
|
-
function i(V,
|
|
3955
|
-
return V ^
|
|
3954
|
+
function i(V, N, x) {
|
|
3955
|
+
return V ^ N ^ x;
|
|
3956
3956
|
}
|
|
3957
|
-
function H(V,
|
|
3958
|
-
return V &
|
|
3957
|
+
function H(V, N, x) {
|
|
3958
|
+
return V & N | ~V & x;
|
|
3959
3959
|
}
|
|
3960
|
-
function c(V,
|
|
3961
|
-
return (V | ~
|
|
3960
|
+
function c(V, N, x) {
|
|
3961
|
+
return (V | ~N) ^ x;
|
|
3962
3962
|
}
|
|
3963
|
-
function q(V,
|
|
3964
|
-
return V &
|
|
3963
|
+
function q(V, N, x) {
|
|
3964
|
+
return V & x | N & ~x;
|
|
3965
3965
|
}
|
|
3966
|
-
function m(V,
|
|
3967
|
-
return V ^ (
|
|
3966
|
+
function m(V, N, x) {
|
|
3967
|
+
return V ^ (N | ~x);
|
|
3968
3968
|
}
|
|
3969
|
-
function
|
|
3970
|
-
return V <<
|
|
3969
|
+
function O(V, N) {
|
|
3970
|
+
return V << N | V >>> 32 - N;
|
|
3971
3971
|
}
|
|
3972
3972
|
n.RIPEMD160 = u._createHelper(s), n.HmacRIPEMD160 = u._createHmacHelper(s);
|
|
3973
3973
|
}(), f.RIPEMD160;
|
|
3974
3974
|
});
|
|
3975
3975
|
}(Df)), Df.exports;
|
|
3976
3976
|
}
|
|
3977
|
-
var Vf = { exports: {} },
|
|
3978
|
-
function
|
|
3979
|
-
return
|
|
3977
|
+
var Vf = { exports: {} }, T3;
|
|
3978
|
+
function x7() {
|
|
3979
|
+
return T3 || (T3 = 1, function(e, A) {
|
|
3980
3980
|
(function(f, v) {
|
|
3981
3981
|
e.exports = v(XA());
|
|
3982
3982
|
})(uA, function(f) {
|
|
@@ -4052,11 +4052,11 @@ function O7() {
|
|
|
4052
4052
|
});
|
|
4053
4053
|
}(Vf)), Vf.exports;
|
|
4054
4054
|
}
|
|
4055
|
-
var Nf = { exports: {} },
|
|
4055
|
+
var Nf = { exports: {} }, L3;
|
|
4056
4056
|
function Ru() {
|
|
4057
|
-
return
|
|
4057
|
+
return L3 || (L3 = 1, function(e, A) {
|
|
4058
4058
|
(function(f, v, n) {
|
|
4059
|
-
e.exports = v(XA(),
|
|
4059
|
+
e.exports = v(XA(), l7(), x7());
|
|
4060
4060
|
})(uA, function(f) {
|
|
4061
4061
|
return function() {
|
|
4062
4062
|
var v = f, n = v.lib, r = n.Base, P = n.WordArray, u = v.algo, z = u.SHA256, t = u.HMAC, d = u.PBKDF2 = r.extend({
|
|
@@ -4100,14 +4100,14 @@ function Ru() {
|
|
|
4100
4100
|
*/
|
|
4101
4101
|
compute: function(p, X) {
|
|
4102
4102
|
for (var b = this.cfg, a = t.create(b.hasher, p), s = P.create(), i = P.create([1]), H = s.words, c = i.words, q = b.keySize, m = b.iterations; H.length < q; ) {
|
|
4103
|
-
var
|
|
4103
|
+
var O = a.update(X).finalize(i);
|
|
4104
4104
|
a.reset();
|
|
4105
|
-
for (var V =
|
|
4106
|
-
|
|
4107
|
-
for (var l =
|
|
4108
|
-
V[
|
|
4105
|
+
for (var V = O.words, N = V.length, x = O, j = 1; j < m; j++) {
|
|
4106
|
+
x = a.finalize(x), a.reset();
|
|
4107
|
+
for (var l = x.words, R = 0; R < N; R++)
|
|
4108
|
+
V[R] ^= l[R];
|
|
4109
4109
|
}
|
|
4110
|
-
s.concat(
|
|
4110
|
+
s.concat(O), c[0]++;
|
|
4111
4111
|
}
|
|
4112
4112
|
return s.sigBytes = q * 4, s;
|
|
4113
4113
|
}
|
|
@@ -4119,11 +4119,11 @@ function Ru() {
|
|
|
4119
4119
|
});
|
|
4120
4120
|
}(Nf)), Nf.exports;
|
|
4121
4121
|
}
|
|
4122
|
-
var Rf = { exports: {} },
|
|
4122
|
+
var Rf = { exports: {} }, y3;
|
|
4123
4123
|
function xe() {
|
|
4124
|
-
return
|
|
4124
|
+
return y3 || (y3 = 1, function(e, A) {
|
|
4125
4125
|
(function(f, v, n) {
|
|
4126
|
-
e.exports = v(XA(), rn(),
|
|
4126
|
+
e.exports = v(XA(), rn(), x7());
|
|
4127
4127
|
})(uA, function(f) {
|
|
4128
4128
|
return function() {
|
|
4129
4129
|
var v = f, n = v.lib, r = n.Base, P = n.WordArray, u = v.algo, z = u.MD5, t = u.EvpKDF = r.extend({
|
|
@@ -4182,9 +4182,9 @@ function xe() {
|
|
|
4182
4182
|
});
|
|
4183
4183
|
}(Rf)), Rf.exports;
|
|
4184
4184
|
}
|
|
4185
|
-
var jf = { exports: {} },
|
|
4185
|
+
var jf = { exports: {} }, w3;
|
|
4186
4186
|
function TA() {
|
|
4187
|
-
return
|
|
4187
|
+
return w3 || (w3 = 1, function(e, A) {
|
|
4188
4188
|
(function(f, v, n) {
|
|
4189
4189
|
e.exports = v(XA(), xe());
|
|
4190
4190
|
})(uA, function(f) {
|
|
@@ -4212,8 +4212,8 @@ function TA() {
|
|
|
4212
4212
|
*
|
|
4213
4213
|
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
|
|
4214
4214
|
*/
|
|
4215
|
-
createEncryptor: function(l,
|
|
4216
|
-
return this.create(this._ENC_XFORM_MODE, l,
|
|
4215
|
+
createEncryptor: function(l, R) {
|
|
4216
|
+
return this.create(this._ENC_XFORM_MODE, l, R);
|
|
4217
4217
|
},
|
|
4218
4218
|
/**
|
|
4219
4219
|
* Creates this cipher in decryption mode.
|
|
@@ -4229,8 +4229,8 @@ function TA() {
|
|
|
4229
4229
|
*
|
|
4230
4230
|
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
|
|
4231
4231
|
*/
|
|
4232
|
-
createDecryptor: function(l,
|
|
4233
|
-
return this.create(this._DEC_XFORM_MODE, l,
|
|
4232
|
+
createDecryptor: function(l, R) {
|
|
4233
|
+
return this.create(this._DEC_XFORM_MODE, l, R);
|
|
4234
4234
|
},
|
|
4235
4235
|
/**
|
|
4236
4236
|
* Initializes a newly created cipher.
|
|
@@ -4243,8 +4243,8 @@ function TA() {
|
|
|
4243
4243
|
*
|
|
4244
4244
|
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
|
4245
4245
|
*/
|
|
4246
|
-
init: function(l,
|
|
4247
|
-
this.cfg = this.cfg.extend(o), this._xformMode = l, this._key =
|
|
4246
|
+
init: function(l, R, o) {
|
|
4247
|
+
this.cfg = this.cfg.extend(o), this._xformMode = l, this._key = R, this.reset();
|
|
4248
4248
|
},
|
|
4249
4249
|
/**
|
|
4250
4250
|
* Resets this cipher to its initial state.
|
|
@@ -4287,8 +4287,8 @@ function TA() {
|
|
|
4287
4287
|
*/
|
|
4288
4288
|
finalize: function(l) {
|
|
4289
4289
|
l && this._append(l);
|
|
4290
|
-
var
|
|
4291
|
-
return
|
|
4290
|
+
var R = this._doFinalize();
|
|
4291
|
+
return R;
|
|
4292
4292
|
},
|
|
4293
4293
|
keySize: 128 / 32,
|
|
4294
4294
|
ivSize: 128 / 32,
|
|
@@ -4308,16 +4308,16 @@ function TA() {
|
|
|
4308
4308
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
4309
4309
|
*/
|
|
4310
4310
|
_createHelper: /* @__PURE__ */ function() {
|
|
4311
|
-
function l(
|
|
4312
|
-
return typeof
|
|
4311
|
+
function l(R) {
|
|
4312
|
+
return typeof R == "string" ? j : V;
|
|
4313
4313
|
}
|
|
4314
|
-
return function(
|
|
4314
|
+
return function(R) {
|
|
4315
4315
|
return {
|
|
4316
4316
|
encrypt: function(o, Z, J) {
|
|
4317
|
-
return l(Z).encrypt(
|
|
4317
|
+
return l(Z).encrypt(R, o, Z, J);
|
|
4318
4318
|
},
|
|
4319
4319
|
decrypt: function(o, Z, J) {
|
|
4320
|
-
return l(Z).decrypt(
|
|
4320
|
+
return l(Z).decrypt(R, o, Z, J);
|
|
4321
4321
|
}
|
|
4322
4322
|
};
|
|
4323
4323
|
};
|
|
@@ -4343,8 +4343,8 @@ function TA() {
|
|
|
4343
4343
|
*
|
|
4344
4344
|
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
|
|
4345
4345
|
*/
|
|
4346
|
-
createEncryptor: function(l,
|
|
4347
|
-
return this.Encryptor.create(l,
|
|
4346
|
+
createEncryptor: function(l, R) {
|
|
4347
|
+
return this.Encryptor.create(l, R);
|
|
4348
4348
|
},
|
|
4349
4349
|
/**
|
|
4350
4350
|
* Creates this mode for decryption.
|
|
@@ -4358,8 +4358,8 @@ function TA() {
|
|
|
4358
4358
|
*
|
|
4359
4359
|
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
|
|
4360
4360
|
*/
|
|
4361
|
-
createDecryptor: function(l,
|
|
4362
|
-
return this.Decryptor.create(l,
|
|
4361
|
+
createDecryptor: function(l, R) {
|
|
4362
|
+
return this.Decryptor.create(l, R);
|
|
4363
4363
|
},
|
|
4364
4364
|
/**
|
|
4365
4365
|
* Initializes a newly created mode.
|
|
@@ -4371,8 +4371,8 @@ function TA() {
|
|
|
4371
4371
|
*
|
|
4372
4372
|
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
|
|
4373
4373
|
*/
|
|
4374
|
-
init: function(l,
|
|
4375
|
-
this._cipher = l, this._iv =
|
|
4374
|
+
init: function(l, R) {
|
|
4375
|
+
this._cipher = l, this._iv = R;
|
|
4376
4376
|
}
|
|
4377
4377
|
}), i = a.CBC = function() {
|
|
4378
4378
|
var l = s.extend();
|
|
@@ -4389,7 +4389,7 @@ function TA() {
|
|
|
4389
4389
|
*/
|
|
4390
4390
|
processBlock: function(o, Z) {
|
|
4391
4391
|
var J = this._cipher, S = J.blockSize;
|
|
4392
|
-
|
|
4392
|
+
R.call(this, o, Z, S), J.encryptBlock(o, Z), this._prevBlock = o.slice(Z, Z + S);
|
|
4393
4393
|
}
|
|
4394
4394
|
}), l.Decryptor = l.extend({
|
|
4395
4395
|
/**
|
|
@@ -4404,10 +4404,10 @@ function TA() {
|
|
|
4404
4404
|
*/
|
|
4405
4405
|
processBlock: function(o, Z) {
|
|
4406
4406
|
var J = this._cipher, S = J.blockSize, h = o.slice(Z, Z + S);
|
|
4407
|
-
J.decryptBlock(o, Z),
|
|
4407
|
+
J.decryptBlock(o, Z), R.call(this, o, Z, S), this._prevBlock = h;
|
|
4408
4408
|
}
|
|
4409
4409
|
});
|
|
4410
|
-
function
|
|
4410
|
+
function R(o, Z, J) {
|
|
4411
4411
|
var S, h = this._iv;
|
|
4412
4412
|
h ? (S = h, this._iv = v) : S = this._prevBlock;
|
|
4413
4413
|
for (var F = 0; F < J; F++)
|
|
@@ -4427,8 +4427,8 @@ function TA() {
|
|
|
4427
4427
|
*
|
|
4428
4428
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
4429
4429
|
*/
|
|
4430
|
-
pad: function(l,
|
|
4431
|
-
for (var o =
|
|
4430
|
+
pad: function(l, R) {
|
|
4431
|
+
for (var o = R * 4, Z = o - l.sigBytes % o, J = Z << 24 | Z << 16 | Z << 8 | Z, S = [], h = 0; h < Z; h += 4)
|
|
4432
4432
|
S.push(J);
|
|
4433
4433
|
var F = u.create(S, Z);
|
|
4434
4434
|
l.concat(F);
|
|
@@ -4445,8 +4445,8 @@ function TA() {
|
|
|
4445
4445
|
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
|
4446
4446
|
*/
|
|
4447
4447
|
unpad: function(l) {
|
|
4448
|
-
var
|
|
4449
|
-
l.sigBytes -=
|
|
4448
|
+
var R = l.words[l.sigBytes - 1 >>> 2] & 255;
|
|
4449
|
+
l.sigBytes -= R;
|
|
4450
4450
|
}
|
|
4451
4451
|
};
|
|
4452
4452
|
r.BlockCipher = b.extend({
|
|
@@ -4463,15 +4463,15 @@ function TA() {
|
|
|
4463
4463
|
reset: function() {
|
|
4464
4464
|
var l;
|
|
4465
4465
|
b.reset.call(this);
|
|
4466
|
-
var
|
|
4466
|
+
var R = this.cfg, o = R.iv, Z = R.mode;
|
|
4467
4467
|
this._xformMode == this._ENC_XFORM_MODE ? l = Z.createEncryptor : (l = Z.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == l ? this._mode.init(this, o && o.words) : (this._mode = l.call(Z, this, o && o.words), this._mode.__creator = l);
|
|
4468
4468
|
},
|
|
4469
|
-
_doProcessBlock: function(l,
|
|
4470
|
-
this._mode.processBlock(l,
|
|
4469
|
+
_doProcessBlock: function(l, R) {
|
|
4470
|
+
this._mode.processBlock(l, R);
|
|
4471
4471
|
},
|
|
4472
4472
|
_doFinalize: function() {
|
|
4473
|
-
var l,
|
|
4474
|
-
return this._xformMode == this._ENC_XFORM_MODE ? (
|
|
4473
|
+
var l, R = this.cfg.padding;
|
|
4474
|
+
return this._xformMode == this._ENC_XFORM_MODE ? (R.pad(this._data, this.blockSize), l = this._process(!0)) : (l = this._process(!0), R.unpad(l)), l;
|
|
4475
4475
|
},
|
|
4476
4476
|
blockSize: 128 / 32
|
|
4477
4477
|
});
|
|
@@ -4516,7 +4516,7 @@ function TA() {
|
|
|
4516
4516
|
toString: function(l) {
|
|
4517
4517
|
return (l || this.formatter).stringify(this);
|
|
4518
4518
|
}
|
|
4519
|
-
}), m = n.format = {},
|
|
4519
|
+
}), m = n.format = {}, O = m.OpenSSL = {
|
|
4520
4520
|
/**
|
|
4521
4521
|
* Converts a cipher params object to an OpenSSL-compatible string.
|
|
4522
4522
|
*
|
|
@@ -4531,8 +4531,8 @@ function TA() {
|
|
|
4531
4531
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
4532
4532
|
*/
|
|
4533
4533
|
stringify: function(l) {
|
|
4534
|
-
var
|
|
4535
|
-
return Z ?
|
|
4534
|
+
var R, o = l.ciphertext, Z = l.salt;
|
|
4535
|
+
return Z ? R = u.create([1398893684, 1701076831]).concat(Z).concat(o) : R = o, R.toString(d);
|
|
4536
4536
|
},
|
|
4537
4537
|
/**
|
|
4538
4538
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -4548,8 +4548,8 @@ function TA() {
|
|
|
4548
4548
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
4549
4549
|
*/
|
|
4550
4550
|
parse: function(l) {
|
|
4551
|
-
var
|
|
4552
|
-
return Z[0] == 1398893684 && Z[1] == 1701076831 && (
|
|
4551
|
+
var R, o = d.parse(l), Z = o.words;
|
|
4552
|
+
return Z[0] == 1398893684 && Z[1] == 1701076831 && (R = u.create(Z.slice(2, 4)), Z.splice(0, 4), o.sigBytes -= 16), q.create({ ciphertext: o, salt: R });
|
|
4553
4553
|
}
|
|
4554
4554
|
}, V = r.SerializableCipher = P.extend({
|
|
4555
4555
|
/**
|
|
@@ -4558,7 +4558,7 @@ function TA() {
|
|
|
4558
4558
|
* @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
|
|
4559
4559
|
*/
|
|
4560
4560
|
cfg: P.extend({
|
|
4561
|
-
format:
|
|
4561
|
+
format: O
|
|
4562
4562
|
}),
|
|
4563
4563
|
/**
|
|
4564
4564
|
* Encrypts a message.
|
|
@@ -4578,9 +4578,9 @@ function TA() {
|
|
|
4578
4578
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
|
4579
4579
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
4580
4580
|
*/
|
|
4581
|
-
encrypt: function(l,
|
|
4581
|
+
encrypt: function(l, R, o, Z) {
|
|
4582
4582
|
Z = this.cfg.extend(Z);
|
|
4583
|
-
var J = l.createEncryptor(o, Z), S = J.finalize(
|
|
4583
|
+
var J = l.createEncryptor(o, Z), S = J.finalize(R), h = J.cfg;
|
|
4584
4584
|
return q.create({
|
|
4585
4585
|
ciphertext: S,
|
|
4586
4586
|
key: o,
|
|
@@ -4609,9 +4609,9 @@ function TA() {
|
|
|
4609
4609
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
4610
4610
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
4611
4611
|
*/
|
|
4612
|
-
decrypt: function(l,
|
|
4613
|
-
Z = this.cfg.extend(Z),
|
|
4614
|
-
var J = l.createDecryptor(o, Z).finalize(
|
|
4612
|
+
decrypt: function(l, R, o, Z) {
|
|
4613
|
+
Z = this.cfg.extend(Z), R = this._parse(R, Z.format);
|
|
4614
|
+
var J = l.createDecryptor(o, Z).finalize(R.ciphertext);
|
|
4615
4615
|
return J;
|
|
4616
4616
|
},
|
|
4617
4617
|
/**
|
|
@@ -4629,10 +4629,10 @@ function TA() {
|
|
|
4629
4629
|
*
|
|
4630
4630
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
|
4631
4631
|
*/
|
|
4632
|
-
_parse: function(l,
|
|
4633
|
-
return typeof l == "string" ?
|
|
4632
|
+
_parse: function(l, R) {
|
|
4633
|
+
return typeof l == "string" ? R.parse(l, this) : l;
|
|
4634
4634
|
}
|
|
4635
|
-
}),
|
|
4635
|
+
}), N = n.kdf = {}, x = N.OpenSSL = {
|
|
4636
4636
|
/**
|
|
4637
4637
|
* Derives a key and IV from a password.
|
|
4638
4638
|
*
|
|
@@ -4650,13 +4650,13 @@ function TA() {
|
|
|
4650
4650
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
4651
4651
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
4652
4652
|
*/
|
|
4653
|
-
execute: function(l,
|
|
4653
|
+
execute: function(l, R, o, Z, J) {
|
|
4654
4654
|
if (Z || (Z = u.random(64 / 8)), J)
|
|
4655
|
-
var S = X.create({ keySize:
|
|
4655
|
+
var S = X.create({ keySize: R + o, hasher: J }).compute(l, Z);
|
|
4656
4656
|
else
|
|
4657
|
-
var S = X.create({ keySize:
|
|
4658
|
-
var h = u.create(S.words.slice(
|
|
4659
|
-
return S.sigBytes =
|
|
4657
|
+
var S = X.create({ keySize: R + o }).compute(l, Z);
|
|
4658
|
+
var h = u.create(S.words.slice(R), o * 4);
|
|
4659
|
+
return S.sigBytes = R * 4, q.create({ key: S, iv: h, salt: Z });
|
|
4660
4660
|
}
|
|
4661
4661
|
}, j = r.PasswordBasedCipher = V.extend({
|
|
4662
4662
|
/**
|
|
@@ -4665,7 +4665,7 @@ function TA() {
|
|
|
4665
4665
|
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
|
4666
4666
|
*/
|
|
4667
4667
|
cfg: V.cfg.extend({
|
|
4668
|
-
kdf:
|
|
4668
|
+
kdf: x
|
|
4669
4669
|
}),
|
|
4670
4670
|
/**
|
|
4671
4671
|
* Encrypts a message using a password.
|
|
@@ -4684,11 +4684,11 @@ function TA() {
|
|
|
4684
4684
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
|
4685
4685
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
|
4686
4686
|
*/
|
|
4687
|
-
encrypt: function(l,
|
|
4687
|
+
encrypt: function(l, R, o, Z) {
|
|
4688
4688
|
Z = this.cfg.extend(Z);
|
|
4689
4689
|
var J = Z.kdf.execute(o, l.keySize, l.ivSize, Z.salt, Z.hasher);
|
|
4690
4690
|
Z.iv = J.iv;
|
|
4691
|
-
var S = V.encrypt.call(this, l,
|
|
4691
|
+
var S = V.encrypt.call(this, l, R, J.key, Z);
|
|
4692
4692
|
return S.mixIn(J), S;
|
|
4693
4693
|
},
|
|
4694
4694
|
/**
|
|
@@ -4708,11 +4708,11 @@ function TA() {
|
|
|
4708
4708
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
|
4709
4709
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
|
4710
4710
|
*/
|
|
4711
|
-
decrypt: function(l,
|
|
4712
|
-
Z = this.cfg.extend(Z),
|
|
4713
|
-
var J = Z.kdf.execute(o, l.keySize, l.ivSize,
|
|
4711
|
+
decrypt: function(l, R, o, Z) {
|
|
4712
|
+
Z = this.cfg.extend(Z), R = this._parse(R, Z.format);
|
|
4713
|
+
var J = Z.kdf.execute(o, l.keySize, l.ivSize, R.salt, Z.hasher);
|
|
4714
4714
|
Z.iv = J.iv;
|
|
4715
|
-
var S = V.decrypt.call(this, l,
|
|
4715
|
+
var S = V.decrypt.call(this, l, R, J.key, Z);
|
|
4716
4716
|
return S;
|
|
4717
4717
|
}
|
|
4718
4718
|
});
|
|
@@ -4720,9 +4720,9 @@ function TA() {
|
|
|
4720
4720
|
});
|
|
4721
4721
|
}(jf)), jf.exports;
|
|
4722
4722
|
}
|
|
4723
|
-
var of = { exports: {} },
|
|
4723
|
+
var of = { exports: {} }, W3;
|
|
4724
4724
|
function ju() {
|
|
4725
|
-
return
|
|
4725
|
+
return W3 || (W3 = 1, function(e, A) {
|
|
4726
4726
|
(function(f, v, n) {
|
|
4727
4727
|
e.exports = v(XA(), TA());
|
|
4728
4728
|
})(uA, function(f) {
|
|
@@ -4750,9 +4750,9 @@ function ju() {
|
|
|
4750
4750
|
});
|
|
4751
4751
|
}(of)), of.exports;
|
|
4752
4752
|
}
|
|
4753
|
-
var Zf = { exports: {} },
|
|
4753
|
+
var Zf = { exports: {} }, E3;
|
|
4754
4754
|
function ou() {
|
|
4755
|
-
return
|
|
4755
|
+
return E3 || (E3 = 1, function(e, A) {
|
|
4756
4756
|
(function(f, v, n) {
|
|
4757
4757
|
e.exports = v(XA(), TA());
|
|
4758
4758
|
})(uA, function(f) {
|
|
@@ -4772,9 +4772,9 @@ function ou() {
|
|
|
4772
4772
|
});
|
|
4773
4773
|
}(Zf)), Zf.exports;
|
|
4774
4774
|
}
|
|
4775
|
-
var Tf = { exports: {} },
|
|
4775
|
+
var Tf = { exports: {} }, I3;
|
|
4776
4776
|
function Zu() {
|
|
4777
|
-
return
|
|
4777
|
+
return I3 || (I3 = 1, function(e, A) {
|
|
4778
4778
|
(function(f, v, n) {
|
|
4779
4779
|
e.exports = v(XA(), TA());
|
|
4780
4780
|
})(uA, function(f) {
|
|
@@ -4811,9 +4811,9 @@ function Zu() {
|
|
|
4811
4811
|
});
|
|
4812
4812
|
}(Tf)), Tf.exports;
|
|
4813
4813
|
}
|
|
4814
|
-
var Lf = { exports: {} },
|
|
4814
|
+
var Lf = { exports: {} }, g3;
|
|
4815
4815
|
function Tu() {
|
|
4816
|
-
return
|
|
4816
|
+
return g3 || (g3 = 1, function(e, A) {
|
|
4817
4817
|
(function(f, v, n) {
|
|
4818
4818
|
e.exports = v(XA(), TA());
|
|
4819
4819
|
})(uA, function(f) {
|
|
@@ -4831,9 +4831,9 @@ function Tu() {
|
|
|
4831
4831
|
});
|
|
4832
4832
|
}(Lf)), Lf.exports;
|
|
4833
4833
|
}
|
|
4834
|
-
var yf = { exports: {} },
|
|
4834
|
+
var yf = { exports: {} }, M3;
|
|
4835
4835
|
function Lu() {
|
|
4836
|
-
return
|
|
4836
|
+
return M3 || (M3 = 1, function(e, A) {
|
|
4837
4837
|
(function(f, v, n) {
|
|
4838
4838
|
e.exports = v(XA(), TA());
|
|
4839
4839
|
})(uA, function(f) {
|
|
@@ -4852,9 +4852,9 @@ function Lu() {
|
|
|
4852
4852
|
});
|
|
4853
4853
|
}(yf)), yf.exports;
|
|
4854
4854
|
}
|
|
4855
|
-
var wf = { exports: {} },
|
|
4855
|
+
var wf = { exports: {} }, B3;
|
|
4856
4856
|
function yu() {
|
|
4857
|
-
return
|
|
4857
|
+
return B3 || (B3 = 1, function(e, A) {
|
|
4858
4858
|
(function(f, v, n) {
|
|
4859
4859
|
e.exports = v(XA(), TA());
|
|
4860
4860
|
})(uA, function(f) {
|
|
@@ -4871,9 +4871,9 @@ function yu() {
|
|
|
4871
4871
|
});
|
|
4872
4872
|
}(wf)), wf.exports;
|
|
4873
4873
|
}
|
|
4874
|
-
var Wf = { exports: {} },
|
|
4874
|
+
var Wf = { exports: {} }, k3;
|
|
4875
4875
|
function wu() {
|
|
4876
|
-
return
|
|
4876
|
+
return k3 || (k3 = 1, function(e, A) {
|
|
4877
4877
|
(function(f, v, n) {
|
|
4878
4878
|
e.exports = v(XA(), TA());
|
|
4879
4879
|
})(uA, function(f) {
|
|
@@ -4890,9 +4890,9 @@ function wu() {
|
|
|
4890
4890
|
});
|
|
4891
4891
|
}(Wf)), Wf.exports;
|
|
4892
4892
|
}
|
|
4893
|
-
var Ef = { exports: {} },
|
|
4893
|
+
var Ef = { exports: {} }, Q3;
|
|
4894
4894
|
function Wu() {
|
|
4895
|
-
return
|
|
4895
|
+
return Q3 || (Q3 = 1, function(e, A) {
|
|
4896
4896
|
(function(f, v, n) {
|
|
4897
4897
|
e.exports = v(XA(), TA());
|
|
4898
4898
|
})(uA, function(f) {
|
|
@@ -4907,9 +4907,9 @@ function Wu() {
|
|
|
4907
4907
|
});
|
|
4908
4908
|
}(Ef)), Ef.exports;
|
|
4909
4909
|
}
|
|
4910
|
-
var If = { exports: {} },
|
|
4910
|
+
var If = { exports: {} }, Y3;
|
|
4911
4911
|
function Eu() {
|
|
4912
|
-
return
|
|
4912
|
+
return Y3 || (Y3 = 1, function(e, A) {
|
|
4913
4913
|
(function(f, v, n) {
|
|
4914
4914
|
e.exports = v(XA(), TA());
|
|
4915
4915
|
})(uA, function(f) {
|
|
@@ -4929,9 +4929,9 @@ function Eu() {
|
|
|
4929
4929
|
});
|
|
4930
4930
|
}(If)), If.exports;
|
|
4931
4931
|
}
|
|
4932
|
-
var gf = { exports: {} },
|
|
4932
|
+
var gf = { exports: {} }, G3;
|
|
4933
4933
|
function Iu() {
|
|
4934
|
-
return
|
|
4934
|
+
return G3 || (G3 = 1, function(e, A) {
|
|
4935
4935
|
(function(f, v, n) {
|
|
4936
4936
|
e.exports = v(XA(), TA());
|
|
4937
4937
|
})(uA, function(f) {
|
|
@@ -4944,9 +4944,9 @@ function Iu() {
|
|
|
4944
4944
|
});
|
|
4945
4945
|
}(gf)), gf.exports;
|
|
4946
4946
|
}
|
|
4947
|
-
var Mf = { exports: {} },
|
|
4947
|
+
var Mf = { exports: {} }, U3;
|
|
4948
4948
|
function gu() {
|
|
4949
|
-
return
|
|
4949
|
+
return U3 || (U3 = 1, function(e, A) {
|
|
4950
4950
|
(function(f, v, n) {
|
|
4951
4951
|
e.exports = v(XA(), TA());
|
|
4952
4952
|
})(uA, function(f) {
|
|
@@ -4991,9 +4991,9 @@ function gu() {
|
|
|
4991
4991
|
});
|
|
4992
4992
|
}(Mf)), Mf.exports;
|
|
4993
4993
|
}
|
|
4994
|
-
var Bf = { exports: {} },
|
|
4994
|
+
var Bf = { exports: {} }, J3;
|
|
4995
4995
|
function Mu() {
|
|
4996
|
-
return
|
|
4996
|
+
return J3 || (J3 = 1, function(e, A) {
|
|
4997
4997
|
(function(f, v, n) {
|
|
4998
4998
|
e.exports = v(XA(), Le(), ye(), xe(), TA());
|
|
4999
4999
|
})(uA, function(f) {
|
|
@@ -5002,28 +5002,28 @@ function Mu() {
|
|
|
5002
5002
|
(function() {
|
|
5003
5003
|
for (var q = [], m = 0; m < 256; m++)
|
|
5004
5004
|
m < 128 ? q[m] = m << 1 : q[m] = m << 1 ^ 283;
|
|
5005
|
-
for (var
|
|
5006
|
-
var
|
|
5007
|
-
|
|
5008
|
-
var
|
|
5009
|
-
t[
|
|
5010
|
-
var
|
|
5011
|
-
b[
|
|
5005
|
+
for (var O = 0, V = 0, m = 0; m < 256; m++) {
|
|
5006
|
+
var N = V ^ V << 1 ^ V << 2 ^ V << 3 ^ V << 4;
|
|
5007
|
+
N = N >>> 8 ^ N & 255 ^ 99, u[O] = N, z[N] = O;
|
|
5008
|
+
var x = q[O], j = q[x], l = q[j], R = q[N] * 257 ^ N * 16843008;
|
|
5009
|
+
t[O] = R << 24 | R >>> 8, d[O] = R << 16 | R >>> 16, p[O] = R << 8 | R >>> 24, X[O] = R;
|
|
5010
|
+
var R = l * 16843009 ^ j * 65537 ^ x * 257 ^ O * 16843008;
|
|
5011
|
+
b[N] = R << 24 | R >>> 8, a[N] = R << 16 | R >>> 16, s[N] = R << 8 | R >>> 24, i[N] = R, O ? (O = x ^ q[q[q[l ^ x]]], V ^= q[q[V]]) : O = V = 1;
|
|
5012
5012
|
}
|
|
5013
5013
|
})();
|
|
5014
5014
|
var H = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], c = P.AES = r.extend({
|
|
5015
5015
|
_doReset: function() {
|
|
5016
5016
|
var q;
|
|
5017
5017
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
5018
|
-
for (var m = this._keyPriorReset = this._key,
|
|
5019
|
-
l < V ? j[l] =
|
|
5020
|
-
for (var
|
|
5021
|
-
var l =
|
|
5018
|
+
for (var m = this._keyPriorReset = this._key, O = m.words, V = m.sigBytes / 4, N = this._nRounds = V + 6, x = (N + 1) * 4, j = this._keySchedule = [], l = 0; l < x; l++)
|
|
5019
|
+
l < V ? j[l] = O[l] : (q = j[l - 1], l % V ? V > 6 && l % V == 4 && (q = u[q >>> 24] << 24 | u[q >>> 16 & 255] << 16 | u[q >>> 8 & 255] << 8 | u[q & 255]) : (q = q << 8 | q >>> 24, q = u[q >>> 24] << 24 | u[q >>> 16 & 255] << 16 | u[q >>> 8 & 255] << 8 | u[q & 255], q ^= H[l / V | 0] << 24), j[l] = j[l - V] ^ q);
|
|
5020
|
+
for (var R = this._invKeySchedule = [], o = 0; o < x; o++) {
|
|
5021
|
+
var l = x - o;
|
|
5022
5022
|
if (o % 4)
|
|
5023
5023
|
var q = j[l];
|
|
5024
5024
|
else
|
|
5025
5025
|
var q = j[l - 4];
|
|
5026
|
-
o < 4 || l <= 4 ?
|
|
5026
|
+
o < 4 || l <= 4 ? R[o] = q : R[o] = b[u[q >>> 24]] ^ a[u[q >>> 16 & 255]] ^ s[u[q >>> 8 & 255]] ^ i[u[q & 255]];
|
|
5027
5027
|
}
|
|
5028
5028
|
}
|
|
5029
5029
|
},
|
|
@@ -5031,17 +5031,17 @@ function Mu() {
|
|
|
5031
5031
|
this._doCryptBlock(q, m, this._keySchedule, t, d, p, X, u);
|
|
5032
5032
|
},
|
|
5033
5033
|
decryptBlock: function(q, m) {
|
|
5034
|
-
var
|
|
5035
|
-
q[m + 1] = q[m + 3], q[m + 3] =
|
|
5036
|
-
var
|
|
5037
|
-
q[m + 1] = q[m + 3], q[m + 3] =
|
|
5034
|
+
var O = q[m + 1];
|
|
5035
|
+
q[m + 1] = q[m + 3], q[m + 3] = O, this._doCryptBlock(q, m, this._invKeySchedule, b, a, s, i, z);
|
|
5036
|
+
var O = q[m + 1];
|
|
5037
|
+
q[m + 1] = q[m + 3], q[m + 3] = O;
|
|
5038
5038
|
},
|
|
5039
|
-
_doCryptBlock: function(q, m,
|
|
5040
|
-
for (var
|
|
5041
|
-
var Y = V[o >>> 24] ^
|
|
5039
|
+
_doCryptBlock: function(q, m, O, V, N, x, j, l) {
|
|
5040
|
+
for (var R = this._nRounds, o = q[m] ^ O[0], Z = q[m + 1] ^ O[1], J = q[m + 2] ^ O[2], S = q[m + 3] ^ O[3], h = 4, F = 1; F < R; F++) {
|
|
5041
|
+
var Y = V[o >>> 24] ^ N[Z >>> 16 & 255] ^ x[J >>> 8 & 255] ^ j[S & 255] ^ O[h++], U = V[Z >>> 24] ^ N[J >>> 16 & 255] ^ x[S >>> 8 & 255] ^ j[o & 255] ^ O[h++], eA = V[J >>> 24] ^ N[S >>> 16 & 255] ^ x[o >>> 8 & 255] ^ j[Z & 255] ^ O[h++], L = V[S >>> 24] ^ N[o >>> 16 & 255] ^ x[Z >>> 8 & 255] ^ j[J & 255] ^ O[h++];
|
|
5042
5042
|
o = Y, Z = U, J = eA, S = L;
|
|
5043
5043
|
}
|
|
5044
|
-
var Y = (l[o >>> 24] << 24 | l[Z >>> 16 & 255] << 16 | l[J >>> 8 & 255] << 8 | l[S & 255]) ^
|
|
5044
|
+
var Y = (l[o >>> 24] << 24 | l[Z >>> 16 & 255] << 16 | l[J >>> 8 & 255] << 8 | l[S & 255]) ^ O[h++], U = (l[Z >>> 24] << 24 | l[J >>> 16 & 255] << 16 | l[S >>> 8 & 255] << 8 | l[o & 255]) ^ O[h++], eA = (l[J >>> 24] << 24 | l[S >>> 16 & 255] << 16 | l[o >>> 8 & 255] << 8 | l[Z & 255]) ^ O[h++], L = (l[S >>> 24] << 24 | l[o >>> 16 & 255] << 16 | l[Z >>> 8 & 255] << 8 | l[J & 255]) ^ O[h++];
|
|
5045
5045
|
q[m] = Y, q[m + 1] = U, q[m + 2] = eA, q[m + 3] = L;
|
|
5046
5046
|
},
|
|
5047
5047
|
keySize: 256 / 32
|
|
@@ -5051,9 +5051,9 @@ function Mu() {
|
|
|
5051
5051
|
});
|
|
5052
5052
|
}(Bf)), Bf.exports;
|
|
5053
5053
|
}
|
|
5054
|
-
var kf = { exports: {} },
|
|
5054
|
+
var kf = { exports: {} }, h3;
|
|
5055
5055
|
function Bu() {
|
|
5056
|
-
return
|
|
5056
|
+
return h3 || (h3 = 1, function(e, A) {
|
|
5057
5057
|
(function(f, v, n) {
|
|
5058
5058
|
e.exports = v(XA(), Le(), ye(), xe(), TA());
|
|
5059
5059
|
})(uA, function(f) {
|
|
@@ -5705,16 +5705,16 @@ function Bu() {
|
|
|
5705
5705
|
], b = u.DES = P.extend({
|
|
5706
5706
|
_doReset: function() {
|
|
5707
5707
|
for (var H = this._key, c = H.words, q = [], m = 0; m < 56; m++) {
|
|
5708
|
-
var
|
|
5709
|
-
q[m] = c[
|
|
5708
|
+
var O = z[m] - 1;
|
|
5709
|
+
q[m] = c[O >>> 5] >>> 31 - O % 32 & 1;
|
|
5710
5710
|
}
|
|
5711
|
-
for (var V = this._subKeys = [],
|
|
5712
|
-
for (var
|
|
5713
|
-
|
|
5714
|
-
|
|
5711
|
+
for (var V = this._subKeys = [], N = 0; N < 16; N++) {
|
|
5712
|
+
for (var x = V[N] = [], j = d[N], m = 0; m < 24; m++)
|
|
5713
|
+
x[m / 6 | 0] |= q[(t[m] - 1 + j) % 28] << 31 - m % 6, x[4 + (m / 6 | 0)] |= q[28 + (t[m + 24] - 1 + j) % 28] << 31 - m % 6;
|
|
5714
|
+
x[0] = x[0] << 1 | x[0] >>> 31;
|
|
5715
5715
|
for (var m = 1; m < 7; m++)
|
|
5716
|
-
|
|
5717
|
-
|
|
5716
|
+
x[m] = x[m] >>> (m - 1) * 4 + 3;
|
|
5717
|
+
x[7] = x[7] << 5 | x[7] >>> 27;
|
|
5718
5718
|
}
|
|
5719
5719
|
for (var l = this._invSubKeys = [], m = 0; m < 16; m++)
|
|
5720
5720
|
l[m] = V[15 - m];
|
|
@@ -5728,9 +5728,9 @@ function Bu() {
|
|
|
5728
5728
|
_doCryptBlock: function(H, c, q) {
|
|
5729
5729
|
this._lBlock = H[c], this._rBlock = H[c + 1], a.call(this, 4, 252645135), a.call(this, 16, 65535), s.call(this, 2, 858993459), s.call(this, 8, 16711935), a.call(this, 1, 1431655765);
|
|
5730
5730
|
for (var m = 0; m < 16; m++) {
|
|
5731
|
-
for (var
|
|
5732
|
-
|
|
5733
|
-
this._lBlock =
|
|
5731
|
+
for (var O = q[m], V = this._lBlock, N = this._rBlock, x = 0, j = 0; j < 8; j++)
|
|
5732
|
+
x |= p[j][((N ^ O[j]) & X[j]) >>> 0];
|
|
5733
|
+
this._lBlock = N, this._rBlock = V ^ x;
|
|
5734
5734
|
}
|
|
5735
5735
|
var l = this._lBlock;
|
|
5736
5736
|
this._lBlock = this._rBlock, this._rBlock = l, a.call(this, 1, 1431655765), s.call(this, 8, 16711935), s.call(this, 2, 858993459), a.call(this, 16, 65535), a.call(this, 4, 252645135), H[c] = this._lBlock, H[c + 1] = this._rBlock;
|
|
@@ -5753,8 +5753,8 @@ function Bu() {
|
|
|
5753
5753
|
var H = this._key, c = H.words;
|
|
5754
5754
|
if (c.length !== 2 && c.length !== 4 && c.length < 6)
|
|
5755
5755
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
5756
|
-
var q = c.slice(0, 2), m = c.length < 4 ? c.slice(0, 2) : c.slice(2, 4),
|
|
5757
|
-
this._des1 = b.createEncryptor(r.create(q)), this._des2 = b.createEncryptor(r.create(m)), this._des3 = b.createEncryptor(r.create(
|
|
5756
|
+
var q = c.slice(0, 2), m = c.length < 4 ? c.slice(0, 2) : c.slice(2, 4), O = c.length < 6 ? c.slice(0, 2) : c.slice(4, 6);
|
|
5757
|
+
this._des1 = b.createEncryptor(r.create(q)), this._des2 = b.createEncryptor(r.create(m)), this._des3 = b.createEncryptor(r.create(O));
|
|
5758
5758
|
},
|
|
5759
5759
|
encryptBlock: function(H, c) {
|
|
5760
5760
|
this._des1.encryptBlock(H, c), this._des2.decryptBlock(H, c), this._des3.encryptBlock(H, c);
|
|
@@ -5771,9 +5771,9 @@ function Bu() {
|
|
|
5771
5771
|
});
|
|
5772
5772
|
}(kf)), kf.exports;
|
|
5773
5773
|
}
|
|
5774
|
-
var Qf = { exports: {} },
|
|
5774
|
+
var Qf = { exports: {} }, F3;
|
|
5775
5775
|
function ku() {
|
|
5776
|
-
return
|
|
5776
|
+
return F3 || (F3 = 1, function(e, A) {
|
|
5777
5777
|
(function(f, v, n) {
|
|
5778
5778
|
e.exports = v(XA(), Le(), ye(), xe(), TA());
|
|
5779
5779
|
})(uA, function(f) {
|
|
@@ -5825,9 +5825,9 @@ function ku() {
|
|
|
5825
5825
|
});
|
|
5826
5826
|
}(Qf)), Qf.exports;
|
|
5827
5827
|
}
|
|
5828
|
-
var Yf = { exports: {} },
|
|
5828
|
+
var Yf = { exports: {} }, S3;
|
|
5829
5829
|
function Qu() {
|
|
5830
|
-
return
|
|
5830
|
+
return S3 || (S3 = 1, function(e, A) {
|
|
5831
5831
|
(function(f, v, n) {
|
|
5832
5832
|
e.exports = v(XA(), Le(), ye(), xe(), TA());
|
|
5833
5833
|
})(uA, function(f) {
|
|
@@ -5861,8 +5861,8 @@ function Qu() {
|
|
|
5861
5861
|
for (var a = 0; a < 8; a++)
|
|
5862
5862
|
i[a] ^= s[a + 4 & 7];
|
|
5863
5863
|
if (b) {
|
|
5864
|
-
var H = b.words, c = H[0], q = H[1], m = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360,
|
|
5865
|
-
i[0] ^= m, i[1] ^= V, i[2] ^=
|
|
5864
|
+
var H = b.words, c = H[0], q = H[1], m = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360, O = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, V = m >>> 16 | O & 4294901760, N = O << 16 | m & 65535;
|
|
5865
|
+
i[0] ^= m, i[1] ^= V, i[2] ^= O, i[3] ^= N, i[4] ^= m, i[5] ^= V, i[6] ^= O, i[7] ^= N;
|
|
5866
5866
|
for (var a = 0; a < 4; a++)
|
|
5867
5867
|
p.call(this);
|
|
5868
5868
|
}
|
|
@@ -5891,9 +5891,9 @@ function Qu() {
|
|
|
5891
5891
|
});
|
|
5892
5892
|
}(Yf)), Yf.exports;
|
|
5893
5893
|
}
|
|
5894
|
-
var Gf = { exports: {} },
|
|
5894
|
+
var Gf = { exports: {} }, K3;
|
|
5895
5895
|
function Yu() {
|
|
5896
|
-
return
|
|
5896
|
+
return K3 || (K3 = 1, function(e, A) {
|
|
5897
5897
|
(function(f, v, n) {
|
|
5898
5898
|
e.exports = v(XA(), Le(), ye(), xe(), TA());
|
|
5899
5899
|
})(uA, function(f) {
|
|
@@ -5925,8 +5925,8 @@ function Yu() {
|
|
|
5925
5925
|
for (var i = 0; i < 8; i++)
|
|
5926
5926
|
s[i] ^= a[i + 4 & 7];
|
|
5927
5927
|
if (b) {
|
|
5928
|
-
var H = b.words, c = H[0], q = H[1], m = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360,
|
|
5929
|
-
s[0] ^= m, s[1] ^= V, s[2] ^=
|
|
5928
|
+
var H = b.words, c = H[0], q = H[1], m = (c << 8 | c >>> 24) & 16711935 | (c << 24 | c >>> 8) & 4278255360, O = (q << 8 | q >>> 24) & 16711935 | (q << 24 | q >>> 8) & 4278255360, V = m >>> 16 | O & 4294901760, N = O << 16 | m & 65535;
|
|
5929
|
+
s[0] ^= m, s[1] ^= V, s[2] ^= O, s[3] ^= N, s[4] ^= m, s[5] ^= V, s[6] ^= O, s[7] ^= N;
|
|
5930
5930
|
for (var i = 0; i < 4; i++)
|
|
5931
5931
|
p.call(this);
|
|
5932
5932
|
}
|
|
@@ -5955,9 +5955,9 @@ function Yu() {
|
|
|
5955
5955
|
});
|
|
5956
5956
|
}(Gf)), Gf.exports;
|
|
5957
5957
|
}
|
|
5958
|
-
var Uf = { exports: {} },
|
|
5958
|
+
var Uf = { exports: {} }, C3;
|
|
5959
5959
|
function Gu() {
|
|
5960
|
-
return
|
|
5960
|
+
return C3 || (C3 = 1, function(e, A) {
|
|
5961
5961
|
(function(f, v, n) {
|
|
5962
5962
|
e.exports = v(XA(), Le(), ye(), xe(), TA());
|
|
5963
5963
|
})(uA, function(f) {
|
|
@@ -7021,36 +7021,36 @@ function Gu() {
|
|
|
7021
7021
|
sbox: []
|
|
7022
7022
|
};
|
|
7023
7023
|
function p(i, H) {
|
|
7024
|
-
let c = H >> 24 & 255, q = H >> 16 & 255, m = H >> 8 & 255,
|
|
7025
|
-
return V = V ^ i.sbox[2][m], V = V + i.sbox[3][
|
|
7024
|
+
let c = H >> 24 & 255, q = H >> 16 & 255, m = H >> 8 & 255, O = H & 255, V = i.sbox[0][c] + i.sbox[1][q];
|
|
7025
|
+
return V = V ^ i.sbox[2][m], V = V + i.sbox[3][O], V;
|
|
7026
7026
|
}
|
|
7027
7027
|
function X(i, H, c) {
|
|
7028
|
-
let q = H, m = c,
|
|
7028
|
+
let q = H, m = c, O;
|
|
7029
7029
|
for (let V = 0; V < u; ++V)
|
|
7030
|
-
q = q ^ i.pbox[V], m = p(i, q) ^ m,
|
|
7031
|
-
return
|
|
7030
|
+
q = q ^ i.pbox[V], m = p(i, q) ^ m, O = q, q = m, m = O;
|
|
7031
|
+
return O = q, q = m, m = O, m = m ^ i.pbox[u], q = q ^ i.pbox[u + 1], { left: q, right: m };
|
|
7032
7032
|
}
|
|
7033
7033
|
function b(i, H, c) {
|
|
7034
|
-
let q = H, m = c,
|
|
7034
|
+
let q = H, m = c, O;
|
|
7035
7035
|
for (let V = u + 1; V > 1; --V)
|
|
7036
|
-
q = q ^ i.pbox[V], m = p(i, q) ^ m,
|
|
7037
|
-
return
|
|
7036
|
+
q = q ^ i.pbox[V], m = p(i, q) ^ m, O = q, q = m, m = O;
|
|
7037
|
+
return O = q, q = m, m = O, m = m ^ i.pbox[1], q = q ^ i.pbox[0], { left: q, right: m };
|
|
7038
7038
|
}
|
|
7039
7039
|
function a(i, H, c) {
|
|
7040
|
-
for (let
|
|
7041
|
-
i.sbox[
|
|
7042
|
-
for (let
|
|
7043
|
-
i.sbox[
|
|
7040
|
+
for (let N = 0; N < 4; N++) {
|
|
7041
|
+
i.sbox[N] = [];
|
|
7042
|
+
for (let x = 0; x < 256; x++)
|
|
7043
|
+
i.sbox[N][x] = t[N][x];
|
|
7044
7044
|
}
|
|
7045
7045
|
let q = 0;
|
|
7046
|
-
for (let
|
|
7047
|
-
i.pbox[
|
|
7048
|
-
let m = 0,
|
|
7049
|
-
for (let
|
|
7050
|
-
V = X(i, m,
|
|
7051
|
-
for (let
|
|
7052
|
-
for (let
|
|
7053
|
-
V = X(i, m,
|
|
7046
|
+
for (let N = 0; N < u + 2; N++)
|
|
7047
|
+
i.pbox[N] = z[N] ^ H[q], q++, q >= c && (q = 0);
|
|
7048
|
+
let m = 0, O = 0, V = 0;
|
|
7049
|
+
for (let N = 0; N < u + 2; N += 2)
|
|
7050
|
+
V = X(i, m, O), m = V.left, O = V.right, i.pbox[N] = m, i.pbox[N + 1] = O;
|
|
7051
|
+
for (let N = 0; N < 4; N++)
|
|
7052
|
+
for (let x = 0; x < 256; x += 2)
|
|
7053
|
+
V = X(i, m, O), m = V.left, O = V.right, i.sbox[N][x] = m, i.sbox[N][x + 1] = O;
|
|
7054
7054
|
return !0;
|
|
7055
7055
|
}
|
|
7056
7056
|
var s = P.Blowfish = r.extend({
|
|
@@ -7079,7 +7079,7 @@ function Gu() {
|
|
|
7079
7079
|
}
|
|
7080
7080
|
(function(e, A) {
|
|
7081
7081
|
(function(f, v, n) {
|
|
7082
|
-
e.exports = v(XA(), C9(), mu(), lu(), Le(), xu(), ye(), rn(),
|
|
7082
|
+
e.exports = v(XA(), C9(), mu(), lu(), Le(), xu(), ye(), rn(), l7(), Ou(), tn(), Du(), Vu(), Nu(), x7(), Ru(), xe(), TA(), ju(), ou(), Zu(), Tu(), Lu(), yu(), wu(), Wu(), Eu(), Iu(), gu(), Mu(), Bu(), ku(), Qu(), Yu(), Gu());
|
|
7083
7083
|
})(uA, function(f) {
|
|
7084
7084
|
return f;
|
|
7085
7085
|
});
|
|
@@ -7128,9 +7128,9 @@ async function Pn(e, A) {
|
|
|
7128
7128
|
} : Promise.reject("秘钥为空");
|
|
7129
7129
|
}
|
|
7130
7130
|
function un(e, A, f, v, n) {
|
|
7131
|
-
let r =
|
|
7131
|
+
let r = _3(e, A), P = {}, u = YA.mode.CBC;
|
|
7132
7132
|
if (v === "CFB" ? u = YA.mode.CFB : v === "OFB" ? u = YA.mode.OFB : v === "ECB" && (u = YA.mode.ECB), P.mode = u, v !== "ECB") {
|
|
7133
|
-
let d =
|
|
7133
|
+
let d = _3(f, A === 8 ? 8 : 16);
|
|
7134
7134
|
P.iv = d;
|
|
7135
7135
|
}
|
|
7136
7136
|
let z = YA.pad.Pkcs7;
|
|
@@ -7187,7 +7187,7 @@ async function $u(e) {
|
|
|
7187
7187
|
let { encoding: A = "base64" } = e || {};
|
|
7188
7188
|
return A = A.trim().toLowerCase(), ["base64", "hex"].indexOf(A) !== -1 ? A : Promise.reject("encoding配置错误");
|
|
7189
7189
|
}
|
|
7190
|
-
function
|
|
7190
|
+
function _3(e, A) {
|
|
7191
7191
|
let f = unescape(encodeURIComponent(e)), v = f.length;
|
|
7192
7192
|
if (A = A || v, v > A)
|
|
7193
7193
|
f = f.substring(0, A);
|
|
@@ -7317,7 +7317,7 @@ const bn = async (e, A) => {
|
|
|
7317
7317
|
}, r7 = (e) => {
|
|
7318
7318
|
const A = new URL(e, location.origin);
|
|
7319
7319
|
return ["true", "1"].includes(A.searchParams.get("autoSetToken")) && (A.searchParams.append("access_token", et()), A.searchParams.delete("autoSetToken")), A.toString();
|
|
7320
|
-
}, an = "v1", Pz = gA(`/api/personal-center/personal-server/${an}`), uz = gA(`/api/enterpriseright/permission/${an}`), zz = Pz.get("/info"), dz = Bv.get("/user-info"), Xz = uz.get("/user/tenant"), cz =
|
|
7320
|
+
}, an = "v1", Pz = gA(`/api/personal-center/personal-server/${an}`), uz = gA(`/api/enterpriseright/permission/${an}`), zz = Pz.get("/info"), dz = Bv.get("/user-info"), Xz = uz.get("/user/tenant"), cz = i7.post("/tenant/page"), bz = "v1", az = gA(`/api/user-portrait/user-data/${bz}`), sn = az.post("/data/actions", (e) => (e.ignoreErrorMessage = !0, e)), qn = "pc", Hn = "pc", pn = async (e) => {
|
|
7321
7321
|
const A = JSON.parse(sessionStorage.getItem("access-sys") || "{}");
|
|
7322
7322
|
(A == null ? void 0 : A.projectId) !== e && (await sn().run({
|
|
7323
7323
|
action: "access-sys",
|
|
@@ -7431,9 +7431,9 @@ var Iz = Object.prototype, gz = Iz.toString;
|
|
|
7431
7431
|
function Mz(e) {
|
|
7432
7432
|
return gz.call(e);
|
|
7433
7433
|
}
|
|
7434
|
-
var Bz = "[object Null]", kz = "[object Undefined]",
|
|
7434
|
+
var Bz = "[object Null]", kz = "[object Undefined]", $3 = Se ? Se.toStringTag : void 0;
|
|
7435
7435
|
function N9(e) {
|
|
7436
|
-
return e == null ? e === void 0 ? kz : Bz :
|
|
7436
|
+
return e == null ? e === void 0 ? kz : Bz : $3 && $3 in Object(e) ? Ez(e) : Mz(e);
|
|
7437
7437
|
}
|
|
7438
7438
|
function R9(e) {
|
|
7439
7439
|
var A = typeof e;
|
|
@@ -7446,12 +7446,12 @@ function Dn(e) {
|
|
|
7446
7446
|
var A = N9(e);
|
|
7447
7447
|
return A == Yz || A == Gz || A == Qz || A == Uz;
|
|
7448
7448
|
}
|
|
7449
|
-
var Jf = Xe["__core-js_shared__"],
|
|
7449
|
+
var Jf = Xe["__core-js_shared__"], Av = function() {
|
|
7450
7450
|
var e = /[^.]+$/.exec(Jf && Jf.keys && Jf.keys.IE_PROTO || "");
|
|
7451
7451
|
return e ? "Symbol(src)_1." + e : "";
|
|
7452
7452
|
}();
|
|
7453
7453
|
function Jz(e) {
|
|
7454
|
-
return !!
|
|
7454
|
+
return !!Av && Av in e;
|
|
7455
7455
|
}
|
|
7456
7456
|
var hz = Function.prototype, Fz = hz.toString;
|
|
7457
7457
|
function we(e) {
|
|
@@ -7588,7 +7588,7 @@ function Od(e, A) {
|
|
|
7588
7588
|
;
|
|
7589
7589
|
return e;
|
|
7590
7590
|
}
|
|
7591
|
-
var
|
|
7591
|
+
var ev = function() {
|
|
7592
7592
|
try {
|
|
7593
7593
|
var e = We(Object, "defineProperty");
|
|
7594
7594
|
return e({}, "", {}), e;
|
|
@@ -7596,7 +7596,7 @@ var fv = function() {
|
|
|
7596
7596
|
}
|
|
7597
7597
|
}();
|
|
7598
7598
|
function Vn(e, A, f) {
|
|
7599
|
-
A == "__proto__" &&
|
|
7599
|
+
A == "__proto__" && ev ? ev(e, A, {
|
|
7600
7600
|
configurable: !0,
|
|
7601
7601
|
enumerable: !0,
|
|
7602
7602
|
value: f,
|
|
@@ -7626,18 +7626,18 @@ function j9(e) {
|
|
|
7626
7626
|
return e != null && typeof e == "object";
|
|
7627
7627
|
}
|
|
7628
7628
|
var Rd = "[object Arguments]";
|
|
7629
|
-
function
|
|
7629
|
+
function fv(e) {
|
|
7630
7630
|
return j9(e) && N9(e) == Rd;
|
|
7631
7631
|
}
|
|
7632
|
-
var Rn = Object.prototype, jd = Rn.hasOwnProperty, od = Rn.propertyIsEnumerable, Zd =
|
|
7632
|
+
var Rn = Object.prototype, jd = Rn.hasOwnProperty, od = Rn.propertyIsEnumerable, Zd = fv(/* @__PURE__ */ function() {
|
|
7633
7633
|
return arguments;
|
|
7634
|
-
}()) ?
|
|
7634
|
+
}()) ? fv : function(e) {
|
|
7635
7635
|
return j9(e) && jd.call(e, "callee") && !od.call(e, "callee");
|
|
7636
|
-
},
|
|
7636
|
+
}, O7 = Array.isArray;
|
|
7637
7637
|
function Td() {
|
|
7638
7638
|
return !1;
|
|
7639
7639
|
}
|
|
7640
|
-
var jn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
7640
|
+
var jn = typeof exports == "object" && exports && !exports.nodeType && exports, vv = jn && typeof module == "object" && module && !module.nodeType && module, Ld = vv && vv.exports === jn, nv = Ld ? Xe.Buffer : void 0, yd = nv ? nv.isBuffer : void 0, on = yd || Td, wd = 9007199254740991, Wd = /^(?:0|[1-9]\d*)$/;
|
|
7641
7641
|
function Ed(e, A) {
|
|
7642
7642
|
var f = typeof e;
|
|
7643
7643
|
return A = A ?? wd, !!A && (f == "number" || f != "symbol" && Wd.test(e)) && e > -1 && e % 1 == 0 && e < A;
|
|
@@ -7652,7 +7652,7 @@ pA[gd] = pA[Md] = pA[Cd] = pA[Bd] = pA[_d] = pA[kd] = pA[Qd] = pA[Yd] = pA[Gd] =
|
|
|
7652
7652
|
function u5(e) {
|
|
7653
7653
|
return j9(e) && Zn(e.length) && !!pA[N9(e)];
|
|
7654
7654
|
}
|
|
7655
|
-
function
|
|
7655
|
+
function D7(e) {
|
|
7656
7656
|
return function(A) {
|
|
7657
7657
|
return e(A);
|
|
7658
7658
|
};
|
|
@@ -7663,9 +7663,9 @@ var Tn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
7663
7663
|
return e || hf && hf.binding && hf.binding("util");
|
|
7664
7664
|
} catch {
|
|
7665
7665
|
}
|
|
7666
|
-
}(),
|
|
7666
|
+
}(), rv = Ke && Ke.isTypedArray, d5 = rv ? D7(rv) : u5, X5 = Object.prototype, c5 = X5.hasOwnProperty;
|
|
7667
7667
|
function Ln(e, A) {
|
|
7668
|
-
var f =
|
|
7668
|
+
var f = O7(e), v = !f && Zd(e), n = !f && !v && on(e), r = !f && !v && !n && d5(e), P = f || v || n || r, u = P ? Nd(e.length, String) : [], z = u.length;
|
|
7669
7669
|
for (var t in e)
|
|
7670
7670
|
(A || c5.call(e, t)) && !(P && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
7671
7671
|
(t == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -7675,7 +7675,7 @@ function Ln(e, A) {
|
|
|
7675
7675
|
return u;
|
|
7676
7676
|
}
|
|
7677
7677
|
var b5 = Object.prototype;
|
|
7678
|
-
function
|
|
7678
|
+
function V7(e) {
|
|
7679
7679
|
var A = e && e.constructor, f = typeof A == "function" && A.prototype || b5;
|
|
7680
7680
|
return e === f;
|
|
7681
7681
|
}
|
|
@@ -7686,7 +7686,7 @@ function yn(e, A) {
|
|
|
7686
7686
|
}
|
|
7687
7687
|
var a5 = yn(Object.keys, Object), i5 = Object.prototype, s5 = i5.hasOwnProperty;
|
|
7688
7688
|
function q5(e) {
|
|
7689
|
-
if (!
|
|
7689
|
+
if (!V7(e))
|
|
7690
7690
|
return a5(e);
|
|
7691
7691
|
var A = [];
|
|
7692
7692
|
for (var f in Object(e))
|
|
@@ -7696,11 +7696,11 @@ function q5(e) {
|
|
|
7696
7696
|
function wn(e) {
|
|
7697
7697
|
return e != null && Zn(e.length) && !Dn(e);
|
|
7698
7698
|
}
|
|
7699
|
-
function
|
|
7699
|
+
function N7(e) {
|
|
7700
7700
|
return wn(e) ? Ln(e) : q5(e);
|
|
7701
7701
|
}
|
|
7702
7702
|
function H5(e, A) {
|
|
7703
|
-
return e && Af(A,
|
|
7703
|
+
return e && Af(A, N7(A), e);
|
|
7704
7704
|
}
|
|
7705
7705
|
function p5(e) {
|
|
7706
7706
|
var A = [];
|
|
@@ -7713,22 +7713,22 @@ var m5 = Object.prototype, l5 = m5.hasOwnProperty;
|
|
|
7713
7713
|
function x5(e) {
|
|
7714
7714
|
if (!R9(e))
|
|
7715
7715
|
return p5(e);
|
|
7716
|
-
var A =
|
|
7716
|
+
var A = V7(e), f = [];
|
|
7717
7717
|
for (var v in e)
|
|
7718
7718
|
v == "constructor" && (A || !l5.call(e, v)) || f.push(v);
|
|
7719
7719
|
return f;
|
|
7720
7720
|
}
|
|
7721
|
-
function
|
|
7721
|
+
function R7(e) {
|
|
7722
7722
|
return wn(e) ? Ln(e, !0) : x5(e);
|
|
7723
7723
|
}
|
|
7724
7724
|
function O5(e, A) {
|
|
7725
|
-
return e && Af(A,
|
|
7725
|
+
return e && Af(A, R7(A), e);
|
|
7726
7726
|
}
|
|
7727
|
-
var Wn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
7727
|
+
var Wn = typeof exports == "object" && exports && !exports.nodeType && exports, tv = Wn && typeof module == "object" && module && !module.nodeType && module, D5 = tv && tv.exports === Wn, Pv = D5 ? Xe.Buffer : void 0, uv = Pv ? Pv.allocUnsafe : void 0;
|
|
7728
7728
|
function V5(e, A) {
|
|
7729
7729
|
if (A)
|
|
7730
7730
|
return e.slice();
|
|
7731
|
-
var f = e.length, v =
|
|
7731
|
+
var f = e.length, v = uv ? uv(f) : new e.constructor(f);
|
|
7732
7732
|
return e.copy(v), v;
|
|
7733
7733
|
}
|
|
7734
7734
|
function N5(e, A) {
|
|
@@ -7747,13 +7747,13 @@ function R5(e, A) {
|
|
|
7747
7747
|
function En() {
|
|
7748
7748
|
return [];
|
|
7749
7749
|
}
|
|
7750
|
-
var j5 = Object.prototype, o5 = j5.propertyIsEnumerable,
|
|
7751
|
-
return e == null ? [] : (e = Object(e), R5(
|
|
7750
|
+
var j5 = Object.prototype, o5 = j5.propertyIsEnumerable, zv = Object.getOwnPropertySymbols, j7 = zv ? function(e) {
|
|
7751
|
+
return e == null ? [] : (e = Object(e), R5(zv(e), function(A) {
|
|
7752
7752
|
return o5.call(e, A);
|
|
7753
7753
|
}));
|
|
7754
7754
|
} : En;
|
|
7755
7755
|
function Z5(e, A) {
|
|
7756
|
-
return Af(e,
|
|
7756
|
+
return Af(e, j7(e), A);
|
|
7757
7757
|
}
|
|
7758
7758
|
function In(e, A) {
|
|
7759
7759
|
for (var f = -1, v = A.length, n = e.length; ++f < v; )
|
|
@@ -7762,7 +7762,7 @@ function In(e, A) {
|
|
|
7762
7762
|
}
|
|
7763
7763
|
var gn = yn(Object.getPrototypeOf, Object), T5 = Object.getOwnPropertySymbols, Mn = T5 ? function(e) {
|
|
7764
7764
|
for (var A = []; e; )
|
|
7765
|
-
In(A,
|
|
7765
|
+
In(A, j7(e)), e = gn(e);
|
|
7766
7766
|
return A;
|
|
7767
7767
|
} : En;
|
|
7768
7768
|
function L5(e, A) {
|
|
@@ -7770,29 +7770,29 @@ function L5(e, A) {
|
|
|
7770
7770
|
}
|
|
7771
7771
|
function Bn(e, A, f) {
|
|
7772
7772
|
var v = A(e);
|
|
7773
|
-
return
|
|
7773
|
+
return O7(e) ? v : In(v, f(e));
|
|
7774
7774
|
}
|
|
7775
7775
|
function y5(e) {
|
|
7776
|
-
return Bn(e,
|
|
7776
|
+
return Bn(e, N7, j7);
|
|
7777
7777
|
}
|
|
7778
7778
|
function w5(e) {
|
|
7779
|
-
return Bn(e,
|
|
7779
|
+
return Bn(e, R7, Mn);
|
|
7780
7780
|
}
|
|
7781
|
-
var t7 = We(Xe, "DataView"), P7 = We(Xe, "Promise"), u7 = We(Xe, "Set"), z7 = We(Xe, "WeakMap"),
|
|
7782
|
-
(t7 && ce(new t7(new ArrayBuffer(1))) !=
|
|
7781
|
+
var t7 = We(Xe, "DataView"), P7 = We(Xe, "Promise"), u7 = We(Xe, "Set"), z7 = We(Xe, "WeakMap"), dv = "[object Map]", W5 = "[object Object]", Xv = "[object Promise]", cv = "[object Set]", bv = "[object WeakMap]", av = "[object DataView]", E5 = we(t7), I5 = we(H9), g5 = we(P7), M5 = we(u7), B5 = we(z7), ce = N9;
|
|
7782
|
+
(t7 && ce(new t7(new ArrayBuffer(1))) != av || H9 && ce(new H9()) != dv || P7 && ce(P7.resolve()) != Xv || u7 && ce(new u7()) != cv || z7 && ce(new z7()) != bv) && (ce = function(e) {
|
|
7783
7783
|
var A = N9(e), f = A == W5 ? e.constructor : void 0, v = f ? we(f) : "";
|
|
7784
7784
|
if (v)
|
|
7785
7785
|
switch (v) {
|
|
7786
7786
|
case E5:
|
|
7787
|
-
return
|
|
7787
|
+
return av;
|
|
7788
7788
|
case I5:
|
|
7789
|
-
return
|
|
7789
|
+
return dv;
|
|
7790
7790
|
case g5:
|
|
7791
|
-
return
|
|
7791
|
+
return Xv;
|
|
7792
7792
|
case M5:
|
|
7793
|
-
return
|
|
7793
|
+
return cv;
|
|
7794
7794
|
case B5:
|
|
7795
|
-
return
|
|
7795
|
+
return bv;
|
|
7796
7796
|
}
|
|
7797
7797
|
return A;
|
|
7798
7798
|
});
|
|
@@ -7801,13 +7801,13 @@ function Y5(e) {
|
|
|
7801
7801
|
var A = e.length, f = new e.constructor(A);
|
|
7802
7802
|
return A && typeof e[0] == "string" && Q5.call(e, "index") && (f.index = e.index, f.input = e.input), f;
|
|
7803
7803
|
}
|
|
7804
|
-
var
|
|
7805
|
-
function
|
|
7804
|
+
var iv = Xe.Uint8Array;
|
|
7805
|
+
function o7(e) {
|
|
7806
7806
|
var A = new e.constructor(e.byteLength);
|
|
7807
|
-
return new
|
|
7807
|
+
return new iv(A).set(new iv(e)), A;
|
|
7808
7808
|
}
|
|
7809
7809
|
function G5(e, A) {
|
|
7810
|
-
var f = A ?
|
|
7810
|
+
var f = A ? o7(e.buffer) : e.buffer;
|
|
7811
7811
|
return new e.constructor(f, e.byteOffset, e.byteLength);
|
|
7812
7812
|
}
|
|
7813
7813
|
var U5 = /\w*$/;
|
|
@@ -7815,12 +7815,12 @@ function J5(e) {
|
|
|
7815
7815
|
var A = new e.constructor(e.source, U5.exec(e));
|
|
7816
7816
|
return A.lastIndex = e.lastIndex, A;
|
|
7817
7817
|
}
|
|
7818
|
-
var
|
|
7818
|
+
var sv = Se ? Se.prototype : void 0, qv = sv ? sv.valueOf : void 0;
|
|
7819
7819
|
function h5(e) {
|
|
7820
|
-
return
|
|
7820
|
+
return qv ? Object(qv.call(e)) : {};
|
|
7821
7821
|
}
|
|
7822
7822
|
function F5(e, A) {
|
|
7823
|
-
var f = A ?
|
|
7823
|
+
var f = A ? o7(e.buffer) : e.buffer;
|
|
7824
7824
|
return new e.constructor(f, e.byteOffset, e.length);
|
|
7825
7825
|
}
|
|
7826
7826
|
var S5 = "[object Boolean]", K5 = "[object Date]", C5 = "[object Map]", _5 = "[object Number]", $5 = "[object RegExp]", A6 = "[object Set]", e6 = "[object String]", f6 = "[object Symbol]", v6 = "[object ArrayBuffer]", n6 = "[object DataView]", r6 = "[object Float32Array]", t6 = "[object Float64Array]", P6 = "[object Int8Array]", u6 = "[object Int16Array]", z6 = "[object Int32Array]", d6 = "[object Uint8Array]", X6 = "[object Uint8ClampedArray]", c6 = "[object Uint16Array]", b6 = "[object Uint32Array]";
|
|
@@ -7828,7 +7828,7 @@ function a6(e, A, f) {
|
|
|
7828
7828
|
var v = e.constructor;
|
|
7829
7829
|
switch (A) {
|
|
7830
7830
|
case v6:
|
|
7831
|
-
return
|
|
7831
|
+
return o7(e);
|
|
7832
7832
|
case S5:
|
|
7833
7833
|
case K5:
|
|
7834
7834
|
return new v(+e);
|
|
@@ -7857,31 +7857,31 @@ function a6(e, A, f) {
|
|
|
7857
7857
|
return h5(e);
|
|
7858
7858
|
}
|
|
7859
7859
|
}
|
|
7860
|
-
var
|
|
7860
|
+
var Hv = Object.create, i6 = /* @__PURE__ */ function() {
|
|
7861
7861
|
function e() {
|
|
7862
7862
|
}
|
|
7863
7863
|
return function(A) {
|
|
7864
7864
|
if (!R9(A))
|
|
7865
7865
|
return {};
|
|
7866
|
-
if (
|
|
7867
|
-
return
|
|
7866
|
+
if (Hv)
|
|
7867
|
+
return Hv(A);
|
|
7868
7868
|
e.prototype = A;
|
|
7869
7869
|
var f = new e();
|
|
7870
7870
|
return e.prototype = void 0, f;
|
|
7871
7871
|
};
|
|
7872
7872
|
}();
|
|
7873
7873
|
function s6(e) {
|
|
7874
|
-
return typeof e.constructor == "function" && !
|
|
7874
|
+
return typeof e.constructor == "function" && !V7(e) ? i6(gn(e)) : {};
|
|
7875
7875
|
}
|
|
7876
7876
|
var q6 = "[object Map]";
|
|
7877
7877
|
function H6(e) {
|
|
7878
7878
|
return j9(e) && ce(e) == q6;
|
|
7879
7879
|
}
|
|
7880
|
-
var
|
|
7880
|
+
var pv = Ke && Ke.isMap, p6 = pv ? D7(pv) : H6, m6 = "[object Set]";
|
|
7881
7881
|
function l6(e) {
|
|
7882
7882
|
return j9(e) && ce(e) == m6;
|
|
7883
7883
|
}
|
|
7884
|
-
var
|
|
7884
|
+
var mv = Ke && Ke.isSet, x6 = mv ? D7(mv) : l6, O6 = 1, D6 = 2, V6 = 4, kn = "[object Arguments]", N6 = "[object Array]", R6 = "[object Boolean]", j6 = "[object Date]", o6 = "[object Error]", Qn = "[object Function]", Z6 = "[object GeneratorFunction]", T6 = "[object Map]", L6 = "[object Number]", Yn = "[object Object]", y6 = "[object RegExp]", w6 = "[object Set]", W6 = "[object String]", E6 = "[object Symbol]", I6 = "[object WeakMap]", g6 = "[object ArrayBuffer]", M6 = "[object DataView]", B6 = "[object Float32Array]", k6 = "[object Float64Array]", Q6 = "[object Int8Array]", Y6 = "[object Int16Array]", G6 = "[object Int32Array]", U6 = "[object Uint8Array]", J6 = "[object Uint8ClampedArray]", h6 = "[object Uint16Array]", F6 = "[object Uint32Array]", HA = {};
|
|
7885
7885
|
HA[kn] = HA[N6] = HA[g6] = HA[M6] = HA[R6] = HA[j6] = HA[B6] = HA[k6] = HA[Q6] = HA[Y6] = HA[G6] = HA[T6] = HA[L6] = HA[Yn] = HA[y6] = HA[w6] = HA[W6] = HA[E6] = HA[U6] = HA[J6] = HA[h6] = HA[F6] = !0;
|
|
7886
7886
|
HA[o6] = HA[Qn] = HA[I6] = !1;
|
|
7887
7887
|
function g9(e, A, f, v, n, r) {
|
|
@@ -7890,7 +7890,7 @@ function g9(e, A, f, v, n, r) {
|
|
|
7890
7890
|
return P;
|
|
7891
7891
|
if (!R9(e))
|
|
7892
7892
|
return e;
|
|
7893
|
-
var d =
|
|
7893
|
+
var d = O7(e);
|
|
7894
7894
|
if (d) {
|
|
7895
7895
|
if (P = Y5(e), !u)
|
|
7896
7896
|
return N5(e, P);
|
|
@@ -7916,7 +7916,7 @@ function g9(e, A, f, v, n, r) {
|
|
|
7916
7916
|
}) : p6(e) && e.forEach(function(i, H) {
|
|
7917
7917
|
P.set(H, g9(i, A, f, H, e, r));
|
|
7918
7918
|
});
|
|
7919
|
-
var a = t ? z ? w5 : y5 : z ?
|
|
7919
|
+
var a = t ? z ? w5 : y5 : z ? R7 : N7, s = d ? void 0 : a(e);
|
|
7920
7920
|
return Od(s || e, function(i, H) {
|
|
7921
7921
|
s && (H = i, i = e[H]), Nn(P, H, g9(i, A, f, H, e, r));
|
|
7922
7922
|
}), P;
|
|
@@ -7953,7 +7953,7 @@ const Q9 = (e, A = "") => {
|
|
|
7953
7953
|
}, d7 = (e) => {
|
|
7954
7954
|
const A = cA().subAppList ?? [];
|
|
7955
7955
|
let { index: f, target: v } = C6(A, e);
|
|
7956
|
-
return A.splice(f, 1), A.length ? FA([{ key: "subAppList", value: A }]) :
|
|
7956
|
+
return A.splice(f, 1), A.length ? FA([{ key: "subAppList", value: A }]) : m7(), JA([
|
|
7957
7957
|
{ key: "currentCode", value: "" },
|
|
7958
7958
|
{ key: "currentTab", value: {} },
|
|
7959
7959
|
{ key: `preTab:${e}`, value: {} },
|
|
@@ -8005,7 +8005,7 @@ const Q9 = (e, A = "") => {
|
|
|
8005
8005
|
{ key: `preTab:${e}`, value: {} },
|
|
8006
8006
|
{ key: `tabMap:${e}`, value: [] }
|
|
8007
8007
|
]), d7(e));
|
|
8008
|
-
},
|
|
8008
|
+
}, Z7 = async (e) => {
|
|
8009
8009
|
const [A, f] = await pz().run({
|
|
8010
8010
|
code: e,
|
|
8011
8011
|
showBtn: !0,
|
|
@@ -8031,7 +8031,7 @@ const Q9 = (e, A = "") => {
|
|
|
8031
8031
|
let z = [], t = [];
|
|
8032
8032
|
const d = cA().subAppList ?? [];
|
|
8033
8033
|
if (d.length && (z = ((a = d.find((H) => H.code === A.code)) == null ? void 0 : a.menus) ?? []), !z.length) {
|
|
8034
|
-
const { menus: H, originalMenus: c } = await
|
|
8034
|
+
const { menus: H, originalMenus: c } = await Z7(u);
|
|
8035
8035
|
z = H ?? [], t = c ?? [];
|
|
8036
8036
|
}
|
|
8037
8037
|
if (!z.length && (!r || !P))
|
|
@@ -8045,8 +8045,8 @@ const Q9 = (e, A = "") => {
|
|
|
8045
8045
|
});
|
|
8046
8046
|
const q = Wr(H.endTime) || H.endTime == 0 || H.endTime === 253370736e6 || H.endTime === "253370736000000" ? "-" : Number(H.endTime);
|
|
8047
8047
|
if (c = e7().endOf("day") > e7(q).endOf("day"), !f && !v && H.id && !c) {
|
|
8048
|
-
const
|
|
8049
|
-
|
|
8048
|
+
const O = CA(z).find((V) => V.routeUrl === "/statisticalReport");
|
|
8049
|
+
O && (f = O.code);
|
|
8050
8050
|
}
|
|
8051
8051
|
}
|
|
8052
8052
|
}
|
|
@@ -8055,12 +8055,12 @@ const Q9 = (e, A = "") => {
|
|
|
8055
8055
|
var m;
|
|
8056
8056
|
return {
|
|
8057
8057
|
...q,
|
|
8058
|
-
name: ((m = CA(z).find((
|
|
8058
|
+
name: ((m = CA(z).find((O) => O.code === q.code)) == null ? void 0 : m.name) ?? q.name
|
|
8059
8059
|
};
|
|
8060
8060
|
})) ?? [];
|
|
8061
8061
|
if (c.length) {
|
|
8062
8062
|
const q = c.filter(
|
|
8063
|
-
(m) => f && f === m.code || v && v === `/${m.applicationPath}${m.path}`.replace(/\/\//g, "/") || CA(z).map((
|
|
8063
|
+
(m) => f && f === m.code || v && v === `/${m.applicationPath}${m.path}`.replace(/\/\//g, "/") || CA(z).map((O) => O.code).includes(m.code)
|
|
8064
8064
|
);
|
|
8065
8065
|
JA([
|
|
8066
8066
|
{
|
|
@@ -8106,7 +8106,7 @@ const Q9 = (e, A = "") => {
|
|
|
8106
8106
|
{ key: "currentSubAppCode", value: u },
|
|
8107
8107
|
{ key: "subAppList", value: m }
|
|
8108
8108
|
]);
|
|
8109
|
-
const
|
|
8109
|
+
const O = {
|
|
8110
8110
|
currentApplication: A.routeUrl,
|
|
8111
8111
|
applicationPath: p.applicationPath,
|
|
8112
8112
|
applicationCode: u,
|
|
@@ -8123,34 +8123,34 @@ const Q9 = (e, A = "") => {
|
|
|
8123
8123
|
},
|
|
8124
8124
|
{
|
|
8125
8125
|
key: "currentTab",
|
|
8126
|
-
value:
|
|
8126
|
+
value: O
|
|
8127
8127
|
},
|
|
8128
8128
|
{
|
|
8129
8129
|
key: `tabMap:${u}`,
|
|
8130
|
-
value:
|
|
8130
|
+
value: O
|
|
8131
8131
|
},
|
|
8132
8132
|
{
|
|
8133
8133
|
key: `preTab:${u}`,
|
|
8134
|
-
value:
|
|
8134
|
+
value: O
|
|
8135
8135
|
}
|
|
8136
8136
|
]);
|
|
8137
8137
|
}
|
|
8138
8138
|
return { menuConfig: z, currentApp: A, currentMenu: p, query: q, microPath: c };
|
|
8139
8139
|
}
|
|
8140
8140
|
return { menuConfig: z, currentApp: A, currentMenu: null, query: { ...n.query, app: u } };
|
|
8141
|
-
}, e1 = ie.get("/appcategory"), f1 = ie.get("/app/common"),
|
|
8141
|
+
}, e1 = ie.get("/appcategory"), f1 = ie.get("/app/common"), lv = T(!1), X7 = T([]), v1 = vA(() => {
|
|
8142
8142
|
var e;
|
|
8143
8143
|
return ((e = X7.value) == null ? void 0 : e.map((A) => A.apps).flat()) || [];
|
|
8144
8144
|
}), Gn = async () => {
|
|
8145
|
-
|
|
8145
|
+
lv.value = !0;
|
|
8146
8146
|
const [e, A] = await e1().run({ userType: 1 });
|
|
8147
|
-
return
|
|
8148
|
-
},
|
|
8147
|
+
return lv.value = !1, e ? (X7.value = [], { navConfig: [] }) : (X7.value = A, FA([{ key: "appcategorys", value: A }]), { navConfig: A });
|
|
8148
|
+
}, xv = T([]), n1 = async () => {
|
|
8149
8149
|
var P;
|
|
8150
8150
|
const [e, A] = await f1().run();
|
|
8151
8151
|
if (e)
|
|
8152
|
-
return
|
|
8153
|
-
|
|
8152
|
+
return xv.value = [], { fixedAppsConfig: [] };
|
|
8153
|
+
xv.value = A;
|
|
8154
8154
|
const f = ((P = cA()) == null ? void 0 : P.subAppList) || [], v = f.map((u) => u.code), n = A.filter((u) => !v.includes(u.code)), r = v1.value.filter((u) => [...f, ...n].map((z) => z.code).includes(u.code));
|
|
8155
8155
|
return FA([{ key: "subAppList", value: r }]), { fixedAppsConfig: A };
|
|
8156
8156
|
}, Un = "v1", r1 = J9.get("/organization/authProjectTree"), t1 = gA(`/api/customer/customer/${Un}`), P1 = t1.get("/project/list"), u1 = gA(`/api/project/project-server/${Un}`), z1 = u1.get("/list/message"), d1 = async () => {
|
|
@@ -8170,7 +8170,7 @@ const Q9 = (e, A = "") => {
|
|
|
8170
8170
|
const [z, t = []] = await r1().run();
|
|
8171
8171
|
if (A = t, A && A.length) {
|
|
8172
8172
|
const d = ((u = Ae()) == null ? void 0 : u.id) || 0;
|
|
8173
|
-
d && (f =
|
|
8173
|
+
d && (f = e3(A, (p) => p.id === d)), (!d || !f) && (f = e3(A, (p) => p.type === 7));
|
|
8174
8174
|
}
|
|
8175
8175
|
}
|
|
8176
8176
|
const [n, r] = await z1().run({ projectId: (f == null ? void 0 : f.id) ?? 0 });
|
|
@@ -8181,7 +8181,7 @@ const Q9 = (e, A = "") => {
|
|
|
8181
8181
|
}, Jn = async () => {
|
|
8182
8182
|
const e = le() ? a1 : b1, [A, f] = await e().run();
|
|
8183
8183
|
return A ? { platformConfig: null } : { platformConfig: f };
|
|
8184
|
-
}, pe = T(null),
|
|
8184
|
+
}, pe = T(null), T7 = async () => {
|
|
8185
8185
|
const [e, A] = await s1().run();
|
|
8186
8186
|
return e ? { homeConfig: null } : (A && (eu(A), pe.value = A), { homeConfig: A });
|
|
8187
8187
|
}, te = T({ style: 1, skinStyle: "default" }), hn = async () => {
|
|
@@ -8462,7 +8462,7 @@ const Q9 = (e, A = "") => {
|
|
|
8462
8462
|
"div",
|
|
8463
8463
|
v8,
|
|
8464
8464
|
[
|
|
8465
|
-
g(D(
|
|
8465
|
+
g(D(H7), {
|
|
8466
8466
|
width: "100%",
|
|
8467
8467
|
"label-length": 6,
|
|
8468
8468
|
"align-type": "horizontal",
|
|
@@ -8490,7 +8490,7 @@ const Q9 = (e, A = "") => {
|
|
|
8490
8490
|
[QA, r.isShow]
|
|
8491
8491
|
]);
|
|
8492
8492
|
}
|
|
8493
|
-
}), r8 = /* @__PURE__ */ ZA(n8, [["__scopeId", "data-v-c6070d29"]]), o9 = "v1", t8 = `/api/portal/manager/${o9}`,
|
|
8493
|
+
}), r8 = /* @__PURE__ */ ZA(n8, [["__scopeId", "data-v-c6070d29"]]), o9 = "v1", t8 = `/api/portal/manager/${o9}`, L7 = gA(t8), P8 = `/api/orchestration-engine/${o9}`, y7 = gA(`${P8}`), u8 = `/api/workbench/workbench-server/${o9}`, z8 = gA(u8), d8 = `/workflow/form/form/${o9}`, X8 = gA(d8), c8 = `/api/portal/user/${o9}`, Fn = gA(c8), b8 = Fn.get("/home"), a8 = Fn.delete("/home"), i8 = L7.get("/basics/home/type"), s8 = L7.get("/basics/tree-page"), q8 = L7.get("/basics/list"), H8 = y7.get("/device-list/arrange/page"), p8 = y7.get("/drawingArrangement/list"), m8 = y7.get("/data/arrange/page"), l8 = z8.get("/page/portal/list"), x8 = X8.post("/list"), O8 = (e) => {
|
|
8494
8494
|
const { orgInfo: A, information: f, validate: v } = e, n = T(!1), r = T(""), P = T(""), u = T(""), z = T([]), t = T({
|
|
8495
8495
|
id: "0",
|
|
8496
8496
|
path: "",
|
|
@@ -8506,8 +8506,8 @@ const Q9 = (e, A = "") => {
|
|
|
8506
8506
|
}), d = qt();
|
|
8507
8507
|
let p = !0;
|
|
8508
8508
|
const X = T(!1), { run: b } = s8(), { run: a } = q8(), s = () => {
|
|
8509
|
-
var
|
|
8510
|
-
p = !0, (
|
|
8509
|
+
var O;
|
|
8510
|
+
p = !0, (O = d.value) == null || O.resetLazyLoad();
|
|
8511
8511
|
};
|
|
8512
8512
|
return {
|
|
8513
8513
|
builtInDialog: n,
|
|
@@ -8517,10 +8517,10 @@ const Q9 = (e, A = "") => {
|
|
|
8517
8517
|
keyword: u,
|
|
8518
8518
|
treeData: z,
|
|
8519
8519
|
openBuiltInDialog: () => {
|
|
8520
|
-
var
|
|
8521
|
-
r.value = ((
|
|
8520
|
+
var O, V, N;
|
|
8521
|
+
r.value = ((O = f.value) == null ? void 0 : O.urlId) ?? "", P.value = ((V = f.value) == null ? void 0 : V.urlPath) ?? ((N = f.value) == null ? void 0 : N.urlId) ?? "", u.value = "", n.value = !0, s();
|
|
8522
8522
|
},
|
|
8523
|
-
loadChildNode: async (
|
|
8523
|
+
loadChildNode: async (O) => {
|
|
8524
8524
|
const V = {
|
|
8525
8525
|
pageIndex: 1,
|
|
8526
8526
|
pageSize: 999,
|
|
@@ -8529,30 +8529,30 @@ const Q9 = (e, A = "") => {
|
|
|
8529
8529
|
dataType: f.value.parentId === "-1" ? 2 : 3,
|
|
8530
8530
|
isTenant: A.type === 1
|
|
8531
8531
|
};
|
|
8532
|
-
p ? (p = !1, X.value = !0) : V.parentId =
|
|
8533
|
-
let [
|
|
8534
|
-
return X.value = !1,
|
|
8532
|
+
p ? (p = !1, X.value = !0) : V.parentId = O.id;
|
|
8533
|
+
let [N, x] = await b(V);
|
|
8534
|
+
return X.value = !1, N ? { data: [] } : { data: x.data || [] };
|
|
8535
8535
|
},
|
|
8536
|
-
search: async (
|
|
8537
|
-
if (!
|
|
8538
|
-
const [V,
|
|
8539
|
-
name:
|
|
8536
|
+
search: async (O) => {
|
|
8537
|
+
if (!O) return {};
|
|
8538
|
+
const [V, N] = await a({
|
|
8539
|
+
name: O,
|
|
8540
8540
|
orgId: A.id,
|
|
8541
8541
|
dataType: 2,
|
|
8542
8542
|
isTenant: A.type === 1
|
|
8543
8543
|
});
|
|
8544
|
-
return V ? {} :
|
|
8544
|
+
return V ? {} : N;
|
|
8545
8545
|
},
|
|
8546
|
-
toggleTree: (
|
|
8547
|
-
t.value =
|
|
8546
|
+
toggleTree: (O) => {
|
|
8547
|
+
t.value = O, P.value = (O == null ? void 0 : O.path) ?? O.id;
|
|
8548
8548
|
},
|
|
8549
8549
|
confirmFormBuiltIn: () => {
|
|
8550
8550
|
if (!r.value) {
|
|
8551
|
-
|
|
8551
|
+
q7.warning(B("至少选择一个链接"));
|
|
8552
8552
|
return;
|
|
8553
8553
|
}
|
|
8554
|
-
const
|
|
8555
|
-
|
|
8554
|
+
const O = f.value, V = t.value;
|
|
8555
|
+
O.routeUrl = V.routeUrl, O.originalCode = V.code, O.originalId = V.id, O.urlId = V.id, O.urlPath = V.path, O.applicationPath = V.applicationPath, v.value.routeUrl = "", O.code || (O.code = V.code), n.value = !1;
|
|
8556
8556
|
}
|
|
8557
8557
|
};
|
|
8558
8558
|
}, D8 = "/enterpriseadmin/ioc-server/ioc-server/ws";
|
|
@@ -8581,31 +8581,31 @@ const V8 = (e) => {
|
|
|
8581
8581
|
U.push({ id: w, name: eA.slice(0, -5), type: F, url: w });
|
|
8582
8582
|
}
|
|
8583
8583
|
}
|
|
8584
|
-
},
|
|
8584
|
+
}, O = () => {
|
|
8585
8585
|
t.value = 1, d.value = 0, p.value = "";
|
|
8586
8586
|
}, V = () => {
|
|
8587
8587
|
var h, F, Y;
|
|
8588
|
-
|
|
8589
|
-
},
|
|
8588
|
+
O(), r.value = ((h = A.value) == null ? void 0 : h.urlType) ?? 0, X.value = ((F = A.value) == null ? void 0 : F.urlId) ?? "", b.value = ((Y = A.value) == null ? void 0 : Y.routeUrl) ?? "", w9.afterMsg = q, l(), n.value = !0;
|
|
8589
|
+
}, N = (h, F, Y) => {
|
|
8590
8590
|
b.value = F.url;
|
|
8591
|
-
},
|
|
8591
|
+
}, x = () => {
|
|
8592
8592
|
if (!X.value) {
|
|
8593
|
-
|
|
8593
|
+
q7.warning(B("至少选择一个链接"));
|
|
8594
8594
|
return;
|
|
8595
8595
|
}
|
|
8596
8596
|
A.value.urlType = r.value, A.value.urlId = X.value, A.value.routeUrl = b.value, n.value = !1;
|
|
8597
8597
|
}, j = (h) => {
|
|
8598
|
-
|
|
8598
|
+
O(), r.value = h, X.value = "", b.value = "", l();
|
|
8599
8599
|
}, l = () => {
|
|
8600
8600
|
if (f.type !== 7) return;
|
|
8601
8601
|
({
|
|
8602
|
-
0:
|
|
8602
|
+
0: R,
|
|
8603
8603
|
1: o,
|
|
8604
8604
|
2: Z,
|
|
8605
8605
|
3: S,
|
|
8606
8606
|
4: J
|
|
8607
8607
|
})[r.value]();
|
|
8608
|
-
},
|
|
8608
|
+
}, R = async () => {
|
|
8609
8609
|
const h = ["explore", "explore-displays", `proj/${v.value}`];
|
|
8610
8610
|
w9.send(JSON.stringify(h));
|
|
8611
8611
|
}, o = async () => {
|
|
@@ -8679,8 +8679,8 @@ const V8 = (e) => {
|
|
|
8679
8679
|
tableFilter: p,
|
|
8680
8680
|
urlId: X,
|
|
8681
8681
|
openUrlDialog: V,
|
|
8682
|
-
tableChange:
|
|
8683
|
-
confirmUrl:
|
|
8682
|
+
tableChange: N,
|
|
8683
|
+
confirmUrl: x,
|
|
8684
8684
|
changeType: j,
|
|
8685
8685
|
getTable: l
|
|
8686
8686
|
};
|
|
@@ -8773,18 +8773,18 @@ const V8 = (e) => {
|
|
|
8773
8773
|
openBuiltInDialog: c,
|
|
8774
8774
|
loadChildNode: q,
|
|
8775
8775
|
search: m,
|
|
8776
|
-
toggleTree:
|
|
8776
|
+
toggleTree: O,
|
|
8777
8777
|
confirmFormBuiltIn: V
|
|
8778
8778
|
} = O8({
|
|
8779
8779
|
orgInfo: n,
|
|
8780
8780
|
information: r,
|
|
8781
8781
|
validate: u
|
|
8782
8782
|
}), {
|
|
8783
|
-
loading:
|
|
8784
|
-
urlDialog:
|
|
8783
|
+
loading: N,
|
|
8784
|
+
urlDialog: x,
|
|
8785
8785
|
urlType: j,
|
|
8786
8786
|
urlTypeOptions: l,
|
|
8787
|
-
tableData:
|
|
8787
|
+
tableData: R,
|
|
8788
8788
|
pageSize: o,
|
|
8789
8789
|
pageIndex: Z,
|
|
8790
8790
|
totalCount: J,
|
|
@@ -8805,7 +8805,7 @@ const V8 = (e) => {
|
|
|
8805
8805
|
(_ = I.value) == null || _.open();
|
|
8806
8806
|
}, sA = async (_) => {
|
|
8807
8807
|
const [AA, nA] = await a8().run();
|
|
8808
|
-
AA || (await t(), await
|
|
8808
|
+
AA || (await t(), await T7(), _(), v("reset-confirm"));
|
|
8809
8809
|
}, bA = () => (r.value.type === 1 || r.value.type === 2) && !r.value.routeUrl ? (u.value.routeUrl = B("必填"), !1) : (u.value.routeUrl = "", r.value.homeAlias && r.value.homeAlias.length > 50 ? (u.value.homeAlias = B("最多50个字符,可以是任意字符"), !1) : (u.value.homeAlias = "", !0)), jA = () => {
|
|
8810
8810
|
const _ = r.value, AA = {
|
|
8811
8811
|
id: _.id,
|
|
@@ -8828,7 +8828,7 @@ const V8 = (e) => {
|
|
|
8828
8828
|
"div",
|
|
8829
8829
|
Z8,
|
|
8830
8830
|
[
|
|
8831
|
-
g(D(
|
|
8831
|
+
g(D(H7), {
|
|
8832
8832
|
width: "100%",
|
|
8833
8833
|
"label-length": 6,
|
|
8834
8834
|
"align-type": "horizontal",
|
|
@@ -8866,7 +8866,7 @@ const V8 = (e) => {
|
|
|
8866
8866
|
suffix: Q(() => [
|
|
8867
8867
|
g(D(st), {
|
|
8868
8868
|
class: b7({ disabled: !r.value.type || r.value.type === 3 }),
|
|
8869
|
-
"icon-color": !r.value.type || r.value.type === 3 ? D(
|
|
8869
|
+
"icon-color": !r.value.type || r.value.type === 3 ? D(A3)("--das-ui-portal-management-disabled-color") : D(A3)("--das-ui-color-secondary"),
|
|
8870
8870
|
onClick: w
|
|
8871
8871
|
}, null, 8, ["class", "icon-color"])
|
|
8872
8872
|
]),
|
|
@@ -8985,7 +8985,7 @@ const V8 = (e) => {
|
|
|
8985
8985
|
load: D(q),
|
|
8986
8986
|
search: D(m),
|
|
8987
8987
|
"input-options": { placeholder: D(B)("搜索门户名称") },
|
|
8988
|
-
onNodeClick: D(
|
|
8988
|
+
onNodeClick: D(O)
|
|
8989
8989
|
}, null, 8, ["modelValue", "path", "filter-value", "data", "load", "search", "input-options", "onNodeClick"])
|
|
8990
8990
|
]),
|
|
8991
8991
|
_: 1
|
|
@@ -8993,8 +8993,8 @@ const V8 = (e) => {
|
|
|
8993
8993
|
}, 8, ["modelValue", "title"]),
|
|
8994
8994
|
$(" 非内置链接选择弹窗 "),
|
|
8995
8995
|
g(D(Fe), {
|
|
8996
|
-
modelValue: D(
|
|
8997
|
-
"onUpdate:modelValue": AA[16] || (AA[16] = (nA) => ne(
|
|
8996
|
+
modelValue: D(x),
|
|
8997
|
+
"onUpdate:modelValue": AA[16] || (AA[16] = (nA) => ne(x) ? x.value = nA : null),
|
|
8998
8998
|
"custom-class": "framework-portal-management-url-dialog",
|
|
8999
8999
|
"body-style": { padding: 0 },
|
|
9000
9000
|
title: D(B)("选择URL链接"),
|
|
@@ -9005,7 +9005,7 @@ const V8 = (e) => {
|
|
|
9005
9005
|
M("div", null, [
|
|
9006
9006
|
g(D(KA), {
|
|
9007
9007
|
size: "middle",
|
|
9008
|
-
onClick: AA[15] || (AA[15] = (nA) =>
|
|
9008
|
+
onClick: AA[15] || (AA[15] = (nA) => x.value = !1)
|
|
9009
9009
|
}, {
|
|
9010
9010
|
default: Q(() => [
|
|
9011
9011
|
mA(
|
|
@@ -9036,7 +9036,7 @@ const V8 = (e) => {
|
|
|
9036
9036
|
])
|
|
9037
9037
|
]),
|
|
9038
9038
|
default: Q(() => [
|
|
9039
|
-
g(D(F9), { spinning: D(
|
|
9039
|
+
g(D(F9), { spinning: D(N) }, {
|
|
9040
9040
|
default: Q(() => [
|
|
9041
9041
|
M("div", T8, [
|
|
9042
9042
|
M("div", L8, [
|
|
@@ -9071,7 +9071,7 @@ const V8 = (e) => {
|
|
|
9071
9071
|
]),
|
|
9072
9072
|
M("div", W8, [
|
|
9073
9073
|
g(D(it), {
|
|
9074
|
-
data: D(
|
|
9074
|
+
data: D(R),
|
|
9075
9075
|
currentRodioSelection: D(h),
|
|
9076
9076
|
"onUpdate:currentRodioSelection": AA[12] || (AA[12] = (nA) => ne(h) ? h.value = nA : null),
|
|
9077
9077
|
"radio-selection": { selectable: () => !0 },
|
|
@@ -9163,17 +9163,17 @@ const V8 = (e) => {
|
|
|
9163
9163
|
return;
|
|
9164
9164
|
}
|
|
9165
9165
|
if ((c = r.value) != null && c.formValidate()) {
|
|
9166
|
-
const m = (q = r.value) == null ? void 0 : q.getResult(), [
|
|
9167
|
-
if (
|
|
9166
|
+
const m = (q = r.value) == null ? void 0 : q.getResult(), [O] = await k8().run(m);
|
|
9167
|
+
if (O) {
|
|
9168
9168
|
u.value = "home";
|
|
9169
9169
|
return;
|
|
9170
9170
|
}
|
|
9171
|
-
await
|
|
9171
|
+
await T7();
|
|
9172
9172
|
} else {
|
|
9173
9173
|
u.value = "home";
|
|
9174
9174
|
return;
|
|
9175
9175
|
}
|
|
9176
|
-
|
|
9176
|
+
q7.success(B("保存成功")), f.value = !1, window.__isAutoCloseApp = !1, window.location.reload();
|
|
9177
9177
|
};
|
|
9178
9178
|
return A({
|
|
9179
9179
|
openDialog: d
|
|
@@ -9294,7 +9294,7 @@ const V8 = (e) => {
|
|
|
9294
9294
|
}, 8, ["spinning"])) : $("v-if", !0)
|
|
9295
9295
|
]));
|
|
9296
9296
|
}
|
|
9297
|
-
}), c7 = /* @__PURE__ */ ZA(K8, [["__scopeId", "data-v-d0f25bba"]]), C8 =
|
|
9297
|
+
}), c7 = /* @__PURE__ */ ZA(K8, [["__scopeId", "data-v-d0f25bba"]]), C8 = i7.get("/login/history"), _8 = () => {
|
|
9298
9298
|
const e = () => ["/licenseActivate", "/licenseDataManage", "/sso-logout"].some((z) => new RegExp(`^${z}$`, "i").test(location.pathname)), A = (P) => {
|
|
9299
9299
|
const { browserLogoImgHost: u = "", browserLogoImg: z = "" } = P || {}, t = z ? u + U9(z) : "./logo.svg";
|
|
9300
9300
|
fu(t), Ir(t);
|
|
@@ -9362,7 +9362,7 @@ const V8 = (e) => {
|
|
|
9362
9362
|
return await Mr([
|
|
9363
9363
|
d1,
|
|
9364
9364
|
Hz,
|
|
9365
|
-
|
|
9365
|
+
T7,
|
|
9366
9366
|
Gn,
|
|
9367
9367
|
hn,
|
|
9368
9368
|
n1
|
|
@@ -9376,15 +9376,15 @@ const V8 = (e) => {
|
|
|
9376
9376
|
q.forEach((V) => (c != null && c.appAlias && V.value === _A && (V.label = c.appAlias), c != null && c.homeAlias && V.value === be && (V.label = c.homeAlias), V)), c != null && c.enable ? ((c == null ? void 0 : c.displayPosition) === 2 && (q = $8(q, 0, 1)), z.value = q) : (z.value = q.filter((V) => V.path === _A), f.path === be && await A.replace(_A));
|
|
9377
9377
|
const m = c != null && c.enable && (c == null ? void 0 : c.displayPosition) !== 2 ? be : _A;
|
|
9378
9378
|
sessionStorage.setItem("defalt-page", m);
|
|
9379
|
-
const
|
|
9380
|
-
C.nav.setItems([...z.value, ...
|
|
9379
|
+
const O = C.nav.getItems().filter((V) => !V.fixed) ?? [];
|
|
9380
|
+
C.nav.setItems([...z.value, ...O]);
|
|
9381
9381
|
}, s = T(!1), i = async () => {
|
|
9382
9382
|
var o;
|
|
9383
9383
|
await e();
|
|
9384
9384
|
const c = Ae().id, q = await b();
|
|
9385
9385
|
if (!q) return;
|
|
9386
|
-
const { navConfig: m, projectConfig:
|
|
9387
|
-
c !=
|
|
9386
|
+
const { navConfig: m, projectConfig: O, currentProject: V, tenantList: N } = q, x = (V == null ? void 0 : V.id) || 0;
|
|
9387
|
+
c != x && (P.value = P.value === "0" ? "1" : "0"), X.value = ((o = G9()) == null ? void 0 : o.flag) !== 4 && N && N.length > 1, d.value = m.find((Z) => Z.apps.some((J) => J.code === "dasaiassistant")), a(), O && O.length && (C.nav.setProjectConfig({
|
|
9388
9388
|
treeProps: {
|
|
9389
9389
|
disabled: (Z) => Z.type !== 7
|
|
9390
9390
|
},
|
|
@@ -9392,7 +9392,7 @@ const V8 = (e) => {
|
|
|
9392
9392
|
filterNodeMethod: (Z) => Z.type === 7,
|
|
9393
9393
|
// 树打平之后保留的数据
|
|
9394
9394
|
filterFlatCondition: (Z) => Z.type === 7
|
|
9395
|
-
}), C.nav.setProjects(
|
|
9395
|
+
}), C.nav.setProjects(O || []), V && C.nav.setActiveProject(V));
|
|
9396
9396
|
const j = V9() ?? {}, l = j != null && j.headPicture ? U9(j.headPicture) : void 0;
|
|
9397
9397
|
t.value = [...IP].map((Z) => ({
|
|
9398
9398
|
...Z,
|
|
@@ -9401,10 +9401,10 @@ const V8 = (e) => {
|
|
|
9401
9401
|
getHistoryList: n,
|
|
9402
9402
|
getSearchList: r
|
|
9403
9403
|
});
|
|
9404
|
-
const
|
|
9405
|
-
|
|
9404
|
+
const R = cA().subAppList ?? [];
|
|
9405
|
+
R.length && (R.forEach((Z) => {
|
|
9406
9406
|
Z.menus = [], Z.originalMenus = [];
|
|
9407
|
-
}), FA([{ key: "subAppList", value:
|
|
9407
|
+
}), FA([{ key: "subAppList", value: R }])), s.value = !0;
|
|
9408
9408
|
};
|
|
9409
9409
|
return C.nav.addEventListener("onBeforeMount", i), iA(
|
|
9410
9410
|
() => pe.value,
|
|
@@ -9415,8 +9415,8 @@ const V8 = (e) => {
|
|
|
9415
9415
|
), { loading: u, pageKey: P, innerPage: z, commandList: t, layoutInited: s, initNextTick: () => new Promise((c) => {
|
|
9416
9416
|
const q = async () => {
|
|
9417
9417
|
var V;
|
|
9418
|
-
let m = ((V = f.meta) == null ? void 0 : V.showLayout) ?? !0, { showLayout:
|
|
9419
|
-
if (
|
|
9418
|
+
let m = ((V = f.meta) == null ? void 0 : V.showLayout) ?? !0, { showLayout: O = !0 } = f.query;
|
|
9419
|
+
if (O === "false" && (O = !1), !m || !O || s.value) {
|
|
9420
9420
|
c();
|
|
9421
9421
|
return;
|
|
9422
9422
|
}
|
|
@@ -9424,7 +9424,7 @@ const V8 = (e) => {
|
|
|
9424
9424
|
};
|
|
9425
9425
|
q();
|
|
9426
9426
|
}) };
|
|
9427
|
-
}, eX =
|
|
9427
|
+
}, eX = s7.get("/data/menu-expiration"), w7 = async (e) => {
|
|
9428
9428
|
const [A, f] = await eX().run();
|
|
9429
9429
|
if (A) return { title: "", content: "", decs: [] };
|
|
9430
9430
|
const v = (e == null ? void 0 : e.expired) ?? !1;
|
|
@@ -9441,14 +9441,14 @@ const V8 = (e) => {
|
|
|
9441
9441
|
const f = CA(M9(A.applicationCode)).filter((P) => !P.disable && !P.expired).find((P) => P.code === A.code);
|
|
9442
9442
|
if (f && !f.routeUrl) return;
|
|
9443
9443
|
if (!f) {
|
|
9444
|
-
const { title: P, content: u, desc: z } = await
|
|
9444
|
+
const { title: P, content: u, desc: z } = await w7(f);
|
|
9445
9445
|
await q9({ title: P, content: u, desc: z });
|
|
9446
9446
|
return;
|
|
9447
9447
|
}
|
|
9448
9448
|
const n = (((r = WA().tabMap) == null ? void 0 : r[A.applicationCode]) ?? []).find((P) => P.code === A.code);
|
|
9449
9449
|
e(n ? { currentMenu: f, route: { path: n.path, query: n.query ?? {} } } : { currentMenu: f });
|
|
9450
9450
|
}), C.menu.addEventListener("toggleCollapse", (A) => {
|
|
9451
|
-
const f =
|
|
9451
|
+
const f = Wv.nav.activeItem;
|
|
9452
9452
|
let v = cA().menuCollapses || [];
|
|
9453
9453
|
A ? v = Array.from(/* @__PURE__ */ new Set([...v, f])) : v = v.filter((n) => n !== f), FA([{ key: "menuCollapses", value: v }]);
|
|
9454
9454
|
});
|
|
@@ -9476,17 +9476,17 @@ const V8 = (e) => {
|
|
|
9476
9476
|
iA(
|
|
9477
9477
|
() => e.currentRoute.value,
|
|
9478
9478
|
async (a) => {
|
|
9479
|
-
var m,
|
|
9479
|
+
var m, O, V, N, x, j, l, R, o, Z;
|
|
9480
9480
|
const s = ((m = a.meta) == null ? void 0 : m.showLayout) ?? !0;
|
|
9481
|
-
let i = ((
|
|
9481
|
+
let i = ((O = a.query) == null ? void 0 : O.showLayout) ?? !0;
|
|
9482
9482
|
if (i === "false" && (i = !1), !s || !i || a.path === n && _f(a.query, r)) return;
|
|
9483
9483
|
n = Ce(a.path), r = Ce(a.query);
|
|
9484
9484
|
const H = cA().currentSubAppCode ?? "";
|
|
9485
9485
|
if (!H) return;
|
|
9486
|
-
const c = ((V = a.query) == null ? void 0 : V.menu) ?? ((
|
|
9486
|
+
const c = ((V = a.query) == null ? void 0 : V.menu) ?? ((N = WA()) == null ? void 0 : N.currentCode) ?? "";
|
|
9487
9487
|
if (!c) return;
|
|
9488
9488
|
const q = JSON.parse(sessionStorage.getItem("tabStyle") || "{}") || {};
|
|
9489
|
-
JSON.stringify(q) !== "{}" && (A.value = (j = (
|
|
9489
|
+
JSON.stringify(q) !== "{}" && (A.value = (j = (x = q[H]) == null ? void 0 : x[c]) != null && j.fontColor ? q[H][c].fontColor : "", f.value = (R = (l = q[H]) == null ? void 0 : l[c]) != null && R.backgroundColor ? q[H][c].backgroundColor : "", v.value = (Z = (o = q[H]) == null ? void 0 : o[c]) != null && Z.backgroundColor ? q[H][c].backgroundColor : "");
|
|
9490
9490
|
}
|
|
9491
9491
|
);
|
|
9492
9492
|
const { deleteApp: P } = Ee(), { entryMenu: u } = ef(), { reloadRoute: z, unloadRoute: t } = Kn(), d = (a) => {
|
|
@@ -9500,41 +9500,41 @@ const V8 = (e) => {
|
|
|
9500
9500
|
}, X = (a) => {
|
|
9501
9501
|
const s = cA().currentSubAppCode ?? "";
|
|
9502
9502
|
NA.innerSet = !0;
|
|
9503
|
-
const i = WA(), H = i.tabMap[s], c = H.findIndex((
|
|
9503
|
+
const i = WA(), H = i.tabMap[s], c = H.findIndex((x) => x.code === a.data.code);
|
|
9504
9504
|
if (c === -1) return;
|
|
9505
9505
|
const q = () => {
|
|
9506
9506
|
var l;
|
|
9507
|
-
let j = (((l = cA().appcategorys) == null ? void 0 : l.map((
|
|
9507
|
+
let j = (((l = cA().appcategorys) == null ? void 0 : l.map((R) => R.apps).flat()) ?? []).find((R) => R.code === s);
|
|
9508
9508
|
j = { ...j, value: j.code, label: j.name }, P(j), C.nav.removeItem(s);
|
|
9509
9509
|
};
|
|
9510
9510
|
({
|
|
9511
|
-
me: async (
|
|
9511
|
+
me: async (x) => {
|
|
9512
9512
|
if (H.length === 1) {
|
|
9513
9513
|
q();
|
|
9514
9514
|
return;
|
|
9515
9515
|
}
|
|
9516
9516
|
const j = i.currentCode;
|
|
9517
9517
|
let l = null;
|
|
9518
|
-
j ===
|
|
9518
|
+
j === x.value && (c + 1 === H.length ? H[c - 1] && (l = H[c - 1]) : H[c + 1] && (l = H[c + 1])), H.splice(c, 1), p([x]), JA([{ key: `tabMap:${s}`, value: H }]), l ? d(l) : JA([{ key: `preTab:${s}`, value: {} }]);
|
|
9519
9519
|
},
|
|
9520
9520
|
all: q,
|
|
9521
|
-
other: async (
|
|
9521
|
+
other: async (x) => {
|
|
9522
9522
|
const j = H[c];
|
|
9523
9523
|
await e.push({
|
|
9524
9524
|
path: `/${j.applicationPath}${j.path}`.replace(/\/\//g, "/"),
|
|
9525
9525
|
query: j.query
|
|
9526
9526
|
}), C.menu.setActiveItem(j.menuId), C.tab.setActiveItem(j.code);
|
|
9527
|
-
const l = H.filter((
|
|
9528
|
-
l.forEach((
|
|
9527
|
+
const l = H.filter((R) => R.code !== x.value);
|
|
9528
|
+
l.forEach((R) => C.tab.removeItem(R.code)), p(l), JA([{ key: `tabMap:${s}`, value: [j] }]), d(j);
|
|
9529
9529
|
},
|
|
9530
|
-
right: async (
|
|
9530
|
+
right: async (x) => {
|
|
9531
9531
|
const j = i.currentCode;
|
|
9532
|
-
if (j !==
|
|
9532
|
+
if (j !== x.value && H.findIndex((o) => o.code === j) > c) {
|
|
9533
9533
|
const o = H[c];
|
|
9534
9534
|
d(o);
|
|
9535
9535
|
}
|
|
9536
9536
|
const l = H.slice(c + 1);
|
|
9537
|
-
l.forEach((
|
|
9537
|
+
l.forEach((R) => C.tab.removeItem(R.code)), p(l), H.splice(c + 1), JA([{ key: `tabMap:${s}`, value: H }]);
|
|
9538
9538
|
}
|
|
9539
9539
|
})[a.type](a.data);
|
|
9540
9540
|
};
|
|
@@ -9583,9 +9583,9 @@ const V8 = (e) => {
|
|
|
9583
9583
|
const b = X.code ?? "", s = (cA().subAppList ?? []).find((m) => m.code === b);
|
|
9584
9584
|
let i = [], H = [], c = !1;
|
|
9585
9585
|
if (s && (i = s.menus ?? []), !i.length) {
|
|
9586
|
-
const { menus: m, originalMenus:
|
|
9586
|
+
const { menus: m, originalMenus: O, err: V } = await Z7(b);
|
|
9587
9587
|
if (V) return !1;
|
|
9588
|
-
i = m ?? [], H =
|
|
9588
|
+
i = m ?? [], H = O ?? [];
|
|
9589
9589
|
}
|
|
9590
9590
|
if (i.length ? Q9(i) || (await q9({
|
|
9591
9591
|
title: B("提示"),
|
|
@@ -9605,7 +9605,7 @@ const V8 = (e) => {
|
|
|
9605
9605
|
const c = ((o = H.meta) == null ? void 0 : o.showLayout) ?? !0;
|
|
9606
9606
|
let q = ((Z = H.query) == null ? void 0 : Z.showLayout) ?? !0;
|
|
9607
9607
|
q === "false" && (q = !1);
|
|
9608
|
-
const m = (b == null ? void 0 : b.openType) ?? 1,
|
|
9608
|
+
const m = (b == null ? void 0 : b.openType) ?? 1, O = (b == null ? void 0 : b.type) ?? 1;
|
|
9609
9609
|
if (b.routeUrl && !P.includes(b.routeUrl)) {
|
|
9610
9610
|
mn({
|
|
9611
9611
|
appCode: b.code,
|
|
@@ -9623,7 +9623,7 @@ const V8 = (e) => {
|
|
|
9623
9623
|
await e.push({ path: b.routeUrl, query: { ...H.query, app: b.code } });
|
|
9624
9624
|
return;
|
|
9625
9625
|
}
|
|
9626
|
-
if (m === 1 &&
|
|
9626
|
+
if (m === 1 && O === 2) {
|
|
9627
9627
|
const U = await bn(b.routeUrl, (b == null ? void 0 : b.param) ?? []), eA = r7($f(A7(U))), L = `${Ne}-${b.code}`;
|
|
9628
9628
|
if (!e.options.routes.find((w) => w.path === L)) {
|
|
9629
9629
|
const w = {
|
|
@@ -9647,29 +9647,29 @@ const V8 = (e) => {
|
|
|
9647
9647
|
}
|
|
9648
9648
|
const {
|
|
9649
9649
|
menuConfig: V = [],
|
|
9650
|
-
currentApp:
|
|
9651
|
-
currentMenu:
|
|
9650
|
+
currentApp: N = null,
|
|
9651
|
+
currentMenu: x = null,
|
|
9652
9652
|
microPath: j = "",
|
|
9653
9653
|
query: l = {}
|
|
9654
9654
|
} = await A1({ microApp: b, menuCode: a, menuPath: s, route: H });
|
|
9655
|
-
if (
|
|
9656
|
-
path: j || `/${
|
|
9657
|
-
query: { ...l, app:
|
|
9655
|
+
if (x && (H = {
|
|
9656
|
+
path: j || `/${x.applicationPath}${x.routeUrl}`.replace(/\/\//g, "/"),
|
|
9657
|
+
query: { ...l, app: x.applicationCode, menu: x.code },
|
|
9658
9658
|
meta: { ...(H == null ? void 0 : H.meta) ?? {} }
|
|
9659
|
-
}),
|
|
9660
|
-
if (
|
|
9661
|
-
const F = (S = cA().subAppList) == null ? void 0 : S.find((eA) => eA.code ===
|
|
9659
|
+
}), N && (N == null ? void 0 : N.code) !== (b == null ? void 0 : b.code)) {
|
|
9660
|
+
if (N.fixed && (await e.push(N.path), u(), C.nav.setActiveItem(N.path)), !N.fixed) {
|
|
9661
|
+
const F = (S = cA().subAppList) == null ? void 0 : S.find((eA) => eA.code === N.code), Y = WA().preTab[N.code], U = { ...(Y == null ? void 0 : Y.query) ?? {} };
|
|
9662
9662
|
await t({ microApp: F, menuCode: (Y == null ? void 0 : Y.code) ?? "", route: { query: U } });
|
|
9663
9663
|
}
|
|
9664
9664
|
return;
|
|
9665
9665
|
}
|
|
9666
|
-
const
|
|
9667
|
-
if (!
|
|
9666
|
+
const R = N || b;
|
|
9667
|
+
if (!x && s) {
|
|
9668
9668
|
await e.push({
|
|
9669
9669
|
path: s,
|
|
9670
9670
|
query: {
|
|
9671
9671
|
...H.query,
|
|
9672
|
-
app:
|
|
9672
|
+
app: R.code
|
|
9673
9673
|
}
|
|
9674
9674
|
});
|
|
9675
9675
|
return;
|
|
@@ -9678,8 +9678,8 @@ const V8 = (e) => {
|
|
|
9678
9678
|
(h = cA().subAppList) == null || h.forEach((Y) => {
|
|
9679
9679
|
const U = { ...Y, value: Y.code, label: Y.name };
|
|
9680
9680
|
C.nav.appendItem(U);
|
|
9681
|
-
}), C.nav.setActiveItem(
|
|
9682
|
-
const F = WA().tabMap[
|
|
9681
|
+
}), C.nav.setActiveItem(R.code), C.menu.setItems(V);
|
|
9682
|
+
const F = WA().tabMap[R.code] ?? [];
|
|
9683
9683
|
if (F.length) {
|
|
9684
9684
|
const Y = F.map((U) => ({
|
|
9685
9685
|
...U,
|
|
@@ -9690,7 +9690,7 @@ const V8 = (e) => {
|
|
|
9690
9690
|
} else
|
|
9691
9691
|
C.tab.setItems([]);
|
|
9692
9692
|
}
|
|
9693
|
-
A({ currentMenu:
|
|
9693
|
+
A({ currentMenu: x, microPath: j, route: H });
|
|
9694
9694
|
}, d = async (X) => {
|
|
9695
9695
|
var b;
|
|
9696
9696
|
if (NA.innerSet = !0, X.fixed) {
|
|
@@ -9736,7 +9736,7 @@ const V8 = (e) => {
|
|
|
9736
9736
|
const c = An.find((q) => q.value === _A);
|
|
9737
9737
|
c && d(c);
|
|
9738
9738
|
}
|
|
9739
|
-
|
|
9739
|
+
m7(), fn();
|
|
9740
9740
|
}
|
|
9741
9741
|
}
|
|
9742
9742
|
};
|
|
@@ -9753,7 +9753,7 @@ const V8 = (e) => {
|
|
|
9753
9753
|
if (d === 1)
|
|
9754
9754
|
if (p === 1)
|
|
9755
9755
|
if (P.routeUrl.startsWith(Ne)) {
|
|
9756
|
-
const i =
|
|
9756
|
+
const i = Ev(P.routeUrl, "iframeSrc");
|
|
9757
9757
|
if (X = `${Ne}-${P.code}`, !e.options.routes.find((H) => H.path === X)) {
|
|
9758
9758
|
const H = {
|
|
9759
9759
|
path: X,
|
|
@@ -9837,30 +9837,30 @@ const V8 = (e) => {
|
|
|
9837
9837
|
let { mainAppName: r = "", microAppName: P = "", microApps: u = [] } = me();
|
|
9838
9838
|
!r && P && (u = [{ name: P }]);
|
|
9839
9839
|
const z = async (p) => {
|
|
9840
|
-
var m,
|
|
9840
|
+
var m, O, V, N;
|
|
9841
9841
|
let X = { ...p }, { showLayout: b = !0 } = X.query;
|
|
9842
9842
|
b === "false" && (b = !1);
|
|
9843
9843
|
const a = async () => {
|
|
9844
|
-
var l,
|
|
9845
|
-
let
|
|
9846
|
-
if (!Array.isArray(
|
|
9844
|
+
var l, R;
|
|
9845
|
+
let x = cA().appcategorys ?? [];
|
|
9846
|
+
if (!Array.isArray(x)) return [];
|
|
9847
9847
|
if (X.query) {
|
|
9848
|
-
const o = ((l = X.query) == null ? void 0 : l.project) ?? ((
|
|
9849
|
-
if (!
|
|
9848
|
+
const o = ((l = X.query) == null ? void 0 : l.project) ?? ((R = X.query) == null ? void 0 : R.projectId) ?? "";
|
|
9849
|
+
if (!x.length || o && o !== Ae().id) {
|
|
9850
9850
|
await A();
|
|
9851
9851
|
const { navConfig: Z } = await Gn();
|
|
9852
|
-
Z && (
|
|
9852
|
+
Z && (x = Z);
|
|
9853
9853
|
}
|
|
9854
9854
|
}
|
|
9855
|
-
return
|
|
9856
|
-
}, s = u.filter((
|
|
9855
|
+
return x.map((o) => o.apps).flat() ?? [];
|
|
9856
|
+
}, s = u.filter((x) => x.public);
|
|
9857
9857
|
if (s.length) {
|
|
9858
|
-
const
|
|
9858
|
+
const x = s.find(
|
|
9859
9859
|
(j) => X.path.startsWith("/" + j.name) || X.path.startsWith(j.name)
|
|
9860
9860
|
);
|
|
9861
|
-
if (
|
|
9861
|
+
if (x) {
|
|
9862
9862
|
v({
|
|
9863
|
-
microApp: { routeUrl:
|
|
9863
|
+
microApp: { routeUrl: x.name, code: "" },
|
|
9864
9864
|
menuCode: X.query.menu,
|
|
9865
9865
|
menuPath: X.path,
|
|
9866
9866
|
route: X
|
|
@@ -9868,12 +9868,12 @@ const V8 = (e) => {
|
|
|
9868
9868
|
return;
|
|
9869
9869
|
}
|
|
9870
9870
|
}
|
|
9871
|
-
const i = await a(), H = i.map((
|
|
9871
|
+
const i = await a(), H = i.map((x) => x.code), c = ((m = X.query) == null ? void 0 : m.app) ?? "", q = ((O = cA()) == null ? void 0 : O.subAppList) ?? [];
|
|
9872
9872
|
if (q.length) {
|
|
9873
|
-
const
|
|
9873
|
+
const x = q.filter((l) => l.code !== c && !H.includes(l.code)), j = q.filter(
|
|
9874
9874
|
(l) => c === l.code || H.includes(l.code)
|
|
9875
9875
|
);
|
|
9876
|
-
FA([{ key: "subAppList", value: j }]),
|
|
9876
|
+
FA([{ key: "subAppList", value: j }]), x && x.length && x.forEach((l) => {
|
|
9877
9877
|
JA([
|
|
9878
9878
|
{ key: `preTab:${l.code}`, value: {} },
|
|
9879
9879
|
{ key: `tabMap:${l.code}`, value: [] }
|
|
@@ -9881,25 +9881,25 @@ const V8 = (e) => {
|
|
|
9881
9881
|
});
|
|
9882
9882
|
}
|
|
9883
9883
|
if (X.query.app) {
|
|
9884
|
-
let
|
|
9885
|
-
if (!
|
|
9884
|
+
let x = i.find((j) => j.code === X.query.app);
|
|
9885
|
+
if (!x && b) {
|
|
9886
9886
|
const { currentApp: j } = d7(X.query.app);
|
|
9887
9887
|
if (j) {
|
|
9888
|
-
|
|
9889
|
-
const
|
|
9890
|
-
X = {},
|
|
9888
|
+
x = j;
|
|
9889
|
+
const R = (WA().preTab ?? {})[x.code];
|
|
9890
|
+
X = {}, R && (X.path = `/${R.applicationPath}${R.path}`.replace(/\/\//g, "/"), X.query = R.query);
|
|
9891
9891
|
}
|
|
9892
9892
|
}
|
|
9893
|
-
|
|
9893
|
+
x != null && x.fixed ? (await n.push(x.path), C.menu.setItems([]), C.tab.setItems([]), C.nav.setActiveItem(x.path)) : v({ microApp: x, menuCode: X.query.menu, menuPath: X.path, route: X });
|
|
9894
9894
|
return;
|
|
9895
9895
|
} else {
|
|
9896
|
-
const
|
|
9896
|
+
const x = u && u.find(
|
|
9897
9897
|
(j) => X.path.startsWith("/" + j.name) || X.path.startsWith(j.name)
|
|
9898
9898
|
);
|
|
9899
|
-
if (
|
|
9900
|
-
let j = i.find((l) => l.routeUrl ===
|
|
9899
|
+
if (x) {
|
|
9900
|
+
let j = i.find((l) => l.routeUrl === x.name);
|
|
9901
9901
|
j || (j = i.find(
|
|
9902
|
-
(l) => (l == null ? void 0 : l.routePath) && l.routePath.length && l.routePath.includes(
|
|
9902
|
+
(l) => (l == null ? void 0 : l.routePath) && l.routePath.length && l.routePath.includes(x.name)
|
|
9903
9903
|
)), v({
|
|
9904
9904
|
microApp: j,
|
|
9905
9905
|
menuCode: X.query.menu,
|
|
@@ -9910,12 +9910,12 @@ const V8 = (e) => {
|
|
|
9910
9910
|
}
|
|
9911
9911
|
}
|
|
9912
9912
|
if (b) {
|
|
9913
|
-
(
|
|
9913
|
+
(N = (V = cA()) == null ? void 0 : V.subAppList) == null || N.forEach((j) => {
|
|
9914
9914
|
const l = { ...j, value: j.code, label: j.name };
|
|
9915
9915
|
C.nav.appendItem(l);
|
|
9916
9916
|
});
|
|
9917
|
-
const
|
|
9918
|
-
|
|
9917
|
+
const x = e.value.find((j) => j.path === location.pathname);
|
|
9918
|
+
x && (C.nav.setActiveItem(x.path), C.menu.setItems([]), C.tab.setItems([]), FA([
|
|
9919
9919
|
{ key: "currentSubAppCode", value: "" },
|
|
9920
9920
|
{ key: "currentSubApp", value: {} }
|
|
9921
9921
|
]), JA([
|
|
@@ -9963,9 +9963,9 @@ const V8 = (e) => {
|
|
|
9963
9963
|
const t = Object.keys(z).map((p) => `${p}=${z[p]}`).join("&"), d = `${f.baseURL}${P.logout}?${t}`;
|
|
9964
9964
|
window.__isAutoCloseApp = !1, location.replace(d), sessionStorage.clear(), localStorage.removeItem("idelTime"), ft();
|
|
9965
9965
|
}, { entryApp: n } = Ee(), r = async () => {
|
|
9966
|
-
const P = "personCenter", z = (cA().appcategorys || []).map((b) => b.apps).flat(), { originalMenus: t = [] } = await
|
|
9966
|
+
const P = "personCenter", z = (cA().appcategorys || []).map((b) => b.apps).flat(), { originalMenus: t = [] } = await Z7(P), p = CA(t).filter((b) => b.isMenu && b.routeUrl).find((b) => b.routeUrl === "/userInfo");
|
|
9967
9967
|
if (p != null && p.disable || p != null && p.expired) {
|
|
9968
|
-
const { title: b, content: a, desc: s } = await
|
|
9968
|
+
const { title: b, content: a, desc: s } = await w7(p);
|
|
9969
9969
|
await q9({ title: b, content: a, desc: s });
|
|
9970
9970
|
return;
|
|
9971
9971
|
}
|
|
@@ -9984,7 +9984,7 @@ const V8 = (e) => {
|
|
|
9984
9984
|
$changePwd: e,
|
|
9985
9985
|
$personSetDialog: A
|
|
9986
9986
|
};
|
|
9987
|
-
}, PX = Bv.get("/convert/tenant"), uX =
|
|
9987
|
+
}, PX = Bv.get("/convert/tenant"), uX = i7.get("/platform/withdefault"), Cn = () => {
|
|
9988
9988
|
const e = me(), A = T(!1), f = T(""), v = T(""), n = () => {
|
|
9989
9989
|
f.value = V9().id, v.value = Iv().tenantId, A.value = !0;
|
|
9990
9990
|
};
|
|
@@ -10020,8 +10020,8 @@ const V8 = (e) => {
|
|
|
10020
10020
|
if (e != null && e.ssoLocale)
|
|
10021
10021
|
q = `http://127.0.0.1:5000/oauth/refreshOauthToken?tenantId=${u}`;
|
|
10022
10022
|
else {
|
|
10023
|
-
const [m,
|
|
10024
|
-
|
|
10023
|
+
const [m, O] = await uX().run();
|
|
10024
|
+
O != null && O.loginHost && (q = `${O.loginHost}/oauth/refreshOauthToken?tenantId=${u}`);
|
|
10025
10025
|
}
|
|
10026
10026
|
if (q) {
|
|
10027
10027
|
const m = document.createElement("iframe");
|
|
@@ -10051,7 +10051,7 @@ const V8 = (e) => {
|
|
|
10051
10051
|
return C.nav.addEventListener("searchToPage", async (v) => {
|
|
10052
10052
|
const { item: n, keyword: r, cb: P } = v;
|
|
10053
10053
|
if (n != null && n.disable || n != null && n.expired) {
|
|
10054
|
-
const { title: p, content: X, desc: b } = await
|
|
10054
|
+
const { title: p, content: X, desc: b } = await w7(n);
|
|
10055
10055
|
await q9({ title: p, content: X, desc: b });
|
|
10056
10056
|
return;
|
|
10057
10057
|
}
|
|
@@ -10185,7 +10185,7 @@ const V8 = (e) => {
|
|
|
10185
10185
|
}), O9(() => {
|
|
10186
10186
|
A.value && A.value.disconnect(), A.value = null;
|
|
10187
10187
|
});
|
|
10188
|
-
}, xX = "v1", OX = A9(`/api/enterpriseright/permission/${xX}`), _n = A9("/api/device-relation/deviceproject/v1/project/device/video", VX), DX =
|
|
10188
|
+
}, xX = "v1", OX = A9(`/api/enterpriseright/permission/${xX}`), _n = A9("/api/device-relation/deviceproject/v1/project/device/video", VX), DX = s7.get("/permissionset/user-portal-menu");
|
|
10189
10189
|
function VX(e) {
|
|
10190
10190
|
const A = Ae() ? Ae().id : 1;
|
|
10191
10191
|
return e.params || (e.params = {}), e.params.project = A, e.params.projectId = A, e;
|
|
@@ -10196,7 +10196,7 @@ function $n(e) {
|
|
|
10196
10196
|
A.append(f, v);
|
|
10197
10197
|
return A.toString();
|
|
10198
10198
|
}
|
|
10199
|
-
function
|
|
10199
|
+
function Ov(e) {
|
|
10200
10200
|
return _n.post(`/ptz?${$n(e)}`)().run();
|
|
10201
10201
|
}
|
|
10202
10202
|
function NX(e) {
|
|
@@ -10440,10 +10440,10 @@ const RX = OX.post("data/device-auth"), jX = /* @__PURE__ */ aA({
|
|
|
10440
10440
|
q.width = z.value.clientWidth, q.height = z.value.clientHeight;
|
|
10441
10441
|
const m = q.getContext("2d");
|
|
10442
10442
|
m == null || m.drawImage(z.value, 0, 0, q.width, q.height);
|
|
10443
|
-
const
|
|
10444
|
-
if (a.value =
|
|
10445
|
-
const
|
|
10446
|
-
|
|
10443
|
+
const O = q.toDataURL("image/jpg"), V = `【${f.title}】${e7().format("YYYYMMDDHHmmss").toString()}.jpg`;
|
|
10444
|
+
if (a.value = O, "download" in document.createElement("a")) {
|
|
10445
|
+
const N = document.createElement("a");
|
|
10446
|
+
N.download = V, N.style.display = "none", N.href = O, document.body.appendChild(N), document.body.appendChild(q), N.click(), URL.revokeObjectURL(N.href), document.body.removeChild(N), document.body.removeChild(q);
|
|
10447
10447
|
}
|
|
10448
10448
|
}
|
|
10449
10449
|
}, i = (q) => {
|
|
@@ -10544,7 +10544,7 @@ const RX = OX.post("data/device-auth"), jX = /* @__PURE__ */ aA({
|
|
|
10544
10544
|
"div",
|
|
10545
10545
|
{
|
|
10546
10546
|
class: "controls",
|
|
10547
|
-
onDblclick: m[2] || (m[2] = oA((
|
|
10547
|
+
onDblclick: m[2] || (m[2] = oA((O) => O.stopPropagation(), ["stop"]))
|
|
10548
10548
|
},
|
|
10549
10549
|
[
|
|
10550
10550
|
g(D(kA), {
|
|
@@ -10582,7 +10582,7 @@ const RX = OX.post("data/device-auth"), jX = /* @__PURE__ */ aA({
|
|
|
10582
10582
|
key: 0,
|
|
10583
10583
|
class: "icon icon-shrink",
|
|
10584
10584
|
icon: "shrink",
|
|
10585
|
-
onClick: m[0] || (m[0] = oA((
|
|
10585
|
+
onClick: m[0] || (m[0] = oA((O) => H("zoomOut"), ["stop"]))
|
|
10586
10586
|
})) : $("v-if", !0)
|
|
10587
10587
|
]),
|
|
10588
10588
|
_: 1
|
|
@@ -10597,7 +10597,7 @@ const RX = OX.post("data/device-auth"), jX = /* @__PURE__ */ aA({
|
|
|
10597
10597
|
key: 0,
|
|
10598
10598
|
class: "icon icon-enlarge",
|
|
10599
10599
|
icon: "enlarge",
|
|
10600
|
-
onClick: m[1] || (m[1] = oA((
|
|
10600
|
+
onClick: m[1] || (m[1] = oA((O) => H("zoomIn"), ["stop"]))
|
|
10601
10601
|
})) : $("v-if", !0)
|
|
10602
10602
|
]),
|
|
10603
10603
|
_: 1
|
|
@@ -10657,7 +10657,7 @@ const RX = OX.post("data/device-auth"), jX = /* @__PURE__ */ aA({
|
|
|
10657
10657
|
});
|
|
10658
10658
|
z || (n.value = Br(t == null ? void 0 : t.wsFlvStreamURL)), v.value = !1;
|
|
10659
10659
|
}, P = (z) => {
|
|
10660
|
-
|
|
10660
|
+
Ov({
|
|
10661
10661
|
productId: f.value.productId,
|
|
10662
10662
|
deviceId: f.value.deviceId,
|
|
10663
10663
|
direction: z,
|
|
@@ -10665,7 +10665,7 @@ const RX = OX.post("data/device-auth"), jX = /* @__PURE__ */ aA({
|
|
|
10665
10665
|
source: "strategy"
|
|
10666
10666
|
});
|
|
10667
10667
|
}, u = (z) => {
|
|
10668
|
-
|
|
10668
|
+
Ov({
|
|
10669
10669
|
productId: f.value.productId,
|
|
10670
10670
|
deviceId: f.value.deviceId,
|
|
10671
10671
|
direction: "",
|
|
@@ -10865,7 +10865,7 @@ class Re extends Error {
|
|
|
10865
10865
|
super(`${A}: Status code '${f}'`), this.statusCode = f, this.__proto__ = v;
|
|
10866
10866
|
}
|
|
10867
10867
|
}
|
|
10868
|
-
class
|
|
10868
|
+
class W7 extends Error {
|
|
10869
10869
|
/** Constructs a new instance of {@link @microsoft/signalr.TimeoutError}.
|
|
10870
10870
|
*
|
|
10871
10871
|
* @param {string} errorMessage A descriptive error message.
|
|
@@ -10918,7 +10918,7 @@ class $X extends Error {
|
|
|
10918
10918
|
super(A), this.transport = f, this.errorType = "FailedToStartTransportError", this.__proto__ = v;
|
|
10919
10919
|
}
|
|
10920
10920
|
}
|
|
10921
|
-
class
|
|
10921
|
+
class Dv extends Error {
|
|
10922
10922
|
/** Constructs a new instance of {@link @microsoft/signalr.FailedToNegotiateWithServerError}.
|
|
10923
10923
|
*
|
|
10924
10924
|
* @param {string} message A descriptive error message.
|
|
@@ -11164,7 +11164,7 @@ class d2 extends ff {
|
|
|
11164
11164
|
if (A.timeout) {
|
|
11165
11165
|
const z = A.timeout;
|
|
11166
11166
|
n = setTimeout(() => {
|
|
11167
|
-
f.abort(), this._logger.log(y.Warning, "Timeout from HTTP request."), v = new
|
|
11167
|
+
f.abort(), this._logger.log(y.Warning, "Timeout from HTTP request."), v = new W7();
|
|
11168
11168
|
}, z);
|
|
11169
11169
|
}
|
|
11170
11170
|
A.content === "" && (A.content = void 0), A.content && (A.headers = A.headers || {}, Ze(A.content) ? A.headers["Content-Type"] = "application/octet-stream" : A.headers["Content-Type"] = "text/plain;charset=UTF-8");
|
|
@@ -11189,10 +11189,10 @@ class d2 extends ff {
|
|
|
11189
11189
|
n && clearTimeout(n), A.abortSignal && (A.abortSignal.onabort = null);
|
|
11190
11190
|
}
|
|
11191
11191
|
if (!r.ok) {
|
|
11192
|
-
const z = await
|
|
11192
|
+
const z = await Vv(r, "text");
|
|
11193
11193
|
throw new Re(z || r.statusText, r.status);
|
|
11194
11194
|
}
|
|
11195
|
-
const u = await
|
|
11195
|
+
const u = await Vv(r, A.responseType);
|
|
11196
11196
|
return new Ar(r.status, r.statusText, u);
|
|
11197
11197
|
}
|
|
11198
11198
|
getCookieString(A) {
|
|
@@ -11200,7 +11200,7 @@ class d2 extends ff {
|
|
|
11200
11200
|
return OA.isNode && this._jar && this._jar.getCookies(A, (v, n) => f = n.join("; ")), f;
|
|
11201
11201
|
}
|
|
11202
11202
|
}
|
|
11203
|
-
function
|
|
11203
|
+
function Vv(e, A) {
|
|
11204
11204
|
let f;
|
|
11205
11205
|
switch (A) {
|
|
11206
11206
|
case "arraybuffer":
|
|
@@ -11238,7 +11238,7 @@ class X2 extends ff {
|
|
|
11238
11238
|
}, n.onerror = () => {
|
|
11239
11239
|
this._logger.log(y.Warning, `Error from HTTP request. ${n.status}: ${n.statusText}.`), v(new Re(n.statusText, n.status));
|
|
11240
11240
|
}, n.ontimeout = () => {
|
|
11241
|
-
this._logger.log(y.Warning, "Timeout from HTTP request."), v(new
|
|
11241
|
+
this._logger.log(y.Warning, "Timeout from HTTP request."), v(new W7());
|
|
11242
11242
|
}, n.send(A.content);
|
|
11243
11243
|
}) : Promise.reject(new Error("No url defined.")) : Promise.reject(new Error("No method defined."));
|
|
11244
11244
|
}
|
|
@@ -11426,14 +11426,14 @@ var lA;
|
|
|
11426
11426
|
(function(e) {
|
|
11427
11427
|
e.Disconnected = "Disconnected", e.Connecting = "Connecting", e.Connected = "Connected", e.Disconnecting = "Disconnecting", e.Reconnecting = "Reconnecting";
|
|
11428
11428
|
})(lA || (lA = {}));
|
|
11429
|
-
class
|
|
11429
|
+
class E7 {
|
|
11430
11430
|
/** @internal */
|
|
11431
11431
|
// Using a public static factory method means we can have a private constructor and an _internal_
|
|
11432
11432
|
// create method that can be used by HubConnectionBuilder. An "internal" constructor would just
|
|
11433
11433
|
// be stripped away and the '.d.ts' file would have no constructor, which is interpreted as a
|
|
11434
11434
|
// public parameter-less constructor.
|
|
11435
11435
|
static create(A, f, v, n, r, P, u) {
|
|
11436
|
-
return new
|
|
11436
|
+
return new E7(A, f, v, n, r, P, u);
|
|
11437
11437
|
}
|
|
11438
11438
|
constructor(A, f, v, n, r, P, u) {
|
|
11439
11439
|
this._nextKeepAlive = 0, this._freezeEventListener = () => {
|
|
@@ -11929,7 +11929,7 @@ class I7 {
|
|
|
11929
11929
|
}
|
|
11930
11930
|
}
|
|
11931
11931
|
const m2 = [0, 2e3, 1e4, 3e4, null];
|
|
11932
|
-
class
|
|
11932
|
+
class Nv {
|
|
11933
11933
|
constructor(A) {
|
|
11934
11934
|
this._retryDelays = A !== void 0 ? [...A, null] : m2;
|
|
11935
11935
|
}
|
|
@@ -11980,7 +11980,7 @@ let x2 = class {
|
|
|
11980
11980
|
return this._isAborted;
|
|
11981
11981
|
}
|
|
11982
11982
|
};
|
|
11983
|
-
class
|
|
11983
|
+
class Rv {
|
|
11984
11984
|
// This is an internal type, not exported from 'index' so this is really just internal.
|
|
11985
11985
|
get pollAborted() {
|
|
11986
11986
|
return this._pollAbort.aborted;
|
|
@@ -12012,7 +12012,7 @@ class jv {
|
|
|
12012
12012
|
const n = await this._httpClient.get(v, f);
|
|
12013
12013
|
n.statusCode === 204 ? (this._logger.log(y.Information, "(LongPolling transport) Poll terminated by server."), this._running = !1) : n.statusCode !== 200 ? (this._logger.log(y.Error, `(LongPolling transport) Unexpected response code: ${n.statusCode}.`), this._closeError = new Re(n.statusText || "", n.statusCode), this._running = !1) : n.content ? (this._logger.log(y.Trace, `(LongPolling transport) data received. ${l9(n.content, this._options.logMessageContent)}.`), this.onreceive && this.onreceive(n.content)) : this._logger.log(y.Trace, "(LongPolling transport) Poll timed out, reissuing.");
|
|
12014
12014
|
} catch (v) {
|
|
12015
|
-
this._running ? v instanceof
|
|
12015
|
+
this._running ? v instanceof W7 ? this._logger.log(y.Trace, "(LongPolling transport) Poll timed out, reissuing.") : (this._closeError = v, this._running = !1) : this._logger.log(y.Trace, `(LongPolling transport) Poll errored after shutdown: ${v.message}`);
|
|
12016
12016
|
}
|
|
12017
12017
|
} finally {
|
|
12018
12018
|
this._logger.log(y.Trace, "(LongPolling transport) Polling complete."), this.pollAborted || this._raiseOnClose();
|
|
@@ -12158,7 +12158,7 @@ class D2 {
|
|
|
12158
12158
|
return A && typeof A.wasClean == "boolean" && typeof A.code == "number";
|
|
12159
12159
|
}
|
|
12160
12160
|
}
|
|
12161
|
-
const
|
|
12161
|
+
const jv = 100;
|
|
12162
12162
|
class V2 {
|
|
12163
12163
|
constructor(A, f = {}) {
|
|
12164
12164
|
if (this._stopPromiseResolver = () => {
|
|
@@ -12187,7 +12187,7 @@ class V2 {
|
|
|
12187
12187
|
this._connectionStarted = !0;
|
|
12188
12188
|
}
|
|
12189
12189
|
send(A) {
|
|
12190
|
-
return this._connectionState !== "Connected" ? Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")) : (this._sendQueue || (this._sendQueue = new
|
|
12190
|
+
return this._connectionState !== "Connected" ? Promise.reject(new Error("Cannot send data if the connection is not in the 'Connected' State.")) : (this._sendQueue || (this._sendQueue = new I7(this.transport)), this._sendQueue.send(A));
|
|
12191
12191
|
}
|
|
12192
12192
|
async stop(A) {
|
|
12193
12193
|
if (this._connectionState === "Disconnected")
|
|
@@ -12237,12 +12237,12 @@ class V2 {
|
|
|
12237
12237
|
this._accessTokenFactory = () => r, this._httpClient._accessToken = r, this._httpClient._accessTokenFactory = void 0;
|
|
12238
12238
|
}
|
|
12239
12239
|
n++;
|
|
12240
|
-
} while (v.url && n <
|
|
12241
|
-
if (n ===
|
|
12240
|
+
} while (v.url && n < jv);
|
|
12241
|
+
if (n === jv && v.url)
|
|
12242
12242
|
throw new Error("Negotiate redirection limit exceeded.");
|
|
12243
12243
|
await this._createTransport(f, this._options.transport, v, A);
|
|
12244
12244
|
}
|
|
12245
|
-
this.transport instanceof
|
|
12245
|
+
this.transport instanceof Rv && (this.features.inherentKeepAlive = !0), this._connectionState === "Connecting" && (this._logger.log(y.Debug, "The HttpConnection connected successfully."), this._connectionState = "Connected");
|
|
12246
12246
|
} catch (v) {
|
|
12247
12247
|
return this._logger.log(y.Error, "Failed to start the connection: " + v), this._connectionState = "Disconnected", this.transport = void 0, this._stopPromiseResolver(), Promise.reject(v);
|
|
12248
12248
|
}
|
|
@@ -12262,10 +12262,10 @@ class V2 {
|
|
|
12262
12262
|
if (P.statusCode !== 200)
|
|
12263
12263
|
return Promise.reject(new Error(`Unexpected status code returned from negotiate '${P.statusCode}'`));
|
|
12264
12264
|
const u = JSON.parse(P.content);
|
|
12265
|
-
return (!u.negotiateVersion || u.negotiateVersion < 1) && (u.connectionToken = u.connectionId), u.useStatefulReconnect && this._options._useStatefulReconnect !== !0 ? Promise.reject(new
|
|
12265
|
+
return (!u.negotiateVersion || u.negotiateVersion < 1) && (u.connectionToken = u.connectionId), u.useStatefulReconnect && this._options._useStatefulReconnect !== !0 ? Promise.reject(new Dv("Client didn't negotiate Stateful Reconnect but the server did.")) : u;
|
|
12266
12266
|
} catch (P) {
|
|
12267
12267
|
let u = "Failed to complete negotiation with the server: " + P;
|
|
12268
|
-
return P instanceof Re && P.statusCode === 404 && (u = u + " Either this is not a SignalR endpoint or there is a proxy blocking the connection."), this._logger.log(y.Error, u), Promise.reject(new
|
|
12268
|
+
return P instanceof Re && P.statusCode === 404 && (u = u + " Either this is not a SignalR endpoint or there is a proxy blocking the connection."), this._logger.log(y.Error, u), Promise.reject(new Dv(u));
|
|
12269
12269
|
}
|
|
12270
12270
|
}
|
|
12271
12271
|
_createConnectUrl(A, f) {
|
|
@@ -12316,7 +12316,7 @@ class V2 {
|
|
|
12316
12316
|
throw new Error("'EventSource' is not supported in your environment.");
|
|
12317
12317
|
return new O2(this._httpClient, this._httpClient._accessToken, this._logger, this._options);
|
|
12318
12318
|
case DA.LongPolling:
|
|
12319
|
-
return new
|
|
12319
|
+
return new Rv(this._httpClient, this._logger, this._options);
|
|
12320
12320
|
default:
|
|
12321
12321
|
throw new Error(`Unknown transport: ${A}.`);
|
|
12322
12322
|
}
|
|
@@ -12395,7 +12395,7 @@ class V2 {
|
|
|
12395
12395
|
function N2(e, A) {
|
|
12396
12396
|
return !e || (A & e) !== 0;
|
|
12397
12397
|
}
|
|
12398
|
-
class
|
|
12398
|
+
class I7 {
|
|
12399
12399
|
constructor(A) {
|
|
12400
12400
|
this._transport = A, this._buffer = [], this._executing = !0, this._sendBufferedData = new W9(), this._transportResult = new W9(), this._sendLoopPromise = this._sendLoop();
|
|
12401
12401
|
}
|
|
@@ -12419,7 +12419,7 @@ class g7 {
|
|
|
12419
12419
|
this._sendBufferedData = new W9();
|
|
12420
12420
|
const A = this._transportResult;
|
|
12421
12421
|
this._transportResult = void 0;
|
|
12422
|
-
const f = typeof this._buffer[0] == "string" ? this._buffer.join("") :
|
|
12422
|
+
const f = typeof this._buffer[0] == "string" ? this._buffer.join("") : I7._concatBuffers(this._buffer);
|
|
12423
12423
|
this._buffer.length = 0;
|
|
12424
12424
|
try {
|
|
12425
12425
|
await this._transport.send(f), A.resolve();
|
|
@@ -12573,7 +12573,7 @@ class T2 {
|
|
|
12573
12573
|
withAutomaticReconnect(A) {
|
|
12574
12574
|
if (this.reconnectPolicy)
|
|
12575
12575
|
throw new Error("A reconnectPolicy has already been set.");
|
|
12576
|
-
return A ? Array.isArray(A) ? this.reconnectPolicy = new
|
|
12576
|
+
return A ? Array.isArray(A) ? this.reconnectPolicy = new Nv(A) : this.reconnectPolicy = A : this.reconnectPolicy = new Nv(), this;
|
|
12577
12577
|
}
|
|
12578
12578
|
/** Configures {@link @microsoft/signalr.HubConnection.serverTimeoutInMilliseconds} for the {@link @microsoft/signalr.HubConnection}.
|
|
12579
12579
|
*
|
|
@@ -12605,7 +12605,7 @@ class T2 {
|
|
|
12605
12605
|
if (A.logger === void 0 && (A.logger = this.logger), !this.url)
|
|
12606
12606
|
throw new Error("The 'HubConnectionBuilder.withUrl' method must be called before building the connection.");
|
|
12607
12607
|
const f = new V2(this.url, A);
|
|
12608
|
-
return
|
|
12608
|
+
return E7.create(f, this.logger || m9.instance, this.protocol || new j2(), this.reconnectPolicy, this._serverTimeoutInMilliseconds, this._keepAliveIntervalInMilliseconds, this._statefulReconnectBufferSize);
|
|
12609
12609
|
}
|
|
12610
12610
|
}
|
|
12611
12611
|
function L2(e) {
|
|
@@ -12622,9 +12622,9 @@ const w2 = () => {
|
|
|
12622
12622
|
}), e.onclose((A) => {
|
|
12623
12623
|
}), e.onreconnected(() => {
|
|
12624
12624
|
}), e;
|
|
12625
|
-
}, vf = "v1", W2 = gA(`/api/graphics-engine/component/${vf}`, (e) => (e.customErrorMessage = () => "", e)), E2 = gA(`/api/portal/manager/${vf}`, (e) => (e.customErrorMessage = () => "", e)), I2 = gA(`/api/speech-base/speech/${vf}`, (e) => (e.customErrorMessage = () => "", e)),
|
|
12625
|
+
}, vf = "v1", W2 = gA(`/api/graphics-engine/component/${vf}`, (e) => (e.customErrorMessage = () => "", e)), E2 = gA(`/api/portal/manager/${vf}`, (e) => (e.customErrorMessage = () => "", e)), I2 = gA(`/api/speech-base/speech/${vf}`, (e) => (e.customErrorMessage = () => "", e)), ov = W2.get("/component/client/heartbeat"), g2 = E2.get("/basics/by-alias");
|
|
12626
12626
|
I2.post("/control/callBack");
|
|
12627
|
-
const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.get("/permissionset/application"), k2 = J9.get("/permissionset/user-portal-menu"),
|
|
12627
|
+
const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.get("/permissionset/application"), k2 = J9.get("/permissionset/user-portal-menu"), Zv = async (e, A) => {
|
|
12628
12628
|
const [f, v] = await k2().run({
|
|
12629
12629
|
code: e,
|
|
12630
12630
|
showBtn: !1,
|
|
@@ -12648,10 +12648,10 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12648
12648
|
return !1;
|
|
12649
12649
|
}
|
|
12650
12650
|
}, u = async (c) => {
|
|
12651
|
-
var
|
|
12652
|
-
const q = cA(), m = ((
|
|
12651
|
+
var O, V, N, x, j;
|
|
12652
|
+
const q = cA(), m = ((O = q.appcategorys) == null ? void 0 : O.map((l) => l.apps).flat()) || [];
|
|
12653
12653
|
if (Array.isArray(c)) {
|
|
12654
|
-
const l = c.filter((
|
|
12654
|
+
const l = c.filter((R) => R.code).map((R) => R.code);
|
|
12655
12655
|
if (c.length) {
|
|
12656
12656
|
if (q.currentSubAppCode) {
|
|
12657
12657
|
const o = q.currentSubApp.menus ?? [], Z = CA(o).find((J) => l.includes(J.code));
|
|
@@ -12660,14 +12660,14 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12660
12660
|
return;
|
|
12661
12661
|
}
|
|
12662
12662
|
}
|
|
12663
|
-
const
|
|
12664
|
-
|
|
12663
|
+
const R = m.find((o) => l.includes(o.code));
|
|
12664
|
+
R && A({ microApp: R });
|
|
12665
12665
|
}
|
|
12666
12666
|
}
|
|
12667
12667
|
if (typeof c == "string") {
|
|
12668
12668
|
let l = c;
|
|
12669
|
-
const
|
|
12670
|
-
o && (l = l.slice(0, l.indexOf(
|
|
12669
|
+
const R = "_showEchartTooltip", o = l.endsWith(R);
|
|
12670
|
+
o && (l = l.slice(0, l.indexOf(R)));
|
|
12671
12671
|
const Z = "_zdkbInfo", J = l.endsWith(Z);
|
|
12672
12672
|
if (J && (l = l.slice(0, l.indexOf(Z))), l.includes(":")) {
|
|
12673
12673
|
const S = l.split(":"), [h = "", F = ""] = S;
|
|
@@ -12675,10 +12675,10 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12675
12675
|
const Y = m.find((U) => U.code === h);
|
|
12676
12676
|
if (Y) {
|
|
12677
12677
|
if (J || o) {
|
|
12678
|
-
const U = await
|
|
12678
|
+
const U = await Zv(Y.code, F);
|
|
12679
12679
|
if (U) {
|
|
12680
12680
|
const eA = JSON.stringify({ showEchartTooltip: o });
|
|
12681
|
-
(V = e.query) != null && V.app && e.query.app === Y.code && ((
|
|
12681
|
+
(V = e.query) != null && V.app && e.query.app === Y.code && ((N = e.query) != null && N.menu) && e.query.menu === F ? IA.sendMessageToMicroApp(U.applicationPath, `${F}:todetail`, eA) : (await A({ microApp: Y, menuCode: F }), setTimeout(() => {
|
|
12682
12682
|
IA.sendMessageToMicroApp(U.applicationPath, `${F}:todetail`, eA, {
|
|
12683
12683
|
awaitListener: !0
|
|
12684
12684
|
});
|
|
@@ -12698,10 +12698,10 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12698
12698
|
const U = m.find((eA) => eA.code === Y);
|
|
12699
12699
|
if (U) {
|
|
12700
12700
|
if (J || o) {
|
|
12701
|
-
const eA = await
|
|
12701
|
+
const eA = await Zv(U.code, S);
|
|
12702
12702
|
if (eA) {
|
|
12703
12703
|
const L = JSON.stringify({ showEchartTooltip: o });
|
|
12704
|
-
(
|
|
12704
|
+
(x = e.query) != null && x.app && e.query.app === h.code && ((j = e.query) != null && j.menu) && e.query.menu === S ? IA.sendMessageToMicroApp(eA.applicationPath, `${S}:todetail`, L) : (await A({ microApp: h, menuCode: S }), setTimeout(() => {
|
|
12705
12705
|
IA.sendMessageToMicroApp(eA.applicationPath, `${S}:todetail`, L, {
|
|
12706
12706
|
awaitListener: !0
|
|
12707
12707
|
});
|
|
@@ -12720,8 +12720,8 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12720
12720
|
setTimeout(async () => {
|
|
12721
12721
|
var q, m;
|
|
12722
12722
|
if (z.value) {
|
|
12723
|
-
const [
|
|
12724
|
-
|
|
12723
|
+
const [O, V] = await g2().run({}, { params: { aliasName: c.actionValue } });
|
|
12724
|
+
O ? await Sf().run({
|
|
12725
12725
|
uniqueId: c.uniqueId,
|
|
12726
12726
|
status: 0,
|
|
12727
12727
|
errorMsg: "未找到" + c.actionValue
|
|
@@ -12740,18 +12740,18 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12740
12740
|
}, d = (c) => {
|
|
12741
12741
|
const q = le(), m = JSON.parse(atob(q.split(".")[1])).sub;
|
|
12742
12742
|
w2().on(`${c}:${m}`, async function(V) {
|
|
12743
|
-
let
|
|
12744
|
-
if (
|
|
12745
|
-
|
|
12743
|
+
let N = P(V);
|
|
12744
|
+
if (N)
|
|
12745
|
+
N.uniqueId && N.actionKey == "switch-menu" && t(N);
|
|
12746
12746
|
else if (V.includes("openAppMenu=")) {
|
|
12747
|
-
const
|
|
12747
|
+
const x = V.split("="), j = JSON.parse(x[1]);
|
|
12748
12748
|
u(j);
|
|
12749
12749
|
} else V.includes("iocIsRun") && (z.value = !1);
|
|
12750
12750
|
});
|
|
12751
|
-
}, p = T(""), [X, b] = await
|
|
12751
|
+
}, p = T(""), [X, b] = await ov().run();
|
|
12752
12752
|
p.value = b, d(p.value);
|
|
12753
12753
|
const a = async () => {
|
|
12754
|
-
const [c, q] = await
|
|
12754
|
+
const [c, q] = await ov().run();
|
|
12755
12755
|
q !== p.value && (p.value = q, d(p.value));
|
|
12756
12756
|
};
|
|
12757
12757
|
v = setInterval(() => {
|
|
@@ -12766,7 +12766,7 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12766
12766
|
}), O9(() => {
|
|
12767
12767
|
v && clearInterval(v);
|
|
12768
12768
|
}), {};
|
|
12769
|
-
}, nf = "v1", Y2 = A9(`/api/fms/report/${nf}`),
|
|
12769
|
+
}, nf = "v1", Y2 = A9(`/api/fms/report/${nf}`), g7 = A9(`/api/emergency/manage/${nf}`), G2 = s7.get("/permissionset/user-portal-menu"), fr = A9(`/api/alarm/config/${nf}`), U2 = A9(`/api/alarm/run-time/${nf}`), J2 = fr.get("/alarm-definition/status-option"), h2 = U2.post("/record/handling"), F2 = fr.get("/alarm-level/prompttone"), S2 = Y2.get("/alarm/rule/list"), K2 = kv.get("/controller/space-children-all-type"), C2 = kv.get("/controller/fuzzy-area-small"), _2 = g7.get("/emergency-event/event/type"), $2 = g7.get("/emergency-event/event/level"), Ac = g7.get("/emergency-plan/plan/handle-time"), ec = { class: "handle-alarm-container" }, fc = { class: "select-check" }, vc = { class: "form-box" }, nc = { class: "select-check" }, rc = { style: { "margin-left": "8px" } }, tc = { class: "foot-btn-box" }, Pc = {
|
|
12770
12770
|
name: "handleAlarm"
|
|
12771
12771
|
}, uc = /* @__PURE__ */ aA({
|
|
12772
12772
|
...Pc,
|
|
@@ -12830,25 +12830,25 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
12830
12830
|
{ id: 3, name: fA("不限").value }
|
|
12831
12831
|
]), s = T([]), i = T(""), H = T(fA("告警对象位置").value), c = T(""), q = T([]), m = T("");
|
|
12832
12832
|
T("[]");
|
|
12833
|
-
const
|
|
12833
|
+
const O = T(!0), V = T(!0), N = async (K) => {
|
|
12834
12834
|
const E = { name: "1" };
|
|
12835
12835
|
K != null && K.id && (E.spaceId = K.id);
|
|
12836
12836
|
const [k, MA] = await K2(E).run();
|
|
12837
12837
|
return k ? {} : MA;
|
|
12838
|
-
},
|
|
12838
|
+
}, x = async (K) => {
|
|
12839
12839
|
const E = { name: K || "" }, [k, MA] = await C2(E).run();
|
|
12840
12840
|
return k ? {} : MA;
|
|
12841
|
-
}, j = T(!0), l = T(!0),
|
|
12841
|
+
}, j = T(!0), l = T(!0), R = T([]), o = async () => {
|
|
12842
12842
|
const [K, E] = await S2().run({ pageIndex: -1, pageSize: -1 });
|
|
12843
12843
|
if (K) return {};
|
|
12844
|
-
|
|
12844
|
+
R.value = E.data.filter((k) => k.status), R.value.length > 0 && (t.value.workOrderRules = R.value[0].id);
|
|
12845
12845
|
};
|
|
12846
12846
|
iA(z, (K) => {
|
|
12847
12847
|
K || (Y(), U());
|
|
12848
12848
|
}), iA(
|
|
12849
12849
|
V,
|
|
12850
12850
|
(K) => {
|
|
12851
|
-
K ? (
|
|
12851
|
+
K ? (O.value = !0, t.value.customPath = fA("选填").value) : (O.value = !1, t.value.customPath = "");
|
|
12852
12852
|
},
|
|
12853
12853
|
{ immediate: !0 }
|
|
12854
12854
|
), iA(
|
|
@@ -13037,7 +13037,7 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
13037
13037
|
class: "handle-alarm-dialog-content"
|
|
13038
13038
|
},
|
|
13039
13039
|
[
|
|
13040
|
-
g(D(
|
|
13040
|
+
g(D(H7), {
|
|
13041
13041
|
style: { width: "100%", height: "100%", "align-items": "center" },
|
|
13042
13042
|
cols: 1,
|
|
13043
13043
|
alignType: "horizontal"
|
|
@@ -13126,9 +13126,9 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
13126
13126
|
showFullPath: !0,
|
|
13127
13127
|
data: q.value,
|
|
13128
13128
|
placeholder: H.value,
|
|
13129
|
-
disabled:
|
|
13130
|
-
load:
|
|
13131
|
-
search:
|
|
13129
|
+
disabled: O.value,
|
|
13130
|
+
load: N,
|
|
13131
|
+
search: x,
|
|
13132
13132
|
onChange: S,
|
|
13133
13133
|
filter: !0,
|
|
13134
13134
|
allowClear: !0
|
|
@@ -13138,11 +13138,11 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
13138
13138
|
modelValue: t.value.customPath,
|
|
13139
13139
|
"onUpdate:modelValue": E[11] || (E[11] = (k) => t.value.customPath = k),
|
|
13140
13140
|
placeholder: D(fA)("选填").value,
|
|
13141
|
-
disabled:
|
|
13141
|
+
disabled: O.value,
|
|
13142
13142
|
maxlength: "20"
|
|
13143
13143
|
}, null, 8, ["modelValue", "placeholder", "disabled"])
|
|
13144
13144
|
]),
|
|
13145
|
-
g(D(
|
|
13145
|
+
g(D(f3), {
|
|
13146
13146
|
modelValue: V.value,
|
|
13147
13147
|
"onUpdate:modelValue": E[12] || (E[12] = (k) => V.value = k),
|
|
13148
13148
|
checkboxType: "default",
|
|
@@ -13184,7 +13184,7 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
13184
13184
|
placeholder: c.value,
|
|
13185
13185
|
onChange: J
|
|
13186
13186
|
}, null, 8, ["disabled", "modelValue", "placeholder"]),
|
|
13187
|
-
g(D(
|
|
13187
|
+
g(D(f3), {
|
|
13188
13188
|
modelValue: l.value,
|
|
13189
13189
|
"onUpdate:modelValue": E[15] || (E[15] = (k) => l.value = k),
|
|
13190
13190
|
checkboxType: "default",
|
|
@@ -13215,7 +13215,7 @@ const M2 = gA(`/api/tool/event-bus/${vf}/`), Sf = M2.post("/publish"), B2 = J9.g
|
|
|
13215
13215
|
"onUpdate:modelValue": E[17] || (E[17] = (k) => t.value.workOrderRules = k),
|
|
13216
13216
|
error: d.value.workOrderRules,
|
|
13217
13217
|
"onUpdate:error": E[18] || (E[18] = (k) => d.value.workOrderRules = k),
|
|
13218
|
-
options:
|
|
13218
|
+
options: R.value,
|
|
13219
13219
|
col: 1,
|
|
13220
13220
|
optionsLabelKey: "name",
|
|
13221
13221
|
optionsValueKey: "id",
|
|
@@ -13498,27 +13498,27 @@ const jc = () => {
|
|
|
13498
13498
|
loop: !1
|
|
13499
13499
|
// 轮播-无限次播放
|
|
13500
13500
|
});
|
|
13501
|
-
IA.addEventListenerFromMicroApp("alarm:change-alarmconfig", (
|
|
13502
|
-
const { isRealTimeAlarm: j, audioPlay: l } =
|
|
13501
|
+
IA.addEventListenerFromMicroApp("alarm:change-alarmconfig", (x) => {
|
|
13502
|
+
const { isRealTimeAlarm: j, audioPlay: l } = x.data;
|
|
13503
13503
|
j != null && (u.value = j), l != null && (z.value = l, z.value || m());
|
|
13504
13504
|
});
|
|
13505
|
-
const d = (
|
|
13505
|
+
const d = (x) => {
|
|
13506
13506
|
var l;
|
|
13507
13507
|
const j = [];
|
|
13508
|
-
j.push({ alarmId:
|
|
13509
|
-
}, { entryApp: p } = k9.hooks.useEntryApp(), X = (
|
|
13510
|
-
Uv(
|
|
13508
|
+
j.push({ alarmId: x.recordId }), n.value = j, (l = f.value) == null || l.open();
|
|
13509
|
+
}, { entryApp: p } = k9.hooks.useEntryApp(), X = (x) => {
|
|
13510
|
+
Uv(x.equipmentCode, x.equipmentPanelCode);
|
|
13511
13511
|
}, { handleAlarmVue: b } = dc(f, n), a = async () => {
|
|
13512
13512
|
var l;
|
|
13513
|
-
const j = (((l = cA().appcategorys) == null ? void 0 : l.map((
|
|
13513
|
+
const j = (((l = cA().appcategorys) == null ? void 0 : l.map((R) => R.apps).flat()) ?? []).find((R) => R.code === "alarm");
|
|
13514
13514
|
j && p({ microApp: j, menuPath: `/${j.routeUrl}/realTimeAlarm` });
|
|
13515
|
-
}, s = [], i = (
|
|
13516
|
-
if (s.push(
|
|
13515
|
+
}, s = [], i = (x) => {
|
|
13516
|
+
if (s.push(x), r.value.length < 2) {
|
|
13517
13517
|
H(s[0]), s.shift();
|
|
13518
13518
|
return;
|
|
13519
13519
|
}
|
|
13520
|
-
}, H = (
|
|
13521
|
-
if (!
|
|
13520
|
+
}, H = (x) => {
|
|
13521
|
+
if (!x) return;
|
|
13522
13522
|
const j = Rc();
|
|
13523
13523
|
B9.open({
|
|
13524
13524
|
key: j,
|
|
@@ -13526,7 +13526,7 @@ const jc = () => {
|
|
|
13526
13526
|
message: fA("新告警").value,
|
|
13527
13527
|
placement: "bottomRight",
|
|
13528
13528
|
description: RA(Nc, {
|
|
13529
|
-
msgItem:
|
|
13529
|
+
msgItem: x,
|
|
13530
13530
|
alarmhandle: P.value,
|
|
13531
13531
|
onHanderDetail: X,
|
|
13532
13532
|
onHanderFn: d
|
|
@@ -13537,40 +13537,40 @@ const jc = () => {
|
|
|
13537
13537
|
},
|
|
13538
13538
|
onClose: () => {
|
|
13539
13539
|
setTimeout(() => {
|
|
13540
|
-
const l = r.value.findIndex((
|
|
13540
|
+
const l = r.value.findIndex((R) => R == j);
|
|
13541
13541
|
if (l >= 0 && r.value.splice(l, 1), r.value.length < 2 && s.length) {
|
|
13542
13542
|
H(s[0]), s.shift();
|
|
13543
13543
|
return;
|
|
13544
13544
|
}
|
|
13545
13545
|
}, 300);
|
|
13546
13546
|
}
|
|
13547
|
-
}), r.value.includes(j) || r.value.push(j), c(
|
|
13548
|
-
}, c = (
|
|
13549
|
-
if (
|
|
13547
|
+
}), r.value.includes(j) || r.value.push(j), c(x);
|
|
13548
|
+
}, c = (x) => {
|
|
13549
|
+
if (x) {
|
|
13550
13550
|
if (!z.value) {
|
|
13551
13551
|
m();
|
|
13552
13552
|
return;
|
|
13553
13553
|
}
|
|
13554
|
-
if (!
|
|
13554
|
+
if (!x.coverId) {
|
|
13555
13555
|
if (t.value.playLine === null) {
|
|
13556
|
-
m(), Number(
|
|
13556
|
+
m(), Number(x.noticeNum) != 0 && q(x);
|
|
13557
13557
|
return;
|
|
13558
13558
|
}
|
|
13559
|
-
Number(
|
|
13559
|
+
Number(x.alarmLevelId) < t.value.playLine && (m(), Number(x.noticeNum) != 0 && q(x));
|
|
13560
13560
|
}
|
|
13561
13561
|
}
|
|
13562
|
-
}, q = (
|
|
13563
|
-
const j = Number(
|
|
13564
|
-
t.value.isplay && t.value.playId ==
|
|
13562
|
+
}, q = (x) => {
|
|
13563
|
+
const j = Number(x.noticeNum), l = location.origin + "/oss";
|
|
13564
|
+
t.value.isplay && t.value.playId == x.recordId ? m() : (j < 0 ? t.value.loop = !0 : t.value.loop = !1, j > 0 ? (t.value.loopTotalCount = Number(x.noticeNum), t.value.loopCount = 0) : (t.value.loopTotalCount = 0, t.value.loopCount = 0), t.value.isplay = !0, t.value.playId = x.recordId, t.value.playLine = Number(x.alarmLevelId), t.value.playPath = l + x.noticePath, O());
|
|
13565
13565
|
}, m = () => {
|
|
13566
13566
|
t.value.playId = "", t.value.playPath = "", t.value.playLine = null, t.value.loopCount = 0, t.value.loopTotalCount = 0, t.value.isplay = !1, t.value.loop = !1;
|
|
13567
|
-
},
|
|
13567
|
+
}, O = () => {
|
|
13568
13568
|
v.value.onended = function() {
|
|
13569
13569
|
t.value.loopCount = t.value.loopCount + 1, t.value.loopTotalCount && t.value.loopTotalCount && (t.value.loopCount == t.value.loopTotalCount ? (t.value.playPath = "", t.value.isplay = !1, t.value.playId = "", t.value.loopTotalCount = 0, t.value.loopCount = 0, t.value.playLine = null) : v.value.play());
|
|
13570
13570
|
};
|
|
13571
13571
|
}, V = async () => {
|
|
13572
|
-
const [
|
|
13573
|
-
|
|
13572
|
+
const [x, j] = await F2().run();
|
|
13573
|
+
x || (z.value = j.isEnable);
|
|
13574
13574
|
};
|
|
13575
13575
|
return {
|
|
13576
13576
|
alarmSocket: e,
|
|
@@ -13580,23 +13580,23 @@ const jc = () => {
|
|
|
13580
13580
|
handleAlarmVue: b,
|
|
13581
13581
|
creatAlarmSocket: async () => {
|
|
13582
13582
|
V();
|
|
13583
|
-
const [
|
|
13583
|
+
const [x, j] = await G2().run({
|
|
13584
13584
|
code: "alarm",
|
|
13585
13585
|
showBtn: !0
|
|
13586
13586
|
});
|
|
13587
|
-
if (
|
|
13587
|
+
if (x || !j || !j.length) return;
|
|
13588
13588
|
let l = !1;
|
|
13589
|
-
j.forEach((
|
|
13590
|
-
(
|
|
13589
|
+
j.forEach((R) => {
|
|
13590
|
+
(R.code === "alarm.realTimeAlarm" || R.originalCode === "alarm.realTimeAlarm") && (l = !0, R.children && R.children.length ? P.value = R.children.findIndex((o) => o.code == "alarm.realTimeAlarm.handle") >= 0 : P.value = !1);
|
|
13591
13591
|
}), l && (e.value = new S9({
|
|
13592
13592
|
url: "/api/alarm/socket/v1/record/subscribe",
|
|
13593
13593
|
reconnectWhenClose: !0,
|
|
13594
13594
|
opened: () => {
|
|
13595
|
-
const
|
|
13596
|
-
|
|
13595
|
+
const R = Ae().id;
|
|
13596
|
+
R && e.value.send(R);
|
|
13597
13597
|
},
|
|
13598
|
-
message: async (
|
|
13599
|
-
IA.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", { alarmMessage:
|
|
13598
|
+
message: async (R) => {
|
|
13599
|
+
IA.sendMessageToMicroApp("enterpriseadmin/alarm", "alarm:message", { alarmMessage: R }), window.self === window.top && (R.messageType === "ADD" && (A.value = A.value + 1, R.coverId || i(R)), R.messageType === "DELETE" && (A.value = A.value - 1, t.value.playId == R.recordId && m()));
|
|
13600
13600
|
}
|
|
13601
13601
|
}));
|
|
13602
13602
|
}
|
|
@@ -13636,7 +13636,7 @@ const jc = () => {
|
|
|
13636
13636
|
setup(e) {
|
|
13637
13637
|
const A = e, { isFullscreen: f } = e9(), v = me().showLayout ?? !0, n = vA(() => v && A.showLayout && !f.value), r = vA(() => NA.excludeRoutes), P = vA(() => NA.routeKeepAliveVisible), u = vA(() => ({ mode: te.value.style === 1 ? "vertical" : "inline" }));
|
|
13638
13638
|
iA(
|
|
13639
|
-
() =>
|
|
13639
|
+
() => Wv.nav.activeItem,
|
|
13640
13640
|
(j) => {
|
|
13641
13641
|
var l;
|
|
13642
13642
|
if (j) {
|
|
@@ -13648,9 +13648,9 @@ const jc = () => {
|
|
|
13648
13648
|
);
|
|
13649
13649
|
const { initNextTick: z } = _8(), { loading: t, pageKey: d, innerPage: p, commandList: X, initNextTick: b } = AX(z);
|
|
13650
13650
|
rX(p, z, b), vX(), zX();
|
|
13651
|
-
const { $changePwd: a, $personSetDialog: s } = tX(), { $aiPanel: i, toApp: H } = sX(), { changeEnterprisesVisible: c, userId: q, tenantId: m, changeEnterprise:
|
|
13651
|
+
const { $changePwd: a, $personSetDialog: s } = tX(), { $aiPanel: i, toApp: H } = sX(), { changeEnterprisesVisible: c, userId: q, tenantId: m, changeEnterprise: O } = Cn();
|
|
13652
13652
|
fX();
|
|
13653
|
-
const { fontColor: V, backgroudColor:
|
|
13653
|
+
const { fontColor: V, backgroudColor: N, borderColor: x } = nX();
|
|
13654
13654
|
return qX(), HX(X), pX(), lX(), KX(), Q2(), (j, l) => (G(), zA("div", Tc, [
|
|
13655
13655
|
$(` <button @click="test(0)">test</button>\r
|
|
13656
13656
|
<button style="margin-left: 5px" @click="test(1)">test2</button> `),
|
|
@@ -13662,13 +13662,13 @@ const jc = () => {
|
|
|
13662
13662
|
showLayout: n.value,
|
|
13663
13663
|
excludeRoutes: r.value,
|
|
13664
13664
|
routeKeepAliveVisible: P.value,
|
|
13665
|
-
tabsAttr: { fontColor: D(V), backgroudColor: D(
|
|
13665
|
+
tabsAttr: { fontColor: D(V), backgroudColor: D(N), borderColor: D(x) },
|
|
13666
13666
|
menuAttr: u.value
|
|
13667
13667
|
}, Nr({
|
|
13668
13668
|
_: 2
|
|
13669
13669
|
/* DYNAMIC */
|
|
13670
13670
|
}, [
|
|
13671
|
-
he(j.$slots, (
|
|
13671
|
+
he(j.$slots, (R, o, Z) => ({
|
|
13672
13672
|
name: o,
|
|
13673
13673
|
fn: Q(() => [
|
|
13674
13674
|
LA(j.$slots, o, {}, void 0, !0)
|
|
@@ -13682,10 +13682,10 @@ const jc = () => {
|
|
|
13682
13682
|
$(" 切换租户 "),
|
|
13683
13683
|
g(D(hr), {
|
|
13684
13684
|
visible: D(c),
|
|
13685
|
-
"onUpdate:visible": l[0] || (l[0] = (
|
|
13685
|
+
"onUpdate:visible": l[0] || (l[0] = (R) => ne(c) ? c.value = R : null),
|
|
13686
13686
|
userId: D(q),
|
|
13687
13687
|
tenantId: D(m),
|
|
13688
|
-
onConfirm: D(
|
|
13688
|
+
onConfirm: D(O)
|
|
13689
13689
|
}, null, 8, ["visible", "userId", "tenantId", "onConfirm"]),
|
|
13690
13690
|
$(" 修改密码 "),
|
|
13691
13691
|
g(
|
|
@@ -13903,11 +13903,11 @@ T("@das-fed/upf-web");
|
|
|
13903
13903
|
const Wc = [
|
|
13904
13904
|
{
|
|
13905
13905
|
path: _A,
|
|
13906
|
-
component: () => import("./index-
|
|
13906
|
+
component: () => import("./index-B8OU227U.js")
|
|
13907
13907
|
},
|
|
13908
13908
|
{
|
|
13909
13909
|
path: en,
|
|
13910
|
-
component: () => import("./index-
|
|
13910
|
+
component: () => import("./index-BDoN_kC5.js")
|
|
13911
13911
|
}
|
|
13912
13912
|
], na = {
|
|
13913
13913
|
routes: Wc,
|
|
@@ -13922,7 +13922,7 @@ const Wc = [
|
|
|
13922
13922
|
}
|
|
13923
13923
|
};
|
|
13924
13924
|
export {
|
|
13925
|
-
|
|
13925
|
+
r3 as A,
|
|
13926
13926
|
Fb as B,
|
|
13927
13927
|
Sb as C,
|
|
13928
13928
|
Kb as D,
|
|
@@ -13938,7 +13938,7 @@ export {
|
|
|
13938
13938
|
na as N,
|
|
13939
13939
|
ZA as _,
|
|
13940
13940
|
X7 as a,
|
|
13941
|
-
|
|
13941
|
+
lv as b,
|
|
13942
13942
|
Ce as c,
|
|
13943
13943
|
r7 as d,
|
|
13944
13944
|
Ub as e,
|
|
@@ -13953,7 +13953,7 @@ export {
|
|
|
13953
13953
|
Qb as n,
|
|
13954
13954
|
s9 as o,
|
|
13955
13955
|
te as p,
|
|
13956
|
-
|
|
13956
|
+
v3 as q,
|
|
13957
13957
|
Ge as r,
|
|
13958
13958
|
Zt as s,
|
|
13959
13959
|
kb as t,
|