@ximatai/muyun-web-app 0.26.10 → 0.26.11
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-BhtVwJII.js → MetadataOrchestrationView-F_Bmfn9K.js} +91 -91
- package/dist/{ModuleActionManagementView-DpZS-xAD.js → ModuleActionManagementView-Db_3Twom.js} +36 -36
- package/dist/RoleDetailWorkspaceView-UOm1ejGH.js +1369 -0
- package/dist/index.css +1 -1
- package/dist/index.js +201 -206
- package/dist/{platform-components-oRIsIoxu.js → platform-components-59b4qzUL.js} +2391 -2273
- package/dist/types/consumer/index.d.ts +1 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +3 -1
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +5 -3
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +26 -26
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -2
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +69 -1
- package/dist/types/formula/FormulaRuntime.d.ts +3 -0
- package/dist/types/{views/UserDetailRouteView.vue.d.ts → platform-admin-runtime/role/RoleAccountGrantDrawerSurface.vue.d.ts} +2 -3
- package/dist/types/{dynamic-page-runtime/DynamicModuleHost.vue.d.ts → platform-admin-runtime/role/RoleAuthorizationDrawerSurface.vue.d.ts} +2 -2
- package/dist/types/platform-admin-runtime/role/RoleEmploymentGrantDrawerSurface.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleEnumTitleCell.vue.d.ts +8 -0
- package/dist/types/platform-admin-runtime/role/RoleGroupMemberFormField.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/role/RoleScopeTree.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/roleModulePageEnhancement.d.ts +7 -0
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/DrawerOperationBar.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordDetailDrawer.vue.d.ts +1 -0
- package/dist/types/platform-components/RecordDetailLayout.vue.d.ts +4 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +6 -3
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +1 -1
- package/dist/types/platform-components/index.d.ts +1 -1
- package/dist/types/platform-components/scopedTreeModuleContext.d.ts +2 -2
- package/dist/types/platform-components/staticTreeResourceModuleContext.d.ts +3 -3
- package/dist/types/views/EmployeeEmploymentTable.vue.d.ts +5 -0
- package/dist/types/views/RoleAccountGrantDrawer.vue.d.ts +6 -2
- package/dist/types/views/RoleAuthorizationView.vue.d.ts +7 -0
- package/dist/types/views/RoleEmploymentGrantDrawer.vue.d.ts +5 -1
- package/dist/types/views/roleGrantClient.d.ts +8 -5
- package/dist/types/vue-ui-antdv/components/UiTable.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiTree.vue.d.ts +20 -1
- package/dist/types/vue-ui-antdv/types.d.ts +6 -0
- package/dist/types/web-contracts/index.d.ts +9 -2
- package/dist/types/web-core/module/staticModuleClient.d.ts +4 -4
- package/dist/workspaceViews-BvV8mpML.js +11149 -0
- package/package.json +1 -1
- package/dist/RoleAuthorizationView-8lilhtMB.js +0 -646
- package/dist/RoleDetailWorkspaceView-CFha6JHn.js +0 -26
- package/dist/RoleManagementView-0_KDrzgh.js +0 -1948
- package/dist/types/dynamic-page-runtime/DynamicRecordDetailActions.vue.d.ts +0 -39
- package/dist/types/dynamic-page-runtime/dynamicModuleDetailStateModel.d.ts +0 -5
- package/dist/types/views/UserDetailContent.vue.d.ts +0 -32
- package/dist/types/views/UserManagementListView.vue.d.ts +0 -3
- package/dist/types/views/UserManagementView.vue.d.ts +0 -3
- package/dist/types/views/useUserSessionRows.d.ts +0 -28
- package/dist/types/views/userDetailStateModel.d.ts +0 -9
- package/dist/types/views/userManagementRouteState.d.ts +0 -11
- package/dist/workspaceViews-D-RiJ64o.js +0 -9078
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { $ as e, $n as t, $t as n, An as r,
|
|
2
|
-
import { $ as jt, A as Mt, B as Nt, C as Pt, D as Ft,
|
|
1
|
+
import { $ as e, $n as t, $t as n, An as r, Bn as i, Bt as a, Cn as o, Ct as s, Dn as c, Dt as l, En as u, Et as d, Fn as f, Gn as p, Gt as m, H as h, Hn as g, Ht as _, In as ee, Jn as te, Jt as v, Kn as y, Kt as b, Ln as ne, Lt as x, Mn as re, Mt as S, Nn as ie, On as ae, Pn as oe, Q as se, Qn as ce, Qt as le, Rn as ue, Sn as de, Tn as fe, Tt as pe, Un as me, Ut as he, Vn as ge, Vt as _e, Wn as ve, Wt as ye, X as be, Xn as xe, Xt as Se, Yn as Ce, Yt as we, Z as Te, Zn as Ee, Zt as De, _n as Oe, _t as ke, an as Ae, ar as je, bn as Me, cn as Ne, cr as Pe, ct as Fe, dn as Ie, dr as Le, en as Re, er as ze, et as Be, fn as Ve, ft as He, gn as Ue, gt as We, hn as Ge, in as Ke, ir as qe, it as Je, jn as Ye, jt as Xe, kn as Ze, kt as Qe, ln as $e, lr as et, lt as tt, mn as nt, nn as rt, nr as it, nt as at, on as C, or as ot, pn as st, q as ct, qn as lt, qt as ut, rn as dt, rr as ft, sn as pt, sr as mt, st as ht, tn as gt, tr as _t, tt as vt, un as yt, ur as bt, ut as xt, vn as St, wn as Ct, wt, xn as Tt, xt as Et, yn as Dt, yt as Ot, zn as kt, zt as At } from "./platform-components-59b4qzUL.js";
|
|
2
|
+
import { $ as jt, A as Mt, B as Nt, C as Pt, D as Ft, F as It, G as Lt, H as Rt, I as zt, J as Bt, K as Vt, L as Ht, M as Ut, N as Wt, O as Gt, P as Kt, Q as qt, R as Jt, S as Yt, T as Xt, U as Zt, V as Qt, W as $t, X as en, Y as tn, Z as nn, _ as rn, _t as an, at as w, b as on, ct as T, d as sn, dt as cn, et as ln, f as un, ft as E, g as dn, gt as fn, h as pn, ht as mn, it as hn, j as gn, k as _n, l as vn, lt as yn, m as bn, mt as D, nt as xn, ot as Sn, p as Cn, pt as wn, q as Tn, rt as En, st as Dn, tt as On, u as kn, ut as An, v as jn, vt as O, w as Mn, x as Nn, y as Pn, z as k } from "./workspaceViews-BvV8mpML.js";
|
|
3
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";
|
|
4
4
|
//#region node_modules/@vue/devtools-api/lib/esm/env.js
|
|
5
5
|
function Jn() {
|
|
@@ -648,7 +648,7 @@ function wr(e, t) {
|
|
|
648
648
|
}
|
|
649
649
|
}, (e) => {
|
|
650
650
|
let n = e.getSettings();
|
|
651
|
-
|
|
651
|
+
ce.setOnline(!!n.onlineMode.valueOf());
|
|
652
652
|
let r = t.getQueryCache();
|
|
653
653
|
e.addInspector({
|
|
654
654
|
id: G,
|
|
@@ -732,7 +732,7 @@ function wr(e, t) {
|
|
|
732
732
|
}
|
|
733
733
|
});
|
|
734
734
|
}), e.on.setPluginSettings((e) => {
|
|
735
|
-
e.key === "onlineMode" &&
|
|
735
|
+
e.key === "onlineMode" && ce.setOnline(!!e.newValue);
|
|
736
736
|
}), e.on.getInspectorTree((t) => {
|
|
737
737
|
if (t.inspectorId === G) {
|
|
738
738
|
let n = r.getAll(), i = e.getSettings();
|
|
@@ -787,88 +787,83 @@ function wr(e, t) {
|
|
|
787
787
|
}
|
|
788
788
|
//#endregion
|
|
789
789
|
//#region node_modules/@tanstack/vue-query/build/modern/vueQueryPlugin.js
|
|
790
|
-
var Tr = { install: (e,
|
|
791
|
-
let
|
|
792
|
-
|
|
793
|
-
let
|
|
794
|
-
if (
|
|
795
|
-
|
|
796
|
-
let [e,
|
|
797
|
-
|
|
798
|
-
|
|
790
|
+
var Tr = { install: (e, n = {}) => {
|
|
791
|
+
let r = Ee(n.queryClientKey), i;
|
|
792
|
+
i = "queryClient" in n && n.queryClient ? n.queryClient : new xe("queryClientConfig" in n ? n.queryClientConfig : void 0), t.isServer() || i.mount();
|
|
793
|
+
let a = () => {};
|
|
794
|
+
if (n.clientPersister) {
|
|
795
|
+
i.isRestoring && (i.isRestoring.value = !0);
|
|
796
|
+
let [e, t] = n.clientPersister(i);
|
|
797
|
+
a = e, t.then(() => {
|
|
798
|
+
i.isRestoring && (i.isRestoring.value = !1), n.clientPersisterOnSuccess?.(i);
|
|
799
799
|
});
|
|
800
800
|
}
|
|
801
|
-
let
|
|
802
|
-
|
|
801
|
+
let o = () => {
|
|
802
|
+
i.unmount(), a();
|
|
803
803
|
};
|
|
804
|
-
if (e.onUnmount) e.onUnmount(
|
|
804
|
+
if (e.onUnmount) e.onUnmount(o);
|
|
805
805
|
else {
|
|
806
806
|
let t = e.unmount;
|
|
807
807
|
e.unmount = function() {
|
|
808
|
-
|
|
808
|
+
o(), t();
|
|
809
809
|
};
|
|
810
810
|
}
|
|
811
|
-
e.provide(
|
|
812
|
-
} },
|
|
813
|
-
route: "/iam/role",
|
|
814
|
-
moduleAlias: "iam.role",
|
|
815
|
-
component: Er,
|
|
816
|
-
layout: "workspace"
|
|
817
|
-
}, {
|
|
811
|
+
e.provide(r, i), process.env.NODE_ENV === "development" && n.enableDevtoolsV6Plugin && wr(e, i);
|
|
812
|
+
} }, K = [{
|
|
818
813
|
route: "/iam/role/authorization",
|
|
819
814
|
moduleAlias: "iam.role",
|
|
820
|
-
component:
|
|
815
|
+
component: Ln(() => import("./workspaceViews-BvV8mpML.js").then((e) => e.n)),
|
|
821
816
|
layout: "workspace",
|
|
822
817
|
menuEntry: !1
|
|
823
|
-
}],
|
|
824
|
-
function
|
|
825
|
-
if (e) return K.find((t) =>
|
|
818
|
+
}], Er = Array.from(new Set(["/_platform/workspace", ...K.map((e) => e.route)])), Dr = Object.fromEntries(K.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), Or = Object.fromEntries(K.map((e) => [e.route, e.layout]));
|
|
819
|
+
function kr(e) {
|
|
820
|
+
if (e) return K.find((t) => jr(t, e.target));
|
|
826
821
|
}
|
|
827
|
-
function
|
|
828
|
-
return e?.pageType === "business-route" && !!
|
|
822
|
+
function Ar(e) {
|
|
823
|
+
return e?.pageType === "business-route" && !!kr(e);
|
|
829
824
|
}
|
|
830
|
-
function
|
|
831
|
-
return t.route ?
|
|
825
|
+
function jr(e, t) {
|
|
826
|
+
return t.route ? Mr(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
|
|
832
827
|
}
|
|
833
|
-
function
|
|
828
|
+
function Mr(e, t) {
|
|
834
829
|
let n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean);
|
|
835
830
|
return n.length === r.length && n.every((e, t) => e.startsWith(":") || e === r[t]);
|
|
836
831
|
}
|
|
837
832
|
//#endregion
|
|
838
833
|
//#region src/app/pageRouteContext.ts
|
|
839
|
-
var
|
|
840
|
-
function
|
|
841
|
-
Hn(
|
|
834
|
+
var Nr = Symbol("page-route");
|
|
835
|
+
function Pr(e) {
|
|
836
|
+
Hn(Nr, A(e));
|
|
842
837
|
}
|
|
843
838
|
//#endregion
|
|
844
839
|
//#region src/platform-admin-runtime/PlatformAdminOutlet.vue
|
|
845
|
-
var
|
|
840
|
+
var Fr = /* @__PURE__ */ I({
|
|
846
841
|
name: "PlatformAdminRouteOutlet",
|
|
847
842
|
__name: "PlatformAdminOutlet",
|
|
848
843
|
props: { descriptor: {} },
|
|
849
844
|
setup(e) {
|
|
850
|
-
let t = e, n = A(() =>
|
|
851
|
-
|
|
845
|
+
let t = e, n = A(() => kr(t.descriptor)), r = A(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = A(() => t.descriptor.target.query?.workspacePresentation);
|
|
846
|
+
ct(A(() => t.descriptor.layout ?? n.value?.layout)), Pr(() => {
|
|
852
847
|
let e = n.value?.route ?? t.descriptor.target.route ?? "", r = t.descriptor.target.route ?? e;
|
|
853
848
|
return {
|
|
854
849
|
path: r,
|
|
855
850
|
meta: {},
|
|
856
851
|
query: t.descriptor.target.query ?? t.descriptor.params ?? {},
|
|
857
|
-
params:
|
|
852
|
+
params: o(e, r),
|
|
858
853
|
matched: [{ path: e }]
|
|
859
854
|
};
|
|
860
855
|
});
|
|
861
|
-
function
|
|
856
|
+
function o(e, t) {
|
|
862
857
|
let n = {}, r = e.split("/").filter(Boolean), i = t.split("/").filter(Boolean);
|
|
863
858
|
return r.forEach((e, t) => {
|
|
864
859
|
e.startsWith(":") && i[t] && (n[e.slice(1)] = i[t]);
|
|
865
860
|
}), n;
|
|
866
861
|
}
|
|
867
|
-
return (t,
|
|
862
|
+
return (t, o) => n.value && r.value ? (L(), j(B(a), {
|
|
868
863
|
key: 0,
|
|
869
864
|
"module-alias": r.value
|
|
870
865
|
}, {
|
|
871
|
-
default: V(() => [i.value === "drawer" || i.value === "tab" ? (L(), j(B(
|
|
866
|
+
default: V(() => [i.value === "drawer" || i.value === "tab" ? (L(), j(B(_n), {
|
|
872
867
|
key: 0,
|
|
873
868
|
descriptor: e.descriptor
|
|
874
869
|
}, null, 8, ["descriptor"])) : (L(), j(Gn(n.value.component), { key: 1 }))]),
|
|
@@ -878,10 +873,10 @@ var Lr = /* @__PURE__ */ I({
|
|
|
878
873
|
});
|
|
879
874
|
//#endregion
|
|
880
875
|
//#region src/app/workbenchStartup.ts
|
|
881
|
-
function
|
|
882
|
-
let i =
|
|
876
|
+
function Ir(e, t, n, r = {}) {
|
|
877
|
+
let i = w(t, n, r), a = e.find((e) => e.key === i.key);
|
|
883
878
|
if (a) {
|
|
884
|
-
let o = a.pageDescriptor ?
|
|
879
|
+
let o = a.pageDescriptor ? $r(t, n, a.pageDescriptor, r) : i;
|
|
885
880
|
return {
|
|
886
881
|
tabs: e.map((e) => e.key === i.key ? o : e),
|
|
887
882
|
activeTabKey: i.key
|
|
@@ -892,8 +887,8 @@ function Rr(e, t, n, r = {}) {
|
|
|
892
887
|
activeTabKey: i.key
|
|
893
888
|
};
|
|
894
889
|
}
|
|
895
|
-
function
|
|
896
|
-
let r = X(
|
|
890
|
+
function Lr(e, t, n = {}) {
|
|
891
|
+
let r = X(O(t), n), i = e.find((e) => e.key === r.key ? !0 : r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && mn(e.pageDescriptor) === mn(r.pageDescriptor));
|
|
897
892
|
return i ? {
|
|
898
893
|
tabs: e,
|
|
899
894
|
activeTabKey: i.key,
|
|
@@ -904,41 +899,41 @@ function zr(e, t, n = {}) {
|
|
|
904
899
|
created: !0
|
|
905
900
|
};
|
|
906
901
|
}
|
|
907
|
-
function
|
|
908
|
-
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : E(
|
|
902
|
+
function Rr(e, t, n = {}) {
|
|
903
|
+
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : E(D(t, {
|
|
909
904
|
...n,
|
|
910
905
|
title: e.title
|
|
911
906
|
}), n);
|
|
912
907
|
}
|
|
913
|
-
function
|
|
908
|
+
function zr(e) {
|
|
914
909
|
let t = (e.tabs ?? []).find((t) => t.key === e.activeTabKey);
|
|
915
910
|
if (t?.fullPath) return t.fullPath;
|
|
916
|
-
let n = t?.pageDescriptor ?? (t?.target ?
|
|
917
|
-
return n?.pageType === "platform-route" &&
|
|
911
|
+
let n = t?.pageDescriptor ?? (t?.target ? D(t.target, { title: t.title }) : void 0);
|
|
912
|
+
return n?.pageType === "platform-route" && rn(n) && n.target.route ? n.target.route : n ? E(n) : void 0;
|
|
918
913
|
}
|
|
919
914
|
function q(e, t, n = {}, r = !1) {
|
|
920
915
|
if (t === "/" || t === "") return e;
|
|
921
|
-
let i = t.split(/[?#]/, 1)[0] ?? "", a =
|
|
916
|
+
let i = t.split(/[?#]/, 1)[0] ?? "", a = Pn(i), o = a ? pn(a) : jn(i) ? dn() : an(t, n);
|
|
922
917
|
if (!o) return e;
|
|
923
|
-
let s = o.menuId ?
|
|
918
|
+
let s = o.menuId ? oi(e.menus, o.menuId) : void 0, c = s ? T(s) : void 0, l = s && c && Vr(c, o) ? {
|
|
924
919
|
...o,
|
|
925
920
|
title: s.title
|
|
926
|
-
} : o, u =
|
|
921
|
+
} : o, u = Br(l), d = u ?? l, f = r ? O(d) : d, p = s && ii(s, f, n) ? s : ri(e.menus, f, n), m = p === s ? c : p ? T(p) : void 0, h = u ? X(u, n) : p && m && yn(m) ? $r(p, m, f, n) : X(f, n), g = Qr(e.tabs ?? [], h);
|
|
927
922
|
return {
|
|
928
923
|
...e,
|
|
929
924
|
tabs: g,
|
|
930
925
|
activeTabKey: h.key
|
|
931
926
|
};
|
|
932
927
|
}
|
|
933
|
-
function
|
|
928
|
+
function Br(e) {
|
|
934
929
|
if (e.pageType !== "business-route") return;
|
|
935
|
-
let t =
|
|
936
|
-
return t ?
|
|
930
|
+
let t = Kt(e);
|
|
931
|
+
return t ? gn(t.view, t.input, t.presentation, e.title) : void 0;
|
|
937
932
|
}
|
|
938
|
-
function
|
|
933
|
+
function Vr(e, t) {
|
|
939
934
|
return t.pageType === "dynamic-module" && e.menuType === "module" && e.moduleAlias === t.target.moduleAlias;
|
|
940
935
|
}
|
|
941
|
-
function
|
|
936
|
+
function Hr(e, t, n) {
|
|
942
937
|
let r = e.findIndex((e) => e.key === n);
|
|
943
938
|
if (r < 0) return {
|
|
944
939
|
tabs: e,
|
|
@@ -953,7 +948,7 @@ function Wr(e, t, n) {
|
|
|
953
948
|
activeTabKey: t
|
|
954
949
|
};
|
|
955
950
|
}
|
|
956
|
-
function
|
|
951
|
+
function Ur(e, t, n) {
|
|
957
952
|
let r = new Set(n), i = e.findIndex((e) => e.key === t), a = e.filter((e) => !r.has(e.key) || e.closable === !1);
|
|
958
953
|
return !t || !r.has(t) ? {
|
|
959
954
|
tabs: a,
|
|
@@ -969,10 +964,10 @@ function J(e, t, n = !0) {
|
|
|
969
964
|
if (i.has(e.key)) return [];
|
|
970
965
|
i.add(e.key);
|
|
971
966
|
let t = r.get(e.key);
|
|
972
|
-
return t ? [
|
|
967
|
+
return t ? [Wr(t, e)] : n ? [e] : [];
|
|
973
968
|
}), ...e.filter((e) => !i.has(e.key))];
|
|
974
969
|
}
|
|
975
|
-
function
|
|
970
|
+
function Wr(e, t) {
|
|
976
971
|
let n = e.pageDescriptor, r = t.pageDescriptor;
|
|
977
972
|
if (!n || !r || !t.target) return e;
|
|
978
973
|
let i = {
|
|
@@ -987,48 +982,48 @@ function Kr(e, t) {
|
|
|
987
982
|
target: t.target
|
|
988
983
|
};
|
|
989
984
|
}
|
|
990
|
-
function
|
|
985
|
+
function Gr(e, t, n = {}) {
|
|
991
986
|
let r = /* @__PURE__ */ new Map();
|
|
992
|
-
|
|
987
|
+
Yr(t, r);
|
|
993
988
|
let i = /* @__PURE__ */ new Set();
|
|
994
989
|
return e.flatMap((e) => {
|
|
995
|
-
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ??
|
|
990
|
+
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ?? Kr(e.key);
|
|
996
991
|
if (t) {
|
|
997
992
|
if (i.has(t)) return [];
|
|
998
993
|
let e = r.get(t);
|
|
999
|
-
return e ? (i.add(t), [
|
|
994
|
+
return e ? (i.add(t), [w(e.menu, e.target, n)]) : [];
|
|
1000
995
|
}
|
|
1001
|
-
let a =
|
|
996
|
+
let a = qr(e);
|
|
1002
997
|
return !a || i.has(a.key) ? [] : (i.add(a.key), [a]);
|
|
1003
998
|
});
|
|
1004
999
|
}
|
|
1005
|
-
function
|
|
1000
|
+
function Kr(e) {
|
|
1006
1001
|
return e.startsWith("menu:") && e.slice(5) || void 0;
|
|
1007
1002
|
}
|
|
1008
|
-
function
|
|
1003
|
+
function qr(e) {
|
|
1009
1004
|
let t = e.pageDescriptor;
|
|
1010
1005
|
if (t?.pageType !== "business-route") return;
|
|
1011
|
-
let n =
|
|
1012
|
-
if (!(!n || n.presentation !== "tab")) return X(
|
|
1006
|
+
let n = Kt(t);
|
|
1007
|
+
if (!(!n || n.presentation !== "tab")) return X(gn(n.view, n.input, "tab"));
|
|
1013
1008
|
}
|
|
1014
|
-
function
|
|
1009
|
+
function Jr(e, t) {
|
|
1015
1010
|
let n = e.findIndex((e) => e.key === t.key);
|
|
1016
1011
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
1017
1012
|
}
|
|
1018
|
-
function
|
|
1013
|
+
function Yr(e, t) {
|
|
1019
1014
|
for (let n of e) {
|
|
1020
|
-
let e =
|
|
1021
|
-
e &&
|
|
1015
|
+
let e = T(n.record);
|
|
1016
|
+
e && yn(e) && t.set(n.record.id, {
|
|
1022
1017
|
menu: n.record,
|
|
1023
1018
|
target: e
|
|
1024
|
-
}),
|
|
1019
|
+
}), Yr(n.children, t);
|
|
1025
1020
|
}
|
|
1026
1021
|
}
|
|
1027
1022
|
function Y(e, t) {
|
|
1028
1023
|
let n = new Set(t);
|
|
1029
1024
|
return e.filter((e) => !n.has(e.key));
|
|
1030
1025
|
}
|
|
1031
|
-
function
|
|
1026
|
+
function Xr(e, t, n = []) {
|
|
1032
1027
|
if (e.length !== t.length || new Set(t).size !== e.length) return e;
|
|
1033
1028
|
let r = new Map(e.map((e) => [e.key, e]));
|
|
1034
1029
|
if (t.some((e) => !r.has(e))) return e;
|
|
@@ -1038,25 +1033,25 @@ function Qr(e, t, n = []) {
|
|
|
1038
1033
|
function X(e, t = {}) {
|
|
1039
1034
|
let n = E(e, t);
|
|
1040
1035
|
return {
|
|
1041
|
-
|
|
1042
|
-
key:
|
|
1043
|
-
title: e.title ??
|
|
1036
|
+
...Zr(e) ? { instanceKey: Zr(e) } : {},
|
|
1037
|
+
key: fn(e),
|
|
1038
|
+
title: e.title ?? ni(e),
|
|
1044
1039
|
fullPath: n,
|
|
1045
1040
|
pageDescriptor: e,
|
|
1046
1041
|
restoreState: { url: n },
|
|
1047
1042
|
closable: !0
|
|
1048
1043
|
};
|
|
1049
1044
|
}
|
|
1050
|
-
function
|
|
1045
|
+
function Zr(e) {
|
|
1051
1046
|
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;
|
|
1052
1047
|
return typeof n == "string" && n ? n : void 0;
|
|
1053
1048
|
}
|
|
1054
|
-
function
|
|
1049
|
+
function Qr(e, t) {
|
|
1055
1050
|
let n = e.findIndex((e) => e.key === t.key);
|
|
1056
1051
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
1057
1052
|
}
|
|
1058
|
-
function
|
|
1059
|
-
let i =
|
|
1053
|
+
function $r(e, t, n, r) {
|
|
1054
|
+
let i = w(e, t, r), a = i.pageDescriptor ?? n, o = ei(n) && ei(a) || ti(n) && ti(a) ? {
|
|
1060
1055
|
...n,
|
|
1061
1056
|
title: n.title ?? e.title,
|
|
1062
1057
|
menuId: e.id,
|
|
@@ -1077,68 +1072,68 @@ function ti(e, t, n, r) {
|
|
|
1077
1072
|
target: t
|
|
1078
1073
|
};
|
|
1079
1074
|
}
|
|
1080
|
-
function
|
|
1075
|
+
function ei(e) {
|
|
1081
1076
|
return e.pageType === "platform-route" || e.pageType === "business-route";
|
|
1082
1077
|
}
|
|
1083
|
-
function
|
|
1078
|
+
function ti(e) {
|
|
1084
1079
|
return e.pageType === "remote-url" || e.pageType === "external-link";
|
|
1085
1080
|
}
|
|
1086
|
-
function
|
|
1081
|
+
function ni(e) {
|
|
1087
1082
|
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;
|
|
1088
1083
|
}
|
|
1089
|
-
function
|
|
1084
|
+
function ri(e, t, n) {
|
|
1090
1085
|
for (let r of e) {
|
|
1091
|
-
if (
|
|
1092
|
-
let e =
|
|
1086
|
+
if (ii(r.record, t, n)) return r.record;
|
|
1087
|
+
let e = ri(r.children, t, n);
|
|
1093
1088
|
if (e) return e;
|
|
1094
1089
|
}
|
|
1095
1090
|
}
|
|
1096
|
-
function
|
|
1097
|
-
let r =
|
|
1091
|
+
function ii(e, t, n) {
|
|
1092
|
+
let r = T(e), i = r ? D(r, {
|
|
1098
1093
|
...n,
|
|
1099
1094
|
title: e.title
|
|
1100
1095
|
}) : void 0;
|
|
1101
|
-
return i ?
|
|
1096
|
+
return i ? ai(i, t) : !1;
|
|
1102
1097
|
}
|
|
1103
|
-
function
|
|
1098
|
+
function ai(e, t) {
|
|
1104
1099
|
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;
|
|
1105
1100
|
}
|
|
1106
|
-
function
|
|
1101
|
+
function oi(e, t) {
|
|
1107
1102
|
for (let n of e) {
|
|
1108
1103
|
if (n.record.id === t) return n.record;
|
|
1109
|
-
let e =
|
|
1104
|
+
let e = oi(n.children, t);
|
|
1110
1105
|
if (e) return e;
|
|
1111
1106
|
}
|
|
1112
1107
|
}
|
|
1113
1108
|
//#endregion
|
|
1114
1109
|
//#region src/app/lockedTabPreference.ts
|
|
1115
|
-
var
|
|
1116
|
-
async function
|
|
1117
|
-
return
|
|
1110
|
+
var si = "workbench.locked-tabs";
|
|
1111
|
+
async function ci(e) {
|
|
1112
|
+
return ui(await e.restore(si, [], { persistence: "backend" }));
|
|
1118
1113
|
}
|
|
1119
|
-
async function
|
|
1120
|
-
await e.set(
|
|
1114
|
+
async function li(e, t) {
|
|
1115
|
+
await e.set(si, t, { persistence: "backend" });
|
|
1121
1116
|
}
|
|
1122
|
-
function
|
|
1117
|
+
function ui(e) {
|
|
1123
1118
|
if (!Array.isArray(e)) return [];
|
|
1124
1119
|
let t = /* @__PURE__ */ new Set();
|
|
1125
|
-
return e.flatMap((e) => !
|
|
1120
|
+
return e.flatMap((e) => !di(e) || t.has(e.key) ? [] : (t.add(e.key), [e]));
|
|
1126
1121
|
}
|
|
1127
|
-
function
|
|
1122
|
+
function di(e) {
|
|
1128
1123
|
let t = e;
|
|
1129
|
-
return typeof e == "object" && !!e && typeof t.key == "string" && typeof t.title == "string" && (
|
|
1124
|
+
return typeof e == "object" && !!e && typeof t.key == "string" && typeof t.title == "string" && (fi(t.pageDescriptor) || mi(t.target));
|
|
1130
1125
|
}
|
|
1131
|
-
function
|
|
1126
|
+
function fi(e) {
|
|
1132
1127
|
return !Z(e) || !Z(e.target) || !Z(e.tabPolicy) || ![
|
|
1133
1128
|
"by-menu",
|
|
1134
1129
|
"by-target",
|
|
1135
1130
|
"by-params"
|
|
1136
|
-
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" &&
|
|
1131
|
+
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" && pi(e.target) : e.pageType === "business-route" ? e.openMode === "workbench-route" && e.hostType === "business-route-host" && pi(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";
|
|
1137
1132
|
}
|
|
1138
|
-
function
|
|
1133
|
+
function pi(e) {
|
|
1139
1134
|
return typeof e.route == "string" || typeof e.routeName == "string" || typeof e.pageKey == "string";
|
|
1140
1135
|
}
|
|
1141
|
-
function
|
|
1136
|
+
function mi(e) {
|
|
1142
1137
|
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";
|
|
1143
1138
|
}
|
|
1144
1139
|
function Z(e) {
|
|
@@ -1146,15 +1141,15 @@ function Z(e) {
|
|
|
1146
1141
|
}
|
|
1147
1142
|
//#endregion
|
|
1148
1143
|
//#region src/consumer/PlatformAdminOutlet.vue
|
|
1149
|
-
var
|
|
1144
|
+
var hi = /* @__PURE__ */ I({
|
|
1150
1145
|
name: "PlatformAdminOutlet",
|
|
1151
1146
|
__name: "PlatformAdminOutlet",
|
|
1152
1147
|
props: { descriptor: {} },
|
|
1153
1148
|
setup(e) {
|
|
1154
|
-
return (t, n) => B(
|
|
1149
|
+
return (t, n) => B(Ar)(e.descriptor) ? (L(), j(Fr, {
|
|
1155
1150
|
key: 0,
|
|
1156
1151
|
descriptor: e.descriptor
|
|
1157
|
-
}, null, 8, ["descriptor"])) : (L(), j(
|
|
1152
|
+
}, null, 8, ["descriptor"])) : (L(), j(Ft, {
|
|
1158
1153
|
key: 1,
|
|
1159
1154
|
descriptor: e.descriptor
|
|
1160
1155
|
}, null, 8, ["descriptor"]));
|
|
@@ -1162,8 +1157,8 @@ var _i = /* @__PURE__ */ I({
|
|
|
1162
1157
|
});
|
|
1163
1158
|
//#endregion
|
|
1164
1159
|
//#region src/app/workbenchRouteSync.ts
|
|
1165
|
-
function
|
|
1166
|
-
let r =
|
|
1160
|
+
function gi(e, t, n) {
|
|
1161
|
+
let r = zr(e) ?? "/";
|
|
1167
1162
|
return r === t ? void 0 : {
|
|
1168
1163
|
url: r,
|
|
1169
1164
|
mode: n
|
|
@@ -1171,7 +1166,7 @@ function vi(e, t, n) {
|
|
|
1171
1166
|
}
|
|
1172
1167
|
//#endregion
|
|
1173
1168
|
//#region src/consumer/AppWorkbenchShell.vue
|
|
1174
|
-
var
|
|
1169
|
+
var _i = /* @__PURE__ */ I({
|
|
1175
1170
|
name: "AppWorkbenchShell",
|
|
1176
1171
|
__name: "AppWorkbenchShell",
|
|
1177
1172
|
props: {
|
|
@@ -1194,28 +1189,28 @@ var yi = /* @__PURE__ */ I({
|
|
|
1194
1189
|
],
|
|
1195
1190
|
setup(e, { emit: t }) {
|
|
1196
1191
|
let n = e, r = t, i = A(() => n.startup.activeTabKey), a = R([]), o = 0, s = Promise.resolve(), c = !1;
|
|
1197
|
-
|
|
1198
|
-
openRoute:
|
|
1199
|
-
replaceRoute:
|
|
1200
|
-
closeCurrentTab:
|
|
1201
|
-
openPage:
|
|
1202
|
-
replacePage:
|
|
1192
|
+
Jt({
|
|
1193
|
+
openRoute: te,
|
|
1194
|
+
replaceRoute: v,
|
|
1195
|
+
closeCurrentTab: y,
|
|
1196
|
+
openPage: ee,
|
|
1197
|
+
replacePage: x,
|
|
1203
1198
|
closePage: f,
|
|
1204
|
-
setTabName:
|
|
1199
|
+
setTabName: ne
|
|
1205
1200
|
}), Vn(() => {
|
|
1206
|
-
c = !0,
|
|
1201
|
+
c = !0, Gt(), ie(), S(n.location);
|
|
1207
1202
|
}), Bn(() => {
|
|
1208
1203
|
c = !1;
|
|
1209
|
-
}), Kn(() => n.location, (e) =>
|
|
1204
|
+
}), Kn(() => n.location, (e) => S(e));
|
|
1210
1205
|
function l(e, t = void 0) {
|
|
1211
|
-
r("update:startup", e), t &&
|
|
1206
|
+
r("update:startup", e), t && re(e, t);
|
|
1212
1207
|
}
|
|
1213
1208
|
function u(e, t) {
|
|
1214
1209
|
if (t.openMode === "window") {
|
|
1215
|
-
window.open(
|
|
1210
|
+
window.open(Rr(e, t), "_blank", "noopener,noreferrer");
|
|
1216
1211
|
return;
|
|
1217
1212
|
}
|
|
1218
|
-
let r =
|
|
1213
|
+
let r = Ir(n.startup.tabs ?? [], e, t, n.resolveOptions);
|
|
1219
1214
|
l({
|
|
1220
1215
|
...n.startup,
|
|
1221
1216
|
tabs: r.tabs,
|
|
@@ -1229,7 +1224,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1229
1224
|
}, "push");
|
|
1230
1225
|
}
|
|
1231
1226
|
function f(e) {
|
|
1232
|
-
let t =
|
|
1227
|
+
let t = Hr(n.startup.tabs ?? [], n.startup.activeTabKey, e);
|
|
1233
1228
|
a.value.some((t) => t.key === e) && g(Y(a.value, [e])), l({
|
|
1234
1229
|
...n.startup,
|
|
1235
1230
|
tabs: t.tabs,
|
|
@@ -1237,7 +1232,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1237
1232
|
}, "replace");
|
|
1238
1233
|
}
|
|
1239
1234
|
function p(e) {
|
|
1240
|
-
let t =
|
|
1235
|
+
let t = Ur(n.startup.tabs ?? [], n.startup.activeTabKey, e), r = e.filter((e) => a.value.some((t) => t.key === e));
|
|
1241
1236
|
r.length > 0 && g(Y(a.value, r)), l({
|
|
1242
1237
|
...n.startup,
|
|
1243
1238
|
tabs: t.tabs,
|
|
@@ -1245,7 +1240,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1245
1240
|
}, "replace");
|
|
1246
1241
|
}
|
|
1247
1242
|
function m(e) {
|
|
1248
|
-
let t =
|
|
1243
|
+
let t = Xr(n.startup.tabs ?? [], e, a.value.map((e) => e.key)), r = t.filter((e) => a.value.some((t) => t.key === e.key));
|
|
1249
1244
|
r.map((e) => e.key).join("|") !== a.value.map((e) => e.key).join("|") && g(r), l({
|
|
1250
1245
|
...n.startup,
|
|
1251
1246
|
tabs: t
|
|
@@ -1254,7 +1249,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1254
1249
|
function h(e) {
|
|
1255
1250
|
let t = n.startup.tabs?.find((t) => t.key === e);
|
|
1256
1251
|
if (!t) return;
|
|
1257
|
-
let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) :
|
|
1252
|
+
let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) : Jr(i, t);
|
|
1258
1253
|
g(o), l({
|
|
1259
1254
|
...n.startup,
|
|
1260
1255
|
tabs: J(n.startup.tabs ?? [], o)
|
|
@@ -1266,7 +1261,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1266
1261
|
}
|
|
1267
1262
|
async function _(e, t, r) {
|
|
1268
1263
|
try {
|
|
1269
|
-
s = s.catch(() => void 0).then(() =>
|
|
1264
|
+
s = s.catch(() => void 0).then(() => li(C, e)), await s;
|
|
1270
1265
|
} catch {
|
|
1271
1266
|
if (r !== o) return;
|
|
1272
1267
|
a.value = t, l({
|
|
@@ -1275,23 +1270,23 @@ var yi = /* @__PURE__ */ I({
|
|
|
1275
1270
|
});
|
|
1276
1271
|
}
|
|
1277
1272
|
}
|
|
1278
|
-
function
|
|
1279
|
-
let t =
|
|
1273
|
+
function ee(e) {
|
|
1274
|
+
let t = Lr(n.startup.tabs ?? [], e);
|
|
1280
1275
|
return l({
|
|
1281
1276
|
...n.startup,
|
|
1282
1277
|
tabs: t.tabs,
|
|
1283
1278
|
activeTabKey: t.activeTabKey
|
|
1284
1279
|
}, "push"), { created: t.created };
|
|
1285
1280
|
}
|
|
1286
|
-
function
|
|
1287
|
-
return
|
|
1281
|
+
function te(e, t = {}) {
|
|
1282
|
+
return b(k(e, t), "push", n.startup, t.tabTitle, t.newInstance);
|
|
1288
1283
|
}
|
|
1289
|
-
function
|
|
1290
|
-
let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a =
|
|
1291
|
-
if (!r || !i) return
|
|
1284
|
+
function v(e, t = {}) {
|
|
1285
|
+
let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a = k(e, t);
|
|
1286
|
+
if (!r || !i) return b(a, "replace", n.startup, t.tabTitle);
|
|
1292
1287
|
let o = q(n.startup, a, n.resolveOptions), s = o.tabs?.find((e) => e.key === o.activeTabKey);
|
|
1293
1288
|
if (!s) return { created: !1 };
|
|
1294
|
-
let c = s.pageDescriptor && i.instanceKey ?
|
|
1289
|
+
let c = s.pageDescriptor && i.instanceKey ? O(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 ? {
|
|
1295
1290
|
...i,
|
|
1296
1291
|
...s,
|
|
1297
1292
|
key: r,
|
|
@@ -1307,8 +1302,8 @@ var yi = /* @__PURE__ */ I({
|
|
|
1307
1302
|
activeTabKey: r
|
|
1308
1303
|
}, "replace"), { created: !1 };
|
|
1309
1304
|
}
|
|
1310
|
-
function
|
|
1311
|
-
let t = n.startup.activeTabKey, r = t ?
|
|
1305
|
+
function y(e) {
|
|
1306
|
+
let t = n.startup.activeTabKey, r = t ? Hr(n.startup.tabs ?? [], t, t) : {
|
|
1312
1307
|
tabs: n.startup.tabs ?? [],
|
|
1313
1308
|
activeTabKey: n.startup.activeTabKey
|
|
1314
1309
|
};
|
|
@@ -1321,13 +1316,13 @@ var yi = /* @__PURE__ */ I({
|
|
|
1321
1316
|
...n.startup,
|
|
1322
1317
|
tabs: r.tabs,
|
|
1323
1318
|
activeTabKey: i.key
|
|
1324
|
-
}, "replace"), { created: !1 }) :
|
|
1319
|
+
}, "replace"), { created: !1 }) : b(k(e), "replace", {
|
|
1325
1320
|
...n.startup,
|
|
1326
1321
|
tabs: r.tabs,
|
|
1327
1322
|
activeTabKey: r.activeTabKey
|
|
1328
1323
|
});
|
|
1329
1324
|
}
|
|
1330
|
-
function
|
|
1325
|
+
function b(e, t, r, i, a = !1) {
|
|
1331
1326
|
let o = new Set((r.tabs ?? []).map((e) => e.key)), s = q(r, e, {
|
|
1332
1327
|
...n.resolveOptions,
|
|
1333
1328
|
title: i ?? n.resolveOptions.title
|
|
@@ -1340,7 +1335,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1340
1335
|
} : e)
|
|
1341
1336
|
}), l(s, t), { created: !!(s.activeTabKey && !o.has(s.activeTabKey)) };
|
|
1342
1337
|
}
|
|
1343
|
-
function
|
|
1338
|
+
function ne(e, t) {
|
|
1344
1339
|
let r = t.trim();
|
|
1345
1340
|
!e || !r || l({
|
|
1346
1341
|
...n.startup,
|
|
@@ -1350,29 +1345,29 @@ var yi = /* @__PURE__ */ I({
|
|
|
1350
1345
|
} : t)
|
|
1351
1346
|
});
|
|
1352
1347
|
}
|
|
1353
|
-
function
|
|
1348
|
+
function x(e, t) {
|
|
1354
1349
|
let r = (n.startup.tabs ?? []).map((n) => n.key === e ? {
|
|
1355
1350
|
...n,
|
|
1356
1351
|
title: t.title ?? n.title,
|
|
1357
1352
|
pageDescriptor: t,
|
|
1358
1353
|
restoreState: { url: E(t) }
|
|
1359
1354
|
} : n), i = r.find((t) => t.key === e);
|
|
1360
|
-
i && a.value.some((t) => t.key === e) && g(
|
|
1355
|
+
i && a.value.some((t) => t.key === e) && g(Jr(a.value, i)), l({
|
|
1361
1356
|
...n.startup,
|
|
1362
1357
|
tabs: r
|
|
1363
1358
|
}, "replace");
|
|
1364
1359
|
}
|
|
1365
|
-
function
|
|
1366
|
-
let i =
|
|
1360
|
+
function re(e, t) {
|
|
1361
|
+
let i = gi(e, n.location, t);
|
|
1367
1362
|
i && r("navigate", i);
|
|
1368
1363
|
}
|
|
1369
|
-
function
|
|
1364
|
+
function S(e) {
|
|
1370
1365
|
l(q(n.startup, e, n.resolveOptions));
|
|
1371
1366
|
}
|
|
1372
1367
|
async function ie() {
|
|
1373
1368
|
let e = o;
|
|
1374
1369
|
try {
|
|
1375
|
-
let t =
|
|
1370
|
+
let t = Gr(await ci(C), n.startup.menus, n.resolveOptions);
|
|
1376
1371
|
if (!c || e !== o) return;
|
|
1377
1372
|
a.value = t;
|
|
1378
1373
|
let r = new Set(t.map((e) => e.key)), i = [...t, ...(n.startup.tabs ?? []).filter((e) => !r.has(e.key))];
|
|
@@ -1382,7 +1377,7 @@ var yi = /* @__PURE__ */ I({
|
|
|
1382
1377
|
});
|
|
1383
1378
|
} catch {}
|
|
1384
1379
|
}
|
|
1385
|
-
return (t, n) => (L(), j(
|
|
1380
|
+
return (t, n) => (L(), j(tn, {
|
|
1386
1381
|
startup: e.startup,
|
|
1387
1382
|
loading: e.loading,
|
|
1388
1383
|
error: e.error,
|
|
@@ -1414,8 +1409,8 @@ var yi = /* @__PURE__ */ I({
|
|
|
1414
1409
|
});
|
|
1415
1410
|
//#endregion
|
|
1416
1411
|
//#region src/app/loginTenant.ts
|
|
1417
|
-
function
|
|
1418
|
-
let i =
|
|
1412
|
+
function vi(e, t = xi(), n = Si(), r = "/") {
|
|
1413
|
+
let i = bi(t, n === yi(r));
|
|
1419
1414
|
return i ? {
|
|
1420
1415
|
tenantId: i,
|
|
1421
1416
|
tenantLocked: !0
|
|
@@ -1427,29 +1422,29 @@ function bi(e, t = Ci(), n = wi(), r = "/") {
|
|
|
1427
1422
|
function Q(e) {
|
|
1428
1423
|
return e?.trim() ?? "";
|
|
1429
1424
|
}
|
|
1430
|
-
function
|
|
1425
|
+
function yi(e) {
|
|
1431
1426
|
let t = `/${(e?.trim() || "/").replace(/^\/+|\/+$/g, "")}`.replace(/^\/\/+/g, "/") || "/";
|
|
1432
1427
|
return t === "/" ? t : `${t}/`;
|
|
1433
1428
|
}
|
|
1434
|
-
function
|
|
1429
|
+
function bi(e, t) {
|
|
1435
1430
|
let n = new URLSearchParams(e.startsWith("?") ? e : `?${e}`), r = Q(n.get("_muyunTenantId"));
|
|
1436
1431
|
return r || !t ? r : Q(n.get("tenantId")) || Q(n.get("tenant"));
|
|
1437
1432
|
}
|
|
1438
|
-
function
|
|
1433
|
+
function xi() {
|
|
1439
1434
|
return typeof window > "u" ? "" : window.location.search;
|
|
1440
1435
|
}
|
|
1441
|
-
function
|
|
1436
|
+
function Si() {
|
|
1442
1437
|
return typeof window > "u" ? "/" : window.location.pathname;
|
|
1443
1438
|
}
|
|
1444
1439
|
//#endregion
|
|
1445
1440
|
//#region src/app/LoginView.vue?vue&type=script&setup=true&lang.ts
|
|
1446
|
-
var
|
|
1441
|
+
var Ci = { class: "login-page" }, wi = { class: "login-panel" }, Ti = { class: "login-brand" }, Ei = ["src"], Di = { key: 1 }, Oi = { key: 0 }, ki = {
|
|
1447
1442
|
key: 1,
|
|
1448
1443
|
class: "login-subtitle"
|
|
1449
|
-
},
|
|
1444
|
+
}, Ai = {
|
|
1450
1445
|
key: 0,
|
|
1451
1446
|
class: "login-error"
|
|
1452
|
-
},
|
|
1447
|
+
}, ji = { key: 0 }, Mi = /*#__PURE__*/ At(/* @__PURE__ */ I({
|
|
1453
1448
|
name: "LoginView",
|
|
1454
1449
|
__name: "LoginView",
|
|
1455
1450
|
props: {
|
|
@@ -1461,7 +1456,7 @@ var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "
|
|
|
1461
1456
|
},
|
|
1462
1457
|
emits: ["authenticated"],
|
|
1463
1458
|
setup(e, { emit: t }) {
|
|
1464
|
-
let n = e, r = t, i =
|
|
1459
|
+
let n = e, r = t, i = vi(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(), ee = A(() => !o || !g.value && !_.value), te = A(() => h.value?.mode !== "logoOnly"), v = A(() => h.value?.title || "平台登录"), y = A(() => h.value?.subtitle);
|
|
1465
1460
|
Vn(async () => {
|
|
1466
1461
|
if (!(!o || !a.value)) {
|
|
1467
1462
|
g.value = !0;
|
|
@@ -1475,7 +1470,7 @@ var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "
|
|
|
1475
1470
|
}
|
|
1476
1471
|
}
|
|
1477
1472
|
});
|
|
1478
|
-
async function
|
|
1473
|
+
async function b() {
|
|
1479
1474
|
u.value = void 0, l.value = !0;
|
|
1480
1475
|
try {
|
|
1481
1476
|
let e = await n.authClient.login({
|
|
@@ -1494,7 +1489,7 @@ var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "
|
|
|
1494
1489
|
l.value = !1;
|
|
1495
1490
|
}
|
|
1496
1491
|
}
|
|
1497
|
-
async function
|
|
1492
|
+
async function ne() {
|
|
1498
1493
|
if (u.value = void 0, !f.value) {
|
|
1499
1494
|
u.value = "登录状态已失效,请重新登录", d.value = !1;
|
|
1500
1495
|
return;
|
|
@@ -1519,39 +1514,39 @@ var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "
|
|
|
1519
1514
|
l.value = !1;
|
|
1520
1515
|
}
|
|
1521
1516
|
}
|
|
1522
|
-
return (t, n) => (L(), N("main",
|
|
1523
|
-
P("header", null, [P("div",
|
|
1517
|
+
return (t, n) => (L(), N("main", Ci, [P("section", wi, [
|
|
1518
|
+
P("header", null, [P("div", Ti, [h.value?.lightLogo ? (L(), N("img", {
|
|
1524
1519
|
key: 0,
|
|
1525
1520
|
class: "login-logo",
|
|
1526
1521
|
src: h.value.lightLogo,
|
|
1527
1522
|
alt: ""
|
|
1528
|
-
}, null, 8,
|
|
1529
|
-
h.value?.lightLogo ? M("v-if", !0) : (L(), N("p",
|
|
1530
|
-
P("h1", null, z(
|
|
1531
|
-
|
|
1523
|
+
}, null, 8, Ei)) : M("v-if", !0), te.value ? (L(), N("div", Di, [
|
|
1524
|
+
h.value?.lightLogo ? M("v-if", !0) : (L(), N("p", Oi, "MuYun Platform")),
|
|
1525
|
+
P("h1", null, z(v.value), 1),
|
|
1526
|
+
y.value ? (L(), N("p", ki, z(y.value), 1)) : M("v-if", !0)
|
|
1532
1527
|
])) : M("v-if", !0)])]),
|
|
1533
|
-
u.value || e.error || _.value ? (L(), N("p",
|
|
1528
|
+
u.value || e.error || _.value ? (L(), N("p", Ai, z(u.value || e.error || _.value), 1)) : M("v-if", !0),
|
|
1534
1529
|
d.value ? (L(), N("form", {
|
|
1535
1530
|
key: 2,
|
|
1536
1531
|
class: "login-form",
|
|
1537
|
-
onSubmit: qn(
|
|
1532
|
+
onSubmit: qn(ne, ["prevent"])
|
|
1538
1533
|
}, [
|
|
1539
1534
|
n[10] ||= P("p", { class: "login-context" }, "当前密码需要修改后才能进入系统", -1),
|
|
1540
|
-
P("label", null, [n[8] ||= P("span", null, "新密码", -1), F(B(
|
|
1535
|
+
P("label", null, [n[8] ||= P("span", null, "新密码", -1), F(B(S), {
|
|
1541
1536
|
value: p.value,
|
|
1542
1537
|
"onUpdate:value": n[3] ||= (e) => p.value = e,
|
|
1543
1538
|
type: "password",
|
|
1544
1539
|
autocomplete: "new-password",
|
|
1545
1540
|
required: ""
|
|
1546
1541
|
}, null, 8, ["value"])]),
|
|
1547
|
-
P("label", null, [n[9] ||= P("span", null, "确认新密码", -1), F(B(
|
|
1542
|
+
P("label", null, [n[9] ||= P("span", null, "确认新密码", -1), F(B(S), {
|
|
1548
1543
|
value: m.value,
|
|
1549
1544
|
"onUpdate:value": n[4] ||= (e) => m.value = e,
|
|
1550
1545
|
type: "password",
|
|
1551
1546
|
autocomplete: "new-password",
|
|
1552
1547
|
required: ""
|
|
1553
1548
|
}, null, 8, ["value"])]),
|
|
1554
|
-
F(B(
|
|
1549
|
+
F(B(x), {
|
|
1555
1550
|
class: "login-submit",
|
|
1556
1551
|
"html-type": "submit",
|
|
1557
1552
|
type: "primary",
|
|
@@ -1563,32 +1558,32 @@ var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "
|
|
|
1563
1558
|
], 32)) : (L(), N("form", {
|
|
1564
1559
|
key: 1,
|
|
1565
1560
|
class: "login-form",
|
|
1566
|
-
onSubmit: qn(
|
|
1561
|
+
onSubmit: qn(b, ["prevent"])
|
|
1567
1562
|
}, [
|
|
1568
|
-
B(o) ? M("v-if", !0) : (L(), N("label",
|
|
1563
|
+
B(o) ? M("v-if", !0) : (L(), N("label", ji, [n[5] ||= P("span", null, "租户 ID", -1), F(B(S), {
|
|
1569
1564
|
value: a.value,
|
|
1570
1565
|
"onUpdate:value": n[0] ||= (e) => a.value = e,
|
|
1571
1566
|
autocomplete: "organization",
|
|
1572
1567
|
placeholder: "留空进入系统工作区"
|
|
1573
1568
|
}, null, 8, ["value"])])),
|
|
1574
|
-
P("label", null, [n[6] ||= P("span", null, "用户名", -1), F(B(
|
|
1569
|
+
P("label", null, [n[6] ||= P("span", null, "用户名", -1), F(B(S), {
|
|
1575
1570
|
value: s.value,
|
|
1576
1571
|
"onUpdate:value": n[1] ||= (e) => s.value = e,
|
|
1577
1572
|
autocomplete: "username",
|
|
1578
1573
|
required: ""
|
|
1579
1574
|
}, null, 8, ["value"])]),
|
|
1580
|
-
P("label", null, [n[7] ||= P("span", null, "密码", -1), F(B(
|
|
1575
|
+
P("label", null, [n[7] ||= P("span", null, "密码", -1), F(B(S), {
|
|
1581
1576
|
value: c.value,
|
|
1582
1577
|
"onUpdate:value": n[2] ||= (e) => c.value = e,
|
|
1583
1578
|
type: "password",
|
|
1584
1579
|
autocomplete: "current-password",
|
|
1585
1580
|
required: ""
|
|
1586
1581
|
}, null, 8, ["value"])]),
|
|
1587
|
-
F(B(
|
|
1582
|
+
F(B(x), {
|
|
1588
1583
|
class: "login-submit",
|
|
1589
1584
|
"html-type": "submit",
|
|
1590
1585
|
type: "primary",
|
|
1591
|
-
disabled: !
|
|
1586
|
+
disabled: !ee.value,
|
|
1592
1587
|
loading: l.value || e.loading || g.value
|
|
1593
1588
|
}, {
|
|
1594
1589
|
default: V(() => [In(z(l.value || e.loading ? "登录中" : "登录"), 1)]),
|
|
@@ -1600,8 +1595,8 @@ var Ti = { class: "login-page" }, Ei = { class: "login-panel" }, Di = { class: "
|
|
|
1600
1595
|
}), [["__scopeId", "data-v-9164ba1f"]]);
|
|
1601
1596
|
//#endregion
|
|
1602
1597
|
//#region src/consumer/userPreferencePersistence.ts
|
|
1603
|
-
function
|
|
1604
|
-
|
|
1598
|
+
function Ni(e) {
|
|
1599
|
+
Ae({
|
|
1605
1600
|
load: async (t) => (await e().request({
|
|
1606
1601
|
path: `/platform.user-preference/${encodeURIComponent(t)}`,
|
|
1607
1602
|
query: { clientType: "WEB" }
|
|
@@ -1623,10 +1618,10 @@ function Fi(e) {
|
|
|
1623
1618
|
}
|
|
1624
1619
|
//#endregion
|
|
1625
1620
|
//#region src/app/ChangeOwnPasswordDialog.vue?vue&type=script&setup=true&lang.ts
|
|
1626
|
-
var
|
|
1621
|
+
var Pi = { class: "change-own-password-fields" }, Fi = {
|
|
1627
1622
|
key: 0,
|
|
1628
1623
|
class: "change-own-password-error"
|
|
1629
|
-
},
|
|
1624
|
+
}, Ii = /*#__PURE__*/ At(/* @__PURE__ */ I({
|
|
1630
1625
|
name: "ChangeOwnPasswordDialog",
|
|
1631
1626
|
__name: "ChangeOwnPasswordDialog",
|
|
1632
1627
|
props: {
|
|
@@ -1652,7 +1647,7 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1652
1647
|
],
|
|
1653
1648
|
setup(e, { emit: t }) {
|
|
1654
1649
|
let n = t;
|
|
1655
|
-
return (t, r) => (L(), j(B(
|
|
1650
|
+
return (t, r) => (L(), j(B(We), {
|
|
1656
1651
|
open: e.open,
|
|
1657
1652
|
title: "修改密码",
|
|
1658
1653
|
"confirm-text": "保存",
|
|
@@ -1661,8 +1656,8 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1661
1656
|
onConfirm: r[3] ||= (e) => n("submit"),
|
|
1662
1657
|
onCancel: r[4] ||= (e) => n("close")
|
|
1663
1658
|
}, {
|
|
1664
|
-
default: V(() => [P("div",
|
|
1665
|
-
P("label", null, [r[5] ||= P("span", null, "当前密码", -1), F(B(
|
|
1659
|
+
default: V(() => [P("div", Pi, [
|
|
1660
|
+
P("label", null, [r[5] ||= P("span", null, "当前密码", -1), F(B(S), {
|
|
1666
1661
|
value: e.currentPassword,
|
|
1667
1662
|
type: "password",
|
|
1668
1663
|
autocomplete: "current-password",
|
|
@@ -1670,7 +1665,7 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1670
1665
|
placeholder: "请输入当前密码",
|
|
1671
1666
|
"onUpdate:value": r[0] ||= (e) => n("update:currentPassword", e)
|
|
1672
1667
|
}, null, 8, ["value", "disabled"])]),
|
|
1673
|
-
P("label", null, [r[6] ||= P("span", null, "新密码", -1), F(B(
|
|
1668
|
+
P("label", null, [r[6] ||= P("span", null, "新密码", -1), F(B(S), {
|
|
1674
1669
|
value: e.newPassword,
|
|
1675
1670
|
type: "password",
|
|
1676
1671
|
autocomplete: "new-password",
|
|
@@ -1678,7 +1673,7 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1678
1673
|
placeholder: "请输入新密码",
|
|
1679
1674
|
"onUpdate:value": r[1] ||= (e) => n("update:newPassword", e)
|
|
1680
1675
|
}, null, 8, ["value", "disabled"])]),
|
|
1681
|
-
P("label", null, [r[7] ||= P("span", null, "确认新密码", -1), F(B(
|
|
1676
|
+
P("label", null, [r[7] ||= P("span", null, "确认新密码", -1), F(B(S), {
|
|
1682
1677
|
value: e.confirmPassword,
|
|
1683
1678
|
type: "password",
|
|
1684
1679
|
autocomplete: "new-password",
|
|
@@ -1686,7 +1681,7 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1686
1681
|
placeholder: "请再次输入新密码",
|
|
1687
1682
|
"onUpdate:value": r[2] ||= (e) => n("update:confirmPassword", e)
|
|
1688
1683
|
}, null, 8, ["value", "disabled"])])
|
|
1689
|
-
]), e.error ? (L(), N("p",
|
|
1684
|
+
]), e.error ? (L(), N("p", Fi, z(e.error), 1)) : M("v-if", !0)]),
|
|
1690
1685
|
_: 1
|
|
1691
1686
|
}, 8, [
|
|
1692
1687
|
"open",
|
|
@@ -1694,22 +1689,22 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1694
1689
|
"confirm-disabled"
|
|
1695
1690
|
]));
|
|
1696
1691
|
}
|
|
1697
|
-
}), [["__scopeId", "data-v-6905dcfc"]]),
|
|
1692
|
+
}), [["__scopeId", "data-v-6905dcfc"]]), Li = { class: "theme-skin-preferences" }, Ri = {
|
|
1698
1693
|
key: 0,
|
|
1699
1694
|
class: "theme-skin-error",
|
|
1700
1695
|
role: "alert"
|
|
1701
|
-
},
|
|
1696
|
+
}, zi = {
|
|
1702
1697
|
class: "theme-skin-grid",
|
|
1703
1698
|
role: "radiogroup",
|
|
1704
1699
|
"aria-label": "工作台皮肤"
|
|
1705
|
-
},
|
|
1700
|
+
}, Bi = [
|
|
1706
1701
|
"aria-checked",
|
|
1707
1702
|
"tabindex",
|
|
1708
1703
|
"data-skin-id",
|
|
1709
1704
|
"disabled",
|
|
1710
1705
|
"onClick",
|
|
1711
1706
|
"onKeydown"
|
|
1712
|
-
],
|
|
1707
|
+
], Vi = /*#__PURE__*/ At(/* @__PURE__ */ I({
|
|
1713
1708
|
name: "ThemeSkinPreferencesDialog",
|
|
1714
1709
|
__name: "ThemeSkinPreferencesDialog",
|
|
1715
1710
|
props: {
|
|
@@ -1740,7 +1735,7 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1740
1735
|
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;
|
|
1741
1736
|
s && (n("select", s), o?.focus());
|
|
1742
1737
|
}
|
|
1743
|
-
return (t, i) => (L(), j(B(
|
|
1738
|
+
return (t, i) => (L(), j(B(We), {
|
|
1744
1739
|
open: e.open,
|
|
1745
1740
|
title: "偏好设置",
|
|
1746
1741
|
width: 460,
|
|
@@ -1749,10 +1744,10 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1749
1744
|
onConfirm: i[0] ||= (e) => n("close"),
|
|
1750
1745
|
onCancel: i[1] ||= (e) => n("close")
|
|
1751
1746
|
}, {
|
|
1752
|
-
default: V(() => [P("section",
|
|
1747
|
+
default: V(() => [P("section", Li, [
|
|
1753
1748
|
i[3] ||= P("header", null, [P("h2", null, "工作台皮肤"), P("p", null, "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")], -1),
|
|
1754
|
-
e.error ? (L(), N("p",
|
|
1755
|
-
P("div",
|
|
1749
|
+
e.error ? (L(), N("p", Ri, z(e.error), 1)) : M("v-if", !0),
|
|
1750
|
+
P("div", zi, [(L(!0), N(Fn, null, Un(e.skins, (t, a) => (L(), N("button", {
|
|
1756
1751
|
key: t.id,
|
|
1757
1752
|
class: Rn(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
|
|
1758
1753
|
type: "button",
|
|
@@ -1780,7 +1775,7 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1780
1775
|
]], 4),
|
|
1781
1776
|
P("strong", null, z(t.title), 1),
|
|
1782
1777
|
P("small", null, z(t.description), 1)
|
|
1783
|
-
], 42,
|
|
1778
|
+
], 42, Bi))), 128))])
|
|
1784
1779
|
])]),
|
|
1785
1780
|
_: 1
|
|
1786
1781
|
}, 8, [
|
|
@@ -1790,11 +1785,11 @@ var Ii = { class: "change-own-password-fields" }, Li = {
|
|
|
1790
1785
|
]));
|
|
1791
1786
|
}
|
|
1792
1787
|
}), [["__scopeId", "data-v-5d36f806"]]), $ = "workbench.theme-skin";
|
|
1793
|
-
async function
|
|
1794
|
-
let n =
|
|
1788
|
+
async function Hi(e, t) {
|
|
1789
|
+
let n = d(await e.restore($, t, { persistence: "backend" })).id;
|
|
1795
1790
|
return await e.set($, n, { persistence: "local" }), n;
|
|
1796
1791
|
}
|
|
1797
|
-
async function
|
|
1792
|
+
async function Ui(e, t, n) {
|
|
1798
1793
|
await e.set($, t, { persistence: "local" });
|
|
1799
1794
|
try {
|
|
1800
1795
|
return await e.set($, t, { persistence: "backend" }), { skinId: t };
|
|
@@ -1806,4 +1801,4 @@ async function Gi(e, t, n) {
|
|
|
1806
1801
|
}
|
|
1807
1802
|
}
|
|
1808
1803
|
//#endregion
|
|
1809
|
-
export {
|
|
1804
|
+
export { ft as AppError, _i as AppWorkbenchShell, Ii as ChangeOwnPasswordDialog, at as DateTimeText, Je as DrawerOperationBar, Qt as DynamicModuleWorkspaceDetailView, vt as FileSizeText, se as FileTransferUploader, Mi as LoginView, a as ModuleContextProvider, hi as PlatformAdminOutlet, Fr as PlatformAdminRouteOutlet, h as RecordDetailDrawer, be as SingleImageFileReferenceField, Vi as ThemeSkinPreferencesDialog, x as UiButton, Ot as UiDataTable, S as UiInput, ke as UiSidePanel, s as UiSwitch, Xe as UiTextArea, wt as UiThemeProvider, Et as UiTree, Qe as UiTreeSelect, Tr as VueQueryPlugin, tn as Workbench, en as WorkbenchMenu, Ft as WorkbenchOutlet, _n as WorkspaceViewOutlet, g as actionResultData, zr as activeTabUrlOf, J as arrangeLockedMenuTabs, qt as buildWorkbenchMegaMenuModel, rt as canQueryRecycleBin, hn as canonicalDynamicModulePath, on as clearAuthToken, _e as configureModuleContext, Zt as configureModulePageEnhancementContributions, $t as configureModulePageEnhancements, Ni as configureUserPreferencePersistence, Mt as configureWorkspaceViewContributions, He as confirmAction, vn as connectAppRealtime, nt as connectRealtimeBusinessEvents, Ge as connectRealtimeBusinessNotifications, Ue as connectRealtimeDataChanges, Oe as connectRealtimeUserNotifications, St as contextDataChangeChannel, Ne as createAuthClient, bn as createBackendHttpClient, e as createBrowserFileTransferUpload, kt as createDataChangeDispatcher, ze as createHttpClient, $e as createLoginContextClient, ut as createManagedDetailRelationClient, yt as createMenuClient, w as createMenuTab, _ as createModuleContext, v as createModuleCrudClient, Lt as createModulePageEnhancementRegistry, we as createModuleTreeClient, he as createModuleTreeContext, Se as createNavigatorReferenceCrudClient, De as createNavigatorReferenceTreeClient, Ie as createPageBootstrapClient, te as createQueryClient, Dt as createRealtimeClient, pt as createReferenceResolveClient, Ve as createSessionClient, le as createStaticModuleCrudClient, n as createStaticModuleTreeClient, Re as createStaticResourceCrudClient, gt as createStaticResourceTreeClient, jt as createWorkbenchMenuNodes, gn as createWorkspaceViewDescriptor, Ut as createWorkspaceViewRegistry, Me as dataChangeChannel, pe as defaultUiThemeSkinId, It as defineWorkspaceView, kn as disconnectAppRealtime, Wt as dismissWorkspaceViewDescriptor, Sn as dynamicModuleAliasFromPath, Nn as effectiveAuthToken, ln as filterWorkbenchMenuNodes, Dn as findFirstNavigationMenu, On as findWorkbenchMenuNodeById, xn as findWorkbenchMenuPath, En as firstDeepRootIdOf, T as getMenuNavigationTarget, et as hasExecutableDetailRelationMutationContract, bt as hasExecutableDetailRelationQueryContract, dt as hasRecycleBinAbility, Tt as imConversationMessageChannel, de as imMessageSendCommand, ge as invokeBusinessNotificationRecordAction, _t as isHttpStreamClient, Ar as isPlatformAdminRoutePage, yn as isTabMenuTarget, qe as isUnexpectedPlatformError, An as isWindowMenuTarget, Ke as moduleAbilityCodes, o as moduleDataChangeChannel, Vt as modulePageWorkspaceViews, i as normalizeChangeSet, je as normalizeError, st as normalizeMenuMineResponse, Ct as organizationPublicDataChangeChannel, fe as organizationPublicNotificationChannel, cn as pageDescriptorFromUrl, E as pageDescriptorToUrl, wn as pageInstanceKeyOf, Dr as platformAdminModuleRoutes, Or as platformAdminRouteLayouts, Er as platformAdminRoutePrefixes, K as platformAdminRoutes, ot as platformErrorCodes, u as platformPingCommand, ht as presentPlatformError, Fe as presentPlatformInfo, tt as presentPlatformMessage, xt as presentPlatformSuccess, nn as presentWorkbenchRealtimeStatus, Tn as provideCurrentUserContext, ye as provideModuleContextConfig, Jt as provideWorkbenchNavigation, zt as provideWorkspaceViewHost, Ce as queryKeys, c as realtimeDestinations, ae as realtimeMessageTypes, Ze as recordDataChangeChannel, Rt as refreshModulePageList, Y as removeLockedMenuTabs, mt as resolveGlobalErrorPresentation, D as resolvePageDescriptor, kr as resolvePlatformAdminRoute, me as resolveWebActionResult, ve as resolveWebActionResultMessage, Kt as resolveWorkspaceView, r as resourceDataChangeChannel, Ye as resourceRecordDataChangeChannel, ci as restoreLockedTabPreference, Gr as restoreLockedWorkbenchTabs, Hi as restoreThemeSkinPreference, q as restoreWorkbenchStartupStateFromUrl, k as routeUrlWithOpenOptions, Yt as saveAuthSessionId, Pt as saveAuthToken, li as saveLockedTabPreference, Ui as saveThemeSkinPreference, re as sessionActivityCommand, Mn as storedAuthSessionId, Xt as storedAuthToken, sn as subscribeAppBusinessEvents, un as subscribeAppDataChanges, Cn as subscribeAppModuleDataChanges, Gt as syncModulePageWorkspaceViewContributions, mn as tabIdentityKeyOf, fn as tabKeyOf, ie as tenantPublicDataChangeChannel, oe as tenantPublicNotificationChannel, $ as themeSkinPreferenceKey, an as tryPageDescriptorFromUrl, d as uiThemeSkinById, l as uiThemeSkins, Be as unwrapResponsePayload, Jr as updateLockedMenuTabs, Te as uploadedFileId, Bt as useCurrentUserContext, m as useModuleContext, b as useModuleTreeContext, Nt as useWorkbenchNavigation, Ht as useWorkspaceViewHost, f as userBusinessEventChannel, ee as userBusinessNotificationChannel, Pe as userFacingErrorMessage, ne as userImMessageChannel, ue as userNotificationChannel, C as userPreferences, p as webDataChangeKey, Le as webDataChangeTypes, y as webDataChanges, it as withHttpHeaders, O as withPageInstanceKey, lt as withWebActionResultChanges };
|