@ximatai/muyun-web-app 0.26.13 → 0.26.14

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.
Files changed (64) hide show
  1. package/dist/{BusinessActivityLogView-UC4rH4Fn.js → BusinessActivityLogView-BUg5WTm-.js} +1 -1
  2. package/dist/BusinessLogListDrawer-BOTE_7aT.js +825 -0
  3. package/dist/{LoginAuditLogView-Cjrp8MKX.js → LoginAuditLogView-DBNtvmIy.js} +1 -1
  4. package/dist/{ModuleActionManagementView-Dkb35QXc.js → ModuleActionManagementView-Bq1VO51Y.js} +165 -165
  5. package/dist/{ModuleGovernanceView-Dx43QvGf.js → ModuleGovernanceView-B8u4_erd.js} +3570 -2877
  6. package/dist/{RequestErrorLogView-WnGvMWiF.js → RequestErrorLogView-BrtH3ptj.js} +1 -1
  7. package/dist/{RoleDetailWorkspaceView-DPDb_QOn.js → RoleDetailWorkspaceView-6LW3tLA1.js} +276 -276
  8. package/dist/{RuntimeLogView-BRl4ZDkU.js → RuntimeLogView-s3X5CdHB.js} +47 -80
  9. package/dist/index.css +1 -1
  10. package/dist/index.js +400 -400
  11. package/dist/{moduleGovernanceWorkspaceView-4V_UW-Bt.js → moduleGovernanceWorkspaceView-BRgJbUjJ.js} +2 -2
  12. package/dist/{platform-components-1cvOeHmo.js → platform-components-Dt859Hbr.js} +3449 -2676
  13. package/dist/platform-workbench-DfqFnlm-.js +14701 -0
  14. package/dist/{http-B0TC0pJB.js → sse-mGbuCAax.js} +41 -11
  15. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +218 -8
  16. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +230 -18
  17. package/dist/types/dynamic-page-runtime/PageNavigatorExplorer.vue.d.ts +2 -2
  18. package/dist/types/dynamic-page-runtime/assistantRecordEditorPolicy.d.ts +6 -0
  19. package/dist/types/dynamic-page-runtime/composables/useModulePageListSession.d.ts +1 -0
  20. package/dist/types/dynamic-page-runtime/composables/useRecordEditingSession.d.ts +2 -0
  21. package/dist/types/dynamic-page-runtime/index.d.ts +1 -0
  22. package/dist/types/dynamic-page-runtime/modulePageAssistantScope.d.ts +8 -0
  23. package/dist/types/dynamic-page-runtime/modulePageAssistantSurface.d.ts +6 -0
  24. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +110 -5
  25. package/dist/types/dynamic-page-runtime/useTenantScopeController.d.ts +1 -0
  26. package/dist/types/platform-components/CrudRecordListExplorer.vue.d.ts +8 -0
  27. package/dist/types/platform-components/QueryValueEditor.vue.d.ts +1 -1
  28. package/dist/types/platform-components/RecordDetailFields.vue.d.ts +1 -1
  29. package/dist/types/platform-components/RecordFormFields.vue.d.ts +1 -1
  30. package/dist/types/platform-components/RecordQueryListCell.vue.d.ts +1 -1
  31. package/dist/types/platform-components/RecordQueryListPanel.vue.d.ts +8 -0
  32. package/dist/types/platform-components/TreeRecordExplorer.vue.d.ts +5 -2
  33. package/dist/types/platform-components/index.d.ts +4 -1
  34. package/dist/types/platform-components/querySettlementController.d.ts +5 -0
  35. package/dist/types/platform-components/recordQueryListColumnModel.d.ts +7 -0
  36. package/dist/types/platform-components/recordQueryListQueryController.d.ts +36 -0
  37. package/dist/types/platform-components/recordTreeQueryController.d.ts +18 -0
  38. package/dist/types/platform-components/referencePickerModel.d.ts +2 -0
  39. package/dist/types/platform-workbench/AssistantMarkdownContent.vue.d.ts +6 -0
  40. package/dist/types/platform-workbench/AssistantSelectionCard.vue.d.ts +15 -0
  41. package/dist/types/platform-workbench/Workbench.vue.d.ts +7 -2
  42. package/dist/types/platform-workbench/WorkbenchAssistantPanel.vue.d.ts +12 -0
  43. package/dist/types/platform-workbench/assistantMarkdown.d.ts +1 -0
  44. package/dist/types/platform-workbench/index.d.ts +1 -0
  45. package/dist/types/platform-workbench/workbenchAssistantCapabilities.d.ts +3 -0
  46. package/dist/types/views/BusinessLogRetentionControl.vue.d.ts +7 -0
  47. package/dist/types/views/businessLogClient.d.ts +3 -0
  48. package/dist/types/views/businessLogRetentionClient.d.ts +25 -0
  49. package/dist/types/views/metadataGovernanceAssistantSurface.d.ts +122 -0
  50. package/dist/types/views/metadataModelChangeSetClient.d.ts +36 -0
  51. package/dist/types/views/metadataNaming.d.ts +4 -0
  52. package/dist/types/views/runtimeLogSse.d.ts +3 -13
  53. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
  54. package/dist/types/web-contracts/assistant.d.ts +59 -0
  55. package/dist/types/web-contracts/index.d.ts +1 -0
  56. package/dist/types/web-core/assistantRuntime.d.ts +77 -0
  57. package/dist/types/web-core/assistantSurface.d.ts +92 -0
  58. package/dist/types/web-core/assistantTurnClient.d.ts +8 -0
  59. package/dist/types/web-core/index.d.ts +4 -0
  60. package/dist/types/web-core/sse.d.ts +9 -0
  61. package/dist/{workspaceViews-CCg6V0pr.js → workspaceViews-DijY4n32.js} +554 -554
  62. package/package.json +1 -1
  63. package/dist/BusinessLogListDrawer-BtaXVJKz.js +0 -564
  64. 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 { $n as n, An as r, At as i, Bn as a, Bt as o, Cn as s, Cr as c, Ct as l, Dn as u, En as d, Et as f, F as p, Fn as m, Gn as h, Hn as g, Ht as _, In as ee, It as te, Jn as ne, Jt as re, K as v, Kn as ie, Ln as ae, Mn as oe, Mt as se, Nn as ce, Nt as le, On as ue, P as de, Pn as fe, Pt as pe, Qn as me, Qt as he, Rn as ge, Sn as _e, Sr as ve, St as ye, Tn as be, U as xe, Un as Se, Vn as Ce, Vt as we, Wn as Te, Wt as Ee, Xn as De, Xt as Oe, Yn as ke, Yt as Ae, Zn as je, Zt as Me, _n as Ne, _r as Pe, ar as Fe, bn as Ie, br as Le, cr as Re, dn as ze, dr as Be, er as Ve, fr as He, gn as Ue, gr as We, hn as Ge, hr as Ke, ht as qe, ir as Je, jn as Ye, jt as Xe, kn as Ze, kt as Qe, lr as $e, mn as et, mr as tt, nr as nt, on as y, or as rt, pn as it, pr as at, qn as ot, rn as st, rr as ct, rt as lt, sr as ut, tn as dt, tr as ft, ur as pt, vn as mt, vr as ht, vt as gt, wn as _t, wt as vt, xn as yt, xr as bt, xt, yn as St, yr as Ct, yt as wt, zn as Tt } from "./platform-components-1cvOeHmo.js";
3
- import { n as Et, r as Dt, t as Ot } from "./http-B0TC0pJB.js";
4
- import { C as kt, S as At, _ as jt, b as Mt, d as Nt, f as Pt, g as Ft, h as It, l as Lt, m as Rt, p as zt, u as Bt, v as Vt, y as Ht } from "./workspaceViews-CCg6V0pr.js";
5
- import { $ as Ut, A as Wt, B as Gt, C as Kt, D as qt, E as Jt, F as b, G as x, H as S, I as Yt, J as Xt, K as Zt, L as Qt, M as $t, N as en, O as tn, P as nn, Q as rn, R as an, S as on, T as sn, U as cn, V as ln, W as un, X as dn, Y as fn, Z as pn, _ as mn, a as hn, at as gn, b as _n, c as vn, d as yn, et as bn, g as xn, h as Sn, i as Cn, it as wn, j as Tn, k as En, l as Dn, m as On, n as kn, nt as An, o as jn, ot as Mn, p as Nn, q as Pn, r as Fn, rt as In, s as Ln, st as Rn, t as zn, tt as Bn, u as Vn, v as Hn, w as Un, y as Wn, z as C } from "./platform-workbench-Cu14Xd9d.js";
6
- import { r as Gn } from "./moduleGovernanceWorkspaceView-4V_UW-Bt.js";
7
- import * as Kn from "vue";
8
- import { Fragment as qn, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createTextVNode as Jn, createVNode as k, defineAsyncComponent as A, defineComponent as j, normalizeClass as Yn, normalizeStyle as Xn, onBeforeUnmount as Zn, onMounted as Qn, openBlock as M, provide as $n, ref as N, renderList as er, renderSlot as tr, resolveDynamicComponent as nr, toDisplayString as P, unref as F, watch as rr, withCtx as I, withModifiers as ir } from "vue";
2
+ import { $n as n, $t as r, An as i, Ar as a, Bn as o, Cn as s, Cr as c, Dn as l, Dr as u, Dt as d, En as f, Er as p, Et as m, Fn as h, Fr as g, Ft as _, Gn as ee, Gt as te, Hn as ne, In as re, Ir as ie, It as v, Jn as ae, Kn as oe, Kt as se, Ln as ce, Lr as le, Lt as ue, Mn as de, Mr as fe, Mt as pe, N as me, Nn as he, Nr as ge, Nt as _e, On as ve, Or as ye, P as be, Pn as xe, Pr as Se, Pt as Ce, Qn as we, Rn as Te, Rr as Ee, Sn as De, Sr as Oe, St as ke, Tn as Ae, Tr as je, Tt as Me, Un as Ne, Vn as Pe, Vt as Fe, W as Ie, Wn as Le, Xn as Re, Yn as ze, Yt as Be, Zn as Ve, _r as He, ar as Ue, bn as We, br as Ge, cn as Ke, cr as qe, dn as y, dr as Je, en as Ye, er as Xe, fr as Ze, gn as Qe, gr as $e, hr as et, ir as tt, jn as nt, jr as rt, kn as it, kr as at, kt as ot, lr as st, mr as ct, nn as lt, nr as ut, on as dt, or as ft, ot as pt, pr as mt, q as ht, qn as gt, qt as _t, rn as vt, rr as yt, sr as bt, tn as xt, tr as St, ur as Ct, vn as wt, vr as Tt, vt as Et, wn as Dt, wr as Ot, wt as kt, xn as At, xr as jt, xt as Mt, yn as Nt, yr as Pt, zn as Ft, zr as It } from "./platform-components-Dt859Hbr.js";
3
+ import { i as Lt, n as Rt, r as zt, t as Bt } from "./sse-mGbuCAax.js";
4
+ import { $ as Vt, A as Ht, B as Ut, C as Wt, D as Gt, E as Kt, F as b, G as x, H as S, I as qt, J as Jt, K as Yt, L as Xt, M as Zt, N as Qt, O as $t, P as en, Q as tn, R as nn, S as rn, T as an, U as on, V as sn, W as cn, X as ln, Y as un, Z as dn, _ as fn, a as pn, at as mn, b as hn, c as gn, ct as _n, d as vn, et as yn, g as bn, h as xn, i as Sn, it as Cn, j as wn, k as Tn, l as En, lt as Dn, m as On, n as kn, nt as An, o as jn, ot as Mn, p as Nn, q as Pn, r as Fn, rt as In, s as Ln, st as Rn, t as zn, tt as Bn, u as Vn, v as Hn, w as Un, y as Wn, z as C } from "./platform-workbench-DfqFnlm-.js";
5
+ import { C as Gn, S as Kn, _ as qn, b as Jn, d as Yn, f as Xn, g as Zn, h as Qn, l as $n, m as er, p as tr, u as nr, v as rr, y as ir } from "./workspaceViews-DijY4n32.js";
6
+ import { r as ar } from "./moduleGovernanceWorkspaceView-BRgJbUjJ.js";
7
+ import * as or from "vue";
8
+ import { Fragment as sr, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createTextVNode as cr, createVNode as k, defineAsyncComponent as A, defineComponent as j, normalizeClass as lr, normalizeStyle as ur, onBeforeUnmount as dr, onMounted as fr, openBlock as M, provide as pr, ref as N, renderList as mr, renderSlot as hr, resolveDynamicComponent as gr, toDisplayString as P, unref as F, watch as _r, withCtx as I, withModifiers as vr } from "vue";
9
9
  //#region node_modules/@tanstack/query-core/build/modern/subscribable.js
10
- var ar = class {
10
+ var yr = 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
- }, or = new class extends ar {
24
+ }, br = new class extends yr {
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
- }(), sr = {
61
+ }(), xr = {
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
- }, cr = new class {
67
- #e = sr;
66
+ }, Sr = new class {
67
+ #e = xr;
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,33 +85,33 @@ var ar = class {
85
85
  this.#e.clearInterval(e);
86
86
  }
87
87
  }();
