@ximatai/muyun-web-app 0.26.13 → 0.26.15
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/{BusinessActivityLogView-UC4rH4Fn.js → BusinessActivityLogView-DVzrZW1X.js} +1 -1
- package/dist/BusinessLogListDrawer-D-R3wnWr.js +825 -0
- package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-BP1eaEPw.js} +1 -1
- package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-D17iKVQv.js} +214 -196
- package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-LkWCtops.js} +13509 -8472
- package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-LzN94-Tk.js} +1 -1
- package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-BXA-bzFu.js} +173 -164
- package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-DUpu2q2w.js} +48 -81
- package/dist/index.css +1 -1
- package/dist/index.js +562 -497
- package/dist/moduleGovernanceWorkspaceView-COjWtJMr.js +639 -0
- package/dist/{platform-components-1cvOeHmo.js → platform-components-Hs3DrTqE.js} +5260 -3344
- package/dist/platform-workbench-C-kE-Yqq.js +19755 -0
- package/dist/{http-B0TC0pJB.js → sse-Q1wa3p_k.js} +34 -4
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +1 -1
- package/dist/types/app/useWorkbenchMenuRefresh.d.ts +4 -0
- package/dist/types/app/workbenchMenuRefresh.d.ts +14 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +4 -2
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +3 -3
- package/dist/types/dynamic-page-runtime/ModuleDataExchangeSurface.vue.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +712 -22
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +3 -2
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +782 -60
- package/dist/types/dynamic-page-runtime/ModulePageListExpansionSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansion.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageListRelationExpansions.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageRecordContent.vue.d.ts +5 -2
- package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +9 -7
- package/dist/types/dynamic-page-runtime/RecordFormSurface.vue.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/assistantBusinessScope.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/assistantQueryCapabilities.d.ts +34 -0
- package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageFormContributionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/composables/useNavigatorRuntime.d.ts +94 -4
- package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/formComputeCoordinator.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +20 -0
- package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/recordCreationReadiness.d.ts +17 -0
- package/dist/types/dynamic-page-runtime/recordDisplayProjection.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +59 -0
- package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +33 -0
- package/dist/types/dynamic-page-runtime/recordMutationPayload.d.ts +2 -2
- package/dist/types/dynamic-page-runtime/recordReferenceDisplay.d.ts +8 -0
- package/dist/types/dynamic-page-runtime/recordSaveRecovery.d.ts +12 -0
- package/dist/types/dynamic-page-runtime/relationDraftAssistantCapabilities.d.ts +9 -0
- package/dist/types/dynamic-page-runtime/relationDraftController.d.ts +23 -0
- package/dist/types/dynamic-page-runtime/relationFormComputeCoordinator.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +404 -12
- package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
- package/dist/types/formula/FormulaRuntime.d.ts +3 -1
- package/dist/types/platform-admin-runtime/backendHttp.d.ts +5 -1
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuEditor.vue.d.ts +17 -0
- package/dist/types/platform-admin-runtime/module-menu/ModuleMenuGovernanceSurface.vue.d.ts +6 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuClient.d.ts +6 -2
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuReceiptStore.d.ts +5 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuSession.d.ts +61 -0
- package/dist/types/platform-admin-runtime/module-menu/moduleMenuWorkspace.d.ts +180 -0
- package/dist/types/platform-admin-runtime/workspaceViewSessions.d.ts +1 -1
- package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +11 -7
- package/dist/types/platform-components/DictionaryPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/ManagementPanelHeader.vue.d.ts +6 -4
- package/dist/types/platform-components/ManagementTabs.vue.d.ts +20 -0
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +2 -0
- package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +15 -9
- package/dist/types/platform-components/RecordExplorerTools.vue.d.ts +27 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +5 -1
- package/dist/types/platform-components/RecordModeDrawer.vue.d.ts +2 -2
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordPicker.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +9 -1
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordRelationTabs.vue.d.ts +1 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +2 -0
- package/dist/types/platform-components/StaticManagementLayout.vue.d.ts +2 -0
- package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
- package/dist/types/platform-components/index.d.ts +9 -1
- package/dist/types/platform-components/optionFieldOptionCache.d.ts +1 -1
- package/dist/types/platform-components/queryNumericValue.d.ts +3 -0
- package/dist/types/platform-components/querySettlementController.d.ts +5 -0
- package/dist/types/platform-components/recordDetailFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordFormFieldModel.d.ts +22 -0
- package/dist/types/platform-components/recordQueryListColumnModel.d.ts +8 -0
- package/dist/types/platform-components/recordQueryListQueryController.d.ts +53 -0
- package/dist/types/platform-components/recordQueryListStandardQuery.d.ts +3 -0
- package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
- package/dist/types/platform-components/recycleBinState.d.ts +17 -0
- package/dist/types/platform-components/referencePickerModel.d.ts +3 -0
- package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
- package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
- package/dist/types/platform-workbench/ConstructionPlanCard.vue.d.ts +8 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +12 -2
- package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +18 -0
- package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
- package/dist/types/platform-workbench/configurationCollaboration.d.ts +23 -0
- package/dist/types/platform-workbench/constructionDelivery.d.ts +3 -0
- package/dist/types/platform-workbench/constructionFields.d.ts +5 -0
- package/dist/types/platform-workbench/constructionInitialization.d.ts +4 -0
- package/dist/types/platform-workbench/constructionPlanGuard.d.ts +21 -0
- package/dist/types/platform-workbench/constructionPlanSession.d.ts +95 -0
- package/dist/types/platform-workbench/constructionReferenceDiscovery.d.ts +3 -0
- package/dist/types/platform-workbench/index.d.ts +1 -0
- package/dist/types/platform-workbench/useAssistantConversation.d.ts +360 -0
- package/dist/types/platform-workbench/useAssistantConversationArchive.d.ts +47 -0
- package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +22 -0
- package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
- package/dist/types/views/MetadataSourceTree.vue.d.ts +7 -3
- package/dist/types/views/ModuleRuntimeActivationStatus.vue.d.ts +11 -0
- package/dist/types/views/PageCompositionDescriptorPreview.vue.d.ts +8 -8
- package/dist/types/views/PageCompositionEditor.vue.d.ts +10 -0
- package/dist/types/views/PageCompositionTree.vue.d.ts +19 -13
- package/dist/types/views/businessLogClient.d.ts +3 -0
- package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
- package/dist/types/views/businessRuleAssistantSurface.d.ts +7 -0
- package/dist/types/views/businessRuleEditor.d.ts +22 -0
- package/dist/types/views/businessRuleGovernance.d.ts +7 -1
- package/dist/types/views/businessRuleSession.d.ts +63 -0
- package/dist/types/views/businessRuleWorkspace.d.ts +144 -0
- package/dist/types/views/configurationEditorNavigation.d.ts +2 -0
- package/dist/types/views/metadataChangeSetSubmission.d.ts +10 -0
- package/dist/types/views/metadataEditorSession.d.ts +652 -0
- package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +4 -0
- package/dist/types/views/metadataGovernanceEditor.d.ts +220 -0
- package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
- package/dist/types/views/metadataModelEditSession.d.ts +26 -1
- package/dist/types/views/metadataNaming.d.ts +11 -1
- package/dist/types/views/metadataOrchestrationState.d.ts +22 -0
- package/dist/types/views/metadataWorkspace.d.ts +1316 -0
- package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
- package/dist/types/views/moduleRuntimeActivation.d.ts +11 -0
- package/dist/types/views/pageCompositionAssistantSurface.d.ts +27 -0
- package/dist/types/views/pageCompositionCandidate.d.ts +47 -0
- package/dist/types/views/pageCompositionComponents.d.ts +42 -0
- package/dist/types/views/pageCompositionDraftState.d.ts +277 -8
- package/dist/types/views/pageCompositionDragPayload.d.ts +7 -1
- package/dist/types/views/pageCompositionMode.d.ts +1 -1
- package/dist/types/views/pageCompositionPlacement.d.ts +6 -1
- package/dist/types/views/pageCompositionPublication.d.ts +37 -0
- package/dist/types/views/pageCompositionSession.d.ts +1341 -0
- package/dist/types/views/pageCompositionWorkspace.d.ts +2555 -0
- package/dist/types/views/roleAuthorizationWorkspaceSession.d.ts +1 -1
- package/dist/types/views/roleDetailWorkspaceSession.d.ts +1 -1
- package/dist/types/views/runtimeLogSse.d.ts +3 -13
- package/dist/types/views/usePageCompositionComponents.d.ts +68 -0
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiSearchInput.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/types.d.ts +4 -0
- package/dist/types/web-contracts/assistant.d.ts +87 -0
- package/dist/types/web-contracts/constructionPlan.d.ts +212 -0
- package/dist/types/web-contracts/index.d.ts +33 -0
- package/dist/types/web-contracts/operation.d.ts +33 -0
- package/dist/types/web-contracts/referenceTarget.d.ts +13 -0
- package/dist/types/web-core/assistantCapabilityCatalog.d.ts +22 -0
- package/dist/types/web-core/assistantCatalogPage.d.ts +12 -0
- package/dist/types/web-core/assistantConfirmation.d.ts +23 -0
- package/dist/types/web-core/assistantConversationClient.d.ts +42 -0
- package/dist/types/web-core/assistantRuntime.d.ts +123 -0
- package/dist/types/web-core/assistantSurface.d.ts +162 -0
- package/dist/types/web-core/assistantTurnClient.d.ts +16 -0
- package/dist/types/web-core/constructionPlanClient.d.ts +55 -0
- package/dist/types/web-core/errors.d.ts +2 -0
- package/dist/types/web-core/http.d.ts +1 -0
- package/dist/types/web-core/index.d.ts +12 -0
- package/dist/types/web-core/module/dataExchangeClient.d.ts +53 -0
- package/dist/types/web-core/module/index.d.ts +1 -0
- package/dist/types/web-core/module/staticModuleClient.d.ts +12 -2
- package/dist/types/web-core/operationConfirmation.d.ts +28 -0
- package/dist/types/web-core/operationErrors.d.ts +9 -0
- package/dist/types/web-core/operationReceipt.d.ts +10 -0
- package/dist/types/web-core/sse.d.ts +9 -0
- package/dist/types/web-core/uuid.d.ts +2 -0
- package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-CHsgLFwY.js} +783 -1189
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
- package/dist/moduleGovernanceWorkspaceView-4V_UW-Bt.js +0 -40
- package/dist/platform-workbench-Cu14Xd9d.js +0 -10299
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { n as e, r as t } from "./rolldown-runtime-DPVXH0ON.js";
|
|
2
|
-
import { $
|
|
3
|
-
import { n as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import * as
|
|
8
|
-
import { Fragment as
|
|
2
|
+
import { $ as n, A as r, At as i, B as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, F as f, G as p, H as m, I as h, J as g, K as _, L as v, M as ee, N as te, O as ne, Ot as re, Q as y, R as ie, St as ae, T as oe, Tt as se, U as ce, V as le, W as ue, X as de, Y as fe, Z as pe, _ as me, _t as he, a as ge, at as _e, b as ve, bt as ye, c as be, ct as xe, d as Se, dt as Ce, et as we, ft as Te, g as Ee, gt as De, h as Oe, ht as ke, i as Ae, it as b, j as je, jt as Me, k as Ne, kt as Pe, l as Fe, lt as Ie, m as Le, mt as Re, n as ze, nt as Be, o as Ve, ot as He, p as Ue, pt as We, q as Ge, r as Ke, rt as qe, s as Je, st as Ye, t as Xe, tt as x, u as Ze, ut as Qe, v as $e, vt as et, w as tt, wt as nt, xt as rt, y as it, yt as at, z as ot } from "./platform-workbench-C-kE-Yqq.js";
|
|
3
|
+
import { $n as st, $r as ct, An as lt, Ar as ut, At as dt, Bn as ft, Br as pt, Cr as mt, Dn as ht, Dr as gt, Dt as _t, Er as vt, F as yt, Fn as bt, Fr as xt, Ft as St, Gn as Ct, Gr as wt, Gt as Tt, Hn as Et, Hr as Dt, Ht as Ot, I as kt, In as At, Ir as jt, It as Mt, J as Nt, Jn as Pt, Jr as Ft, Kn as It, Kr as Lt, Kt as Rt, Ln as zt, Lr as Bt, Mn as Vt, Mr as Ht, Nn as Ut, Nr as Wt, Nt as Gt, On as Kt, Or as qt, Pn as Jt, Pr as Yt, Pt as Xt, Qn as Zt, Qr as Qt, Rn as $t, Rr as en, Rt as tn, Sr as nn, Tn as rn, Tr as an, Un as on, Ur as sn, Ut as cn, Vn as ln, Vr as un, Vt as dn, Wn as fn, Wr as pn, Wt as mn, Xn as hn, Xr as gn, Xt as _n, Yn as vn, Yr as yn, Z as bn, Zn as xn, Zr as Sn, _n as Cn, _r as wn, ai as Tn, ar as En, bn as S, br as Dn, cn as On, cr as kn, dn as An, dr as jn, ei as Mn, en as Nn, er as Pn, fn as Fn, fr as In, gr as Ln, hn as Rn, hr as zn, ht as Bn, ii as Vn, in as Hn, ir as Un, jn as Wn, jr as Gn, jt as Kn, kn as qn, kr as Jn, ln as Yn, lr as Xn, mr as Zn, ni as Qn, nn as $n, nr as er, or as tr, pr as nr, qn as rr, qr as ir, ri as ar, rr as or, sr, ti as cr, tn as lr, tr as ur, un as dr, ur as fr, vr as pr, wr as mr, xr as hr, yr as gr, zn as _r, zr as vr } from "./platform-components-Hs3DrTqE.js";
|
|
4
|
+
import { i as yr, n as br, r as xr, t as Sr } from "./sse-Q1wa3p_k.js";
|
|
5
|
+
import { u as Cr } from "./moduleGovernanceWorkspaceView-COjWtJMr.js";
|
|
6
|
+
import { l as wr } from "./workspaceViews-CHsgLFwY.js";
|
|
7
|
+
import * as Tr from "vue";
|
|
8
|
+
import { Fragment as Er, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createTextVNode as Dr, createVNode as O, defineAsyncComponent as k, defineComponent as A, normalizeClass as Or, normalizeStyle as kr, onBeforeUnmount as Ar, onMounted as jr, openBlock as j, provide as Mr, ref as M, renderList as Nr, renderSlot as Pr, resolveDynamicComponent as Fr, toDisplayString as N, unref as P, watch as Ir, withCtx as F, withModifiers as Lr } from "vue";
|
|
9
9
|
//#region node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
10
|
-
var
|
|
10
|
+
var Rr = class {
|
|
11
11
|
constructor() {
|
|
12
12
|
this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
|
|
13
13
|
}
|
|
@@ -21,7 +21,7 @@ var ar = class {
|
|
|
21
21
|
}
|
|
22
22
|
onSubscribe() {}
|
|
23
23
|
onUnsubscribe() {}
|
|
24
|
-
},
|
|
24
|
+
}, zr = new class extends Rr {
|
|
25
25
|
#e;
|
|
26
26
|
#t;
|
|
27
27
|
#n;
|
|
@@ -58,13 +58,13 @@ var ar = class {
|
|
|
58
58
|
isFocused() {
|
|
59
59
|
return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
|
|
60
60
|
}
|
|
61
|
-
}(),
|
|
61
|
+
}(), Br = {
|
|
62
62
|
setTimeout: (e, t) => setTimeout(e, t),
|
|
63
63
|
clearTimeout: (e) => clearTimeout(e),
|
|
64
64
|
setInterval: (e, t) => setInterval(e, t),
|
|
65
65
|
clearInterval: (e) => clearInterval(e)
|
|
66
|
-
},
|
|
67
|
-
#e =
|
|
66
|
+
}, Vr = new class {
|
|
67
|
+
#e = Br;
|
|
68
68
|
#t = !1;
|
|
69
69
|
setTimeoutProvider(e) {
|
|
70
70
|
process.env.NODE_ENV !== "production" && this.#t && e !== this.#e && console.error("[timeoutManager]: Switching provider after calls to previous provider might result in unexpected behavior.", {
|
|
@@ -85,34 +85,34 @@ var ar = class {
|
|
|
85
85
|
this.#e.clearInterval(e);
|
|
86
86
|
}
|
|
87
87
|
}();
|
|
88
|
-
function
|
|
88
|
+
function Hr(e) {
|
|
89
89
|
setTimeout(e, 0);
|
|
90
90
|
}
|
|
91
91
|
//#endregion
|
|
92
92
|
//#region node_modules/@tanstack/query-core/build/modern/utils.js
|
|
93
|
-
var
|
|
94
|
-
function
|
|
95
|
-
function
|
|
93
|
+
var Ur = typeof window > "u" || "Deno" in globalThis;
|
|
94
|
+
function I() {}
|
|
95
|
+
function Wr(e, t) {
|
|
96
96
|
return typeof e == "function" ? e(t) : e;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Gr(e) {
|
|
99
99
|
return typeof e == "number" && e >= 0 && e !== Infinity;
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Kr(e, t) {
|
|
102
102
|
return Math.max(e + (t || 0) - Date.now(), 0);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function qr(e, t) {
|
|
105
105
|
return typeof e == "function" ? e(t) : e;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function Jr(e, t) {
|
|
108
108
|
return typeof e == "function" ? e(t) : e;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Yr(e, t) {
|
|
111
111
|
let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;
|
|
112
112
|
if (o) {
|
|
113
113
|
if (r) {
|
|
114
|
-
if (t.queryHash !==
|
|
115
|
-
} else if (!
|
|
114
|
+
if (t.queryHash !== Zr(o, t.options)) return !1;
|
|
115
|
+
} else if (!R(t.queryKey, o)) return !1;
|
|
116
116
|
}
|
|
117
117
|
if (n !== "all") {
|
|
118
118
|
let e = t.isActive();
|
|
@@ -120,90 +120,90 @@ function gr(e, t) {
|
|
|
120
120
|
}
|
|
121
121
|
return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Xr(e, t) {
|
|
124
124
|
let { exact: n, status: r, predicate: i, mutationKey: a } = e;
|
|
125
125
|
if (a) {
|
|
126
126
|
if (!t.options.mutationKey) return !1;
|
|
127
127
|
if (n) {
|
|
128
|
-
if (
|
|
129
|
-
} else if (!
|
|
128
|
+
if (L(t.options.mutationKey) !== L(a)) return !1;
|
|
129
|
+
} else if (!R(t.options.mutationKey, a)) return !1;
|
|
130
130
|
}
|
|
131
131
|
return !(r && t.state.status !== r || i && !i(t));
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return (t?.queryKeyHashFn ||
|
|
133
|
+
function Zr(e, t) {
|
|
134
|
+
return (t?.queryKeyHashFn || L)(e);
|
|
135
135
|
}
|
|
136
|
-
function
|
|
137
|
-
return JSON.stringify(e, (e, t) =>
|
|
136
|
+
function L(e) {
|
|
137
|
+
return JSON.stringify(e, (e, t) => ti(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) =>
|
|
139
|
+
function R(e, t) {
|
|
140
|
+
return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => R(e[n], t[n])) : !1;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
143
|
-
function
|
|
142
|
+
var Qr = Object.prototype.hasOwnProperty;
|
|
143
|
+
function $r(e, t, n = 0) {
|
|
144
144
|
if (e === t) return e;
|
|
145
145
|
if (n > 500) return t;
|
|
146
|
-
let r =
|
|
147
|
-
if (!r && !(
|
|
146
|
+
let r = ei(e) && ei(t);
|
|
147
|
+
if (!r && !(ti(e) && ti(t))) return t;
|
|
148
148
|
let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;
|
|
149
149
|
for (let l = 0; l < o; l++) {
|
|
150
150
|
let o = r ? l : a[l], u = e[o], d = t[o];
|
|
151
151
|
if (u === d) {
|
|
152
|
-
s[o] = u, (r ? l < i :
|
|
152
|
+
s[o] = u, (r ? l < i : Qr.call(e, o)) && c++;
|
|
153
153
|
continue;
|
|
154
154
|
}
|
|
155
155
|
if (u === null || d === null || typeof u != "object" || typeof d != "object") {
|
|
156
156
|
s[o] = d;
|
|
157
157
|
continue;
|
|
158
158
|
}
|
|
159
|
-
let f =
|
|
159
|
+
let f = $r(u, d, n + 1);
|
|
160
160
|
s[o] = f, f === u && c++;
|
|
161
161
|
}
|
|
162
162
|
return i === o && c === i ? e : s;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function ei(e) {
|
|
165
165
|
return Array.isArray(e) && e.length === Object.keys(e).length;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
168
|
-
if (!
|
|
167
|
+
function ti(e) {
|
|
168
|
+
if (!ni(e)) return !1;
|
|
169
169
|
let t = e.constructor;
|
|
170
170
|
if (t === void 0) return !0;
|
|
171
171
|
let n = t.prototype;
|
|
172
|
-
return !(!
|
|
172
|
+
return !(!ni(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function ni(e) {
|
|
175
175
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
176
176
|
}
|
|
177
|
-
function
|
|
177
|
+
function ri(e) {
|
|
178
178
|
return new Promise((t) => {
|
|
179
|
-
|
|
179
|
+
Vr.setTimeout(t, e);
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function ii(e, t, n) {
|
|
183
183
|
if (typeof n.structuralSharing == "function") return n.structuralSharing(e, t);
|
|
184
184
|
if (n.structuralSharing !== !1) {
|
|
185
185
|
if (process.env.NODE_ENV !== "production") try {
|
|
186
|
-
return
|
|
186
|
+
return $r(e, t);
|
|
187
187
|
} catch (e) {
|
|
188
188
|
throw console.error(`Structural sharing requires data to be JSON serializable. To fix this, turn off structuralSharing or return JSON-serializable data from your queryFn. [${n.queryHash}]: ${e}`), e;
|
|
189
189
|
}
|
|
190
|
-
return
|
|
190
|
+
return $r(e, t);
|
|
191
191
|
}
|
|
192
192
|
return t;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function ai(e, t, n = 0) {
|
|
195
195
|
let r = [...e, t];
|
|
196
196
|
return n && r.length > n ? r.slice(1) : r;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function oi(e, t, n = 0) {
|
|
199
199
|
let r = [t, ...e];
|
|
200
200
|
return n && r.length > n ? r.slice(0, -1) : r;
|
|
201
201
|
}
|
|
202
|
-
var
|
|
203
|
-
function
|
|
204
|
-
return process.env.NODE_ENV !== "production" && e.queryFn ===
|
|
202
|
+
var z = /* @__PURE__ */ Symbol();
|
|
203
|
+
function si(e, t) {
|
|
204
|
+
return process.env.NODE_ENV !== "production" && e.queryFn === z && console.error(`Attempted to invoke queryFn when set to skipToken. This is likely a configuration error. Query hash: '${e.queryHash}'`), !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === z ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function ci(e, t, n) {
|
|
207
207
|
let r = !1, i;
|
|
208
208
|
return Object.defineProperty(e, "signal", {
|
|
209
209
|
enumerable: !0,
|
|
@@ -212,8 +212,8 @@ function Ar(e, t, n) {
|
|
|
212
212
|
}
|
|
213
213
|
//#endregion
|
|
214
214
|
//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
|
|
215
|
-
var
|
|
216
|
-
let e = () =>
|
|
215
|
+
var li = /* @__PURE__ */ (() => {
|
|
216
|
+
let e = () => Ur;
|
|
217
217
|
return {
|
|
218
218
|
isServer() {
|
|
219
219
|
return e();
|
|
@@ -225,7 +225,7 @@ var jr = /* @__PURE__ */ (() => {
|
|
|
225
225
|
})();
|
|
226
226
|
//#endregion
|
|
227
227
|
//#region node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
228
|
-
function
|
|
228
|
+
function ui() {
|
|
229
229
|
let e, t, n = new Promise((n, r) => {
|
|
230
230
|
e = n, t = r;
|
|
231
231
|
});
|
|
@@ -247,13 +247,13 @@ function Mr() {
|
|
|
247
247
|
}
|
|
248
248
|
//#endregion
|
|
249
249
|
//#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
250
|
-
var
|
|
251
|
-
function
|
|
250
|
+
var di = Hr;
|
|
251
|
+
function fi() {
|
|
252
252
|
let e = [], t = 0, n = (e) => {
|
|
253
253
|
e();
|
|
254
254
|
}, r = (e) => {
|
|
255
255
|
e();
|
|
256
|
-
}, i =
|
|
256
|
+
}, i = di, a = (r) => {
|
|
257
257
|
t ? e.push(r) : i(() => {
|
|
258
258
|
n(r);
|
|
259
259
|
});
|
|
@@ -295,7 +295,7 @@ function Pr() {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
}
|
|
298
|
-
var B =
|
|
298
|
+
var B = fi(), V = new class extends Rr {
|
|
299
299
|
#e = !0;
|
|
300
300
|
#t;
|
|
301
301
|
#n;
|
|
@@ -329,28 +329,28 @@ var B = Pr(), V = new class extends ar {
|
|
|
329
329
|
}();
|
|
330
330
|
//#endregion
|
|
331
331
|
//#region node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
332
|
-
function
|
|
332
|
+
function pi(e) {
|
|
333
333
|
return Math.min(1e3 * 2 ** e, 3e4);
|
|
334
334
|
}
|
|
335
|
-
function
|
|
335
|
+
function mi(e) {
|
|
336
336
|
return (e ?? "online") !== "online" || V.isOnline();
|
|
337
337
|
}
|
|
338
|
-
var
|
|
338
|
+
var hi = class extends Error {
|
|
339
339
|
constructor(e) {
|
|
340
340
|
super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
|
-
function
|
|
344
|
-
let t = !1, n = 0, r, i =
|
|
343
|
+
function gi(e) {
|
|
344
|
+
let t = !1, n = 0, r, i = ui(), a = () => i.status !== "pending", o = (t) => {
|
|
345
345
|
if (!a()) {
|
|
346
|
-
let n = new
|
|
346
|
+
let n = new hi(t);
|
|
347
347
|
f(n), e.onCancel?.(n);
|
|
348
348
|
}
|
|
349
349
|
}, s = () => {
|
|
350
350
|
t = !0;
|
|
351
351
|
}, c = () => {
|
|
352
352
|
t = !1;
|
|
353
|
-
}, l = () =>
|
|
353
|
+
}, l = () => zr.isFocused() && (e.networkMode === "always" || V.isOnline()) && e.canRun(), u = () => mi(e.networkMode) && e.canRun(), d = (e) => {
|
|
354
354
|
a() || (r?.(), i.resolve(e));
|
|
355
355
|
}, f = (e) => {
|
|
356
356
|
a() || (r?.(), i.reject(e));
|
|
@@ -370,12 +370,12 @@ function Rr(e) {
|
|
|
370
370
|
}
|
|
371
371
|
Promise.resolve(r).then(d).catch((r) => {
|
|
372
372
|
if (a()) return;
|
|
373
|
-
let i = e.retry ?? (
|
|
373
|
+
let i = e.retry ?? (li.isServer() ? 0 : 3), o = e.retryDelay ?? pi, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
|
|
374
374
|
if (t || !c) {
|
|
375
375
|
f(r);
|
|
376
376
|
return;
|
|
377
377
|
}
|
|
378
|
-
n++, e.onFail?.(n, r),
|
|
378
|
+
n++, e.onFail?.(n, r), ri(s).then(() => l() ? void 0 : p()).then(() => {
|
|
379
379
|
t ? f(r) : m();
|
|
380
380
|
});
|
|
381
381
|
});
|
|
@@ -393,34 +393,34 @@ function Rr(e) {
|
|
|
393
393
|
}
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region node_modules/@tanstack/query-core/build/modern/removable.js
|
|
396
|
-
var
|
|
396
|
+
var _i = class {
|
|
397
397
|
#e;
|
|
398
398
|
destroy() {
|
|
399
399
|
this.clearGcTimeout();
|
|
400
400
|
}
|
|
401
401
|
scheduleGc() {
|
|
402
|
-
this.clearGcTimeout(),
|
|
402
|
+
this.clearGcTimeout(), Gr(this.gcTime) && (this.#e = Vr.setTimeout(() => {
|
|
403
403
|
this.optionalRemove();
|
|
404
404
|
}, this.gcTime));
|
|
405
405
|
}
|
|
406
406
|
updateGcTime(e) {
|
|
407
|
-
this.gcTime = Math.max(this.gcTime || 0, e ?? (
|
|
407
|
+
this.gcTime = Math.max(this.gcTime || 0, e ?? (li.isServer() ? Infinity : 3e5));
|
|
408
408
|
}
|
|
409
409
|
clearGcTimeout() {
|
|
410
|
-
this.#e !== void 0 && (
|
|
410
|
+
this.#e !== void 0 && (Vr.clearTimeout(this.#e), this.#e = void 0);
|
|
411
411
|
}
|
|
412
412
|
};
|
|
413
413
|
//#endregion
|
|
414
414
|
//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
415
|
-
function
|
|
415
|
+
function vi(e) {
|
|
416
416
|
return { onFetch: (t, n) => {
|
|
417
417
|
let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {
|
|
418
418
|
pages: [],
|
|
419
419
|
pageParams: []
|
|
420
420
|
}, c = 0, l = async () => {
|
|
421
421
|
let n = !1, l = (e) => {
|
|
422
|
-
|
|
423
|
-
}, u =
|
|
422
|
+
ci(e, () => t.signal, () => n = !0);
|
|
423
|
+
}, u = si(t.options, t.fetchOptions), d = async (e, r, i) => {
|
|
424
424
|
if (n) return Promise.reject(t.signal.reason);
|
|
425
425
|
if (r == null && e.pages.length) return Promise.resolve(e);
|
|
426
426
|
let a = (() => {
|
|
@@ -432,14 +432,14 @@ function Br(e) {
|
|
|
432
432
|
meta: t.options.meta
|
|
433
433
|
};
|
|
434
434
|
return l(e), e;
|
|
435
|
-
})(), o = await u(a), { maxPages: s } = t.options, c = i ?
|
|
435
|
+
})(), o = await u(a), { maxPages: s } = t.options, c = i ? oi : ai;
|
|
436
436
|
return {
|
|
437
437
|
pages: c(e.pages, o, s),
|
|
438
438
|
pageParams: c(e.pageParams, r, s)
|
|
439
439
|
};
|
|
440
440
|
};
|
|
441
441
|
if (i && a.length) {
|
|
442
|
-
let e = i === "backward", t = e ?
|
|
442
|
+
let e = i === "backward", t = e ? bi : yi, n = {
|
|
443
443
|
pages: a,
|
|
444
444
|
pageParams: o
|
|
445
445
|
};
|
|
@@ -447,7 +447,7 @@ function Br(e) {
|
|
|
447
447
|
} else {
|
|
448
448
|
let t = e ?? a.length;
|
|
449
449
|
do {
|
|
450
|
-
let e = c === 0 ? o[0] ?? r.initialPageParam :
|
|
450
|
+
let e = c === 0 ? o[0] ?? r.initialPageParam : yi(r, s);
|
|
451
451
|
if (c > 0 && e == null) break;
|
|
452
452
|
s = await d(s, e), c++;
|
|
453
453
|
} while (c < t);
|
|
@@ -462,16 +462,16 @@ function Br(e) {
|
|
|
462
462
|
}, n) : l;
|
|
463
463
|
} };
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function yi(e, { pages: t, pageParams: n }) {
|
|
466
466
|
let r = t.length - 1;
|
|
467
467
|
return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;
|
|
468
468
|
}
|
|
469
|
-
function
|
|
469
|
+
function bi(e, { pages: t, pageParams: n }) {
|
|
470
470
|
return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;
|
|
471
471
|
}
|
|
472
472
|
//#endregion
|
|
473
473
|
//#region node_modules/@tanstack/query-core/build/modern/query.js
|
|
474
|
-
var
|
|
474
|
+
var xi = class extends _i {
|
|
475
475
|
#e;
|
|
476
476
|
#t;
|
|
477
477
|
#n;
|
|
@@ -481,7 +481,7 @@ var Ur = class extends zr {
|
|
|
481
481
|
#o;
|
|
482
482
|
#s;
|
|
483
483
|
constructor(e) {
|
|
484
|
-
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t =
|
|
484
|
+
super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = wi(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
|
|
485
485
|
}
|
|
486
486
|
get meta() {
|
|
487
487
|
return this.options.meta;
|
|
@@ -497,15 +497,15 @@ var Ur = class extends zr {
|
|
|
497
497
|
...this.#o,
|
|
498
498
|
...e
|
|
499
499
|
}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {
|
|
500
|
-
let e =
|
|
501
|
-
e.data !== void 0 && (this.setState(
|
|
500
|
+
let e = wi(this.options);
|
|
501
|
+
e.data !== void 0 && (this.setState(Ci(e.data, e.dataUpdatedAt)), this.#t = e);
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
optionalRemove() {
|
|
505
505
|
!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);
|
|
506
506
|
}
|
|
507
507
|
setData(e, t) {
|
|
508
|
-
let n =
|
|
508
|
+
let n = ii(this.state.data, e, this.options);
|
|
509
509
|
return this.#l({
|
|
510
510
|
data: n,
|
|
511
511
|
type: "success",
|
|
@@ -521,7 +521,7 @@ var Ur = class extends zr {
|
|
|
521
521
|
}
|
|
522
522
|
cancel(e) {
|
|
523
523
|
let t = this.#a?.promise;
|
|
524
|
-
return this.#a?.cancel(e), t ? t.then(
|
|
524
|
+
return this.#a?.cancel(e), t ? t.then(I).catch(I) : Promise.resolve();
|
|
525
525
|
}
|
|
526
526
|
destroy() {
|
|
527
527
|
super.destroy(), this.cancel({ silent: !0 });
|
|
@@ -533,22 +533,22 @@ var Ur = class extends zr {
|
|
|
533
533
|
this.destroy(), this.setState(this.resetState);
|
|
534
534
|
}
|
|
535
535
|
isActive() {
|
|
536
|
-
return this.observers.some((e) =>
|
|
536
|
+
return this.observers.some((e) => Jr(e.options.enabled, this) !== !1);
|
|
537
537
|
}
|
|
538
538
|
isDisabled() {
|
|
539
|
-
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn ===
|
|
539
|
+
return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === z || !this.isFetched();
|
|
540
540
|
}
|
|
541
541
|
isFetched() {
|
|
542
542
|
return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;
|
|
543
543
|
}
|
|
544
544
|
isStatic() {
|
|
545
|
-
return this.getObserversCount() > 0 && this.observers.some((e) =>
|
|
545
|
+
return this.getObserversCount() > 0 && this.observers.some((e) => qr(e.options.staleTime, this) === "static");
|
|
546
546
|
}
|
|
547
547
|
isStale() {
|
|
548
548
|
return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;
|
|
549
549
|
}
|
|
550
550
|
isStaleByTime(e = 0) {
|
|
551
|
-
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !
|
|
551
|
+
return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Kr(this.state.dataUpdatedAt, e);
|
|
552
552
|
}
|
|
553
553
|
onFocus() {
|
|
554
554
|
this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();
|
|
@@ -595,7 +595,7 @@ var Ur = class extends zr {
|
|
|
595
595
|
get: () => (this.#s = !0, n.signal)
|
|
596
596
|
});
|
|
597
597
|
}, i = () => {
|
|
598
|
-
let e =
|
|
598
|
+
let e = si(this.options, t), n = (() => {
|
|
599
599
|
let e = {
|
|
600
600
|
client: this.#i,
|
|
601
601
|
queryKey: this.queryKey,
|
|
@@ -615,14 +615,14 @@ var Ur = class extends zr {
|
|
|
615
615
|
};
|
|
616
616
|
return r(e), e;
|
|
617
617
|
})();
|
|
618
|
-
(this.#e === "infinite" ?
|
|
618
|
+
(this.#e === "infinite" ? vi(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#l({
|
|
619
619
|
type: "fetch",
|
|
620
620
|
meta: a.fetchOptions?.meta
|
|
621
|
-
}), this.#a =
|
|
621
|
+
}), this.#a = gi({
|
|
622
622
|
initialPromise: t?.initialPromise,
|
|
623
623
|
fn: a.fetchFn,
|
|
624
624
|
onCancel: (e) => {
|
|
625
|
-
e instanceof
|
|
625
|
+
e instanceof hi && e.revert && this.setState({
|
|
626
626
|
...this.#n,
|
|
627
627
|
fetchStatus: "idle"
|
|
628
628
|
}), n.abort();
|
|
@@ -650,7 +650,7 @@ var Ur = class extends zr {
|
|
|
650
650
|
if (e === void 0) throw process.env.NODE_ENV !== "production" && console.error(`Query data cannot be undefined. Please make sure to return a value other than undefined from your query function. Affected query key: ${this.queryHash}`), Error(`${this.queryHash} data is undefined`);
|
|
651
651
|
return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;
|
|
652
652
|
} catch (e) {
|
|
653
|
-
if (e instanceof
|
|
653
|
+
if (e instanceof hi) {
|
|
654
654
|
if (e.silent) return this.#a.promise;
|
|
655
655
|
if (e.revert) {
|
|
656
656
|
if (this.state.data === void 0) throw e;
|
|
@@ -683,13 +683,13 @@ var Ur = class extends zr {
|
|
|
683
683
|
};
|
|
684
684
|
case "fetch": return {
|
|
685
685
|
...t,
|
|
686
|
-
...
|
|
686
|
+
...Si(t.data, this.options),
|
|
687
687
|
fetchMeta: e.meta ?? null
|
|
688
688
|
};
|
|
689
689
|
case "success":
|
|
690
690
|
let n = {
|
|
691
691
|
...t,
|
|
692
|
-
...
|
|
692
|
+
...Ci(e.data, e.dataUpdatedAt),
|
|
693
693
|
dataUpdateCount: t.dataUpdateCount + 1,
|
|
694
694
|
...!e.manual && {
|
|
695
695
|
fetchStatus: "idle",
|
|
@@ -732,18 +732,18 @@ var Ur = class extends zr {
|
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
734
|
};
|
|
735
|
-
function
|
|
735
|
+
function Si(e, t) {
|
|
736
736
|
return {
|
|
737
737
|
fetchFailureCount: 0,
|
|
738
738
|
fetchFailureReason: null,
|
|
739
|
-
fetchStatus:
|
|
739
|
+
fetchStatus: mi(t.networkMode) ? "fetching" : "paused",
|
|
740
740
|
...e === void 0 && {
|
|
741
741
|
error: null,
|
|
742
742
|
status: "pending"
|
|
743
743
|
}
|
|
744
744
|
};
|
|
745
745
|
}
|
|
746
|
-
function
|
|
746
|
+
function Ci(e, t) {
|
|
747
747
|
return {
|
|
748
748
|
data: e,
|
|
749
749
|
dataUpdatedAt: t ?? Date.now(),
|
|
@@ -752,7 +752,7 @@ function Gr(e, t) {
|
|
|
752
752
|
status: "success"
|
|
753
753
|
};
|
|
754
754
|
}
|
|
755
|
-
function
|
|
755
|
+
function wi(e) {
|
|
756
756
|
let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
|
|
757
757
|
return {
|
|
758
758
|
data: t,
|
|
@@ -771,13 +771,13 @@ function Kr(e) {
|
|
|
771
771
|
}
|
|
772
772
|
//#endregion
|
|
773
773
|
//#region node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
774
|
-
var
|
|
774
|
+
var Ti = class extends _i {
|
|
775
775
|
#e;
|
|
776
776
|
#t;
|
|
777
777
|
#n;
|
|
778
778
|
#r;
|
|
779
779
|
constructor(e) {
|
|
780
|
-
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state ||
|
|
780
|
+
super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ei(), this.setOptions(e.options), this.scheduleGc();
|
|
781
781
|
}
|
|
782
782
|
setOptions(e) {
|
|
783
783
|
this.options = e, this.updateGcTime(this.options.gcTime);
|
|
@@ -813,7 +813,7 @@ var qr = class extends zr {
|
|
|
813
813
|
meta: this.options.meta,
|
|
814
814
|
mutationKey: this.options.mutationKey
|
|
815
815
|
};
|
|
816
|
-
this.#r =
|
|
816
|
+
this.#r = gi({
|
|
817
817
|
fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),
|
|
818
818
|
onFail: (e, t) => {
|
|
819
819
|
this.#i({
|
|
@@ -941,7 +941,7 @@ var qr = class extends zr {
|
|
|
941
941
|
});
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
|
-
function
|
|
944
|
+
function Ei() {
|
|
945
945
|
return {
|
|
946
946
|
context: void 0,
|
|
947
947
|
data: void 0,
|
|
@@ -956,7 +956,7 @@ function Jr() {
|
|
|
956
956
|
}
|
|
957
957
|
//#endregion
|
|
958
958
|
//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
959
|
-
var
|
|
959
|
+
var Di = class extends Rr {
|
|
960
960
|
constructor(e = {}) {
|
|
961
961
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;
|
|
962
962
|
}
|
|
@@ -964,7 +964,7 @@ var Yr = class extends ar {
|
|
|
964
964
|
#t;
|
|
965
965
|
#n;
|
|
966
966
|
build(e, t, n) {
|
|
967
|
-
let r = new
|
|
967
|
+
let r = new Ti({
|
|
968
968
|
client: e,
|
|
969
969
|
mutationCache: this,
|
|
970
970
|
mutationId: ++this.#n,
|
|
@@ -975,7 +975,7 @@ var Yr = class extends ar {
|
|
|
975
975
|
}
|
|
976
976
|
add(e) {
|
|
977
977
|
this.#e.add(e);
|
|
978
|
-
let t =
|
|
978
|
+
let t = Oi(e);
|
|
979
979
|
if (typeof t == "string") {
|
|
980
980
|
let n = this.#t.get(t);
|
|
981
981
|
n ? n.push(e) : this.#t.set(t, [e]);
|
|
@@ -987,7 +987,7 @@ var Yr = class extends ar {
|
|
|
987
987
|
}
|
|
988
988
|
remove(e) {
|
|
989
989
|
if (this.#e.delete(e)) {
|
|
990
|
-
let t =
|
|
990
|
+
let t = Oi(e);
|
|
991
991
|
if (typeof t == "string") {
|
|
992
992
|
let n = this.#t.get(t);
|
|
993
993
|
if (n) {
|
|
@@ -1004,7 +1004,7 @@ var Yr = class extends ar {
|
|
|
1004
1004
|
});
|
|
1005
1005
|
}
|
|
1006
1006
|
canRun(e) {
|
|
1007
|
-
let t =
|
|
1007
|
+
let t = Oi(e);
|
|
1008
1008
|
if (typeof t == "string") {
|
|
1009
1009
|
let n = this.#t.get(t)?.find((e) => e.state.status === "pending");
|
|
1010
1010
|
return !n || n === e;
|
|
@@ -1012,7 +1012,7 @@ var Yr = class extends ar {
|
|
|
1012
1012
|
return !0;
|
|
1013
1013
|
}
|
|
1014
1014
|
runNext(e) {
|
|
1015
|
-
let t =
|
|
1015
|
+
let t = Oi(e);
|
|
1016
1016
|
return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();
|
|
1017
1017
|
}
|
|
1018
1018
|
clear() {
|
|
@@ -1033,10 +1033,10 @@ var Yr = class extends ar {
|
|
|
1033
1033
|
exact: !0,
|
|
1034
1034
|
...e
|
|
1035
1035
|
};
|
|
1036
|
-
return this.getAll().find((e) =>
|
|
1036
|
+
return this.getAll().find((e) => Xr(t, e));
|
|
1037
1037
|
}
|
|
1038
1038
|
findAll(e = {}) {
|
|
1039
|
-
return this.getAll().filter((t) =>
|
|
1039
|
+
return this.getAll().filter((t) => Xr(e, t));
|
|
1040
1040
|
}
|
|
1041
1041
|
notify(e) {
|
|
1042
1042
|
B.batch(() => {
|
|
@@ -1047,22 +1047,22 @@ var Yr = class extends ar {
|
|
|
1047
1047
|
}
|
|
1048
1048
|
resumePausedMutations() {
|
|
1049
1049
|
let e = this.getAll().filter((e) => e.state.isPaused);
|
|
1050
|
-
return B.batch(() => Promise.all(e.map((e) => e.continue().catch(
|
|
1050
|
+
return B.batch(() => Promise.all(e.map((e) => e.continue().catch(I))));
|
|
1051
1051
|
}
|
|
1052
1052
|
};
|
|
1053
|
-
function
|
|
1053
|
+
function Oi(e) {
|
|
1054
1054
|
return e.options.scope?.id;
|
|
1055
1055
|
}
|
|
1056
1056
|
//#endregion
|
|
1057
1057
|
//#region node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1058
|
-
var
|
|
1058
|
+
var ki = class extends Rr {
|
|
1059
1059
|
constructor(e = {}) {
|
|
1060
1060
|
super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
|
|
1061
1061
|
}
|
|
1062
1062
|
#e;
|
|
1063
1063
|
build(e, t, n) {
|
|
1064
|
-
let r = t.queryKey, i = t.queryHash ??
|
|
1065
|
-
return a || (a = new
|
|
1064
|
+
let r = t.queryKey, i = t.queryHash ?? Zr(r, t), a = this.get(i);
|
|
1065
|
+
return a || (a = new xi({
|
|
1066
1066
|
client: e,
|
|
1067
1067
|
queryKey: r,
|
|
1068
1068
|
queryHash: i,
|
|
@@ -1102,11 +1102,11 @@ var Zr = class extends ar {
|
|
|
1102
1102
|
exact: !0,
|
|
1103
1103
|
...e
|
|
1104
1104
|
};
|
|
1105
|
-
return this.getAll().find((e) =>
|
|
1105
|
+
return this.getAll().find((e) => Yr(t, e));
|
|
1106
1106
|
}
|
|
1107
1107
|
findAll(e = {}) {
|
|
1108
1108
|
let t = this.getAll();
|
|
1109
|
-
return Object.keys(e).length > 0 ? t.filter((t) =>
|
|
1109
|
+
return Object.keys(e).length > 0 ? t.filter((t) => Yr(e, t)) : t;
|
|
1110
1110
|
}
|
|
1111
1111
|
notify(e) {
|
|
1112
1112
|
B.batch(() => {
|
|
@@ -1129,7 +1129,7 @@ var Zr = class extends ar {
|
|
|
1129
1129
|
});
|
|
1130
1130
|
});
|
|
1131
1131
|
}
|
|
1132
|
-
},
|
|
1132
|
+
}, Ai = class {
|
|
1133
1133
|
#e;
|
|
1134
1134
|
#t;
|
|
1135
1135
|
#n;
|
|
@@ -1139,10 +1139,10 @@ var Zr = class extends ar {
|
|
|
1139
1139
|
#o;
|
|
1140
1140
|
#s;
|
|
1141
1141
|
constructor(e = {}) {
|
|
1142
|
-
this.#e = e.queryCache || new
|
|
1142
|
+
this.#e = e.queryCache || new ki(), this.#t = e.mutationCache || new Di(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
|
|
1143
1143
|
}
|
|
1144
1144
|
mount() {
|
|
1145
|
-
this.#a++, this.#a === 1 && (this.#o =
|
|
1145
|
+
this.#a++, this.#a === 1 && (this.#o = zr.subscribe(async (e) => {
|
|
1146
1146
|
e && (await this.resumePausedMutations(), this.#e.onFocus());
|
|
1147
1147
|
}), this.#s = V.subscribe(async (e) => {
|
|
1148
1148
|
e && (await this.resumePausedMutations(), this.#e.onOnline());
|
|
@@ -1169,13 +1169,13 @@ var Zr = class extends ar {
|
|
|
1169
1169
|
}
|
|
1170
1170
|
ensureQueryData(e) {
|
|
1171
1171
|
let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;
|
|
1172
|
-
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(
|
|
1172
|
+
return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(qr(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
|
|
1173
1173
|
}
|
|
1174
1174
|
getQueriesData(e) {
|
|
1175
1175
|
return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);
|
|
1176
1176
|
}
|
|
1177
1177
|
setQueryData(e, t, n) {
|
|
1178
|
-
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a =
|
|
1178
|
+
let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = Wr(t, i);
|
|
1179
1179
|
if (a !== void 0) return this.#e.build(this, r).setData(a, {
|
|
1180
1180
|
...n,
|
|
1181
1181
|
manual: !0
|
|
@@ -1210,7 +1210,7 @@ var Zr = class extends ar {
|
|
|
1210
1210
|
revert: !0,
|
|
1211
1211
|
...t
|
|
1212
1212
|
}, r = B.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
|
|
1213
|
-
return Promise.all(r).then(
|
|
1213
|
+
return Promise.all(r).then(I).catch(I);
|
|
1214
1214
|
}
|
|
1215
1215
|
invalidateQueries(e, t = {}) {
|
|
1216
1216
|
return B.batch(() => (this.#e.findAll(e).forEach((e) => {
|
|
@@ -1226,24 +1226,24 @@ var Zr = class extends ar {
|
|
|
1226
1226
|
cancelRefetch: t.cancelRefetch ?? !0
|
|
1227
1227
|
}, r = B.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
|
|
1228
1228
|
let t = e.fetch(void 0, n);
|
|
1229
|
-
return n.throwOnError || (t = t.catch(
|
|
1229
|
+
return n.throwOnError || (t = t.catch(I)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
|
|
1230
1230
|
}));
|
|
1231
|
-
return Promise.all(r).then(
|
|
1231
|
+
return Promise.all(r).then(I);
|
|
1232
1232
|
}
|
|
1233
1233
|
fetchQuery(e) {
|
|
1234
1234
|
let t = this.defaultQueryOptions(e);
|
|
1235
1235
|
t.retry === void 0 && (t.retry = !1);
|
|
1236
1236
|
let n = this.#e.build(this, t);
|
|
1237
|
-
return n.isStaleByTime(
|
|
1237
|
+
return n.isStaleByTime(qr(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
|
|
1238
1238
|
}
|
|
1239
1239
|
prefetchQuery(e) {
|
|
1240
|
-
return this.fetchQuery(e).then(
|
|
1240
|
+
return this.fetchQuery(e).then(I).catch(I);
|
|
1241
1241
|
}
|
|
1242
1242
|
fetchInfiniteQuery(e) {
|
|
1243
1243
|
return e._type = "infinite", this.fetchQuery(e);
|
|
1244
1244
|
}
|
|
1245
1245
|
prefetchInfiniteQuery(e) {
|
|
1246
|
-
return this.fetchInfiniteQuery(e).then(
|
|
1246
|
+
return this.fetchInfiniteQuery(e).then(I).catch(I);
|
|
1247
1247
|
}
|
|
1248
1248
|
ensureInfiniteQueryData(e) {
|
|
1249
1249
|
return e._type = "infinite", this.ensureQueryData(e);
|
|
@@ -1264,7 +1264,7 @@ var Zr = class extends ar {
|
|
|
1264
1264
|
this.#n = e;
|
|
1265
1265
|
}
|
|
1266
1266
|
setQueryDefaults(e, t) {
|
|
1267
|
-
this.#r.set(
|
|
1267
|
+
this.#r.set(L(e), {
|
|
1268
1268
|
queryKey: e,
|
|
1269
1269
|
defaultOptions: t
|
|
1270
1270
|
});
|
|
@@ -1272,11 +1272,11 @@ var Zr = class extends ar {
|
|
|
1272
1272
|
getQueryDefaults(e) {
|
|
1273
1273
|
let t = [...this.#r.values()], n = {};
|
|
1274
1274
|
return t.forEach((t) => {
|
|
1275
|
-
|
|
1275
|
+
R(e, t.queryKey) && Object.assign(n, t.defaultOptions);
|
|
1276
1276
|
}), n;
|
|
1277
1277
|
}
|
|
1278
1278
|
setMutationDefaults(e, t) {
|
|
1279
|
-
this.#i.set(
|
|
1279
|
+
this.#i.set(L(e), {
|
|
1280
1280
|
mutationKey: e,
|
|
1281
1281
|
defaultOptions: t
|
|
1282
1282
|
});
|
|
@@ -1284,7 +1284,7 @@ var Zr = class extends ar {
|
|
|
1284
1284
|
getMutationDefaults(e) {
|
|
1285
1285
|
let t = [...this.#i.values()], n = {};
|
|
1286
1286
|
return t.forEach((t) => {
|
|
1287
|
-
|
|
1287
|
+
R(e, t.mutationKey) && Object.assign(n, t.defaultOptions);
|
|
1288
1288
|
}), n;
|
|
1289
1289
|
}
|
|
1290
1290
|
defaultQueryOptions(e) {
|
|
@@ -1295,7 +1295,7 @@ var Zr = class extends ar {
|
|
|
1295
1295
|
...e,
|
|
1296
1296
|
_defaulted: !0
|
|
1297
1297
|
};
|
|
1298
|
-
return t.queryHash ||=
|
|
1298
|
+
return t.queryHash ||= Zr(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === z && (t.enabled = !1), t;
|
|
1299
1299
|
}
|
|
1300
1300
|
defaultMutationOptions(e) {
|
|
1301
1301
|
return e?._defaulted ? e : {
|
|
@@ -1309,21 +1309,21 @@ var Zr = class extends ar {
|
|
|
1309
1309
|
this.#e.clear(), this.#t.clear();
|
|
1310
1310
|
}
|
|
1311
1311
|
}, H = /* @__PURE__ */ e({
|
|
1312
|
-
Vue: () =>
|
|
1312
|
+
Vue: () => Tr,
|
|
1313
1313
|
Vue2: () => void 0,
|
|
1314
|
-
del: () =>
|
|
1315
|
-
install: () =>
|
|
1314
|
+
del: () => Pi,
|
|
1315
|
+
install: () => Mi,
|
|
1316
1316
|
isVue2: () => !1,
|
|
1317
1317
|
isVue3: () => !0,
|
|
1318
|
-
set: () =>
|
|
1318
|
+
set: () => Ni
|
|
1319
1319
|
});
|
|
1320
|
-
import * as
|
|
1321
|
-
t(H,
|
|
1322
|
-
function
|
|
1323
|
-
function
|
|
1320
|
+
import * as ji from "vue";
|
|
1321
|
+
t(H, ji);
|
|
1322
|
+
function Mi() {}
|
|
1323
|
+
function Ni(e, t, n) {
|
|
1324
1324
|
return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function Pi(e, t) {
|
|
1327
1327
|
if (Array.isArray(e)) {
|
|
1328
1328
|
e.splice(t, 1);
|
|
1329
1329
|
return;
|
|
@@ -1332,62 +1332,62 @@ function ni(e, t) {
|
|
|
1332
1332
|
}
|
|
1333
1333
|
//#endregion
|
|
1334
1334
|
//#region node_modules/@tanstack/vue-query/build/modern/utils.js
|
|
1335
|
-
var
|
|
1336
|
-
function
|
|
1337
|
-
return `${
|
|
1335
|
+
var Fi = "VUE_QUERY_CLIENT";
|
|
1336
|
+
function Ii(e) {
|
|
1337
|
+
return `${Fi}${e ? `:${e}` : ""}`;
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function Li(e, t, n = "", r = 0) {
|
|
1340
1340
|
if (t) {
|
|
1341
1341
|
let i = t(e, n, r);
|
|
1342
1342
|
if (i === void 0 && (0, H.isRef)(e) || i !== void 0) return i;
|
|
1343
1343
|
}
|
|
1344
|
-
if (Array.isArray(e)) return e.map((e, n) =>
|
|
1345
|
-
if (typeof e == "object" &&
|
|
1346
|
-
let n = Object.entries(e).map(([e, n]) => [e,
|
|
1344
|
+
if (Array.isArray(e)) return e.map((e, n) => Li(e, t, String(n), r + 1));
|
|
1345
|
+
if (typeof e == "object" && zi(e)) {
|
|
1346
|
+
let n = Object.entries(e).map(([e, n]) => [e, Li(n, t, e, r + 1)]);
|
|
1347
1347
|
return Object.fromEntries(n);
|
|
1348
1348
|
}
|
|
1349
1349
|
return e;
|
|
1350
1350
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return
|
|
1351
|
+
function Ri(e, t) {
|
|
1352
|
+
return Li(e, t);
|
|
1353
1353
|
}
|
|
1354
1354
|
function U(e, t = !1) {
|
|
1355
|
-
return
|
|
1355
|
+
return Ri(e, (e, n, r) => {
|
|
1356
1356
|
if (r === 1 && n === "queryKey") return U(e, !0);
|
|
1357
|
-
if (t &&
|
|
1357
|
+
if (t && Bi(e)) return U(e(), t);
|
|
1358
1358
|
if ((0, H.isRef)(e)) return U((0, H.unref)(e), t);
|
|
1359
1359
|
});
|
|
1360
1360
|
}
|
|
1361
|
-
function
|
|
1361
|
+
function zi(e) {
|
|
1362
1362
|
if (Object.prototype.toString.call(e) !== "[object Object]") return !1;
|
|
1363
1363
|
let t = Object.getPrototypeOf(e);
|
|
1364
1364
|
return t === null || t === Object.prototype;
|
|
1365
1365
|
}
|
|
1366
|
-
function
|
|
1366
|
+
function Bi(e) {
|
|
1367
1367
|
return typeof e == "function";
|
|
1368
1368
|
}
|
|
1369
1369
|
//#endregion
|
|
1370
1370
|
//#region node_modules/@tanstack/vue-query/build/modern/queryCache.js
|
|
1371
|
-
var
|
|
1371
|
+
var Vi = class extends ki {
|
|
1372
1372
|
find(e) {
|
|
1373
1373
|
return super.find(U(e));
|
|
1374
1374
|
}
|
|
1375
1375
|
findAll(e = {}) {
|
|
1376
1376
|
return super.findAll(U(e));
|
|
1377
1377
|
}
|
|
1378
|
-
},
|
|
1378
|
+
}, Hi = class extends Di {
|
|
1379
1379
|
find(e) {
|
|
1380
1380
|
return super.find(U(e));
|
|
1381
1381
|
}
|
|
1382
1382
|
findAll(e = {}) {
|
|
1383
1383
|
return super.findAll(U(e));
|
|
1384
1384
|
}
|
|
1385
|
-
},
|
|
1385
|
+
}, Ui = class extends Ai {
|
|
1386
1386
|
constructor(e = {}) {
|
|
1387
1387
|
let t = {
|
|
1388
1388
|
defaultOptions: e.defaultOptions,
|
|
1389
|
-
queryCache: e.queryCache || new
|
|
1390
|
-
mutationCache: e.mutationCache || new
|
|
1389
|
+
queryCache: e.queryCache || new Vi(),
|
|
1390
|
+
mutationCache: e.mutationCache || new Hi()
|
|
1391
1391
|
};
|
|
1392
1392
|
super(t), this.isRestoring = (0, H.ref)(!1);
|
|
1393
1393
|
}
|
|
@@ -1469,22 +1469,22 @@ var li = class extends Zr {
|
|
|
1469
1469
|
};
|
|
1470
1470
|
//#endregion
|
|
1471
1471
|
//#region node_modules/@vue/devtools-api/lib/esm/env.js
|
|
1472
|
-
function
|
|
1473
|
-
return
|
|
1472
|
+
function Wi() {
|
|
1473
|
+
return Gi().__VUE_DEVTOOLS_GLOBAL_HOOK__;
|
|
1474
1474
|
}
|
|
1475
|
-
function
|
|
1475
|
+
function Gi() {
|
|
1476
1476
|
return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
|
|
1477
1477
|
}
|
|
1478
|
-
var
|
|
1479
|
-
function
|
|
1480
|
-
return W === void 0 && (typeof window < "u" && window.performance ? (W = !0,
|
|
1478
|
+
var Ki = typeof Proxy == "function", qi = "devtools-plugin:setup", Ji = "plugin:settings:set", W, Yi;
|
|
1479
|
+
function Xi() {
|
|
1480
|
+
return W === void 0 && (typeof window < "u" && window.performance ? (W = !0, Yi = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (W = !0, Yi = globalThis.perf_hooks.performance) : W = !1), W;
|
|
1481
1481
|
}
|
|
1482
|
-
function
|
|
1483
|
-
return
|
|
1482
|
+
function Zi() {
|
|
1483
|
+
return Xi() ? Yi.now() : Date.now();
|
|
1484
1484
|
}
|
|
1485
1485
|
//#endregion
|
|
1486
1486
|
//#region node_modules/@vue/devtools-api/lib/esm/proxy.js
|
|
1487
|
-
var
|
|
1487
|
+
var Qi = class {
|
|
1488
1488
|
constructor(e, t) {
|
|
1489
1489
|
this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = e, this.hook = t;
|
|
1490
1490
|
let n = {};
|
|
@@ -1505,9 +1505,9 @@ var bi = class {
|
|
|
1505
1505
|
i = e;
|
|
1506
1506
|
},
|
|
1507
1507
|
now() {
|
|
1508
|
-
return
|
|
1508
|
+
return Zi();
|
|
1509
1509
|
}
|
|
1510
|
-
}, t && t.on(
|
|
1510
|
+
}, t && t.on(Ji, (e, t) => {
|
|
1511
1511
|
e === this.plugin.id && this.fallbacks.setSettings(t);
|
|
1512
1512
|
}), this.proxiedOn = new Proxy({}, { get: (e, t) => this.target ? this.target.on[t] : (...e) => {
|
|
1513
1513
|
this.onQueue.push({
|
|
@@ -1534,11 +1534,11 @@ var bi = class {
|
|
|
1534
1534
|
};
|
|
1535
1535
|
//#endregion
|
|
1536
1536
|
//#region node_modules/@vue/devtools-api/lib/esm/index.js
|
|
1537
|
-
function
|
|
1538
|
-
let n = e, r =
|
|
1539
|
-
if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(
|
|
1537
|
+
function $i(e, t) {
|
|
1538
|
+
let n = e, r = Gi(), i = Wi(), a = Ki && n.enableEarlyProxy;
|
|
1539
|
+
if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(qi, e, t);
|
|
1540
1540
|
else {
|
|
1541
|
-
let e = a ? new
|
|
1541
|
+
let e = a ? new Qi(n, i) : null;
|
|
1542
1542
|
(r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
|
|
1543
1543
|
pluginDescriptor: n,
|
|
1544
1544
|
setupFn: t,
|
|
@@ -1548,7 +1548,7 @@ function xi(e, t) {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
//#endregion
|
|
1550
1550
|
//#region node_modules/@tanstack/match-sorter-utils/build/lib/index.mjs
|
|
1551
|
-
var
|
|
1551
|
+
var ea = {
|
|
1552
1552
|
À: "A",
|
|
1553
1553
|
Á: "A",
|
|
1554
1554
|
Â: "A",
|
|
@@ -1948,9 +1948,9 @@ var Si = {
|
|
|
1948
1948
|
x̧: "x",
|
|
1949
1949
|
Z̧: "Z",
|
|
1950
1950
|
z̧: "z"
|
|
1951
|
-
},
|
|
1952
|
-
function
|
|
1953
|
-
return e.replace(
|
|
1951
|
+
}, ta = Object.keys(ea).join("|"), na = new RegExp(ta, "g");
|
|
1952
|
+
function ra(e) {
|
|
1953
|
+
return e.replace(na, (e) => ea[e]);
|
|
1954
1954
|
}
|
|
1955
1955
|
var G = {
|
|
1956
1956
|
CASE_SENSITIVE_EQUAL: 7,
|
|
@@ -1962,9 +1962,9 @@ var G = {
|
|
|
1962
1962
|
MATCHES: 1,
|
|
1963
1963
|
NO_MATCH: 0
|
|
1964
1964
|
};
|
|
1965
|
-
function
|
|
1965
|
+
function ia(e, t, n) {
|
|
1966
1966
|
if (n ||= {}, n.threshold = n.threshold ?? G.MATCHES, !n.accessors) {
|
|
1967
|
-
let r =
|
|
1967
|
+
let r = aa(e, t, n);
|
|
1968
1968
|
return {
|
|
1969
1969
|
rankedValue: e,
|
|
1970
1970
|
rank: r,
|
|
@@ -1973,7 +1973,7 @@ function Ei(e, t, n) {
|
|
|
1973
1973
|
passed: r >= n.threshold
|
|
1974
1974
|
};
|
|
1975
1975
|
}
|
|
1976
|
-
let r =
|
|
1976
|
+
let r = ua(e, n.accessors), i = {
|
|
1977
1977
|
rankedValue: e,
|
|
1978
1978
|
rank: G.NO_MATCH,
|
|
1979
1979
|
accessorIndex: -1,
|
|
@@ -1981,15 +1981,15 @@ function Ei(e, t, n) {
|
|
|
1981
1981
|
passed: !1
|
|
1982
1982
|
};
|
|
1983
1983
|
for (let e = 0; e < r.length; e++) {
|
|
1984
|
-
let a = r[e], o =
|
|
1984
|
+
let a = r[e], o = aa(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
|
|
1985
1985
|
o < s && o >= G.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);
|
|
1986
1986
|
}
|
|
1987
1987
|
return i;
|
|
1988
1988
|
}
|
|
1989
|
-
function
|
|
1990
|
-
return e =
|
|
1989
|
+
function aa(e, t, n) {
|
|
1990
|
+
return e = ca(e, n), t = ca(t, n), t.length > e.length ? G.NO_MATCH : e === t ? G.CASE_SENSITIVE_EQUAL : (e = e.toLowerCase(), t = t.toLowerCase(), e === t ? G.EQUAL : e.startsWith(t) ? G.STARTS_WITH : e.includes(` ${t}`) ? G.WORD_STARTS_WITH : e.includes(t) ? G.CONTAINS : t.length === 1 ? G.NO_MATCH : oa(e).includes(t) ? G.ACRONYM : sa(e, t));
|
|
1991
1991
|
}
|
|
1992
|
-
function
|
|
1992
|
+
function oa(e) {
|
|
1993
1993
|
let t = "";
|
|
1994
1994
|
return e.split(" ").forEach((e) => {
|
|
1995
1995
|
e.split("-").forEach((e) => {
|
|
@@ -1997,7 +1997,7 @@ function Oi(e) {
|
|
|
1997
1997
|
});
|
|
1998
1998
|
}), t;
|
|
1999
1999
|
}
|
|
2000
|
-
function
|
|
2000
|
+
function sa(e, t) {
|
|
2001
2001
|
let n = 0, r = 0;
|
|
2002
2002
|
function i(e, t, r) {
|
|
2003
2003
|
for (let i = r, a = t.length; i < a; i++) if (t[i] === e) return n += 1, i + 1;
|
|
@@ -2016,20 +2016,20 @@ function ki(e, t) {
|
|
|
2016
2016
|
}
|
|
2017
2017
|
return a(r - o);
|
|
2018
2018
|
}
|
|
2019
|
-
function
|
|
2019
|
+
function ca(e, t) {
|
|
2020
2020
|
let { keepDiacritics: n } = t;
|
|
2021
|
-
return e = `${e}`, n || (e =
|
|
2021
|
+
return e = `${e}`, n || (e = ra(e)), e;
|
|
2022
2022
|
}
|
|
2023
|
-
function
|
|
2023
|
+
function la(e, t) {
|
|
2024
2024
|
let n = t;
|
|
2025
2025
|
typeof t == "object" && (n = t.accessor);
|
|
2026
2026
|
let r = n(e);
|
|
2027
2027
|
return r == null ? [] : Array.isArray(r) ? r : [String(r)];
|
|
2028
2028
|
}
|
|
2029
|
-
function
|
|
2029
|
+
function ua(e, t) {
|
|
2030
2030
|
let n = [];
|
|
2031
2031
|
for (let r = 0, i = t.length; r < i; r++) {
|
|
2032
|
-
let i = t[r], a =
|
|
2032
|
+
let i = t[r], a = fa(i), o = la(e, i);
|
|
2033
2033
|
for (let e = 0, t = o.length; e < t; e++) n.push({
|
|
2034
2034
|
itemValue: o[e],
|
|
2035
2035
|
attributes: a
|
|
@@ -2037,13 +2037,13 @@ function Mi(e, t) {
|
|
|
2037
2037
|
}
|
|
2038
2038
|
return n;
|
|
2039
2039
|
}
|
|
2040
|
-
var
|
|
2040
|
+
var da = {
|
|
2041
2041
|
maxRanking: Infinity,
|
|
2042
2042
|
minRanking: -Infinity
|
|
2043
2043
|
};
|
|
2044
|
-
function
|
|
2045
|
-
return typeof e == "function" ?
|
|
2046
|
-
...
|
|
2044
|
+
function fa(e) {
|
|
2045
|
+
return typeof e == "function" ? da : {
|
|
2046
|
+
...da,
|
|
2047
2047
|
...e
|
|
2048
2048
|
};
|
|
2049
2049
|
}
|
|
@@ -2052,26 +2052,26 @@ function Pi(e) {
|
|
|
2052
2052
|
function K(e) {
|
|
2053
2053
|
return e.state.fetchStatus === "fetching" ? 0 : e.state.fetchStatus === "paused" ? 4 : e.getObserversCount() ? e.isStale() ? 2 : 1 : 3;
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function pa(e) {
|
|
2056
2056
|
let t = K(e);
|
|
2057
2057
|
return t === 0 ? "fetching" : t === 4 ? "paused" : t === 2 ? "stale" : t === 3 ? "inactive" : "fresh";
|
|
2058
2058
|
}
|
|
2059
|
-
function
|
|
2059
|
+
function ma(e) {
|
|
2060
2060
|
return K(e) === 2 ? 0 : 16777215;
|
|
2061
2061
|
}
|
|
2062
|
-
function
|
|
2062
|
+
function ha(e) {
|
|
2063
2063
|
let t = K(e);
|
|
2064
2064
|
return t === 0 ? 27647 : t === 4 ? 9193963 : t === 2 ? 16757248 : t === 3 ? 4148832 : 33575;
|
|
2065
2065
|
}
|
|
2066
|
-
var
|
|
2067
|
-
"Status > Last Updated": (e, t) => K(e) === K(t) ?
|
|
2068
|
-
"Query Hash":
|
|
2069
|
-
"Last Updated":
|
|
2070
|
-
}, q = "vue-query",
|
|
2071
|
-
function
|
|
2072
|
-
|
|
2066
|
+
var ga = (e, t) => e.queryHash.localeCompare(t.queryHash), _a = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, va = {
|
|
2067
|
+
"Status > Last Updated": (e, t) => K(e) === K(t) ? _a(e, t) : K(e) > K(t) ? 1 : -1,
|
|
2068
|
+
"Query Hash": ga,
|
|
2069
|
+
"Last Updated": _a
|
|
2070
|
+
}, q = "vue-query", ya = "Vue Query";
|
|
2071
|
+
function ba(e, t) {
|
|
2072
|
+
$i({
|
|
2073
2073
|
id: q,
|
|
2074
|
-
label:
|
|
2074
|
+
label: ya,
|
|
2075
2075
|
packageName: "vue-query",
|
|
2076
2076
|
homepage: "https://tanstack.com/query/latest",
|
|
2077
2077
|
logo: "https://raw.githubusercontent.com/TanStack/query/main/packages/vue-query/media/vue-query.svg",
|
|
@@ -2093,11 +2093,11 @@ function Hi(e, t) {
|
|
|
2093
2093
|
sortFn: {
|
|
2094
2094
|
type: "choice",
|
|
2095
2095
|
label: "Sort Function",
|
|
2096
|
-
options: Object.keys(
|
|
2096
|
+
options: Object.keys(va).map((e) => ({
|
|
2097
2097
|
label: e,
|
|
2098
2098
|
value: e
|
|
2099
2099
|
})),
|
|
2100
|
-
defaultValue: Object.keys(
|
|
2100
|
+
defaultValue: Object.keys(va)[0]
|
|
2101
2101
|
},
|
|
2102
2102
|
onlineMode: {
|
|
2103
2103
|
type: "choice",
|
|
@@ -2119,7 +2119,7 @@ function Hi(e, t) {
|
|
|
2119
2119
|
let r = t.getQueryCache();
|
|
2120
2120
|
e.addInspector({
|
|
2121
2121
|
id: q,
|
|
2122
|
-
label:
|
|
2122
|
+
label: ya,
|
|
2123
2123
|
icon: "api",
|
|
2124
2124
|
nodeActions: [
|
|
2125
2125
|
{
|
|
@@ -2179,7 +2179,7 @@ function Hi(e, t) {
|
|
|
2179
2179
|
]
|
|
2180
2180
|
}), e.addTimelineLayer({
|
|
2181
2181
|
id: q,
|
|
2182
|
-
label:
|
|
2182
|
+
label: ya,
|
|
2183
2183
|
color: 16767308
|
|
2184
2184
|
}), r.subscribe((t) => {
|
|
2185
2185
|
e.sendInspectorTree(q), e.sendInspectorState(q), [
|
|
@@ -2203,15 +2203,15 @@ function Hi(e, t) {
|
|
|
2203
2203
|
}), e.on.getInspectorTree((t) => {
|
|
2204
2204
|
if (t.inspectorId === q) {
|
|
2205
2205
|
let n = r.getAll(), i = e.getSettings();
|
|
2206
|
-
t.rootNodes = (t.filter ? n.filter((e) =>
|
|
2207
|
-
let t =
|
|
2206
|
+
t.rootNodes = (t.filter ? n.filter((e) => ia(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => va[i.sortFn](e, t) * i.baseSort).map((e) => {
|
|
2207
|
+
let t = pa(e);
|
|
2208
2208
|
return {
|
|
2209
2209
|
id: e.queryHash,
|
|
2210
2210
|
label: e.queryHash,
|
|
2211
2211
|
tags: [{
|
|
2212
2212
|
label: `${t} [${e.getObserversCount()}]`,
|
|
2213
|
-
textColor:
|
|
2214
|
-
backgroundColor:
|
|
2213
|
+
textColor: ma(e),
|
|
2214
|
+
backgroundColor: ha(e)
|
|
2215
2215
|
}]
|
|
2216
2216
|
};
|
|
2217
2217
|
});
|
|
@@ -2228,7 +2228,7 @@ function Hi(e, t) {
|
|
|
2228
2228
|
},
|
|
2229
2229
|
{
|
|
2230
2230
|
key: "Query status",
|
|
2231
|
-
value:
|
|
2231
|
+
value: pa(t)
|
|
2232
2232
|
},
|
|
2233
2233
|
{
|
|
2234
2234
|
key: "Observers",
|
|
@@ -2254,9 +2254,9 @@ function Hi(e, t) {
|
|
|
2254
2254
|
}
|
|
2255
2255
|
//#endregion
|
|
2256
2256
|
//#region node_modules/@tanstack/vue-query/build/modern/vueQueryPlugin.js
|
|
2257
|
-
var
|
|
2258
|
-
let n =
|
|
2259
|
-
r = "queryClient" in t && t.queryClient ? t.queryClient : new
|
|
2257
|
+
var xa = { install: (e, t = {}) => {
|
|
2258
|
+
let n = Ii(t.queryClientKey), r;
|
|
2259
|
+
r = "queryClient" in t && t.queryClient ? t.queryClient : new Ui("queryClientConfig" in t ? t.queryClientConfig : void 0), li.isServer() || r.mount();
|
|
2260
2260
|
let i = () => {};
|
|
2261
2261
|
if (t.clientPersister) {
|
|
2262
2262
|
r.isRestoring && (r.isRestoring.value = !0);
|
|
@@ -2275,17 +2275,17 @@ var Ui = { install: (e, t = {}) => {
|
|
|
2275
2275
|
a(), t();
|
|
2276
2276
|
};
|
|
2277
2277
|
}
|
|
2278
|
-
e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin &&
|
|
2278
|
+
e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && ba(e, r);
|
|
2279
2279
|
} };
|
|
2280
2280
|
//#endregion
|
|
2281
2281
|
//#region src/web-core/query.ts
|
|
2282
|
-
function
|
|
2283
|
-
return new
|
|
2282
|
+
function Sa() {
|
|
2283
|
+
return new Ui({ defaultOptions: { queries: {
|
|
2284
2284
|
staleTime: 3e4,
|
|
2285
2285
|
refetchOnWindowFocus: !1
|
|
2286
2286
|
} } });
|
|
2287
2287
|
}
|
|
2288
|
-
var
|
|
2288
|
+
var Ca = {
|
|
2289
2289
|
session: { current: ["session", "current"] },
|
|
2290
2290
|
menu: { mine: ["menu", "mine"] },
|
|
2291
2291
|
staticModule: {
|
|
@@ -2311,7 +2311,7 @@ var Gi = {
|
|
|
2311
2311
|
};
|
|
2312
2312
|
//#endregion
|
|
2313
2313
|
//#region src/web-core/businessNotifications.ts
|
|
2314
|
-
function
|
|
2314
|
+
function wa(e, t) {
|
|
2315
2315
|
return e.request({
|
|
2316
2316
|
method: "POST",
|
|
2317
2317
|
path: `/${encodeURIComponent(t.moduleAlias)}/${encodeURIComponent(t.actionCode)}/${encodeURIComponent(t.recordId)}`,
|
|
@@ -2319,68 +2319,131 @@ function Ki(e, t) {
|
|
|
2319
2319
|
});
|
|
2320
2320
|
}
|
|
2321
2321
|
//#endregion
|
|
2322
|
+
//#region src/web-core/constructionPlanClient.ts
|
|
2323
|
+
function Ta(e) {
|
|
2324
|
+
let t = "/platform.application-construction-plans", n = (e) => `${t}/${encodeURIComponent(e)}`;
|
|
2325
|
+
return {
|
|
2326
|
+
designContract: () => e.request({ path: `${t}/design-contract` }),
|
|
2327
|
+
businessObjects: () => e.request({ path: `${t}/business-objects` }),
|
|
2328
|
+
referenceTarget: (n) => e.request({
|
|
2329
|
+
path: `${t}/reference-target`,
|
|
2330
|
+
query: { moduleAlias: n }
|
|
2331
|
+
}),
|
|
2332
|
+
task: (t) => e.request({ path: `${n(t)}/task` }),
|
|
2333
|
+
previewAcceptance: (t, r) => e.request({ path: `${n(t)}/objects/${encodeURIComponent(r)}/acceptance-preview` }),
|
|
2334
|
+
confirmAcceptance: (t, r) => e.request({
|
|
2335
|
+
path: `${n(t)}/acceptances`,
|
|
2336
|
+
method: "POST",
|
|
2337
|
+
body: r
|
|
2338
|
+
}),
|
|
2339
|
+
acceptance: (t, r) => e.request({ path: `${n(t)}/acceptances/${encodeURIComponent(r)}` }),
|
|
2340
|
+
delivery: (t, r) => e.request({ path: `${n(t)}/delivery/${encodeURIComponent(r)}` }),
|
|
2341
|
+
progress: (t, r) => e.request({ path: `${n(t)}/objects/${encodeURIComponent(r)}/progress` }),
|
|
2342
|
+
describeFields: (t, r) => e.request({ path: `${n(t)}/objects/${encodeURIComponent(r)}/fields` }),
|
|
2343
|
+
fieldChange: (t, r) => e.request({ path: `${n(t)}/field-changes/${encodeURIComponent(r)}` }),
|
|
2344
|
+
initialization: (t, r) => e.request({ path: `${n(t)}/initializations/${encodeURIComponent(r)}` }),
|
|
2345
|
+
list: () => e.request({ path: t }),
|
|
2346
|
+
read: (t) => e.request({ path: n(t) }),
|
|
2347
|
+
history: (t) => e.request({ path: `${n(t)}/revisions` }),
|
|
2348
|
+
confirm: (t, r) => e.request({
|
|
2349
|
+
path: `${n(t)}/confirmations`,
|
|
2350
|
+
method: "POST",
|
|
2351
|
+
body: r
|
|
2352
|
+
}),
|
|
2353
|
+
confirmation: (t, r) => e.request({ path: `${n(t)}/confirmations/${encodeURIComponent(r)}` })
|
|
2354
|
+
};
|
|
2355
|
+
}
|
|
2356
|
+
//#endregion
|
|
2357
|
+
//#region src/web-core/assistantConversationClient.ts
|
|
2358
|
+
function Ea(e) {
|
|
2359
|
+
let t = "/platform.assistant-conversations";
|
|
2360
|
+
return {
|
|
2361
|
+
lookupOperation: (t) => Te(e, t),
|
|
2362
|
+
list: (n, r) => e.request({
|
|
2363
|
+
path: t,
|
|
2364
|
+
query: {
|
|
2365
|
+
scopeKey: n,
|
|
2366
|
+
page: r
|
|
2367
|
+
}
|
|
2368
|
+
}),
|
|
2369
|
+
read: (n, r) => e.request({
|
|
2370
|
+
path: `${t}/${encodeURIComponent(n)}`,
|
|
2371
|
+
query: { scopeKey: r }
|
|
2372
|
+
}),
|
|
2373
|
+
save: (n, r, i, a) => e.request({
|
|
2374
|
+
path: `${t}/${encodeURIComponent(n)}`,
|
|
2375
|
+
method: "PUT",
|
|
2376
|
+
query: { scopeKey: r },
|
|
2377
|
+
body: {
|
|
2378
|
+
expectedRevision: i,
|
|
2379
|
+
content: a
|
|
2380
|
+
}
|
|
2381
|
+
})
|
|
2382
|
+
};
|
|
2383
|
+
}
|
|
2384
|
+
//#endregion
|
|
2322
2385
|
//#region src/platform-admin-runtime/platformAdminRoutes.ts
|
|
2323
|
-
var
|
|
2386
|
+
var Da = k(() => import("./workspaceViews-CHsgLFwY.js").then((e) => e.n)), Oa = k(() => import("./BusinessActivityLogView-DVzrZW1X.js")), ka = k(() => import("./RequestErrorLogView-LzN94-Tk.js")), Aa = k(() => import("./LoginAuditLogView-BP1eaEPw.js")), J = [
|
|
2324
2387
|
{
|
|
2325
2388
|
route: "/platform/logs/runtime",
|
|
2326
2389
|
moduleAlias: "platform.runtime_log",
|
|
2327
|
-
component:
|
|
2390
|
+
component: k(() => import("./RuntimeLogView-DUpu2q2w.js")),
|
|
2328
2391
|
layout: "workspace"
|
|
2329
2392
|
},
|
|
2330
2393
|
{
|
|
2331
2394
|
route: "/platform/logs/activity",
|
|
2332
2395
|
moduleAlias: "platform.business_activity_log",
|
|
2333
|
-
component:
|
|
2396
|
+
component: Oa,
|
|
2334
2397
|
layout: "workspace"
|
|
2335
2398
|
},
|
|
2336
2399
|
{
|
|
2337
2400
|
route: "/platform/logs/errors",
|
|
2338
2401
|
moduleAlias: "platform.request_error_log",
|
|
2339
|
-
component:
|
|
2402
|
+
component: ka,
|
|
2340
2403
|
layout: "workspace"
|
|
2341
2404
|
},
|
|
2342
2405
|
{
|
|
2343
2406
|
route: "/iam/logs/login",
|
|
2344
2407
|
moduleAlias: "iam.login_audit_log",
|
|
2345
|
-
component:
|
|
2408
|
+
component: Aa,
|
|
2346
2409
|
layout: "workspace"
|
|
2347
2410
|
},
|
|
2348
2411
|
{
|
|
2349
2412
|
route: "/iam/role/authorization",
|
|
2350
2413
|
moduleAlias: "iam.role",
|
|
2351
|
-
component:
|
|
2414
|
+
component: Da,
|
|
2352
2415
|
layout: "workspace",
|
|
2353
2416
|
menuEntry: !1
|
|
2354
2417
|
}
|
|
2355
|
-
],
|
|
2356
|
-
function
|
|
2357
|
-
if (e) return J.find((t) =>
|
|
2418
|
+
], ja = Array.from(/* @__PURE__ */ new Set(["/_platform/workspace", ...J.map((e) => e.route)])), Ma = Object.fromEntries(J.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), Na = Object.fromEntries(J.map((e) => [e.route, e.layout]));
|
|
2419
|
+
function Pa(e) {
|
|
2420
|
+
if (e) return J.find((t) => Ia(t, e.target));
|
|
2358
2421
|
}
|
|
2359
|
-
function
|
|
2360
|
-
return e?.pageType === "business-route" && !!
|
|
2422
|
+
function Fa(e) {
|
|
2423
|
+
return e?.pageType === "business-route" && !!Pa(e);
|
|
2361
2424
|
}
|
|
2362
|
-
function
|
|
2363
|
-
return t.route ?
|
|
2425
|
+
function Ia(e, t) {
|
|
2426
|
+
return t.route ? La(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
|
|
2364
2427
|
}
|
|
2365
|
-
function
|
|
2428
|
+
function La(e, t) {
|
|
2366
2429
|
let n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean);
|
|
2367
2430
|
return n.length === r.length && n.every((e, t) => e.startsWith(":") || e === r[t]);
|
|
2368
2431
|
}
|
|
2369
2432
|
//#endregion
|
|
2370
2433
|
//#region src/app/pageRouteContext.ts
|
|
2371
|
-
var
|
|
2372
|
-
function
|
|
2373
|
-
|
|
2434
|
+
var Ra = Symbol("page-route");
|
|
2435
|
+
function za(e) {
|
|
2436
|
+
Mr(Ra, C(e));
|
|
2374
2437
|
}
|
|
2375
2438
|
//#endregion
|
|
2376
2439
|
//#region src/platform-admin-runtime/PlatformAdminOutlet.vue
|
|
2377
|
-
var
|
|
2440
|
+
var Ba = /* @__PURE__ */ A({
|
|
2378
2441
|
name: "PlatformAdminRouteOutlet",
|
|
2379
2442
|
__name: "PlatformAdminOutlet",
|
|
2380
2443
|
props: { descriptor: {} },
|
|
2381
2444
|
setup(e) {
|
|
2382
|
-
let t = e, n =
|
|
2383
|
-
|
|
2445
|
+
let t = e, n = C(() => Pa(t.descriptor)), r = C(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = C(() => t.descriptor.target.query?.workspacePresentation);
|
|
2446
|
+
_t(C(() => t.descriptor.layout ?? n.value?.layout)), za(() => {
|
|
2384
2447
|
let e = n.value?.route ?? t.descriptor.target.route ?? "", r = t.descriptor.target.route ?? e;
|
|
2385
2448
|
return {
|
|
2386
2449
|
path: r,
|
|
@@ -2396,22 +2459,22 @@ var oa = /* @__PURE__ */ j({
|
|
|
2396
2459
|
e.startsWith(":") && i[t] && (n[e.slice(1)] = i[t]);
|
|
2397
2460
|
}), n;
|
|
2398
2461
|
}
|
|
2399
|
-
return (t, a) => n.value && r.value ? (
|
|
2462
|
+
return (t, a) => n.value && r.value ? (j(), w(P(Kt), {
|
|
2400
2463
|
key: 0,
|
|
2401
2464
|
"module-alias": r.value
|
|
2402
2465
|
}, {
|
|
2403
|
-
default:
|
|
2466
|
+
default: F(() => [i.value === "drawer" || i.value === "tab" ? (j(), w(P(ge), {
|
|
2404
2467
|
key: 0,
|
|
2405
2468
|
descriptor: e.descriptor
|
|
2406
|
-
}, null, 8, ["descriptor"])) : (
|
|
2469
|
+
}, null, 8, ["descriptor"])) : (j(), w(Fr(n.value.component), { key: 1 }))]),
|
|
2407
2470
|
_: 1
|
|
2408
|
-
}, 8, ["module-alias"])) :
|
|
2471
|
+
}, 8, ["module-alias"])) : T("v-if", !0);
|
|
2409
2472
|
}
|
|
2410
|
-
}),
|
|
2411
|
-
function
|
|
2412
|
-
return
|
|
2473
|
+
}), Va = /^\/openapi\/([a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)+)\/?$/;
|
|
2474
|
+
function Ha(e) {
|
|
2475
|
+
return Va.exec(e)?.[1];
|
|
2413
2476
|
}
|
|
2414
|
-
function
|
|
2477
|
+
function Ua(e, t) {
|
|
2415
2478
|
return {
|
|
2416
2479
|
pageType: "platform-route",
|
|
2417
2480
|
openMode: "workbench-route",
|
|
@@ -2428,7 +2491,7 @@ function la(e, t) {
|
|
|
2428
2491
|
}
|
|
2429
2492
|
};
|
|
2430
2493
|
}
|
|
2431
|
-
function
|
|
2494
|
+
function Wa() {
|
|
2432
2495
|
return {
|
|
2433
2496
|
pageType: "platform-route",
|
|
2434
2497
|
openMode: "workbench-route",
|
|
@@ -2442,20 +2505,20 @@ function ua() {
|
|
|
2442
2505
|
}
|
|
2443
2506
|
};
|
|
2444
2507
|
}
|
|
2445
|
-
function
|
|
2508
|
+
function Ga(e) {
|
|
2446
2509
|
if (e?.pageType !== "platform-route" || !("route" in e.target)) return !1;
|
|
2447
|
-
let t =
|
|
2510
|
+
let t = Ha(e.target.route ?? "");
|
|
2448
2511
|
return t !== void 0 && e.target.moduleAlias === t;
|
|
2449
2512
|
}
|
|
2450
|
-
function
|
|
2513
|
+
function Ka(e) {
|
|
2451
2514
|
return e === "/openapi" || e === "/openapi/";
|
|
2452
2515
|
}
|
|
2453
2516
|
//#endregion
|
|
2454
2517
|
//#region src/app/workbenchStartup.ts
|
|
2455
|
-
function
|
|
2456
|
-
let i =
|
|
2518
|
+
function qa(e, t, n, r = {}) {
|
|
2519
|
+
let i = p(t, n, r), a = e.find((e) => e.key === i.key);
|
|
2457
2520
|
if (a) {
|
|
2458
|
-
let o = a.pageDescriptor ?
|
|
2521
|
+
let o = a.pageDescriptor ? ho(t, n, a.pageDescriptor, r, a.instanceKey) : i;
|
|
2459
2522
|
return {
|
|
2460
2523
|
tabs: e.map((e) => e.key === i.key ? o : e),
|
|
2461
2524
|
activeTabKey: i.key
|
|
@@ -2466,8 +2529,8 @@ function pa(e, t, n, r = {}) {
|
|
|
2466
2529
|
activeTabKey: i.key
|
|
2467
2530
|
};
|
|
2468
2531
|
}
|
|
2469
|
-
function
|
|
2470
|
-
let r = X(
|
|
2532
|
+
function Ja(e, t, n = {}) {
|
|
2533
|
+
let r = X(b(t), n), i = e.find((e) => e.key === r.key || r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && x(e.pageDescriptor) === x(r.pageDescriptor));
|
|
2471
2534
|
return i ? {
|
|
2472
2535
|
tabs: e,
|
|
2473
2536
|
activeTabKey: i.key,
|
|
@@ -2478,48 +2541,48 @@ function ma(e, t, n = {}) {
|
|
|
2478
2541
|
created: !0
|
|
2479
2542
|
};
|
|
2480
2543
|
}
|
|
2481
|
-
function
|
|
2482
|
-
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl :
|
|
2544
|
+
function Ya(e, t, n = {}) {
|
|
2545
|
+
return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : y(we(t, {
|
|
2483
2546
|
...n,
|
|
2484
2547
|
title: e.title
|
|
2485
2548
|
}), n);
|
|
2486
2549
|
}
|
|
2487
|
-
function
|
|
2550
|
+
function Xa(e) {
|
|
2488
2551
|
let t = (e.tabs ?? []).find((t) => t.key === e.activeTabKey);
|
|
2489
2552
|
if (t?.fullPath) return t.fullPath;
|
|
2490
|
-
let n = t?.pageDescriptor ?? (t?.target ?
|
|
2491
|
-
return n?.pageType === "platform-route" &&
|
|
2553
|
+
let n = t?.pageDescriptor ?? (t?.target ? we(t.target, { title: t.title }) : void 0);
|
|
2554
|
+
return n?.pageType === "platform-route" && Ga(n) && n.target.route ? n.target.route : n ? y(n) : void 0;
|
|
2492
2555
|
}
|
|
2493
|
-
function
|
|
2556
|
+
function Za(e, t, n = {}, r = !1) {
|
|
2494
2557
|
if (t === "/" || t === "") return e;
|
|
2495
|
-
let i = t.split(/[?#]/, 1)[0] ?? "", a =
|
|
2558
|
+
let i = t.split(/[?#]/, 1)[0] ?? "", a = Ha(i), o = a ? Ua(a) : Ka(i) ? Wa() : qe(t, n);
|
|
2496
2559
|
if (!o) return e;
|
|
2497
|
-
let s = o.menuId ?
|
|
2560
|
+
let s = o.menuId ? So(e.menus, o.menuId) : void 0, c = s ? g(s) : void 0, l = s && c && to(c, o) ? {
|
|
2498
2561
|
...o,
|
|
2499
2562
|
title: s.title
|
|
2500
|
-
} : o, u =
|
|
2563
|
+
} : o, u = eo(l), d = u ?? l, f = e.tabs ?? [], p = u ? $a(f, u) : void 0, m = u ? Qa(u, p) : r ? b(d) : d, h = s && bo(s, m, n) ? s : yo(e.menus, m, n), _ = h === s ? c : h ? g(h) : void 0, v = u ? X(m, n) : h && _ && fe(_) ? ho(h, _, m, n, f.find((e) => e.key === `menu:${h.id}`)?.instanceKey) : X(m, n), ee = mo(f, v);
|
|
2501
2564
|
return {
|
|
2502
2565
|
...e,
|
|
2503
2566
|
tabs: ee,
|
|
2504
|
-
activeTabKey:
|
|
2567
|
+
activeTabKey: v.key
|
|
2505
2568
|
};
|
|
2506
2569
|
}
|
|
2507
|
-
function
|
|
2508
|
-
return t?.instanceKey ?
|
|
2570
|
+
function Qa(e, t) {
|
|
2571
|
+
return t?.instanceKey ? b(e, t.instanceKey) : t ? e : b(e);
|
|
2509
2572
|
}
|
|
2510
|
-
function
|
|
2511
|
-
let n =
|
|
2512
|
-
return e.find((e) => e.pageDescriptor?.pageType === "business-route" &&
|
|
2573
|
+
function $a(e, t) {
|
|
2574
|
+
let n = x(t);
|
|
2575
|
+
return e.find((e) => e.pageDescriptor?.pageType === "business-route" && x(e.pageDescriptor) === n);
|
|
2513
2576
|
}
|
|
2514
|
-
function
|
|
2577
|
+
function eo(e) {
|
|
2515
2578
|
if (e.pageType !== "business-route") return;
|
|
2516
|
-
let t =
|
|
2517
|
-
return t ?
|
|
2579
|
+
let t = Ie(e);
|
|
2580
|
+
return t ? He(t.view, t.input, t.presentation, e.title) : void 0;
|
|
2518
2581
|
}
|
|
2519
|
-
function
|
|
2582
|
+
function to(e, t) {
|
|
2520
2583
|
return t.pageType === "dynamic-module" && e.menuType === "module" && e.moduleAlias === t.target.moduleAlias;
|
|
2521
2584
|
}
|
|
2522
|
-
function
|
|
2585
|
+
function no(e, t, n) {
|
|
2523
2586
|
let r = e.findIndex((e) => e.key === n);
|
|
2524
2587
|
if (r < 0) return {
|
|
2525
2588
|
tabs: e,
|
|
@@ -2534,7 +2597,7 @@ function Sa(e, t, n) {
|
|
|
2534
2597
|
activeTabKey: t
|
|
2535
2598
|
};
|
|
2536
2599
|
}
|
|
2537
|
-
function
|
|
2600
|
+
function ro(e, t, n) {
|
|
2538
2601
|
let r = new Set(n), i = e.findIndex((e) => e.key === t), a = e.filter((e) => !r.has(e.key) || e.closable === !1);
|
|
2539
2602
|
return !t || !r.has(t) ? {
|
|
2540
2603
|
tabs: a,
|
|
@@ -2544,16 +2607,16 @@ function Ca(e, t, n) {
|
|
|
2544
2607
|
activeTabKey: (a.find((t) => e.indexOf(t) > i) ?? a.at(-1))?.key
|
|
2545
2608
|
};
|
|
2546
2609
|
}
|
|
2547
|
-
function
|
|
2610
|
+
function io(e, t, n = !0) {
|
|
2548
2611
|
let r = new Map(e.map((e) => [e.key, e])), i = /* @__PURE__ */ new Set();
|
|
2549
2612
|
return [...t.flatMap((e) => {
|
|
2550
2613
|
if (i.has(e.key)) return [];
|
|
2551
2614
|
i.add(e.key);
|
|
2552
2615
|
let t = r.get(e.key);
|
|
2553
|
-
return t ? [
|
|
2616
|
+
return t ? [ao(t, e)] : n ? [e] : [];
|
|
2554
2617
|
}), ...e.filter((e) => !i.has(e.key))];
|
|
2555
2618
|
}
|
|
2556
|
-
function
|
|
2619
|
+
function ao(e, t) {
|
|
2557
2620
|
let n = e.pageDescriptor, r = t.pageDescriptor;
|
|
2558
2621
|
if (!n || !r || !t.target) return e;
|
|
2559
2622
|
let i = {
|
|
@@ -2568,48 +2631,48 @@ function Ta(e, t) {
|
|
|
2568
2631
|
target: t.target
|
|
2569
2632
|
};
|
|
2570
2633
|
}
|
|
2571
|
-
function
|
|
2634
|
+
function oo(e, t, n = {}) {
|
|
2572
2635
|
let r = /* @__PURE__ */ new Map();
|
|
2573
|
-
|
|
2636
|
+
uo(t, r);
|
|
2574
2637
|
let i = /* @__PURE__ */ new Set();
|
|
2575
2638
|
return e.flatMap((e) => {
|
|
2576
|
-
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ??
|
|
2639
|
+
let t = e.pageDescriptor?.menuId ?? e.target?.menuId ?? so(e.key);
|
|
2577
2640
|
if (t) {
|
|
2578
2641
|
if (i.has(t)) return [];
|
|
2579
2642
|
let e = r.get(t);
|
|
2580
|
-
return e ? (i.add(t), [
|
|
2643
|
+
return e ? (i.add(t), [p(e.menu, e.target, n)]) : [];
|
|
2581
2644
|
}
|
|
2582
|
-
let a =
|
|
2645
|
+
let a = co(e);
|
|
2583
2646
|
return !a || i.has(a.key) ? [] : (i.add(a.key), [a]);
|
|
2584
2647
|
});
|
|
2585
2648
|
}
|
|
2586
|
-
function
|
|
2649
|
+
function so(e) {
|
|
2587
2650
|
return e.startsWith("menu:") && e.slice(5) || void 0;
|
|
2588
2651
|
}
|
|
2589
|
-
function
|
|
2652
|
+
function co(e) {
|
|
2590
2653
|
let t = e.pageDescriptor;
|
|
2591
2654
|
if (t?.pageType !== "business-route") return;
|
|
2592
|
-
let n =
|
|
2593
|
-
if (n && n.presentation === "tab") return X(
|
|
2655
|
+
let n = Ie(t);
|
|
2656
|
+
if (n && n.presentation === "tab") return X(He(n.view, n.input, "tab"));
|
|
2594
2657
|
}
|
|
2595
|
-
function
|
|
2658
|
+
function lo(e, t) {
|
|
2596
2659
|
let n = e.findIndex((e) => e.key === t.key);
|
|
2597
2660
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
2598
2661
|
}
|
|
2599
|
-
function
|
|
2662
|
+
function uo(e, t) {
|
|
2600
2663
|
for (let n of e) {
|
|
2601
|
-
let e =
|
|
2602
|
-
e &&
|
|
2664
|
+
let e = g(n.record);
|
|
2665
|
+
e && fe(e) && t.set(n.record.id, {
|
|
2603
2666
|
menu: n.record,
|
|
2604
2667
|
target: e
|
|
2605
|
-
}),
|
|
2668
|
+
}), uo(n.children, t);
|
|
2606
2669
|
}
|
|
2607
2670
|
}
|
|
2608
2671
|
function Y(e, t) {
|
|
2609
2672
|
let n = new Set(t);
|
|
2610
2673
|
return e.filter((e) => !n.has(e.key));
|
|
2611
2674
|
}
|
|
2612
|
-
function
|
|
2675
|
+
function fo(e, t, n = []) {
|
|
2613
2676
|
if (e.length !== t.length || new Set(t).size !== e.length) return e;
|
|
2614
2677
|
let r = new Map(e.map((e) => [e.key, e]));
|
|
2615
2678
|
if (t.some((e) => !r.has(e))) return e;
|
|
@@ -2617,102 +2680,102 @@ function ja(e, t, n = []) {
|
|
|
2617
2680
|
return [...i.filter((e) => a.has(e.key)), ...i.filter((e) => !a.has(e.key))];
|
|
2618
2681
|
}
|
|
2619
2682
|
function X(e, t = {}) {
|
|
2620
|
-
let n =
|
|
2683
|
+
let n = y(e, t);
|
|
2621
2684
|
return {
|
|
2622
|
-
...
|
|
2623
|
-
key:
|
|
2624
|
-
title: e.title ??
|
|
2685
|
+
...po(e) ? { instanceKey: po(e) } : {},
|
|
2686
|
+
key: Be(e),
|
|
2687
|
+
title: e.title ?? vo(e),
|
|
2625
2688
|
fullPath: n,
|
|
2626
2689
|
pageDescriptor: e,
|
|
2627
2690
|
restoreState: { url: n },
|
|
2628
2691
|
closable: !0
|
|
2629
2692
|
};
|
|
2630
2693
|
}
|
|
2631
|
-
function
|
|
2694
|
+
function po(e) {
|
|
2632
2695
|
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;
|
|
2633
2696
|
return typeof n == "string" && n ? n : void 0;
|
|
2634
2697
|
}
|
|
2635
|
-
function
|
|
2698
|
+
function mo(e, t) {
|
|
2636
2699
|
let n = e.findIndex((e) => e.key === t.key);
|
|
2637
2700
|
return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
|
|
2638
2701
|
}
|
|
2639
|
-
function
|
|
2640
|
-
let i =
|
|
2641
|
-
...
|
|
2642
|
-
title:
|
|
2702
|
+
function ho(e, t, n, r, i) {
|
|
2703
|
+
let a = b(n, i), o = p(e, t, r), s = o.pageDescriptor ?? a, c = go(a) && go(s) || _o(a) && _o(s) ? {
|
|
2704
|
+
...a,
|
|
2705
|
+
title: a.title ?? e.title,
|
|
2643
2706
|
menuId: e.id,
|
|
2644
2707
|
target: {
|
|
2645
|
-
...
|
|
2646
|
-
moduleAlias:
|
|
2708
|
+
...a.target,
|
|
2709
|
+
moduleAlias: a.target.moduleAlias ?? s.target.moduleAlias
|
|
2647
2710
|
},
|
|
2648
|
-
tabPolicy:
|
|
2711
|
+
tabPolicy: s.tabPolicy
|
|
2649
2712
|
} : {
|
|
2650
|
-
...
|
|
2651
|
-
title:
|
|
2713
|
+
...a,
|
|
2714
|
+
title: a.title ?? e.title,
|
|
2652
2715
|
menuId: e.id,
|
|
2653
|
-
tabPolicy:
|
|
2716
|
+
tabPolicy: s.tabPolicy
|
|
2654
2717
|
};
|
|
2655
2718
|
return {
|
|
2656
|
-
...
|
|
2657
|
-
...X(
|
|
2719
|
+
...o,
|
|
2720
|
+
...X(c, r),
|
|
2658
2721
|
target: t
|
|
2659
2722
|
};
|
|
2660
2723
|
}
|
|
2661
|
-
function
|
|
2724
|
+
function go(e) {
|
|
2662
2725
|
return e.pageType === "platform-route" || e.pageType === "business-route";
|
|
2663
2726
|
}
|
|
2664
|
-
function
|
|
2727
|
+
function _o(e) {
|
|
2665
2728
|
return e.pageType === "remote-url" || e.pageType === "external-link";
|
|
2666
2729
|
}
|
|
2667
|
-
function
|
|
2730
|
+
function vo(e) {
|
|
2668
2731
|
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;
|
|
2669
2732
|
}
|
|
2670
|
-
function
|
|
2733
|
+
function yo(e, t, n) {
|
|
2671
2734
|
for (let r of e) {
|
|
2672
|
-
if (
|
|
2673
|
-
let e =
|
|
2735
|
+
if (bo(r.record, t, n)) return r.record;
|
|
2736
|
+
let e = yo(r.children, t, n);
|
|
2674
2737
|
if (e) return e;
|
|
2675
2738
|
}
|
|
2676
2739
|
}
|
|
2677
|
-
function
|
|
2678
|
-
let r =
|
|
2740
|
+
function bo(e, t, n) {
|
|
2741
|
+
let r = g(e), i = r ? we(r, {
|
|
2679
2742
|
...n,
|
|
2680
2743
|
title: e.title
|
|
2681
2744
|
}) : void 0;
|
|
2682
|
-
return i ?
|
|
2745
|
+
return i ? xo(i, t) : !1;
|
|
2683
2746
|
}
|
|
2684
|
-
function
|
|
2747
|
+
function xo(e, t) {
|
|
2685
2748
|
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;
|
|
2686
2749
|
}
|
|
2687
|
-
function
|
|
2750
|
+
function So(e, t) {
|
|
2688
2751
|
for (let n of e) {
|
|
2689
2752
|
if (n.record.id === t) return n.record;
|
|
2690
|
-
let e =
|
|
2753
|
+
let e = So(n.children, t);
|
|
2691
2754
|
if (e) return e;
|
|
2692
2755
|
}
|
|
2693
2756
|
}
|
|
2694
2757
|
//#endregion
|
|
2695
2758
|
//#region src/app/workbenchSessionTabs.ts
|
|
2696
|
-
function
|
|
2759
|
+
function Co(e) {
|
|
2697
2760
|
if (!Array.isArray(e)) return [];
|
|
2698
2761
|
let t = /* @__PURE__ */ new Set();
|
|
2699
|
-
return e.flatMap((e) => !
|
|
2762
|
+
return e.flatMap((e) => !wo(e) || t.has(e.key) ? [] : (t.add(e.key), [e]));
|
|
2700
2763
|
}
|
|
2701
|
-
function
|
|
2764
|
+
function wo(e) {
|
|
2702
2765
|
let t = e;
|
|
2703
|
-
return Z(e) && typeof t.key == "string" && typeof t.title == "string" && (
|
|
2766
|
+
return Z(e) && typeof t.key == "string" && typeof t.title == "string" && (To(t.pageDescriptor) || Do(t.target));
|
|
2704
2767
|
}
|
|
2705
|
-
function
|
|
2768
|
+
function To(e) {
|
|
2706
2769
|
return !Z(e) || !Z(e.target) || !Z(e.tabPolicy) || ![
|
|
2707
2770
|
"by-menu",
|
|
2708
2771
|
"by-target",
|
|
2709
2772
|
"by-params"
|
|
2710
|
-
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" &&
|
|
2773
|
+
].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" && Eo(e.target) : e.pageType === "business-route" ? e.openMode === "workbench-route" && e.hostType === "business-route-host" && Eo(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";
|
|
2711
2774
|
}
|
|
2712
|
-
function
|
|
2775
|
+
function Eo(e) {
|
|
2713
2776
|
return typeof e.route == "string" || typeof e.routeName == "string" || typeof e.pageKey == "string";
|
|
2714
2777
|
}
|
|
2715
|
-
function
|
|
2778
|
+
function Do(e) {
|
|
2716
2779
|
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";
|
|
2717
2780
|
}
|
|
2718
2781
|
function Z(e) {
|
|
@@ -2720,27 +2783,27 @@ function Z(e) {
|
|
|
2720
2783
|
}
|
|
2721
2784
|
//#endregion
|
|
2722
2785
|
//#region src/app/lockedTabPreference.ts
|
|
2723
|
-
var
|
|
2724
|
-
async function
|
|
2725
|
-
return
|
|
2786
|
+
var Oo = "workbench.locked-tabs";
|
|
2787
|
+
async function ko(e) {
|
|
2788
|
+
return jo(await e.restore(Oo, [], { persistence: "backend" }));
|
|
2726
2789
|
}
|
|
2727
|
-
async function
|
|
2728
|
-
await e.set(
|
|
2790
|
+
async function Ao(e, t) {
|
|
2791
|
+
await e.set(Oo, t, { persistence: "backend" });
|
|
2729
2792
|
}
|
|
2730
|
-
function
|
|
2731
|
-
return
|
|
2793
|
+
function jo(e) {
|
|
2794
|
+
return Co(e);
|
|
2732
2795
|
}
|
|
2733
2796
|
//#endregion
|
|
2734
2797
|
//#region src/consumer/PlatformAdminOutlet.vue
|
|
2735
|
-
var
|
|
2798
|
+
var Mo = /* @__PURE__ */ A({
|
|
2736
2799
|
name: "PlatformAdminOutlet",
|
|
2737
2800
|
__name: "PlatformAdminOutlet",
|
|
2738
2801
|
props: { descriptor: {} },
|
|
2739
2802
|
setup(e) {
|
|
2740
|
-
return (t, n) =>
|
|
2803
|
+
return (t, n) => P(Fa)(e.descriptor) ? (j(), w(Ba, {
|
|
2741
2804
|
key: 0,
|
|
2742
2805
|
descriptor: e.descriptor
|
|
2743
|
-
}, null, 8, ["descriptor"])) : (
|
|
2806
|
+
}, null, 8, ["descriptor"])) : (j(), w(Ke, {
|
|
2744
2807
|
key: 1,
|
|
2745
2808
|
descriptor: e.descriptor
|
|
2746
2809
|
}, null, 8, ["descriptor"]));
|
|
@@ -2748,8 +2811,8 @@ var Za = /* @__PURE__ */ j({
|
|
|
2748
2811
|
});
|
|
2749
2812
|
//#endregion
|
|
2750
2813
|
//#region src/app/workbenchRouteSync.ts
|
|
2751
|
-
function
|
|
2752
|
-
let r =
|
|
2814
|
+
function No(e, t, n) {
|
|
2815
|
+
let r = Xa(e) ?? "/";
|
|
2753
2816
|
return r === t ? void 0 : {
|
|
2754
2817
|
url: r,
|
|
2755
2818
|
mode: n
|
|
@@ -2757,7 +2820,7 @@ function Qa(e, t, n) {
|
|
|
2757
2820
|
}
|
|
2758
2821
|
//#endregion
|
|
2759
2822
|
//#region src/consumer/AppWorkbenchShell.vue
|
|
2760
|
-
var
|
|
2823
|
+
var Po = /* @__PURE__ */ A({
|
|
2761
2824
|
name: "AppWorkbenchShell",
|
|
2762
2825
|
__name: "AppWorkbenchShell",
|
|
2763
2826
|
props: {
|
|
@@ -2780,11 +2843,12 @@ var $a = /* @__PURE__ */ j({
|
|
|
2780
2843
|
"update:startup",
|
|
2781
2844
|
"navigate",
|
|
2782
2845
|
"refreshPage",
|
|
2846
|
+
"retryLoad",
|
|
2783
2847
|
"userCommand"
|
|
2784
2848
|
],
|
|
2785
2849
|
setup(e, { emit: t }) {
|
|
2786
|
-
let n = e, r = t, i =
|
|
2787
|
-
|
|
2850
|
+
let n = e, r = t, i = C(() => n.startup.activeTabKey), a = M([]), o = 0, s = Promise.resolve(), c = !1;
|
|
2851
|
+
be({
|
|
2788
2852
|
refreshMenus: n.loadMenus ? async () => {
|
|
2789
2853
|
let e = n.startup.session, t = await n.loadMenus();
|
|
2790
2854
|
if (!c || e !== n.startup.session) throw Error("登录状态已变化,请重试");
|
|
@@ -2794,30 +2858,30 @@ var $a = /* @__PURE__ */ j({
|
|
|
2794
2858
|
}), t;
|
|
2795
2859
|
} : void 0,
|
|
2796
2860
|
openMenu: (e) => {
|
|
2797
|
-
let t =
|
|
2861
|
+
let t = g(e);
|
|
2798
2862
|
t && u(e, t);
|
|
2799
2863
|
},
|
|
2800
|
-
openRoute:
|
|
2801
|
-
replaceRoute:
|
|
2802
|
-
closeCurrentTab:
|
|
2803
|
-
openPage:
|
|
2804
|
-
replacePage:
|
|
2805
|
-
closePage:
|
|
2806
|
-
setTabName:
|
|
2807
|
-
}),
|
|
2808
|
-
c = !0,
|
|
2809
|
-
}),
|
|
2864
|
+
openRoute: ne,
|
|
2865
|
+
replaceRoute: re,
|
|
2866
|
+
closeCurrentTab: ie,
|
|
2867
|
+
openPage: te,
|
|
2868
|
+
replacePage: se,
|
|
2869
|
+
closePage: p,
|
|
2870
|
+
setTabName: oe
|
|
2871
|
+
}), jr(() => {
|
|
2872
|
+
c = !0, Ae(), ue(), le(n.location);
|
|
2873
|
+
}), Ar(() => {
|
|
2810
2874
|
c = !1;
|
|
2811
|
-
}),
|
|
2875
|
+
}), Ir(() => n.location, (e) => le(e));
|
|
2812
2876
|
function l(e, t = void 0) {
|
|
2813
|
-
r("update:startup", e), t &&
|
|
2877
|
+
r("update:startup", e), t && ce(e, t);
|
|
2814
2878
|
}
|
|
2815
2879
|
function u(e, t) {
|
|
2816
2880
|
if (t.openMode === "window") {
|
|
2817
|
-
window.open(
|
|
2881
|
+
window.open(Ya(e, t), "_blank", "noopener,noreferrer");
|
|
2818
2882
|
return;
|
|
2819
2883
|
}
|
|
2820
|
-
let r =
|
|
2884
|
+
let r = qa(n.startup.tabs ?? [], e, t, n.resolveOptions);
|
|
2821
2885
|
l({
|
|
2822
2886
|
...n.startup,
|
|
2823
2887
|
tabs: r.tabs,
|
|
@@ -2830,70 +2894,70 @@ var $a = /* @__PURE__ */ j({
|
|
|
2830
2894
|
activeTabKey: e
|
|
2831
2895
|
}, "push");
|
|
2832
2896
|
}
|
|
2833
|
-
function
|
|
2834
|
-
let t =
|
|
2835
|
-
a.value.some((t) => t.key === e) &&
|
|
2897
|
+
function p(e) {
|
|
2898
|
+
let t = no(n.startup.tabs ?? [], n.startup.activeTabKey, e);
|
|
2899
|
+
a.value.some((t) => t.key === e) && v(Y(a.value, [e])), l({
|
|
2836
2900
|
...n.startup,
|
|
2837
2901
|
tabs: t.tabs,
|
|
2838
2902
|
activeTabKey: t.activeTabKey
|
|
2839
2903
|
}, "replace");
|
|
2840
2904
|
}
|
|
2841
|
-
function
|
|
2842
|
-
let t =
|
|
2843
|
-
r.length > 0 &&
|
|
2905
|
+
function m(e) {
|
|
2906
|
+
let t = ro(n.startup.tabs ?? [], n.startup.activeTabKey, e), r = e.filter((e) => a.value.some((t) => t.key === e));
|
|
2907
|
+
r.length > 0 && v(Y(a.value, r)), l({
|
|
2844
2908
|
...n.startup,
|
|
2845
2909
|
tabs: t.tabs,
|
|
2846
2910
|
activeTabKey: t.activeTabKey
|
|
2847
2911
|
}, "replace");
|
|
2848
2912
|
}
|
|
2849
|
-
function
|
|
2850
|
-
let t =
|
|
2851
|
-
r.map((e) => e.key).join("|") !== a.value.map((e) => e.key).join("|") &&
|
|
2913
|
+
function h(e) {
|
|
2914
|
+
let t = fo(n.startup.tabs ?? [], e, a.value.map((e) => e.key)), r = t.filter((e) => a.value.some((t) => t.key === e.key));
|
|
2915
|
+
r.map((e) => e.key).join("|") !== a.value.map((e) => e.key).join("|") && v(r), l({
|
|
2852
2916
|
...n.startup,
|
|
2853
2917
|
tabs: t
|
|
2854
2918
|
});
|
|
2855
2919
|
}
|
|
2856
|
-
function
|
|
2920
|
+
function _(e) {
|
|
2857
2921
|
let t = n.startup.tabs?.find((t) => t.key === e);
|
|
2858
2922
|
if (!t) return;
|
|
2859
|
-
let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) :
|
|
2860
|
-
|
|
2923
|
+
let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) : lo(i, t);
|
|
2924
|
+
v(o), l({
|
|
2861
2925
|
...n.startup,
|
|
2862
|
-
tabs:
|
|
2926
|
+
tabs: io(n.startup.tabs ?? [], o)
|
|
2863
2927
|
});
|
|
2864
2928
|
}
|
|
2865
|
-
function
|
|
2929
|
+
function v(e) {
|
|
2866
2930
|
let t = a.value, n = ++o;
|
|
2867
|
-
a.value = e,
|
|
2931
|
+
a.value = e, ee(e, t, n);
|
|
2868
2932
|
}
|
|
2869
|
-
async function
|
|
2933
|
+
async function ee(e, t, r) {
|
|
2870
2934
|
try {
|
|
2871
|
-
s = s.catch(() => void 0).then(() =>
|
|
2935
|
+
s = s.catch(() => void 0).then(() => Ao(xn, e)), await s;
|
|
2872
2936
|
} catch {
|
|
2873
2937
|
if (r !== o) return;
|
|
2874
2938
|
a.value = t, l({
|
|
2875
2939
|
...n.startup,
|
|
2876
|
-
tabs:
|
|
2940
|
+
tabs: io(n.startup.tabs ?? [], t, !1)
|
|
2877
2941
|
});
|
|
2878
2942
|
}
|
|
2879
2943
|
}
|
|
2880
|
-
function
|
|
2881
|
-
let t =
|
|
2944
|
+
function te(e) {
|
|
2945
|
+
let t = Ja(n.startup.tabs ?? [], e);
|
|
2882
2946
|
return l({
|
|
2883
2947
|
...n.startup,
|
|
2884
2948
|
tabs: t.tabs,
|
|
2885
2949
|
activeTabKey: t.activeTabKey
|
|
2886
2950
|
}, "push"), { created: t.created };
|
|
2887
2951
|
}
|
|
2888
|
-
function te(e, t = {}) {
|
|
2889
|
-
return v(Dn(e, t), "push", n.startup, t.tabTitle, t.newInstance);
|
|
2890
|
-
}
|
|
2891
2952
|
function ne(e, t = {}) {
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
|
|
2953
|
+
return ae(Fe(e, t), "push", n.startup, t.tabTitle, t.newInstance);
|
|
2954
|
+
}
|
|
2955
|
+
function re(e, t = {}) {
|
|
2956
|
+
let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a = Fe(e, t);
|
|
2957
|
+
if (!r || !i) return ae(a, "replace", n.startup, t.tabTitle);
|
|
2958
|
+
let o = Za(n.startup, a, n.resolveOptions), s = o.tabs?.find((e) => e.key === o.activeTabKey);
|
|
2895
2959
|
if (!s) return { created: !1 };
|
|
2896
|
-
let c = s.pageDescriptor && i.instanceKey ?
|
|
2960
|
+
let c = s.pageDescriptor && i.instanceKey ? b(s.pageDescriptor, i.instanceKey) : s.pageDescriptor, u = c ? y(c, n.resolveOptions) : s.fullPath, d = (o.tabs ?? []).filter((e) => e.key !== s.key).map((e) => e.key === r ? {
|
|
2897
2961
|
...i,
|
|
2898
2962
|
...s,
|
|
2899
2963
|
key: r,
|
|
@@ -2909,28 +2973,28 @@ var $a = /* @__PURE__ */ j({
|
|
|
2909
2973
|
activeTabKey: r
|
|
2910
2974
|
}, "replace"), { created: !1 };
|
|
2911
2975
|
}
|
|
2912
|
-
function
|
|
2913
|
-
let t = n.startup.activeTabKey, r = t ?
|
|
2976
|
+
function ie(e) {
|
|
2977
|
+
let t = n.startup.activeTabKey, r = t ? no(n.startup.tabs ?? [], t, t) : {
|
|
2914
2978
|
tabs: n.startup.tabs ?? [],
|
|
2915
2979
|
activeTabKey: n.startup.activeTabKey
|
|
2916
2980
|
};
|
|
2917
|
-
t && a.value.some((e) => e.key === t) &&
|
|
2981
|
+
t && a.value.some((e) => e.key === t) && v(Y(a.value, [t]));
|
|
2918
2982
|
let i = r.tabs.find((t) => {
|
|
2919
|
-
let n = t.fullPath ?? (t.pageDescriptor ?
|
|
2983
|
+
let n = t.fullPath ?? (t.pageDescriptor ? y(t.pageDescriptor) : void 0);
|
|
2920
2984
|
return n && new URL(n, "http://muyun.local").pathname === e;
|
|
2921
2985
|
});
|
|
2922
2986
|
return i ? (l({
|
|
2923
2987
|
...n.startup,
|
|
2924
2988
|
tabs: r.tabs,
|
|
2925
2989
|
activeTabKey: i.key
|
|
2926
|
-
}, "replace"), { created: !1 }) :
|
|
2990
|
+
}, "replace"), { created: !1 }) : ae(Fe(e), "replace", {
|
|
2927
2991
|
...n.startup,
|
|
2928
2992
|
tabs: r.tabs,
|
|
2929
2993
|
activeTabKey: r.activeTabKey
|
|
2930
2994
|
});
|
|
2931
2995
|
}
|
|
2932
|
-
function
|
|
2933
|
-
let o = new Set((r.tabs ?? []).map((e) => e.key)), s =
|
|
2996
|
+
function ae(e, t, r, i, a = !1) {
|
|
2997
|
+
let o = new Set((r.tabs ?? []).map((e) => e.key)), s = Za(r, e, {
|
|
2934
2998
|
...n.resolveOptions,
|
|
2935
2999
|
title: i ?? n.resolveOptions.title
|
|
2936
3000
|
}, a);
|
|
@@ -2942,7 +3006,7 @@ var $a = /* @__PURE__ */ j({
|
|
|
2942
3006
|
} : e)
|
|
2943
3007
|
}), l(s, t), { created: !(!s.activeTabKey || o.has(s.activeTabKey)) };
|
|
2944
3008
|
}
|
|
2945
|
-
function
|
|
3009
|
+
function oe(e, t) {
|
|
2946
3010
|
let r = t.trim();
|
|
2947
3011
|
e && r && l({
|
|
2948
3012
|
...n.startup,
|
|
@@ -2952,39 +3016,39 @@ var $a = /* @__PURE__ */ j({
|
|
|
2952
3016
|
} : t)
|
|
2953
3017
|
});
|
|
2954
3018
|
}
|
|
2955
|
-
function
|
|
3019
|
+
function se(e, t) {
|
|
2956
3020
|
let r = (n.startup.tabs ?? []).map((n) => n.key === e ? {
|
|
2957
3021
|
...n,
|
|
2958
3022
|
title: t.title ?? n.title,
|
|
2959
3023
|
pageDescriptor: t,
|
|
2960
|
-
restoreState: { url:
|
|
3024
|
+
restoreState: { url: y(t) }
|
|
2961
3025
|
} : n), i = r.find((t) => t.key === e);
|
|
2962
|
-
i && a.value.some((t) => t.key === e) &&
|
|
3026
|
+
i && a.value.some((t) => t.key === e) && v(lo(a.value, i)), l({
|
|
2963
3027
|
...n.startup,
|
|
2964
3028
|
tabs: r
|
|
2965
3029
|
}, "replace");
|
|
2966
3030
|
}
|
|
2967
|
-
function
|
|
2968
|
-
let i =
|
|
3031
|
+
function ce(e, t) {
|
|
3032
|
+
let i = No(e, n.location, t);
|
|
2969
3033
|
i && r("navigate", i);
|
|
2970
3034
|
}
|
|
2971
|
-
function
|
|
2972
|
-
l(
|
|
3035
|
+
function le(e) {
|
|
3036
|
+
l(Za(n.startup, e, n.resolveOptions));
|
|
2973
3037
|
}
|
|
2974
|
-
async function
|
|
3038
|
+
async function ue() {
|
|
2975
3039
|
let e = o;
|
|
2976
3040
|
try {
|
|
2977
|
-
let t =
|
|
3041
|
+
let t = oo(await ko(xn), n.startup.menus, n.resolveOptions);
|
|
2978
3042
|
if (!c || e !== o) return;
|
|
2979
3043
|
a.value = t;
|
|
2980
3044
|
let r = new Set(t.map((e) => e.key)), i = [...t, ...(n.startup.tabs ?? []).filter((e) => !r.has(e.key))];
|
|
2981
3045
|
l({
|
|
2982
3046
|
...n.startup,
|
|
2983
|
-
tabs:
|
|
3047
|
+
tabs: io(i, t)
|
|
2984
3048
|
});
|
|
2985
3049
|
} catch {}
|
|
2986
3050
|
}
|
|
2987
|
-
return (t, n) => (
|
|
3051
|
+
return (t, n) => (j(), w(f, {
|
|
2988
3052
|
startup: e.startup,
|
|
2989
3053
|
loading: e.loading,
|
|
2990
3054
|
error: e.error,
|
|
@@ -2994,14 +3058,15 @@ var $a = /* @__PURE__ */ j({
|
|
|
2994
3058
|
"theme-appearance": e.themeAppearance,
|
|
2995
3059
|
onSelectMenu: u,
|
|
2996
3060
|
onChangeTab: d,
|
|
2997
|
-
onCloseTab:
|
|
2998
|
-
onCloseTabs:
|
|
2999
|
-
onReorderTabs:
|
|
3000
|
-
onToggleTabLock:
|
|
3061
|
+
onCloseTab: p,
|
|
3062
|
+
onCloseTabs: m,
|
|
3063
|
+
onReorderTabs: h,
|
|
3064
|
+
onToggleTabLock: _,
|
|
3001
3065
|
onRefreshPage: n[0] ||= (e) => r("refreshPage", e),
|
|
3002
|
-
onUserCommand: n[1] ||= (e) => r("userCommand", e)
|
|
3066
|
+
onUserCommand: n[1] ||= (e) => r("userCommand", e),
|
|
3067
|
+
onRetryLoad: n[2] ||= (e) => r("retryLoad")
|
|
3003
3068
|
}, {
|
|
3004
|
-
default:
|
|
3069
|
+
default: F(({ pageDescriptor: e }) => [Pr(t.$slots, "default", { pageDescriptor: e })]),
|
|
3005
3070
|
_: 3
|
|
3006
3071
|
}, 8, [
|
|
3007
3072
|
"startup",
|
|
@@ -3016,8 +3081,8 @@ var $a = /* @__PURE__ */ j({
|
|
|
3016
3081
|
});
|
|
3017
3082
|
//#endregion
|
|
3018
3083
|
//#region src/app/loginTenant.ts
|
|
3019
|
-
function
|
|
3020
|
-
let i =
|
|
3084
|
+
function Fo(e, t = Ro(), n = zo(), r = "/") {
|
|
3085
|
+
let i = Lo(t, n === Io(r));
|
|
3021
3086
|
return i ? {
|
|
3022
3087
|
tenantId: i,
|
|
3023
3088
|
tenantLocked: !0
|
|
@@ -3029,29 +3094,29 @@ function eo(e, t = ro(), n = io(), r = "/") {
|
|
|
3029
3094
|
function Q(e) {
|
|
3030
3095
|
return e?.trim() ?? "";
|
|
3031
3096
|
}
|
|
3032
|
-
function
|
|
3097
|
+
function Io(e) {
|
|
3033
3098
|
let t = `/${(e?.trim() || "/").replace(/^\/+|\/+$/g, "")}`.replace(/^\/\/+/g, "/") || "/";
|
|
3034
3099
|
return t === "/" ? t : `${t}/`;
|
|
3035
3100
|
}
|
|
3036
|
-
function
|
|
3101
|
+
function Lo(e, t) {
|
|
3037
3102
|
let n = new URLSearchParams(e.startsWith("?") ? e : `?${e}`), r = Q(n.get("_muyunTenantId"));
|
|
3038
3103
|
return r || !t ? r : Q(n.get("tenantId")) || Q(n.get("tenant"));
|
|
3039
3104
|
}
|
|
3040
|
-
function
|
|
3105
|
+
function Ro() {
|
|
3041
3106
|
return typeof window > "u" ? "" : window.location.search;
|
|
3042
3107
|
}
|
|
3043
|
-
function
|
|
3108
|
+
function zo() {
|
|
3044
3109
|
return typeof window > "u" ? "/" : window.location.pathname;
|
|
3045
3110
|
}
|
|
3046
3111
|
//#endregion
|
|
3047
3112
|
//#region src/app/LoginView.vue?vue&type=script&setup=true&lang.ts
|
|
3048
|
-
var
|
|
3113
|
+
var Bo = { class: "login-page" }, Vo = { class: "login-panel" }, Ho = { class: "login-brand" }, Uo = ["src"], Wo = { key: 1 }, Go = { key: 0 }, Ko = {
|
|
3049
3114
|
key: 1,
|
|
3050
3115
|
class: "login-subtitle"
|
|
3051
|
-
},
|
|
3116
|
+
}, qo = {
|
|
3052
3117
|
key: 0,
|
|
3053
3118
|
class: "login-error"
|
|
3054
|
-
},
|
|
3119
|
+
}, Jo = { key: 0 }, Yo = /*#__PURE__*/ ht(/* @__PURE__ */ A({
|
|
3055
3120
|
name: "LoginView",
|
|
3056
3121
|
__name: "LoginView",
|
|
3057
3122
|
props: {
|
|
@@ -3063,8 +3128,8 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
|
|
|
3063
3128
|
},
|
|
3064
3129
|
emits: ["authenticated"],
|
|
3065
3130
|
setup(e, { emit: t }) {
|
|
3066
|
-
let n = e, r = t, i =
|
|
3067
|
-
|
|
3131
|
+
let n = e, r = t, i = Fo(void 0), a = M(i.tenantId), o = i.tenantLocked, s = M(Q(n.initialUsername) || Q(void 0)), c = M(Q(void 0)), l = M(!1), u = M(), d = M(!1), f = M(), p = M(""), m = M(""), h = M(), g = M(!1), _ = M(), v = C(() => !o || !g.value && !_.value), ee = C(() => h.value?.mode !== "logoOnly"), te = C(() => h.value?.title || "平台登录"), ne = C(() => h.value?.subtitle);
|
|
3132
|
+
jr(async () => {
|
|
3068
3133
|
if (o && a.value) {
|
|
3069
3134
|
g.value = !0;
|
|
3070
3135
|
try {
|
|
@@ -3078,7 +3143,7 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
|
|
|
3078
3143
|
}
|
|
3079
3144
|
}
|
|
3080
3145
|
});
|
|
3081
|
-
async function
|
|
3146
|
+
async function re() {
|
|
3082
3147
|
u.value = void 0, l.value = !0;
|
|
3083
3148
|
try {
|
|
3084
3149
|
let e = await n.authClient.login({
|
|
@@ -3092,15 +3157,15 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
|
|
|
3092
3157
|
}
|
|
3093
3158
|
r("authenticated", e);
|
|
3094
3159
|
} catch (e) {
|
|
3095
|
-
u.value =
|
|
3160
|
+
u.value = y(e);
|
|
3096
3161
|
} finally {
|
|
3097
3162
|
l.value = !1;
|
|
3098
3163
|
}
|
|
3099
3164
|
}
|
|
3100
|
-
function
|
|
3101
|
-
return e instanceof
|
|
3165
|
+
function y(e) {
|
|
3166
|
+
return e instanceof gn ? e.status === 403 ? "当前站点未获后端授权,请联系管理员配置访问来源" : e.code === Mn.networkError || e.code === Mn.httpError || (e.status ?? 0) >= 500 ? "无法访问后端,请检查服务状态或站点授权配置" : e.code === Mn.loginBadCredentials ? "用户名或密码错误" : e.message : e instanceof Error ? e.message : "登录失败,请稍后重试";
|
|
3102
3167
|
}
|
|
3103
|
-
async function
|
|
3168
|
+
async function ie() {
|
|
3104
3169
|
if (u.value = void 0, !f.value) {
|
|
3105
3170
|
u.value = "登录状态已失效,请重新登录", d.value = !1;
|
|
3106
3171
|
return;
|
|
@@ -3127,89 +3192,89 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
|
|
|
3127
3192
|
l.value = !1;
|
|
3128
3193
|
}
|
|
3129
3194
|
}
|
|
3130
|
-
return (t, n) => (
|
|
3131
|
-
|
|
3195
|
+
return (t, n) => (j(), E("main", Bo, [D("section", Vo, [
|
|
3196
|
+
D("header", null, [D("div", Ho, [h.value?.lightLogo ? (j(), E("img", {
|
|
3132
3197
|
key: 0,
|
|
3133
3198
|
class: "login-logo",
|
|
3134
3199
|
src: h.value.lightLogo,
|
|
3135
3200
|
alt: ""
|
|
3136
|
-
}, null, 8,
|
|
3137
|
-
h.value?.lightLogo ?
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
])) :
|
|
3141
|
-
u.value || e.error || _.value ? (
|
|
3142
|
-
d.value ? (
|
|
3201
|
+
}, null, 8, Uo)) : T("v-if", !0), ee.value ? (j(), E("div", Wo, [
|
|
3202
|
+
h.value?.lightLogo ? T("v-if", !0) : (j(), E("p", Go, "MuYun Platform")),
|
|
3203
|
+
D("h1", null, N(te.value), 1),
|
|
3204
|
+
ne.value ? (j(), E("p", Ko, N(ne.value), 1)) : T("v-if", !0)
|
|
3205
|
+
])) : T("v-if", !0)])]),
|
|
3206
|
+
u.value || e.error || _.value ? (j(), E("p", qo, N(u.value || e.error || _.value), 1)) : T("v-if", !0),
|
|
3207
|
+
d.value ? (j(), E("form", {
|
|
3143
3208
|
key: 2,
|
|
3144
3209
|
class: "login-form",
|
|
3145
|
-
onSubmit:
|
|
3210
|
+
onSubmit: Lr(ie, ["prevent"])
|
|
3146
3211
|
}, [
|
|
3147
|
-
n[10] ||=
|
|
3148
|
-
|
|
3212
|
+
n[10] ||= D("p", { class: "login-context" }, "当前密码需要修改后才能进入系统", -1),
|
|
3213
|
+
D("label", null, [n[8] ||= D("span", null, "新密码", -1), O(P(S), {
|
|
3149
3214
|
value: p.value,
|
|
3150
3215
|
"onUpdate:value": n[3] ||= (e) => p.value = e,
|
|
3151
3216
|
type: "password",
|
|
3152
3217
|
autocomplete: "new-password",
|
|
3153
3218
|
required: ""
|
|
3154
3219
|
}, null, 8, ["value"])]),
|
|
3155
|
-
|
|
3220
|
+
D("label", null, [n[9] ||= D("span", null, "确认新密码", -1), O(P(S), {
|
|
3156
3221
|
value: m.value,
|
|
3157
3222
|
"onUpdate:value": n[4] ||= (e) => m.value = e,
|
|
3158
3223
|
type: "password",
|
|
3159
3224
|
autocomplete: "new-password",
|
|
3160
3225
|
required: ""
|
|
3161
3226
|
}, null, 8, ["value"])]),
|
|
3162
|
-
|
|
3227
|
+
O(P(rn), {
|
|
3163
3228
|
class: "login-submit",
|
|
3164
3229
|
"html-type": "submit",
|
|
3165
3230
|
type: "primary",
|
|
3166
3231
|
loading: l.value || e.loading
|
|
3167
3232
|
}, {
|
|
3168
|
-
default:
|
|
3233
|
+
default: F(() => [Dr(N(l.value || e.loading ? "保存中" : "修改密码"), 1)]),
|
|
3169
3234
|
_: 1
|
|
3170
3235
|
}, 8, ["loading"])
|
|
3171
|
-
], 32)) : (
|
|
3236
|
+
], 32)) : (j(), E("form", {
|
|
3172
3237
|
key: 1,
|
|
3173
3238
|
class: "login-form",
|
|
3174
|
-
onSubmit:
|
|
3239
|
+
onSubmit: Lr(re, ["prevent"])
|
|
3175
3240
|
}, [
|
|
3176
|
-
|
|
3241
|
+
P(o) ? T("v-if", !0) : (j(), E("label", Jo, [n[5] ||= D("span", null, "租户 ID", -1), O(P(S), {
|
|
3177
3242
|
value: a.value,
|
|
3178
3243
|
"onUpdate:value": n[0] ||= (e) => a.value = e,
|
|
3179
3244
|
autocomplete: "organization",
|
|
3180
3245
|
placeholder: "留空进入系统工作区"
|
|
3181
3246
|
}, null, 8, ["value"])])),
|
|
3182
|
-
|
|
3247
|
+
D("label", null, [n[6] ||= D("span", null, "用户名", -1), O(P(S), {
|
|
3183
3248
|
value: s.value,
|
|
3184
3249
|
"onUpdate:value": n[1] ||= (e) => s.value = e,
|
|
3185
3250
|
autocomplete: "username",
|
|
3186
3251
|
required: ""
|
|
3187
3252
|
}, null, 8, ["value"])]),
|
|
3188
|
-
|
|
3253
|
+
D("label", null, [n[7] ||= D("span", null, "密码", -1), O(P(S), {
|
|
3189
3254
|
value: c.value,
|
|
3190
3255
|
"onUpdate:value": n[2] ||= (e) => c.value = e,
|
|
3191
3256
|
type: "password",
|
|
3192
3257
|
autocomplete: "current-password",
|
|
3193
3258
|
required: ""
|
|
3194
3259
|
}, null, 8, ["value"])]),
|
|
3195
|
-
|
|
3260
|
+
O(P(rn), {
|
|
3196
3261
|
class: "login-submit",
|
|
3197
3262
|
"html-type": "submit",
|
|
3198
3263
|
type: "primary",
|
|
3199
|
-
disabled: !
|
|
3264
|
+
disabled: !v.value,
|
|
3200
3265
|
loading: l.value || e.loading || g.value
|
|
3201
3266
|
}, {
|
|
3202
|
-
default:
|
|
3267
|
+
default: F(() => [Dr(N(l.value || e.loading ? "登录中" : "登录"), 1)]),
|
|
3203
3268
|
_: 1
|
|
3204
3269
|
}, 8, ["disabled", "loading"])
|
|
3205
3270
|
], 32))
|
|
3206
3271
|
])]));
|
|
3207
3272
|
}
|
|
3208
|
-
}), [["__scopeId", "data-v-
|
|
3273
|
+
}), [["__scopeId", "data-v-0509cf1b"]]);
|
|
3209
3274
|
//#endregion
|
|
3210
3275
|
//#region src/consumer/userPreferencePersistence.ts
|
|
3211
|
-
function
|
|
3212
|
-
|
|
3276
|
+
function Xo(e) {
|
|
3277
|
+
hn({
|
|
3213
3278
|
load: async (t) => (await e().request({
|
|
3214
3279
|
path: `/platform.user-preference/${encodeURIComponent(t)}`,
|
|
3215
3280
|
query: { clientType: "WEB" }
|
|
@@ -3231,10 +3296,10 @@ function go(e) {
|
|
|
3231
3296
|
}
|
|
3232
3297
|
//#endregion
|
|
3233
3298
|
//#region src/app/ChangeOwnPasswordDialog.vue?vue&type=script&setup=true&lang.ts
|
|
3234
|
-
var
|
|
3299
|
+
var Zo = { class: "change-own-password-fields" }, Qo = {
|
|
3235
3300
|
key: 0,
|
|
3236
3301
|
class: "change-own-password-error"
|
|
3237
|
-
},
|
|
3302
|
+
}, $o = /*#__PURE__*/ ht(/* @__PURE__ */ A({
|
|
3238
3303
|
name: "ChangeOwnPasswordDialog",
|
|
3239
3304
|
__name: "ChangeOwnPasswordDialog",
|
|
3240
3305
|
props: {
|
|
@@ -3260,7 +3325,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3260
3325
|
],
|
|
3261
3326
|
setup(e, { emit: t }) {
|
|
3262
3327
|
let n = t;
|
|
3263
|
-
return (t, r) => (
|
|
3328
|
+
return (t, r) => (j(), w(P(Nn), {
|
|
3264
3329
|
open: e.open,
|
|
3265
3330
|
title: "修改密码",
|
|
3266
3331
|
"confirm-text": "保存",
|
|
@@ -3269,8 +3334,8 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3269
3334
|
onConfirm: r[3] ||= (e) => n("submit"),
|
|
3270
3335
|
onCancel: r[4] ||= (e) => n("close")
|
|
3271
3336
|
}, {
|
|
3272
|
-
default:
|
|
3273
|
-
|
|
3337
|
+
default: F(() => [D("div", Zo, [
|
|
3338
|
+
D("label", null, [r[5] ||= D("span", null, "当前密码", -1), O(P(S), {
|
|
3274
3339
|
value: e.currentPassword,
|
|
3275
3340
|
type: "password",
|
|
3276
3341
|
autocomplete: "current-password",
|
|
@@ -3278,7 +3343,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3278
3343
|
placeholder: "请输入当前密码",
|
|
3279
3344
|
"onUpdate:value": r[0] ||= (e) => n("update:currentPassword", e)
|
|
3280
3345
|
}, null, 8, ["value", "disabled"])]),
|
|
3281
|
-
|
|
3346
|
+
D("label", null, [r[6] ||= D("span", null, "新密码", -1), O(P(S), {
|
|
3282
3347
|
value: e.newPassword,
|
|
3283
3348
|
type: "password",
|
|
3284
3349
|
autocomplete: "new-password",
|
|
@@ -3286,7 +3351,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3286
3351
|
placeholder: "请输入新密码",
|
|
3287
3352
|
"onUpdate:value": r[1] ||= (e) => n("update:newPassword", e)
|
|
3288
3353
|
}, null, 8, ["value", "disabled"])]),
|
|
3289
|
-
|
|
3354
|
+
D("label", null, [r[7] ||= D("span", null, "确认新密码", -1), O(P(S), {
|
|
3290
3355
|
value: e.confirmPassword,
|
|
3291
3356
|
type: "password",
|
|
3292
3357
|
autocomplete: "new-password",
|
|
@@ -3294,7 +3359,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3294
3359
|
placeholder: "请再次输入新密码",
|
|
3295
3360
|
"onUpdate:value": r[2] ||= (e) => n("update:confirmPassword", e)
|
|
3296
3361
|
}, null, 8, ["value", "disabled"])])
|
|
3297
|
-
]), e.error ? (
|
|
3362
|
+
]), e.error ? (j(), E("p", Qo, N(e.error), 1)) : T("v-if", !0)]),
|
|
3298
3363
|
_: 1
|
|
3299
3364
|
}, 8, [
|
|
3300
3365
|
"open",
|
|
@@ -3302,22 +3367,22 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3302
3367
|
"confirm-disabled"
|
|
3303
3368
|
]));
|
|
3304
3369
|
}
|
|
3305
|
-
}), [["__scopeId", "data-v-6905dcfc"]]),
|
|
3370
|
+
}), [["__scopeId", "data-v-6905dcfc"]]), es = { class: "theme-skin-preferences" }, ts = {
|
|
3306
3371
|
key: 0,
|
|
3307
3372
|
class: "theme-skin-error",
|
|
3308
3373
|
role: "alert"
|
|
3309
|
-
},
|
|
3374
|
+
}, ns = {
|
|
3310
3375
|
class: "theme-skin-grid",
|
|
3311
3376
|
role: "radiogroup",
|
|
3312
3377
|
"aria-label": "工作台皮肤"
|
|
3313
|
-
},
|
|
3378
|
+
}, rs = [
|
|
3314
3379
|
"aria-checked",
|
|
3315
3380
|
"tabindex",
|
|
3316
3381
|
"data-skin-id",
|
|
3317
3382
|
"disabled",
|
|
3318
3383
|
"onClick",
|
|
3319
3384
|
"onKeydown"
|
|
3320
|
-
],
|
|
3385
|
+
], is = /*#__PURE__*/ ht(/* @__PURE__ */ A({
|
|
3321
3386
|
name: "ThemeSkinPreferencesDialog",
|
|
3322
3387
|
__name: "ThemeSkinPreferencesDialog",
|
|
3323
3388
|
props: {
|
|
@@ -3348,7 +3413,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3348
3413
|
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;
|
|
3349
3414
|
s && (n("select", s), o?.focus());
|
|
3350
3415
|
}
|
|
3351
|
-
return (t, i) => (
|
|
3416
|
+
return (t, i) => (j(), w(P(Nn), {
|
|
3352
3417
|
open: e.open,
|
|
3353
3418
|
title: "偏好设置",
|
|
3354
3419
|
width: 460,
|
|
@@ -3357,12 +3422,12 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3357
3422
|
onConfirm: i[0] ||= (e) => n("close"),
|
|
3358
3423
|
onCancel: i[1] ||= (e) => n("close")
|
|
3359
3424
|
}, {
|
|
3360
|
-
default:
|
|
3361
|
-
i[3] ||=
|
|
3362
|
-
e.error ? (
|
|
3363
|
-
|
|
3425
|
+
default: F(() => [D("section", es, [
|
|
3426
|
+
i[3] ||= D("header", null, [D("h2", null, "工作台皮肤"), D("p", null, "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")], -1),
|
|
3427
|
+
e.error ? (j(), E("p", ts, N(e.error), 1)) : T("v-if", !0),
|
|
3428
|
+
D("div", ns, [(j(!0), E(Er, null, Nr(e.skins, (t, a) => (j(), E("button", {
|
|
3364
3429
|
key: t.id,
|
|
3365
|
-
class:
|
|
3430
|
+
class: Or(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
|
|
3366
3431
|
type: "button",
|
|
3367
3432
|
role: "radio",
|
|
3368
3433
|
"aria-checked": t.id === e.activeSkinId,
|
|
@@ -3372,9 +3437,9 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3372
3437
|
onClick: (e) => n("select", t.id),
|
|
3373
3438
|
onKeydown: (e) => r(e, a)
|
|
3374
3439
|
}, [
|
|
3375
|
-
|
|
3440
|
+
D("span", {
|
|
3376
3441
|
class: "theme-skin-preview",
|
|
3377
|
-
style:
|
|
3442
|
+
style: kr({
|
|
3378
3443
|
"--skin-canvas": t.theme.support.canvas,
|
|
3379
3444
|
"--skin-surface": t.theme.support.surface,
|
|
3380
3445
|
"--skin-text": t.theme.support.text,
|
|
@@ -3382,13 +3447,13 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3382
3447
|
"--skin-accent": t.theme.brandAccent.base
|
|
3383
3448
|
})
|
|
3384
3449
|
}, [...i[2] ||= [
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3450
|
+
D("i", { class: "theme-skin-preview-sidebar" }, null, -1),
|
|
3451
|
+
D("i", { class: "theme-skin-preview-toolbar" }, null, -1),
|
|
3452
|
+
D("i", { class: "theme-skin-preview-card" }, null, -1)
|
|
3388
3453
|
]], 4),
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
], 42,
|
|
3454
|
+
D("strong", null, N(t.title), 1),
|
|
3455
|
+
D("small", null, N(t.description), 1)
|
|
3456
|
+
], 42, rs))), 128))])
|
|
3392
3457
|
])]),
|
|
3393
3458
|
_: 1
|
|
3394
3459
|
}, 8, [
|
|
@@ -3398,11 +3463,11 @@ var _o = { class: "change-own-password-fields" }, vo = {
|
|
|
3398
3463
|
]));
|
|
3399
3464
|
}
|
|
3400
3465
|
}), [["__scopeId", "data-v-5d36f806"]]), $ = "workbench.theme-skin";
|
|
3401
|
-
async function
|
|
3402
|
-
let n = await e.restore($, t, { persistence: "backend" }), r =
|
|
3466
|
+
async function as(e, t) {
|
|
3467
|
+
let n = await e.restore($, t, { persistence: "backend" }), r = An(n).id;
|
|
3403
3468
|
return await e.set($, r, { persistence: "local" }), r;
|
|
3404
3469
|
}
|
|
3405
|
-
async function
|
|
3470
|
+
async function os(e, t, n) {
|
|
3406
3471
|
await e.set($, t, { persistence: "local" });
|
|
3407
3472
|
try {
|
|
3408
3473
|
return await e.set($, t, { persistence: "backend" }), { skinId: t };
|
|
@@ -3414,4 +3479,4 @@ async function Eo(e, t, n) {
|
|
|
3414
3479
|
}
|
|
3415
3480
|
}
|
|
3416
3481
|
//#endregion
|
|
3417
|
-
export {
|
|
3482
|
+
export { gn as AppError, Po as AppWorkbenchShell, qt as AssistantCapabilityUsageError, mt as AssistantConversationInterruptedError, Jn as AssistantEffectInterruptedError, pt as AssistantOperationRejectedError, pt as OperationRejectedError, Tt as BusinessNotificationPanel, $o as ChangeOwnPasswordDialog, Rt as DateTimeText, Dt as DraftUpdateRejectedError, tn as DrawerOperationBar, Se as DynamicModuleWorkspaceDetailView, Mt as FileSizeText, Gt as FileTransferUploader, Yo as LoginView, Kt as ModuleContextProvider, qn as ModuleHttpProvider, Ee as ModuleReferenceRecordDetailBrowser, sn as OperationUsageError, Mo as PlatformAdminOutlet, Ba as PlatformAdminRouteOutlet, bn as ReadonlyReferenceValue, Bn as RecordDetailDrawer, yt as ReferencePicker, kt as ReferencePickerReadError, Nt as ReferenceRecordDetailBrowser, dt as SingleImageFileReferenceField, ut as StaleAssistantInvocationError, is as ThemeSkinPreferencesDialog, rn as UiButton, $n as UiDataTable, S as UiInput, lr as UiSidePanel, On as UiSwitch, Cn as UiTextArea, Yn as UiThemeProvider, Hn as UiTree, Rn as UiTreeSelect, xa as VueQueryPlugin, f as Workbench, Qe as WorkbenchAssistantPanel, h as WorkbenchMenu, Ke as WorkbenchOutlet, ge as WorkspaceViewOutlet, pn as actionResultData, Xa as activeTabUrlOf, io as arrangeLockedMenuTabs, mr as boundedAssistantConversationHistory, ie as buildWorkbenchMegaMenuModel, rr as canQueryRecycleBin, ue as canonicalDynamicModulePath, ne as clearAuthToken, lt as configureModuleContext, me as configureModulePageEnhancementContributions, $e as configureModulePageEnhancements, Xo as configureUserPreferencePersistence, _e as configureWorkspaceViewContributions, _n as confirmAction, o as connectAppRealtime, Zt as connectRealtimeBusinessEvents, st as connectRealtimeBusinessNotifications, Pn as connectRealtimeDataChanges, ur as connectRealtimeUserNotifications, Me as constructionPlanLimits, er as contextDataChangeChannel, Gn as createAssistantCapabilitySelection, Ea as createAssistantConversationClient, an as createAssistantDisplayObservations, en as createAssistantOperationConfirmation, Ht as createAssistantSurfaceRegistry, Pe as createAssistantTurnRequester, rt as createAuthClient, wr as createBackendHttpClient, Xt as createBrowserFileTransferUpload, Ta as createConstructionPlanClient, l as createDataChangeDispatcher, ke as createDataExchangeClient, br as createHttpClient, ae as createLoginContextClient, At as createManagedDetailRelationClient, s as createMenuClient, p as createMenuTab, Wn as createModuleContext, zt as createModuleCrudClient, it as createModulePageEnhancementRegistry, $t as createModuleTreeClient, Vt as createModuleTreeContext, _r as createNavigatorReferenceCrudClient, ft as createNavigatorReferenceTreeClient, un as createOperationConfirmation, nt as createPageBootstrapClient, Sa as createQueryClient, or as createRealtimeClient, ye as createReferenceResolveClient, se as createSessionClient, Sr as createSseParser, ln as createStaticModuleCrudClient, Et as createStaticModuleTreeClient, on as createStaticResourceCrudClient, fn as createStaticResourceTreeClient, Ce as createUuid, ot as createWorkbenchMenuNodes, He as createWorkspaceViewDescriptor, Ye as createWorkspaceViewRegistry, Un as dataChangeChannel, dr as defaultUiThemeSkinId, Cr as defineWorkspaceView, tt as disconnectAppRealtime, xe as dismissWorkspaceViewDescriptor, _ as dynamicModuleAliasFromPath, Ne as effectiveAuthToken, Wt as emptyAssistantCapabilityInputSchema, a as filterWorkbenchMenuNodes, Ge as findFirstNavigationMenu, le as findWorkbenchMenuNodeById, m as findWorkbenchMenuPath, ce as firstDeepRootIdOf, g as getMenuNavigationTarget, ar as hasExecutableDetailRelationMutationContract, Vn as hasExecutableDetailRelationQueryContract, Pt as hasRecycleBinAbility, En as imConversationMessageChannel, tr as imMessageSendCommand, wa as invokeBusinessNotificationRecordAction, xr as isHttpStreamClient, Fa as isPlatformAdminRoutePage, fe as isTabMenuTarget, Sn as isUnexpectedPlatformError, de as isWindowMenuTarget, Te as lookupOperationReceipt, Qt as modelFailureMessage, vn as moduleAbilityCodes, sr as moduleDataChangeChannel, ve as modulePageWorkspaceViews, re as normalizeChangeSet, ct as normalizeError, d as normalizeMenuMineResponse, Ct as normalizeModulePageResponse, It as normalizeModuleRecord, kn as organizationPublicDataChangeChannel, Xn as organizationPublicNotificationChannel, De as pageActionEntryDescription, he as pageActionEntryTitle, et as pageActionEntryVisible, at as pageActionIntent, i as pageAssistantCatalog, pe as pageDescriptorFromUrl, y as pageDescriptorToUrl, n as pageInstanceKeyOf, We as pagePublicationDigest, Yt as parseEmptyAssistantCapabilityInput, Re as parseOperationReceiptReference, Ma as platformAdminModuleRoutes, Na as platformAdminRouteLayouts, ja as platformAdminRoutePrefixes, J as platformAdminRoutes, Mn as platformErrorCodes, fr as platformPingCommand, dn as presentPlatformError, Ot as presentPlatformInfo, cn as presentPlatformMessage, mn as presentPlatformSuccess, v as presentWorkbenchRealtimeStatus, xt as provideAssistantSurfaceHost, Le as provideCurrentUserContext, Ut as provideModuleContextConfig, be as provideWorkbenchNavigation, Ve as provideWorkspaceViewHost, Ca as queryKeys, jn as realtimeDestinations, In as realtimeMessageTypes, nr as recordDataChangeChannel, Ue as refreshModulePageList, Y as removeLockedMenuTabs, cr as resolveGlobalErrorPresentation, we as resolvePageDescriptor, Pa as resolvePlatformAdminRoute, wt as resolveWebActionResult, Lt as resolveWebActionResultMessage, Ie as resolveWorkspaceView, Zn as resourceDataChangeChannel, zn as resourceRecordDataChangeChannel, vr as restoreAssistantOperationReceipt, ko as restoreLockedTabPreference, oo as restoreLockedWorkbenchTabs, as as restoreThemeSkinPreference, Za as restoreWorkbenchStartupStateFromUrl, Fe as routeUrlWithOpenOptions, vt as runAssistantConversation, gt as runAssistantStep, jt as sameAssistantInvocationToken, r as saveAuthSessionId, je as saveAuthToken, Ao as saveLockedTabPreference, os as saveThemeSkinPreference, Ln as sessionActivityCommand, ee as storedAuthSessionId, te as storedAuthToken, oe as subscribeAppBusinessEvents, u as subscribeAppDataChanges, c as subscribeAppModuleDataChanges, Ae as syncModulePageWorkspaceViewContributions, x as tabIdentityKeyOf, Be as tabKeyOf, wn as tenantPublicDataChangeChannel, pr as tenantPublicNotificationChannel, $ as themeSkinPreferenceKey, qe as tryPageDescriptorFromUrl, An as uiThemeSkinById, Fn as uiThemeSkins, St as unwrapResponsePayload, lo as updateLockedMenuTabs, Kn as uploadedFileId, Bt as useAssistantSurfaceHost, Oe as useCurrentUserContext, Jt as useModuleContext, bt as useModuleTreeContext, Ze as useWorkbenchNavigation, Je as useWorkspaceViewHost, ze as useWorkspaceViewNavigation, Xe as useWorkspaceViewUnsavedState, gr as userBusinessEventChannel, Dn as userBusinessNotificationChannel, Qn as userFacingErrorMessage, hr as userImMessageChannel, nn as userNotificationChannel, xn as userPreferences, ir as webDataChangeKey, Tn as webDataChangeTypes, Ft as webDataChanges, yr as withHttpHeaders, b as withPageInstanceKey, yn as withWebActionResultChanges };
|