@ximatai/muyun-web-app 0.26.9 → 0.26.10
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/dist/{MetadataOrchestrationView-CzhAgEdX.js → MetadataOrchestrationView-BhtVwJII.js} +182 -182
- package/dist/{ModuleActionManagementView-CM2d8jPO.js → ModuleActionManagementView-DpZS-xAD.js} +70 -70
- package/dist/RoleAuthorizationView-8lilhtMB.js +646 -0
- package/dist/{RoleDetailWorkspaceView-CzaQ3Dz1.js → RoleDetailWorkspaceView-CFha6JHn.js} +1 -1
- package/dist/{RoleManagementView-nY7qu4GF.js → RoleManagementView-0_KDrzgh.js} +511 -514
- package/dist/index.css +1 -1
- package/dist/index.js +282 -302
- package/dist/{platform-components-CIi6GdC9.js → platform-components-oRIsIoxu.js} +2060 -1893
- package/dist/types/app/StaticRoutePageHost.vue.d.ts +2 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/consumer/index.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +7 -2
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +69 -15
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/index.d.ts +2 -1
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +35 -3
- package/dist/types/dynamic-page-runtime/navigatorEntrySelection.d.ts +18 -0
- package/dist/types/dynamic-page-runtime/pageContextRuntime.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/pageNavigatorItemModel.d.ts +13 -0
- package/dist/types/dynamic-page-runtime/recordDetailController.d.ts +9 -8
- package/dist/types/platform-admin-runtime/platformModulePageEnhancement.d.ts +6 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +4 -0
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +5 -3
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPanelButton.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +7 -1
- package/dist/types/platform-components/RecordStatusSwitch.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +4 -0
- package/dist/types/platform-components/index.d.ts +0 -2
- package/dist/types/platform-components/recordFormFieldModel.d.ts +16 -2
- package/dist/types/platform-components/recordPickerConstraints.d.ts +2 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +4 -2
- package/dist/types/vue-ui-antdv/components/UiSwitch.vue.d.ts +2 -0
- package/dist/types/web-contracts/index.d.ts +72 -2
- package/dist/types/web-core/http.d.ts +6 -0
- package/dist/types/web-core/module/index.d.ts +1 -1
- package/dist/types/web-core/module/moduleContext.d.ts +2 -1
- package/dist/types/web-core/module/staticModuleClient.d.ts +6 -0
- package/dist/types/web-core/realtime.d.ts +8 -0
- package/dist/{workspaceViews-CkERhK0K.js → workspaceViews-D-RiJ64o.js} +3341 -3011
- package/package.json +1 -1
- package/dist/DictionaryManagementView-CtIQpqVA.js +0 -1035
- package/dist/MenuManagementView-DJhkN2sG.js +0 -837
- package/dist/RoleAuthorizationView-jn_WUCeg.js +0 -599
- package/dist/SystemUserDetailWorkspaceView-CBvqmWvP.js +0 -17
- package/dist/SystemUserManagementView-AEomKvK7.js +0 -887
- package/dist/currentUserContext-B1lj1WgF.js +0 -11
- package/dist/types/platform-components/scopedResourceTreeModuleContext.d.ts +0 -6
- package/dist/types/views/DictionaryManagementView.vue.d.ts +0 -3
- package/dist/types/views/MenuManagementView.vue.d.ts +0 -3
- package/dist/types/views/SystemUserDetailWorkspaceView.vue.d.ts +0 -7
- package/dist/types/views/SystemUserManagementView.vue.d.ts +0 -7
- package/dist/types/views/dictionaryManagementState.d.ts +0 -215
- package/dist/types/views/menuManagementState.d.ts +0 -180
- package/dist/types/views/systemUserDetailWorkspaceSession.d.ts +0 -12
- package/dist/types/views/systemUserDetailWorkspaceView.d.ts +0 -5
- package/dist/workspaceViewSessions-B5g4M0rT.js +0 -51
package/dist/index.js
CHANGED
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { $ as e, $n as t, $t as n, An as r, At as i, Bn as a,
|
|
2
|
-
import { $ as jt, A as Mt, B as Nt,
|
|
3
|
-
import {
|
|
4
|
-
import { Fragment as Fn, computed as k, createBlock as A, createCommentVNode as j, createElementBlock as M, createElementVNode as N, createTextVNode as In, createVNode as P, defineAsyncComponent as F, defineComponent as I, normalizeClass as Ln, normalizeStyle as Rn, onBeforeUnmount as zn, onMounted as Bn, openBlock as L, provide as Vn, ref as R, renderList as Hn, renderSlot as Un, resolveDynamicComponent as Wn, toDisplayString as z, unref as B, watch as Gn, withCtx as V, withModifiers as Kn } from "vue";
|
|
1
|
+
import { $ as e, $n as t, $t as n, An as r, At as i, Bn as a, Bt as o, Cn as s, Ct as c, Dn as l, En as u, Et as d, Fn as f, G as p, Gn as m, Gt as h, Hn as g, Ht as _, In as v, It as y, J as b, Jn as x, Jt as S, Kn as ee, Kt as te, Ln as ne, Mn as re, Nn as ie, On as ae, Ot as oe, Pn as se, Q as ce, Qn as le, Qt as ue, Rn as de, Rt as fe, Sn as pe, St as me, Tn as he, Tt as ge, Un as _e, Ut as ve, V as ye, Vn as be, Vt as xe, Wn as Se, Wt as Ce, X as we, Xn as Te, Xt as Ee, Y as De, Yn as Oe, Yt as ke, Z as Ae, Zn as je, Zt as Me, _n as Ne, _t as Pe, an as Fe, ar as Ie, at as Le, bn as Re, cn as ze, cr as Be, ct as Ve, dn as He, en as Ue, er as We, et as Ge, fn as Ke, gn as qe, hn as Je, ht as Ye, in as Xe, ir as Ze, jn as Qe, jt as C, kn as $e, ln as et, lr as tt, mn as nt, mt as rt, nn as it, nr as at, nt as ot, on as st, or as ct, ot as lt, pn as ut, qn as dt, qt as ft, rn as pt, rr as mt, sn as ht, sr as gt, st as _t, tn as vt, tr as yt, un as bt, ur as xt, ut as St, vn as Ct, wn as wt, wt as Tt, xn as Et, yn as Dt, yt as Ot, zn as kt, zt as At } from "./platform-components-oRIsIoxu.js";
|
|
2
|
+
import { $ as jt, A as Mt, B as Nt, C as Pt, D as Ft, E as It, F as Lt, G as Rt, H as zt, I as Bt, J as Vt, K as Ht, L as Ut, M as w, N as Wt, O as Gt, P as Kt, Q as T, R as qt, S as Jt, T as Yt, U as Xt, V as Zt, W as Qt, X as $t, Y as en, Z as tn, _ as nn, a as rn, at as E, b as an, c as on, ct as sn, d as cn, dt as D, et as ln, f as un, g as dn, h as fn, i as pn, it as mn, j as hn, k as gn, l as _n, lt as vn, m as yn, n as bn, nt as xn, o as Sn, ot as Cn, p as wn, q as Tn, r as En, rt as Dn, s as On, st as O, t as kn, tt as k, u as An, ut as jn, w as Mn, x as Nn, z as Pn } from "./workspaceViews-D-RiJ64o.js";
|
|
3
|
+
import { Fragment as Fn, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createTextVNode as In, createVNode as F, defineAsyncComponent as Ln, defineComponent as I, normalizeClass as Rn, normalizeStyle as zn, onBeforeUnmount as Bn, onMounted as Vn, openBlock as L, provide as Hn, ref as R, renderList as Un, renderSlot as Wn, resolveDynamicComponent as Gn, toDisplayString as z, unref as B, watch as Kn, withCtx as V, withModifiers as qn } from "vue";
|
|
5
4
|
//#region node_modules/@vue/devtools-api/lib/esm/env.js
|
|
6
|
-
function qn() {
|
|
7
|
-
return Jn().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
8
|
-
}
|
|
9
5
|
function Jn() {
|
|
10
|
-
return
|
|
6
|
+
return Yn().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
11
7
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return H === void 0 && (typeof window < "u" && window.performance ? (H = !0, Qn = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (H = !0, Qn = globalThis.perf_hooks.performance) : H = !1), H;
|
|
8
|
+
function Yn() {
|
|
9
|
+
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
15
10
|
}
|
|
11
|
+
var Xn = typeof Proxy == "function", Zn = "devtools-plugin:setup", Qn = "plugin:settings:set", H, $n;
|
|
16
12
|
function er() {
|
|
17
|
-
return
|
|
13
|
+
return H === void 0 && (typeof window < "u" && window.performance ? (H = !0, $n = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (H = !0, $n = globalThis.perf_hooks.performance) : H = !1), H;
|
|
14
|
+
}
|
|
15
|
+
function tr() {
|
|
16
|
+
return er() ? $n.now() : Date.now();
|
|
18
17
|
}
|
|
19
18
|
//#endregion
|
|
20
19
|
//#region node_modules/@vue/devtools-api/lib/esm/proxy.js
|
|
21
|
-
var
|
|
20
|
+
var nr = class {
|
|
22
21
|
constructor(e, t) {
|
|
23
22
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = t;
|
|
24
23
|
let n = {};
|
|
@@ -39,9 +38,9 @@ var tr = class {
|
|
|
39
38
|
i = e;
|
|
40
39
|
},
|
|
41
40
|
now() {
|
|
42
|
-
return
|
|
41
|
+
return tr();
|
|
43
42
|
}
|
|
44
|
-
}, t && t.on(
|
|
43
|
+
}, t && t.on(Qn, (e, t) => {
|
|
45
44
|
e === this.plugin.id && this.fallbacks.setSettings(t);
|
|
46
45
|
}), this.proxiedOn = new Proxy({}, { get: (e, t) => this.target ? this.target.on[t] : (...e) => {
|
|
47
46
|
this.onQueue.push({
|
|
@@ -68,11 +67,11 @@ var tr = class {
|
|
|
68
67
|
};
|
|
69
68
|
//#endregion
|
|
70
69
|
//#region node_modules/@vue/devtools-api/lib/esm/index.js
|
|
71
|
-
function
|
|
72
|
-
let n = e, r =
|
|
73
|
-
if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(
|
|
70
|
+
function rr(e, t) {
|
|
71
|
+
let n = e, r = Yn(), i = Jn(), a = Xn && n.enableEarlyProxy;
|
|
72
|
+
if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(Zn, e, t);
|
|
74
73
|
else {
|
|
75
|
-
let e = a ? new
|
|
74
|
+
let e = a ? new nr(n, i) : null;
|
|
76
75
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
77
76
|
pluginDescriptor: n,
|
|
78
77
|
setupFn: t,
|
|
@@ -82,7 +81,7 @@ function nr(e, t) {
|
|
|
82
81
|
}
|
|
83
82
|
//#endregion
|
|
84
83
|
//#region node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
85
|
-
var
|
|
84
|
+
var ir = {
|
|
86
85
|
À: "A",
|
|
87
86
|
Á: "A",
|
|
88
87
|
Â: "A",
|
|
@@ -482,9 +481,9 @@ var rr = {
|
|
|
482
481
|
x̧: "x",
|
|
483
482
|
Z̧: "Z",
|
|
484
483
|
z̧: "z"
|
|
485
|
-
},
|
|
486
|
-
function
|
|
487
|
-
return e.replace(
|
|
484
|
+
}, ar = Object.keys(ir).join("|"), or = new RegExp(ar, "g");
|
|
485
|
+
function sr(e) {
|
|
486
|
+
return e.replace(or, (e) => ir[e]);
|
|
488
487
|
}
|
|
489
488
|
var U = {
|
|
490
489
|
CASE_SENSITIVE_EQUAL: 7,
|
|
@@ -496,9 +495,9 @@ var U = {
|
|
|
496
495
|
MATCHES: 1,
|
|
497
496
|
NO_MATCH: 0
|
|
498
497
|
};
|
|
499
|
-
function
|
|
498
|
+
function cr(e, t, n) {
|
|
500
499
|
if (n ||= {}, n.threshold = n.threshold ?? U.MATCHES, !n.accessors) {
|
|
501
|
-
let r =
|
|
500
|
+
let r = lr(e, t, n);
|
|
502
501
|
return {
|
|
503
502
|
rankedValue: e,
|
|
504
503
|
rank: r,
|
|
@@ -507,7 +506,7 @@ function sr(e, t, n) {
|
|
|
507
506
|
passed: r >= n.threshold
|
|
508
507
|
};
|
|
509
508
|
}
|
|
510
|
-
let r =
|
|
509
|
+
let r = mr(e, n.accessors), i = {
|
|
511
510
|
rankedValue: e,
|
|
512
511
|
rank: U.NO_MATCH,
|
|
513
512
|
accessorIndex: -1,
|
|
@@ -515,15 +514,15 @@ function sr(e, t, n) {
|
|
|
515
514
|
passed: !1
|
|
516
515
|
};
|
|
517
516
|
for (let e = 0; e < r.length; e++) {
|
|
518
|
-
let a = r[e], o =
|
|
517
|
+
let a = r[e], o = lr(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
|
|
519
518
|
o < s && o >= U.MATCHES ? o = s : o > c && (o = c), o = Math.min(o, c), o >= l && o > i.rank && (i.rank = o, i.passed = !0, i.accessorIndex = e, i.accessorThreshold = l, i.rankedValue = a.itemValue);
|
|
520
519
|
}
|
|
521
520
|
return i;
|
|
522
521
|
}
|
|
523
|
-
function
|
|
524
|
-
return e =
|
|
522
|
+
function lr(e, t, n) {
|
|
523
|
+
return e = fr(e, n), t = fr(t, n), t.length > e.length ? U.NO_MATCH : e === t ? U.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? U.EQUAL : e.startsWith(t) ? U.STARTS_WITH : e.includes(` ${t}`) ? U.WORD_STARTS_WITH : e.includes(t) ? U.CONTAINS : t.length === 1 ? U.NO_MATCH : ur(e).includes(t) ? U.ACRONYM : dr(e, t));
|
|
525
524
|
}
|
|
526
|
-
function
|
|
525
|
+
function ur(e) {
|
|
527
526
|
let t = "";
|
|
528
527
|
return e.split(" ").forEach((e) => {
|
|
529
528
|
e.split("-").forEach((e) => {
|
|
@@ -531,7 +530,7 @@ function lr(e) {
|
|
|
531
530
|
});
|
|
532
531
|
}), t;
|
|
533
532
|
}
|
|
534
|
-
function
|
|
533
|
+
function dr(e, t) {
|
|
535
534
|
let n = 0, r = 0;
|
|
536
535
|
function i(e, t, r) {
|
|
537
536
|
for (let i = r, a = t.length; i < a; i++) if (t[i] === e) return n += 1, i + 1;
|
|
@@ -550,20 +549,20 @@ function ur(e, t) {
|
|
|
550
549
|
}
|
|
551
550
|
return a(r - o);
|
|
552
551
|
}
|
|
553
|
-
function
|
|
552
|
+
function fr(e, t) {
|
|
554
553
|
let { keepDiacritics: n } = t;
|
|
555
|
-
return e = `${e}`, n || (e =
|
|
554
|
+
return e = `${e}`, n || (e = sr(e)), e;
|
|
556
555
|
}
|
|
557
|
-
function
|
|
556
|
+
function pr(e, t) {
|
|
558
557
|
let n = t;
|
|
559
558
|
typeof t == "object" && (n = t.accessor);
|
|
560
559
|
let r = n(e);
|
|
561
560
|
return r == null ? [] : Array.isArray(r) ? r : [String(r)];
|
|
562
561
|
}
|
|
563
|
-
function
|
|
562
|
+
function mr(e, t) {
|
|
564
563
|
let n = [];
|
|
565
564
|
for (let r = 0, i = t.length; r < i; r++) {
|
|
566
|
-
let i = t[r], a =
|
|
565
|
+
let i = t[r], a = gr(i), o = pr(e, i);
|
|
567
566
|
for (let e = 0, t = o.length; e < t; e++) n.push({
|
|
568
567
|
itemValue: o[e],
|
|
569
568
|
attributes: a
|
|
@@ -571,13 +570,13 @@ function pr(e, t) {
|
|
|
571
570
|
}
|
|
572
571
|
return n;
|
|
573
572
|
}
|
|
574
|
-
var
|
|
573
|
+
var hr = {
|
|
575
574
|
maxRanking: Infinity,
|
|
576
575
|
minRanking: -Infinity
|
|
577
576
|
};
|
|
578
|
-
function
|
|
579
|
-
return typeof e == "function" ?
|
|
580
|
-
...
|
|
577
|
+
function gr(e) {
|
|
578
|
+
return typeof e == "function" ? hr : {
|
|
579
|
+
...hr,
|
|
581
580
|
...e
|
|
582
581
|
};
|
|
583
582
|
}
|
|
@@ -586,26 +585,26 @@ function hr(e) {
|
|
|
586
585
|
function W(e) {
|
|
587
586
|
return e.state.fetchStatus === "fetching" ? 0 : e.state.fetchStatus === "paused" ? 4 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3;
|
|
588
587
|
}
|
|
589
|
-
function
|
|
588
|
+
function _r(e) {
|
|
590
589
|
let t = W(e);
|
|
591
590
|
return t === 0 ? "fetching" : t === 4 ? "paused" : t === 2 ? "stale" : t === 3 ? "inactive" : "fresh";
|
|
592
591
|
}
|
|
593
|
-
function
|
|
592
|
+
function vr(e) {
|
|
594
593
|
return W(e) === 2 ? 0 : 16777215;
|
|
595
594
|
}
|
|
596
|
-
function
|
|
595
|
+
function yr(e) {
|
|
597
596
|
let t = W(e);
|
|
598
597
|
return t === 0 ? 27647 : t === 4 ? 9193963 : t === 2 ? 16757248 : t === 3 ? 4148832 : 33575;
|
|
599
598
|
}
|
|
600
|
-
var
|
|
601
|
-
"Status > Last Updated": (e, t) => W(e) === W(t) ?
|
|
602
|
-
"Query Hash":
|
|
603
|
-
"Last Updated":
|
|
604
|
-
}, G = "vue-query",
|
|
605
|
-
function
|
|
606
|
-
|
|
599
|
+
var br = (e, t) => e.queryHash.localeCompare(t.queryHash), xr = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Sr = {
|
|
600
|
+
"Status > Last Updated": (e, t) => W(e) === W(t) ? xr(e, t) : W(e) > W(t) ? 1 : -1,
|
|
601
|
+
"Query Hash": br,
|
|
602
|
+
"Last Updated": xr
|
|
603
|
+
}, G = "vue-query", Cr = "Vue Query";
|
|
604
|
+
function wr(e, t) {
|
|
605
|
+
rr({
|
|
607
606
|
id: G,
|
|
608
|
-
label:
|
|
607
|
+
label: Cr,
|
|
609
608
|
packageName: "vue-query",
|
|
610
609
|
homepage: "https://tanstack.com/query/latest",
|
|
611
610
|
logo: "https://raw.githubusercontent.com/TanStack/query/main/packages/vue-query/media/vue-query.svg",
|
|
@@ -627,11 +626,11 @@ function Cr(e, t) {
|
|
|
627
626
|
sortFn: {
|
|
628
627
|
type: "choice",
|
|
629
628
|
label: "Sort Function",
|
|
630
|
-
options: Object.keys(
|
|
629
|
+
options: Object.keys(Sr).map((e) => ({
|
|
631
630
|
label: e,
|
|
632
631
|
value: e
|
|
633
632
|
})),
|
|
634
|
-
defaultValue: Object.keys(
|
|
633
|
+
defaultValue: Object.keys(Sr)[0]
|
|
635
634
|
},
|
|
636
635
|
onlineMode: {
|
|
637
636
|
type: "choice",
|
|
@@ -653,7 +652,7 @@ function Cr(e, t) {
|
|
|
653
652
|
let r = t.getQueryCache();
|
|
654
653
|
e.addInspector({
|
|
655
654
|
id: G,
|
|
656
|
-
label:
|
|
655
|
+
label: Cr,
|
|
657
656
|
icon: "api",
|
|
658
657
|
nodeActions: [
|
|
659
658
|
{
|
|
@@ -713,7 +712,7 @@ function Cr(e, t) {
|
|
|
713
712
|
]
|
|
714
713
|
}), e.addTimelineLayer({
|
|
715
714
|
id: G,
|
|
716
|
-
label:
|
|
715
|
+
label: Cr,
|
|
717
716
|
color: 16767308
|
|
718
717
|
}), r.subscribe((t) => {
|
|
719
718
|
e.sendInspectorTree(G), e.sendInspectorState(G), [
|
|
@@ -737,15 +736,15 @@ function Cr(e, t) {
|
|
|
737
736
|
}), e.on.getInspectorTree((t) => {
|
|
738
737
|
if (t.inspectorId === G) {
|
|
739
738
|
let n = r.getAll(), i = e.getSettings();
|
|
740
|
-
t.rootNodes = (t.filter ? n.filter((e) =>
|
|
741
|
-
let t =
|
|
739
|
+
t.rootNodes = (t.filter ? n.filter((e) => cr(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => Sr[i.sortFn](e, t) * i.baseSort).map((e) => {
|
|
740
|
+
let t = _r(e);
|
|
742
741
|
return {
|
|
743
742
|
id: e.queryHash,
|
|
744
743
|
label: e.queryHash,
|
|
745
744
|
tags: [{
|
|
746
745
|
label: `${t} [${e.getObserversCount()}]`,
|
|
747
|
-
textColor:
|
|
748
|
-
backgroundColor:
|
|
746
|
+
textColor: vr(e),
|
|
747
|
+
backgroundColor: yr(e)
|
|
749
748
|
}]
|
|
750
749
|
};
|
|
751
750
|
});
|
|
@@ -762,7 +761,7 @@ function Cr(e, t) {
|
|
|
762
761
|
},
|
|
763
762
|
{
|
|
764
763
|
key: "Query status",
|
|
765
|
-
value:
|
|
764
|
+
value: _r(t)
|
|
766
765
|
},
|
|
767
766
|
{
|
|
768
767
|
key: "Observers",
|
|
@@ -788,9 +787,9 @@ function Cr(e, t) {
|
|
|
788
787
|
}
|
|
789
788
|
//#endregion
|
|
790
789
|
//#region node_modules/@tanstack/vue-query/build/modern/vueQueryPlugin.js
|
|
791
|
-
var
|
|
792
|
-
let n =
|
|
793
|
-
r = "queryClient" in t && t.queryClient ? t.queryClient : new
|
|
790
|
+
var Tr = { install: (e, t = {}) => {
|
|
791
|
+
let n = Te(t.queryClientKey), r;
|
|
792
|
+
r = "queryClient" in t && t.queryClient ? t.queryClient : new Oe("queryClientConfig" in t ? t.queryClientConfig : void 0), le.isServer() || r.mount();
|
|
794
793
|
let i = () => {};
|
|
795
794
|
if (t.clientPersister) {
|
|
796
795
|
r.isRestoring && (r.isRestoring.value = !0);
|
|
@@ -809,68 +808,47 @@ var wr = { install: (e, t = {}) => {
|
|
|
809
808
|
a(), t();
|
|
810
809
|
};
|
|
811
810
|
}
|
|
812
|
-
e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin &&
|
|
813
|
-
} },
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
component: Dr,
|
|
836
|
-
layout: "workspace"
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
route: "/iam/role/authorization",
|
|
840
|
-
moduleAlias: "iam.role",
|
|
841
|
-
component: Or,
|
|
842
|
-
layout: "workspace",
|
|
843
|
-
menuEntry: !1
|
|
844
|
-
}
|
|
845
|
-
], Ar = Array.from(new Set(["/_platform/workspace", ...K.map((e) => e.route)])), jr = Object.fromEntries(K.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), Mr = Object.fromEntries(K.map((e) => [e.route, e.layout]));
|
|
846
|
-
function Nr(e) {
|
|
847
|
-
if (e) return K.find((t) => Fr(t, e.target));
|
|
848
|
-
}
|
|
849
|
-
function Pr(e) {
|
|
850
|
-
return e?.pageType === "business-route" && !!Nr(e);
|
|
851
|
-
}
|
|
852
|
-
function Fr(e, t) {
|
|
853
|
-
return t.route ? Ir(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
|
|
854
|
-
}
|
|
855
|
-
function Ir(e, t) {
|
|
811
|
+
e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && wr(e, r);
|
|
812
|
+
} }, Er = Ln(() => import("./RoleManagementView-0_KDrzgh.js").then((e) => e.n)), Dr = Ln(() => import("./RoleAuthorizationView-8lilhtMB.js").then((e) => e.n)), K = [{
|
|
813
|
+
route: "/iam/role",
|
|
814
|
+
moduleAlias: "iam.role",
|
|
815
|
+
component: Er,
|
|
816
|
+
layout: "workspace"
|
|
817
|
+
}, {
|
|
818
|
+
route: "/iam/role/authorization",
|
|
819
|
+
moduleAlias: "iam.role",
|
|
820
|
+
component: Dr,
|
|
821
|
+
layout: "workspace",
|
|
822
|
+
menuEntry: !1
|
|
823
|
+
}], Or = Array.from(new Set(["/_platform/workspace", ...K.map((e) => e.route)])), kr = Object.fromEntries(K.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), Ar = Object.fromEntries(K.map((e) => [e.route, e.layout]));
|
|
824
|
+
function jr(e) {
|
|
825
|
+
if (e) return K.find((t) => Nr(t, e.target));
|
|
826
|
+
}
|
|
827
|
+
function Mr(e) {
|
|
828
|
+
return e?.pageType === "business-route" && !!jr(e);
|
|
829
|
+
}
|
|
830
|
+
function Nr(e, t) {
|
|
831
|
+
return t.route ? Pr(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
|
|
832
|
+
}
|
|
833
|
+
function Pr(e, t) {
|
|
856
834
|
let n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean);
|
|
857
835
|
return n.length === r.length && n.every((e, t) => e.startsWith(":") || e === r[t]);
|
|
858
836
|
}
|
|
859
837
|
//#endregion
|
|
860
838
|
//#region src/app/pageRouteContext.ts
|
|
861
|
-
var
|
|
862
|
-
function
|
|
863
|
-
|
|
839
|
+
var Fr = Symbol("page-route");
|
|
840
|
+
function Ir(e) {
|
|
841
|
+
Hn(Fr, A(e));
|
|
864
842
|
}
|
|
865
843
|
//#endregion
|
|
866
844
|
//#region src/platform-admin-runtime/PlatformAdminOutlet.vue
|
|
867
|
-
var
|
|
845
|
+
var Lr = /* @__PURE__ */ I({
|
|
868
846
|
name: "PlatformAdminRouteOutlet",
|
|
869
847
|
__name: "PlatformAdminOutlet",
|
|
870
848
|
props: { descriptor: {} },
|
|
871
849
|
setup(e) {
|
|
872
|
-
let t = e, n =
|
|
873
|
-
|
|
850
|
+
let t = e, n = A(() => jr(t.descriptor)), r = A(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = A(() => t.descriptor.target.query?.workspacePresentation);
|
|
851
|
+
p(A(() => t.descriptor.layout ?? n.value?.layout)), Ir(() => {
|
|
874
852
|
let e = n.value?.route ?? t.descriptor.target.route ?? "", r = t.descriptor.target.route ?? e;
|
|
875
853
|
return {
|
|
876
854
|
path: r,
|
|
@@ -886,24 +864,24 @@ var zr = /* @__PURE__ */ I({
|
|
|
886
864
|
e.startsWith(":") && i[t] && (n[e.slice(1)] = i[t]);
|
|
887
865
|
}), n;
|
|
888
866
|
}
|
|
889
|
-
return (t, a) => n.value && r.value ? (L(),
|
|
867
|
+
return (t, a) => n.value && r.value ? (L(), j(B(At), {
|
|
890
868
|
key: 0,
|
|
891
869
|
"module-alias": r.value
|
|
892
870
|
}, {
|
|
893
|
-
default: V(() => [i.value === "drawer" || i.value === "tab" ? (L(),
|
|
871
|
+
default: V(() => [i.value === "drawer" || i.value === "tab" ? (L(), j(B(Jt), {
|
|
894
872
|
key: 0,
|
|
895
873
|
descriptor: e.descriptor
|
|
896
|
-
}, null, 8, ["descriptor"])) : (L(),
|
|
874
|
+
}, null, 8, ["descriptor"])) : (L(), j(Gn(n.value.component), { key: 1 }))]),
|
|
897
875
|
_: 1
|
|
898
|
-
}, 8, ["module-alias"])) :
|
|
876
|
+
}, 8, ["module-alias"])) : M("v-if", !0);
|
|
899
877
|
}
|
|
900
878
|
});
|
|
901
879
|
//#endregion
|
|
902
880
|
//#region src/app/workbenchStartup.ts
|
|
903
|
-
function
|
|
904
|
-
let i =
|
|
881
|
+
function Rr(e, t, n, r = {}) {
|
|
882
|
+
let i = T(t, n, r), a = e.find((e) => e.key === i.key);
|
|
905
883
|
if (a) {
|
|
906
|
-
let o = a.pageDescriptor ?
|
|
884
|
+
let o = a.pageDescriptor ? ti(t, n, a.pageDescriptor, r) : i;
|
|
907
885
|
return {
|
|
908
886
|
tabs: e.map((e) => e.key === i.key ? o : e),
|
|
909
887
|
activeTabKey: i.key
|
|
@@ -914,8 +892,8 @@ function Br(e, t, n, r = {}) {
|
|
|
914
892
|
activeTabKey: i.key
|
|
915
893
|
};
|
|
916
894
|
}
|
|
917
|
-
function
|
|
918
|
-
let r = X(
|
|
895
|
+
function zr(e, t, n = {}) {
|
|
896
|
+
let r = X(D(t), n), i = e.find((e) => e.key === r.key ? !0 : r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && sn(e.pageDescriptor) === sn(r.pageDescriptor));
|
|
919
897
|
return i ? {
|
|
920
898
|
tabs: e,
|
|
921
899
|
activeTabKey: i.key,
|
|
@@ -926,41 +904,41 @@ function Vr(e, t, n = {}) {
|
|
|
926
904
|
created: !0
|
|
927
905
|
};
|
|
928
906
|
}
|
|
929
|
-
function
|
|
930
|
-
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : O(
|
|
907
|
+
function Br(e, t, n = {}) {
|
|
908
|
+
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : E(O(t, {
|
|
931
909
|
...n,
|
|
932
910
|
title: e.title
|
|
933
911
|
}), n);
|
|
934
912
|
}
|
|
935
|
-
function
|
|
913
|
+
function Vr(e) {
|
|
936
914
|
let t = (e.tabs ?? []).find((t) => t.key === e.activeTabKey);
|
|
937
915
|
if (t?.fullPath) return t.fullPath;
|
|
938
|
-
let n = t?.pageDescriptor ?? (t?.target ?
|
|
939
|
-
return n?.pageType === "platform-route" &&
|
|
916
|
+
let n = t?.pageDescriptor ?? (t?.target ? O(t.target, { title: t.title }) : void 0);
|
|
917
|
+
return n?.pageType === "platform-route" && _n(n) && n.target.route ? n.target.route : n ? E(n) : void 0;
|
|
940
918
|
}
|
|
941
919
|
function q(e, t, n = {}, r = !1) {
|
|
942
920
|
if (t === "/" || t === "") return e;
|
|
943
|
-
let i = t.split(/[?#]/, 1)[0] ?? "", a =
|
|
921
|
+
let i = t.split(/[?#]/, 1)[0] ?? "", a = cn(i), o = a ? On(a) : An(i) ? on() : jn(t, n);
|
|
944
922
|
if (!o) return e;
|
|
945
|
-
let s = o.menuId ?
|
|
923
|
+
let s = o.menuId ? ci(e.menus, o.menuId) : void 0, c = s ? k(s) : void 0, l = s && c && Ur(c, o) ? {
|
|
946
924
|
...o,
|
|
947
925
|
title: s.title
|
|
948
|
-
} : o, u =
|
|
926
|
+
} : o, u = Hr(l), d = u ?? l, f = r ? D(d) : d, p = s && oi(s, f, n) ? s : ai(e.menus, f, n), m = p === s ? c : p ? k(p) : void 0, h = u ? X(u, n) : p && m && xn(m) ? ti(p, m, f, n) : X(f, n), g = ei(e.tabs ?? [], h);
|
|
949
927
|
return {
|
|
950
928
|
...e,
|
|
951
929
|
tabs: g,
|
|
952
930
|
activeTabKey: h.key
|
|
953
931
|
};
|
|
954
932
|
}
|
|
955
|
-
function
|
|
933
|
+
function Hr(e) {
|
|
956
934
|
if (e.pageType !== "business-route") return;
|
|
957
|
-
let t =
|
|
958
|
-
return t ?
|
|
935
|
+
let t = Ft(e);
|
|
936
|
+
return t ? Mn(t.view, t.input, t.presentation, e.title) : void 0;
|
|
959
937
|
}
|
|
960
|
-
function
|
|
938
|
+
function Ur(e, t) {
|
|
961
939
|
return t.pageType === "dynamic-module" && e.menuType === "module" && e.moduleAlias === t.target.moduleAlias;
|
|
962
940
|
}
|
|
963
|
-
function
|
|
941
|
+
function Wr(e, t, n) {
|
|
964
942
|
let r = e.findIndex((e) => e.key === n);
|
|
965
943
|
if (r < 0) return {
|
|
966
944
|
tabs: e,
|
|
@@ -975,7 +953,7 @@ function Kr(e, t, n) {
|
|
|
975
953
|
activeTabKey: t
|
|
976
954
|
};
|
|
977
955
|
}
|
|
978
|
-
function
|
|
956
|
+
function Gr(e, t, n) {
|
|
979
957
|
let r = new Set(n), i = e.findIndex((e) => e.key === t), a = e.filter((e) => !r.has(e.key) || e.closable === !1);
|
|
980
958
|
return !t || !r.has(t) ? {
|
|
981
959
|
tabs: a,
|
|
@@ -991,10 +969,10 @@ function J(e, t, n = !0) {
|
|
|
991
969
|
if (i.has(e.key)) return [];
|
|
992
970
|
i.add(e.key);
|
|
993
971
|
let t = r.get(e.key);
|
|
994
|
-
return t ? [
|
|
972
|
+
return t ? [Kr(t, e)] : n ? [e] : [];
|
|
995
973
|
}), ...e.filter((e) => !i.has(e.key))];
|
|
996
974
|
}
|
|
997
|
-
function
|
|
975
|
+
function Kr(e, t) {
|
|
998
976
|
let n = e.pageDescriptor, r = t.pageDescriptor;
|
|
999
977
|
if (!n || !r || !t.target) return e;
|
|
1000
978
|
let i = {
|
|
@@ -1009,48 +987,48 @@ function Jr(e, t) {
|
|
|
1009
987
|
target: t.target
|
|
1010
988
|
};
|
|
1011
989
|
}
|
|
1012
|
-
function
|
|
990
|
+
function qr(e, t, n = {}) {
|
|
1013
991
|
let r = /* @__PURE__ */ new Map();
|
|
1014
|
-
|
|
992
|
+
Zr(t, r);
|
|
1015
993
|
let i = /* @__PURE__ */ new Set();
|
|
1016
994
|
return e.flatMap((e) => {
|
|
1017
|
-
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ??
|
|
995
|
+
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ?? Jr(e.key);
|
|
1018
996
|
if (t) {
|
|
1019
997
|
if (i.has(t)) return [];
|
|
1020
998
|
let e = r.get(t);
|
|
1021
|
-
return e ? (i.add(t), [
|
|
999
|
+
return e ? (i.add(t), [T(e.menu, e.target, n)]) : [];
|
|
1022
1000
|
}
|
|
1023
|
-
let a =
|
|
1001
|
+
let a = Yr(e);
|
|
1024
1002
|
return !a || i.has(a.key) ? [] : (i.add(a.key), [a]);
|
|
1025
1003
|
});
|
|
1026
1004
|
}
|
|
1027
|
-
function
|
|
1005
|
+
function Jr(e) {
|
|
1028
1006
|
return e.startsWith("menu:") && e.slice(5) || void 0;
|
|
1029
1007
|
}
|
|
1030
|
-
function
|
|
1008
|
+
function Yr(e) {
|
|
1031
1009
|
let t = e.pageDescriptor;
|
|
1032
1010
|
if (t?.pageType !== "business-route") return;
|
|
1033
|
-
let n =
|
|
1034
|
-
if (!(!n || n.presentation !== "tab")) return X(
|
|
1011
|
+
let n = Ft(t);
|
|
1012
|
+
if (!(!n || n.presentation !== "tab")) return X(Mn(n.view, n.input, "tab"));
|
|
1035
1013
|
}
|
|
1036
|
-
function
|
|
1014
|
+
function Xr(e, t) {
|
|
1037
1015
|
let n = e.findIndex((e) => e.key === t.key);
|
|
1038
1016
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
1039
1017
|
}
|
|
1040
|
-
function
|
|
1018
|
+
function Zr(e, t) {
|
|
1041
1019
|
for (let n of e) {
|
|
1042
|
-
let e =
|
|
1043
|
-
e &&
|
|
1020
|
+
let e = k(n.record);
|
|
1021
|
+
e && xn(e) && t.set(n.record.id, {
|
|
1044
1022
|
menu: n.record,
|
|
1045
1023
|
target: e
|
|
1046
|
-
}),
|
|
1024
|
+
}), Zr(n.children, t);
|
|
1047
1025
|
}
|
|
1048
1026
|
}
|
|
1049
1027
|
function Y(e, t) {
|
|
1050
1028
|
let n = new Set(t);
|
|
1051
1029
|
return e.filter((e) => !n.has(e.key));
|
|
1052
1030
|
}
|
|
1053
|
-
function
|
|
1031
|
+
function Qr(e, t, n = []) {
|
|
1054
1032
|
if (e.length !== t.length || new Set(t).size !== e.length) return e;
|
|
1055
1033
|
let r = new Map(e.map((e) => [e.key, e]));
|
|
1056
1034
|
if (t.some((e) => !r.has(e))) return e;
|
|
@@ -1058,27 +1036,27 @@ function ei(e, t, n = []) {
|
|
|
1058
1036
|
return [...i.filter((e) => a.has(e.key)), ...i.filter((e) => !a.has(e.key))];
|
|
1059
1037
|
}
|
|
1060
1038
|
function X(e, t = {}) {
|
|
1061
|
-
let n =
|
|
1039
|
+
let n = E(e, t);
|
|
1062
1040
|
return {
|
|
1063
|
-
|
|
1064
|
-
key:
|
|
1065
|
-
title: e.title ??
|
|
1041
|
+
...$r(e) ? { instanceKey: $r(e) } : {},
|
|
1042
|
+
key: vn(e),
|
|
1043
|
+
title: e.title ?? ii(e),
|
|
1066
1044
|
fullPath: n,
|
|
1067
1045
|
pageDescriptor: e,
|
|
1068
1046
|
restoreState: { url: n },
|
|
1069
1047
|
closable: !0
|
|
1070
1048
|
};
|
|
1071
1049
|
}
|
|
1072
|
-
function
|
|
1050
|
+
function $r(e) {
|
|
1073
1051
|
let t = (e.pageType === "platform-route" || e.pageType === "business-route" ? e.target.query ?? e.params : e.params)?.InstanceKey, n = Array.isArray(t) ? t[0] : t;
|
|
1074
1052
|
return typeof n == "string" && n ? n : void 0;
|
|
1075
1053
|
}
|
|
1076
|
-
function
|
|
1054
|
+
function ei(e, t) {
|
|
1077
1055
|
let n = e.findIndex((e) => e.key === t.key);
|
|
1078
1056
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
1079
1057
|
}
|
|
1080
|
-
function
|
|
1081
|
-
let i =
|
|
1058
|
+
function ti(e, t, n, r) {
|
|
1059
|
+
let i = T(e, t, r), a = i.pageDescriptor ?? n, o = ni(n) && ni(a) || ri(n) && ri(a) ? {
|
|
1082
1060
|
...n,
|
|
1083
1061
|
title: n.title ?? e.title,
|
|
1084
1062
|
menuId: e.id,
|
|
@@ -1099,68 +1077,68 @@ function ri(e, t, n, r) {
|
|
|
1099
1077
|
target: t
|
|
1100
1078
|
};
|
|
1101
1079
|
}
|
|
1102
|
-
function
|
|
1080
|
+
function ni(e) {
|
|
1103
1081
|
return e.pageType === "platform-route" || e.pageType === "business-route";
|
|
1104
1082
|
}
|
|
1105
|
-
function
|
|
1083
|
+
function ri(e) {
|
|
1106
1084
|
return e.pageType === "remote-url" || e.pageType === "external-link";
|
|
1107
1085
|
}
|
|
1108
|
-
function
|
|
1086
|
+
function ii(e) {
|
|
1109
1087
|
return e.pageType === "dynamic-module" ? e.target.moduleAlias : e.pageType === "platform-route" || e.pageType === "business-route" ? e.target.route ?? e.target.routeName ?? e.target.pageKey ?? "workspace" : e.target.url;
|
|
1110
1088
|
}
|
|
1111
|
-
function
|
|
1089
|
+
function ai(e, t, n) {
|
|
1112
1090
|
for (let r of e) {
|
|
1113
|
-
if (
|
|
1114
|
-
let e =
|
|
1091
|
+
if (oi(r.record, t, n)) return r.record;
|
|
1092
|
+
let e = ai(r.children, t, n);
|
|
1115
1093
|
if (e) return e;
|
|
1116
1094
|
}
|
|
1117
1095
|
}
|
|
1118
|
-
function
|
|
1119
|
-
let r =
|
|
1096
|
+
function oi(e, t, n) {
|
|
1097
|
+
let r = k(e), i = r ? O(r, {
|
|
1120
1098
|
...n,
|
|
1121
1099
|
title: e.title
|
|
1122
1100
|
}) : void 0;
|
|
1123
|
-
return i ?
|
|
1101
|
+
return i ? si(i, t) : !1;
|
|
1124
1102
|
}
|
|
1125
|
-
function
|
|
1103
|
+
function si(e, t) {
|
|
1126
1104
|
return e.pageType !== t.pageType || e.hostType !== t.hostType ? !1 : e.pageType === "dynamic-module" && t.pageType === "dynamic-module" ? e.target.moduleAlias === t.target.moduleAlias && (e.target.pageMode ?? "LIST") === (t.target.pageMode ?? "LIST") && (!t.target.defaultUiConfigId || e.target.defaultUiConfigId === t.target.defaultUiConfigId) && (!t.target.defaultQueryTemplateId || e.target.defaultQueryTemplateId === t.target.defaultQueryTemplateId) : (e.pageType === "platform-route" || e.pageType === "business-route") && (t.pageType === "platform-route" || t.pageType === "business-route") ? e.target.route === t.target.route && e.target.routeName === t.target.routeName && e.target.pageKey === t.target.pageKey : (e.pageType === "remote-url" || e.pageType === "external-link") && (t.pageType === "remote-url" || t.pageType === "external-link") ? e.target.url === t.target.url : !1;
|
|
1127
1105
|
}
|
|
1128
|
-
function
|
|
1106
|
+
function ci(e, t) {
|
|
1129
1107
|
for (let n of e) {
|
|
1130
1108
|
if (n.record.id === t) return n.record;
|
|
1131
|
-
let e =
|
|
1109
|
+
let e = ci(n.children, t);
|
|
1132
1110
|
if (e) return e;
|
|
1133
1111
|
}
|
|
1134
1112
|
}
|
|
1135
1113
|
//#endregion
|
|
1136
1114
|
//#region src/app/lockedTabPreference.ts
|
|
1137
|
-
var
|
|
1138
|
-
async function
|
|
1139
|
-
return
|
|
1115
|
+
var li = "workbench.locked-tabs";
|
|
1116
|
+
async function ui(e) {
|
|
1117
|
+
return fi(await e.restore(li, [], { persistence: "backend" }));
|
|
1140
1118
|
}
|
|
1141
|
-
async function
|
|
1142
|
-
await e.set(
|
|
1119
|
+
async function di(e, t) {
|
|
1120
|
+
await e.set(li, t, { persistence: "backend" });
|
|
1143
1121
|
}
|
|
1144
|
-
function
|
|
1122
|
+
function fi(e) {
|
|
1145
1123
|
if (!Array.isArray(e)) return [];
|
|
1146
1124
|
let t = /* @__PURE__ */ new Set();
|
|
1147
|
-
return e.flatMap((e) => !
|
|
1125
|
+
return e.flatMap((e) => !pi(e) || t.has(e.key) ? [] : (t.add(e.key), [e]));
|
|
1148
1126
|
}
|
|
1149
|
-
function
|
|
1127
|
+
function pi(e) {
|
|
1150
1128
|
let t = e;
|
|
1151
|
-
return typeof e == "object" && !!e && typeof t.key == "string" && typeof t.title == "string" && (
|
|
1129
|
+
return typeof e == "object" && !!e && typeof t.key == "string" && typeof t.title == "string" && (mi(t.pageDescriptor) || gi(t.target));
|
|
1152
1130
|
}
|
|
1153
|
-
function
|
|
1131
|
+
function mi(e) {
|
|
1154
1132
|
return !Z(e) || !Z(e.target) || !Z(e.tabPolicy) || ![
|
|
1155
1133
|
"by-menu",
|
|
1156
1134
|
"by-target",
|
|
1157
1135
|
"by-params"
|
|
1158
|
-
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" &&
|
|
1136
|
+
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" && hi(e.target) : e.pageType === "business-route" ? e.openMode === "workbench-route" && e.hostType === "business-route-host" && hi(e.target) : e.pageType === "dynamic-module" ? e.openMode === "dynamic-runner" && (e.hostType === "module-page-host" || e.hostType === "dynamic-module-host") && typeof e.target.moduleAlias == "string" : e.pageType === "remote-url" ? (e.openMode === "iframe" || e.openMode === "new-window") && e.hostType === "external-page-host" && typeof e.target.url == "string" : e.pageType === "external-link" && e.openMode === "new-window" && e.hostType === "external-page-host" && typeof e.target.url == "string";
|
|
1159
1137
|
}
|
|
1160
|
-
function
|
|
1138
|
+
function hi(e) {
|
|
1161
1139
|
return typeof e.route == "string" || typeof e.routeName == "string" || typeof e.pageKey == "string";
|
|
1162
1140
|
}
|
|
1163
|
-
function
|
|
1141
|
+
function gi(e) {
|
|
1164
1142
|
return !Z(e) || typeof e.menuId != "string" || e.openMode !== "tab" ? !1 : e.menuType === "module" ? typeof e.moduleAlias == "string" : e.menuType === "route" ? typeof e.route == "string" : e.menuType === "link" && typeof e.externalUrl == "string";
|
|
1165
1143
|
}
|
|
1166
1144
|
function Z(e) {
|
|
@@ -1168,15 +1146,15 @@ function Z(e) {
|
|
|
1168
1146
|
}
|
|
1169
1147
|
//#endregion
|
|
1170
1148
|
//#region src/consumer/PlatformAdminOutlet.vue
|
|
1171
|
-
var
|
|
1149
|
+
var _i = /* @__PURE__ */ I({
|
|
1172
1150
|
name: "PlatformAdminOutlet",
|
|
1173
1151
|
__name: "PlatformAdminOutlet",
|
|
1174
1152
|
props: { descriptor: {} },
|
|
1175
1153
|
setup(e) {
|
|
1176
|
-
return (t, n) => B(
|
|
1154
|
+
return (t, n) => B(Mr)(e.descriptor) ? (L(), j(Lr, {
|
|
1177
1155
|
key: 0,
|
|
1178
1156
|
descriptor: e.descriptor
|
|
1179
|
-
}, null, 8, ["descriptor"])) : (L(),
|
|
1157
|
+
}, null, 8, ["descriptor"])) : (L(), j(an, {
|
|
1180
1158
|
key: 1,
|
|
1181
1159
|
descriptor: e.descriptor
|
|
1182
1160
|
}, null, 8, ["descriptor"]));
|
|
@@ -1184,8 +1162,8 @@ var yi = /* @__PURE__ */ I({
|
|
|
1184
1162
|
});
|
|
1185
1163
|
//#endregion
|
|
1186
1164
|
//#region src/app/workbenchRouteSync.ts
|
|
1187
|
-
function
|
|
1188
|
-
let r =
|
|
1165
|
+
function vi(e, t, n) {
|
|
1166
|
+
let r = Vr(e) ?? "/";
|
|
1189
1167
|
return r === t ? void 0 : {
|
|
1190
1168
|
url: r,
|
|
1191
1169
|
mode: n
|
|
@@ -1193,7 +1171,7 @@ function bi(e, t, n) {
|
|
|
1193
1171
|
}
|
|
1194
1172
|
//#endregion
|
|
1195
1173
|
//#region src/consumer/AppWorkbenchShell.vue
|
|
1196
|
-
var
|
|
1174
|
+
var yi = /* @__PURE__ */ I({
|
|
1197
1175
|
name: "AppWorkbenchShell",
|
|
1198
1176
|
__name: "AppWorkbenchShell",
|
|
1199
1177
|
props: {
|
|
@@ -1211,32 +1189,33 @@ var xi = /* @__PURE__ */ I({
|
|
|
1211
1189
|
emits: [
|
|
1212
1190
|
"update:startup",
|
|
1213
1191
|
"navigate",
|
|
1192
|
+
"refreshPage",
|
|
1214
1193
|
"userCommand"
|
|
1215
1194
|
],
|
|
1216
1195
|
setup(e, { emit: t }) {
|
|
1217
|
-
let n = e, r = t, i =
|
|
1218
|
-
|
|
1219
|
-
openRoute:
|
|
1220
|
-
replaceRoute:
|
|
1221
|
-
closeCurrentTab:
|
|
1222
|
-
openPage:
|
|
1223
|
-
replacePage:
|
|
1196
|
+
let n = e, r = t, i = A(() => n.startup.activeTabKey), a = R([]), o = 0, s = Promise.resolve(), c = !1;
|
|
1197
|
+
hn({
|
|
1198
|
+
openRoute: y,
|
|
1199
|
+
replaceRoute: b,
|
|
1200
|
+
closeCurrentTab: x,
|
|
1201
|
+
openPage: v,
|
|
1202
|
+
replacePage: te,
|
|
1224
1203
|
closePage: f,
|
|
1225
|
-
setTabName:
|
|
1204
|
+
setTabName: ee
|
|
1205
|
+
}), Vn(() => {
|
|
1206
|
+
c = !0, Nn(), ie(), re(n.location);
|
|
1226
1207
|
}), Bn(() => {
|
|
1227
|
-
c = !0, Jt(), oe(), ae(n.location);
|
|
1228
|
-
}), zn(() => {
|
|
1229
1208
|
c = !1;
|
|
1230
|
-
}),
|
|
1209
|
+
}), Kn(() => n.location, (e) => re(e));
|
|
1231
1210
|
function l(e, t = void 0) {
|
|
1232
|
-
r("update:startup", e), t &&
|
|
1211
|
+
r("update:startup", e), t && ne(e, t);
|
|
1233
1212
|
}
|
|
1234
1213
|
function u(e, t) {
|
|
1235
1214
|
if (t.openMode === "window") {
|
|
1236
|
-
window.open(
|
|
1215
|
+
window.open(Br(e, t), "_blank", "noopener,noreferrer");
|
|
1237
1216
|
return;
|
|
1238
1217
|
}
|
|
1239
|
-
let r =
|
|
1218
|
+
let r = Rr(n.startup.tabs ?? [], e, t, n.resolveOptions);
|
|
1240
1219
|
l({
|
|
1241
1220
|
...n.startup,
|
|
1242
1221
|
tabs: r.tabs,
|
|
@@ -1250,7 +1229,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1250
1229
|
}, "push");
|
|
1251
1230
|
}
|
|
1252
1231
|
function f(e) {
|
|
1253
|
-
let t =
|
|
1232
|
+
let t = Wr(n.startup.tabs ?? [], n.startup.activeTabKey, e);
|
|
1254
1233
|
a.value.some((t) => t.key === e) && g(Y(a.value, [e])), l({
|
|
1255
1234
|
...n.startup,
|
|
1256
1235
|
tabs: t.tabs,
|
|
@@ -1258,7 +1237,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1258
1237
|
}, "replace");
|
|
1259
1238
|
}
|
|
1260
1239
|
function p(e) {
|
|
1261
|
-
let t =
|
|
1240
|
+
let t = Gr(n.startup.tabs ?? [], n.startup.activeTabKey, e), r = e.filter((e) => a.value.some((t) => t.key === e));
|
|
1262
1241
|
r.length > 0 && g(Y(a.value, r)), l({
|
|
1263
1242
|
...n.startup,
|
|
1264
1243
|
tabs: t.tabs,
|
|
@@ -1266,7 +1245,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1266
1245
|
}, "replace");
|
|
1267
1246
|
}
|
|
1268
1247
|
function m(e) {
|
|
1269
|
-
let t =
|
|
1248
|
+
let t = Qr(n.startup.tabs ?? [], e, a.value.map((e) => e.key)), r = t.filter((e) => a.value.some((t) => t.key === e.key));
|
|
1270
1249
|
r.map((e) => e.key).join("|") !== a.value.map((e) => e.key).join("|") && g(r), l({
|
|
1271
1250
|
...n.startup,
|
|
1272
1251
|
tabs: t
|
|
@@ -1275,7 +1254,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1275
1254
|
function h(e) {
|
|
1276
1255
|
let t = n.startup.tabs?.find((t) => t.key === e);
|
|
1277
1256
|
if (!t) return;
|
|
1278
|
-
let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) :
|
|
1257
|
+
let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) : Xr(i, t);
|
|
1279
1258
|
g(o), l({
|
|
1280
1259
|
...n.startup,
|
|
1281
1260
|
tabs: J(n.startup.tabs ?? [], o)
|
|
@@ -1287,7 +1266,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1287
1266
|
}
|
|
1288
1267
|
async function _(e, t, r) {
|
|
1289
1268
|
try {
|
|
1290
|
-
s = s.catch(() => void 0).then(() =>
|
|
1269
|
+
s = s.catch(() => void 0).then(() => di(Fe, e)), await s;
|
|
1291
1270
|
} catch {
|
|
1292
1271
|
if (r !== o) return;
|
|
1293
1272
|
a.value = t, l({
|
|
@@ -1296,23 +1275,23 @@ var xi = /* @__PURE__ */ I({
|
|
|
1296
1275
|
});
|
|
1297
1276
|
}
|
|
1298
1277
|
}
|
|
1299
|
-
function
|
|
1300
|
-
let t =
|
|
1278
|
+
function v(e) {
|
|
1279
|
+
let t = zr(n.startup.tabs ?? [], e);
|
|
1301
1280
|
return l({
|
|
1302
1281
|
...n.startup,
|
|
1303
1282
|
tabs: t.tabs,
|
|
1304
1283
|
activeTabKey: t.activeTabKey
|
|
1305
1284
|
}, "push"), { created: t.created };
|
|
1306
1285
|
}
|
|
1307
|
-
function
|
|
1308
|
-
return
|
|
1286
|
+
function y(e, t = {}) {
|
|
1287
|
+
return S(w(e, t), "push", n.startup, t.tabTitle, t.newInstance);
|
|
1309
1288
|
}
|
|
1310
|
-
function
|
|
1311
|
-
let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a =
|
|
1312
|
-
if (!r || !i) return
|
|
1289
|
+
function b(e, t = {}) {
|
|
1290
|
+
let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a = w(e, t);
|
|
1291
|
+
if (!r || !i) return S(a, "replace", n.startup, t.tabTitle);
|
|
1313
1292
|
let o = q(n.startup, a, n.resolveOptions), s = o.tabs?.find((e) => e.key === o.activeTabKey);
|
|
1314
1293
|
if (!s) return { created: !1 };
|
|
1315
|
-
let c = s.pageDescriptor && i.instanceKey ?
|
|
1294
|
+
let c = s.pageDescriptor && i.instanceKey ? D(s.pageDescriptor, i.instanceKey) : s.pageDescriptor, u = c ? E(c, n.resolveOptions) : s.fullPath, d = (o.tabs ?? []).filter((e) => e.key !== s.key).map((e) => e.key === r ? {
|
|
1316
1295
|
...i,
|
|
1317
1296
|
...s,
|
|
1318
1297
|
key: r,
|
|
@@ -1328,27 +1307,27 @@ var xi = /* @__PURE__ */ I({
|
|
|
1328
1307
|
activeTabKey: r
|
|
1329
1308
|
}, "replace"), { created: !1 };
|
|
1330
1309
|
}
|
|
1331
|
-
function
|
|
1332
|
-
let t = n.startup.activeTabKey, r = t ?
|
|
1310
|
+
function x(e) {
|
|
1311
|
+
let t = n.startup.activeTabKey, r = t ? Wr(n.startup.tabs ?? [], t, t) : {
|
|
1333
1312
|
tabs: n.startup.tabs ?? [],
|
|
1334
1313
|
activeTabKey: n.startup.activeTabKey
|
|
1335
1314
|
};
|
|
1336
1315
|
t && a.value.some((e) => e.key === t) && g(Y(a.value, [t]));
|
|
1337
1316
|
let i = r.tabs.find((t) => {
|
|
1338
|
-
let n = t.fullPath ?? (t.pageDescriptor ?
|
|
1317
|
+
let n = t.fullPath ?? (t.pageDescriptor ? E(t.pageDescriptor) : void 0);
|
|
1339
1318
|
return n && new URL(n, "http://muyun.local").pathname === e;
|
|
1340
1319
|
});
|
|
1341
1320
|
return i ? (l({
|
|
1342
1321
|
...n.startup,
|
|
1343
1322
|
tabs: r.tabs,
|
|
1344
1323
|
activeTabKey: i.key
|
|
1345
|
-
}, "replace"), { created: !1 }) :
|
|
1324
|
+
}, "replace"), { created: !1 }) : S(w(e), "replace", {
|
|
1346
1325
|
...n.startup,
|
|
1347
1326
|
tabs: r.tabs,
|
|
1348
1327
|
activeTabKey: r.activeTabKey
|
|
1349
1328
|
});
|
|
1350
1329
|
}
|
|
1351
|
-
function
|
|
1330
|
+
function S(e, t, r, i, a = !1) {
|
|
1352
1331
|
let o = new Set((r.tabs ?? []).map((e) => e.key)), s = q(r, e, {
|
|
1353
1332
|
...n.resolveOptions,
|
|
1354
1333
|
title: i ?? n.resolveOptions.title
|
|
@@ -1361,7 +1340,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1361
1340
|
} : e)
|
|
1362
1341
|
}), l(s, t), { created: !!(s.activeTabKey && !o.has(s.activeTabKey)) };
|
|
1363
1342
|
}
|
|
1364
|
-
function
|
|
1343
|
+
function ee(e, t) {
|
|
1365
1344
|
let r = t.trim();
|
|
1366
1345
|
!e || !r || l({
|
|
1367
1346
|
...n.startup,
|
|
@@ -1371,29 +1350,29 @@ var xi = /* @__PURE__ */ I({
|
|
|
1371
1350
|
} : t)
|
|
1372
1351
|
});
|
|
1373
1352
|
}
|
|
1374
|
-
function
|
|
1353
|
+
function te(e, t) {
|
|
1375
1354
|
let r = (n.startup.tabs ?? []).map((n) => n.key === e ? {
|
|
1376
1355
|
...n,
|
|
1377
1356
|
title: t.title ?? n.title,
|
|
1378
1357
|
pageDescriptor: t,
|
|
1379
|
-
restoreState: { url:
|
|
1358
|
+
restoreState: { url: E(t) }
|
|
1380
1359
|
} : n), i = r.find((t) => t.key === e);
|
|
1381
|
-
i && a.value.some((t) => t.key === e) && g(
|
|
1360
|
+
i && a.value.some((t) => t.key === e) && g(Xr(a.value, i)), l({
|
|
1382
1361
|
...n.startup,
|
|
1383
1362
|
tabs: r
|
|
1384
1363
|
}, "replace");
|
|
1385
1364
|
}
|
|
1386
|
-
function
|
|
1387
|
-
let i =
|
|
1365
|
+
function ne(e, t) {
|
|
1366
|
+
let i = vi(e, n.location, t);
|
|
1388
1367
|
i && r("navigate", i);
|
|
1389
1368
|
}
|
|
1390
|
-
function
|
|
1369
|
+
function re(e) {
|
|
1391
1370
|
l(q(n.startup, e, n.resolveOptions));
|
|
1392
1371
|
}
|
|
1393
|
-
async function
|
|
1372
|
+
async function ie() {
|
|
1394
1373
|
let e = o;
|
|
1395
1374
|
try {
|
|
1396
|
-
let t =
|
|
1375
|
+
let t = qr(await ui(Fe), n.startup.menus, n.resolveOptions);
|
|
1397
1376
|
if (!c || e !== o) return;
|
|
1398
1377
|
a.value = t;
|
|
1399
1378
|
let r = new Set(t.map((e) => e.key)), i = [...t, ...(n.startup.tabs ?? []).filter((e) => !r.has(e.key))];
|
|
@@ -1403,7 +1382,7 @@ var xi = /* @__PURE__ */ I({
|
|
|
1403
1382
|
});
|
|
1404
1383
|
} catch {}
|
|
1405
1384
|
}
|
|
1406
|
-
return (t, n) => (L(),
|
|
1385
|
+
return (t, n) => (L(), j(zt, {
|
|
1407
1386
|
startup: e.startup,
|
|
1408
1387
|
loading: e.loading,
|
|
1409
1388
|
error: e.error,
|
|
@@ -1417,9 +1396,10 @@ var xi = /* @__PURE__ */ I({
|
|
|
1417
1396
|
onCloseTabs: p,
|
|
1418
1397
|
onReorderTabs: m,
|
|
1419
1398
|
onToggleTabLock: h,
|
|
1420
|
-
|
|
1399
|
+
onRefreshPage: n[0] ||= (e) => r("refreshPage", e),
|
|
1400
|
+
onUserCommand: n[1] ||= (e) => r("userCommand", e)
|
|
1421
1401
|
}, {
|
|
1422
|
-
default: V(({ pageDescriptor: e }) => [
|
|
1402
|
+
default: V(({ pageDescriptor: e }) => [Wn(t.$slots, "default", { pageDescriptor: e })]),
|
|
1423
1403
|
_: 3
|
|
1424
1404
|
}, 8, [
|
|
1425
1405
|
"startup",
|
|
@@ -1434,8 +1414,8 @@ var xi = /* @__PURE__ */ I({
|
|
|
1434
1414
|
});
|
|
1435
1415
|
//#endregion
|
|
1436
1416
|
//#region src/app/loginTenant.ts
|
|
1437
|
-
function
|
|
1438
|
-
let i =
|
|
1417
|
+
function bi(e, t = Ci(), n = wi(), r = "/") {
|
|
1418
|
+
let i = Si(t, n === xi(r));
|
|
1439
1419
|
return i ? {
|
|
1440
1420
|
tenantId: i,
|
|
1441
1421
|
tenantLocked: !0
|
|
@@ -1447,29 +1427,29 @@ function Si(e, t = Ti(), n = Ei(), r = "/") {
|
|
|
1447
1427
|
function Q(e) {
|
|
1448
1428
|
return e?.trim() ?? "";
|
|
1449
1429
|
}
|
|
1450
|
-
function
|
|
1430
|
+
function xi(e) {
|
|
1451
1431
|
let t = `/${(e?.trim() || "/").replace(/^\/+|\/+$/g, "")}`.replace(/^\/\/+/g, "/") || "/";
|
|
1452
1432
|
return t === "/" ? t : `${t}/`;
|
|
1453
1433
|
}
|
|
1454
|
-
function
|
|
1434
|
+
function Si(e, t) {
|
|
1455
1435
|
let n = new URLSearchParams(e.startsWith("?") ? e : `?${e}`), r = Q(n.get("_muyunTenantId"));
|
|
1456
1436
|
return r || !t ? r : Q(n.get("tenantId")) || Q(n.get("tenant"));
|
|
1457
1437
|
}
|
|
1458
|
-
function
|
|
1438
|
+
function Ci() {
|
|
1459
1439
|
return typeof window > "u" ? "" : window.location.search;
|
|
1460
1440
|
}
|
|
1461
|
-
function
|
|
1441
|
+
function wi() {
|
|
1462
1442
|
return typeof window > "u" ? "/" : window.location.pathname;
|
|
1463
1443
|
}
|
|
1464
1444
|
//#endregion
|
|
1465
1445
|
//#region src/app/LoginView.vue?vue&type=script&setup=true&lang.ts
|
|
1466
|
-
var
|
|
1446
|
+
var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "login-brand" }, Oi = ["src"], ki = { key: 1 }, Ai = { key: 0 }, ji = {
|
|
1467
1447
|
key: 1,
|
|
1468
1448
|
class: "login-subtitle"
|
|
1469
|
-
},
|
|
1449
|
+
}, Mi = {
|
|
1470
1450
|
key: 0,
|
|
1471
1451
|
class: "login-error"
|
|
1472
|
-
},
|
|
1452
|
+
}, Ni = { key: 0 }, Pi = /*#__PURE__*/ fe(/* @__PURE__ */ I({
|
|
1473
1453
|
name: "LoginView",
|
|
1474
1454
|
__name: "LoginView",
|
|
1475
1455
|
props: {
|
|
@@ -1481,8 +1461,8 @@ var Di = { class: "login-page" }, Oi = { class: "login-panel" }, ki = { class: "
|
|
|
1481
1461
|
},
|
|
1482
1462
|
emits: ["authenticated"],
|
|
1483
1463
|
setup(e, { emit: t }) {
|
|
1484
|
-
let n = e, r = t, i =
|
|
1485
|
-
|
|
1464
|
+
let n = e, r = t, i = bi(void 0), a = R(i.tenantId), o = i.tenantLocked, s = R(Q(n.initialUsername) || Q(void 0)), c = R(Q(void 0)), l = R(!1), u = R(), d = R(!1), f = R(), p = R(""), m = R(""), h = R(), g = R(!1), _ = R(), v = A(() => !o || !g.value && !_.value), b = A(() => h.value?.mode !== "logoOnly"), x = A(() => h.value?.title || "平台登录"), S = A(() => h.value?.subtitle);
|
|
1465
|
+
Vn(async () => {
|
|
1486
1466
|
if (!(!o || !a.value)) {
|
|
1487
1467
|
g.value = !0;
|
|
1488
1468
|
try {
|
|
@@ -1495,7 +1475,7 @@ var Di = { class: "login-page" }, Oi = { class: "login-panel" }, ki = { class: "
|
|
|
1495
1475
|
}
|
|
1496
1476
|
}
|
|
1497
1477
|
});
|
|
1498
|
-
async function
|
|
1478
|
+
async function ee() {
|
|
1499
1479
|
u.value = void 0, l.value = !0;
|
|
1500
1480
|
try {
|
|
1501
1481
|
let e = await n.authClient.login({
|
|
@@ -1514,7 +1494,7 @@ var Di = { class: "login-page" }, Oi = { class: "login-panel" }, ki = { class: "
|
|
|
1514
1494
|
l.value = !1;
|
|
1515
1495
|
}
|
|
1516
1496
|
}
|
|
1517
|
-
async function
|
|
1497
|
+
async function te() {
|
|
1518
1498
|
if (u.value = void 0, !f.value) {
|
|
1519
1499
|
u.value = "登录状态已失效,请重新登录", d.value = !1;
|
|
1520
1500
|
return;
|
|
@@ -1539,39 +1519,39 @@ var Di = { class: "login-page" }, Oi = { class: "login-panel" }, ki = { class: "
|
|
|
1539
1519
|
l.value = !1;
|
|
1540
1520
|
}
|
|
1541
1521
|
}
|
|
1542
|
-
return (t, n) => (L(),
|
|
1543
|
-
|
|
1522
|
+
return (t, n) => (L(), N("main", Ti, [P("section", Ei, [
|
|
1523
|
+
P("header", null, [P("div", Di, [h.value?.lightLogo ? (L(), N("img", {
|
|
1544
1524
|
key: 0,
|
|
1545
1525
|
class: "login-logo",
|
|
1546
1526
|
src: h.value.lightLogo,
|
|
1547
1527
|
alt: ""
|
|
1548
|
-
}, null, 8,
|
|
1549
|
-
h.value?.lightLogo ?
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
])) :
|
|
1553
|
-
u.value || e.error || _.value ? (L(),
|
|
1554
|
-
d.value ? (L(),
|
|
1528
|
+
}, null, 8, Oi)) : M("v-if", !0), b.value ? (L(), N("div", ki, [
|
|
1529
|
+
h.value?.lightLogo ? M("v-if", !0) : (L(), N("p", Ai, "MuYun Platform")),
|
|
1530
|
+
P("h1", null, z(x.value), 1),
|
|
1531
|
+
S.value ? (L(), N("p", ji, z(S.value), 1)) : M("v-if", !0)
|
|
1532
|
+
])) : M("v-if", !0)])]),
|
|
1533
|
+
u.value || e.error || _.value ? (L(), N("p", Mi, z(u.value || e.error || _.value), 1)) : M("v-if", !0),
|
|
1534
|
+
d.value ? (L(), N("form", {
|
|
1555
1535
|
key: 2,
|
|
1556
1536
|
class: "login-form",
|
|
1557
|
-
onSubmit:
|
|
1537
|
+
onSubmit: qn(te, ["prevent"])
|
|
1558
1538
|
}, [
|
|
1559
|
-
n[10] ||=
|
|
1560
|
-
|
|
1539
|
+
n[10] ||= P("p", { class: "login-context" }, "当前密码需要修改后才能进入系统", -1),
|
|
1540
|
+
P("label", null, [n[8] ||= P("span", null, "新密码", -1), F(B(C), {
|
|
1561
1541
|
value: p.value,
|
|
1562
1542
|
"onUpdate:value": n[3] ||= (e) => p.value = e,
|
|
1563
1543
|
type: "password",
|
|
1564
1544
|
autocomplete: "new-password",
|
|
1565
1545
|
required: ""
|
|
1566
1546
|
}, null, 8, ["value"])]),
|
|
1567
|
-
|
|
1547
|
+
P("label", null, [n[9] ||= P("span", null, "确认新密码", -1), F(B(C), {
|
|
1568
1548
|
value: m.value,
|
|
1569
1549
|
"onUpdate:value": n[4] ||= (e) => m.value = e,
|
|
1570
1550
|
type: "password",
|
|
1571
1551
|
autocomplete: "new-password",
|
|
1572
1552
|
required: ""
|
|
1573
1553
|
}, null, 8, ["value"])]),
|
|
1574
|
-
|
|
1554
|
+
F(B(y), {
|
|
1575
1555
|
class: "login-submit",
|
|
1576
1556
|
"html-type": "submit",
|
|
1577
1557
|
type: "primary",
|
|
@@ -1580,35 +1560,35 @@ var Di = { class: "login-page" }, Oi = { class: "login-panel" }, ki = { class: "
|
|
|
1580
1560
|
default: V(() => [In(z(l.value || e.loading ? "保存中" : "修改密码"), 1)]),
|
|
1581
1561
|
_: 1
|
|
1582
1562
|
}, 8, ["loading"])
|
|
1583
|
-
], 32)) : (L(),
|
|
1563
|
+
], 32)) : (L(), N("form", {
|
|
1584
1564
|
key: 1,
|
|
1585
1565
|
class: "login-form",
|
|
1586
|
-
onSubmit:
|
|
1566
|
+
onSubmit: qn(ee, ["prevent"])
|
|
1587
1567
|
}, [
|
|
1588
|
-
B(o) ?
|
|
1568
|
+
B(o) ? M("v-if", !0) : (L(), N("label", Ni, [n[5] ||= P("span", null, "租户 ID", -1), F(B(C), {
|
|
1589
1569
|
value: a.value,
|
|
1590
1570
|
"onUpdate:value": n[0] ||= (e) => a.value = e,
|
|
1591
1571
|
autocomplete: "organization",
|
|
1592
1572
|
placeholder: "留空进入系统工作区"
|
|
1593
1573
|
}, null, 8, ["value"])])),
|
|
1594
|
-
|
|
1574
|
+
P("label", null, [n[6] ||= P("span", null, "用户名", -1), F(B(C), {
|
|
1595
1575
|
value: s.value,
|
|
1596
1576
|
"onUpdate:value": n[1] ||= (e) => s.value = e,
|
|
1597
1577
|
autocomplete: "username",
|
|
1598
1578
|
required: ""
|
|
1599
1579
|
}, null, 8, ["value"])]),
|
|
1600
|
-
|
|
1580
|
+
P("label", null, [n[7] ||= P("span", null, "密码", -1), F(B(C), {
|
|
1601
1581
|
value: c.value,
|
|
1602
1582
|
"onUpdate:value": n[2] ||= (e) => c.value = e,
|
|
1603
1583
|
type: "password",
|
|
1604
1584
|
autocomplete: "current-password",
|
|
1605
1585
|
required: ""
|
|
1606
1586
|
}, null, 8, ["value"])]),
|
|
1607
|
-
|
|
1587
|
+
F(B(y), {
|
|
1608
1588
|
class: "login-submit",
|
|
1609
1589
|
"html-type": "submit",
|
|
1610
1590
|
type: "primary",
|
|
1611
|
-
disabled: !
|
|
1591
|
+
disabled: !v.value,
|
|
1612
1592
|
loading: l.value || e.loading || g.value
|
|
1613
1593
|
}, {
|
|
1614
1594
|
default: V(() => [In(z(l.value || e.loading ? "登录中" : "登录"), 1)]),
|
|
@@ -1620,8 +1600,8 @@ var Di = { class: "login-page" }, Oi = { class: "login-panel" }, ki = { class: "
|
|
|
1620
1600
|
}), [["__scopeId", "data-v-9164ba1f"]]);
|
|
1621
1601
|
//#endregion
|
|
1622
1602
|
//#region src/consumer/userPreferencePersistence.ts
|
|
1623
|
-
function
|
|
1624
|
-
|
|
1603
|
+
function Fi(e) {
|
|
1604
|
+
Xe({
|
|
1625
1605
|
load: async (t) => (await e().request({
|
|
1626
1606
|
path: `/platform.user-preference/${encodeURIComponent(t)}`,
|
|
1627
1607
|
query: { clientType: "WEB" }
|
|
@@ -1643,10 +1623,10 @@ function Li(e) {
|
|
|
1643
1623
|
}
|
|
1644
1624
|
//#endregion
|
|
1645
1625
|
//#region src/app/ChangeOwnPasswordDialog.vue?vue&type=script&setup=true&lang.ts
|
|
1646
|
-
var
|
|
1626
|
+
var Ii = { class: "change-own-password-fields" }, Li = {
|
|
1647
1627
|
key: 0,
|
|
1648
1628
|
class: "change-own-password-error"
|
|
1649
|
-
},
|
|
1629
|
+
}, Ri = /*#__PURE__*/ fe(/* @__PURE__ */ I({
|
|
1650
1630
|
name: "ChangeOwnPasswordDialog",
|
|
1651
1631
|
__name: "ChangeOwnPasswordDialog",
|
|
1652
1632
|
props: {
|
|
@@ -1672,7 +1652,7 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1672
1652
|
],
|
|
1673
1653
|
setup(e, { emit: t }) {
|
|
1674
1654
|
let n = t;
|
|
1675
|
-
return (t, r) => (L(),
|
|
1655
|
+
return (t, r) => (L(), j(B(rt), {
|
|
1676
1656
|
open: e.open,
|
|
1677
1657
|
title: "修改密码",
|
|
1678
1658
|
"confirm-text": "保存",
|
|
@@ -1681,8 +1661,8 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1681
1661
|
onConfirm: r[3] ||= (e) => n("submit"),
|
|
1682
1662
|
onCancel: r[4] ||= (e) => n("close")
|
|
1683
1663
|
}, {
|
|
1684
|
-
default: V(() => [
|
|
1685
|
-
|
|
1664
|
+
default: V(() => [P("div", Ii, [
|
|
1665
|
+
P("label", null, [r[5] ||= P("span", null, "当前密码", -1), F(B(C), {
|
|
1686
1666
|
value: e.currentPassword,
|
|
1687
1667
|
type: "password",
|
|
1688
1668
|
autocomplete: "current-password",
|
|
@@ -1690,7 +1670,7 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1690
1670
|
placeholder: "请输入当前密码",
|
|
1691
1671
|
"onUpdate:value": r[0] ||= (e) => n("update:currentPassword", e)
|
|
1692
1672
|
}, null, 8, ["value", "disabled"])]),
|
|
1693
|
-
|
|
1673
|
+
P("label", null, [r[6] ||= P("span", null, "新密码", -1), F(B(C), {
|
|
1694
1674
|
value: e.newPassword,
|
|
1695
1675
|
type: "password",
|
|
1696
1676
|
autocomplete: "new-password",
|
|
@@ -1698,7 +1678,7 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1698
1678
|
placeholder: "请输入新密码",
|
|
1699
1679
|
"onUpdate:value": r[1] ||= (e) => n("update:newPassword", e)
|
|
1700
1680
|
}, null, 8, ["value", "disabled"])]),
|
|
1701
|
-
|
|
1681
|
+
P("label", null, [r[7] ||= P("span", null, "确认新密码", -1), F(B(C), {
|
|
1702
1682
|
value: e.confirmPassword,
|
|
1703
1683
|
type: "password",
|
|
1704
1684
|
autocomplete: "new-password",
|
|
@@ -1706,7 +1686,7 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1706
1686
|
placeholder: "请再次输入新密码",
|
|
1707
1687
|
"onUpdate:value": r[2] ||= (e) => n("update:confirmPassword", e)
|
|
1708
1688
|
}, null, 8, ["value", "disabled"])])
|
|
1709
|
-
]), e.error ? (L(),
|
|
1689
|
+
]), e.error ? (L(), N("p", Li, z(e.error), 1)) : M("v-if", !0)]),
|
|
1710
1690
|
_: 1
|
|
1711
1691
|
}, 8, [
|
|
1712
1692
|
"open",
|
|
@@ -1714,22 +1694,22 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1714
1694
|
"confirm-disabled"
|
|
1715
1695
|
]));
|
|
1716
1696
|
}
|
|
1717
|
-
}), [["__scopeId", "data-v-6905dcfc"]]),
|
|
1697
|
+
}), [["__scopeId", "data-v-6905dcfc"]]), zi = { class: "theme-skin-preferences" }, Bi = {
|
|
1718
1698
|
key: 0,
|
|
1719
1699
|
class: "theme-skin-error",
|
|
1720
1700
|
role: "alert"
|
|
1721
|
-
},
|
|
1701
|
+
}, Vi = {
|
|
1722
1702
|
class: "theme-skin-grid",
|
|
1723
1703
|
role: "radiogroup",
|
|
1724
1704
|
"aria-label": "工作台皮肤"
|
|
1725
|
-
},
|
|
1705
|
+
}, Hi = [
|
|
1726
1706
|
"aria-checked",
|
|
1727
1707
|
"tabindex",
|
|
1728
1708
|
"data-skin-id",
|
|
1729
1709
|
"disabled",
|
|
1730
1710
|
"onClick",
|
|
1731
1711
|
"onKeydown"
|
|
1732
|
-
],
|
|
1712
|
+
], Ui = /*#__PURE__*/ fe(/* @__PURE__ */ I({
|
|
1733
1713
|
name: "ThemeSkinPreferencesDialog",
|
|
1734
1714
|
__name: "ThemeSkinPreferencesDialog",
|
|
1735
1715
|
props: {
|
|
@@ -1760,7 +1740,7 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1760
1740
|
let a = e.key === "Home" ? 0 : e.key === "End" ? i - 1 : (t + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + i) % i, o = r?.children.item(a), s = o?.dataset.skinId;
|
|
1761
1741
|
s && (n("select", s), o?.focus());
|
|
1762
1742
|
}
|
|
1763
|
-
return (t, i) => (L(),
|
|
1743
|
+
return (t, i) => (L(), j(B(rt), {
|
|
1764
1744
|
open: e.open,
|
|
1765
1745
|
title: "偏好设置",
|
|
1766
1746
|
width: 460,
|
|
@@ -1769,12 +1749,12 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1769
1749
|
onConfirm: i[0] ||= (e) => n("close"),
|
|
1770
1750
|
onCancel: i[1] ||= (e) => n("close")
|
|
1771
1751
|
}, {
|
|
1772
|
-
default: V(() => [
|
|
1773
|
-
i[3] ||=
|
|
1774
|
-
e.error ? (L(),
|
|
1775
|
-
|
|
1752
|
+
default: V(() => [P("section", zi, [
|
|
1753
|
+
i[3] ||= P("header", null, [P("h2", null, "工作台皮肤"), P("p", null, "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")], -1),
|
|
1754
|
+
e.error ? (L(), N("p", Bi, z(e.error), 1)) : M("v-if", !0),
|
|
1755
|
+
P("div", Vi, [(L(!0), N(Fn, null, Un(e.skins, (t, a) => (L(), N("button", {
|
|
1776
1756
|
key: t.id,
|
|
1777
|
-
class:
|
|
1757
|
+
class: Rn(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
|
|
1778
1758
|
type: "button",
|
|
1779
1759
|
role: "radio",
|
|
1780
1760
|
"aria-checked": t.id === e.activeSkinId,
|
|
@@ -1784,9 +1764,9 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1784
1764
|
onClick: (e) => n("select", t.id),
|
|
1785
1765
|
onKeydown: (e) => r(e, a)
|
|
1786
1766
|
}, [
|
|
1787
|
-
|
|
1767
|
+
P("span", {
|
|
1788
1768
|
class: "theme-skin-preview",
|
|
1789
|
-
style:
|
|
1769
|
+
style: zn({
|
|
1790
1770
|
"--skin-canvas": t.theme.support.canvas,
|
|
1791
1771
|
"--skin-surface": t.theme.support.surface,
|
|
1792
1772
|
"--skin-text": t.theme.support.text,
|
|
@@ -1794,13 +1774,13 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1794
1774
|
"--skin-accent": t.theme.brandAccent.base
|
|
1795
1775
|
})
|
|
1796
1776
|
}, [...i[2] ||= [
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1777
|
+
P("i", { class: "theme-skin-preview-sidebar" }, null, -1),
|
|
1778
|
+
P("i", { class: "theme-skin-preview-toolbar" }, null, -1),
|
|
1779
|
+
P("i", { class: "theme-skin-preview-card" }, null, -1)
|
|
1800
1780
|
]], 4),
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
], 42,
|
|
1781
|
+
P("strong", null, z(t.title), 1),
|
|
1782
|
+
P("small", null, z(t.description), 1)
|
|
1783
|
+
], 42, Hi))), 128))])
|
|
1804
1784
|
])]),
|
|
1805
1785
|
_: 1
|
|
1806
1786
|
}, 8, [
|
|
@@ -1810,11 +1790,11 @@ var Ri = { class: "change-own-password-fields" }, zi = {
|
|
|
1810
1790
|
]));
|
|
1811
1791
|
}
|
|
1812
1792
|
}), [["__scopeId", "data-v-5d36f806"]]), $ = "workbench.theme-skin";
|
|
1813
|
-
async function
|
|
1814
|
-
let n =
|
|
1793
|
+
async function Wi(e, t) {
|
|
1794
|
+
let n = ge(await e.restore($, t, { persistence: "backend" })).id;
|
|
1815
1795
|
return await e.set($, n, { persistence: "local" }), n;
|
|
1816
1796
|
}
|
|
1817
|
-
async function
|
|
1797
|
+
async function Gi(e, t, n) {
|
|
1818
1798
|
await e.set($, t, { persistence: "local" });
|
|
1819
1799
|
try {
|
|
1820
1800
|
return await e.set($, t, { persistence: "backend" }), { skinId: t };
|
|
@@ -1826,4 +1806,4 @@ async function qi(e, t, n) {
|
|
|
1826
1806
|
}
|
|
1827
1807
|
}
|
|
1828
1808
|
//#endregion
|
|
1829
|
-
export {
|
|
1809
|
+
export { at as AppError, yi as AppWorkbenchShell, Ri as ChangeOwnPasswordDialog, Ge as DateTimeText, ot as DrawerOperationBar, Kt as DynamicModuleWorkspaceDetailView, e as FileSizeText, we as FileTransferUploader, Pi as LoginView, At as ModuleContextProvider, _i as PlatformAdminOutlet, Lr as PlatformAdminRouteOutlet, ye as RecordDetailDrawer, b as SingleImageFileReferenceField, Ui as ThemeSkinPreferencesDialog, y as UiButton, Pe as UiDataTable, C as UiInput, Ye as UiSidePanel, me as UiSwitch, i as UiTextArea, c as UiThemeProvider, Ot as UiTree, oe as UiTreeSelect, Tr as VueQueryPlugin, zt as Workbench, Xt as WorkbenchMenu, an as WorkbenchOutlet, Jt as WorkspaceViewOutlet, be as actionResultData, Vr as activeTabUrlOf, J as arrangeLockedMenuTabs, Rt as buildWorkbenchMegaMenuModel, vt as canQueryRecycleBin, tn as canonicalDynamicModulePath, un as clearAuthToken, o as configureModuleContext, Bt as configureModulePageEnhancementContributions, Ut as configureModulePageEnhancements, Fi as configureUserPreferencePersistence, Pt as configureWorkspaceViewContributions, St as confirmAction, kn as connectAppRealtime, ut as connectRealtimeBusinessEvents, nt as connectRealtimeBusinessNotifications, Je as connectRealtimeDataChanges, qe as connectRealtimeUserNotifications, Ne as contextDataChangeChannel, ht as createAuthClient, Sn as createBackendHttpClient, Ae as createBrowserFileTransferUpload, de as createDataChangeDispatcher, t as createHttpClient, ze as createLoginContextClient, te as createManagedDetailRelationClient, et as createMenuClient, T as createMenuTab, xe as createModuleContext, ft as createModuleCrudClient, qt as createModulePageEnhancementRegistry, S as createModuleTreeClient, _ as createModuleTreeContext, ke as createNavigatorReferenceCrudClient, Ee as createNavigatorReferenceTreeClient, bt as createPageBootstrapClient, dt as createQueryClient, Ct as createRealtimeClient, st as createReferenceResolveClient, He as createSessionClient, Me as createStaticModuleCrudClient, ue as createStaticModuleTreeClient, n as createStaticResourceCrudClient, Ue as createStaticResourceTreeClient, Ht as createWorkbenchMenuNodes, Mn as createWorkspaceViewDescriptor, Yt as createWorkspaceViewRegistry, Dt as dataChangeChannel, Tt as defaultUiThemeSkinId, Gt as defineWorkspaceView, bn as disconnectAppRealtime, It as dismissWorkspaceViewDescriptor, jt as dynamicModuleAliasFromPath, wn as effectiveAuthToken, Tn as filterWorkbenchMenuNodes, ln as findFirstNavigationMenu, Vt as findWorkbenchMenuNodeById, en as findWorkbenchMenuPath, $t as firstDeepRootIdOf, k as getMenuNavigationTarget, Be as hasExecutableDetailRelationMutationContract, tt as hasExecutableDetailRelationQueryContract, it as hasRecycleBinAbility, Re as imConversationMessageChannel, Et as imMessageSendCommand, a as invokeBusinessNotificationRecordAction, We as isHttpStreamClient, Mr as isPlatformAdminRoutePage, xn as isTabMenuTarget, mt as isUnexpectedPlatformError, Dn as isWindowMenuTarget, pt as moduleAbilityCodes, pe as moduleDataChangeChannel, Pn as modulePageWorkspaceViews, kt as normalizeChangeSet, Ze as normalizeError, Ke as normalizeMenuMineResponse, s as organizationPublicDataChangeChannel, wt as organizationPublicNotificationChannel, mn as pageDescriptorFromUrl, E as pageDescriptorToUrl, Cn as pageInstanceKeyOf, kr as platformAdminModuleRoutes, Ar as platformAdminRouteLayouts, Or as platformAdminRoutePrefixes, K as platformAdminRoutes, Ie as platformErrorCodes, he as platformPingCommand, Le as presentPlatformError, lt as presentPlatformInfo, _t as presentPlatformMessage, Ve as presentPlatformSuccess, Qt as presentWorkbenchRealtimeStatus, Nt as provideCurrentUserContext, ve as provideModuleContextConfig, hn as provideWorkbenchNavigation, gn as provideWorkspaceViewHost, x as queryKeys, u as realtimeDestinations, l as realtimeMessageTypes, ae as recordDataChangeChannel, Lt as refreshModulePageList, Y as removeLockedMenuTabs, ct as resolveGlobalErrorPresentation, O as resolvePageDescriptor, jr as resolvePlatformAdminRoute, g as resolveWebActionResult, _e as resolveWebActionResultMessage, Ft as resolveWorkspaceView, $e as resourceDataChangeChannel, r as resourceRecordDataChangeChannel, ui as restoreLockedTabPreference, qr as restoreLockedWorkbenchTabs, Wi as restoreThemeSkinPreference, q as restoreWorkbenchStartupStateFromUrl, w as routeUrlWithOpenOptions, yn as saveAuthSessionId, fn as saveAuthToken, di as saveLockedTabPreference, Gi as saveThemeSkinPreference, Qe as sessionActivityCommand, dn as storedAuthSessionId, nn as storedAuthToken, En as subscribeAppBusinessEvents, pn as subscribeAppDataChanges, rn as subscribeAppModuleDataChanges, Nn as syncModulePageWorkspaceViewContributions, sn as tabIdentityKeyOf, vn as tabKeyOf, re as tenantPublicDataChangeChannel, ie as tenantPublicNotificationChannel, $ as themeSkinPreferenceKey, jn as tryPageDescriptorFromUrl, ge as uiThemeSkinById, d as uiThemeSkins, ce as unwrapResponsePayload, Xr as updateLockedMenuTabs, De as uploadedFileId, Zt as useCurrentUserContext, Ce as useModuleContext, h as useModuleTreeContext, Wt as useWorkbenchNavigation, Mt as useWorkspaceViewHost, se as userBusinessEventChannel, f as userBusinessNotificationChannel, gt as userFacingErrorMessage, v as userImMessageChannel, ne as userNotificationChannel, Fe as userPreferences, Se as webDataChangeKey, xt as webDataChangeTypes, m as webDataChanges, yt as withHttpHeaders, D as withPageInstanceKey, ee as withWebActionResultChanges };
|