88
- function lr(e) {
88
+ function Cr(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 ur = typeof window > "u" || "Deno" in globalThis;
93
+ var wr = typeof window > "u" || "Deno" in globalThis;
94
94
  function L() {}
95
- function dr(e, t) {
95
+ function Tr(e, t) {
96
96
  return typeof e == "function" ? e(t) : e;
97
97
  }
98
- function fr(e) {
98
+ function Er(e) {
99
99
  return typeof e == "number" && e >= 0 && e !== Infinity;
100
100
  }
101
- function pr(e, t) {
101
+ function Dr(e, t) {
102
102
  return Math.max(e + (t || 0) - Date.now(), 0);
103
103
  }
104
- function mr(e, t) {
104
+ function Or(e, t) {
105
105
  return typeof e == "function" ? e(t) : e;
106
106
  }
107
- function hr(e, t) {
107
+ function kr(e, t) {
108
108
  return typeof e == "function" ? e(t) : e;
109
109
  }
110
- function gr(e, t) {
110
+ function Ar(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 !== vr(o, t.options)) return !1;
114
+ if (t.queryHash !== Mr(o, t.options)) return !1;
115
115
  } else if (!z(t.queryKey, o)) return !1;
116
116
  }
117
117
  if (n !== "all") {
@@ -120,7 +120,7 @@ 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 _r(e, t) {
123
+ function jr(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;
@@ -130,80 +130,80 @@ function _r(e, t) {
130
130
  }
131
131
  return !(r && t.state.status !== r || i && !i(t));
132
132
  }
133
- function vr(e, t) {
133
+ function Mr(e, t) {
134
134
  return (t?.queryKeyHashFn || R)(e);
135
135
  }
136
136
  function R(e) {
137
- return JSON.stringify(e, (e, t) => Sr(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
137
+ return JSON.stringify(e, (e, t) => Ir(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);
138
138
  }
139
139
  function z(e, t) {
140
140
  return e === t ? !0 : typeof e == typeof t && e && t && typeof e == "object" && typeof t == "object" ? Object.keys(t).every((n) => z(e[n], t[n])) : !1;
141
141
  }
142
- var yr = Object.prototype.hasOwnProperty;
143
- function br(e, t, n = 0) {
142
+ var Nr = Object.prototype.hasOwnProperty;
143
+ function Pr(e, t, n = 0) {
144
144
  if (e === t) return e;
145
145
  if (n > 500) return t;
146
- let r = xr(e) && xr(t);
147
- if (!r && !(Sr(e) && Sr(t))) return t;
146
+ let r = Fr(e) && Fr(t);
147
+ if (!r && !(Ir(e) && Ir(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 : yr.call(e, o)) && c++;
152
+ s[o] = u, (r ? l < i : Nr.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 = br(u, d, n + 1);
159
+ let f = Pr(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 xr(e) {
164
+ function Fr(e) {
165
165
  return Array.isArray(e) && e.length === Object.keys(e).length;
166
166
  }
167
- function Sr(e) {
168
- if (!Cr(e)) return !1;
167
+ function Ir(e) {
168
+ if (!Lr(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 !(!Cr(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
172
+ return !(!Lr(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);
173
173
  }
174
- function Cr(e) {
174
+ function Lr(e) {
175
175
  return Object.prototype.toString.call(e) === "[object Object]";
176
176
  }
177
- function wr(e) {
177
+ function Rr(e) {
178
178
  return new Promise((t) => {
179
- cr.setTimeout(t, e);
179
+ Sr.setTimeout(t, e);
180
180
  });
181
181
  }
182
- function Tr(e, t, n) {
182
+ function zr(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 br(e, t);
186
+ return Pr(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 br(e, t);
190
+ return Pr(e, t);
191
191
  }
192
192
  return t;
193
193
  }
194
- function Er(e, t, n = 0) {
194
+ function Br(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 Dr(e, t, n = 0) {
198
+ function Vr(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 Or = /* @__PURE__ */ Symbol();
203
- function kr(e, t) {
204
- return process.env.NODE_ENV !== "production" && e.queryFn === Or && 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 === Or ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
202
+ var Hr = /* @__PURE__ */ Symbol();
203
+ function Ur(e, t) {
204
+ return process.env.NODE_ENV !== "production" && e.queryFn === Hr && 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 === Hr ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;
205
205
  }
206
- function Ar(e, t, n) {
206
+ function Wr(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 jr = /* @__PURE__ */ (() => {
216
- let e = () => ur;
215
+ var Gr = /* @__PURE__ */ (() => {
216
+ let e = () => wr;
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 Mr() {
228
+ function Kr() {
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 Nr = lr;
251
- function Pr() {
250
+ var qr = Cr;
251
+ function Jr() {
252
252
  let e = [], t = 0, n = (e) => {
253
253
  e();
254
254
  }, r = (e) => {
255
255
  e();
256
- }, i = Nr, a = (r) => {
256
+ }, i = qr, 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 = Pr(), V = new class extends ar {
298
+ var B = Jr(), V = new class extends yr {
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 Fr(e) {
332
+ function Yr(e) {
333
333
  return Math.min(1e3 * 2 ** e, 3e4);
334
334
  }
335
- function Ir(e) {
335
+ function Xr(e) {
336
336
  return (e ?? "online") !== "online" || V.isOnline();
337
337
  }
338
- var Lr = class extends Error {
338
+ var Zr = 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 Rr(e) {
344
- let t = !1, n = 0, r, i = Mr(), a = () => i.status !== "pending", o = (t) => {
343
+ function Qr(e) {
344
+ let t = !1, n = 0, r, i = Kr(), a = () => i.status !== "pending", o = (t) => {
345
345
  if (!a()) {
346
- let n = new Lr(t);
346
+ let n = new Zr(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 = () => or.isFocused() && (e.networkMode === "always" || V.isOnline()) && e.canRun(), u = () => Ir(e.networkMode) && e.canRun(), d = (e) => {
353
+ }, l = () => br.isFocused() && (e.networkMode === "always" || V.isOnline()) && e.canRun(), u = () => Xr(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 ?? (jr.isServer() ? 0 : 3), o = e.retryDelay ?? Fr, s = typeof o == "function" ? o(n, r) : o, c = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);
373
+ let i = e.retry ?? (Gr.isServer() ? 0 : 3), o = e.retryDelay ?? Yr, 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), wr(s).then(() => l() ? void 0 : p()).then(() => {
378
+ n++, e.onFail?.(n, r), Rr(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 zr = class {
396
+ var $r = class {
397
397
  #e;
398
398
  destroy() {
399
399
  this.clearGcTimeout();
400
400
  }
401
401
  scheduleGc() {
402
- this.clearGcTimeout(), fr(this.gcTime) && (this.#e = cr.setTimeout(() => {
402
+ this.clearGcTimeout(), Er(this.gcTime) && (this.#e = Sr.setTimeout(() => {
403
403
  this.optionalRemove();
404
404
  }, this.gcTime));
405
405
  }
406
406
  updateGcTime(e) {
407
- this.gcTime = Math.max(this.gcTime || 0, e ?? (jr.isServer() ? Infinity : 3e5));
407
+ this.gcTime = Math.max(this.gcTime || 0, e ?? (Gr.isServer() ? Infinity : 3e5));
408
408
  }
409
409
  clearGcTimeout() {
410
- this.#e !== void 0 && (cr.clearTimeout(this.#e), this.#e = void 0);
410
+ this.#e !== void 0 && (Sr.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 Br(e) {
415
+ function ei(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
- Ar(e, () => t.signal, () => n = !0);
423
- }, u = kr(t.options, t.fetchOptions), d = async (e, r, i) => {
422
+ Wr(e, () => t.signal, () => n = !0);
423
+ }, u = Ur(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 ? Dr : Er;
435
+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? Vr : Br;
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 ? Hr : Vr, n = {
442
+ let e = i === "backward", t = e ? ni : ti, 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 : Vr(r, s);
450
+ let e = c === 0 ? o[0] ?? r.initialPageParam : ti(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 Vr(e, { pages: t, pageParams: n }) {
465
+ function ti(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 Hr(e, { pages: t, pageParams: n }) {
469
+ function ni(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 Ur = class extends zr {
474
+ var ri = class extends $r {
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 = Kr(this.options), this.state = e.state ?? this.#t, this.scheduleGc();
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 = oi(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 = Kr(this.options);
501
- e.data !== void 0 && (this.setState(Gr(e.data, e.dataUpdatedAt)), this.#t = e);
500
+ let e = oi(this.options);
501
+ e.data !== void 0 && (this.setState(ai(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 = Tr(this.state.data, e, this.options);
508
+ let n = zr(this.state.data, e, this.options);
509
509
  return this.#l({
510
510
  data: n,
511
511
  type: "success",
@@ -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) => hr(e.options.enabled, this) !== !1);
536
+ return this.observers.some((e) => kr(e.options.enabled, this) !== !1);
537
537
  }
538
538
  isDisabled() {
539
- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Or || !this.isFetched();
539
+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === Hr || !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) => mr(e.options.staleTime, this) === "static");
545
+ return this.getObserversCount() > 0 && this.observers.some((e) => Or(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 : !pr(this.state.dataUpdatedAt, e);
551
+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !Dr(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 = kr(this.options, t), n = (() => {
598
+ let e = Ur(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" ? Br(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({
618
+ (this.#e === "infinite" ? ei(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 = Rr({
621
+ }), this.#a = Qr({
622
622
  initialPromise: t?.initialPromise,
623
623
  fn: a.fetchFn,
624
624
  onCancel: (e) => {
625
- e instanceof Lr && e.revert && this.setState({
625
+ e instanceof Zr && 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 Lr) {
653
+ if (e instanceof Zr) {
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
- ...Wr(t.data, this.options),
686
+ ...ii(t.data, this.options),
687
687
  fetchMeta: e.meta ?? null
688
688
  };
689
689
  case "success":
690
690
  let n = {
691
691
  ...t,
692
- ...Gr(e.data, e.dataUpdatedAt),
692
+ ...ai(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 Wr(e, t) {
735
+ function ii(e, t) {
736
736
  return {
737
737
  fetchFailureCount: 0,
738
738
  fetchFailureReason: null,
739
- fetchStatus: Ir(t.networkMode) ? "fetching" : "paused",
739
+ fetchStatus: Xr(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 Gr(e, t) {
746
+ function ai(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 Kr(e) {
755
+ function oi(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 qr = class extends zr {
774
+ var si = class extends $r {
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 || Jr(), this.setOptions(e.options), this.scheduleGc();
780
+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || ci(), 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 = Rr({
816
+ this.#r = Qr({
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 Jr() {
944
+ function ci() {
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 Yr = class extends ar {
959
+ var li = class extends yr {
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 qr({
967
+ let r = new si({
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 = Xr(e);
978
+ let t = ui(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 = Xr(e);
990
+ let t = ui(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 = Xr(e);
1007
+ let t = ui(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 = Xr(e);
1015
+ let t = ui(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) => _r(t, e));
1036
+ return this.getAll().find((e) => jr(t, e));
1037
1037
  }
1038
1038
  findAll(e = {}) {
1039
- return this.getAll().filter((t) => _r(e, t));
1039
+ return this.getAll().filter((t) => jr(e, t));
1040
1040
  }
1041
1041
  notify(e) {
1042
1042
  B.batch(() => {
@@ -1050,19 +1050,19 @@ var Yr = class extends ar {
1050
1050
  return B.batch(() => Promise.all(e.map((e) => e.continue().catch(L))));
1051
1051
  }
1052
1052
  };
1053
- function Xr(e) {
1053
+ function ui(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 Zr = class extends ar {
1058
+ var di = class extends yr {
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 ?? vr(r, t), a = this.get(i);
1065
- return a || (a = new Ur({
1064
+ let r = t.queryKey, i = t.queryHash ?? Mr(r, t), a = this.get(i);
1065
+ return a || (a = new ri({
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) => gr(t, e));
1105
+ return this.getAll().find((e) => Ar(t, e));
1106
1106
  }
1107
1107
  findAll(e = {}) {
1108
1108
  let t = this.getAll();
1109
- return Object.keys(e).length > 0 ? t.filter((t) => gr(e, t)) : t;
1109
+ return Object.keys(e).length > 0 ? t.filter((t) => Ar(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
- }, Qr = class {
1132
+ }, fi = 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 Zr(), this.#t = e.mutationCache || new Yr(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;
1142
+ this.#e = e.queryCache || new di(), this.#t = e.mutationCache || new li(), 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 = or.subscribe(async (e) => {
1145
+ this.#a++, this.#a === 1 && (this.#o = br.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(mr(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));
1172
+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(Or(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 = dr(t, i);
1178
+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = Tr(t, i);
1179
1179
  if (a !== void 0) return this.#e.build(this, r).setData(a, {
1180
1180
  ...n,
1181
1181
  manual: !0
@@ -1234,7 +1234,7 @@ var Zr = class extends ar {
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(mr(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
1237
+ return n.isStaleByTime(Or(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
1238
1238
  }
1239
1239
  prefetchQuery(e) {
1240
1240
  return this.fetchQuery(e).then(L).catch(L);
@@ -1295,7 +1295,7 @@ var Zr = class extends ar {
1295
1295
  ...e,
1296
1296
  _defaulted: !0
1297
1297
  };
1298
- return t.queryHash ||= vr(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 === Or && (t.enabled = !1), t;
1298
+ return t.queryHash ||= Mr(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 === Hr && (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: () => Kn,
1312
+ Vue: () => or,
1313
1313
  Vue2: () => void 0,
1314
- del: () => ni,
1315
- install: () => ei,
1314
+ del: () => gi,
1315
+ install: () => mi,
1316
1316
  isVue2: () => !1,
1317
1317
  isVue3: () => !0,
1318
- set: () => ti
1318
+ set: () => hi
1319
1319
  });
1320
- import * as $r from "vue";
1321
- t(H, $r);
1322
- function ei() {}
1323
- function ti(e, t, n) {
1320
+ import * as pi from "vue";
1321
+ t(H, pi);
1322
+ function mi() {}
1323
+ function hi(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 ni(e, t) {
1326
+ function gi(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 ri = "VUE_QUERY_CLIENT";
1336
- function ii(e) {
1337
- return `${ri}${e ? `:${e}` : ""}`;
1335
+ var _i = "VUE_QUERY_CLIENT";
1336
+ function vi(e) {
1337
+ return `${_i}${e ? `:${e}` : ""}`;
1338
1338
  }
1339
- function ai(e, t, n = "", r = 0) {
1339
+ function yi(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) => ai(e, t, String(n), r + 1));
1345
- if (typeof e == "object" && si(e)) {
1346
- let n = Object.entries(e).map(([e, n]) => [e, ai(n, t, e, r + 1)]);
1344
+ if (Array.isArray(e)) return e.map((e, n) => yi(e, t, String(n), r + 1));
1345
+ if (typeof e == "object" && xi(e)) {
1346
+ let n = Object.entries(e).map(([e, n]) => [e, yi(n, t, e, r + 1)]);
1347
1347
  return Object.fromEntries(n);
1348
1348
  }
1349
1349
  return e;
1350
1350
  }
1351
- function oi(e, t) {
1352
- return ai(e, t);
1351
+ function bi(e, t) {
1352
+ return yi(e, t);
1353
1353
  }
1354
1354
  function U(e, t = !1) {
1355
- return oi(e, (e, n, r) => {
1355
+ return bi(e, (e, n, r) => {
1356
1356
  if (r === 1 && n === "queryKey") return U(e, !0);
1357
- if (t && ci(e)) return U(e(), t);
1357
+ if (t && Si(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 si(e) {
1361
+ function xi(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 ci(e) {
1366
+ function Si(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 li = class extends Zr {
1371
+ var Ci = class extends di {
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
- }, ui = class extends Yr {
1378
+ }, wi = class extends li {
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
- }, di = class extends Qr {
1385
+ }, Ti = class extends fi {
1386
1386
  constructor(e = {}) {
1387
1387
  let t = {
1388
1388
  defaultOptions: e.defaultOptions,
1389
- queryCache: e.queryCache || new li(),
1390
- mutationCache: e.mutationCache || new ui()
1389
+ queryCache: e.queryCache || new Ci(),
1390
+ mutationCache: e.mutationCache || new wi()
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 fi() {
1473
- return pi().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1472
+ function Ei() {
1473
+ return Di().__VUE_DEVTOOLS_GLOBAL_HOOK__;
1474
1474
  }
1475
- function pi() {
1475
+ function Di() {
1476
1476
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
1477
1477
  }
1478
- var mi = typeof Proxy == "function", hi = "devtools-plugin:setup", gi = "plugin:settings:set", W, _i;
1479
- function vi() {
1480
- return W === void 0 && (typeof window < "u" && window.performance ? (W = !0, _i = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (W = !0, _i = globalThis.perf_hooks.performance) : W = !1), W;
1478
+ var Oi = typeof Proxy == "function", ki = "devtools-plugin:setup", Ai = "plugin:settings:set", W, ji;
1479
+ function Mi() {
1480
+ return W === void 0 && (typeof window < "u" && window.performance ? (W = !0, ji = window.performance) : typeof globalThis < "u" && globalThis.perf_hooks?.performance ? (W = !0, ji = globalThis.perf_hooks.performance) : W = !1), W;
1481
1481
  }
1482
- function yi() {
1483
- return vi() ? _i.now() : Date.now();
1482
+ function Ni() {
1483
+ return Mi() ? ji.now() : Date.now();
1484
1484
  }
1485
1485
  //#endregion
1486
1486
  //#region node_modules/@vue/devtools-api/lib/esm/proxy.js
1487
- var bi = class {
1487
+ var Pi = 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 yi();
1508
+ return Ni();
1509
1509
  }
1510
- }, t && t.on(gi, (e, t) => {
1510
+ }, t && t.on(Ai, (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 xi(e, t) {
1538
- let n = e, r = pi(), i = fi(), a = mi && n.enableEarlyProxy;
1539
- if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(hi, e, t);
1537
+ function Fi(e, t) {
1538
+ let n = e, r = Di(), i = Ei(), a = Oi && n.enableEarlyProxy;
1539
+ if (i && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !a)) i.emit(ki, e, t);
1540
1540
  else {
1541
- let e = a ? new bi(n, i) : null;
1541
+ let e = a ? new Pi(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 Si = {
1551
+ var Ii = {
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
- }, Ci = Object.keys(Si).join("|"), wi = new RegExp(Ci, "g");
1952
- function Ti(e) {
1953
- return e.replace(wi, (e) => Si[e]);
1951
+ }, Li = Object.keys(Ii).join("|"), Ri = new RegExp(Li, "g");
1952
+ function zi(e) {
1953
+ return e.replace(Ri, (e) => Ii[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 Ei(e, t, n) {
1965
+ function Bi(e, t, n) {
1966
1966
  if (n ||= {}, n.threshold = n.threshold ?? G.MATCHES, !n.accessors) {
1967
- let r = Di(e, t, n);
1967
+ let r = Vi(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 = Mi(e, n.accessors), i = {
1976
+ let r = Ki(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 = Di(a.itemValue, t, n), { minRanking: s, maxRanking: c, threshold: l = n.threshold } = a.attributes;
1984
+ let a = r[e], o = Vi(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 Di(e, t, n) {
1990
- return e = Ai(e, n), t = Ai(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 : Oi(e).includes(t) ? G.ACRONYM : ki(e, t));
1989
+ function Vi(e, t, n) {
1990
+ return e = Wi(e, n), t = Wi(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 : Hi(e).includes(t) ? G.ACRONYM : Ui(e, t));
1991
1991
  }
1992
- function Oi(e) {
1992
+ function Hi(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 ki(e, t) {
2000
+ function Ui(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 Ai(e, t) {
2019
+ function Wi(e, t) {
2020
2020
  let { keepDiacritics: n } = t;
2021
- return e = `${e}`, n || (e = Ti(e)), e;
2021
+ return e = `${e}`, n || (e = zi(e)), e;
2022
2022
  }
2023
- function ji(e, t) {
2023
+ function Gi(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 Mi(e, t) {
2029
+ function Ki(e, t) {
2030
2030
  let n = [];
2031
2031
  for (let r = 0, i = t.length; r < i; r++) {
2032
- let i = t[r], a = Pi(i), o = ji(e, i);
2032
+ let i = t[r], a = Ji(i), o = Gi(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 Ni = {
2040
+ var qi = {
2041
2041
  maxRanking: Infinity,
2042
2042
  minRanking: -Infinity
2043
2043
  };
2044
- function Pi(e) {
2045
- return typeof e == "function" ? Ni : {
2046
- ...Ni,
2044
+ function Ji(e) {
2045
+ return typeof e == "function" ? qi : {
2046
+ ...qi,
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 Fi(e) {
2055
+ function Yi(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 Ii(e) {
2059
+ function Xi(e) {
2060
2060
  return K(e) === 2 ? 0 : 16777215;
2061
2061
  }
2062
- function Li(e) {
2062
+ function Zi(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 Ri = (e, t) => e.queryHash.localeCompare(t.queryHash), zi = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, Bi = {
2067
- "Status > Last Updated": (e, t) => K(e) === K(t) ? zi(e, t) : K(e) > K(t) ? 1 : -1,
2068
- "Query Hash": Ri,
2069
- "Last Updated": zi
2070
- }, q = "vue-query", Vi = "Vue Query";
2071
- function Hi(e, t) {
2072
- xi({
2066
+ var Qi = (e, t) => e.queryHash.localeCompare(t.queryHash), $i = (e, t) => e.state.dataUpdatedAt < t.state.dataUpdatedAt ? 1 : -1, ea = {
2067
+ "Status > Last Updated": (e, t) => K(e) === K(t) ? $i(e, t) : K(e) > K(t) ? 1 : -1,
2068
+ "Query Hash": Qi,
2069
+ "Last Updated": $i
2070
+ }, q = "vue-query", ta = "Vue Query";
2071
+ function na(e, t) {
2072
+ Fi({
2073
2073
  id: q,
2074
- label: Vi,
2074
+ label: ta,
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(Bi).map((e) => ({
2096
+ options: Object.keys(ea).map((e) => ({
2097
2097
  label: e,
2098
2098
  value: e
2099
2099
  })),
2100
- defaultValue: Object.keys(Bi)[0]
2100
+ defaultValue: Object.keys(ea)[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: Vi,
2122
+ label: ta,
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: Vi,
2182
+ label: ta,
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) => Ei(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => Bi[i.sortFn](e, t) * i.baseSort).map((e) => {
2207
- let t = Fi(e);
2206
+ t.rootNodes = (t.filter ? n.filter((e) => Bi(e.queryHash, t.filter).passed) : [...n]).sort((e, t) => ea[i.sortFn](e, t) * i.baseSort).map((e) => {
2207
+ let t = Yi(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: Ii(e),
2214
- backgroundColor: Li(e)
2213
+ textColor: Xi(e),
2214
+ backgroundColor: Zi(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: Fi(t)
2231
+ value: Yi(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 Ui = { install: (e, t = {}) => {
2258
- let n = ii(t.queryClientKey), r;
2259
- r = "queryClient" in t && t.queryClient ? t.queryClient : new di("queryClientConfig" in t ? t.queryClientConfig : void 0), jr.isServer() || r.mount();
2257
+ var ra = { install: (e, t = {}) => {
2258
+ let n = vi(t.queryClientKey), r;
2259
+ r = "queryClient" in t && t.queryClient ? t.queryClient : new Ti("queryClientConfig" in t ? t.queryClientConfig : void 0), Gr.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 && Hi(e, r);
2278
+ e.provide(n, r), process.env.NODE_ENV === "development" && t.enableDevtoolsV6Plugin && na(e, r);
2279
2279
  } };
2280
2280
  //#endregion
2281
2281
  //#region src/web-core/query.ts
2282
- function Wi() {
2283
- return new di({ defaultOptions: { queries: {
2282
+ function ia() {
2283
+ return new Ti({ defaultOptions: { queries: {
2284
2284
  staleTime: 3e4,
2285
2285
  refetchOnWindowFocus: !1
2286
2286
  } } });
2287
2287
  }
2288
- var Gi = {
2288
+ var aa = {
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 Ki(e, t) {
2314
+ function oa(e, t) {
2315
2315
  return e.request({
2316
2316
  method: "POST",
2317
2317
  path: `/${encodeURIComponent(t.moduleAlias)}/${encodeURIComponent(t.actionCode)}/${encodeURIComponent(t.recordId)}`,
@@ -2320,67 +2320,67 @@ function Ki(e, t) {
2320
2320
  }
2321
2321
  //#endregion
2322
2322
  //#region src/platform-admin-runtime/platformAdminRoutes.ts
2323
- var qi = A(() => import("./workspaceViews-CCg6V0pr.js").then((e) => e.n)), Ji = A(() => import("./BusinessActivityLogView-UC4rH4Fn.js")), Yi = A(() => import("./RequestErrorLogView-WnGvMWiF.js")), Xi = A(() => import("./LoginAuditLogView-Cjrp8MKX.js")), J = [
2323
+ var sa = A(() => import("./workspaceViews-DijY4n32.js").then((e) => e.n)), ca = A(() => import("./BusinessActivityLogView-BUg5WTm-.js")), la = A(() => import("./RequestErrorLogView-BrtH3ptj.js")), ua = A(() => import("./LoginAuditLogView-DBNtvmIy.js")), J = [
2324
2324
  {
2325
2325
  route: "/platform/logs/runtime",
2326
2326
  moduleAlias: "platform.runtime_log",
2327
- component: A(() => import("./RuntimeLogView-BRl4ZDkU.js")),
2327
+ component: A(() => import("./RuntimeLogView-s3X5CdHB.js")),
2328
2328
  layout: "workspace"
2329
2329
  },
2330
2330
  {
2331
2331
  route: "/platform/logs/activity",
2332
2332
  moduleAlias: "platform.business_activity_log",
2333
- component: Ji,
2333
+ component: ca,
2334
2334
  layout: "workspace"
2335
2335
  },
2336
2336
  {
2337
2337
  route: "/platform/logs/errors",
2338
2338
  moduleAlias: "platform.request_error_log",
2339
- component: Yi,
2339
+ component: la,
2340
2340
  layout: "workspace"
2341
2341
  },
2342
2342
  {
2343
2343
  route: "/iam/logs/login",
2344
2344
  moduleAlias: "iam.login_audit_log",
2345
- component: Xi,
2345
+ component: ua,
2346
2346
  layout: "workspace"
2347
2347
  },
2348
2348
  {
2349
2349
  route: "/iam/role/authorization",
2350
2350
  moduleAlias: "iam.role",
2351
- component: qi,
2351
+ component: sa,
2352
2352
  layout: "workspace",
2353
2353
  menuEntry: !1
2354
2354
  }
2355
- ], Zi = Array.from(/* @__PURE__ */ new Set(["/_platform/workspace", ...J.map((e) => e.route)])), Qi = Object.fromEntries(J.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), $i = Object.fromEntries(J.map((e) => [e.route, e.layout]));
2356
- function ea(e) {
2357
- if (e) return J.find((t) => na(t, e.target));
2355
+ ], da = Array.from(/* @__PURE__ */ new Set(["/_platform/workspace", ...J.map((e) => e.route)])), fa = Object.fromEntries(J.filter((e) => e.menuEntry !== !1).map((e) => [e.moduleAlias, e.route])), pa = Object.fromEntries(J.map((e) => [e.route, e.layout]));
2356
+ function ma(e) {
2357
+ if (e) return J.find((t) => ga(t, e.target));
2358
2358
  }
2359
- function ta(e) {
2360
- return e?.pageType === "business-route" && !!ea(e);
2359
+ function ha(e) {
2360
+ return e?.pageType === "business-route" && !!ma(e);
2361
2361
  }
2362
- function na(e, t) {
2363
- return t.route ? ra(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
2362
+ function ga(e, t) {
2363
+ return t.route ? _a(e.route, t.route) && (t.moduleAlias === void 0 || t.moduleAlias === e.moduleAlias) : t.moduleAlias === e.moduleAlias;
2364
2364
  }
2365
- function ra(e, t) {
2365
+ function _a(e, t) {
2366
2366
  let n = e.split("/").filter(Boolean), r = t.split("/").filter(Boolean);
2367
2367
  return n.length === r.length && n.every((e, t) => e.startsWith(":") || e === r[t]);
2368
2368
  }
2369
2369
  //#endregion
2370
2370
  //#region src/app/pageRouteContext.ts
2371
- var ia = Symbol("page-route");
2372
- function aa(e) {
2373
- $n(ia, w(e));
2371
+ var va = Symbol("page-route");
2372
+ function ya(e) {
2373
+ pr(va, w(e));
2374
2374
  }
2375
2375
  //#endregion
2376
2376
  //#region src/platform-admin-runtime/PlatformAdminOutlet.vue
2377
- var oa = /* @__PURE__ */ j({
2377
+ var ba = /* @__PURE__ */ j({
2378
2378
  name: "PlatformAdminRouteOutlet",
2379
2379
  __name: "PlatformAdminOutlet",
2380
2380
  props: { descriptor: {} },
2381
2381
  setup(e) {
2382
- let t = e, n = w(() => ea(t.descriptor)), r = w(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = w(() => t.descriptor.target.query?.workspacePresentation);
2383
- qe(w(() => t.descriptor.layout ?? n.value?.layout)), aa(() => {
2382
+ let t = e, n = w(() => ma(t.descriptor)), r = w(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = w(() => t.descriptor.target.query?.workspacePresentation);
2383
+ Et(w(() => t.descriptor.layout ?? n.value?.layout)), ya(() => {
2384
2384
  let e = n.value?.route ?? t.descriptor.target.route ?? "", r = t.descriptor.target.route ?? e;
2385
2385
  return {
2386
2386
  path: r,
@@ -2396,22 +2396,22 @@ var oa = /* @__PURE__ */ j({
2396
2396
  e.startsWith(":") && i[t] && (n[e.slice(1)] = i[t]);
2397
2397
  }), n;
2398
2398
  }
2399
- return (t, a) => n.value && r.value ? (M(), T(F(et), {
2399
+ return (t, a) => n.value && r.value ? (M(), T(F(Nt), {
2400
2400
  key: 0,
2401
2401
  "module-alias": r.value
2402
2402
  }, {
2403
- default: I(() => [i.value === "drawer" || i.value === "tab" ? (M(), T(F(hn), {
2403
+ default: I(() => [i.value === "drawer" || i.value === "tab" ? (M(), T(F(pn), {
2404
2404
  key: 0,
2405
2405
  descriptor: e.descriptor
2406
- }, null, 8, ["descriptor"])) : (M(), T(nr(n.value.component), { key: 1 }))]),
2406
+ }, null, 8, ["descriptor"])) : (M(), T(gr(n.value.component), { key: 1 }))]),
2407
2407
  _: 1
2408
2408
  }, 8, ["module-alias"])) : E("v-if", !0);
2409
2409
  }
2410
- }), sa = /^\/openapi\/([a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)+)\/?$/;
2411
- function ca(e) {
2412
- return sa.exec(e)?.[1];
2410
+ }), xa = /^\/openapi\/([a-z][a-z0-9_]*(?:\.[a-z][a-z0-9_]*)+)\/?$/;
2411
+ function Sa(e) {
2412
+ return xa.exec(e)?.[1];
2413
2413
  }
2414
- function la(e, t) {
2414
+ function Ca(e, t) {
2415
2415
  return {
2416
2416
  pageType: "platform-route",
2417
2417
  openMode: "workbench-route",
@@ -2428,7 +2428,7 @@ function la(e, t) {
2428
2428
  }
2429
2429
  };
2430
2430
  }
2431
- function ua() {
2431
+ function wa() {
2432
2432
  return {
2433
2433
  pageType: "platform-route",
2434
2434
  openMode: "workbench-route",
@@ -2442,20 +2442,20 @@ function ua() {
2442
2442
  }
2443
2443
  };
2444
2444
  }
2445
- function da(e) {
2445
+ function Ta(e) {
2446
2446
  if (e?.pageType !== "platform-route" || !("route" in e.target)) return !1;
2447
- let t = ca(e.target.route ?? "");
2447
+ let t = Sa(e.target.route ?? "");
2448
2448
  return t !== void 0 && e.target.moduleAlias === t;
2449
2449
  }
2450
- function fa(e) {
2450
+ function Ea(e) {
2451
2451
  return e === "/openapi" || e === "/openapi/";
2452
2452
  }
2453
2453
  //#endregion
2454
2454
  //#region src/app/workbenchStartup.ts
2455
- function pa(e, t, n, r = {}) {
2456
- let i = $t(t, n, r), a = e.find((e) => e.key === i.key);
2455
+ function Da(e, t, n, r = {}) {
2456
+ let i = Zt(t, n, r), a = e.find((e) => e.key === i.key);
2457
2457
  if (a) {
2458
- let o = a.pageDescriptor ? Pa(t, n, a.pageDescriptor, r) : i;
2458
+ let o = a.pageDescriptor ? Ja(t, n, a.pageDescriptor, r) : i;
2459
2459
  return {
2460
2460
  tabs: e.map((e) => e.key === i.key ? o : e),
2461
2461
  activeTabKey: i.key
@@ -2466,7 +2466,7 @@ function pa(e, t, n, r = {}) {
2466
2466
  activeTabKey: i.key
2467
2467
  };
2468
2468
  }
2469
- function ma(e, t, n = {}) {
2469
+ function Oa(e, t, n = {}) {
2470
2470
  let r = X(x(t), n), i = e.find((e) => e.key === r.key || r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && S(e.pageDescriptor) === S(r.pageDescriptor));
2471
2471
  return i ? {
2472
2472
  tabs: e,
@@ -2478,48 +2478,48 @@ function ma(e, t, n = {}) {
2478
2478
  created: !0
2479
2479
  };
2480
2480
  }
2481
- function ha(e, t, n = {}) {
2482
- return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : C(ln(t, {
2481
+ function ka(e, t, n = {}) {
2482
+ return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : C(sn(t, {
2483
2483
  ...n,
2484
2484
  title: e.title
2485
2485
  }), n);
2486
2486
  }
2487
- function ga(e) {
2487
+ function Aa(e) {
2488
2488
  let t = (e.tabs ?? []).find((t) => t.key === e.activeTabKey);
2489
2489
  if (t?.fullPath) return t.fullPath;
2490
- let n = t?.pageDescriptor ?? (t?.target ? ln(t.target, { title: t.title }) : void 0);
2491
- return n?.pageType === "platform-route" && da(n) && n.target.route ? n.target.route : n ? C(n) : void 0;
2490
+ let n = t?.pageDescriptor ?? (t?.target ? sn(t.target, { title: t.title }) : void 0);
2491
+ return n?.pageType === "platform-route" && Ta(n) && n.target.route ? n.target.route : n ? C(n) : void 0;
2492
2492
  }
2493
- function _a(e, t, n = {}, r = !1) {
2493
+ function ja(e, t, n = {}, r = !1) {
2494
2494
  if (t === "/" || t === "") return e;
2495
- let i = t.split(/[?#]/, 1)[0] ?? "", a = ca(i), o = a ? la(a) : fa(i) ? ua() : un(t, n);
2495
+ let i = t.split(/[?#]/, 1)[0] ?? "", a = Sa(i), o = a ? Ca(a) : Ea(i) ? wa() : cn(t, n);
2496
2496
  if (!o) return e;
2497
- let s = o.menuId ? Va(e.menus, o.menuId) : void 0, c = s ? b(s) : void 0, l = s && c && xa(c, o) ? {
2497
+ let s = o.menuId ? to(e.menus, o.menuId) : void 0, c = s ? b(s) : void 0, l = s && c && Fa(c, o) ? {
2498
2498
  ...o,
2499
2499
  title: s.title
2500
- } : o, u = ba(l), d = u ?? l, f = e.tabs ?? [], p = u ? ya(f, u) : void 0, m = u ? va(u, p) : r ? x(d) : d, h = s && za(s, m, n) ? s : Ra(e.menus, m, n), g = h === s ? c : h ? b(h) : void 0, _ = u ? X(m, n) : h && g && Yt(g) ? Pa(h, g, m, n) : X(m, n), ee = Na(f, _);
2500
+ } : o, u = Pa(l), d = u ?? l, f = e.tabs ?? [], p = u ? Na(f, u) : void 0, m = u ? Ma(u, p) : r ? x(d) : d, h = s && $a(s, m, n) ? s : Qa(e.menus, m, n), g = h === s ? c : h ? b(h) : void 0, _ = u ? X(m, n) : h && g && qt(g) ? Ja(h, g, m, n) : X(m, n), ee = qa(f, _);
2501
2501
  return {
2502
2502
  ...e,
2503
2503
  tabs: ee,
2504
2504
  activeTabKey: _.key
2505
2505
  };
2506
2506
  }
2507
- function va(e, t) {
2507
+ function Ma(e, t) {
2508
2508
  return t?.instanceKey ? x(e, t.instanceKey) : t ? e : x(e);
2509
2509
  }
2510
- function ya(e, t) {
2510
+ function Na(e, t) {
2511
2511
  let n = S(t);
2512
2512
  return e.find((e) => e.pageDescriptor?.pageType === "business-route" && S(e.pageDescriptor) === n);
2513
2513
  }
2514
- function ba(e) {
2514
+ function Pa(e) {
2515
2515
  if (e.pageType !== "business-route") return;
2516
- let t = dn(e);
2516
+ let t = ln(e);
2517
2517
  return t ? Pn(t.view, t.input, t.presentation, e.title) : void 0;
2518
2518
  }
2519
- function xa(e, t) {
2519
+ function Fa(e, t) {
2520
2520
  return t.pageType === "dynamic-module" && e.menuType === "module" && e.moduleAlias === t.target.moduleAlias;
2521
2521
  }
2522
- function Sa(e, t, n) {
2522
+ function Ia(e, t, n) {
2523
2523
  let r = e.findIndex((e) => e.key === n);
2524
2524
  if (r < 0) return {
2525
2525
  tabs: e,
@@ -2534,7 +2534,7 @@ function Sa(e, t, n) {
2534
2534
  activeTabKey: t
2535
2535
  };
2536
2536
  }
2537
- function Ca(e, t, n) {
2537
+ function La(e, t, n) {
2538
2538
  let r = new Set(n), i = e.findIndex((e) => e.key === t), a = e.filter((e) => !r.has(e.key) || e.closable === !1);
2539
2539
  return !t || !r.has(t) ? {
2540
2540
  tabs: a,
@@ -2544,16 +2544,16 @@ function Ca(e, t, n) {
2544
2544
  activeTabKey: (a.find((t) => e.indexOf(t) > i) ?? a.at(-1))?.key
2545
2545
  };
2546
2546
  }
2547
- function wa(e, t, n = !0) {
2547
+ function Ra(e, t, n = !0) {
2548
2548
  let r = new Map(e.map((e) => [e.key, e])), i = /* @__PURE__ */ new Set();
2549
2549
  return [...t.flatMap((e) => {
2550
2550
  if (i.has(e.key)) return [];
2551
2551
  i.add(e.key);
2552
2552
  let t = r.get(e.key);
2553
- return t ? [Ta(t, e)] : n ? [e] : [];
2553
+ return t ? [za(t, e)] : n ? [e] : [];
2554
2554
  }), ...e.filter((e) => !i.has(e.key))];
2555
2555
  }
2556
- function Ta(e, t) {
2556
+ function za(e, t) {
2557
2557
  let n = e.pageDescriptor, r = t.pageDescriptor;
2558
2558
  if (!n || !r || !t.target) return e;
2559
2559
  let i = {
@@ -2568,48 +2568,48 @@ function Ta(e, t) {
2568
2568
  target: t.target
2569
2569
  };
2570
2570
  }
2571
- function Ea(e, t, n = {}) {
2571
+ function Ba(e, t, n = {}) {
2572
2572
  let r = /* @__PURE__ */ new Map();
2573
- Aa(t, r);
2573
+ Wa(t, r);
2574
2574
  let i = /* @__PURE__ */ new Set();
2575
2575
  return e.flatMap((e) => {
2576
- let t = e.pageDescriptor?.menuId ?? e.target?.menuId ?? Da(e.key);
2576
+ let t = e.pageDescriptor?.menuId ?? e.target?.menuId ?? Va(e.key);
2577
2577
  if (t) {
2578
2578
  if (i.has(t)) return [];
2579
2579
  let e = r.get(t);
2580
- return e ? (i.add(t), [$t(e.menu, e.target, n)]) : [];
2580
+ return e ? (i.add(t), [Zt(e.menu, e.target, n)]) : [];
2581
2581
  }
2582
- let a = Oa(e);
2582
+ let a = Ha(e);
2583
2583
  return !a || i.has(a.key) ? [] : (i.add(a.key), [a]);
2584
2584
  });
2585
2585
  }
2586
- function Da(e) {
2586
+ function Va(e) {
2587
2587
  return e.startsWith("menu:") && e.slice(5) || void 0;
2588
2588
  }
2589
- function Oa(e) {
2589
+ function Ha(e) {
2590
2590
  let t = e.pageDescriptor;
2591
2591
  if (t?.pageType !== "business-route") return;
2592
- let n = dn(t);
2592
+ let n = ln(t);
2593
2593
  if (n && n.presentation === "tab") return X(Pn(n.view, n.input, "tab"));
2594
2594
  }
2595
- function ka(e, t) {
2595
+ function Ua(e, t) {
2596
2596
  let n = e.findIndex((e) => e.key === t.key);
2597
2597
  return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
2598
2598
  }
2599
- function Aa(e, t) {
2599
+ function Wa(e, t) {
2600
2600
  for (let n of e) {
2601
2601
  let e = b(n.record);
2602
- e && Yt(e) && t.set(n.record.id, {
2602
+ e && qt(e) && t.set(n.record.id, {
2603
2603
  menu: n.record,
2604
2604
  target: e
2605
- }), Aa(n.children, t);
2605
+ }), Wa(n.children, t);
2606
2606
  }
2607
2607
  }
2608
2608
  function Y(e, t) {
2609
2609
  let n = new Set(t);
2610
2610
  return e.filter((e) => !n.has(e.key));
2611
2611
  }
2612
- function ja(e, t, n = []) {
2612
+ function Ga(e, t, n = []) {
2613
2613
  if (e.length !== t.length || new Set(t).size !== e.length) return e;
2614
2614
  let r = new Map(e.map((e) => [e.key, e]));
2615
2615
  if (t.some((e) => !r.has(e))) return e;
@@ -2619,25 +2619,25 @@ function ja(e, t, n = []) {
2619
2619
  function X(e, t = {}) {
2620
2620
  let n = C(e, t);
2621
2621
  return {
2622
- ...Ma(e) ? { instanceKey: Ma(e) } : {},
2623
- key: cn(e),
2624
- title: e.title ?? La(e),
2622
+ ...Ka(e) ? { instanceKey: Ka(e) } : {},
2623
+ key: on(e),
2624
+ title: e.title ?? Za(e),
2625
2625
  fullPath: n,
2626
2626
  pageDescriptor: e,
2627
2627
  restoreState: { url: n },
2628
2628
  closable: !0
2629
2629
  };
2630
2630
  }
2631
- function Ma(e) {
2631
+ function Ka(e) {
2632
2632
  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
2633
  return typeof n == "string" && n ? n : void 0;
2634
2634
  }
2635
- function Na(e, t) {
2635
+ function qa(e, t) {
2636
2636
  let n = e.findIndex((e) => e.key === t.key);
2637
2637
  return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
2638
2638
  }
2639
- function Pa(e, t, n, r) {
2640
- let i = $t(e, t, r), a = i.pageDescriptor ?? n, o = Fa(n) && Fa(a) || Ia(n) && Ia(a) ? {
2639
+ function Ja(e, t, n, r) {
2640
+ let i = Zt(e, t, r), a = i.pageDescriptor ?? n, o = Ya(n) && Ya(a) || Xa(n) && Xa(a) ? {
2641
2641
  ...n,
2642
2642
  title: n.title ?? e.title,
2643
2643
  menuId: e.id,
@@ -2658,61 +2658,61 @@ function Pa(e, t, n, r) {
2658
2658
  target: t
2659
2659
  };
2660
2660
  }
2661
- function Fa(e) {
2661
+ function Ya(e) {
2662
2662
  return e.pageType === "platform-route" || e.pageType === "business-route";
2663
2663
  }
2664
- function Ia(e) {
2664
+ function Xa(e) {
2665
2665
  return e.pageType === "remote-url" || e.pageType === "external-link";
2666
2666
  }
2667
- function La(e) {
2667
+ function Za(e) {
2668
2668
  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
2669
  }
2670
- function Ra(e, t, n) {
2670
+ function Qa(e, t, n) {
2671
2671
  for (let r of e) {
2672
- if (za(r.record, t, n)) return r.record;
2673
- let e = Ra(r.children, t, n);
2672
+ if ($a(r.record, t, n)) return r.record;
2673
+ let e = Qa(r.children, t, n);
2674
2674
  if (e) return e;
2675
2675
  }
2676
2676
  }
2677
- function za(e, t, n) {
2678
- let r = b(e), i = r ? ln(r, {
2677
+ function $a(e, t, n) {
2678
+ let r = b(e), i = r ? sn(r, {
2679
2679
  ...n,
2680
2680
  title: e.title
2681
2681
  }) : void 0;
2682
- return i ? Ba(i, t) : !1;
2682
+ return i ? eo(i, t) : !1;
2683
2683
  }
2684
- function Ba(e, t) {
2684
+ function eo(e, t) {
2685
2685
  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
2686
  }
2687
- function Va(e, t) {
2687
+ function to(e, t) {
2688
2688
  for (let n of e) {
2689
2689
  if (n.record.id === t) return n.record;
2690
- let e = Va(n.children, t);
2690
+ let e = to(n.children, t);
2691
2691
  if (e) return e;
2692
2692
  }
2693
2693
  }
2694
2694
  //#endregion
2695
2695
  //#region src/app/workbenchSessionTabs.ts
2696
- function Ha(e) {
2696
+ function no(e) {
2697
2697
  if (!Array.isArray(e)) return [];
2698
2698
  let t = /* @__PURE__ */ new Set();
2699
- return e.flatMap((e) => !Ua(e) || t.has(e.key) ? [] : (t.add(e.key), [e]));
2699
+ return e.flatMap((e) => !ro(e) || t.has(e.key) ? [] : (t.add(e.key), [e]));
2700
2700
  }
2701
- function Ua(e) {
2701
+ function ro(e) {
2702
2702
  let t = e;
2703
- return Z(e) && typeof t.key == "string" && typeof t.title == "string" && (Wa(t.pageDescriptor) || Ka(t.target));
2703
+ return Z(e) && typeof t.key == "string" && typeof t.title == "string" && (io(t.pageDescriptor) || oo(t.target));
2704
2704
  }
2705
- function Wa(e) {
2705
+ function io(e) {
2706
2706
  return !Z(e) || !Z(e.target) || !Z(e.tabPolicy) || ![
2707
2707
  "by-menu",
2708
2708
  "by-target",
2709
2709
  "by-params"
2710
- ].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" && Ga(e.target) : e.pageType === "business-route" ? e.openMode === "workbench-route" && e.hostType === "business-route-host" && Ga(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";
2710
+ ].includes(String(e.tabPolicy.identity)) ? !1 : e.pageType === "platform-route" ? e.openMode === "workbench-route" && e.hostType === "platform-route-host" && ao(e.target) : e.pageType === "business-route" ? e.openMode === "workbench-route" && e.hostType === "business-route-host" && ao(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
2711
  }
2712
- function Ga(e) {
2712
+ function ao(e) {
2713
2713
  return typeof e.route == "string" || typeof e.routeName == "string" || typeof e.pageKey == "string";
2714
2714
  }
2715
- function Ka(e) {
2715
+ function oo(e) {
2716
2716
  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
2717
  }
2718
2718
  function Z(e) {
@@ -2720,24 +2720,24 @@ function Z(e) {
2720
2720
  }
2721
2721
  //#endregion
2722
2722
  //#region src/app/lockedTabPreference.ts
2723
- var qa = "workbench.locked-tabs";
2724
- async function Ja(e) {
2725
- return Xa(await e.restore(qa, [], { persistence: "backend" }));
2723
+ var so = "workbench.locked-tabs";
2724
+ async function co(e) {
2725
+ return uo(await e.restore(so, [], { persistence: "backend" }));
2726
2726
  }
2727
- async function Ya(e, t) {
2728
- await e.set(qa, t, { persistence: "backend" });
2727
+ async function lo(e, t) {
2728
+ await e.set(so, t, { persistence: "backend" });
2729
2729
  }
2730
- function Xa(e) {
2731
- return Ha(e);
2730
+ function uo(e) {
2731
+ return no(e);
2732
2732
  }
2733
2733
  //#endregion
2734
2734
  //#region src/consumer/PlatformAdminOutlet.vue
2735
- var Za = /* @__PURE__ */ j({
2735
+ var fo = /* @__PURE__ */ j({
2736
2736
  name: "PlatformAdminOutlet",
2737
2737
  __name: "PlatformAdminOutlet",
2738
2738
  props: { descriptor: {} },
2739
2739
  setup(e) {
2740
- return (t, n) => F(ta)(e.descriptor) ? (M(), T(oa, {
2740
+ return (t, n) => F(ha)(e.descriptor) ? (M(), T(ba, {
2741
2741
  key: 0,
2742
2742
  descriptor: e.descriptor
2743
2743
  }, null, 8, ["descriptor"])) : (M(), T(Fn, {
@@ -2748,8 +2748,8 @@ var Za = /* @__PURE__ */ j({
2748
2748
  });
2749
2749
  //#endregion
2750
2750
  //#region src/app/workbenchRouteSync.ts
2751
- function Qa(e, t, n) {
2752
- let r = ga(e) ?? "/";
2751
+ function po(e, t, n) {
2752
+ let r = Aa(e) ?? "/";
2753
2753
  return r === t ? void 0 : {
2754
2754
  url: r,
2755
2755
  mode: n
@@ -2757,7 +2757,7 @@ function Qa(e, t, n) {
2757
2757
  }
2758
2758
  //#endregion
2759
2759
  //#region src/consumer/AppWorkbenchShell.vue
2760
- var $a = /* @__PURE__ */ j({
2760
+ var mo = /* @__PURE__ */ j({
2761
2761
  name: "AppWorkbenchShell",
2762
2762
  __name: "AppWorkbenchShell",
2763
2763
  props: {
@@ -2784,7 +2784,7 @@ var $a = /* @__PURE__ */ j({
2784
2784
  ],
2785
2785
  setup(e, { emit: t }) {
2786
2786
  let n = e, r = t, i = w(() => n.startup.activeTabKey), a = N([]), o = 0, s = Promise.resolve(), c = !1;
2787
- vn({
2787
+ gn({
2788
2788
  refreshMenus: n.loadMenus ? async () => {
2789
2789
  let e = n.startup.session, t = await n.loadMenus();
2790
2790
  if (!c || e !== n.startup.session) throw Error("登录状态已变化,请重试");
@@ -2798,26 +2798,26 @@ var $a = /* @__PURE__ */ j({
2798
2798
  t && u(e, t);
2799
2799
  },
2800
2800
  openRoute: te,
2801
- replaceRoute: ne,
2802
- closeCurrentTab: re,
2801
+ replaceRoute: re,
2802
+ closeCurrentTab: ie,
2803
2803
  openPage: ee,
2804
2804
  replacePage: oe,
2805
2805
  closePage: f,
2806
- setTabName: ie
2807
- }), Qn(() => {
2808
- c = !0, Cn(), le(), ce(n.location);
2809
- }), Zn(() => {
2806
+ setTabName: ae
2807
+ }), fr(() => {
2808
+ c = !0, Sn(), le(), ce(n.location);
2809
+ }), dr(() => {
2810
2810
  c = !1;
2811
- }), rr(() => n.location, (e) => ce(e));
2811
+ }), _r(() => n.location, (e) => ce(e));
2812
2812
  function l(e, t = void 0) {
2813
2813
  r("update:startup", e), t && se(e, t);
2814
2814
  }
2815
2815
  function u(e, t) {
2816
2816
  if (t.openMode === "window") {
2817
- window.open(ha(e, t), "_blank", "noopener,noreferrer");
2817
+ window.open(ka(e, t), "_blank", "noopener,noreferrer");
2818
2818
  return;
2819
2819
  }
2820
- let r = pa(n.startup.tabs ?? [], e, t, n.resolveOptions);
2820
+ let r = Da(n.startup.tabs ?? [], e, t, n.resolveOptions);
2821
2821
  l({
2822
2822
  ...n.startup,
2823
2823
  tabs: r.tabs,
@@ -2831,7 +2831,7 @@ var $a = /* @__PURE__ */ j({
2831
2831
  }, "push");
2832
2832
  }
2833
2833
  function f(e) {
2834
- let t = Sa(n.startup.tabs ?? [], n.startup.activeTabKey, e);
2834
+ let t = Ia(n.startup.tabs ?? [], n.startup.activeTabKey, e);
2835
2835
  a.value.some((t) => t.key === e) && g(Y(a.value, [e])), l({
2836
2836
  ...n.startup,
2837
2837
  tabs: t.tabs,
@@ -2839,7 +2839,7 @@ var $a = /* @__PURE__ */ j({
2839
2839
  }, "replace");
2840
2840
  }
2841
2841
  function p(e) {
2842
- let t = Ca(n.startup.tabs ?? [], n.startup.activeTabKey, e), r = e.filter((e) => a.value.some((t) => t.key === e));
2842
+ let t = La(n.startup.tabs ?? [], n.startup.activeTabKey, e), r = e.filter((e) => a.value.some((t) => t.key === e));
2843
2843
  r.length > 0 && g(Y(a.value, r)), l({
2844
2844
  ...n.startup,
2845
2845
  tabs: t.tabs,
@@ -2847,7 +2847,7 @@ var $a = /* @__PURE__ */ j({
2847
2847
  }, "replace");
2848
2848
  }
2849
2849
  function m(e) {
2850
- let t = ja(n.startup.tabs ?? [], e, a.value.map((e) => e.key)), r = t.filter((e) => a.value.some((t) => t.key === e.key));
2850
+ let t = Ga(n.startup.tabs ?? [], e, a.value.map((e) => e.key)), r = t.filter((e) => a.value.some((t) => t.key === e.key));
2851
2851
  r.map((e) => e.key).join("|") !== a.value.map((e) => e.key).join("|") && g(r), l({
2852
2852
  ...n.startup,
2853
2853
  tabs: t
@@ -2856,10 +2856,10 @@ var $a = /* @__PURE__ */ j({
2856
2856
  function h(e) {
2857
2857
  let t = n.startup.tabs?.find((t) => t.key === e);
2858
2858
  if (!t) return;
2859
- let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) : ka(i, t);
2859
+ let r = a.value.some((t) => t.key === e), i = a.value, o = r ? Y(i, [e]) : Ua(i, t);
2860
2860
  g(o), l({
2861
2861
  ...n.startup,
2862
- tabs: wa(n.startup.tabs ?? [], o)
2862
+ tabs: Ra(n.startup.tabs ?? [], o)
2863
2863
  });
2864
2864
  }
2865
2865
  function g(e) {
@@ -2868,17 +2868,17 @@ var $a = /* @__PURE__ */ j({
2868
2868
  }
2869
2869
  async function _(e, t, r) {
2870
2870
  try {
2871
- s = s.catch(() => void 0).then(() => Ya(ae, e)), await s;
2871
+ s = s.catch(() => void 0).then(() => lo(ne, e)), await s;
2872
2872
  } catch {
2873
2873
  if (r !== o) return;
2874
2874
  a.value = t, l({
2875
2875
  ...n.startup,
2876
- tabs: wa(n.startup.tabs ?? [], t, !1)
2876
+ tabs: Ra(n.startup.tabs ?? [], t, !1)
2877
2877
  });
2878
2878
  }
2879
2879
  }
2880
2880
  function ee(e) {
2881
- let t = ma(n.startup.tabs ?? [], e);
2881
+ let t = Oa(n.startup.tabs ?? [], e);
2882
2882
  return l({
2883
2883
  ...n.startup,
2884
2884
  tabs: t.tabs,
@@ -2886,12 +2886,12 @@ var $a = /* @__PURE__ */ j({
2886
2886
  }, "push"), { created: t.created };
2887
2887
  }
2888
2888
  function te(e, t = {}) {
2889
- return v(Dn(e, t), "push", n.startup, t.tabTitle, t.newInstance);
2889
+ return v(En(e, t), "push", n.startup, t.tabTitle, t.newInstance);
2890
2890
  }
2891
- function ne(e, t = {}) {
2892
- let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a = Dn(e, t);
2891
+ function re(e, t = {}) {
2892
+ let r = n.startup.activeTabKey, i = n.startup.tabs?.find((e) => e.key === r), a = En(e, t);
2893
2893
  if (!r || !i) return v(a, "replace", n.startup, t.tabTitle);
2894
- let o = _a(n.startup, a, n.resolveOptions), s = o.tabs?.find((e) => e.key === o.activeTabKey);
2894
+ let o = ja(n.startup, a, n.resolveOptions), s = o.tabs?.find((e) => e.key === o.activeTabKey);
2895
2895
  if (!s) return { created: !1 };
2896
2896
  let c = s.pageDescriptor && i.instanceKey ? x(s.pageDescriptor, i.instanceKey) : s.pageDescriptor, u = c ? C(c, n.resolveOptions) : s.fullPath, d = (o.tabs ?? []).filter((e) => e.key !== s.key).map((e) => e.key === r ? {
2897
2897
  ...i,
@@ -2909,8 +2909,8 @@ var $a = /* @__PURE__ */ j({
2909
2909
  activeTabKey: r
2910
2910
  }, "replace"), { created: !1 };
2911
2911
  }
2912
- function re(e) {
2913
- let t = n.startup.activeTabKey, r = t ? Sa(n.startup.tabs ?? [], t, t) : {
2912
+ function ie(e) {
2913
+ let t = n.startup.activeTabKey, r = t ? Ia(n.startup.tabs ?? [], t, t) : {
2914
2914
  tabs: n.startup.tabs ?? [],
2915
2915
  activeTabKey: n.startup.activeTabKey
2916
2916
  };
@@ -2923,14 +2923,14 @@ var $a = /* @__PURE__ */ j({
2923
2923
  ...n.startup,
2924
2924
  tabs: r.tabs,
2925
2925
  activeTabKey: i.key
2926
- }, "replace"), { created: !1 }) : v(Dn(e), "replace", {
2926
+ }, "replace"), { created: !1 }) : v(En(e), "replace", {
2927
2927
  ...n.startup,
2928
2928
  tabs: r.tabs,
2929
2929
  activeTabKey: r.activeTabKey
2930
2930
  });
2931
2931
  }
2932
2932
  function v(e, t, r, i, a = !1) {
2933
- let o = new Set((r.tabs ?? []).map((e) => e.key)), s = _a(r, e, {
2933
+ let o = new Set((r.tabs ?? []).map((e) => e.key)), s = ja(r, e, {
2934
2934
  ...n.resolveOptions,
2935
2935
  title: i ?? n.resolveOptions.title
2936
2936
  }, a);
@@ -2942,7 +2942,7 @@ var $a = /* @__PURE__ */ j({
2942
2942
  } : e)
2943
2943
  }), l(s, t), { created: !(!s.activeTabKey || o.has(s.activeTabKey)) };
2944
2944
  }
2945
- function ie(e, t) {
2945
+ function ae(e, t) {
2946
2946
  let r = t.trim();
2947
2947
  e && r && l({
2948
2948
  ...n.startup,
@@ -2959,32 +2959,32 @@ var $a = /* @__PURE__ */ j({
2959
2959
  pageDescriptor: t,
2960
2960
  restoreState: { url: C(t) }
2961
2961
  } : n), i = r.find((t) => t.key === e);
2962
- i && a.value.some((t) => t.key === e) && g(ka(a.value, i)), l({
2962
+ i && a.value.some((t) => t.key === e) && g(Ua(a.value, i)), l({
2963
2963
  ...n.startup,
2964
2964
  tabs: r
2965
2965
  }, "replace");
2966
2966
  }
2967
2967
  function se(e, t) {
2968
- let i = Qa(e, n.location, t);
2968
+ let i = po(e, n.location, t);
2969
2969
  i && r("navigate", i);
2970
2970
  }
2971
2971
  function ce(e) {
2972
- l(_a(n.startup, e, n.resolveOptions));
2972
+ l(ja(n.startup, e, n.resolveOptions));
2973
2973
  }
2974
2974
  async function le() {
2975
2975
  let e = o;
2976
2976
  try {
2977
- let t = Ea(await Ja(ae), n.startup.menus, n.resolveOptions);
2977
+ let t = Ba(await co(ne), n.startup.menus, n.resolveOptions);
2978
2978
  if (!c || e !== o) return;
2979
2979
  a.value = t;
2980
2980
  let r = new Set(t.map((e) => e.key)), i = [...t, ...(n.startup.tabs ?? []).filter((e) => !r.has(e.key))];
2981
2981
  l({
2982
2982
  ...n.startup,
2983
- tabs: wa(i, t)
2983
+ tabs: Ra(i, t)
2984
2984
  });
2985
2985
  } catch {}
2986
2986
  }
2987
- return (t, n) => (M(), T(on, {
2987
+ return (t, n) => (M(), T(rn, {
2988
2988
  startup: e.startup,
2989
2989
  loading: e.loading,
2990
2990
  error: e.error,
@@ -3001,7 +3001,7 @@ var $a = /* @__PURE__ */ j({
3001
3001
  onRefreshPage: n[0] ||= (e) => r("refreshPage", e),
3002
3002
  onUserCommand: n[1] ||= (e) => r("userCommand", e)
3003
3003
  }, {
3004
- default: I(({ pageDescriptor: e }) => [tr(t.$slots, "default", { pageDescriptor: e })]),
3004
+ default: I(({ pageDescriptor: e }) => [hr(t.$slots, "default", { pageDescriptor: e })]),
3005
3005
  _: 3
3006
3006
  }, 8, [
3007
3007
  "startup",
@@ -3016,8 +3016,8 @@ var $a = /* @__PURE__ */ j({
3016
3016
  });
3017
3017
  //#endregion
3018
3018
  //#region src/app/loginTenant.ts
3019
- function eo(e, t = ro(), n = io(), r = "/") {
3020
- let i = no(t, n === to(r));
3019
+ function ho(e, t = vo(), n = yo(), r = "/") {
3020
+ let i = _o(t, n === go(r));
3021
3021
  return i ? {
3022
3022
  tenantId: i,
3023
3023
  tenantLocked: !0
@@ -3029,29 +3029,29 @@ function eo(e, t = ro(), n = io(), r = "/") {
3029
3029
  function Q(e) {
3030
3030
  return e?.trim() ?? "";
3031
3031
  }
3032
- function to(e) {
3032
+ function go(e) {
3033
3033
  let t = `/${(e?.trim() || "/").replace(/^\/+|\/+$/g, "")}`.replace(/^\/\/+/g, "/") || "/";
3034
3034
  return t === "/" ? t : `${t}/`;
3035
3035
  }
3036
- function no(e, t) {
3036
+ function _o(e, t) {
3037
3037
  let n = new URLSearchParams(e.startsWith("?") ? e : `?${e}`), r = Q(n.get("_muyunTenantId"));
3038
3038
  return r || !t ? r : Q(n.get("tenantId")) || Q(n.get("tenant"));
3039
3039
  }
3040
- function ro() {
3040
+ function vo() {
3041
3041
  return typeof window > "u" ? "" : window.location.search;
3042
3042
  }
3043
- function io() {
3043
+ function yo() {
3044
3044
  return typeof window > "u" ? "/" : window.location.pathname;
3045
3045
  }
3046
3046
  //#endregion
3047
3047
  //#region src/app/LoginView.vue?vue&type=script&setup=true&lang.ts
3048
- var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "login-brand" }, co = ["src"], lo = { key: 1 }, uo = { key: 0 }, fo = {
3048
+ var bo = { class: "login-page" }, xo = { class: "login-panel" }, So = { class: "login-brand" }, Co = ["src"], wo = { key: 1 }, To = { key: 0 }, Eo = {
3049
3049
  key: 1,
3050
3050
  class: "login-subtitle"
3051
- }, po = {
3051
+ }, Do = {
3052
3052
  key: 0,
3053
3053
  class: "login-error"
3054
- }, mo = { key: 0 }, ho = /*#__PURE__*/ it(/* @__PURE__ */ j({
3054
+ }, Oo = { key: 0 }, ko = /*#__PURE__*/ wt(/* @__PURE__ */ j({
3055
3055
  name: "LoginView",
3056
3056
  __name: "LoginView",
3057
3057
  props: {
@@ -3063,8 +3063,8 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3063
3063
  },
3064
3064
  emits: ["authenticated"],
3065
3065
  setup(e, { emit: t }) {
3066
- let n = e, r = t, i = eo(void 0), a = N(i.tenantId), o = i.tenantLocked, s = N(Q(n.initialUsername) || Q(void 0)), c = N(Q(void 0)), l = N(!1), u = N(), d = N(!1), f = N(), p = N(""), m = N(""), h = N(), g = N(!1), _ = N(), ee = w(() => !o || !g.value && !_.value), te = w(() => h.value?.mode !== "logoOnly"), ne = w(() => h.value?.title || "平台登录"), re = w(() => h.value?.subtitle);
3067
- Qn(async () => {
3066
+ let n = e, r = t, i = ho(void 0), a = N(i.tenantId), o = i.tenantLocked, s = N(Q(n.initialUsername) || Q(void 0)), c = N(Q(void 0)), l = N(!1), u = N(), d = N(!1), f = N(), p = N(""), m = N(""), h = N(), g = N(!1), _ = N(), ee = w(() => !o || !g.value && !_.value), te = w(() => h.value?.mode !== "logoOnly"), ne = w(() => h.value?.title || "平台登录"), re = w(() => h.value?.subtitle);
3067
+ fr(async () => {
3068
3068
  if (o && a.value) {
3069
3069
  g.value = !0;
3070
3070
  try {
@@ -3078,7 +3078,7 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3078
3078
  }
3079
3079
  }
3080
3080
  });
3081
- async function v() {
3081
+ async function ie() {
3082
3082
  u.value = void 0, l.value = !0;
3083
3083
  try {
3084
3084
  let e = await n.authClient.login({
@@ -3092,13 +3092,13 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3092
3092
  }
3093
3093
  r("authenticated", e);
3094
3094
  } catch (e) {
3095
- u.value = ie(e);
3095
+ u.value = v(e);
3096
3096
  } finally {
3097
3097
  l.value = !1;
3098
3098
  }
3099
3099
  }
3100
- function ie(e) {
3101
- return e instanceof Ke ? e.code === ht.networkError || e.code === ht.httpError || (e.status ?? 0) >= 500 ? "无法连接后端服务,请确认服务已启动后重试" : e.code === ht.loginBadCredentials ? "用户名或密码错误" : e.message : e instanceof Error ? e.message : "登录失败,请稍后重试";
3100
+ function v(e) {
3101
+ return e instanceof rt ? e.code === Se.networkError || e.code === Se.httpError || (e.status ?? 0) >= 500 ? "无法连接后端服务,请确认服务已启动后重试" : e.code === Se.loginBadCredentials ? "用户名或密码错误" : e.message : e instanceof Error ? e.message : "登录失败,请稍后重试";
3102
3102
  }
3103
3103
  async function ae() {
3104
3104
  if (u.value = void 0, !f.value) {
@@ -3127,22 +3127,22 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3127
3127
  l.value = !1;
3128
3128
  }
3129
3129
  }
3130
- return (t, n) => (M(), D("main", ao, [O("section", oo, [
3131
- O("header", null, [O("div", so, [h.value?.lightLogo ? (M(), D("img", {
3130
+ return (t, n) => (M(), D("main", bo, [O("section", xo, [
3131
+ O("header", null, [O("div", So, [h.value?.lightLogo ? (M(), D("img", {
3132
3132
  key: 0,
3133
3133
  class: "login-logo",
3134
3134
  src: h.value.lightLogo,
3135
3135
  alt: ""
3136
- }, null, 8, co)) : E("v-if", !0), te.value ? (M(), D("div", lo, [
3137
- h.value?.lightLogo ? E("v-if", !0) : (M(), D("p", uo, "MuYun Platform")),
3136
+ }, null, 8, Co)) : E("v-if", !0), te.value ? (M(), D("div", wo, [
3137
+ h.value?.lightLogo ? E("v-if", !0) : (M(), D("p", To, "MuYun Platform")),
3138
3138
  O("h1", null, P(ne.value), 1),
3139
- re.value ? (M(), D("p", fo, P(re.value), 1)) : E("v-if", !0)
3139
+ re.value ? (M(), D("p", Eo, P(re.value), 1)) : E("v-if", !0)
3140
3140
  ])) : E("v-if", !0)])]),
3141
- u.value || e.error || _.value ? (M(), D("p", po, P(u.value || e.error || _.value), 1)) : E("v-if", !0),
3141
+ u.value || e.error || _.value ? (M(), D("p", Do, P(u.value || e.error || _.value), 1)) : E("v-if", !0),
3142
3142
  d.value ? (M(), D("form", {
3143
3143
  key: 2,
3144
3144
  class: "login-form",
3145
- onSubmit: ir(ae, ["prevent"])
3145
+ onSubmit: vr(ae, ["prevent"])
3146
3146
  }, [
3147
3147
  n[10] ||= O("p", { class: "login-context" }, "当前密码需要修改后才能进入系统", -1),
3148
3148
  O("label", null, [n[8] ||= O("span", null, "新密码", -1), k(F(y), {
@@ -3159,21 +3159,21 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3159
3159
  autocomplete: "new-password",
3160
3160
  required: ""
3161
3161
  }, null, 8, ["value"])]),
3162
- k(F(ze), {
3162
+ k(F(Qe), {
3163
3163
  class: "login-submit",
3164
3164
  "html-type": "submit",
3165
3165
  type: "primary",
3166
3166
  loading: l.value || e.loading
3167
3167
  }, {
3168
- default: I(() => [Jn(P(l.value || e.loading ? "保存中" : "修改密码"), 1)]),
3168
+ default: I(() => [cr(P(l.value || e.loading ? "保存中" : "修改密码"), 1)]),
3169
3169
  _: 1
3170
3170
  }, 8, ["loading"])
3171
3171
  ], 32)) : (M(), D("form", {
3172
3172
  key: 1,
3173
3173
  class: "login-form",
3174
- onSubmit: ir(v, ["prevent"])
3174
+ onSubmit: vr(ie, ["prevent"])
3175
3175
  }, [
3176
- F(o) ? E("v-if", !0) : (M(), D("label", mo, [n[5] ||= O("span", null, "租户 ID", -1), k(F(y), {
3176
+ F(o) ? E("v-if", !0) : (M(), D("label", Oo, [n[5] ||= O("span", null, "租户 ID", -1), k(F(y), {
3177
3177
  value: a.value,
3178
3178
  "onUpdate:value": n[0] ||= (e) => a.value = e,
3179
3179
  autocomplete: "organization",
@@ -3192,14 +3192,14 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3192
3192
  autocomplete: "current-password",
3193
3193
  required: ""
3194
3194
  }, null, 8, ["value"])]),
3195
- k(F(ze), {
3195
+ k(F(Qe), {
3196
3196
  class: "login-submit",
3197
3197
  "html-type": "submit",
3198
3198
  type: "primary",
3199
3199
  disabled: !ee.value,
3200
3200
  loading: l.value || e.loading || g.value
3201
3201
  }, {
3202
- default: I(() => [Jn(P(l.value || e.loading ? "登录中" : "登录"), 1)]),
3202
+ default: I(() => [cr(P(l.value || e.loading ? "登录中" : "登录"), 1)]),
3203
3203
  _: 1
3204
3204
  }, 8, ["disabled", "loading"])
3205
3205
  ], 32))
@@ -3208,8 +3208,8 @@ var ao = { class: "login-page" }, oo = { class: "login-panel" }, so = { class: "
3208
3208
  }), [["__scopeId", "data-v-76190b2a"]]);
3209
3209
  //#endregion
3210
3210
  //#region src/consumer/userPreferencePersistence.ts
3211
- function go(e) {
3212
- ee({
3211
+ function Ao(e) {
3212
+ Pe({
3213
3213
  load: async (t) => (await e().request({
3214
3214
  path: `/platform.user-preference/${encodeURIComponent(t)}`,
3215
3215
  query: { clientType: "WEB" }
@@ -3231,10 +3231,10 @@ function go(e) {
3231
3231
  }
3232
3232
  //#endregion
3233
3233
  //#region src/app/ChangeOwnPasswordDialog.vue?vue&type=script&setup=true&lang.ts
3234
- var _o = { class: "change-own-password-fields" }, vo = {
3234
+ var jo = { class: "change-own-password-fields" }, Mo = {
3235
3235
  key: 0,
3236
3236
  class: "change-own-password-error"
3237
- }, yo = /*#__PURE__*/ it(/* @__PURE__ */ j({
3237
+ }, No = /*#__PURE__*/ wt(/* @__PURE__ */ j({
3238
3238
  name: "ChangeOwnPasswordDialog",
3239
3239
  __name: "ChangeOwnPasswordDialog",
3240
3240
  props: {
@@ -3260,7 +3260,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
3260
3260
  ],
3261
3261
  setup(e, { emit: t }) {
3262
3262
  let n = t;
3263
- return (t, r) => (M(), T(F(o), {
3263
+ return (t, r) => (M(), T(F(te), {
3264
3264
  open: e.open,
3265
3265
  title: "修改密码",
3266
3266
  "confirm-text": "保存",
@@ -3269,7 +3269,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
3269
3269
  onConfirm: r[3] ||= (e) => n("submit"),
3270
3270
  onCancel: r[4] ||= (e) => n("close")
3271
3271
  }, {
3272
- default: I(() => [O("div", _o, [
3272
+ default: I(() => [O("div", jo, [
3273
3273
  O("label", null, [r[5] ||= O("span", null, "当前密码", -1), k(F(y), {
3274
3274
  value: e.currentPassword,
3275
3275
  type: "password",
@@ -3294,7 +3294,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
3294
3294
  placeholder: "请再次输入新密码",
3295
3295
  "onUpdate:value": r[2] ||= (e) => n("update:confirmPassword", e)
3296
3296
  }, null, 8, ["value", "disabled"])])
3297
- ]), e.error ? (M(), D("p", vo, P(e.error), 1)) : E("v-if", !0)]),
3297
+ ]), e.error ? (M(), D("p", Mo, P(e.error), 1)) : E("v-if", !0)]),
3298
3298
  _: 1
3299
3299
  }, 8, [
3300
3300
  "open",
@@ -3302,22 +3302,22 @@ var _o = { class: "change-own-password-fields" }, vo = {
3302
3302
  "confirm-disabled"
3303
3303
  ]));
3304
3304
  }
3305
- }), [["__scopeId", "data-v-6905dcfc"]]), bo = { class: "theme-skin-preferences" }, xo = {
3305
+ }), [["__scopeId", "data-v-6905dcfc"]]), Po = { class: "theme-skin-preferences" }, Fo = {
3306
3306
  key: 0,
3307
3307
  class: "theme-skin-error",
3308
3308
  role: "alert"
3309
- }, So = {
3309
+ }, Io = {
3310
3310
  class: "theme-skin-grid",
3311
3311
  role: "radiogroup",
3312
3312
  "aria-label": "工作台皮肤"
3313
- }, Co = [
3313
+ }, Lo = [
3314
3314
  "aria-checked",
3315
3315
  "tabindex",
3316
3316
  "data-skin-id",
3317
3317
  "disabled",
3318
3318
  "onClick",
3319
3319
  "onKeydown"
3320
- ], wo = /*#__PURE__*/ it(/* @__PURE__ */ j({
3320
+ ], Ro = /*#__PURE__*/ wt(/* @__PURE__ */ j({
3321
3321
  name: "ThemeSkinPreferencesDialog",
3322
3322
  __name: "ThemeSkinPreferencesDialog",
3323
3323
  props: {
@@ -3348,7 +3348,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
3348
3348
  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
3349
  s && (n("select", s), o?.focus());
3350
3350
  }
3351
- return (t, i) => (M(), T(F(o), {
3351
+ return (t, i) => (M(), T(F(te), {
3352
3352
  open: e.open,
3353
3353
  title: "偏好设置",
3354
3354
  width: 460,
@@ -3357,12 +3357,12 @@ var _o = { class: "change-own-password-fields" }, vo = {
3357
3357
  onConfirm: i[0] ||= (e) => n("close"),
3358
3358
  onCancel: i[1] ||= (e) => n("close")
3359
3359
  }, {
3360
- default: I(() => [O("section", bo, [
3360
+ default: I(() => [O("section", Po, [
3361
3361
  i[3] ||= O("header", null, [O("h2", null, "工作台皮肤"), O("p", null, "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")], -1),
3362
- e.error ? (M(), D("p", xo, P(e.error), 1)) : E("v-if", !0),
3363
- O("div", So, [(M(!0), D(qn, null, er(e.skins, (t, a) => (M(), D("button", {
3362
+ e.error ? (M(), D("p", Fo, P(e.error), 1)) : E("v-if", !0),
3363
+ O("div", Io, [(M(!0), D(sr, null, mr(e.skins, (t, a) => (M(), D("button", {
3364
3364
  key: t.id,
3365
- class: Yn(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
3365
+ class: lr(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
3366
3366
  type: "button",
3367
3367
  role: "radio",
3368
3368
  "aria-checked": t.id === e.activeSkinId,
@@ -3374,7 +3374,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
3374
3374
  }, [
3375
3375
  O("span", {
3376
3376
  class: "theme-skin-preview",
3377
- style: Xn({
3377
+ style: ur({
3378
3378
  "--skin-canvas": t.theme.support.canvas,
3379
3379
  "--skin-surface": t.theme.support.surface,
3380
3380
  "--skin-text": t.theme.support.text,
@@ -3388,7 +3388,7 @@ var _o = { class: "change-own-password-fields" }, vo = {
3388
3388
  ]], 4),
3389
3389
  O("strong", null, P(t.title), 1),
3390
3390
  O("small", null, P(t.description), 1)
3391
- ], 42, Co))), 128))])
3391
+ ], 42, Lo))), 128))])
3392
3392
  ])]),
3393
3393
  _: 1
3394
3394
  }, 8, [
@@ -3398,11 +3398,11 @@ var _o = { class: "change-own-password-fields" }, vo = {
3398
3398
  ]));
3399
3399
  }
3400
3400
  }), [["__scopeId", "data-v-5d36f806"]]), $ = "workbench.theme-skin";
3401
- async function To(e, t) {
3402
- let n = await e.restore($, t, { persistence: "backend" }), r = Me(n).id;
3401
+ async function zo(e, t) {
3402
+ let n = await e.restore($, t, { persistence: "backend" }), r = lt(n).id;
3403
3403
  return await e.set($, r, { persistence: "local" }), r;
3404
3404
  }
3405
- async function Eo(e, t, n) {
3405
+ async function Bo(e, t, n) {
3406
3406
  await e.set($, t, { persistence: "local" });
3407
3407
  try {
3408
3408
  return await e.set($, t, { persistence: "backend" }), { skinId: t };
@@ -3414,4 +3414,4 @@ async function Eo(e, t, n) {
3414
3414
  }
3415
3415
  }
3416
3416
  //#endregion
3417
- export { Ke as AppError, $a as AppWorkbenchShell, le as BusinessNotificationPanel, yo as ChangeOwnPasswordDialog, pe as DateTimeText, f as DrawerOperationBar, yn as DynamicModuleWorkspaceDetailView, vt as FileSizeText, xt as FileTransferUploader, ho as LoginView, et as ModuleContextProvider, Ge as ModuleHttpProvider, xn as ModuleReferenceRecordDetailBrowser, Za as PlatformAdminOutlet, oa as PlatformAdminRouteOutlet, v as ReadonlyReferenceValue, lt as RecordDetailDrawer, de as ReferencePicker, p as ReferencePickerReadError, xe as ReferenceRecordDetailBrowser, gt as SingleImageFileReferenceField, wo as ThemeSkinPreferencesDialog, ze as UiButton, _ as UiDataTable, y as UiInput, we as UiSidePanel, re as UiSwitch, st as UiTextArea, Ae as UiThemeProvider, Ee as UiTree, dt as UiTreeSelect, Ui as VueQueryPlugin, on as Workbench, Kt as WorkbenchMenu, Fn as WorkbenchOutlet, hn as WorkspaceViewOutlet, $e as actionResultData, ga as activeTabUrlOf, wa as arrangeLockedMenuTabs, sn as buildWorkbenchMegaMenuModel, ce as canQueryRecycleBin, Tn as canonicalDynamicModulePath, It as clearAuthToken, Ue as configureModuleContext, mn as configureModulePageEnhancementContributions, Hn as configureModulePageEnhancements, go as configureUserPreferencePersistence, Zt as configureWorkspaceViewContributions, te as confirmAction, Lt as connectAppRealtime, ge as connectRealtimeBusinessEvents, Tt as connectRealtimeBusinessNotifications, a as connectRealtimeDataChanges, Ce as connectRealtimeUserNotifications, g as contextDataChangeChannel, An as createAuthClient, Rt as createBackendHttpClient, ye as createBrowserFileTransferUpload, At as createDataChangeDispatcher, Ot as createHttpClient, In as createLoginContextClient, _e as createManagedDetailRelationClient, wn as createMenuClient, $t as createMenuTab, Ne as createModuleContext, s as createModuleCrudClient, Wn as createModulePageEnhancementRegistry, _t as createModuleTreeClient, mt as createModuleTreeContext, be as createNavigatorReferenceCrudClient, d as createNavigatorReferenceTreeClient, gn as createPageBootstrapClient, Wi as createQueryClient, Se as createRealtimeClient, Bn as createReferenceResolveClient, Mn as createSessionClient, u as createStaticModuleCrudClient, ue as createStaticModuleTreeClient, Ze as createStaticResourceCrudClient, r as createStaticResourceTreeClient, Jt as createWorkbenchMenuNodes, Pn as createWorkspaceViewDescriptor, Xt as createWorkspaceViewRegistry, Te as dataChangeChannel, Oe as defaultUiThemeSkinId, Gn as defineWorkspaceView, Bt as disconnectAppRealtime, fn as dismissWorkspaceViewDescriptor, en as dynamicModuleAliasFromPath, Ft as effectiveAuthToken, qt as filterWorkbenchMenuNodes, nn as findFirstNavigationMenu, tn as findWorkbenchMenuNodeById, En as findWorkbenchMenuPath, Wt as firstDeepRootIdOf, b as getMenuNavigationTarget, bt as hasExecutableDetailRelationMutationContract, ve as hasExecutableDetailRelationQueryContract, fe as hasRecycleBinAbility, h as imConversationMessageChannel, ie as imMessageSendCommand, Ki as invokeBusinessNotificationRecordAction, Et as isHttpStreamClient, ta as isPlatformAdminRoutePage, Yt as isTabMenuTarget, We as isUnexpectedPlatformError, Qt as isWindowMenuTarget, m as moduleAbilityCodes, ot as moduleDataChangeChannel, _n as modulePageWorkspaceViews, kt as normalizeChangeSet, Pe as normalizeError, Rn as normalizeMenuMineResponse, Ye as normalizeModulePageResponse, oe as normalizeModuleRecord, ne as organizationPublicDataChangeChannel, ke as organizationPublicNotificationChannel, pn as pageActionEntryDescription, rn as pageActionEntryTitle, Ut as pageActionEntryVisible, bn as pageActionIntent, an as pageDescriptorFromUrl, C as pageDescriptorToUrl, Gt as pageInstanceKeyOf, Qi as platformAdminModuleRoutes, $i as platformAdminRouteLayouts, Zi as platformAdminRoutePrefixes, J as platformAdminRoutes, ht as platformErrorCodes, De as platformPingCommand, Qe as presentPlatformError, i as presentPlatformInfo, Xe as presentPlatformMessage, se as presentPlatformSuccess, Un as presentWorkbenchRealtimeStatus, On as provideCurrentUserContext, St as provideModuleContextConfig, vn as provideWorkbenchNavigation, jn as provideWorkspaceViewHost, Gi as queryKeys, je as realtimeDestinations, me as realtimeMessageTypes, n as recordDataChangeChannel, Nn as refreshModulePageList, Y as removeLockedMenuTabs, Ct as resolveGlobalErrorPresentation, ln as resolvePageDescriptor, ea as resolvePlatformAdminRoute, pt as resolveWebActionResult, Be as resolveWebActionResultMessage, dn as resolveWorkspaceView, Ve as resourceDataChangeChannel, ft as resourceRecordDataChangeChannel, Ja as restoreLockedTabPreference, Ea as restoreLockedWorkbenchTabs, To as restoreThemeSkinPreference, _a as restoreWorkbenchStartupStateFromUrl, Dn as routeUrlWithOpenOptions, jt as saveAuthSessionId, Vt as saveAuthToken, Ya as saveLockedTabPreference, Eo as saveThemeSkinPreference, nt as sessionActivityCommand, Ht as storedAuthSessionId, Mt as storedAuthToken, Nt as subscribeAppBusinessEvents, Pt as subscribeAppDataChanges, zt as subscribeAppModuleDataChanges, Cn as syncModulePageWorkspaceViewContributions, S as tabIdentityKeyOf, cn as tabKeyOf, ct as tenantPublicDataChangeChannel, Je as tenantPublicNotificationChannel, $ as themeSkinPreferenceKey, un as tryPageDescriptorFromUrl, Me as uiThemeSkinById, he as uiThemeSkins, l as unwrapResponsePayload, ka as updateLockedMenuTabs, wt as uploadedFileId, Sn as useCurrentUserContext, Ie as useModuleContext, yt as useModuleTreeContext, Vn as useWorkbenchNavigation, Ln as useWorkspaceViewHost, kn as useWorkspaceViewNavigation, zn as useWorkspaceViewUnsavedState, Fe as userBusinessEventChannel, rt as userBusinessNotificationChannel, Le as userFacingErrorMessage, ut as userImMessageChannel, Re as userNotificationChannel, ae as userPreferences, He as webDataChangeKey, c as webDataChangeTypes, at as webDataChanges, Dt as withHttpHeaders, x as withPageInstanceKey, tt as withWebActionResultChanges };
3417
+ export { rt as AppError, mo as AppWorkbenchShell, He as AssistantCapabilityUsageError, ct as AssistantConversationFollowUpError, v as BusinessNotificationPanel, No as ChangeOwnPasswordDialog, ue as DateTimeText, ot as DrawerOperationBar, vn as DynamicModuleWorkspaceDetailView, d as FileSizeText, kt as FileTransferUploader, ko as LoginView, Nt as ModuleContextProvider, We as ModuleHttpProvider, bn as ModuleReferenceRecordDetailBrowser, fo as PlatformAdminOutlet, ba as PlatformAdminRouteOutlet, ht as ReadonlyReferenceValue, pt as RecordDetailDrawer, me as ReferencePicker, be as ReferencePickerReadError, Ie as ReferenceRecordDetailBrowser, Mt as SingleImageFileReferenceField, Tt as StaleAssistantInvocationError, Ro as ThemeSkinPreferencesDialog, Qe as UiButton, _t as UiDataTable, y as UiInput, se as UiSidePanel, r as UiSwitch, Ke as UiTextArea, Ye as UiThemeProvider, Be as UiTree, dt as UiTreeSelect, ra as VueQueryPlugin, rn as Workbench, dn as WorkbenchAssistantPanel, Wt as WorkbenchMenu, Fn as WorkbenchOutlet, pn as WorkspaceViewOutlet, je as actionResultData, Aa as activeTabUrlOf, Ra as arrangeLockedMenuTabs, an as buildWorkbenchMegaMenuModel, Te as canQueryRecycleBin, wn as canonicalDynamicModulePath, Qn as clearAuthToken, At as configureModuleContext, fn as configureModulePageEnhancementContributions, Hn as configureModulePageEnhancements, Ao as configureUserPreferencePersistence, Yt as configureWorkspaceViewContributions, Fe as confirmAction, $n as connectAppRealtime, Ne as connectRealtimeBusinessEvents, Le as connectRealtimeBusinessNotifications, ee as connectRealtimeDataChanges, oe as connectRealtimeUserNotifications, gt as contextDataChangeChannel, Pt as createAssistantSurfaceRegistry, Dn as createAssistantTurnRequester, In as createAuthClient, er as createBackendHttpClient, Me as createBrowserFileTransferUpload, Kn as createDataChangeDispatcher, Rt as createHttpClient, Cn as createLoginContextClient, l as createManagedDetailRelationClient, mn as createMenuClient, Zt as createMenuTab, De as createModuleContext, ve as createModuleCrudClient, Wn as createModulePageEnhancementRegistry, it as createModuleTreeClient, s as createModuleTreeContext, i as createNavigatorReferenceCrudClient, nt as createNavigatorReferenceTreeClient, Mn as createPageBootstrapClient, ia as createQueryClient, ae as createRealtimeClient, An as createReferenceResolveClient, Rn as createSessionClient, Bt as createSseParser, de as createStaticModuleCrudClient, he as createStaticModuleTreeClient, xe as createStaticResourceCrudClient, h as createStaticResourceTreeClient, Kt as createWorkbenchMenuNodes, Pn as createWorkspaceViewDescriptor, Jt as createWorkspaceViewRegistry, ze as dataChangeChannel, xt as defaultUiThemeSkinId, ar as defineWorkspaceView, nr as disconnectAppRealtime, un as dismissWorkspaceViewDescriptor, Qt as dynamicModuleAliasFromPath, Zn as effectiveAuthToken, Ge as emptyAssistantCapabilityInputSchema, Gt as filterWorkbenchMenuNodes, en as findFirstNavigationMenu, $t as findWorkbenchMenuNodeById, Tn as findWorkbenchMenuPath, Ht as firstDeepRootIdOf, b as getMenuNavigationTarget, le as hasExecutableDetailRelationMutationContract, Ee as hasExecutableDetailRelationQueryContract, Ft as hasRecycleBinAbility, Re as imConversationMessageChannel, Ve as imMessageSendCommand, oa as invokeBusinessNotificationRecordAction, zt as isHttpStreamClient, ha as isPlatformAdminRoutePage, qt as isTabMenuTarget, fe as isUnexpectedPlatformError, Xt as isWindowMenuTarget, o as moduleAbilityCodes, we as moduleDataChangeChannel, hn as modulePageWorkspaceViews, Gn as normalizeChangeSet, ge as normalizeError, _n as normalizeMenuMineResponse, re as normalizeModulePageResponse, ce as normalizeModuleRecord, n as organizationPublicDataChangeChannel, Xe as organizationPublicNotificationChannel, tn as pageActionEntryDescription, Vt as pageActionEntryTitle, yn as pageActionEntryVisible, Bn as pageActionIntent, nn as pageDescriptorFromUrl, C as pageDescriptorToUrl, Ut as pageInstanceKeyOf, jt as parseEmptyAssistantCapabilityInput, fa as platformAdminModuleRoutes, pa as platformAdminRouteLayouts, da as platformAdminRoutePrefixes, J as platformAdminRoutes, Se as platformErrorCodes, St as platformPingCommand, pe as presentPlatformError, _e as presentPlatformInfo, Ce as presentPlatformMessage, _ as presentPlatformSuccess, Un as presentWorkbenchRealtimeStatus, Oe as provideAssistantSurfaceHost, On as provideCurrentUserContext, Dt as provideModuleContextConfig, gn as provideWorkbenchNavigation, jn as provideWorkspaceViewHost, aa as queryKeys, ut as realtimeDestinations, yt as realtimeMessageTypes, tt as recordDataChangeChannel, Nn as refreshModulePageList, Y as removeLockedMenuTabs, g as resolveGlobalErrorPresentation, sn as resolvePageDescriptor, ma as resolvePlatformAdminRoute, p as resolveWebActionResult, u as resolveWebActionResultMessage, ln as resolveWorkspaceView, Ue as resourceDataChangeChannel, ft as resourceRecordDataChangeChannel, co as restoreLockedTabPreference, Ba as restoreLockedWorkbenchTabs, zo as restoreThemeSkinPreference, ja as restoreWorkbenchStartupStateFromUrl, En as routeUrlWithOpenOptions, et as runAssistantConversation, $e as runAssistantStep, c as sameAssistantInvocationToken, qn as saveAuthSessionId, rr as saveAuthToken, lo as saveLockedTabPreference, Bo as saveThemeSkinPreference, bt as sessionActivityCommand, ir as storedAuthSessionId, Jn as storedAuthToken, Yn as subscribeAppBusinessEvents, Xn as subscribeAppDataChanges, tr as subscribeAppModuleDataChanges, Sn as syncModulePageWorkspaceViewContributions, S as tabIdentityKeyOf, on as tabKeyOf, qe as tenantPublicDataChangeChannel, st as tenantPublicNotificationChannel, $ as themeSkinPreferenceKey, cn as tryPageDescriptorFromUrl, lt as uiThemeSkinById, vt as uiThemeSkins, m as unwrapResponsePayload, Ua as updateLockedMenuTabs, ke as uploadedFileId, Ot as useAssistantSurfaceHost, xn as useCurrentUserContext, Ae as useModuleContext, f as useModuleTreeContext, Vn as useWorkbenchNavigation, Ln as useWorkspaceViewHost, kn as useWorkspaceViewNavigation, zn as useWorkspaceViewUnsavedState, Ct as userBusinessEventChannel, Je as userBusinessNotificationChannel, ie as userFacingErrorMessage, Ze as userImMessageChannel, mt as userNotificationChannel, ne as userPreferences, ye as webDataChangeKey, It as webDataChangeTypes, at as webDataChanges, Lt as withHttpHeaders, x as withPageInstanceKey, a as withWebActionResultChanges };