@ximatai/muyun-web-app 0.26.27 → 0.26.29

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 (71) hide show
  1. package/dist/{BusinessActivityLogView-Bbe-GbNG.js → BusinessActivityLogView-fzxP3P68.js} +2 -2
  2. package/dist/BusinessLogListDrawer-C7wb2R6q.js +868 -0
  3. package/dist/CodeConfigurationView-DXrXp7kg.js +2333 -0
  4. package/dist/{ConfigurationTranslationView-B3Cr9Wes.js → ConfigurationTranslationView-CNWJhB8C.js} +49 -49
  5. package/dist/{LoginAuditLogView-DOwkqtVB.js → LoginAuditLogView-D2q4WT8W.js} +2 -2
  6. package/dist/{ModuleActionManagementView-DNXAhdXk.js → ModuleActionManagementView-Xd8uB3iR.js} +191 -191
  7. package/dist/{ModuleGovernanceView-g5W2R_Zl.js → ModuleGovernanceView-BFCfy5wB.js} +3403 -3421
  8. package/dist/{RequestErrorLogView-9GIz2mkQ.js → RequestErrorLogView-C-dZhHvD.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-BmtEBE0r.js +1435 -0
  10. package/dist/{RuntimeLogView-C5i19Z-u.js → RuntimeLogView-BuFuboQh.js} +51 -51
  11. package/dist/{WorkflowAdministrationView-CnoTudpI.js → WorkflowAdministrationView-Cb6RnlGU.js} +57 -57
  12. package/dist/WorkflowConfigurationView-VLObweIg.js +2227 -0
  13. package/dist/{WorkflowWorkbenchView-DbWqspEB.js → WorkflowWorkbenchView-CbZervUv.js} +248 -248
  14. package/dist/{codeConfiguration-Bno8cWxB.js → codeConfiguration-DbUEhnW7.js} +66 -49
  15. package/dist/configurationEditorNavigation-DZeBbg3z.js +15 -0
  16. package/dist/formulaReferences-CKkkdA_R.js +23 -0
  17. package/dist/index.css +1 -1
  18. package/dist/index.js +727 -727
  19. package/dist/{moduleMenuWorkspace-DW13bHG5.js → moduleMenuWorkspace-COanAuqc.js} +237 -248
  20. package/dist/{platform-components-D3NvMY3T.js → platform-components-5joS6YaR.js} +4677 -4489
  21. package/dist/{platform-workbench-C4OFiuG5.js → platform-workbench-le7pFe4d.js} +5457 -5296
  22. package/dist/types/consumer/index.d.ts +2 -1
  23. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +32 -26
  24. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +60 -29
  25. package/dist/types/dynamic-page-runtime/ModuleRecordDetailActions.vue.d.ts +2 -0
  26. package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +13 -4
  27. package/dist/types/dynamic-page-runtime/index.d.ts +2 -2
  28. package/dist/types/dynamic-page-runtime/modulePageActionControls.d.ts +12 -0
  29. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +18 -5
  30. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +3 -1
  31. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +2 -0
  32. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +16 -13
  33. package/dist/types/dynamic-page-runtime/useModuleRecordDataChanges.d.ts +4 -1
  34. package/dist/types/platform-components/ActionControlHost.vue.d.ts +16 -0
  35. package/dist/types/platform-components/AdaptiveHeaderActionBar.vue.d.ts +3 -0
  36. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +2 -0
  37. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +10 -0
  38. package/dist/types/platform-components/actionControl.d.ts +28 -0
  39. package/dist/types/platform-components/adaptiveHeaderActionLayout.d.ts +4 -2
  40. package/dist/types/platform-components/index.d.ts +3 -2
  41. package/dist/types/platform-components/optionFieldOptionCache.d.ts +11 -1
  42. package/dist/types/platform-components/recordActionBarModel.d.ts +5 -0
  43. package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -0
  44. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +13 -1
  45. package/dist/types/platform-components/useWorkflowDesignSession.d.ts +141 -0
  46. package/dist/types/platform-components/workflowDesignEditing.d.ts +8 -7
  47. package/dist/types/platform-components/workflowDesignOperations.d.ts +107 -0
  48. package/dist/types/views/CodeRuleRecoveryPanel.vue.d.ts +20 -0
  49. package/dist/types/views/businessRuleGovernance.d.ts +1 -2
  50. package/dist/types/views/codeConfiguration.d.ts +29 -1
  51. package/dist/types/views/codeConfigurationAssistantSurface.d.ts +17 -0
  52. package/dist/types/views/codeRuleSaveRecovery.d.ts +12 -0
  53. package/dist/types/views/useCodeConfigurationAssistant.d.ts +10 -0
  54. package/dist/types/views/useCodeConfigurationSession.d.ts +16 -0
  55. package/dist/types/views/useWorkflowConfigurationAssistant.d.ts +16 -0
  56. package/dist/types/views/useWorkflowConfigurationContext.d.ts +16 -2
  57. package/dist/types/views/useWorkflowConfigurationSession.d.ts +146 -0
  58. package/dist/types/views/workflowConfigurationAssistantSurface.d.ts +169 -0
  59. package/dist/types/views/workflowSaveRecovery.d.ts +11 -0
  60. package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -1
  61. package/dist/types/vue-ui-antdv/index.d.ts +1 -0
  62. package/dist/types/web-core/formulaReferences.d.ts +2 -0
  63. package/dist/types/web-core/workflow.d.ts +11 -1
  64. package/dist/useWorkflowConfigurationContext-B9GigSF8.js +78 -0
  65. package/dist/{workspaceViews-D2Uh4KAq.js → workspaceViews-8-LaaGxD.js} +680 -680
  66. package/package.json +1 -1
  67. package/dist/BusinessLogListDrawer-BmF-14We.js +0 -868
  68. package/dist/CodeConfigurationView-DdPfBjoC.js +0 -1667
  69. package/dist/RoleDetailWorkspaceView-BuqRT0pd.js +0 -1435
  70. package/dist/WorkflowConfigurationView-Cku-F1Fm.js +0 -980
  71. package/dist/useWorkflowConfigurationContext-eQKyqe6_.js +0 -66
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { n as e, r as t } from "./rolldown-runtime-BAC7EHh5.js";
2
- import { $ as n, A as r, At as i, B as a, C as o, Ct as s, Dt as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, Mt as v, N as y, Nt as b, O as x, Ot as S, P as ee, Q as C, R as te, S as w, St as ne, Tt as T, U as E, V as D, W as O, X as k, Y as A, Z as j, _ as re, _t as M, a as ie, at as N, b as ae, bt as oe, c as se, ct as ce, d as le, dt as ue, et as de, f as fe, ft as pe, gt as me, h as he, ht as ge, i as _e, it as ve, j as ye, jt as be, k as xe, kt as Se, l as Ce, lt as we, m as Te, mt as Ee, n as De, nt as Oe, o as ke, ot as Ae, p as je, pt as Me, q as Ne, r as Pe, rt as Fe, s as Ie, st as Le, t as Re, tt as ze, u as Be, ut as Ve, v as He, vt as Ue, w as We, wt as Ge, x as Ke, xt as qe, y as Je, yt as Ye, z as Xe } from "./platform-workbench-C4OFiuG5.js";
3
- import { $ as Ze, $a as Qe, $i as $e, $r as et, Aa as tt, Ai as nt, An as rt, Ar as it, B as at, Ba as ot, Bi as st, Bn as ct, Br as lt, Ca as ut, Ci as dt, Cn as ft, Cr as pt, Ct as mt, Da as ht, Di as gt, Dn as _t, Dr as vt, Ea as yt, Ei as bt, En as xt, Er as St, Fa as Ct, Fi as wt, Fr as Tt, Ga as Et, Gi as Dt, Gr as Ot, Ha as kt, Hi as At, Hn as jt, Hr as Mt, Ia as Nt, Ii as Pt, In as Ft, Ir as It, Ja as Lt, Ji as Rt, Jn as zt, Jr as Bt, Jt as Vt, Ka as Ht, Ki as Ut, Kn as Wt, Kr as Gt, La as Kt, Li as qt, Ln as Jt, Lr as Yt, Ma as Xt, Mi as Zt, Mr as Qt, Na as $t, Ni as en, Nr as tn, Oa as nn, Oi as rn, Or as an, Pa as on, Pi as sn, Pn as cn, Pr as ln, Qa as un, Qi as dn, Qn as fn, Qr as pn, Ra as mn, Ri as hn, Rn as gn, Rr as _n, Rt as vn, Sa as yn, Si as bn, Sn as xn, Sr as Sn, St as Cn, Ta as wn, Ti as Tn, Tr as En, Ua as Dn, Ui as On, Un as kn, Ur as An, Va as jn, Vi as Mn, Vr as Nn, Wa as Pn, Wi as Fn, Wn as In, Wr as Ln, Wt as Rn, Xa as zn, Xi as Bn, Xn as Vn, Xr as Hn, Ya as Un, Yi as Wn, Yn as Gn, Yr as Kn, Za as qn, Zi as Jn, Zn as Yn, Zr as Xn, _a as Zn, _i as Qn, _n as $n, _r as er, aa as tr, ai as nr, an as rr, ao as ir, at as ar, ba as or, bi as sr, bn as cr, br as lr, bt as ur, ca as dr, ci as fr, cn as pr, cr as mr, da as hr, di as gr, dn as _r, do as vr, dr as yr, dt as br, ea as xr, ei as Sr, eo as Cr, et as wr, fa as Tr, fi as Er, fn as Dr, fr as Or, ft as kr, ga as Ar, gi as jr, gr as P, gt as Mr, ha as Nr, hi as Pr, hn as Fr, ht as Ir, ia as Lr, ii as Rr, io as zr, ir as Br, ja as Vr, ji as Hr, jr as Ur, ka as Wr, ki as Gr, kr as Kr, la as qr, li as Jr, lo as Yr, lr as F, ma as Xr, mi as Zr, mn as Qr, mr as $r, mt as ei, n as ti, na as ni, ni as ri, nn as ii, no as ai, nr as oi, nt as si, oa as ci, oi as li, oo as ui, pa as di, pi as fi, pn as pi, pt as mi, q as hi, qa as gi, qi as _i, qr as vi, r as yi, ra as bi, ri as xi, rn as Si, ro as I, rt as Ci, sa as wi, si as Ti, sn as Ei, so as Di, sr as Oi, t as ki, ta as Ai, ti as ji, tn as Mi, to as Ni, ua as Pi, ui as Fi, un as Ii, uo as Li, ur as Ri, ut as zi, va as Bi, vi as Vi, vr as Hi, wa as Ui, wi as Wi, wr as Gi, xa as Ki, xi as qi, xn as Ji, xr as Yi, ya as Xi, yi as Zi, yr as Qi, yt as $i, z as ea, za as ta, zi as na, zr as ra } from "./platform-components-D3NvMY3T.js";
4
- import { n as ia, t as aa } from "./recordReadEntry-CxDHM44F.js";
5
- import { m as oa } from "./codeConfiguration-Bno8cWxB.js";
6
- import "./workspaceViews-D2Uh4KAq.js";
7
- import * as sa from "vue";
8
- import { Fragment as ca, computed as L, createBlock as R, createCommentVNode as z, createElementBlock as B, createElementVNode as V, createSlots as la, createTextVNode as H, createVNode as U, defineAsyncComponent as ua, defineComponent as W, guardReactiveProps as da, inject as fa, mergeProps as pa, nextTick as ma, normalizeClass as ha, normalizeProps as ga, normalizeStyle as _a, onBeforeUnmount as va, onMounted as ya, onScopeDispose as ba, openBlock as G, provide as xa, readonly as Sa, ref as K, renderList as Ca, renderSlot as wa, resolveDynamicComponent as Ta, toDisplayString as q, unref as J, useId as Ea, vShow as Da, watch as Y, withCtx as X, withDirectives as Oa, withModifiers as ka } from "vue";
2
+ import { $ as n, A as r, At as i, B as a, C as o, Ct as s, Dt as c, Et as l, F as u, G as d, H as f, I as p, J as m, K as h, L as g, M as _, Mt as v, N as y, Nt as b, Ot as ee, P as x, Pt as te, Q as S, R as ne, S as C, St as w, T, Tt as E, U as D, V as re, W as O, X as k, Y as A, Z as j, _ as M, _t as ie, a as ae, at as oe, bt as se, c as ce, ct as le, d as ue, dt as de, et as fe, f as pe, ft as me, gt as he, h as ge, ht as _e, i as ve, it as ye, j as be, jt as xe, k as Se, kt as Ce, l as we, lt as Te, m as Ee, mt as De, n as Oe, nt as ke, o as Ae, ot as je, p as Me, pt as Ne, q as Pe, r as Fe, rt as Ie, s as Le, st as Re, t as ze, tt as Be, u as Ve, ut as He, v as Ue, vt as We, w as Ge, wt as Ke, x as qe, xt as Je, y as Ye, yt as Xe, z as Ze } from "./platform-workbench-le7pFe4d.js";
3
+ import { $ as Qe, $a as $e, $i as et, $n as tt, $r as nt, Aa as rt, Ai as it, Ar as at, B as ot, Ba as st, Bi as ct, Bn as lt, Br as ut, Bt as dt, Ca as ft, Ci as pt, Cn as mt, Cr as ht, Ct as gt, Da as _t, Di as vt, Dr as yt, Ea as bt, Ei as xt, Er as St, Fa as Ct, Fi as wt, Fr as Tt, Ga as Et, Gi as Dt, Gn as Ot, Gr as kt, Ha as At, Hi as jt, Hn as Mt, Hr as Nt, Ia as Pt, Ii as Ft, In as It, Ir as Lt, Ja as Rt, Ji as zt, Jn as Bt, Jr as Vt, Ka as Ht, Ki as Ut, Kn as Wt, Kr as Gt, Kt, La as qt, Li as Jt, Lr as Yt, Ma as Xt, Mi as Zt, Mn as Qt, Mr as $t, Na as en, Ni as tn, Nr as nn, Oa as rn, Oi as an, On as on, Or as sn, Pa as cn, Pi as ln, Pr as un, Qa as dn, Qi as fn, Qn as pn, Qr as mn, Ra as hn, Ri as gn, Rn as _n, Rr as vn, Sa as yn, Si as bn, Sn as xn, Sr as Sn, St as Cn, Ta as wn, Ti as Tn, Tn as En, Tr as Dn, Ua as On, Ui as kn, Ur as An, Va as jn, Vi as Mn, Vr as Nn, Wa as Pn, Wi as Fn, Wn as In, Wr as Ln, Xa as Rn, Xi as zn, Xn as Bn, Xr as Vn, Xt as Hn, Ya as Un, Yi as Wn, Yr as Gn, Za as Kn, Zi as qn, Zn as Jn, Zr as Yn, _a as Xn, _i as Zn, _n as Qn, aa as $n, ai as er, an as tr, ao as N, at as nr, ba as rr, bi as ir, br as ar, bt as or, ca as sr, ci as cr, co as lr, da as ur, di as dr, do as fr, dr as P, dt as pr, ea as mr, ei as hr, eo as gr, er as _r, et as vr, fa as yr, fi as br, fn as xr, fo as Sr, fr as Cr, ft as wr, ga as Tr, gi as Er, gn as Dr, gr as Or, gt as kr, ha as Ar, hi as jr, hn as Mr, ht as Nr, ia as Pr, ii as Fr, in as Ir, io as Lr, ir as Rr, ja as zr, ji as Br, jr as Vr, ka as Hr, ki as Ur, kn as Wr, kr as Gr, la as Kr, li as qr, ln as Jr, lo as Yr, lr as Xr, ma as Zr, mi as Qr, mn as $r, mr as ei, mt as ti, n as ni, na as ri, ni as ii, no as ai, nt as oi, oa as si, oi as ci, oo as li, or as ui, pa as di, pi as fi, pn as pi, po as mi, pr as hi, pt as gi, q as _i, qa as vi, qi as yi, qr as bi, r as xi, ra as Si, ri as Ci, rn as wi, ro as Ti, rt as Ei, sa as Di, si as Oi, sn as ki, so as Ai, t as ji, ta as Mi, ti as Ni, to as Pi, ua as Fi, ui as Ii, un as Li, ur as Ri, ut as zi, va as Bi, vi as Vi, vr as F, wa as Hi, wi as Ui, wn as Wi, wr as Gi, xa as Ki, xi as qi, xr as Ji, ya as Yi, yi as Xi, yn as Zi, yr as Qi, yt as $i, z as ea, za as ta, zi as na, zn as ra, zr as ia } from "./platform-components-5joS6YaR.js";
4
+ import { n as aa, t as oa } from "./recordReadEntry-CxDHM44F.js";
5
+ import { _ as sa } from "./codeConfiguration-DbUEhnW7.js";
6
+ import "./workspaceViews-8-LaaGxD.js";
7
+ import * as ca from "vue";
8
+ import { Fragment as la, computed as I, createBlock as L, createCommentVNode as R, createElementBlock as z, createElementVNode as B, createSlots as ua, createTextVNode as V, createVNode as H, defineAsyncComponent as da, defineComponent as U, guardReactiveProps as fa, inject as pa, mergeProps as ma, nextTick as ha, normalizeClass as ga, normalizeProps as _a, normalizeStyle as va, onBeforeUnmount as ya, onMounted as ba, onScopeDispose as xa, openBlock as W, provide as Sa, readonly as Ca, ref as G, renderList as wa, renderSlot as Ta, resolveDynamicComponent as Ea, toDisplayString as K, unref as q, useId as Da, vShow as Oa, watch as J, withCtx as Y, withDirectives as ka, withModifiers as Aa } from "vue";
9
9
  //#region node_modules/@tanstack/query-core/build/modern/subscribable.js
10
- var Aa = class {
10
+ var ja = class {
11
11
  constructor() {
12
12
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
13
13
  }
@@ -21,7 +21,7 @@ var Aa = class {
21
21
  }
22
22
  onSubscribe() {}
23
23
  onUnsubscribe() {}
24
- }, ja = new class extends Aa {
24
+ }, Ma = new class extends ja {
25
25
  #e;
26
26
  #t;
27
27
  #n;
@@ -58,13 +58,13 @@ var Aa = class {
58
58
  isFocused() {
59
59
  return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";
60
60
  }
61
- }(), Ma = {
61
+ }(), Na = {
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
- }, Na = new class {
67
- #e = Ma;
66
+ }, Pa = new class {
67
+ #e = Na;
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,13 +85,13 @@ var Aa = class {
85
85
  this.#e.clearInterval(e);
86
86
  }
87
87
  }();
88
- function Pa(e) {
88
+ function Fa(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 Fa = typeof window > "u" || "Deno" in globalThis;
94
- function Ia() {}
93
+ var Ia = typeof window > "u" || "Deno" in globalThis;
94
+ function X() {}
95
95
  function La(e, t) {
96
96
  return typeof e == "function" ? e(t) : e;
97
97
  }
@@ -176,7 +176,7 @@ function Za(e) {
176
176
  }
177
177
  function Qa(e) {
178
178
  return new Promise((t) => {
179
- Na.setTimeout(t, e);
179
+ Pa.setTimeout(t, e);
180
180
  });
181
181
  }
182
182
  function $a(e, t, n) {
@@ -213,7 +213,7 @@ function io(e, t, n) {
213
213
  //#endregion
214
214
  //#region node_modules/@tanstack/query-core/build/modern/environmentManager.js
215
215
  var ao = /* @__PURE__ */ (() => {
216
- let e = () => Fa;
216
+ let e = () => Ia;
217
217
  return {
218
218
  isServer() {
219
219
  return e();
@@ -247,7 +247,7 @@ function oo() {
247
247
  }
248
248
  //#endregion
249
249
  //#region node_modules/@tanstack/query-core/build/modern/notifyManager.js
250
- var so = Pa;
250
+ var so = Fa;
251
251
  function co() {
252
252
  let e = [], t = 0, n = (e) => {
253
253
  e();
@@ -295,7 +295,7 @@ function co() {
295
295
  }
296
296
  };
297
297
  }
298
- var Z = co(), lo = new class extends Aa {
298
+ var Z = co(), lo = new class extends ja {
299
299
  #e = !0;
300
300
  #t;
301
301
  #n;
@@ -350,7 +350,7 @@ function mo(e) {
350
350
  t = !0;
351
351
  }, c = () => {
352
352
  t = !1;
353
- }, l = () => ja.isFocused() && (e.networkMode === "always" || lo.isOnline()) && e.canRun(), u = () => fo(e.networkMode) && e.canRun(), d = (e) => {
353
+ }, l = () => Ma.isFocused() && (e.networkMode === "always" || lo.isOnline()) && e.canRun(), u = () => fo(e.networkMode) && e.canRun(), d = (e) => {
354
354
  a() || (r?.(), i.resolve(e));
355
355
  }, f = (e) => {
356
356
  a() || (r?.(), i.reject(e));
@@ -399,7 +399,7 @@ var ho = class {
399
399
  this.clearGcTimeout();
400
400
  }
401
401
  scheduleGc() {
402
- this.clearGcTimeout(), Ra(this.gcTime) && (this.#e = Na.setTimeout(() => {
402
+ this.clearGcTimeout(), Ra(this.gcTime) && (this.#e = Pa.setTimeout(() => {
403
403
  this.optionalRemove();
404
404
  }, this.gcTime));
405
405
  }
@@ -407,7 +407,7 @@ var ho = class {
407
407
  this.gcTime = Math.max(this.gcTime || 0, e ?? (ao.isServer() ? Infinity : 3e5));
408
408
  }
409
409
  clearGcTimeout() {
410
- this.#e !== void 0 && (Na.clearTimeout(this.#e), this.#e = void 0);
410
+ this.#e !== void 0 && (Pa.clearTimeout(this.#e), this.#e = void 0);
411
411
  }
412
412
  };
413
413
  //#endregion
@@ -521,7 +521,7 @@ var yo = class extends ho {
521
521
  }
522
522
  cancel(e) {
523
523
  let t = this.#a?.promise;
524
- return this.#a?.cancel(e), t ? t.then(Ia).catch(Ia) : Promise.resolve();
524
+ return this.#a?.cancel(e), t ? t.then(X).catch(X) : Promise.resolve();
525
525
  }
526
526
  destroy() {
527
527
  super.destroy(), this.cancel({ silent: !0 });
@@ -956,7 +956,7 @@ function wo() {
956
956
  }
957
957
  //#endregion
958
958
  //#region node_modules/@tanstack/query-core/build/modern/mutationCache.js
959
- var To = class extends Aa {
959
+ var To = class extends ja {
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
  }
@@ -1047,7 +1047,7 @@ var To = class extends Aa {
1047
1047
  }
1048
1048
  resumePausedMutations() {
1049
1049
  let e = this.getAll().filter((e) => e.state.isPaused);
1050
- return Z.batch(() => Promise.all(e.map((e) => e.continue().catch(Ia))));
1050
+ return Z.batch(() => Promise.all(e.map((e) => e.continue().catch(X))));
1051
1051
  }
1052
1052
  };
1053
1053
  function Eo(e) {
@@ -1055,7 +1055,7 @@ function Eo(e) {
1055
1055
  }
1056
1056
  //#endregion
1057
1057
  //#region node_modules/@tanstack/query-core/build/modern/queryCache.js
1058
- var Do = class extends Aa {
1058
+ var Do = class extends ja {
1059
1059
  constructor(e = {}) {
1060
1060
  super(), this.config = e, this.#e = /* @__PURE__ */ new Map();
1061
1061
  }
@@ -1142,7 +1142,7 @@ var Do = class extends Aa {
1142
1142
  this.#e = e.queryCache || new Do(), this.#t = e.mutationCache || new To(), 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 = ja.subscribe(async (e) => {
1145
+ this.#a++, this.#a === 1 && (this.#o = Ma.subscribe(async (e) => {
1146
1146
  e && (await this.resumePausedMutations(), this.#e.onFocus());
1147
1147
  }), this.#s = lo.subscribe(async (e) => {
1148
1148
  e && (await this.resumePausedMutations(), this.#e.onOnline());
@@ -1210,7 +1210,7 @@ var Do = class extends Aa {
1210
1210
  revert: !0,
1211
1211
  ...t
1212
1212
  }, r = Z.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));
1213
- return Promise.all(r).then(Ia).catch(Ia);
1213
+ return Promise.all(r).then(X).catch(X);
1214
1214
  }
1215
1215
  invalidateQueries(e, t = {}) {
1216
1216
  return Z.batch(() => (this.#e.findAll(e).forEach((e) => {
@@ -1226,9 +1226,9 @@ var Do = class extends Aa {
1226
1226
  cancelRefetch: t.cancelRefetch ?? !0
1227
1227
  }, r = Z.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {
1228
1228
  let t = e.fetch(void 0, n);
1229
- return n.throwOnError || (t = t.catch(Ia)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1229
+ return n.throwOnError || (t = t.catch(X)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;
1230
1230
  }));
1231
- return Promise.all(r).then(Ia);
1231
+ return Promise.all(r).then(X);
1232
1232
  }
1233
1233
  fetchQuery(e) {
1234
1234
  let t = this.defaultQueryOptions(e);
@@ -1237,13 +1237,13 @@ var Do = class extends Aa {
1237
1237
  return n.isStaleByTime(Ba(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);
1238
1238
  }
1239
1239
  prefetchQuery(e) {
1240
- return this.fetchQuery(e).then(Ia).catch(Ia);
1240
+ return this.fetchQuery(e).then(X).catch(X);
1241
1241
  }
1242
1242
  fetchInfiniteQuery(e) {
1243
1243
  return e._type = "infinite", this.fetchQuery(e);
1244
1244
  }
1245
1245
  prefetchInfiniteQuery(e) {
1246
- return this.fetchInfiniteQuery(e).then(Ia).catch(Ia);
1246
+ return this.fetchInfiniteQuery(e).then(X).catch(X);
1247
1247
  }
1248
1248
  ensureInfiniteQueryData(e) {
1249
1249
  return e._type = "infinite", this.ensureQueryData(e);
@@ -1309,7 +1309,7 @@ var Do = class extends Aa {
1309
1309
  this.#e.clear(), this.#t.clear();
1310
1310
  }
1311
1311
  }, ko = /* @__PURE__ */ e({
1312
- Vue: () => sa,
1312
+ Vue: () => ca,
1313
1313
  Vue2: () => void 0,
1314
1314
  del: () => No,
1315
1315
  install: () => jo,
@@ -2349,7 +2349,7 @@ function Es(e) {
2349
2349
  function Ds(e) {
2350
2350
  let t = "/platform.assistant-conversations";
2351
2351
  return {
2352
- lookupOperation: (t) => Ye(e, t),
2352
+ lookupOperation: (t) => se(e, t),
2353
2353
  list: (n, r) => e.request({
2354
2354
  path: t,
2355
2355
  query: {
@@ -2383,7 +2383,7 @@ function Os(e) {
2383
2383
  return n[0]?.definition.id;
2384
2384
  }
2385
2385
  function c() {
2386
- return o() ? [...n.values()].map((e) => e.notification).filter((e) => !r.has(e.id) && !_i(e, i())).map((e) => structuredClone(e)) : [];
2386
+ return o() ? [...n.values()].map((e) => e.notification).filter((e) => !r.has(e.id) && !Wn(e, i())).map((e) => structuredClone(e)) : [];
2387
2387
  }
2388
2388
  function l() {
2389
2389
  o() && e.onChange(c());
@@ -2413,7 +2413,7 @@ function Os(e) {
2413
2413
  }
2414
2414
  for (let [e, n] of c.updates) t.delete(e), t.set(e, n);
2415
2415
  let o = new Map([...n].filter(([, e]) => e.sourceId !== u));
2416
- for (let [e, n] of t) !r.has(e) && !_i(n, i()) && o.set(e, {
2416
+ for (let [e, n] of t) !r.has(e) && !Wn(n, i()) && o.set(e, {
2417
2417
  sourceId: u,
2418
2418
  notification: n
2419
2419
  });
@@ -2448,11 +2448,11 @@ function Os(e) {
2448
2448
  if (!o()) return;
2449
2449
  let a = structuredClone(e), c = s(a), u = n.get(a.id);
2450
2450
  if (u && u.sourceId !== c) throw Error("Notification identity collides with another source");
2451
- c && t.get(c)?.flight?.updates.set(a.id, a), n.delete(a.id), !r.has(a.id) && !_i(a, i()) && n.set(a.id, {
2451
+ c && t.get(c)?.flight?.updates.set(a.id, a), n.delete(a.id), !r.has(a.id) && !Wn(a, i()) && n.set(a.id, {
2452
2452
  sourceId: c,
2453
2453
  notification: a
2454
2454
  });
2455
- for (let [e, t] of n) _i(t.notification, i()) && n.delete(e);
2455
+ for (let [e, t] of n) Wn(t.notification, i()) && n.delete(e);
2456
2456
  l();
2457
2457
  },
2458
2458
  dismiss(e) {
@@ -2482,29 +2482,29 @@ function Os(e) {
2482
2482
  }
2483
2483
  //#endregion
2484
2484
  //#region src/platform-admin-runtime/platformAdminRoutes.ts
2485
- var ks = ua(() => import("./workspaceViews-D2Uh4KAq.js").then((e) => e.n)), As = ua(() => import("./BusinessActivityLogView-Bbe-GbNG.js")), js = ua(() => import("./RequestErrorLogView-9GIz2mkQ.js")), Ms = ua(() => import("./LoginAuditLogView-DOwkqtVB.js")), Ns = ua(() => import("./RuntimeLogView-C5i19Z-u.js")), Ps = [
2485
+ var ks = da(() => import("./workspaceViews-8-LaaGxD.js").then((e) => e.n)), As = da(() => import("./BusinessActivityLogView-fzxP3P68.js")), js = da(() => import("./RequestErrorLogView-C-dZhHvD.js")), Ms = da(() => import("./LoginAuditLogView-D2q4WT8W.js")), Ns = da(() => import("./RuntimeLogView-BuFuboQh.js")), Ps = [
2486
2486
  {
2487
2487
  route: "/platform/code-rule",
2488
2488
  moduleAlias: "platform.code_rule",
2489
- component: ua(() => import("./CodeConfigurationView-DdPfBjoC.js").then((e) => e.n)),
2489
+ component: da(() => import("./CodeConfigurationView-DXrXp7kg.js").then((e) => e.n)),
2490
2490
  layout: "workspace"
2491
2491
  },
2492
2492
  {
2493
2493
  route: "/platform/translations",
2494
2494
  moduleAlias: "platform.localization",
2495
- component: ua(() => import("./ConfigurationTranslationView-B3Cr9Wes.js")),
2495
+ component: da(() => import("./ConfigurationTranslationView-CNWJhB8C.js")),
2496
2496
  layout: "workspace"
2497
2497
  },
2498
2498
  {
2499
2499
  route: "/workflow/admin",
2500
2500
  moduleAlias: "platform.workflow_admin",
2501
- component: ua(() => import("./WorkflowAdministrationView-CnoTudpI.js")),
2501
+ component: da(() => import("./WorkflowAdministrationView-Cb6RnlGU.js")),
2502
2502
  layout: "workspace"
2503
2503
  },
2504
2504
  {
2505
2505
  route: "/workflow/workbench",
2506
2506
  moduleAlias: "iam.workflow_workbench",
2507
- component: ua(() => import("./WorkflowWorkbenchView-DbWqspEB.js")),
2507
+ component: da(() => import("./WorkflowWorkbenchView-CbZervUv.js")),
2508
2508
  layout: "workspace"
2509
2509
  },
2510
2510
  {
@@ -2556,26 +2556,26 @@ function Vs(e, t) {
2556
2556
  //#region src/app/pageRouteContext.ts
2557
2557
  var Hs = Symbol("page-route"), Us = Symbol("page-descriptor");
2558
2558
  function Ws(e) {
2559
- xa(Hs, L(e));
2559
+ Sa(Hs, I(e));
2560
2560
  }
2561
2561
  function Gs() {
2562
- let e = fa(Hs);
2562
+ let e = pa(Hs);
2563
2563
  if (e) return e;
2564
- let t = Ie();
2565
- return L(() => t);
2564
+ let t = Le();
2565
+ return I(() => t);
2566
2566
  }
2567
2567
  function Ks() {
2568
- return fa(Us) ?? L(() => void 0);
2568
+ return pa(Us) ?? I(() => void 0);
2569
2569
  }
2570
2570
  //#endregion
2571
2571
  //#region src/platform-admin-runtime/PlatformAdminOutlet.vue
2572
- var qs = /* @__PURE__ */ W({
2572
+ var qs = /* @__PURE__ */ U({
2573
2573
  name: "PlatformAdminRouteOutlet",
2574
2574
  __name: "PlatformAdminOutlet",
2575
2575
  props: { descriptor: {} },
2576
2576
  setup(e) {
2577
- let t = e, n = L(() => Rs(t.descriptor)), r = L(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = L(() => t.descriptor.target.query?.workspacePresentation);
2578
- Si(L(() => t.descriptor.layout ?? n.value?.layout)), Ws(() => {
2577
+ let t = e, n = I(() => Rs(t.descriptor)), r = I(() => t.descriptor.target.moduleAlias ?? n.value?.moduleAlias), i = I(() => t.descriptor.target.query?.workspacePresentation);
2578
+ tr(I(() => t.descriptor.layout ?? n.value?.layout)), Ws(() => {
2579
2579
  let e = n.value?.route ?? t.descriptor.target.route ?? "", r = t.descriptor.target.route ?? e;
2580
2580
  return {
2581
2581
  path: r,
@@ -2591,16 +2591,16 @@ var qs = /* @__PURE__ */ W({
2591
2591
  e.startsWith(":") && i[t] && (n[e.slice(1)] = i[t]);
2592
2592
  }), n;
2593
2593
  }
2594
- return (t, a) => n.value && r.value ? (G(), R(J(vi), {
2594
+ return (t, a) => n.value && r.value ? (W(), L(q(Gn), {
2595
2595
  key: 0,
2596
2596
  "module-alias": r.value
2597
2597
  }, {
2598
- default: X(() => [i.value === "drawer" || i.value === "tab" ? (G(), R(J(se), {
2598
+ default: Y(() => [i.value === "drawer" || i.value === "tab" ? (W(), L(q(ce), {
2599
2599
  key: 0,
2600
2600
  descriptor: e.descriptor
2601
- }, null, 8, ["descriptor"])) : (G(), R(Ta(n.value.component), { key: 1 }))]),
2601
+ }, null, 8, ["descriptor"])) : (W(), L(Ea(n.value.component), { key: 1 }))]),
2602
2602
  _: 1
2603
- }, 8, ["module-alias"])) : z("v-if", !0);
2603
+ }, 8, ["module-alias"])) : R("v-if", !0);
2604
2604
  }
2605
2605
  }), Js;
2606
2606
  function Ys(e) {
@@ -2612,16 +2612,16 @@ function Xs(e, t) {
2612
2612
  //#endregion
2613
2613
  //#region src/platform-admin-runtime/backendHttp.ts
2614
2614
  function Zs(e = {}) {
2615
- let t = () => zr(ir({
2615
+ let t = () => li(Ai({
2616
2616
  baseUrl: import.meta.env.VITE_MUYUN_API_BASE_URL,
2617
- token: e.withAuth === !1 ? void 0 : ee(import.meta.env.VITE_MUYUN_AUTH_TOKEN),
2617
+ token: e.withAuth === !1 ? void 0 : u(import.meta.env.VITE_MUYUN_AUTH_TOKEN),
2618
2618
  credentials: Qs(import.meta.env.VITE_MUYUN_CREDENTIALS),
2619
2619
  onAuthenticationRequired: e.withAuth === !1 ? void 0 : (e, t) => Xs(e, t)
2620
- }), e.language ?? Cr);
2620
+ }), e.language ?? ai);
2621
2621
  return {
2622
2622
  async request(e) {
2623
- let n = await t().request(e), r = yn(n);
2624
- return r.changeSetId && x.dispatch({
2623
+ let n = await t().request(e), r = Hi(n);
2624
+ return r.changeSetId && Se.dispatch({
2625
2625
  changeSetId: r.changeSetId,
2626
2626
  changes: r.changes
2627
2627
  }), n;
@@ -2657,14 +2657,14 @@ function tc(e, t) {
2657
2657
  }
2658
2658
  };
2659
2659
  }
2660
- function nc(e = Cr) {
2661
- let t = "platform.screen.OpenApiCatalogView.module-api-directory", n = Qe(t);
2660
+ function nc(e = ai) {
2661
+ let t = "platform.screen.OpenApiCatalogView.module-api-directory", n = Pi(t);
2662
2662
  return {
2663
2663
  pageType: "platform-route",
2664
2664
  openMode: "workbench-route",
2665
2665
  hostType: "platform-route-host",
2666
2666
  title: "开放模块 API",
2667
- titleText: Nt(t, n.originalText, e),
2667
+ titleText: hn(t, n.originalText, e),
2668
2668
  target: { route: "/openapi" },
2669
2669
  tabPolicy: {
2670
2670
  identity: "by-target",
@@ -2684,7 +2684,7 @@ function ic(e) {
2684
2684
  //#endregion
2685
2685
  //#region src/app/workbenchStartup.ts
2686
2686
  function ac(e, t, n, r = {}) {
2687
- let i = k(t, n, r), a = e.find((e) => e.key === i.key);
2687
+ let i = j(t, n, r), a = e.find((e) => e.key === i.key);
2688
2688
  if (a) {
2689
2689
  let o = a.pageDescriptor ? Oc(t, n, a.pageDescriptor, r, a.instanceKey) : i;
2690
2690
  return {
@@ -2698,7 +2698,7 @@ function ac(e, t, n, r = {}) {
2698
2698
  };
2699
2699
  }
2700
2700
  function oc(e, t, n = {}) {
2701
- let r = Tc(we(t), n), i = e.find((e) => e.key === r.key || r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && Ae(e.pageDescriptor) === Ae(r.pageDescriptor));
2701
+ let r = Tc(He(t), n), i = e.find((e) => e.key === r.key || r.pageDescriptor?.tabPolicy.identity === "by-params" && e.pageDescriptor?.tabPolicy.identity === "by-params" && Re(e.pageDescriptor) === Re(r.pageDescriptor));
2702
2702
  return i ? {
2703
2703
  tabs: e,
2704
2704
  activeTabKey: i.key,
@@ -2710,7 +2710,7 @@ function oc(e, t, n = {}) {
2710
2710
  };
2711
2711
  }
2712
2712
  function sc(e, t, n = {}) {
2713
- return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : Fe(N(t, {
2713
+ return t.menuType === "link" && t.openMode === "window" ? t.externalUrl : ye(je(t, {
2714
2714
  ...n,
2715
2715
  title: e.title
2716
2716
  }), n);
@@ -2718,35 +2718,35 @@ function sc(e, t, n = {}) {
2718
2718
  function cc(e) {
2719
2719
  let t = (e.tabs ?? []).find((t) => t.key === e.activeTabKey);
2720
2720
  if (t?.fullPath) return t.fullPath;
2721
- let n = t?.pageDescriptor ?? (t?.target ? N(t.target, { title: t.title }) : void 0);
2722
- return n?.pageType === "platform-route" && rc(n) && n.target.route ? n.target.route : n ? Fe(n) : void 0;
2721
+ let n = t?.pageDescriptor ?? (t?.target ? je(t.target, { title: t.title }) : void 0);
2722
+ return n?.pageType === "platform-route" && rc(n) && n.target.route ? n.target.route : n ? ye(n) : void 0;
2723
2723
  }
2724
- function lc(e, t, r = {}, i = !1, a = Cr) {
2724
+ function lc(e, t, n = {}, r = !1, i = ai) {
2725
2725
  if (t === "/" || t === "") return e;
2726
- let o = t.split(/[?#]/, 1)[0] ?? "", s = ec(o), c = s ? tc(s) : ic(o) ? nc(a) : ce(t, r);
2727
- if (!c) return e;
2728
- let l = c.menuId ? Fc(e.menus, c.menuId) : void 0, u = l ? n(l) : void 0, d = l && u && pc(u, c) ? {
2729
- ...c,
2730
- title: l.title,
2731
- titleText: l.titleText
2732
- } : c, f = fc(d, r.title, a), p = f ?? d, m = e.tabs ?? [], h = f ? dc(m, f) : void 0, g = f ? uc(f, h) : i ? we(p) : p, _ = l && Nc(l, g, r) ? l : Mc(e.menus, g, r), v = _ === l ? u : _ ? n(_) : void 0, y = f ? Tc(g, r) : _ && v && de(v) ? Oc(_, v, g, r, m.find((e) => e.key === `menu:${_.id}`)?.instanceKey) : Tc(g, r), b = Dc(m, y);
2726
+ let a = t.split(/[?#]/, 1)[0] ?? "", o = ec(a), s = o ? tc(o) : ic(a) ? nc(i) : Te(t, n);
2727
+ if (!s) return e;
2728
+ let c = s.menuId ? Fc(e.menus, s.menuId) : void 0, l = c ? fe(c) : void 0, u = c && l && pc(l, s) ? {
2729
+ ...s,
2730
+ title: c.title,
2731
+ titleText: c.titleText
2732
+ } : s, d = fc(u, n.title, i), f = d ?? u, p = e.tabs ?? [], m = d ? dc(p, d) : void 0, h = d ? uc(d, m) : r ? He(f) : f, g = c && Nc(c, h, n) ? c : Mc(e.menus, h, n), _ = g === c ? l : g ? fe(g) : void 0, v = d ? Tc(h, n) : g && _ && Be(_) ? Oc(g, _, h, n, p.find((e) => e.key === `menu:${g.id}`)?.instanceKey) : Tc(h, n), y = Dc(p, v);
2733
2733
  return {
2734
2734
  ...e,
2735
- tabs: b,
2736
- activeTabKey: y.key
2735
+ tabs: y,
2736
+ activeTabKey: v.key
2737
2737
  };
2738
2738
  }
2739
2739
  function uc(e, t) {
2740
- return t?.instanceKey ? we(e, t.instanceKey) : t ? e : we(e);
2740
+ return t?.instanceKey ? He(e, t.instanceKey) : t ? e : He(e);
2741
2741
  }
2742
2742
  function dc(e, t) {
2743
- let n = Ae(t);
2744
- return e.find((e) => e.pageDescriptor?.pageType === "business-route" && Ae(e.pageDescriptor) === n);
2743
+ let n = Re(t);
2744
+ return e.find((e) => e.pageDescriptor?.pageType === "business-route" && Re(e.pageDescriptor) === n);
2745
2745
  }
2746
2746
  function fc(e, t, n) {
2747
2747
  if (e.pageType !== "business-route") return;
2748
- let r = Ee(e);
2749
- return r ? ue(r.view, r.input, r.presentation, t, n) : void 0;
2748
+ let r = _e(e);
2749
+ return r ? me(r.view, r.input, r.presentation, t, n) : void 0;
2750
2750
  }
2751
2751
  function pc(e, t) {
2752
2752
  return t.pageType === "dynamic-module" && e.menuType === "module" && e.moduleAlias === t.target.moduleAlias;
@@ -2800,7 +2800,7 @@ function _c(e, t) {
2800
2800
  target: t.target
2801
2801
  };
2802
2802
  }
2803
- function vc(e, t, n = {}, r = Cr) {
2803
+ function vc(e, t, n = {}, r = ai) {
2804
2804
  let i = /* @__PURE__ */ new Map();
2805
2805
  Sc(t, i);
2806
2806
  let a = /* @__PURE__ */ new Set();
@@ -2809,7 +2809,7 @@ function vc(e, t, n = {}, r = Cr) {
2809
2809
  if (t) {
2810
2810
  if (a.has(t)) return [];
2811
2811
  let e = i.get(t);
2812
- return e ? (a.add(t), [k(e.menu, e.target, n)]) : [];
2812
+ return e ? (a.add(t), [j(e.menu, e.target, n)]) : [];
2813
2813
  }
2814
2814
  let o = bc(e, r);
2815
2815
  return !o || a.has(o.key) ? [] : (a.add(o.key), [o]);
@@ -2821,20 +2821,20 @@ function yc(e) {
2821
2821
  function bc(e, t) {
2822
2822
  let n = e.pageDescriptor;
2823
2823
  if (n?.pageType !== "business-route") return;
2824
- let r = Ee(n);
2825
- if (r && r.presentation === "tab") return Tc(ue(r.view, r.input, "tab", void 0, t));
2824
+ let r = _e(n);
2825
+ if (r && r.presentation === "tab") return Tc(me(r.view, r.input, "tab", void 0, t));
2826
2826
  }
2827
2827
  function xc(e, t) {
2828
2828
  let n = e.findIndex((e) => e.key === t.key);
2829
2829
  return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
2830
2830
  }
2831
2831
  function Sc(e, t) {
2832
- for (let r of e) {
2833
- let e = n(r.record);
2834
- e && de(e) && t.set(r.record.id, {
2835
- menu: r.record,
2832
+ for (let n of e) {
2833
+ let e = fe(n.record);
2834
+ e && Be(e) && t.set(n.record.id, {
2835
+ menu: n.record,
2836
2836
  target: e
2837
- }), Sc(r.children, t);
2837
+ }), Sc(n.children, t);
2838
2838
  }
2839
2839
  }
2840
2840
  function Cc(e, t) {
@@ -2849,10 +2849,10 @@ function wc(e, t, n = []) {
2849
2849
  return [...i.filter((e) => a.has(e.key)), ...i.filter((e) => !a.has(e.key))];
2850
2850
  }
2851
2851
  function Tc(e, t = {}) {
2852
- let n = Fe(e, t);
2852
+ let n = ye(e, t);
2853
2853
  return {
2854
2854
  ...Ec(e) ? { instanceKey: Ec(e) } : {},
2855
- key: Le(e),
2855
+ key: le(e),
2856
2856
  title: e.title ?? jc(e),
2857
2857
  fullPath: n,
2858
2858
  pageDescriptor: e,
@@ -2869,7 +2869,7 @@ function Dc(e, t) {
2869
2869
  return n < 0 ? [...e, t] : e.map((e, r) => r === n ? t : e);
2870
2870
  }
2871
2871
  function Oc(e, t, n, r, i) {
2872
- let a = we(n, i), o = k(e, t, r), s = o.pageDescriptor ?? a, c = a.title === void 0 ? {
2872
+ let a = He(n, i), o = j(e, t, r), s = o.pageDescriptor ?? a, c = a.title === void 0 ? {
2873
2873
  title: e.title,
2874
2874
  titleText: s.titleText
2875
2875
  } : { title: a.title }, l = kc(a) && kc(s) || Ac(a) && Ac(s) ? {
@@ -2909,12 +2909,12 @@ function Mc(e, t, n) {
2909
2909
  if (e) return e;
2910
2910
  }
2911
2911
  }
2912
- function Nc(e, t, r) {
2913
- let i = n(e), a = i ? N(i, {
2914
- ...r,
2912
+ function Nc(e, t, n) {
2913
+ let r = fe(e), i = r ? je(r, {
2914
+ ...n,
2915
2915
  title: e.title
2916
2916
  }) : void 0;
2917
- return a ? Pc(a, t) : !1;
2917
+ return i ? Pc(i, t) : !1;
2918
2918
  }
2919
2919
  function Pc(e, t) {
2920
2920
  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;
@@ -2978,21 +2978,21 @@ function Kc(e) {
2978
2978
  }
2979
2979
  //#endregion
2980
2980
  //#region src/consumer/PlatformAdminOutlet.vue
2981
- var qc = /* @__PURE__ */ W({
2981
+ var qc = /* @__PURE__ */ U({
2982
2982
  name: "PlatformAdminOutlet",
2983
2983
  __name: "PlatformAdminOutlet",
2984
2984
  props: { descriptor: {} },
2985
2985
  setup(e) {
2986
- return (t, n) => (G(), R(ie, { descriptor: e.descriptor }, la({ _: 2 }, [J(zs)(e.descriptor) ? {
2986
+ return (t, n) => (W(), L(ae, { descriptor: e.descriptor }, ua({ _: 2 }, [q(zs)(e.descriptor) ? {
2987
2987
  name: "default",
2988
- fn: X(() => [U(qs, { descriptor: e.descriptor }, null, 8, ["descriptor"])]),
2988
+ fn: Y(() => [H(qs, { descriptor: e.descriptor }, null, 8, ["descriptor"])]),
2989
2989
  key: "0"
2990
2990
  } : void 0]), 1032, ["descriptor"]));
2991
2991
  }
2992
2992
  }), Jc = { class: "change-own-password-fields" }, Yc = {
2993
2993
  key: 0,
2994
2994
  class: "change-own-password-error"
2995
- }, Xc = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
2995
+ }, Xc = /*#__PURE__*/ ar(/* @__PURE__ */ U({
2996
2996
  name: "ChangeOwnPasswordDialog",
2997
2997
  __name: "ChangeOwnPasswordDialog",
2998
2998
  props: {
@@ -3017,54 +3017,54 @@ var qc = /* @__PURE__ */ W({
3017
3017
  "update:confirmPassword"
3018
3018
  ],
3019
3019
  setup(e, { emit: t }) {
3020
- let n = I(), r = t;
3021
- return (t, i) => (G(), R(J(gn), {
3020
+ let n = N(), r = t;
3021
+ return (t, i) => (W(), L(q(lt), {
3022
3022
  open: e.open,
3023
- title: J(n).t("platform.screen.ChangeOwnPasswordDialog.change-password", "修改密码"),
3024
- "confirm-text": J(n).t("platform.screen.ChangeOwnPasswordDialog.save", "保存"),
3023
+ title: q(n).t("platform.screen.ChangeOwnPasswordDialog.change-password", "修改密码"),
3024
+ "confirm-text": q(n).t("platform.screen.ChangeOwnPasswordDialog.save", "保存"),
3025
3025
  "confirm-loading": e.saving,
3026
3026
  "confirm-disabled": !e.currentPassword || !e.newPassword || !e.confirmPassword,
3027
3027
  onConfirm: i[3] ||= (e) => r("submit"),
3028
3028
  onCancel: i[4] ||= (e) => r("close")
3029
3029
  }, {
3030
- default: X(() => [V("div", Jc, [
3031
- V("label", null, [V("span", null, q(J(n).t("platform.screen.ChangeOwnPasswordDialog.current-password", "当前密码")), 1), U(J(F), {
3030
+ default: Y(() => [B("div", Jc, [
3031
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.ChangeOwnPasswordDialog.current-password", "当前密码")), 1), H(q(P), {
3032
3032
  value: e.currentPassword,
3033
3033
  type: "password",
3034
3034
  autocomplete: "current-password",
3035
3035
  disabled: e.saving,
3036
- placeholder: J(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-current-password", "请输入当前密码"),
3036
+ placeholder: q(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-current-password", "请输入当前密码"),
3037
3037
  "onUpdate:value": i[0] ||= (e) => r("update:currentPassword", e)
3038
3038
  }, null, 8, [
3039
3039
  "value",
3040
3040
  "disabled",
3041
3041
  "placeholder"
3042
3042
  ])]),
3043
- V("label", null, [V("span", null, q(J(n).t("platform.screen.ChangeOwnPasswordDialog.new-password", "新密码")), 1), U(J(F), {
3043
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.ChangeOwnPasswordDialog.new-password", "新密码")), 1), H(q(P), {
3044
3044
  value: e.newPassword,
3045
3045
  type: "password",
3046
3046
  autocomplete: "new-password",
3047
3047
  disabled: e.saving,
3048
- placeholder: J(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-new-password", "请输入新密码"),
3048
+ placeholder: q(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-new-password", "请输入新密码"),
3049
3049
  "onUpdate:value": i[1] ||= (e) => r("update:newPassword", e)
3050
3050
  }, null, 8, [
3051
3051
  "value",
3052
3052
  "disabled",
3053
3053
  "placeholder"
3054
3054
  ])]),
3055
- V("label", null, [V("span", null, q(J(n).t("platform.screen.ChangeOwnPasswordDialog.confirm-new-password", "确认新密码")), 1), U(J(F), {
3055
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.ChangeOwnPasswordDialog.confirm-new-password", "确认新密码")), 1), H(q(P), {
3056
3056
  value: e.confirmPassword,
3057
3057
  type: "password",
3058
3058
  autocomplete: "new-password",
3059
3059
  disabled: e.saving,
3060
- placeholder: J(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-new-password-again", "请再次输入新密码"),
3060
+ placeholder: q(n).t("platform.screen.ChangeOwnPasswordDialog.enter-your-new-password-again", "请再次输入新密码"),
3061
3061
  "onUpdate:value": i[2] ||= (e) => r("update:confirmPassword", e)
3062
3062
  }, null, 8, [
3063
3063
  "value",
3064
3064
  "disabled",
3065
3065
  "placeholder"
3066
3066
  ])])
3067
- ]), e.error ? (G(), B("p", Yc, q(e.error), 1)) : z("v-if", !0)]),
3067
+ ]), e.error ? (W(), z("p", Yc, K(e.error), 1)) : R("v-if", !0)]),
3068
3068
  _: 1
3069
3069
  }, 8, [
3070
3070
  "open",
@@ -3169,12 +3169,12 @@ var ul = {
3169
3169
  }, dl = { key: 0 }, fl = {
3170
3170
  key: 1,
3171
3171
  role: "alert"
3172
- }, pl = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
3172
+ }, pl = /*#__PURE__*/ ar(/* @__PURE__ */ U({
3173
3173
  __name: "WeLinkQrCode",
3174
3174
  props: { start: {} },
3175
3175
  emits: ["close"],
3176
3176
  setup(e, { emit: t }) {
3177
- let n = e, r = t, i = I(), a = `welink-${Ea()}`, o = K(), s = K(!1), c = K(!1), l = !0, u = !1, d;
3177
+ let n = e, r = t, i = N(), a = `welink-${Da()}`, o = G(), s = G(!1), c = G(!1), l = !0, u = !1, d;
3178
3178
  function f(e) {
3179
3179
  let t = o.value?.querySelector("iframe");
3180
3180
  if (!l || s.value || c.value || u || Date.now() >= Date.parse(n.start.expiresAt) || e.origin !== "https://login.welink.huaweicloud.com" || !t?.contentWindow || e.source !== t.contentWindow || typeof e.data != "string" || !e.data.trim() || e.data.length > 4096) return;
@@ -3188,7 +3188,7 @@ var ul = {
3188
3188
  code: e.data
3189
3189
  }).toString(), u = !0, el(i.toString());
3190
3190
  }
3191
- return ya(async () => {
3191
+ return ba(async () => {
3192
3192
  try {
3193
3193
  let e = n.start.qrCode;
3194
3194
  if (!e || e.providerType !== "welink" || e.scriptUrl !== sl || e.messageOrigin !== "https://login.welink.huaweicloud.com" || e.state !== n.start.state || e.scope !== "snsapi_login" || new URL(e.authorizationUrl).origin !== "https://login.welink.huaweicloud.com" || new URL(e.authorizationUrl).pathname !== "/sso/oauth2/sns_authorize") throw Error("Unrecognized QR presentation");
@@ -3217,14 +3217,14 @@ var ul = {
3217
3217
  } catch {
3218
3218
  l && (s.value = !0);
3219
3219
  }
3220
- }), va(() => {
3220
+ }), ya(() => {
3221
3221
  l = !1, clearTimeout(d), window.removeEventListener("message", f);
3222
- }), (e, t) => (G(), B("section", ul, [c.value ? (G(), B("p", dl, q(J(i).t("platform.welink.expired", "二维码授权已超时,请关闭后重新发起")), 1)) : s.value ? (G(), B("p", fl, q(J(i).t("platform.welink.load-failed", "无法加载 WeLink 二维码,请检查网络后重新发起,或使用其他登录方式")), 1)) : (G(), B(ca, { key: 2 }, [V("p", null, q(J(i).t("platform.welink.scan", "请使用 WeLink 扫码并在手机上确认授权")), 1), V("div", {
3222
+ }), (e, t) => (W(), z("section", ul, [c.value ? (W(), z("p", dl, K(q(i).t("platform.welink.expired", "二维码授权已超时,请关闭后重新发起")), 1)) : s.value ? (W(), z("p", fl, K(q(i).t("platform.welink.load-failed", "无法加载 WeLink 二维码,请检查网络后重新发起,或使用其他登录方式")), 1)) : (W(), z(la, { key: 2 }, [B("p", null, K(q(i).t("platform.welink.scan", "请使用 WeLink 扫码并在手机上确认授权")), 1), B("div", {
3223
3223
  id: a,
3224
3224
  ref_key: "container",
3225
3225
  ref: o
3226
- }, null, 512)], 64)), U(J(P), { onClick: t[0] ||= (e) => r("close") }, {
3227
- default: X(() => [H(q(J(i).t("platform.action.cancel", "取消")), 1)]),
3226
+ }, null, 512)], 64)), H(q(F), { onClick: t[0] ||= (e) => r("close") }, {
3227
+ default: Y(() => [V(K(q(i).t("platform.action.cancel", "取消")), 1)]),
3228
3228
  _: 1
3229
3229
  })]));
3230
3230
  }
@@ -3237,7 +3237,7 @@ var ul = {
3237
3237
  }, gl = {
3238
3238
  key: 2,
3239
3239
  class: "external-bindings-list"
3240
- }, _l = { class: "external-bindings-provider" }, vl = { class: "external-bindings-account" }, yl = { class: "external-bindings-provider" }, bl = { class: "external-bindings-account muted" }, xl = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
3240
+ }, _l = { class: "external-bindings-provider" }, vl = { class: "external-bindings-account" }, yl = { class: "external-bindings-provider" }, bl = { class: "external-bindings-account muted" }, xl = /*#__PURE__*/ ar(/* @__PURE__ */ U({
3241
3241
  name: "ExternalIdentityBindings",
3242
3242
  __name: "ExternalIdentityBindings",
3243
3243
  props: {
@@ -3245,22 +3245,22 @@ var ul = {
3245
3245
  token: {}
3246
3246
  },
3247
3247
  setup(e) {
3248
- let t = e, n = I(), r = K();
3248
+ let t = e, n = N(), r = G();
3249
3249
  function i() {
3250
3250
  r.value && $c(r.value.state), r.value = void 0;
3251
3251
  }
3252
- let a = K(), o = K(!1), s = K(!1), c = K();
3253
- ya(l);
3252
+ let a = G(), o = G(!1), s = G(!1), c = G();
3253
+ ba(l);
3254
3254
  async function l() {
3255
3255
  c.value = void 0;
3256
3256
  try {
3257
3257
  a.value = await t.client.identities(t.token);
3258
3258
  } catch (e) {
3259
- if (e instanceof nn && (e.status === 404 || e.status === 405)) {
3259
+ if (e instanceof rt && (e.status === 404 || e.status === 405)) {
3260
3260
  o.value = !0;
3261
3261
  return;
3262
3262
  }
3263
- c.value = () => on(Vr(e), n);
3263
+ c.value = () => Pt(en(e), n);
3264
3264
  }
3265
3265
  }
3266
3266
  async function u(e) {
@@ -3273,11 +3273,11 @@ var ul = {
3273
3273
  purpose: "bind"
3274
3274
  }), n.qrCode ? (r.value = n, s.value = !1) : el(n.authorizationUrl);
3275
3275
  } catch (e) {
3276
- c.value = () => on(Vr(e), n), s.value = !1;
3276
+ c.value = () => Pt(en(e), n), s.value = !1;
3277
3277
  }
3278
3278
  }
3279
3279
  async function d(e) {
3280
- if (await cn({
3280
+ if (await It({
3281
3281
  title: n.t("platform.screen.ExternalIdentityBindings.unbind-title", "解除外部账号绑定"),
3282
3282
  content: n.t("platform.screen.ExternalIdentityBindings.unbind-content", "解除后将无法再通过 {provider} 登录当前账号。", { provider: e.providerTitle }),
3283
3283
  danger: !0
@@ -3286,45 +3286,45 @@ var ul = {
3286
3286
  try {
3287
3287
  await t.client.unbind(e.id, t.token), await l();
3288
3288
  } catch (e) {
3289
- c.value = () => on(Vr(e), n);
3289
+ c.value = () => Pt(en(e), n);
3290
3290
  } finally {
3291
3291
  s.value = !1;
3292
3292
  }
3293
3293
  }
3294
3294
  }
3295
- return (e, t) => !o.value && (a.value?.bindings.length || a.value?.bindableProviders.length || c.value) ? (G(), B("section", ml, [
3296
- r.value ? (G(), R(pl, {
3295
+ return (e, t) => !o.value && (a.value?.bindings.length || a.value?.bindableProviders.length || c.value) ? (W(), z("section", ml, [
3296
+ r.value ? (W(), L(pl, {
3297
3297
  key: r.value.state,
3298
3298
  start: r.value,
3299
3299
  onClose: i
3300
- }, null, 8, ["start"])) : z("v-if", !0),
3301
- V("h3", null, q(J(n).t("platform.screen.ExternalIdentityBindings.title", "外部账号绑定")), 1),
3302
- c.value ? (G(), B("p", hl, q(c.value()), 1)) : z("v-if", !0),
3303
- a.value ? (G(), B("ul", gl, [(G(!0), B(ca, null, Ca(a.value.bindings, (e) => (G(), B("li", { key: e.id }, [
3304
- V("span", _l, q(e.providerTitle), 1),
3305
- V("span", vl, q(e.displayName || e.externalUserId), 1),
3306
- U(J(P), {
3300
+ }, null, 8, ["start"])) : R("v-if", !0),
3301
+ B("h3", null, K(q(n).t("platform.screen.ExternalIdentityBindings.title", "外部账号绑定")), 1),
3302
+ c.value ? (W(), z("p", hl, K(c.value()), 1)) : R("v-if", !0),
3303
+ a.value ? (W(), z("ul", gl, [(W(!0), z(la, null, wa(a.value.bindings, (e) => (W(), z("li", { key: e.id }, [
3304
+ B("span", _l, K(e.providerTitle), 1),
3305
+ B("span", vl, K(e.displayName || e.externalUserId), 1),
3306
+ H(q(F), {
3307
3307
  size: "small",
3308
3308
  danger: "",
3309
3309
  disabled: s.value,
3310
3310
  onClick: (t) => d(e)
3311
3311
  }, {
3312
- default: X(() => [H(q(J(n).t("platform.screen.ExternalIdentityBindings.unbind", "解除绑定")), 1)]),
3312
+ default: Y(() => [V(K(q(n).t("platform.screen.ExternalIdentityBindings.unbind", "解除绑定")), 1)]),
3313
3313
  _: 1
3314
3314
  }, 8, ["disabled", "onClick"])
3315
- ]))), 128)), (G(!0), B(ca, null, Ca(a.value.bindableProviders, (e) => (G(), B("li", { key: e.providerId }, [
3316
- V("span", yl, q(e.title), 1),
3317
- V("span", bl, q(J(n).t("platform.screen.ExternalIdentityBindings.not-bound", "未绑定")), 1),
3318
- U(J(P), {
3315
+ ]))), 128)), (W(!0), z(la, null, wa(a.value.bindableProviders, (e) => (W(), z("li", { key: e.providerId }, [
3316
+ B("span", yl, K(e.title), 1),
3317
+ B("span", bl, K(q(n).t("platform.screen.ExternalIdentityBindings.not-bound", "未绑定")), 1),
3318
+ H(q(F), {
3319
3319
  size: "small",
3320
3320
  loading: s.value,
3321
3321
  onClick: (t) => u(e)
3322
3322
  }, {
3323
- default: X(() => [H(q(J(n).t("platform.screen.ExternalIdentityBindings.bind", "去绑定")), 1)]),
3323
+ default: Y(() => [V(K(q(n).t("platform.screen.ExternalIdentityBindings.bind", "去绑定")), 1)]),
3324
3324
  _: 1
3325
3325
  }, 8, ["loading", "onClick"])
3326
- ]))), 128))])) : z("v-if", !0)
3327
- ])) : z("v-if", !0);
3326
+ ]))), 128))])) : R("v-if", !0)
3327
+ ])) : R("v-if", !0);
3328
3328
  }
3329
3329
  }), [["__scopeId", "data-v-c99eaf5c"]]), Sl = {
3330
3330
  key: 0,
@@ -3344,7 +3344,7 @@ var ul = {
3344
3344
  }, zl = { class: "profile-account-monogram" }, Bl = {
3345
3345
  key: 2,
3346
3346
  class: "profile-error"
3347
- }, Vl = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
3347
+ }, Vl = /*#__PURE__*/ ar(/* @__PURE__ */ U({
3348
3348
  name: "CurrentUserProfileDialog",
3349
3349
  __name: "CurrentUserProfileDialog",
3350
3350
  props: {
@@ -3368,14 +3368,14 @@ var ul = {
3368
3368
  },
3369
3369
  emits: ["close", "submit"],
3370
3370
  setup(e, { emit: t }) {
3371
- let n = I(), r = e, i = t, a = K(""), o = K(""), s = K();
3372
- Y(() => r.profile, (e) => {
3371
+ let n = N(), r = e, i = t, a = G(""), o = G(""), s = G();
3372
+ J(() => r.profile, (e) => {
3373
3373
  a.value = e?.employee?.mobile ?? "", o.value = e?.employee?.email ?? "", s.value = e?.employee?.avatarAssetId;
3374
3374
  }, { immediate: !0 });
3375
- let c = L(() => r.profile?.employee), l = L(() => Hn({
3375
+ let c = I(() => r.profile?.employee), l = I(() => mn({
3376
3376
  moduleAlias: "iam.employee",
3377
3377
  http: r.http
3378
- })), u = L(() => c.value?.positions ?? []), d = {
3378
+ })), u = I(() => c.value?.positions ?? []), d = {
3379
3379
  fieldRef: { fieldName: "avatarAssetId" },
3380
3380
  allowedMediaTypes: [
3381
3381
  "image/png",
@@ -3388,16 +3388,16 @@ var ul = {
3388
3388
  storagePolicy: "DATABASE_INLINE",
3389
3389
  uploadAvailable: !0,
3390
3390
  readAvailable: !0
3391
- }, f = L(() => ({
3391
+ }, f = I(() => ({
3392
3392
  id: c.value?.id,
3393
3393
  avatarAssetId: s.value
3394
3394
  }));
3395
- return (t, r) => (G(), R(J(gn), {
3395
+ return (t, r) => (W(), L(q(lt), {
3396
3396
  open: e.open,
3397
- title: J(n).t("platform.screen.CurrentUserProfileDialog.my-profile", "个人信息"),
3397
+ title: q(n).t("platform.screen.CurrentUserProfileDialog.my-profile", "个人信息"),
3398
3398
  width: 640,
3399
3399
  class: "current-user-profile-dialog",
3400
- "confirm-text": c.value?.contactEditable ? J(n).t("platform.screen.CurrentUserProfileDialog.save-contact-details", "保存联系方式") : J(n).t("platform.screen.CurrentUserProfileDialog.close", "关闭"),
3400
+ "confirm-text": c.value?.contactEditable ? q(n).t("platform.screen.CurrentUserProfileDialog.save-contact-details", "保存联系方式") : q(n).t("platform.screen.CurrentUserProfileDialog.close", "关闭"),
3401
3401
  "confirm-loading": e.saving,
3402
3402
  "confirm-disabled": e.loading,
3403
3403
  onConfirm: r[5] ||= (e) => c.value?.contactEditable ? i("submit", {
@@ -3407,14 +3407,14 @@ var ul = {
3407
3407
  }) : i("close"),
3408
3408
  onCancel: r[6] ||= (e) => i("close")
3409
3409
  }, {
3410
- operation: X(() => [c.value?.contactEditable ? (G(), R(J(P), {
3410
+ operation: Y(() => [c.value?.contactEditable ? (W(), L(q(F), {
3411
3411
  key: 0,
3412
3412
  disabled: e.saving,
3413
3413
  onClick: r[3] ||= (e) => i("close")
3414
3414
  }, {
3415
- default: X(() => [H(q(J(n).t("platform.action.cancel", "取消")), 1)]),
3415
+ default: Y(() => [V(K(q(n).t("platform.action.cancel", "取消")), 1)]),
3416
3416
  _: 1
3417
- }, 8, ["disabled"])) : z("v-if", !0), U(J(P), {
3417
+ }, 8, ["disabled"])) : R("v-if", !0), H(q(F), {
3418
3418
  type: c.value?.contactEditable ? "primary" : "default",
3419
3419
  loading: e.saving,
3420
3420
  disabled: e.loading,
@@ -3424,25 +3424,25 @@ var ul = {
3424
3424
  avatarAssetId: s.value
3425
3425
  }) : i("close")
3426
3426
  }, {
3427
- default: X(() => [H(q(c.value?.contactEditable ? J(n).t("platform.screen.CurrentUserProfileDialog.save-contact-details", "保存联系方式") : J(n).t("platform.screen.CurrentUserProfileDialog.close", "关闭")), 1)]),
3427
+ default: Y(() => [V(K(c.value?.contactEditable ? q(n).t("platform.screen.CurrentUserProfileDialog.save-contact-details", "保存联系方式") : q(n).t("platform.screen.CurrentUserProfileDialog.close", "关闭")), 1)]),
3428
3428
  _: 1
3429
3429
  }, 8, [
3430
3430
  "type",
3431
3431
  "loading",
3432
3432
  "disabled"
3433
3433
  ])]),
3434
- default: X(() => [e.loading ? (G(), B("p", Sl, q(J(n).t("platform.screen.CurrentUserProfileDialog.loading-your-profile", "正在整理你的资料…")), 1)) : (G(), B(ca, { key: 1 }, [
3435
- c.value ? (G(), B("section", Cl, [
3436
- V("div", wl, [U(J(Ei), {
3434
+ default: Y(() => [e.loading ? (W(), z("p", Sl, K(q(n).t("platform.screen.CurrentUserProfileDialog.loading-your-profile", "正在整理你的资料…")), 1)) : (W(), z(la, { key: 1 }, [
3435
+ c.value ? (W(), z("section", Cl, [
3436
+ B("div", wl, [H(q(Jr), {
3437
3437
  "hide-label": "",
3438
- label: J(n).t("platform.screen.CurrentUserProfileDialog.avatar", "头像"),
3438
+ label: q(n).t("platform.screen.CurrentUserProfileDialog.avatar", "头像"),
3439
3439
  value: s.value,
3440
3440
  record: f.value,
3441
3441
  context: l.value,
3442
3442
  definition: d,
3443
3443
  disabled: !c.value.contactEditable || e.saving,
3444
3444
  "form-session-key": c.value.id,
3445
- "upload-hint": J(n).t("platform.screen.CurrentUserProfileDialog.png-jpg-gif-and-webp-are-supported-up", "支持 PNG、JPG、GIF、WebP,文件不超过 1024 KB。"),
3445
+ "upload-hint": q(n).t("platform.screen.CurrentUserProfileDialog.png-jpg-gif-and-webp-are-supported-up", "支持 PNG、JPG、GIF、WebP,文件不超过 1024 KB。"),
3446
3446
  "onUpdate:value": r[0] ||= (e) => s.value = e
3447
3447
  }, null, 8, [
3448
3448
  "label",
@@ -3453,42 +3453,42 @@ var ul = {
3453
3453
  "form-session-key",
3454
3454
  "upload-hint"
3455
3455
  ])]),
3456
- V("div", Tl, [
3457
- V("p", El, q(J(n).t("platform.screen.CurrentUserProfileDialog.employee-profile", "职员档案")), 1),
3458
- V("h2", null, q(c.value.title || J(n).t("platform.screen.CurrentUserProfileDialog.unnamed-employee", "未命名职员")), 1),
3459
- V("p", Dl, q(c.value.employeeNo || J(n).t("platform.screen.CurrentUserProfileDialog.no-employee-number-assigned", "尚未分配员工号")), 1),
3460
- V("div", Ol, [V("span", null, q(c.value.organizationTitle || c.value.organizationId || J(n).t("platform.screen.CurrentUserProfileDialog.no-organization-assigned", "未分配机构")), 1), V("span", null, q(c.value.departmentTitle || c.value.departmentId || J(n).t("platform.screen.CurrentUserProfileDialog.no-department-assigned", "未分配部门")), 1)])
3456
+ B("div", Tl, [
3457
+ B("p", El, K(q(n).t("platform.screen.CurrentUserProfileDialog.employee-profile", "职员档案")), 1),
3458
+ B("h2", null, K(c.value.title || q(n).t("platform.screen.CurrentUserProfileDialog.unnamed-employee", "未命名职员")), 1),
3459
+ B("p", Dl, K(c.value.employeeNo || q(n).t("platform.screen.CurrentUserProfileDialog.no-employee-number-assigned", "尚未分配员工号")), 1),
3460
+ B("div", Ol, [B("span", null, K(c.value.organizationTitle || c.value.organizationId || q(n).t("platform.screen.CurrentUserProfileDialog.no-organization-assigned", "未分配机构")), 1), B("span", null, K(c.value.departmentTitle || c.value.departmentId || q(n).t("platform.screen.CurrentUserProfileDialog.no-department-assigned", "未分配部门")), 1)])
3461
3461
  ]),
3462
- V("aside", kl, [
3463
- V("span", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号")), 1),
3464
- V("strong", null, q(e.profile?.username || "—"), 1),
3465
- V("small", null, q(e.profile?.timeZone || J(n).t("platform.screen.CurrentUserProfileDialog.system-default-time-zone", "系统默认时区")), 1)
3462
+ B("aside", kl, [
3463
+ B("span", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号")), 1),
3464
+ B("strong", null, K(e.profile?.username || "—"), 1),
3465
+ B("small", null, K(e.profile?.timeZone || q(n).t("platform.screen.CurrentUserProfileDialog.system-default-time-zone", "系统默认时区")), 1)
3466
3466
  ])
3467
- ])) : z("v-if", !0),
3468
- c.value ? (G(), B("section", Al, [V("div", jl, [V("div", Ml, [V("span", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.employment-details", "任职信息")), 1), V("small", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.maintained-by-the-organization-administrator", "由组织管理员维护")), 1)]), V("dl", Nl, [
3469
- V("dt", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.organization-department", "机构 / 部门")), 1),
3470
- V("dd", null, q(c.value.organizationTitle || c.value.organizationId || "—") + " / " + q(c.value.departmentTitle || c.value.departmentId || "—"), 1),
3471
- V("dt", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.position", "岗位")), 1),
3472
- V("dd", null, q(u.value.map((e) => `${e.title || e.id || "—"}${e.primary ? J(n).t("platform.screen.CurrentUserProfileDialog.primary", "(主岗)") : ""}`).join("、") || "—"), 1)
3473
- ])]), V("div", Pl, [
3474
- V("div", Fl, [V("span", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.contact-details", "联系方式")), 1), V("small", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.only-you-can-edit-these-details", "仅你本人可修改")), 1)]),
3475
- V("div", Il, [V("label", null, [V("span", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.mobile-number", "手机号")), 1), U(J(F), {
3467
+ ])) : R("v-if", !0),
3468
+ c.value ? (W(), z("section", Al, [B("div", jl, [B("div", Ml, [B("span", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.employment-details", "任职信息")), 1), B("small", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.maintained-by-the-organization-administrator", "由组织管理员维护")), 1)]), B("dl", Nl, [
3469
+ B("dt", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.organization-department", "机构 / 部门")), 1),
3470
+ B("dd", null, K(c.value.organizationTitle || c.value.organizationId || "—") + " / " + K(c.value.departmentTitle || c.value.departmentId || "—"), 1),
3471
+ B("dt", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.position", "岗位")), 1),
3472
+ B("dd", null, K(u.value.map((e) => `${e.title || e.id || "—"}${e.primary ? q(n).t("platform.screen.CurrentUserProfileDialog.primary", "(主岗)") : ""}`).join("、") || "—"), 1)
3473
+ ])]), B("div", Pl, [
3474
+ B("div", Fl, [B("span", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.contact-details", "联系方式")), 1), B("small", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.only-you-can-edit-these-details", "仅你本人可修改")), 1)]),
3475
+ B("div", Il, [B("label", null, [B("span", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.mobile-number", "手机号")), 1), H(q(P), {
3476
3476
  value: a.value,
3477
3477
  disabled: !c.value.contactEditable || e.saving,
3478
3478
  "onUpdate:value": r[1] ||= (e) => a.value = e
3479
- }, null, 8, ["value", "disabled"])]), V("label", null, [V("span", null, q(J(n).t("platform.screen.CurrentUserProfileDialog.email", "邮箱")), 1), U(J(F), {
3479
+ }, null, 8, ["value", "disabled"])]), B("label", null, [B("span", null, K(q(n).t("platform.screen.CurrentUserProfileDialog.email", "邮箱")), 1), H(q(P), {
3480
3480
  value: o.value,
3481
3481
  disabled: !c.value.contactEditable || e.saving,
3482
3482
  "onUpdate:value": r[2] ||= (e) => o.value = e
3483
3483
  }, null, 8, ["value", "disabled"])])]),
3484
- c.value.contactEditable ? z("v-if", !0) : (G(), B("p", Ll, q(J(n).t("platform.screen.CurrentUserProfileDialog.this-employee-is-disabled-contact-details-cannot-be", "当前职员已停用,联系方式不能自助修改。")), 1))
3485
- ])])) : (G(), B("section", Rl, [V("span", zl, q((e.profile?.username || "?").slice(0, 1).toUpperCase()), 1), V("strong", null, q(e.profile?.username || J(n).t("platform.screen.CurrentUserProfileDialog.current-account", "当前账号")), 1)])),
3486
- e.externalLoginClient && e.authToken && e.open ? (G(), R(xl, {
3484
+ c.value.contactEditable ? R("v-if", !0) : (W(), z("p", Ll, K(q(n).t("platform.screen.CurrentUserProfileDialog.this-employee-is-disabled-contact-details-cannot-be", "当前职员已停用,联系方式不能自助修改。")), 1))
3485
+ ])])) : (W(), z("section", Rl, [B("span", zl, K((e.profile?.username || "?").slice(0, 1).toUpperCase()), 1), B("strong", null, K(e.profile?.username || q(n).t("platform.screen.CurrentUserProfileDialog.current-account", "当前账号")), 1)])),
3486
+ e.externalLoginClient && e.authToken && e.open ? (W(), L(xl, {
3487
3487
  key: 3,
3488
3488
  client: e.externalLoginClient,
3489
3489
  token: e.authToken
3490
- }, null, 8, ["client", "token"])) : z("v-if", !0)
3491
- ], 64)), e.error ? (G(), B("p", Bl, q(e.error), 1)) : z("v-if", !0)]),
3490
+ }, null, 8, ["client", "token"])) : R("v-if", !0)
3491
+ ], 64)), e.error ? (W(), z("p", Bl, K(e.error), 1)) : R("v-if", !0)]),
3492
3492
  _: 1
3493
3493
  }, 8, [
3494
3494
  "open",
@@ -3504,7 +3504,7 @@ var ul = {
3504
3504
  }, Ul = {
3505
3505
  key: 0,
3506
3506
  class: "access-token-secret"
3507
- }, Wl = ["title"], Gl = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
3507
+ }, Wl = ["title"], Gl = /*#__PURE__*/ ar(/* @__PURE__ */ U({
3508
3508
  name: "PersonalAccessTokens",
3509
3509
  __name: "PersonalAccessTokens",
3510
3510
  props: {
@@ -3512,7 +3512,7 @@ var ul = {
3512
3512
  sessionToken: {}
3513
3513
  },
3514
3514
  setup(e) {
3515
- let t = e, n = I(), r = K([]), i = K(!1), a = K(""), o = K(90), s = K(), c = K(), l = K(!1), u = K(), d = K(!1), f = K(!1), p = L(() => [
3515
+ let t = e, n = N(), r = G([]), i = G(!1), a = G(""), o = G(90), s = G(), c = G(), l = G(!1), u = G(), d = G(!1), f = G(!1), p = I(() => [
3516
3516
  30,
3517
3517
  90,
3518
3518
  180,
@@ -3520,20 +3520,20 @@ var ul = {
3520
3520
  ].map((e) => ({
3521
3521
  value: e,
3522
3522
  label: n.t("platform.access-tokens.days", "{days} 天", { days: e })
3523
- }))), m = L(() => [{
3523
+ }))), m = I(() => [{
3524
3524
  key: "name",
3525
3525
  title: n.t("platform.access-tokens.name", "名称")
3526
3526
  }, {
3527
3527
  key: "expiresAt",
3528
3528
  title: n.t("platform.access-tokens.expires-at", "到期时间"),
3529
3529
  width: 156
3530
- }]), h = L(() => r.value.map((e) => ({
3530
+ }]), h = I(() => r.value.map((e) => ({
3531
3531
  ...e,
3532
- status: S(e)
3532
+ status: x(e)
3533
3533
  }))), g = !1;
3534
- va(() => {
3534
+ ya(() => {
3535
3535
  g = !0, s.value = void 0;
3536
- }), ya(_);
3536
+ }), ba(_);
3537
3537
  async function _() {
3538
3538
  l.value = !0, u.value = void 0, d.value = !1;
3539
3539
  try {
@@ -3546,7 +3546,7 @@ var ul = {
3546
3546
  }
3547
3547
  }
3548
3548
  function v(e) {
3549
- g || (u.value = () => on(Vr(e), n));
3549
+ g || (u.value = () => Pt(en(e), n));
3550
3550
  }
3551
3551
  async function y() {
3552
3552
  if (i.value && !l.value && a.value.trim() && !s.value) {
@@ -3567,7 +3567,7 @@ var ul = {
3567
3567
  }
3568
3568
  async function b(e) {
3569
3569
  let i = r.value.find((t) => t.id === e);
3570
- if (i && !l.value && !(!await cn({
3570
+ if (i && !l.value && !(!await It({
3571
3571
  title: n.t("platform.access-tokens.revoke-title", "撤销访问密钥"),
3572
3572
  content: n.t("platform.access-tokens.revoke-content", "使用“{name}”的工具将无法继续访问平台。", { name: i.name }),
3573
3573
  danger: !0
@@ -3582,9 +3582,9 @@ var ul = {
3582
3582
  }
3583
3583
  }
3584
3584
  }
3585
- async function x(e) {
3585
+ async function ee(e) {
3586
3586
  let i = r.value.find((t) => t.id === e);
3587
- if (i?.revokedAt && !l.value && !(!await cn({
3587
+ if (i?.revokedAt && !l.value && !(!await It({
3588
3588
  title: n.t("platform.access-tokens.delete-title", "删除访问密钥"),
3589
3589
  content: n.t("platform.access-tokens.delete-content", "从列表中删除“{name}”?审计记录将保留。", { name: i.name }),
3590
3590
  danger: !0
@@ -3599,37 +3599,37 @@ var ul = {
3599
3599
  }
3600
3600
  }
3601
3601
  }
3602
- function S(e) {
3602
+ function x(e) {
3603
3603
  return e.revokedAt ? "revoked" : Date.parse(e.expiresAt) <= Date.now() ? "expired" : "active";
3604
3604
  }
3605
- return (e, t) => i.value || r.value.length || u.value || s.value ? (G(), B("section", Hl, [
3606
- s.value ? (G(), B("div", Ul, [V("label", null, [V("span", null, q(J(n).t("platform.access-tokens.copy-now", "密钥仅显示一次,请保存。")), 1), U(J(Br), {
3605
+ return (e, t) => i.value || r.value.length || u.value || s.value ? (W(), z("section", Hl, [
3606
+ s.value ? (W(), z("div", Ul, [B("label", null, [B("span", null, K(q(n).t("platform.access-tokens.copy-now", "密钥仅显示一次,请保存。")), 1), H(q(ui), {
3607
3607
  value: s.value,
3608
3608
  readonly: "",
3609
3609
  rows: 2
3610
- }, null, 8, ["value"])]), U(J(P), {
3610
+ }, null, 8, ["value"])]), H(q(F), {
3611
3611
  size: "small",
3612
3612
  onClick: t[0] ||= (e) => s.value = void 0
3613
3613
  }, {
3614
- default: X(() => [H(q(J(n).t("platform.access-tokens.saved", "已保存")), 1)]),
3614
+ default: Y(() => [V(K(q(n).t("platform.access-tokens.saved", "已保存")), 1)]),
3615
3615
  _: 1
3616
- })])) : i.value ? (G(), B("form", {
3616
+ })])) : i.value ? (W(), z("form", {
3617
3617
  key: 1,
3618
3618
  class: "access-token-create",
3619
- onSubmit: ka(y, ["prevent"])
3619
+ onSubmit: Aa(y, ["prevent"])
3620
3620
  }, [
3621
- V("label", null, [V("span", null, q(J(n).t("platform.access-tokens.name", "名称")), 1), U(J(F), {
3621
+ B("label", null, [B("span", null, K(q(n).t("platform.access-tokens.name", "名称")), 1), H(q(P), {
3622
3622
  value: a.value,
3623
3623
  disabled: l.value,
3624
3624
  autocomplete: "off",
3625
3625
  "onUpdate:value": t[1] ||= (e) => a.value = e
3626
3626
  }, null, 8, ["value", "disabled"])]),
3627
- V("label", null, [V("span", null, q(J(n).t("platform.access-tokens.lifetime", "有效期")), 1), U(J(Or), {
3627
+ B("label", null, [B("span", null, K(q(n).t("platform.access-tokens.lifetime", "有效期")), 1), H(q(ei), {
3628
3628
  value: o.value,
3629
3629
  options: p.value,
3630
3630
  "allow-clear": !1,
3631
3631
  disabled: l.value,
3632
- "aria-label": J(n).t("platform.access-tokens.lifetime", "有效期"),
3632
+ "aria-label": q(n).t("platform.access-tokens.lifetime", "有效期"),
3633
3633
  "onUpdate:value": t[2] ||= (e) => o.value = Number(e)
3634
3634
  }, null, 8, [
3635
3635
  "value",
@@ -3637,32 +3637,32 @@ var ul = {
3637
3637
  "disabled",
3638
3638
  "aria-label"
3639
3639
  ])]),
3640
- U(J(P), {
3640
+ H(q(F), {
3641
3641
  type: "primary",
3642
3642
  "html-type": "submit",
3643
3643
  disabled: l.value || !a.value.trim(),
3644
3644
  loading: f.value
3645
3645
  }, {
3646
- default: X(() => [H(q(J(n).t("platform.access-tokens.create", "创建密钥")), 1)]),
3646
+ default: Y(() => [V(K(q(n).t("platform.access-tokens.create", "创建密钥")), 1)]),
3647
3647
  _: 1
3648
3648
  }, 8, ["disabled", "loading"])
3649
- ], 32)) : z("v-if", !0),
3650
- u.value ? (G(), R(J(Ft), {
3649
+ ], 32)) : R("v-if", !0),
3650
+ u.value ? (W(), L(q(_n), {
3651
3651
  key: 2,
3652
3652
  title: u.value(),
3653
3653
  message: ""
3654
- }, null, 8, ["title"])) : z("v-if", !0),
3655
- d.value ? (G(), R(J(P), {
3654
+ }, null, 8, ["title"])) : R("v-if", !0),
3655
+ d.value ? (W(), L(q(F), {
3656
3656
  key: 3,
3657
3657
  type: "text",
3658
3658
  size: "small",
3659
3659
  disabled: l.value,
3660
3660
  onClick: _
3661
3661
  }, {
3662
- default: X(() => [H(q(J(n).t("platform.access-tokens.reload", "重新加载")), 1)]),
3662
+ default: Y(() => [V(K(q(n).t("platform.access-tokens.reload", "重新加载")), 1)]),
3663
3663
  _: 1
3664
- }, 8, ["disabled"])) : z("v-if", !0),
3665
- U(J(jt), {
3664
+ }, 8, ["disabled"])) : R("v-if", !0),
3665
+ H(q(In), {
3666
3666
  class: "access-token-list",
3667
3667
  columns: m.value,
3668
3668
  rows: h.value,
@@ -3674,35 +3674,35 @@ var ul = {
3674
3674
  "action-column-title": "",
3675
3675
  "action-column-fixed": !1,
3676
3676
  "action-column-width": 64,
3677
- "empty-description": J(n).t("platform.access-tokens.empty", "暂无访问密钥")
3677
+ "empty-description": q(n).t("platform.access-tokens.empty", "暂无访问密钥")
3678
3678
  }, {
3679
- cell: X(({ column: e, record: t }) => [e.key === "name" ? (G(), B("div", {
3679
+ cell: Y(({ column: e, record: t }) => [e.key === "name" ? (W(), z("div", {
3680
3680
  key: 0,
3681
3681
  class: "access-token-name",
3682
3682
  title: String(t.id)
3683
- }, [V("span", null, q(t.name), 1), V("code", null, q(t.displayPrefix) + "…", 1)], 8, Wl)) : e.key === "expiresAt" ? (G(), B(ca, { key: 1 }, [t.status === "active" ? (G(), R(J(_t), {
3683
+ }, [B("span", null, K(t.name), 1), B("code", null, K(t.displayPrefix) + "…", 1)], 8, Wl)) : e.key === "expiresAt" ? (W(), z(la, { key: 1 }, [t.status === "active" ? (W(), L(q(Wr), {
3684
3684
  key: 1,
3685
3685
  value: String(t.expiresAt),
3686
3686
  precision: "minute"
3687
- }, null, 8, ["value"])) : (G(), R(J($r), {
3687
+ }, null, 8, ["value"])) : (W(), L(q(Or), {
3688
3688
  key: 0,
3689
3689
  items: [{
3690
3690
  key: String(t.status),
3691
- label: t.status === "revoked" ? J(n).t("platform.access-tokens.revoked", "已撤销") : J(n).t("platform.access-tokens.expired", "已过期"),
3691
+ label: t.status === "revoked" ? q(n).t("platform.access-tokens.revoked", "已撤销") : q(n).t("platform.access-tokens.expired", "已过期"),
3692
3692
  color: t.status === "expired" ? "red" : void 0
3693
3693
  }]
3694
- }, null, 8, ["items"]))], 64)) : z("v-if", !0)]),
3695
- rowActions: X(({ record: e }) => [e.revokedAt ? (G(), R(J(P), {
3694
+ }, null, 8, ["items"]))], 64)) : R("v-if", !0)]),
3695
+ rowActions: Y(({ record: e }) => [e.revokedAt ? (W(), L(q(F), {
3696
3696
  key: 1,
3697
3697
  type: "text",
3698
3698
  size: "small",
3699
3699
  danger: "",
3700
3700
  disabled: l.value,
3701
- onClick: (t) => x(String(e.id))
3701
+ onClick: (t) => ee(String(e.id))
3702
3702
  }, {
3703
- default: X(() => [H(q(J(n).t("platform.action.delete", "删除")), 1)]),
3703
+ default: Y(() => [V(K(q(n).t("platform.action.delete", "删除")), 1)]),
3704
3704
  _: 1
3705
- }, 8, ["disabled", "onClick"])) : (G(), R(J(P), {
3705
+ }, 8, ["disabled", "onClick"])) : (W(), L(q(F), {
3706
3706
  key: 0,
3707
3707
  type: "text",
3708
3708
  size: "small",
@@ -3710,7 +3710,7 @@ var ul = {
3710
3710
  disabled: l.value,
3711
3711
  onClick: (t) => b(String(e.id))
3712
3712
  }, {
3713
- default: X(() => [H(q(J(n).t("platform.access-tokens.revoke", "撤销")), 1)]),
3713
+ default: Y(() => [V(K(q(n).t("platform.access-tokens.revoke", "撤销")), 1)]),
3714
3714
  _: 1
3715
3715
  }, 8, ["disabled", "onClick"]))]),
3716
3716
  _: 1
@@ -3720,9 +3720,9 @@ var ul = {
3720
3720
  "loading",
3721
3721
  "empty-description"
3722
3722
  ])
3723
- ])) : z("v-if", !0);
3723
+ ])) : R("v-if", !0);
3724
3724
  }
3725
- }), [["__scopeId", "data-v-07369c31"]]), Kl = /* @__PURE__ */ W({
3725
+ }), [["__scopeId", "data-v-07369c31"]]), Kl = /* @__PURE__ */ U({
3726
3726
  __name: "PersonalAccessTokenDialog",
3727
3727
  props: {
3728
3728
  open: { type: Boolean },
@@ -3731,23 +3731,23 @@ var ul = {
3731
3731
  },
3732
3732
  emits: ["close"],
3733
3733
  setup(e, { emit: t }) {
3734
- let n = e, r = t, i = I();
3735
- return (t, a) => (G(), R(J(gn), {
3734
+ let n = e, r = t, i = N();
3735
+ return (t, a) => (W(), L(q(lt), {
3736
3736
  open: n.open,
3737
- title: J(i).t("platform.access-tokens.title", "个人访问密钥"),
3737
+ title: q(i).t("platform.access-tokens.title", "个人访问密钥"),
3738
3738
  width: 640,
3739
3739
  "scroll-content": "",
3740
3740
  onCancel: a[1] ||= (e) => r("close")
3741
3741
  }, {
3742
- operation: X(() => [U(J(P), { onClick: a[0] ||= (e) => r("close") }, {
3743
- default: X(() => [H(q(J(i).t("platform.content.close", "关闭")), 1)]),
3742
+ operation: Y(() => [H(q(F), { onClick: a[0] ||= (e) => r("close") }, {
3743
+ default: Y(() => [V(K(q(i).t("platform.content.close", "关闭")), 1)]),
3744
3744
  _: 1
3745
3745
  })]),
3746
- default: X(() => [e.open && e.sessionToken ? (G(), R(Gl, {
3746
+ default: Y(() => [e.open && e.sessionToken ? (W(), L(Gl, {
3747
3747
  key: e.sessionToken,
3748
3748
  client: e.client,
3749
3749
  "session-token": e.sessionToken
3750
- }, null, 8, ["client", "session-token"])) : z("v-if", !0)]),
3750
+ }, null, 8, ["client", "session-token"])) : R("v-if", !0)]),
3751
3751
  _: 1
3752
3752
  }, 8, ["open", "title"]));
3753
3753
  }
@@ -3762,7 +3762,7 @@ var ul = {
3762
3762
  "disabled",
3763
3763
  "onClick",
3764
3764
  "onKeydown"
3765
- ], Zl = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
3765
+ ], Zl = /*#__PURE__*/ ar(/* @__PURE__ */ U({
3766
3766
  name: "ThemeSkinPreferencesDialog",
3767
3767
  __name: "ThemeSkinPreferencesDialog",
3768
3768
  props: {
@@ -3778,7 +3778,7 @@ var ul = {
3778
3778
  },
3779
3779
  emits: ["close", "select"],
3780
3780
  setup(e, { emit: t }) {
3781
- let n = I(), r = e, i = L(() => r.failure === "save-failed" ? n.t("platform.screen.themeSkinPreference.could-not-save-the-appearance-preference-the-previous", "皮肤保存失败,已恢复为之前的设置。") : r.error), a = t;
3781
+ let n = N(), r = e, i = I(() => r.failure === "save-failed" ? n.t("platform.screen.themeSkinPreference.could-not-save-the-appearance-preference-the-previous", "皮肤保存失败,已恢复为之前的设置。") : r.error), a = t;
3782
3782
  function o(e, t) {
3783
3783
  if (![
3784
3784
  "ArrowRight",
@@ -3794,25 +3794,25 @@ var ul = {
3794
3794
  let i = e.key === "Home" ? 0 : e.key === "End" ? r - 1 : (t + (e.key === "ArrowRight" || e.key === "ArrowDown" ? 1 : -1) + r) % r, o = n?.children.item(i), s = o?.dataset.skinId;
3795
3795
  s && (a("select", s), o?.focus());
3796
3796
  }
3797
- return (t, r) => (G(), R(J(gn), {
3797
+ return (t, r) => (W(), L(q(lt), {
3798
3798
  open: e.open,
3799
- title: J(n).t("platform.screen.ThemeSkinPreferencesDialog.preferences", "偏好设置"),
3799
+ title: q(n).t("platform.screen.ThemeSkinPreferencesDialog.preferences", "偏好设置"),
3800
3800
  width: 460,
3801
- "confirm-text": e.saving ? J(n).t("platform.screen.ThemeSkinPreferencesDialog.saving", "保存中…") : J(n).t("platform.screen.ThemeSkinPreferencesDialog.done", "完成"),
3801
+ "confirm-text": e.saving ? q(n).t("platform.screen.ThemeSkinPreferencesDialog.saving", "保存中…") : q(n).t("platform.screen.ThemeSkinPreferencesDialog.done", "完成"),
3802
3802
  "confirm-loading": e.saving,
3803
3803
  onConfirm: r[0] ||= (e) => a("close"),
3804
3804
  onCancel: r[1] ||= (e) => a("close")
3805
3805
  }, {
3806
- default: X(() => [V("section", ql, [
3807
- V("header", null, [V("h2", null, q(J(n).t("platform.screen.ThemeSkinPreferencesDialog.workbench-appearance", "工作台皮肤")), 1), V("p", null, q(J(n).t("platform.screen.ThemeSkinPreferencesDialog.your-appearance-preference-is-saved-to-this-account", "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")), 1)]),
3808
- i.value ? (G(), B("p", Jl, q(i.value), 1)) : z("v-if", !0),
3809
- V("div", {
3806
+ default: Y(() => [B("section", ql, [
3807
+ B("header", null, [B("h2", null, K(q(n).t("platform.screen.ThemeSkinPreferencesDialog.workbench-appearance", "工作台皮肤")), 1), B("p", null, K(q(n).t("platform.screen.ThemeSkinPreferencesDialog.your-appearance-preference-is-saved-to-this-account", "皮肤会同步保存到当前账号,并在下次启动时优先恢复。")), 1)]),
3808
+ i.value ? (W(), z("p", Jl, K(i.value), 1)) : R("v-if", !0),
3809
+ B("div", {
3810
3810
  class: "theme-skin-grid",
3811
3811
  role: "radiogroup",
3812
- "aria-label": J(n).t("platform.screen.ThemeSkinPreferencesDialog.workbench-appearance", "工作台皮肤")
3813
- }, [(G(!0), B(ca, null, Ca(e.skins, (t, i) => (G(), B("button", {
3812
+ "aria-label": q(n).t("platform.screen.ThemeSkinPreferencesDialog.workbench-appearance", "工作台皮肤")
3813
+ }, [(W(!0), z(la, null, wa(e.skins, (t, i) => (W(), z("button", {
3814
3814
  key: t.id,
3815
- class: ha(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
3815
+ class: ga(["theme-skin-card", { selected: t.id === e.activeSkinId }]),
3816
3816
  type: "button",
3817
3817
  role: "radio",
3818
3818
  "aria-checked": t.id === e.activeSkinId,
@@ -3822,9 +3822,9 @@ var ul = {
3822
3822
  onClick: (e) => a("select", t.id),
3823
3823
  onKeydown: (e) => o(e, i)
3824
3824
  }, [
3825
- V("span", {
3825
+ B("span", {
3826
3826
  class: "theme-skin-preview",
3827
- style: _a({
3827
+ style: va({
3828
3828
  "--skin-canvas": t.theme.support.canvas,
3829
3829
  "--skin-surface": t.theme.support.surface,
3830
3830
  "--skin-text": t.theme.support.text,
@@ -3832,12 +3832,12 @@ var ul = {
3832
3832
  "--skin-accent": t.theme.brandAccent.base
3833
3833
  })
3834
3834
  }, [...r[2] ||= [
3835
- V("i", { class: "theme-skin-preview-sidebar" }, null, -1),
3836
- V("i", { class: "theme-skin-preview-toolbar" }, null, -1),
3837
- V("i", { class: "theme-skin-preview-card" }, null, -1)
3835
+ B("i", { class: "theme-skin-preview-sidebar" }, null, -1),
3836
+ B("i", { class: "theme-skin-preview-toolbar" }, null, -1),
3837
+ B("i", { class: "theme-skin-preview-card" }, null, -1)
3838
3838
  ]], 4),
3839
- V("strong", null, q(t.titleKey ? J(n).t(t.titleKey, t.title) : t.title), 1),
3840
- V("small", null, q(t.descriptionKey ? J(n).t(t.descriptionKey, t.description) : t.description), 1)
3839
+ B("strong", null, K(t.titleKey ? q(n).t(t.titleKey, t.title) : t.title), 1),
3840
+ B("small", null, K(t.descriptionKey ? q(n).t(t.descriptionKey, t.description) : t.description), 1)
3841
3841
  ], 42, Xl))), 128))], 8, Yl)
3842
3842
  ])]),
3843
3843
  _: 1
@@ -3852,7 +3852,7 @@ var ul = {
3852
3852
  //#endregion
3853
3853
  //#region src/app/useCurrentUserProfile.ts
3854
3854
  function Ql(e) {
3855
- let t = K(), n = 0, r = !1, i = () => {
3855
+ let t = G(), n = 0, r = !1, i = () => {
3856
3856
  let t = e.currentUser();
3857
3857
  return t ? JSON.stringify([
3858
3858
  e.token(),
@@ -3875,12 +3875,12 @@ function Ql(e) {
3875
3875
  }
3876
3876
  }
3877
3877
  let o = () => a((t) => e.client.currentProfile(t));
3878
- return Y([i, () => e.scopeKey?.()], () => {
3878
+ return J([i, () => e.scopeKey?.()], () => {
3879
3879
  n++, t.value = void 0, o().catch(() => void 0);
3880
3880
  }, {
3881
3881
  immediate: !0,
3882
3882
  flush: "sync"
3883
- }), ba(() => {
3883
+ }), xa(() => {
3884
3884
  r = !0, n++;
3885
3885
  }), {
3886
3886
  profile: t,
@@ -3891,7 +3891,7 @@ function Ql(e) {
3891
3891
  //#endregion
3892
3892
  //#region src/app/usePersonalAccessTokenAccess.ts
3893
3893
  function $l(e) {
3894
- let t = K(!1), n = K(), r = 0, i = !1;
3894
+ let t = G(!1), n = G(), r = 0, i = !1;
3895
3895
  async function a() {
3896
3896
  if (i) return;
3897
3897
  let a = e.sessionToken(), o = e.scopeKey?.(), s = ++r;
@@ -3907,7 +3907,7 @@ function $l(e) {
3907
3907
  c() && (t.value = !1);
3908
3908
  }
3909
3909
  }
3910
- Y([e.sessionToken, () => e.scopeKey?.()], () => {
3910
+ J([e.sessionToken, () => e.scopeKey?.()], () => {
3911
3911
  t.value = !1, a();
3912
3912
  }, {
3913
3913
  immediate: !0,
@@ -3918,13 +3918,13 @@ function $l(e) {
3918
3918
  }, s = (t) => {
3919
3919
  t.storageArea === window.localStorage && e.sessionToken() !== n.value && a();
3920
3920
  };
3921
- return ya(() => {
3921
+ return ba(() => {
3922
3922
  window.addEventListener("focus", o), window.addEventListener("storage", s);
3923
- }), ba(() => {
3923
+ }), xa(() => {
3924
3924
  i = !0, r++, window.removeEventListener("focus", o), window.removeEventListener("storage", s);
3925
3925
  }), {
3926
3926
  available: t,
3927
- sessionToken: Sa(n),
3927
+ sessionToken: Ca(n),
3928
3928
  refresh: a
3929
3929
  };
3930
3930
  }
@@ -3934,7 +3934,7 @@ var eu = "workbench.theme-skin";
3934
3934
  async function tu(e, t, n = () => !0) {
3935
3935
  let r = await e.restore(eu, t, { persistence: "backend" });
3936
3936
  if (!n()) return t;
3937
- let i = Yn(r).id;
3937
+ let i = tt(r).id;
3938
3938
  return await e.set(eu, i, { persistence: "local" }), i;
3939
3939
  }
3940
3940
  async function nu(e, t, n, r = () => !0) {
@@ -3950,7 +3950,7 @@ async function nu(e, t, n, r = () => !0) {
3950
3950
  }
3951
3951
  //#endregion
3952
3952
  //#region src/app/WorkbenchAccountCenter.vue
3953
- var ru = /* @__PURE__ */ W({
3953
+ var ru = /* @__PURE__ */ U({
3954
3954
  name: "WorkbenchAccountCenter",
3955
3955
  inheritAttrs: !1,
3956
3956
  __name: "WorkbenchAccountCenter",
@@ -3966,90 +3966,90 @@ var ru = /* @__PURE__ */ W({
3966
3966
  "update:skinId"
3967
3967
  ],
3968
3968
  setup(e, { expose: t, emit: n }) {
3969
- let r = e, i = n, a = I(), o = { request: (e) => r.context ? r.context.http.request(e) : Promise.reject(/* @__PURE__ */ Error("Account context is unavailable")) }, l = ne(o), u = s(o), d = c(o), f = L(() => {
3969
+ let r = e, i = n, a = N(), o = { request: (e) => r.context ? r.context.http.request(e) : Promise.reject(/* @__PURE__ */ Error("Account context is unavailable")) }, c = s(o), l = Ke(o), u = ee(o), d = I(() => {
3970
3970
  let e = r.context;
3971
- return e?.token ? Di(e.http, { Authorization: `Bearer ${e.token}` }) : void 0;
3972
- }), p = () => r.context?.token, m = () => {
3971
+ return e?.token ? Yr(e.http, { Authorization: `Bearer ${e.token}` }) : void 0;
3972
+ }), f = () => r.context?.token, p = () => {
3973
3973
  let e = r.context?.currentUser;
3974
3974
  return JSON.stringify([
3975
- p(),
3975
+ f(),
3976
3976
  e?.userId,
3977
3977
  e?.tenantId,
3978
3978
  e?.organizationId,
3979
3979
  e?.system
3980
3980
  ]);
3981
- }, h = L(() => r.context?.currentUser && p() && r.context.preferencePersistence !== "local" ? m() : void 0), g = Ql({
3981
+ }, m = I(() => r.context?.currentUser && f() && r.context.preferencePersistence !== "local" ? p() : void 0), h = Ql({
3982
3982
  currentUser: () => r.context?.currentUser,
3983
- token: p,
3983
+ token: f,
3984
3984
  scopeKey: () => r.context?.http,
3985
- client: l
3986
- }), _ = L((e) => {
3987
- let t = r.context?.http, n = m();
3985
+ client: c
3986
+ }), g = I((e) => {
3987
+ let t = r.context?.http, n = p();
3988
3988
  return e && e.http === t && e.identity === n ? e : {
3989
3989
  http: t,
3990
3990
  identity: n
3991
3991
  };
3992
- }), v = $l({
3993
- scopeKey: () => _.value,
3994
- client: d,
3995
- sessionToken: () => r.context?.currentUser && !r.menu?.hiddenCommands?.includes("accessTokens") ? p() : void 0
3996
- }), y = L(() => r.context ? M(a, r.menu, v.available.value) : void 0), b = K(), x = K(!1), S = K(!1), ee = K(!1), C = K(), te = K(""), w = K(""), T = K(""), E = K(Yn(r.skinId ?? sr.get("workbench.theme-skin", "light-blue")).id), D = K(), O = 0, k = 0, A = 0, j = 0;
3997
- Y(() => r.skinId, (e) => {
3998
- e && (E.value = Yn(e).id);
3992
+ }), _ = $l({
3993
+ scopeKey: () => g.value,
3994
+ client: u,
3995
+ sessionToken: () => r.context?.currentUser && !r.menu?.hiddenCommands?.includes("accessTokens") ? f() : void 0
3996
+ }), v = I(() => r.context ? We(a, r.menu, _.available.value) : void 0), y = G(), b = G(!1), x = G(!1), te = G(!1), S = G(), ne = G(""), C = G(""), w = G(""), T = G(tt(r.skinId ?? bn.get("workbench.theme-skin", "light-blue")).id), E = G(), D = 0, re = 0, O = 0, k = 0;
3997
+ J(() => r.skinId, (e) => {
3998
+ e && (T.value = tt(e).id);
3999
3999
  });
4000
- function re() {
4001
- te.value = "", w.value = "", T.value = "";
4000
+ function A() {
4001
+ ne.value = "", C.value = "", w.value = "";
4002
4002
  }
4003
- function ie() {
4004
- ++O, ++k, ++j, b.value = void 0, x.value = !1, S.value = !1, ee.value = !1, C.value = void 0, D.value = void 0, re();
4003
+ function j() {
4004
+ ++D, ++re, ++k, y.value = void 0, b.value = !1, x.value = !1, te.value = !1, S.value = void 0, E.value = void 0, A();
4005
4005
  }
4006
- Y([
4007
- m,
4006
+ J([
4007
+ p,
4008
4008
  () => r.context?.http,
4009
- p
4009
+ f
4010
4010
  ], () => {
4011
- ie(), p() && r.context?.currentUser && se();
4011
+ j(), f() && r.context?.currentUser && se();
4012
4012
  }, {
4013
4013
  immediate: !0,
4014
4014
  flush: "sync"
4015
- }), Y(b, () => {
4016
- ++A, ee.value = !1;
4017
- }, { flush: "sync" }), Y(v.available, (e) => {
4018
- !e && b.value === "accessTokens" && N();
4019
- }), Y(y, (e) => {
4020
- b.value && !x.value && e && !e.some((e) => e.key === b.value) && ie();
4015
+ }), J(y, () => {
4016
+ ++O, te.value = !1;
4017
+ }, { flush: "sync" }), J(_.available, (e) => {
4018
+ !e && y.value === "accessTokens" && M();
4019
+ }), J(v, (e) => {
4020
+ y.value && !b.value && e && !e.some((e) => e.key === y.value) && j();
4021
4021
  });
4022
- function N() {
4023
- S.value || (++k, b.value = void 0, x.value = !1, C.value = void 0, re());
4022
+ function M() {
4023
+ x.value || (++re, y.value = void 0, b.value = !1, S.value = void 0, A());
4024
4024
  }
4025
4025
  function ae(e) {
4026
- let t = Vr(e);
4027
- C.value = () => on(t, a);
4026
+ let t = en(e);
4027
+ S.value = () => Pt(t, a);
4028
4028
  }
4029
4029
  function oe(e) {
4030
- E.value = e, i("update:skinId", e);
4030
+ T.value = e, i("update:skinId", e);
4031
4031
  }
4032
4032
  async function se() {
4033
4033
  if (r.context?.preferencePersistence === "local") return;
4034
- let e = ++j;
4034
+ let e = ++k;
4035
4035
  try {
4036
- let t = await tu(sr, E.value, () => e === j);
4037
- e === j && oe(t);
4036
+ let t = await tu(bn, T.value, () => e === k);
4037
+ e === k && oe(t);
4038
4038
  } catch {}
4039
4039
  }
4040
4040
  async function ce(e) {
4041
- if (S.value || e === E.value) return;
4042
- let t = ++j, n = E.value;
4043
- oe(e), S.value = !0, D.value = void 0;
4041
+ if (x.value || e === T.value) return;
4042
+ let t = ++k, n = T.value;
4043
+ oe(e), x.value = !0, E.value = void 0;
4044
4044
  try {
4045
4045
  if (r.context?.preferencePersistence === "local") {
4046
- await sr.set(eu, e, { persistence: "local" });
4046
+ await bn.set(eu, e, { persistence: "local" });
4047
4047
  return;
4048
4048
  }
4049
- let i = await nu(sr, e, n, () => t === j);
4050
- t === j && (oe(i.skinId), D.value = i.failure);
4049
+ let i = await nu(bn, e, n, () => t === k);
4050
+ t === k && (oe(i.skinId), E.value = i.failure);
4051
4051
  } finally {
4052
- t === j && (S.value = !1);
4052
+ t === k && (x.value = !1);
4053
4053
  }
4054
4054
  }
4055
4055
  async function le(e) {
@@ -4057,113 +4057,113 @@ var ru = /* @__PURE__ */ W({
4057
4057
  i("userCommand", e);
4058
4058
  return;
4059
4059
  }
4060
- let t = y.value?.find((t) => t.key === e);
4061
- if (!t || t.disabled || S.value) return;
4062
- let n = ++k, a = m();
4060
+ let t = v.value?.find((t) => t.key === e);
4061
+ if (!t || t.disabled || x.value) return;
4062
+ let n = ++re, a = p();
4063
4063
  try {
4064
4064
  if (r.beforeCommand && !await r.beforeCommand({
4065
4065
  key: e,
4066
4066
  currentUser: r.context.currentUser
4067
- }) || n !== k || a !== m() || !y.value?.some((t) => t.key === e && !t.disabled)) return;
4068
- if (C.value = void 0, D.value = void 0, e.includes(".")) {
4067
+ }) || n !== re || a !== p() || !v.value?.some((t) => t.key === e && !t.disabled)) return;
4068
+ if (S.value = void 0, E.value = void 0, e.includes(".")) {
4069
4069
  i("userCommand", e);
4070
4070
  return;
4071
4071
  }
4072
4072
  if (e === "logout") {
4073
- N(), i("logout", "requested");
4073
+ M(), i("logout", "requested");
4074
4074
  return;
4075
4075
  }
4076
- if (e === "accessTokens" && (await v.refresh(), n !== k || a !== m() || !v.available.value)) return;
4077
- re(), x.value = !1, b.value = e, e === "profile" && await ue();
4076
+ if (e === "accessTokens" && (await _.refresh(), n !== re || a !== p() || !_.available.value)) return;
4077
+ A(), b.value = !1, y.value = e, e === "profile" && await ue();
4078
4078
  } catch (e) {
4079
- n === k && a === m() && (b.value ? ae(e) : cr(e, {
4079
+ n === re && a === p() && (y.value ? ae(e) : xn(e, {
4080
4080
  source: "workbench-account",
4081
4081
  phase: "action"
4082
4082
  }));
4083
4083
  }
4084
4084
  }
4085
4085
  async function ue() {
4086
- let e = O, t = ++A, n = () => e === O && t === A && b.value === "profile";
4087
- ee.value = !0;
4086
+ let e = D, t = ++O, n = () => e === D && t === O && y.value === "profile";
4087
+ te.value = !0;
4088
4088
  try {
4089
- await g.refresh();
4089
+ await h.refresh();
4090
4090
  } catch (e) {
4091
4091
  n() && ae(e);
4092
4092
  } finally {
4093
- n() && (ee.value = !1);
4093
+ n() && (te.value = !1);
4094
4094
  }
4095
4095
  }
4096
4096
  async function de(e) {
4097
- if (S.value) return;
4098
- let t = O;
4099
- S.value = !0, C.value = void 0;
4097
+ if (x.value) return;
4098
+ let t = D;
4099
+ x.value = !0, S.value = void 0;
4100
4100
  try {
4101
- await g.save(e) && t === O && (b.value = void 0, ft(a.t("platform.screen.App.your-profile-has-been-saved", "个人资料已保存")));
4101
+ await h.save(e) && t === D && (y.value = void 0, En(a.t("platform.screen.App.your-profile-has-been-saved", "个人资料已保存")));
4102
4102
  } catch (e) {
4103
- t === O && ae(e);
4103
+ t === D && ae(e);
4104
4104
  } finally {
4105
- t === O && (S.value = !1);
4105
+ t === D && (x.value = !1);
4106
4106
  }
4107
4107
  }
4108
4108
  function fe() {
4109
- if (!te.value.trim()) return a.t("platform.screen.App.enter-your-current-password", "请输入当前密码");
4110
- if (!w.value.trim()) return a.t("platform.screen.App.enter-your-new-password", "请输入新密码");
4111
- if (w.value !== T.value) return a.t("platform.screen.App.the-new-passwords-do-not-match", "两次输入的新密码不一致");
4112
- if (te.value === w.value) return a.t("platform.screen.App.the-new-password-must-differ-from-the-current", "新密码不能与当前密码相同");
4109
+ if (!ne.value.trim()) return a.t("platform.screen.App.enter-your-current-password", "请输入当前密码");
4110
+ if (!C.value.trim()) return a.t("platform.screen.App.enter-your-new-password", "请输入新密码");
4111
+ if (C.value !== w.value) return a.t("platform.screen.App.the-new-passwords-do-not-match", "两次输入的新密码不一致");
4112
+ if (ne.value === C.value) return a.t("platform.screen.App.the-new-password-must-differ-from-the-current", "新密码不能与当前密码相同");
4113
4113
  }
4114
4114
  async function pe() {
4115
- if (S.value) return;
4115
+ if (x.value) return;
4116
4116
  let e = fe();
4117
4117
  if (e) {
4118
- C.value = () => e;
4118
+ S.value = () => e;
4119
4119
  return;
4120
4120
  }
4121
- let t = p();
4121
+ let t = f();
4122
4122
  if (!t) {
4123
- C.value = () => a.t("platform.screen.App.your-session-is-no-longer-valid-please-sign", "登录已失效,请重新登录");
4123
+ S.value = () => a.t("platform.screen.App.your-session-is-no-longer-valid-please-sign", "登录已失效,请重新登录");
4124
4124
  return;
4125
4125
  }
4126
- let n = O;
4127
- S.value = !0, C.value = void 0;
4126
+ let n = D;
4127
+ x.value = !0, S.value = void 0;
4128
4128
  try {
4129
- await l.changeOwnPassword({
4130
- currentPassword: te.value,
4131
- newPassword: w.value
4132
- }, t), n === O && (b.value = void 0, re(), i("logout", "passwordChanged"));
4129
+ await c.changeOwnPassword({
4130
+ currentPassword: ne.value,
4131
+ newPassword: C.value
4132
+ }, t), n === D && (y.value = void 0, A(), i("logout", "passwordChanged"));
4133
4133
  } catch (e) {
4134
- n === O && ae(e);
4134
+ n === D && ae(e);
4135
4135
  } finally {
4136
- n === O && (S.value = !1);
4136
+ n === D && (x.value = !1);
4137
4137
  }
4138
4138
  }
4139
- async function he() {
4140
- await ma(), ie(), x.value = !0, b.value = "changePassword";
4139
+ async function me() {
4140
+ await ha(), j(), b.value = !0, y.value = "changePassword";
4141
4141
  }
4142
- return va(ie), t({ requestPasswordChange: he }), (t, n) => (G(), B(ca, null, [
4143
- wa(t.$slots, "default", {
4144
- items: y.value,
4142
+ return ya(j), t({ requestPasswordChange: me }), (t, n) => (W(), z(la, null, [
4143
+ Ta(t.$slots, "default", {
4144
+ items: v.value,
4145
4145
  select: le,
4146
- refresh: J(v).refresh,
4147
- profile: J(g).profile.value,
4148
- skinId: E.value
4146
+ refresh: q(_).refresh,
4147
+ profile: q(h).profile.value,
4148
+ skinId: T.value
4149
4149
  }),
4150
- e.context ? (G(), R(me, {
4150
+ e.context ? (W(), L(ie, {
4151
4151
  key: 0,
4152
- open: b.value === "languageSettings",
4153
- "identity-scope": h.value,
4154
- "onUpdate:open": n[0] ||= (e) => !e && N()
4155
- }, null, 8, ["open", "identity-scope"])) : z("v-if", !0),
4156
- U(Xc, {
4157
- "current-password": te.value,
4158
- "onUpdate:currentPassword": n[1] ||= (e) => te.value = e,
4159
- "new-password": w.value,
4160
- "onUpdate:newPassword": n[2] ||= (e) => w.value = e,
4161
- "confirm-password": T.value,
4162
- "onUpdate:confirmPassword": n[3] ||= (e) => T.value = e,
4163
- open: b.value === "changePassword",
4164
- saving: S.value,
4165
- error: C.value?.(),
4166
- onClose: N,
4152
+ open: y.value === "languageSettings",
4153
+ "identity-scope": m.value,
4154
+ "onUpdate:open": n[0] ||= (e) => !e && M()
4155
+ }, null, 8, ["open", "identity-scope"])) : R("v-if", !0),
4156
+ H(Xc, {
4157
+ "current-password": ne.value,
4158
+ "onUpdate:currentPassword": n[1] ||= (e) => ne.value = e,
4159
+ "new-password": C.value,
4160
+ "onUpdate:newPassword": n[2] ||= (e) => C.value = e,
4161
+ "confirm-password": w.value,
4162
+ "onUpdate:confirmPassword": n[3] ||= (e) => w.value = e,
4163
+ open: y.value === "changePassword",
4164
+ saving: x.value,
4165
+ error: S.value?.(),
4166
+ onClose: M,
4167
4167
  onSubmit: pe
4168
4168
  }, null, 8, [
4169
4169
  "current-password",
@@ -4173,16 +4173,16 @@ var ru = /* @__PURE__ */ W({
4173
4173
  "saving",
4174
4174
  "error"
4175
4175
  ]),
4176
- U(Vl, {
4177
- open: b.value === "profile",
4178
- profile: J(g).profile.value,
4179
- loading: ee.value,
4180
- saving: S.value,
4181
- error: C.value?.(),
4182
- "external-login-client": J(u),
4183
- http: f.value,
4184
- "auth-token": b.value === "profile" ? e.context?.token : void 0,
4185
- onClose: N,
4176
+ H(Vl, {
4177
+ open: y.value === "profile",
4178
+ profile: q(h).profile.value,
4179
+ loading: te.value,
4180
+ saving: x.value,
4181
+ error: S.value?.(),
4182
+ "external-login-client": q(l),
4183
+ http: d.value,
4184
+ "auth-token": y.value === "profile" ? e.context?.token : void 0,
4185
+ onClose: M,
4186
4186
  onSubmit: de
4187
4187
  }, null, 8, [
4188
4188
  "open",
@@ -4194,23 +4194,23 @@ var ru = /* @__PURE__ */ W({
4194
4194
  "http",
4195
4195
  "auth-token"
4196
4196
  ]),
4197
- U(Kl, {
4198
- open: b.value === "accessTokens",
4199
- client: J(d),
4197
+ H(Kl, {
4198
+ open: y.value === "accessTokens",
4199
+ client: q(u),
4200
4200
  "session-token": e.context?.token,
4201
- onClose: N
4201
+ onClose: M
4202
4202
  }, null, 8, [
4203
4203
  "open",
4204
4204
  "client",
4205
4205
  "session-token"
4206
4206
  ]),
4207
- U(Zl, {
4208
- open: b.value === "themeSkin",
4209
- skins: J(fn),
4210
- "active-skin-id": E.value,
4211
- saving: S.value,
4212
- failure: D.value,
4213
- onClose: N,
4207
+ H(Zl, {
4208
+ open: y.value === "themeSkin",
4209
+ skins: q(_r),
4210
+ "active-skin-id": T.value,
4211
+ saving: x.value,
4212
+ failure: E.value,
4213
+ onClose: M,
4214
4214
  onSelect: ce
4215
4215
  }, null, 8, [
4216
4216
  "open",
@@ -4242,7 +4242,7 @@ function au(e, t, n) {
4242
4242
  }
4243
4243
  //#endregion
4244
4244
  //#region src/consumer/AppWorkbenchShell.vue
4245
- var ou = /* @__PURE__ */ W({
4245
+ var ou = /* @__PURE__ */ U({
4246
4246
  name: "AppWorkbenchShell",
4247
4247
  inheritAttrs: !1,
4248
4248
  __name: "AppWorkbenchShell",
@@ -4280,255 +4280,255 @@ var ou = /* @__PURE__ */ W({
4280
4280
  "update:skinId"
4281
4281
  ],
4282
4282
  setup(e, { emit: t }) {
4283
- let r = I(), i = e, o = t, s = L(() => i.accountContext ? {
4284
- ...i.accountContext,
4285
- currentUser: i.startup.session.currentUser
4283
+ let n = N(), r = e, i = t, a = I(() => r.accountContext ? {
4284
+ ...r.accountContext,
4285
+ currentUser: r.startup.session.currentUser
4286
4286
  } : void 0);
4287
- async function c(e) {
4288
- return e.key === "logout" && !await De((i.startup.tabs ?? []).map((e) => e.key), "logout", r) ? !1 : !i.beforeAccountCommand || i.beforeAccountCommand(e);
4287
+ async function o(e) {
4288
+ return e.key === "logout" && !await Oe((r.startup.tabs ?? []).map((e) => e.key), "logout", n) ? !1 : !r.beforeAccountCommand || r.beforeAccountCommand(e);
4289
4289
  }
4290
- let l = L(() => i.startup.activeTabKey), u = K([]), d = 0, f = Promise.resolve(), p = !1;
4291
- fe({
4292
- refreshMenus: i.loadMenus ? async () => {
4293
- let e = i.startup.session, t = await i.loadMenus();
4294
- if (!p || e !== i.startup.session) throw Error(r.t("platform.screen.AppWorkbenchShell.your-sign-in-state-has-changed-please-try", "登录状态已变化,请重试"));
4295
- return o("update:startup", {
4296
- ...i.startup,
4290
+ let s = I(() => r.startup.activeTabKey), c = G([]), l = 0, u = Promise.resolve(), d = !1;
4291
+ pe({
4292
+ refreshMenus: r.loadMenus ? async () => {
4293
+ let e = r.startup.session, t = await r.loadMenus();
4294
+ if (!d || e !== r.startup.session) throw Error(n.t("platform.screen.AppWorkbenchShell.your-sign-in-state-has-changed-please-try", "登录状态已变化,请重试"));
4295
+ return i("update:startup", {
4296
+ ...r.startup,
4297
4297
  menus: t
4298
4298
  }), t;
4299
4299
  } : void 0,
4300
4300
  openMenu: (e) => {
4301
- let t = n(e);
4302
- t && h(e, t);
4301
+ let t = fe(e);
4302
+ t && p(e, t);
4303
4303
  },
4304
4304
  openRoute: te,
4305
- replaceRoute: w,
4305
+ replaceRoute: S,
4306
4306
  closeCurrentTab: ne,
4307
- openPage: C,
4308
- replacePage: k,
4309
- closePage: v,
4310
- setTabName: O
4307
+ openPage: x,
4308
+ replacePage: D,
4309
+ closePage: g,
4310
+ setTabName: E
4311
+ }), ba(() => {
4312
+ d = !0, Ae(), A(), k(r.location);
4311
4313
  }), ya(() => {
4312
- p = !0, ke(), re(), j(i.location);
4313
- }), va(() => {
4314
- p = !1;
4315
- }), Y(() => i.location, (e) => j(e));
4316
- function m(e, t = void 0) {
4317
- o("update:startup", e), t && A(e, t);
4314
+ d = !1;
4315
+ }), J(() => r.location, (e) => k(e));
4316
+ function f(e, t = void 0) {
4317
+ i("update:startup", e), t && O(e, t);
4318
4318
  }
4319
- function h(e, t) {
4319
+ function p(e, t) {
4320
4320
  if (t.openMode === "window") {
4321
4321
  window.open(sc(e, t), "_blank", "noopener,noreferrer");
4322
4322
  return;
4323
4323
  }
4324
- let n = ac(i.startup.tabs ?? [], e, t, i.resolveOptions);
4325
- m({
4326
- ...i.startup,
4324
+ let n = ac(r.startup.tabs ?? [], e, t, r.resolveOptions);
4325
+ f({
4326
+ ...r.startup,
4327
4327
  tabs: n.tabs,
4328
4328
  activeTabKey: n.activeTabKey
4329
4329
  }, "push");
4330
4330
  }
4331
- function g(e) {
4332
- e !== i.startup.activeTabKey && m({
4333
- ...i.startup,
4331
+ function m(e) {
4332
+ e !== r.startup.activeTabKey && f({
4333
+ ...r.startup,
4334
4334
  activeTabKey: e
4335
4335
  }, "push");
4336
4336
  }
4337
- async function _(e) {
4338
- await De([e], "refresh", r) && p && (i.startup.tabs ?? []).some((t) => t.key === e) && o("refreshPage", e);
4337
+ async function h(e) {
4338
+ await Oe([e], "refresh", n) && d && (r.startup.tabs ?? []).some((t) => t.key === e) && i("refreshPage", e);
4339
4339
  }
4340
- async function v(e) {
4341
- if (!await De([e], "close", r) || !p) return;
4342
- let t = mc(i.startup.tabs ?? [], i.startup.activeTabKey, e);
4343
- u.value.some((t) => t.key === e) && S(Cc(u.value, [e])), m({
4344
- ...i.startup,
4340
+ async function g(e) {
4341
+ if (!await Oe([e], "close", n) || !d) return;
4342
+ let t = mc(r.startup.tabs ?? [], r.startup.activeTabKey, e);
4343
+ c.value.some((t) => t.key === e) && b(Cc(c.value, [e])), f({
4344
+ ...r.startup,
4345
4345
  tabs: t.tabs,
4346
4346
  activeTabKey: t.activeTabKey
4347
- }, "replace"), Ce(e);
4347
+ }, "replace"), we(e);
4348
4348
  }
4349
- async function y(e) {
4350
- if (!await De(e, "close", r) || !p) return;
4351
- let t = hc(i.startup.tabs ?? [], i.startup.activeTabKey, e), n = e.filter((e) => u.value.some((t) => t.key === e));
4352
- n.length > 0 && S(Cc(u.value, n)), m({
4353
- ...i.startup,
4349
+ async function _(e) {
4350
+ if (!await Oe(e, "close", n) || !d) return;
4351
+ let t = hc(r.startup.tabs ?? [], r.startup.activeTabKey, e), i = e.filter((e) => c.value.some((t) => t.key === e));
4352
+ i.length > 0 && b(Cc(c.value, i)), f({
4353
+ ...r.startup,
4354
4354
  tabs: t.tabs,
4355
4355
  activeTabKey: t.activeTabKey
4356
- }, "replace"), e.forEach(Ce);
4356
+ }, "replace"), e.forEach(we);
4357
4357
  }
4358
- function b(e) {
4359
- let t = wc(i.startup.tabs ?? [], e, u.value.map((e) => e.key)), n = t.filter((e) => u.value.some((t) => t.key === e.key));
4360
- n.map((e) => e.key).join("|") !== u.value.map((e) => e.key).join("|") && S(n), m({
4361
- ...i.startup,
4358
+ function v(e) {
4359
+ let t = wc(r.startup.tabs ?? [], e, c.value.map((e) => e.key)), n = t.filter((e) => c.value.some((t) => t.key === e.key));
4360
+ n.map((e) => e.key).join("|") !== c.value.map((e) => e.key).join("|") && b(n), f({
4361
+ ...r.startup,
4362
4362
  tabs: t
4363
4363
  });
4364
4364
  }
4365
- function x(e) {
4366
- let t = i.startup.tabs?.find((t) => t.key === e);
4365
+ function y(e) {
4366
+ let t = r.startup.tabs?.find((t) => t.key === e);
4367
4367
  if (!t) return;
4368
- let n = u.value.some((t) => t.key === e), r = u.value, a = n ? Cc(r, [e]) : xc(r, t);
4369
- S(a), m({
4370
- ...i.startup,
4371
- tabs: gc(i.startup.tabs ?? [], a)
4368
+ let n = c.value.some((t) => t.key === e), i = c.value, a = n ? Cc(i, [e]) : xc(i, t);
4369
+ b(a), f({
4370
+ ...r.startup,
4371
+ tabs: gc(r.startup.tabs ?? [], a)
4372
4372
  });
4373
4373
  }
4374
- function S(e) {
4375
- let t = u.value, n = ++d;
4376
- u.value = e, ee(e, t, n);
4374
+ function b(e) {
4375
+ let t = c.value, n = ++l;
4376
+ c.value = e, ee(e, t, n);
4377
4377
  }
4378
4378
  async function ee(e, t, n) {
4379
4379
  try {
4380
- f = f.catch(() => void 0).then(() => Gc(sr, e)), await f;
4380
+ u = u.catch(() => void 0).then(() => Gc(bn, e)), await u;
4381
4381
  } catch {
4382
- if (n !== d) return;
4383
- u.value = t, m({
4384
- ...i.startup,
4385
- tabs: gc(i.startup.tabs ?? [], t, !1)
4382
+ if (n !== l) return;
4383
+ c.value = t, f({
4384
+ ...r.startup,
4385
+ tabs: gc(r.startup.tabs ?? [], t, !1)
4386
4386
  });
4387
4387
  }
4388
4388
  }
4389
- function C(e) {
4390
- let t = oc(i.startup.tabs ?? [], e);
4391
- return m({
4392
- ...i.startup,
4389
+ function x(e) {
4390
+ let t = oc(r.startup.tabs ?? [], e);
4391
+ return f({
4392
+ ...r.startup,
4393
4393
  tabs: t.tabs,
4394
4394
  activeTabKey: t.activeTabKey
4395
4395
  }, "push"), { created: t.created };
4396
4396
  }
4397
4397
  function te(e, t = {}) {
4398
- return D(je(e, t), "push", i.startup, t.tabTitle, t.newInstance);
4398
+ return T(Me(e, t), "push", r.startup, t.tabTitle, t.newInstance);
4399
4399
  }
4400
- function w(e, t = {}) {
4401
- let n = i.startup.activeTabKey, a = i.startup.tabs?.find((e) => e.key === n), o = je(e, t);
4402
- if (!n || !a) return D(o, "replace", i.startup, t.tabTitle);
4403
- let s = lc(i.startup, o, {
4404
- ...i.resolveOptions,
4405
- title: t.tabTitle ?? i.resolveOptions.title
4406
- }, !1, r), c = s.tabs?.find((e) => e.key === s.activeTabKey);
4400
+ function S(e, t = {}) {
4401
+ let i = r.startup.activeTabKey, a = r.startup.tabs?.find((e) => e.key === i), o = Me(e, t);
4402
+ if (!i || !a) return T(o, "replace", r.startup, t.tabTitle);
4403
+ let s = lc(r.startup, o, {
4404
+ ...r.resolveOptions,
4405
+ title: t.tabTitle ?? r.resolveOptions.title
4406
+ }, !1, n), c = s.tabs?.find((e) => e.key === s.activeTabKey);
4407
4407
  if (!c) return { created: !1 };
4408
- let l = c.pageDescriptor && a.instanceKey ? we(c.pageDescriptor, a.instanceKey) : c.pageDescriptor, u = l ? Fe(l, i.resolveOptions) : c.fullPath, d = (s.tabs ?? []).filter((e) => e.key !== c.key).map((e) => e.key === n ? {
4408
+ let l = c.pageDescriptor && a.instanceKey ? He(c.pageDescriptor, a.instanceKey) : c.pageDescriptor, u = l ? ye(l, r.resolveOptions) : c.fullPath, d = (s.tabs ?? []).filter((e) => e.key !== c.key).map((e) => e.key === i ? {
4409
4409
  ...a,
4410
4410
  ...c,
4411
- key: n,
4411
+ key: i,
4412
4412
  instanceKey: a.instanceKey,
4413
4413
  pageDescriptor: l,
4414
4414
  fullPath: u,
4415
4415
  restoreState: u ? { url: u } : c.restoreState,
4416
4416
  title: t.tabTitle ?? c.title
4417
4417
  } : e);
4418
- return m({
4418
+ return f({
4419
4419
  ...s,
4420
4420
  tabs: d,
4421
- activeTabKey: n
4421
+ activeTabKey: i
4422
4422
  }, "replace"), { created: !1 };
4423
4423
  }
4424
4424
  function ne(e) {
4425
- let t = i.startup.activeTabKey;
4426
- return t ? Pe([t]) ? (T(e, t), { created: !1 }) : E(e, t) : D(je(e), "replace", i.startup);
4425
+ let t = r.startup.activeTabKey;
4426
+ return t ? Fe([t]) ? (C(e, t), { created: !1 }) : w(e, t) : T(Me(e), "replace", r.startup);
4427
4427
  }
4428
- async function T(e, t) {
4429
- if (await De([t], "close", r) && p && (i.startup.tabs ?? []).some((e) => e.key === t)) return E(e, t);
4428
+ async function C(e, t) {
4429
+ if (await Oe([t], "close", n) && d && (r.startup.tabs ?? []).some((e) => e.key === t)) return w(e, t);
4430
4430
  }
4431
- function E(e, t) {
4432
- let n = mc(i.startup.tabs ?? [], i.startup.activeTabKey, t);
4433
- Ce(t), u.value.some((e) => e.key === t) && S(Cc(u.value, [t]));
4434
- let r = n.tabs.find((t) => {
4435
- let n = t.fullPath ?? (t.pageDescriptor ? Fe(t.pageDescriptor) : void 0);
4431
+ function w(e, t) {
4432
+ let n = mc(r.startup.tabs ?? [], r.startup.activeTabKey, t);
4433
+ we(t), c.value.some((e) => e.key === t) && b(Cc(c.value, [t]));
4434
+ let i = n.tabs.find((t) => {
4435
+ let n = t.fullPath ?? (t.pageDescriptor ? ye(t.pageDescriptor) : void 0);
4436
4436
  return n && new URL(n, "http://muyun.local").pathname === e;
4437
4437
  });
4438
- return r ? (m({
4439
- ...i.startup,
4438
+ return i ? (f({
4439
+ ...r.startup,
4440
4440
  tabs: n.tabs,
4441
- activeTabKey: r.key
4442
- }, "replace"), { created: !1 }) : D(je(e), "replace", {
4443
- ...i.startup,
4441
+ activeTabKey: i.key
4442
+ }, "replace"), { created: !1 }) : T(Me(e), "replace", {
4443
+ ...r.startup,
4444
4444
  tabs: n.tabs,
4445
4445
  activeTabKey: n.activeTabKey
4446
4446
  });
4447
4447
  }
4448
- function D(e, t, n, a, o = !1) {
4449
- let s = new Set((n.tabs ?? []).map((e) => e.key)), c = lc(n, e, {
4450
- ...i.resolveOptions,
4451
- title: a ?? i.resolveOptions.title
4452
- }, o, r);
4448
+ function T(e, t, i, a, o = !1) {
4449
+ let s = new Set((i.tabs ?? []).map((e) => e.key)), c = lc(i, e, {
4450
+ ...r.resolveOptions,
4451
+ title: a ?? r.resolveOptions.title
4452
+ }, o, n);
4453
4453
  return a && c.activeTabKey && (c = {
4454
4454
  ...c,
4455
4455
  tabs: (c.tabs ?? []).map((e) => e.key === c.activeTabKey ? Ic(e, a) : e)
4456
- }), m(c, t), { created: !(!c.activeTabKey || s.has(c.activeTabKey)) };
4456
+ }), f(c, t), { created: !(!c.activeTabKey || s.has(c.activeTabKey)) };
4457
4457
  }
4458
- function O(e, t) {
4458
+ function E(e, t) {
4459
4459
  let n = t.trim();
4460
- e && n && m({
4461
- ...i.startup,
4462
- tabs: (i.startup.tabs ?? []).map((t) => t.instanceKey === e ? Ic(t, n) : t)
4460
+ e && n && f({
4461
+ ...r.startup,
4462
+ tabs: (r.startup.tabs ?? []).map((t) => t.instanceKey === e ? Ic(t, n) : t)
4463
4463
  });
4464
4464
  }
4465
- function k(e, t) {
4466
- let n = (i.startup.tabs ?? []).map((n) => n.key === e ? {
4465
+ function D(e, t) {
4466
+ let n = (r.startup.tabs ?? []).map((n) => n.key === e ? {
4467
4467
  ...n,
4468
4468
  title: t.title ?? n.title,
4469
4469
  pageDescriptor: t,
4470
- restoreState: { url: Fe(t) }
4471
- } : n), r = n.find((t) => t.key === e);
4472
- r && u.value.some((t) => t.key === e) && S(xc(u.value, r)), m({
4473
- ...i.startup,
4470
+ restoreState: { url: ye(t) }
4471
+ } : n), i = n.find((t) => t.key === e);
4472
+ i && c.value.some((t) => t.key === e) && b(xc(c.value, i)), f({
4473
+ ...r.startup,
4474
4474
  tabs: n
4475
4475
  }, "replace");
4476
4476
  }
4477
- function A(e, t) {
4478
- let n = au(e, i.location, t);
4479
- n && o("navigate", n);
4477
+ function O(e, t) {
4478
+ let n = au(e, r.location, t);
4479
+ n && i("navigate", n);
4480
4480
  }
4481
- function j(e) {
4482
- m(lc(i.startup, e, i.resolveOptions, !1, r));
4481
+ function k(e) {
4482
+ f(lc(r.startup, e, r.resolveOptions, !1, n));
4483
4483
  }
4484
- async function re() {
4485
- let e = d;
4484
+ async function A() {
4485
+ let e = l;
4486
4486
  try {
4487
- let t = vc(await Wc(sr), i.startup.menus, i.resolveOptions, r);
4488
- if (!p || e !== d) return;
4489
- u.value = t;
4490
- let n = new Set(t.map((e) => e.key)), a = [...t, ...(i.startup.tabs ?? []).filter((e) => !n.has(e.key))];
4491
- m({
4492
- ...i.startup,
4487
+ let t = vc(await Wc(bn), r.startup.menus, r.resolveOptions, n);
4488
+ if (!d || e !== l) return;
4489
+ c.value = t;
4490
+ let i = new Set(t.map((e) => e.key)), a = [...t, ...(r.startup.tabs ?? []).filter((e) => !i.has(e.key))];
4491
+ f({
4492
+ ...r.startup,
4493
4493
  tabs: gc(a, t)
4494
4494
  });
4495
4495
  } catch {}
4496
4496
  }
4497
- return (t, n) => (G(), R(ru, {
4498
- context: s.value,
4497
+ return (t, n) => (W(), L(ru, {
4498
+ context: a.value,
4499
4499
  menu: e.accountMenu,
4500
- "before-command": c,
4500
+ "before-command": o,
4501
4501
  "skin-id": e.skinId,
4502
- onUserCommand: n[1] ||= (e) => o("userCommand", e),
4503
- onLogout: n[2] ||= (e) => o("logout", e),
4504
- "onUpdate:skinId": n[3] ||= (e) => o("update:skinId", e)
4502
+ onUserCommand: n[1] ||= (e) => i("userCommand", e),
4503
+ onLogout: n[2] ||= (e) => i("logout", e),
4504
+ "onUpdate:skinId": n[3] ||= (e) => i("update:skinId", e)
4505
4505
  }, {
4506
- default: X((r) => [U(a, pa(t.$attrs, {
4506
+ default: Y((r) => [H(re, ma(t.$attrs, {
4507
4507
  startup: e.startup,
4508
4508
  "current-user-employee-name": e.currentUserEmployeeName ?? r.profile?.employee?.title,
4509
4509
  "managed-account-menu-items": r.items,
4510
4510
  loading: e.loading,
4511
4511
  error: e.error,
4512
- "active-tab-key": l.value,
4513
- "locked-tab-keys": u.value.map((e) => e.key),
4512
+ "active-tab-key": s.value,
4513
+ "locked-tab-keys": c.value.map((e) => e.key),
4514
4514
  "realtime-status": e.realtimeStatus,
4515
4515
  "theme-appearance": e.themeAppearance,
4516
- onSelectMenu: h,
4517
- onChangeTab: g,
4518
- onCloseTab: v,
4519
- onCloseTabs: y,
4520
- onReorderTabs: b,
4521
- onToggleTabLock: x,
4522
- onRefreshPage: _,
4516
+ onSelectMenu: p,
4517
+ onChangeTab: m,
4518
+ onCloseTab: g,
4519
+ onCloseTabs: _,
4520
+ onReorderTabs: v,
4521
+ onToggleTabLock: y,
4522
+ onRefreshPage: h,
4523
4523
  onUserCommand: (e) => r.select(e),
4524
4524
  onAccountMenuOpen: (e) => r.refresh(),
4525
- onRetryLoad: n[0] ||= (e) => o("retryLoad")
4526
- }), la({
4527
- default: X(({ pageDescriptor: e }) => [wa(t.$slots, "default", { pageDescriptor: e })]),
4525
+ onRetryLoad: n[0] ||= (e) => i("retryLoad")
4526
+ }), ua({
4527
+ default: Y(({ pageDescriptor: e }) => [Ta(t.$slots, "default", { pageDescriptor: e })]),
4528
4528
  _: 2
4529
4529
  }, [t.$slots["topbar-actions"] ? {
4530
4530
  name: "topbar-actions",
4531
- fn: X((e) => [wa(t.$slots, "topbar-actions", ga(da(e)))]),
4531
+ fn: Y((e) => [Ta(t.$slots, "topbar-actions", _a(fa(e)))]),
4532
4532
  key: "0"
4533
4533
  } : void 0]), 1040, [
4534
4534
  "startup",
@@ -4553,7 +4553,7 @@ var ou = /* @__PURE__ */ W({
4553
4553
  }), su = { class: "external-provisioning-confirmation" }, cu = {
4554
4554
  key: 0,
4555
4555
  role: "alert"
4556
- }, lu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4556
+ }, lu = /*#__PURE__*/ ar(/* @__PURE__ */ U({
4557
4557
  __name: "ExternalProvisioningConfirmation",
4558
4558
  props: {
4559
4559
  confirmation: {},
@@ -4562,31 +4562,31 @@ var ou = /* @__PURE__ */ W({
4562
4562
  },
4563
4563
  emits: ["confirm", "cancel"],
4564
4564
  setup(e) {
4565
- let t = I();
4566
- return (n, r) => (G(), B("main", su, [
4567
- V("h1", null, q(J(t).t("platform.external-login.confirm-title", "确认加入")), 1),
4568
- V("p", null, q(J(t).t("platform.external-login.confirm-explanation", "请确认以下身份资料。确认后将创建本系统账号。")), 1),
4569
- V("dl", null, [
4570
- V("dt", null, q(J(t).t("platform.external-login.person", "姓名")), 1),
4571
- V("dd", null, q(e.confirmation.displayName), 1),
4572
- V("dt", null, q(J(t).t("platform.external-login.tenant", "租户")), 1),
4573
- V("dd", null, q(e.confirmation.tenantId), 1),
4574
- V("dt", null, q(J(t).t("platform.external-login.placements", "任职归属")), 1),
4575
- V("dd", null, q((e.confirmation.placements ?? e.confirmation.departmentIds).join(", ")), 1)
4565
+ let t = N();
4566
+ return (n, r) => (W(), z("main", su, [
4567
+ B("h1", null, K(q(t).t("platform.external-login.confirm-title", "确认加入")), 1),
4568
+ B("p", null, K(q(t).t("platform.external-login.confirm-explanation", "请确认以下身份资料。确认后将创建本系统账号。")), 1),
4569
+ B("dl", null, [
4570
+ B("dt", null, K(q(t).t("platform.external-login.person", "姓名")), 1),
4571
+ B("dd", null, K(e.confirmation.displayName), 1),
4572
+ B("dt", null, K(q(t).t("platform.external-login.tenant", "租户")), 1),
4573
+ B("dd", null, K(e.confirmation.tenantId), 1),
4574
+ B("dt", null, K(q(t).t("platform.external-login.placements", "任职归属")), 1),
4575
+ B("dd", null, K((e.confirmation.placements ?? e.confirmation.departmentIds).join(", ")), 1)
4576
4576
  ]),
4577
- e.error ? (G(), B("p", cu, q(e.error), 1)) : z("v-if", !0),
4578
- U(J(P), {
4577
+ e.error ? (W(), z("p", cu, K(e.error), 1)) : R("v-if", !0),
4578
+ H(q(F), {
4579
4579
  disabled: e.busy,
4580
4580
  onClick: r[0] ||= (e) => n.$emit("confirm")
4581
4581
  }, {
4582
- default: X(() => [H(q(J(t).t("platform.external-login.confirm-join", "确认并登录")), 1)]),
4582
+ default: Y(() => [V(K(q(t).t("platform.external-login.confirm-join", "确认并登录")), 1)]),
4583
4583
  _: 1
4584
4584
  }, 8, ["disabled"]),
4585
- U(J(P), {
4585
+ H(q(F), {
4586
4586
  disabled: e.busy,
4587
4587
  onClick: r[1] ||= (e) => n.$emit("cancel")
4588
4588
  }, {
4589
- default: X(() => [H(q(J(t).t("platform.external-login.cancel-join", "取消")), 1)]),
4589
+ default: Y(() => [V(K(q(t).t("platform.external-login.cancel-join", "取消")), 1)]),
4590
4590
  _: 1
4591
4591
  }, 8, ["disabled"])
4592
4592
  ]));
@@ -4632,7 +4632,7 @@ var gu = { class: "login-language" }, _u = { class: "login-page" }, vu = { class
4632
4632
  }, Tu = { key: 0 }, Eu = {
4633
4633
  key: 3,
4634
4634
  class: "login-external"
4635
- }, Du = { class: "login-external-divider" }, Ou = { class: "login-context" }, ku = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4635
+ }, Du = { class: "login-external-divider" }, Ou = { class: "login-context" }, ku = /*#__PURE__*/ ar(/* @__PURE__ */ U({
4636
4636
  name: "LoginView",
4637
4637
  __name: "LoginView",
4638
4638
  props: {
@@ -4645,18 +4645,18 @@ var gu = { class: "login-language" }, _u = { class: "login-page" }, vu = { class
4645
4645
  },
4646
4646
  emits: ["authenticated"],
4647
4647
  setup(e, { emit: t }) {
4648
- let n = I(), r = K();
4648
+ let n = N(), r = G();
4649
4649
  function i() {
4650
4650
  r.value && $c(r.value.state), r.value = void 0;
4651
4651
  }
4652
- let a = e, o = t, s = uu(void 0), c = K(s.tenantId), l = s.tenantLocked, u = K(du(a.initialUsername) || du(void 0)), d = K(du(void 0)), f = K(!1), p = K(), m = K(!1), h = K(), g = K(""), _ = K(""), v = K(), y = K(!1), b = K(), x = K([]), S = K(!1), ee = L(() => !l || !y.value && !b.value), C = L(() => v.value?.mode !== "logoOnly"), te = L(() => v.value?.title || n.t("platform.screen.LoginView.platform-sign-in", "平台登录")), w = L(() => v.value?.subtitle);
4653
- ya(async () => {
4652
+ let a = e, o = t, s = uu(void 0), c = G(s.tenantId), l = s.tenantLocked, u = G(du(a.initialUsername) || du(void 0)), d = G(du(void 0)), f = G(!1), p = G(), m = G(!1), h = G(), g = G(""), _ = G(""), v = G(), y = G(!1), b = G(), ee = G([]), x = G(!1), te = I(() => !l || !y.value && !b.value), S = I(() => v.value?.mode !== "logoOnly"), ne = I(() => v.value?.title || n.t("platform.screen.LoginView.platform-sign-in", "平台登录")), C = I(() => v.value?.subtitle);
4653
+ ba(async () => {
4654
4654
  if (l && c.value) {
4655
4655
  y.value = !0;
4656
4656
  try {
4657
4657
  if (!a.loginContextClient) throw Error("login context client is unavailable");
4658
4658
  let e = await a.loginContextClient.loginContext(c.value);
4659
- v.value = e.branding, x.value = a.externalLoginClient ? e.externalLoginMethods ?? [] : [];
4659
+ v.value = e.branding, ee.value = a.externalLoginClient ? e.externalLoginMethods ?? [] : [];
4660
4660
  } catch {
4661
4661
  b.value = () => n.t("platform.screen.LoginView.unable-to-open-sign-in-for-this-tenant", "无法打开该租户的登录入口");
4662
4662
  } finally {
@@ -4664,9 +4664,9 @@ var gu = { class: "login-language" }, _u = { class: "login-page" }, vu = { class
4664
4664
  }
4665
4665
  }
4666
4666
  });
4667
- async function ne(e) {
4667
+ async function w(e) {
4668
4668
  if (a.externalLoginClient) {
4669
- p.value = void 0, S.value = !0;
4669
+ p.value = void 0, x.value = !0;
4670
4670
  try {
4671
4671
  i();
4672
4672
  let t = await a.externalLoginClient.startLogin(e.providerId, c.value);
@@ -4674,9 +4674,9 @@ var gu = { class: "login-language" }, _u = { class: "login-page" }, vu = { class
4674
4674
  providerId: e.providerId,
4675
4675
  purpose: "login",
4676
4676
  tenantId: c.value
4677
- }), t.qrCode ? (r.value = t, S.value = !1) : el(t.authorizationUrl);
4677
+ }), t.qrCode ? (r.value = t, x.value = !1) : el(t.authorizationUrl);
4678
4678
  } catch (e) {
4679
- p.value = () => E(e), S.value = !1;
4679
+ p.value = () => E(e), x.value = !1;
4680
4680
  }
4681
4681
  }
4682
4682
  }
@@ -4700,7 +4700,7 @@ var gu = { class: "login-language" }, _u = { class: "login-page" }, vu = { class
4700
4700
  }
4701
4701
  }
4702
4702
  function E(e) {
4703
- return e instanceof nn ? e.status === 403 ? n.t("platform.screen.LoginView.this-site-is-not-authorized-by-the-server", "当前站点未获后端授权,请联系管理员配置访问来源") : e.code === Xt.networkError || e.code === Xt.httpError || (e.status ?? 0) >= 500 ? n.t("platform.screen.LoginView.cannot-reach-the-server-check-its-status-and", "无法访问后端,请检查服务状态或站点授权配置") : e.code === Xt.loginBadCredentials ? n.t("platform.screen.LoginView.incorrect-username-or-password", "用户名或密码错误") : e.message : e instanceof Error ? e.message : n.t("platform.screen.LoginView.sign-in-failed-please-try-again-later", "登录失败,请稍后重试");
4703
+ return e instanceof rt ? e.status === 403 ? n.t("platform.screen.LoginView.this-site-is-not-authorized-by-the-server", "当前站点未获后端授权,请联系管理员配置访问来源") : e.code === cn.networkError || e.code === cn.httpError || (e.status ?? 0) >= 500 ? n.t("platform.screen.LoginView.cannot-reach-the-server-check-its-status-and", "无法访问后端,请检查服务状态或站点授权配置") : e.code === cn.loginBadCredentials ? n.t("platform.screen.LoginView.incorrect-username-or-password", "用户名或密码错误") : e.message : e instanceof Error ? e.message : n.t("platform.screen.LoginView.sign-in-failed-please-try-again-later", "登录失败,请稍后重试");
4704
4704
  }
4705
4705
  async function D() {
4706
4706
  if (p.value = void 0, !h.value) {
@@ -4724,113 +4724,113 @@ var gu = { class: "login-language" }, _u = { class: "login-page" }, vu = { class
4724
4724
  });
4725
4725
  o("authenticated", e);
4726
4726
  } catch (e) {
4727
- p.value = () => e instanceof Error ? on(Vr(e), n) : n.t("platform.screen.LoginView.password-change-failed", "密码修改失败,请重试");
4727
+ p.value = () => e instanceof Error ? Pt(en(e), n) : n.t("platform.screen.LoginView.password-change-failed", "密码修改失败,请重试");
4728
4728
  } finally {
4729
4729
  f.value = !1;
4730
4730
  }
4731
4731
  }
4732
- return (t, a) => (G(), B(ca, null, [V("div", gu, [U(J(Re))]), V("main", _u, [V("section", vu, [
4733
- V("header", null, [V("div", yu, [v.value?.lightLogo ? (G(), B("img", {
4732
+ return (t, a) => (W(), z(la, null, [B("div", gu, [H(q(ze))]), B("main", _u, [B("section", vu, [
4733
+ B("header", null, [B("div", yu, [v.value?.lightLogo ? (W(), z("img", {
4734
4734
  key: 0,
4735
4735
  class: "login-logo",
4736
4736
  src: v.value.lightLogo,
4737
4737
  alt: ""
4738
- }, null, 8, bu)) : z("v-if", !0), C.value ? (G(), B("div", xu, [
4739
- v.value?.lightLogo ? z("v-if", !0) : (G(), B("p", Su, "MuYun Platform")),
4740
- V("h1", null, q(te.value), 1),
4741
- w.value ? (G(), B("p", Cu, q(w.value), 1)) : z("v-if", !0)
4742
- ])) : z("v-if", !0)])]),
4743
- p.value || e.error || b.value ? (G(), B("p", wu, q(p.value?.() || e.error || b.value?.()), 1)) : z("v-if", !0),
4744
- r.value ? (G(), R(pl, {
4738
+ }, null, 8, bu)) : R("v-if", !0), S.value ? (W(), z("div", xu, [
4739
+ v.value?.lightLogo ? R("v-if", !0) : (W(), z("p", Su, "MuYun Platform")),
4740
+ B("h1", null, K(ne.value), 1),
4741
+ C.value ? (W(), z("p", Cu, K(C.value), 1)) : R("v-if", !0)
4742
+ ])) : R("v-if", !0)])]),
4743
+ p.value || e.error || b.value ? (W(), z("p", wu, K(p.value?.() || e.error || b.value?.()), 1)) : R("v-if", !0),
4744
+ r.value ? (W(), L(pl, {
4745
4745
  key: r.value.state,
4746
4746
  start: r.value,
4747
4747
  onClose: i
4748
- }, null, 8, ["start"])) : z("v-if", !0),
4749
- m.value ? z("v-if", !0) : (G(), B("form", {
4748
+ }, null, 8, ["start"])) : R("v-if", !0),
4749
+ m.value ? R("v-if", !0) : (W(), z("form", {
4750
4750
  key: 2,
4751
4751
  class: "login-form",
4752
- onSubmit: ka(T, ["prevent"])
4752
+ onSubmit: Aa(T, ["prevent"])
4753
4753
  }, [
4754
- J(l) ? z("v-if", !0) : (G(), B("label", Tu, [V("span", null, q(J(n).t("platform.screen.LoginView.tenant-id", "租户 ID")), 1), U(J(F), {
4754
+ q(l) ? R("v-if", !0) : (W(), z("label", Tu, [B("span", null, K(q(n).t("platform.screen.LoginView.tenant-id", "租户 ID")), 1), H(q(P), {
4755
4755
  value: c.value,
4756
4756
  "onUpdate:value": a[0] ||= (e) => c.value = e,
4757
4757
  autocomplete: "organization",
4758
- placeholder: J(n).t("platform.screen.LoginView.leave-blank-to-enter-the-system-workspace", "留空进入系统工作区")
4758
+ placeholder: q(n).t("platform.screen.LoginView.leave-blank-to-enter-the-system-workspace", "留空进入系统工作区")
4759
4759
  }, null, 8, ["value", "placeholder"])])),
4760
- V("label", null, [V("span", null, q(J(n).t("platform.screen.LoginView.username", "用户名")), 1), U(J(F), {
4760
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.LoginView.username", "用户名")), 1), H(q(P), {
4761
4761
  value: u.value,
4762
4762
  "onUpdate:value": a[1] ||= (e) => u.value = e,
4763
4763
  autocomplete: "username",
4764
4764
  required: ""
4765
4765
  }, null, 8, ["value"])]),
4766
- V("label", null, [V("span", null, q(J(n).t("platform.screen.LoginView.password", "密码")), 1), U(J(F), {
4766
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.LoginView.password", "密码")), 1), H(q(P), {
4767
4767
  value: d.value,
4768
4768
  "onUpdate:value": a[2] ||= (e) => d.value = e,
4769
4769
  type: "password",
4770
4770
  autocomplete: "current-password",
4771
4771
  required: ""
4772
4772
  }, null, 8, ["value"])]),
4773
- U(J(P), {
4773
+ H(q(F), {
4774
4774
  class: "login-submit",
4775
4775
  "html-type": "submit",
4776
4776
  type: "primary",
4777
- disabled: !ee.value,
4777
+ disabled: !te.value,
4778
4778
  loading: f.value || e.loading || y.value
4779
4779
  }, {
4780
- default: X(() => [H(q(f.value || e.loading ? J(n).t("platform.screen.LoginView.signing-in", "登录中") : J(n).t("platform.screen.LoginView.sign-in", "登录")), 1)]),
4780
+ default: Y(() => [V(K(f.value || e.loading ? q(n).t("platform.screen.LoginView.signing-in", "登录中") : q(n).t("platform.screen.LoginView.sign-in", "登录")), 1)]),
4781
4781
  _: 1
4782
4782
  }, 8, ["disabled", "loading"])
4783
4783
  ], 32)),
4784
- !m.value && x.value.length > 0 ? (G(), B("div", Eu, [V("p", Du, q(J(n).t("platform.screen.LoginView.or-sign-in-with", "或使用以下方式登录")), 1), (G(!0), B(ca, null, Ca(x.value, (e) => (G(), R(J(P), {
4784
+ !m.value && ee.value.length > 0 ? (W(), z("div", Eu, [B("p", Du, K(q(n).t("platform.screen.LoginView.or-sign-in-with", "或使用以下方式登录")), 1), (W(!0), z(la, null, wa(ee.value, (e) => (W(), L(q(F), {
4785
4785
  key: e.providerId,
4786
4786
  class: "login-submit",
4787
- loading: S.value,
4788
- disabled: S.value,
4789
- onClick: (t) => ne(e)
4787
+ loading: x.value,
4788
+ disabled: x.value,
4789
+ onClick: (t) => w(e)
4790
4790
  }, {
4791
- default: X(() => [H(q(J(n).t("platform.screen.LoginView.sign-in-with", "使用 {provider} 登录", { provider: e.title })), 1)]),
4791
+ default: Y(() => [V(K(q(n).t("platform.screen.LoginView.sign-in-with", "使用 {provider} 登录", { provider: e.title })), 1)]),
4792
4792
  _: 2
4793
4793
  }, 1032, [
4794
4794
  "loading",
4795
4795
  "disabled",
4796
4796
  "onClick"
4797
- ]))), 128))])) : m.value ? (G(), B("form", {
4797
+ ]))), 128))])) : m.value ? (W(), z("form", {
4798
4798
  key: 4,
4799
4799
  class: "login-form",
4800
- onSubmit: ka(D, ["prevent"])
4800
+ onSubmit: Aa(D, ["prevent"])
4801
4801
  }, [
4802
- V("p", Ou, q(J(n).t("platform.screen.LoginView.change-your-current-password-before-entering-the-system", "当前密码需要修改后才能进入系统")), 1),
4803
- V("label", null, [V("span", null, q(J(n).t("platform.screen.LoginView.new-password", "新密码")), 1), U(J(F), {
4802
+ B("p", Ou, K(q(n).t("platform.screen.LoginView.change-your-current-password-before-entering-the-system", "当前密码需要修改后才能进入系统")), 1),
4803
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.LoginView.new-password", "新密码")), 1), H(q(P), {
4804
4804
  value: g.value,
4805
4805
  "onUpdate:value": a[3] ||= (e) => g.value = e,
4806
4806
  type: "password",
4807
4807
  autocomplete: "new-password",
4808
4808
  required: ""
4809
4809
  }, null, 8, ["value"])]),
4810
- V("label", null, [V("span", null, q(J(n).t("platform.screen.LoginView.confirm-new-password", "确认新密码")), 1), U(J(F), {
4810
+ B("label", null, [B("span", null, K(q(n).t("platform.screen.LoginView.confirm-new-password", "确认新密码")), 1), H(q(P), {
4811
4811
  value: _.value,
4812
4812
  "onUpdate:value": a[4] ||= (e) => _.value = e,
4813
4813
  type: "password",
4814
4814
  autocomplete: "new-password",
4815
4815
  required: ""
4816
4816
  }, null, 8, ["value"])]),
4817
- U(J(P), {
4817
+ H(q(F), {
4818
4818
  class: "login-submit",
4819
4819
  "html-type": "submit",
4820
4820
  type: "primary",
4821
4821
  loading: f.value || e.loading
4822
4822
  }, {
4823
- default: X(() => [H(q(f.value || e.loading ? J(n).t("platform.screen.LoginView.saving", "保存中") : J(n).t("platform.screen.LoginView.change-password", "修改密码")), 1)]),
4823
+ default: Y(() => [V(K(f.value || e.loading ? q(n).t("platform.screen.LoginView.saving", "保存中") : q(n).t("platform.screen.LoginView.change-password", "修改密码")), 1)]),
4824
4824
  _: 1
4825
4825
  }, 8, ["loading"])
4826
- ], 32)) : z("v-if", !0)
4826
+ ], 32)) : R("v-if", !0)
4827
4827
  ])])], 64));
4828
4828
  }
4829
4829
  }), [["__scopeId", "data-v-96af9dc4"]]);
4830
4830
  //#endregion
4831
4831
  //#region src/consumer/userPreferencePersistence.ts
4832
4832
  function Au(e) {
4833
- Zi({
4833
+ qi({
4834
4834
  load: async (t) => (await e().request({
4835
4835
  path: `/platform.user-preference/${encodeURIComponent(t)}`,
4836
4836
  query: { clientType: "WEB" }
@@ -4852,7 +4852,7 @@ function Au(e) {
4852
4852
  }
4853
4853
  //#endregion
4854
4854
  //#region src/platform-components/ReadonlyRecordWorkspace.vue?vue&type=script&setup=true&lang.ts
4855
- var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4855
+ var ju = ["aria-label"], Mu = /*#__PURE__*/ ar(/* @__PURE__ */ U({
4856
4856
  name: "ReadonlyRecordWorkspace",
4857
4857
  __name: "ReadonlyRecordWorkspace",
4858
4858
  props: {
@@ -4870,8 +4870,8 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4870
4870
  }
4871
4871
  },
4872
4872
  setup(e, { expose: t }) {
4873
- Si("workspace");
4874
- let n = e, r = I(), i = gi(r), a = K(), o = ti(a, rr(0)), s = K({}), c = K({}), l = K({}), u = K(0), d = L({
4873
+ tr("workspace");
4874
+ let n = e, r = N(), i = Un(r), a = G(), o = ni(a, ki(0)), s = G({}), c = G({}), l = G({}), u = G(0), d = I({
4875
4875
  get: () => s.value.criteria,
4876
4876
  set: (e) => {
4877
4877
  T({
@@ -4879,7 +4879,7 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4879
4879
  criteria: e
4880
4880
  });
4881
4881
  }
4882
- }), f = L({
4882
+ }), f = I({
4883
4883
  get: () => s.value.sorts,
4884
4884
  set: (e) => {
4885
4885
  T({
@@ -4887,18 +4887,18 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4887
4887
  sorts: e
4888
4888
  });
4889
4889
  }
4890
- }), p = K(!1), m = K(!1), h = K(""), g = L(() => JSON.stringify([
4890
+ }), p = G(!1), m = G(!1), h = G(""), g = I(() => JSON.stringify([
4891
4891
  n.view.sourceId,
4892
4892
  n.view.viewCode,
4893
4893
  n.view.scopeKey
4894
- ])), _ = L(() => n.view.querySchema), v = L(() => _.value?.criteriaComposition ?? "TREE"), y = L(() => (_.value?.fields ?? []).filter((e) => !e.reference || !!n.referencePickerOf?.(e)).map((e) => ({
4894
+ ])), _ = I(() => n.view.querySchema), v = I(() => _.value?.criteriaComposition ?? "TREE"), y = I(() => (_.value?.fields ?? []).filter((e) => !e.reference || !!n.referencePickerOf?.(e)).map((e) => ({
4895
4895
  ...e,
4896
- title: ta(e.title ?? e.name, e.titleText, r)
4897
- }))), b = L(() => y.value.filter((e) => e.persistentControl)), x = L(() => Object.values(l.value).every((e) => e.valid));
4898
- function S(e) {
4896
+ title: jn(e.title ?? e.name, e.titleText, r)
4897
+ }))), b = I(() => y.value.filter((e) => e.persistentControl)), ee = I(() => Object.values(l.value).every((e) => e.valid));
4898
+ function x(e) {
4899
4899
  return b.value.flatMap((t) => {
4900
4900
  let n = t.persistentControl, r = e?.[n.id] ?? n.defaultValues ?? [];
4901
- return r.length || mi(n.operator) ? [{
4901
+ return r.length || gi(n.operator) ? [{
4902
4902
  kind: "CONDITION",
4903
4903
  fieldName: t.name,
4904
4904
  operator: n.operator,
@@ -4906,34 +4906,34 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4906
4906
  }] : [];
4907
4907
  });
4908
4908
  }
4909
- let ee = L(() => S(s.value.persistentValues)), C = L(() => b.value.map((e) => {
4909
+ let te = I(() => x(s.value.persistentValues)), S = I(() => b.value.map((e) => {
4910
4910
  let t = e.persistentControl;
4911
4911
  return {
4912
4912
  ...t,
4913
- title: ta(t.title, t.titleText, r),
4913
+ title: jn(t.title, t.titleText, r),
4914
4914
  field: e,
4915
4915
  values: c.value[t.id] ?? t.defaultValues ?? [],
4916
4916
  options: n.queryOptionsByField[e.name],
4917
4917
  referencePicker: n.referencePickerOf?.(e)
4918
4918
  };
4919
4919
  }));
4920
- function te() {
4921
- x.value && !j.value && T({
4920
+ function ne() {
4921
+ ee.value && !A.value && T({
4922
4922
  ...s.value,
4923
- persistentValues: Object.fromEntries(C.value.map((e) => [e.id, [...e.values]]))
4923
+ persistentValues: Object.fromEntries(S.value.map((e) => [e.id, [...e.values]]))
4924
4924
  });
4925
4925
  }
4926
- function w() {
4926
+ function C() {
4927
4927
  c.value = {}, l.value = {}, u.value++, T({
4928
4928
  ...s.value,
4929
4929
  persistentValues: void 0
4930
4930
  });
4931
4931
  }
4932
- let ne = L(() => ({
4932
+ let w = I(() => ({
4933
4933
  ...n.query,
4934
4934
  criteria: zi([
4935
4935
  n.query?.criteria,
4936
- ...ee.value,
4936
+ ...te.value,
4937
4937
  d.value
4938
4938
  ]),
4939
4939
  sorts: f.value ?? n.query?.sorts ?? _.value?.defaultSorts.map((e) => ({
@@ -4943,14 +4943,14 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4943
4943
  quickSearchFields: _.value?.quickSearch.fields ?? n.query?.quickSearchFields
4944
4944
  }));
4945
4945
  function T(e) {
4946
- let t = JSON.stringify(ne.value), i = kr(zi([
4946
+ let t = JSON.stringify(w.value), i = wr(zi([
4947
4947
  n.query?.criteria,
4948
- ...S(e.persistentValues),
4948
+ ...x(e.persistentValues),
4949
4949
  e.criteria
4950
4950
  ]), r);
4951
- h.value = i ?? "", !i && (s.value = e, JSON.stringify(ne.value) === t && k.goPage(1));
4951
+ h.value = i ?? "", !i && (s.value = e, JSON.stringify(w.value) === t && O.goPage(1));
4952
4952
  }
4953
- let E = L(() => JSON.stringify({
4953
+ let E = I(() => JSON.stringify({
4954
4954
  composition: v.value,
4955
4955
  fields: _.value?.fields.map((e) => ({
4956
4956
  name: e.name,
@@ -4970,82 +4970,82 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
4970
4970
  },
4971
4971
  defaultSorts: _.value?.defaultSorts
4972
4972
  }));
4973
- Y([g, E], () => {
4973
+ J([g, E], () => {
4974
4974
  s.value = {}, c.value = {}, l.value = {}, u.value++, p.value = !1, m.value = !1, h.value = "";
4975
4975
  }, { flush: "sync" });
4976
4976
  function D() {
4977
4977
  m.value = !0, p.value = !p.value;
4978
4978
  }
4979
- function O(e) {
4979
+ function re(e) {
4980
4980
  h.value = "", d.value = e;
4981
4981
  }
4982
- let k = ia({
4982
+ let O = aa({
4983
4983
  view: () => n.view,
4984
- query: ne,
4984
+ query: w,
4985
4985
  pageSize: n.pageSize,
4986
4986
  contentLanguage: () => i.languageTag.value
4987
- }), { result: A, loading: j, error: re, selected: M, detail: ie, detailLoading: N, detailError: ae, pageNum: oe, pageSize: se } = k;
4988
- Y(E, () => {
4989
- k.search("");
4987
+ }), { result: k, loading: A, error: j, selected: M, detail: ie, detailLoading: ae, detailError: oe, pageNum: se, pageSize: ce } = O;
4988
+ J(E, () => {
4989
+ O.search("");
4990
4990
  }, { flush: "sync" });
4991
- let ce = K("");
4992
- Y(() => n.pageSize, (e) => void k.resizePage(e)), Y(k.quickSearch, (e) => {
4993
- ce.value = e;
4994
- }), Y(g, () => {
4995
- ce.value = "";
4991
+ let le = G("");
4992
+ J(() => n.pageSize, (e) => void O.resizePage(e)), J(O.quickSearch, (e) => {
4993
+ le.value = e;
4994
+ }), J(g, () => {
4995
+ le.value = "";
4996
4996
  }, { flush: "sync" });
4997
- let le = L(() => n.view.descriptor.page?.list), ue = L(() => Mr(le.value?.fields)), de = L(() => n.view.descriptor.page?.detail?.display ? vn(n.view.descriptor) : /* @__PURE__ */ new Map()), fe = L(() => !o.value), pe = L(() => le.value?.title?.text ?? le.value?.fields.title ?? n.view.viewCode), me = L(() => M.value ? n.view.detail?.title(M.value) ?? pe.value : pe.value), he = L(() => A.value?.pages ?? 0);
4998
- function ge(e) {
4999
- return on(Vr(e), r);
4997
+ let ue = I(() => n.view.descriptor.page?.list), de = I(() => kr(ue.value?.fields)), fe = I(() => n.view.descriptor.page?.detail?.display ? dt(n.view.descriptor) : /* @__PURE__ */ new Map()), pe = I(() => !o.value), me = I(() => ue.value?.title?.text ?? ue.value?.fields.title ?? n.view.viewCode), he = I(() => M.value ? n.view.detail?.title(M.value) ?? me.value : me.value), ge = I(() => k.value?.pages ?? 0);
4998
+ function _e(e) {
4999
+ return Pt(en(e), r);
5000
5000
  }
5001
5001
  return t({
5002
- refresh: k.refresh,
5003
- closeDetail: k.closeDetail
5004
- }), (t, i) => (G(), B("section", {
5002
+ refresh: O.refresh,
5003
+ closeDetail: O.closeDetail
5004
+ }), (t, i) => (W(), z("section", {
5005
5005
  ref_key: "host",
5006
5006
  ref: a,
5007
5007
  class: "readonly-record-workspace",
5008
- "aria-label": pe.value
5009
- }, [U(ii, {
5008
+ "aria-label": me.value
5009
+ }, [H(Ir, {
5010
5010
  "explorer-count": 0,
5011
- "detail-surface": !!J(M) && fe.value,
5012
- "list-surface": !J(M) || !fe.value
5011
+ "detail-surface": !!q(M) && pe.value,
5012
+ "list-surface": !q(M) || !pe.value
5013
5013
  }, {
5014
- default: X(() => [U(Vt, {
5015
- title: pe.value,
5016
- subtitle: le.value?.subtitle?.text,
5014
+ default: Y(() => [H(Hn, {
5015
+ title: me.value,
5016
+ subtitle: ue.value?.subtitle?.text,
5017
5017
  "title-action-icon": "reload",
5018
- "title-action-title": J(r).t("platform.read-view.refresh", "刷新"),
5019
- "title-action-disabled": J(j),
5018
+ "title-action-title": q(r).t("platform.read-view.refresh", "刷新"),
5019
+ "title-action-disabled": q(A),
5020
5020
  "quick-search-visible": e.quickSearch && (_.value?.quickSearch.enabled ?? !0),
5021
- "quick-search-value": ce.value,
5022
- "quick-search-placeholder": le.value?.searchPlaceholder,
5023
- "quick-search-disabled": J(j),
5024
- columns: ue.value,
5025
- rows: J(A)?.records ?? [],
5021
+ "quick-search-value": le.value,
5022
+ "quick-search-placeholder": ue.value?.searchPlaceholder,
5023
+ "quick-search-disabled": q(A),
5024
+ columns: de.value,
5025
+ rows: q(k)?.records ?? [],
5026
5026
  "row-key": (t) => e.view.recordKey(t),
5027
- "selected-row-key": J(M) ? e.view.recordKey(J(M)) : void 0,
5027
+ "selected-row-key": q(M) ? e.view.recordKey(q(M)) : void 0,
5028
5028
  "clickable-rows": !!e.view.detail,
5029
- "table-visible": !J(j) && !J(re) && !!J(A)?.records.length,
5029
+ "table-visible": !q(A) && !q(j) && !!q(k)?.records.length,
5030
5030
  pageable: "",
5031
- total: J(A)?.total ?? 0,
5032
- "total-known": J(A)?.totalKnown ?? !0,
5033
- "page-num": J(oe),
5034
- "page-size": J(se),
5035
- pages: he.value,
5036
- "pagination-disabled": J(j) || !J(A),
5037
- onTitleAction: J(k).refresh,
5038
- "onUpdate:quickSearchValue": i[5] ||= (e) => ce.value = e,
5039
- onQuickSearch: J(k).search,
5040
- onPageChange: J(k).goPage,
5041
- onPageSizeChange: J(k).resizePage,
5042
- onRowClick: i[6] ||= (e) => J(k).select(e)
5043
- }, la({
5044
- persistentQueries: X(() => [U(Ze, {
5045
- controls: C.value,
5031
+ total: q(k)?.total ?? 0,
5032
+ "total-known": q(k)?.totalKnown ?? !0,
5033
+ "page-num": q(se),
5034
+ "page-size": q(ce),
5035
+ pages: ge.value,
5036
+ "pagination-disabled": q(A) || !q(k),
5037
+ onTitleAction: q(O).refresh,
5038
+ "onUpdate:quickSearchValue": i[5] ||= (e) => le.value = e,
5039
+ onQuickSearch: q(O).search,
5040
+ onPageChange: q(O).goPage,
5041
+ onPageSizeChange: q(O).resizePage,
5042
+ onRowClick: i[6] ||= (e) => q(O).select(e)
5043
+ }, ua({
5044
+ persistentQueries: Y(() => [H(Qe, {
5045
+ controls: S.value,
5046
5046
  "reset-key": `${g.value}:${u.value}`,
5047
- disabled: J(j),
5048
- valid: x.value,
5047
+ disabled: q(A),
5048
+ valid: ee.value,
5049
5049
  "onUpdate:values": i[0] ||= (e, t) => c.value = {
5050
5050
  ...c.value,
5051
5051
  [e]: t
@@ -5054,23 +5054,23 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
5054
5054
  ...l.value,
5055
5055
  [e]: t
5056
5056
  },
5057
- onApply: te,
5058
- onReset: w
5057
+ onApply: ne,
5058
+ onReset: C
5059
5059
  }, null, 8, [
5060
5060
  "controls",
5061
5061
  "reset-key",
5062
5062
  "disabled",
5063
5063
  "valid"
5064
- ]), wa(t.$slots, "queries", {}, void 0, !0)]),
5065
- queryControls: X(() => [U(ei, {
5064
+ ]), Ta(t.$slots, "queries", {}, void 0, !0)]),
5065
+ queryControls: Y(() => [H(ti, {
5066
5066
  "sort-visible": !!_.value,
5067
5067
  "sort-fields": _.value?.fields.filter((e) => e.sortable) ?? [],
5068
5068
  sorts: f.value,
5069
5069
  "filter-visible": v.value !== "NONE" && y.value.some((e) => v.value !== "FLAT_AND" || !e.persistentControl),
5070
- "filter-title": v.value === "FLAT_AND" ? J(r).t("platform.screen.RecordQueryListPanel.more-filters", "更多筛选") : J(r).t("platform.screen.RecordQueryListPanel.advanced-filters", "高级筛选"),
5070
+ "filter-title": v.value === "FLAT_AND" ? q(r).t("platform.screen.RecordQueryListPanel.more-filters", "更多筛选") : q(r).t("platform.screen.RecordQueryListPanel.advanced-filters", "高级筛选"),
5071
5071
  expanded: p.value,
5072
- count: J(br)(d.value),
5073
- disabled: J(j),
5072
+ count: q(pr)(d.value),
5073
+ disabled: q(A),
5074
5074
  onSortChange: i[2] ||= (e) => f.value = e,
5075
5075
  onToggle: D
5076
5076
  }, null, 8, [
@@ -5083,24 +5083,24 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
5083
5083
  "count",
5084
5084
  "disabled"
5085
5085
  ])]),
5086
- operations: X(() => [wa(t.$slots, "operations", { refresh: J(k).refresh }, void 0, !0)]),
5087
- beforeTable: X(() => [h.value ? (G(), R(J(Ft), {
5086
+ operations: Y(() => [Ta(t.$slots, "operations", { refresh: q(O).refresh }, void 0, !0)]),
5087
+ beforeTable: Y(() => [h.value ? (W(), L(q(_n), {
5088
5088
  key: 0,
5089
5089
  message: h.value
5090
- }, null, 8, ["message"])) : z("v-if", !0), J(re) ? (G(), R(J(Ft), {
5090
+ }, null, 8, ["message"])) : R("v-if", !0), q(j) ? (W(), L(q(_n), {
5091
5091
  key: 1,
5092
- message: ge(J(re))
5093
- }, null, 8, ["message"])) : J(j) ? (G(), R(J(Jt), { key: 2 })) : J(A)?.records.length ? z("v-if", !0) : (G(), R(J(kn), {
5092
+ message: _e(q(j))
5093
+ }, null, 8, ["message"])) : q(A) ? (W(), L(q(ra), { key: 2 })) : q(k)?.records.length ? R("v-if", !0) : (W(), L(q(Ot), {
5094
5094
  key: 3,
5095
- description: J(r).t("platform.read-view.empty", "暂无符合条件的记录")
5095
+ description: q(r).t("platform.read-view.empty", "暂无符合条件的记录")
5096
5096
  }, null, 8, ["description"]))]),
5097
- cell: X(({ column: n, record: r }) => [wa(t.$slots, "cell", {
5098
- column: ue.value.find((e) => e.key === n.key),
5097
+ cell: Y(({ column: n, record: r }) => [Ta(t.$slots, "cell", {
5098
+ column: de.value.find((e) => e.key === n.key),
5099
5099
  record: r
5100
- }, () => [U(Ir, {
5101
- column: ue.value.find((e) => e.key === n.key),
5100
+ }, () => [H(Nr, {
5101
+ column: de.value.find((e) => e.key === n.key),
5102
5102
  record: r,
5103
- reading: J(A)?.businessContent?.readings[e.view.recordKey(r)]?.[n.key]
5103
+ reading: q(k)?.businessContent?.readings[e.view.recordKey(r)]?.[n.key]
5104
5104
  }, null, 8, [
5105
5105
  "column",
5106
5106
  "record",
@@ -5109,18 +5109,18 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
5109
5109
  _: 2
5110
5110
  }, [m.value ? {
5111
5111
  name: "conditions",
5112
- fn: X(() => [Oa(V("section", null, [(G(), R(wr, {
5112
+ fn: Y(() => [ka(B("section", null, [(W(), L(vr, {
5113
5113
  key: g.value,
5114
5114
  fields: y.value,
5115
- conjuncts: [...n.query?.criteria ? [n.query.criteria] : [], ...ee.value],
5115
+ conjuncts: [...n.query?.criteria ? [n.query.criteria] : [], ...te.value],
5116
5116
  "excluded-field-names": v.value === "FLAT_AND" ? b.value.map((e) => e.name) : [],
5117
5117
  "option-items-by-field": e.queryOptionsByField,
5118
5118
  "reference-contexts": {},
5119
5119
  "reference-picker-of": e.referencePickerOf,
5120
- disabled: J(j),
5120
+ disabled: q(A),
5121
5121
  composition: v.value === "FLAT_AND" ? "FLAT_AND" : "TREE",
5122
- onApply: O,
5123
- onClear: i[3] ||= (e) => O(void 0),
5122
+ onApply: re,
5123
+ onClear: i[3] ||= (e) => re(void 0),
5124
5124
  onValidation: i[4] ||= (e) => h.value = e
5125
5125
  }, null, 8, [
5126
5126
  "fields",
@@ -5130,7 +5130,7 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
5130
5130
  "reference-picker-of",
5131
5131
  "disabled",
5132
5132
  "composition"
5133
- ]))], 512), [[Da, p.value]])]),
5133
+ ]))], 512), [[Oa, p.value]])]),
5134
5134
  key: "0"
5135
5135
  } : void 0]), 1032, [
5136
5136
  "title",
@@ -5157,32 +5157,32 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
5157
5157
  "onQuickSearch",
5158
5158
  "onPageChange",
5159
5159
  "onPageSizeChange"
5160
- ]), U(ki, {
5161
- open: !!J(M),
5162
- docked: fe.value,
5163
- title: me.value,
5160
+ ]), H(ji, {
5161
+ open: !!q(M),
5162
+ docked: pe.value,
5163
+ title: he.value,
5164
5164
  dismissal: "dismissible",
5165
- onClose: J(k).closeDetail
5166
- }, la({
5167
- default: X(() => [J(ae) ? (G(), R(J(Ft), {
5165
+ onClose: q(O).closeDetail
5166
+ }, ua({
5167
+ default: Y(() => [q(oe) ? (W(), L(q(_n), {
5168
5168
  key: 0,
5169
- message: ge(J(ae))
5170
- }, null, 8, ["message"])) : J(N) ? (G(), R(J(Jt), { key: 1 })) : J(M) && J(ie) ? (G(), B(ca, { key: 2 }, [U(Cn, {
5171
- record: J(ie),
5172
- fields: de.value
5173
- }, null, 8, ["record", "fields"]), wa(t.$slots, "detail", {
5174
- record: J(M),
5175
- detail: J(ie),
5176
- refresh: J(k).refresh
5177
- }, void 0, !0)], 64)) : z("v-if", !0)]),
5169
+ message: _e(q(oe))
5170
+ }, null, 8, ["message"])) : q(ae) ? (W(), L(q(ra), { key: 1 })) : q(M) && q(ie) ? (W(), z(la, { key: 2 }, [H(Cn, {
5171
+ record: q(ie),
5172
+ fields: fe.value
5173
+ }, null, 8, ["record", "fields"]), Ta(t.$slots, "detail", {
5174
+ record: q(M),
5175
+ detail: q(ie),
5176
+ refresh: q(O).refresh
5177
+ }, void 0, !0)], 64)) : R("v-if", !0)]),
5178
5178
  _: 2
5179
- }, [J(M) && J(ie) && !J(N) && !J(ae) ? {
5179
+ }, [q(M) && q(ie) && !q(ae) && !q(oe) ? {
5180
5180
  name: "operation",
5181
- fn: X(() => [wa(t.$slots, "detailOperations", {
5182
- record: J(M),
5183
- detail: J(ie),
5184
- refresh: J(k).refresh,
5185
- close: J(k).closeDetail
5181
+ fn: Y(() => [Ta(t.$slots, "detailOperations", {
5182
+ record: q(M),
5183
+ detail: q(ie),
5184
+ refresh: q(O).refresh,
5185
+ close: q(O).closeDetail
5186
5186
  }, void 0, !0)]),
5187
5187
  key: "0"
5188
5188
  } : void 0]), 1032, [
@@ -5198,7 +5198,7 @@ var ju = ["aria-label"], Mu = /*#__PURE__*/ Hi(/* @__PURE__ */ W({
5198
5198
  //#endregion
5199
5199
  //#region src/app/useExternalLoginHost.ts
5200
5200
  function Nu(e) {
5201
- let t = I(), n = K(), r = K(!1), i, a = K(), o = K(!1);
5201
+ let t = N(), n = G(), r = G(!1), i, a = G(), o = G(!1);
5202
5202
  async function s() {
5203
5203
  let r = a.value;
5204
5204
  if (r && !o.value) {
@@ -5210,7 +5210,7 @@ function Nu(e) {
5210
5210
  });
5211
5211
  i.status === "succeeded" ? (a.value = void 0, i.login ? await e.onAuthenticated(i.login) : n.value = () => t.t("platform.external-login.created-sign-in-again", "账号已创建,请重新扫码登录")) : n.value = () => nl(i, t);
5212
5212
  } catch (e) {
5213
- n.value = () => on(Vr(e), t);
5213
+ n.value = () => Pt(en(e), t);
5214
5214
  } finally {
5215
5215
  o.value = !1;
5216
5216
  }
@@ -5236,23 +5236,23 @@ function Nu(e) {
5236
5236
  return c.status === "confirmationRequired" && c.confirmation && s.purpose === "login" ? (a.value = {
5237
5237
  pending: s,
5238
5238
  confirmation: c.confirmation
5239
- }, !0) : c.status === "succeeded" && c.login ? (await e.onAuthenticated(c.login), !0) : c.status === "succeeded" ? (ft(t.t("platform.external-login.bound", "已绑定 {provider}", { provider: c.binding?.providerTitle ?? "" })), !1) : (n.value = () => nl(c, t), s.purpose === "login" && !e.signedIn() || (xn(n.value()), !1));
5239
+ }, !0) : c.status === "succeeded" && c.login ? (await e.onAuthenticated(c.login), !0) : c.status === "succeeded" ? (En(t.t("platform.external-login.bound", "已绑定 {provider}", { provider: c.binding?.providerTitle ?? "" })), !1) : (n.value = () => nl(c, t), s.purpose === "login" && !e.signedIn() || (Wi(n.value()), !1));
5240
5240
  } catch (r) {
5241
- return n.value = () => on(Vr(r), t), !e.signedIn() || (xn(n.value()), !1);
5241
+ return n.value = () => Pt(en(r), t), !e.signedIn() || (Wi(n.value()), !1);
5242
5242
  } finally {
5243
5243
  r.value = !1;
5244
5244
  }
5245
5245
  }
5246
5246
  return {
5247
5247
  client: e.client,
5248
- confirmation: L(() => a.value?.confirmation),
5249
- confirming: L(() => o.value),
5248
+ confirmation: I(() => a.value?.confirmation),
5249
+ confirming: I(() => o.value),
5250
5250
  confirmProvisioning: s,
5251
5251
  cancelProvisioning() {
5252
5252
  o.value || (a.value = void 0, n.value = void 0);
5253
5253
  },
5254
- error: L(() => n.value?.()),
5255
- completing: L(() => r.value),
5254
+ error: I(() => n.value?.()),
5255
+ completing: I(() => r.value),
5256
5256
  completeReturn() {
5257
5257
  return i ||= c().finally(() => {
5258
5258
  i = void 0;
@@ -5261,4 +5261,4 @@ function Nu(e) {
5261
5261
  };
5262
5262
  }
5263
5263
  //#endregion
5264
- export { nn as AppError, ou as AppWorkbenchShell, ni as AssistantCapabilityUsageError, Jn as AssistantConversationInterruptedError, bi as AssistantEffectInterruptedError, Xr as AssistantOperationRejectedError, Xr as OperationRejectedError, xt as BusinessNotificationPanel, Xc as ChangeOwnPasswordDialog, ea as CronExpressionInput, Vl as CurrentUserProfileDialog, _t as DateTimeText, Zn as DraftUpdateRejectedError, $n as DrawerOperationBar, Fr as DurationSecondsInput, he as DynamicModuleWorkspaceDetailView, xl as ExternalIdentityBindings, lu as ExternalProvisioningConfirmation, Qr as FileSizeText, _r as FileTransferUploadCancelledError, Ii as FileTransferUploader, Re as LanguageSelector, ku as LoginView, Mi as ManagementExplorerColumn, ii as ManagementWorkspace, vi as ModuleContextProvider, Bt as ModuleHttpProvider, ae as ModuleReferenceRecordDetailBrowser, Bi as OperationUsageError, Kl as PersonalAccessTokenDialog, qc as PlatformAdminOutlet, qs as PlatformAdminRouteOutlet, Mu as ReadonlyRecordWorkspace, mt as ReadonlyReferenceValue, Rn as RecordDetailDrawer, $i as RecordDetailExtensionSection, Cn as RecordDetailFields, hi as RecordDetailPanel, ar as RecordExplorerPanel, Ir as RecordQueryListCell, Vt as RecordQueryListSurface, si as ReferencePicker, Ci as ReferencePickerReadError, ur as ReferenceRecordDetailBrowser, Ei as SingleImageFileReferenceField, Lr as StaleAssistantInvocationError, yi as TenantScopeExplorer, Zl as ThemeSkinPreferencesDialog, P as UiButton, jt as UiDataTable, Ri as UiDatePicker, Wt as UiDropdown, kn as UiEmpty, Ft as UiError, er as UiIcon, F as UiInput, mr as UiInputGroup, rt as UiLanguageProvider, Oi as UiSearchInput, Or as UiSelect, ct as UiSidePanel, zt as UiSwitch, Br as UiTextArea, Gn as UiThemeProvider, In as UiTree, oi as UiTreeSelect, Cs as VueQueryPlugin, a as Workbench, ru as WorkbenchAccountCenter, ge as WorkbenchAssistantPanel, D as WorkbenchMenu, ie as WorkbenchOutlet, se as WorkspaceViewOutlet, Ki as actionResultData, cc as activeTabUrlOf, gc as arrangeLockedMenuTabs, dn as boundedAssistantConversationHistory, E as buildWorkbenchMegaMenuModel, Gi as businessContentGenerationBatch, Ct as businessContentLabel, gi as businessContentLanguageContext, Lt as businessContentLanguages, En as businessContentPath, Un as businessContentReadHeaders, _i as businessNotificationExpired, jr as canQueryRecycleBin, A as canonicalDynamicModulePath, St as changeBusinessContentTranslation, y as clearAuthToken, Xi as codeOperationErrorMessage, Ys as configureAuthenticationRecovery, Kn as configureModuleContext, Ke as configureModulePageEnhancementContributions, w as configureModulePageEnhancements, Au as configureUserPreferencePersistence, Ve as configureWorkspaceViewContributions, cn as confirmAction, De as confirmDiscardWorkspaceViewState, xe as connectAppRealtime, bn as connectRealtimeBusinessEvents, dt as connectRealtimeBusinessNotifications, Wi as connectRealtimeDataChanges, Tn as connectRealtimeUserNotifications, b as constructionPlanLimits, bt as contextDataChangeChannel, tr as createAssistantCapabilitySelection, Ds as createAssistantConversationClient, $e as createAssistantDisplayObservations, Tr as createAssistantOperationConfirmation, ci as createAssistantSurfaceRegistry, Wn as createAssistantTurnRequester, ne as createAuthClient, Zs as createBackendHttpClient, Dr as createBrowserFileTransferUpload, Os as createBusinessNotificationSession, Nt as createCodeTextPresentation, Es as createConstructionPlanClient, i as createDataChangeDispatcher, Mt as createDataExchangeClient, s as createExternalLoginClient, ir as createHttpClient, zn as createLanguageContext, ln as createLanguagePreferenceController, Ge as createLoginContextClient, xi as createManagedDetailRelationClient, T as createMenuClient, k as createMenuTab, Hn as createModuleContext, Rr as createModuleCrudClient, o as createModulePageEnhancementRegistry, nr as createModuleTreeClient, Xn as createModuleTreeContext, li as createNavigatorReferenceCrudClient, Ti as createNavigatorReferenceTreeClient, Nr as createOperationConfirmation, l as createPageBootstrapClient, c as createPersonalAccessTokenClient, ws as createQueryClient, gt as createRealtimeClient, qi as createReferenceResolveClient, S as createSessionClient, ht as createSseParser, fr as createStaticModuleCrudClient, Jr as createStaticModuleTreeClient, Fi as createStaticResourceCrudClient, gr as createStaticResourceTreeClient, Nn as createUuid, O as createWorkbenchMenuNodes, Yt as createWorkflowAdminClient, _n as createWorkflowClient, ra as createWorkflowDefinitionClient, ue as createWorkspaceViewDescriptor, pe as createWorkspaceViewRegistry, rn as dataChangeChannel, Vn as defaultUiThemeSkinId, oa as defineWorkspaceView, r as disconnectAppRealtime, Me as dismissWorkspaceViewDescriptor, ri as displayModuleRuntime, j as dynamicModuleAliasFromPath, ee as effectiveAuthToken, wi as emptyAssistantCapabilityInputSchema, d as filterWorkbenchMenuNodes, C as findFirstNavigationMenu, h as findWorkbenchMenuNodeById, Ne as findWorkbenchMenuPath, m as firstDeepRootIdOf, n as getMenuNavigationTarget, Yr as hasExecutableDetailRelationMutationContract, Li as hasExecutableDetailRelationQueryContract, Qn as hasRecycleBinAbility, Pe as hasWorkspaceViewDiscardProtection, Gr as imConversationMessageChannel, nt as imMessageSendCommand, Rt as invokeBusinessNotificationRecordAction, ui as isHttpStreamClient, zs as isPlatformAdminRoutePage, de as isTabMenuTarget, Kt as isTextReference, Wr as isUnexpectedPlatformError, ze as isWindowMenuTarget, rr as listDetailWorkspaceMinWidth, vt as loadBusinessContentGeneration, an as loadBusinessContentHistory, Kr as loadBusinessContentReading, it as loadBusinessContentSources, Ur as loadBusinessContentTranslationHistory, qn as loadLanguageCatalog, Ye as lookupOperationReceipt, tt as modelFailureMessage, Vi as moduleAbilityCodes, Hr as moduleDataChangeChannel, We as modulePageWorkspaceViews, be as normalizeChangeSet, Vr as normalizeError, Se as normalizeMenuMineResponse, Er as normalizeModuleListResponse, fi as normalizeModulePageResponse, Zr as normalizeModuleRecord, Pr as normalizeModuleTreeResponse, Zt as organizationPublicDataChangeChannel, en as organizationPublicNotificationChannel, mn as originalPresentation, An as pageActionEntryDescription, Ln as pageActionEntryTitle, Ot as pageActionEntryVisible, Gt as pageActionIntent, v as pageAssistantCatalog, Oe as pageDescriptorFromUrl, Fe as pageDescriptorToUrl, ve as pageInstanceKeyOf, oe as pagePublicationDigest, dr as parseEmptyAssistantCapabilityInput, qe as parseOperationReceiptReference, Is as platformAdminModuleRoutes, Ls as platformAdminRouteLayouts, Fs as platformAdminRoutePrefixes, Ps as platformAdminRoutes, un as platformCodeTextOriginal, Qe as platformCodeTextReference, Xt as platformErrorCodes, Cr as platformLanguageContext, sn as platformPingCommand, Qt as prepareBusinessContentTranslation, cr as presentPlatformError, Ji as presentPlatformInfo, xn as presentPlatformMessage, ft as presentPlatformSuccess, f as presentWorkbenchRealtimeStatus, ta as presentationLabel, qr as provideAssistantSurfaceHost, He as provideCurrentUserContext, Ni as provideLanguageContext, pn as provideModuleContextConfig, lr as provideRecordReadRefreshGuard, fe as provideWorkbenchNavigation, Tt as provideWorkspaceUnsavedStateRegistrar, Be as provideWorkspaceViewHost, Ts as queryKeys, Bn as readAssistantAvailability, wt as realtimeDestinations, Pt as realtimeMessageTypes, ot as recordBusinessContentArray, jn as recordBusinessContentText, qt as recordDataChangeChannel, kt as recordPresentationLabel, Dn as recordPresentationText, re as refreshModulePageList, lt as refreshWorkflowRecordActions, yr as registerUiLanguageLocales, Cc as removeLockedMenuTabs, tn as requestBusinessContentGeneration, $t as resolveGlobalErrorPresentation, or as resolveOperationErrorMessage, N as resolvePageDescriptor, Rs as resolvePlatformAdminRoute, Pn as resolvePresentationText, vn as resolveRecordDetailFields, Mr as resolveRecordQueryListColumns, aa as resolveRecordReadEntry, yn as resolveWebActionResult, ut as resolveWebActionResultMessage, Ee as resolveWorkspaceView, hn as resourceDataChangeChannel, na as resourceRecordDataChangeChannel, di as restoreAssistantOperationReceipt, Wc as restoreLockedTabPreference, vc as restoreLockedWorkbenchTabs, Ar as restoreOperationConfirmation, tu as restoreThemeSkinPreference, lc as restoreWorkbenchStartupStateFromUrl, je as routeUrlWithOpenOptions, xr as runAssistantConversation, Ai as runAssistantStep, Pi as sameAssistantInvocationToken, u as saveAuthSessionId, p as saveAuthToken, Gc as saveLockedTabPreference, nu as saveThemeSkinPreference, st as sessionActivityCommand, g as storedAuthSessionId, te as storedAuthToken, ye as subscribeAppBusinessEvents, _ as subscribeAppDataChanges, ke as syncModulePageWorkspaceViewContributions, Ae as tabIdentityKeyOf, Le as tabKeyOf, Mn as tenantPublicDataChangeChannel, At as tenantPublicNotificationChannel, ai as textReferenceMatchesOriginal, eu as themeSkinPreferenceKey, Et as translatedPresentation, ce as tryPageDescriptorFromUrl, Yn as uiThemeSkinById, fn as uiThemeSkins, pi as unwrapResponsePayload, xc as updateLockedMenuTabs, pr as uploadedFileId, hr as useAssistantSurfaceHost, pt as useBusinessContentGenerationBatch, Qi as useBusinessContentReading, Je as useCurrentUserContext, Xe as useEffectiveAuthToken, Nu as useExternalLoginHost, I as useLanguageContext, et as useModuleContext, Sr as useModuleHttpClient, ji as useModuleTreeContext, Ks as usePageDescriptor, Gs as usePageRoute, $l as usePersonalAccessTokenAccess, Yi as useRecordReadRefreshGuard, Sn as useRecordReadRefreshRevision, ia as useRecordReadSession, Te as useWorkbenchNavigation, ti as useWorkspaceDetailSurface, le as useWorkspaceViewHost, _e as useWorkspaceViewNavigation, It as useWorkspaceViewUnsavedState, On as userBusinessEventChannel, Fn as userBusinessNotificationChannel, on as userFacingErrorMessage, Dt as userImMessageChannel, Ut as userNotificationChannel, sr as userPreferences, at as validateCronExpression, Ui as webDataChangeKey, vr as webDataChangeTypes, wn as webDataChanges, Di as withHttpHeaders, zr as withLanguageContext, we as withPageInstanceKey, yt as withWebActionResultChanges, Ht as withoutRecordPresentation, Ue as workbenchAccountCommands };
5264
+ export { rt as AppError, ou as AppWorkbenchShell, Pr as AssistantCapabilityUsageError, et as AssistantConversationInterruptedError, $n as AssistantEffectInterruptedError, Tr as AssistantOperationRejectedError, Tr as OperationRejectedError, on as BusinessNotificationPanel, Xc as ChangeOwnPasswordDialog, ea as CronExpressionInput, Vl as CurrentUserProfileDialog, Wr as DateTimeText, Yi as DraftUpdateRejectedError, Zi as DrawerOperationBar, Qn as DurationSecondsInput, ge as DynamicModuleWorkspaceDetailView, xl as ExternalIdentityBindings, lu as ExternalProvisioningConfirmation, Dr as FileSizeText, pi as FileTransferUploadCancelledError, xr as FileTransferUploader, ze as LanguageSelector, ku as LoginView, wi as ManagementExplorerColumn, Ir as ManagementWorkspace, Gn as ModuleContextProvider, Vn as ModuleHttpProvider, qe as ModuleReferenceRecordDetailBrowser, rr as OperationUsageError, Kl as PersonalAccessTokenDialog, qc as PlatformAdminOutlet, qs as PlatformAdminRouteOutlet, Mu as ReadonlyRecordWorkspace, gt as ReadonlyReferenceValue, Kt as RecordDetailDrawer, $i as RecordDetailExtensionSection, Cn as RecordDetailFields, _i as RecordDetailPanel, nr as RecordExplorerPanel, Nr as RecordQueryListCell, Hn as RecordQueryListSurface, oi as ReferencePicker, Ei as ReferencePickerReadError, or as ReferenceRecordDetailBrowser, Jr as SingleImageFileReferenceField, si as StaleAssistantInvocationError, xi as TenantScopeExplorer, Zl as ThemeSkinPreferencesDialog, F as UiButton, In as UiDataTable, Cr as UiDatePicker, Bt as UiDropdown, Ot as UiEmpty, _n as UiError, Qi as UiIcon, P as UiInput, Ri as UiInputGroup, Qt as UiLanguageProvider, Xr as UiSearchInput, ei as UiSelect, Mt as UiSidePanel, Bn as UiSwitch, ui as UiTextArea, Jn as UiThemeProvider, Wt as UiTree, Rr as UiTreeSelect, Cs as VueQueryPlugin, re as Workbench, ru as WorkbenchAccountCenter, he as WorkbenchAssistantPanel, f as WorkbenchMenu, ae as WorkbenchOutlet, ce as WorkspaceViewOutlet, ft as actionResultData, cc as activeTabUrlOf, gc as arrangeLockedMenuTabs, mr as boundedAssistantConversationHistory, O as buildWorkbenchMegaMenuModel, St as businessContentGenerationBatch, qt as businessContentLabel, Un as businessContentLanguageContext, Rn as businessContentLanguages, yt as businessContentPath, Kn as businessContentReadHeaders, Wn as businessNotificationExpired, Vi as canQueryRecycleBin, k as canonicalDynamicModulePath, sn as changeBusinessContentTranslation, x as clearAuthToken, Ki as codeOperationErrorMessage, Ys as configureAuthenticationRecovery, Yn as configureModuleContext, C as configureModulePageEnhancementContributions, o as configureModulePageEnhancements, Au as configureUserPreferencePersistence, de as configureWorkspaceViewContributions, It as confirmAction, Oe as confirmDiscardWorkspaceViewState, r as connectAppRealtime, Ui as connectRealtimeBusinessEvents, Tn as connectRealtimeBusinessNotifications, xt as connectRealtimeDataChanges, vt as connectRealtimeUserNotifications, te as constructionPlanLimits, an as contextDataChangeChannel, Di as createAssistantCapabilitySelection, Ds as createAssistantConversationClient, Mi as createAssistantDisplayObservations, Zr as createAssistantOperationConfirmation, sr as createAssistantSurfaceRegistry, qn as createAssistantTurnRequester, s as createAuthClient, Zs as createBackendHttpClient, $r as createBrowserFileTransferUpload, Os as createBusinessNotificationSession, hn as createCodeTextPresentation, Es as createConstructionPlanClient, xe as createDataChangeDispatcher, Ln as createDataExchangeClient, Ke as createExternalLoginClient, Ai as createHttpClient, dn as createLanguageContext, Lt as createLanguagePreferenceController, E as createLoginContextClient, er as createManagedDetailRelationClient, l as createMenuClient, j as createMenuTab, mn as createModuleContext, ci as createModuleCrudClient, Ge as createModulePageEnhancementRegistry, Oi as createModuleTreeClient, nt as createModuleTreeContext, cr as createNavigatorReferenceCrudClient, qr as createNavigatorReferenceTreeClient, Xn as createOperationConfirmation, c as createPageBootstrapClient, ee as createPersonalAccessTokenClient, ws as createQueryClient, Ur as createRealtimeClient, pt as createReferenceResolveClient, Ce as createSessionClient, Hr as createSseParser, Ii as createStaticModuleCrudClient, dr as createStaticModuleTreeClient, br as createStaticResourceCrudClient, fi as createStaticResourceTreeClient, An as createUuid, d as createWorkbenchMenuNodes, ia as createWorkflowAdminClient, ut as createWorkflowClient, Nn as createWorkflowDefinitionClient, me as createWorkspaceViewDescriptor, Ne as createWorkspaceViewRegistry, it as dataChangeChannel, pn as defaultUiThemeSkinId, sa as defineWorkspaceView, be as disconnectAppRealtime, De as dismissWorkspaceViewDescriptor, Fr as displayModuleRuntime, S as dynamicModuleAliasFromPath, u as effectiveAuthToken, Kr as emptyAssistantCapabilityInputSchema, h as filterWorkbenchMenuNodes, n as findFirstNavigationMenu, Pe as findWorkbenchMenuNodeById, m as findWorkbenchMenuPath, A as firstDeepRootIdOf, fe as getMenuNavigationTarget, fr as hasExecutableDetailRelationMutationContract, Sr as hasExecutableDetailRelationQueryContract, Xi as hasRecycleBinAbility, Fe as hasWorkspaceViewDiscardProtection, Br as imConversationMessageChannel, Zt as imMessageSendCommand, zn as invokeBusinessNotificationRecordAction, lr as isHttpStreamClient, zs as isPlatformAdminRoutePage, Be as isTabMenuTarget, ta as isTextReference, zr as isUnexpectedPlatformError, ke as isWindowMenuTarget, ki as listDetailWorkspaceMinWidth, Gr as loadBusinessContentGeneration, at as loadBusinessContentHistory, Vr as loadBusinessContentReading, $t as loadBusinessContentSources, nn as loadBusinessContentTranslationHistory, $e as loadLanguageCatalog, se as lookupOperationReceipt, Xt as modelFailureMessage, ir as moduleAbilityCodes, tn as moduleDataChangeChannel, T as modulePageWorkspaceViews, v as normalizeChangeSet, en as normalizeError, i as normalizeMenuMineResponse, Qr as normalizeModuleListResponse, jr as normalizeModulePageResponse, Er as normalizeModuleRecord, Zn as normalizeModuleTreeResponse, ln as organizationPublicDataChangeChannel, wt as organizationPublicNotificationChannel, st as originalPresentation, kt as pageActionEntryDescription, Gt as pageActionEntryTitle, bi as pageActionEntryVisible, Vt as pageActionIntent, b as pageAssistantCatalog, Ie as pageDescriptorFromUrl, ye as pageDescriptorToUrl, oe as pageInstanceKeyOf, Je as pagePublicationDigest, Fi as parseEmptyAssistantCapabilityInput, w as parseOperationReceiptReference, Is as platformAdminModuleRoutes, Ls as platformAdminRouteLayouts, Fs as platformAdminRoutePrefixes, Ps as platformAdminRoutes, gr as platformCodeTextOriginal, Pi as platformCodeTextReference, cn as platformErrorCodes, ai as platformLanguageContext, Ft as platformPingCommand, un as prepareBusinessContentTranslation, xn as presentPlatformError, mt as presentPlatformInfo, Wi as presentPlatformMessage, En as presentPlatformSuccess, D as presentWorkbenchRealtimeStatus, jn as presentationLabel, ur as provideAssistantSurfaceHost, Ue as provideCurrentUserContext, Ti as provideLanguageContext, hr as provideModuleContextConfig, Sn as provideRecordReadRefreshGuard, pe as provideWorkbenchNavigation, Yt as provideWorkspaceUnsavedStateRegistrar, Ve as provideWorkspaceViewHost, Ts as queryKeys, fn as readAssistantAvailability, Jt as realtimeDestinations, gn as realtimeMessageTypes, At as recordBusinessContentArray, On as recordBusinessContentText, na as recordDataChangeChannel, Pn as recordPresentationLabel, Et as recordPresentationText, M as refreshModulePageList, Nt as refreshWorkflowRecordActions, hi as registerUiLanguageLocales, Cc as removeLockedMenuTabs, Tt as requestBusinessContentGeneration, Ct as resolveGlobalErrorPresentation, yn as resolveOperationErrorMessage, je as resolvePageDescriptor, Rs as resolvePlatformAdminRoute, Ht as resolvePresentationText, dt as resolveRecordDetailFields, kr as resolveRecordQueryListColumns, oa as resolveRecordReadEntry, Hi as resolveWebActionResult, wn as resolveWebActionResultMessage, _e as resolveWorkspaceView, ct as resourceDataChangeChannel, Mn as resourceRecordDataChangeChannel, Ar as restoreAssistantOperationReceipt, Wc as restoreLockedTabPreference, vc as restoreLockedWorkbenchTabs, Bi as restoreOperationConfirmation, tu as restoreThemeSkinPreference, lc as restoreWorkbenchStartupStateFromUrl, Me as routeUrlWithOpenOptions, ri as runAssistantConversation, Si as runAssistantStep, yr as sameAssistantInvocationToken, p as saveAuthSessionId, g as saveAuthToken, Gc as saveLockedTabPreference, nu as saveThemeSkinPreference, jt as sessionActivityCommand, ne as storedAuthSessionId, Ze as storedAuthToken, _ as subscribeAppBusinessEvents, y as subscribeAppDataChanges, Ae as syncModulePageWorkspaceViewContributions, Re as tabIdentityKeyOf, le as tabKeyOf, kn as tenantPublicDataChangeChannel, Fn as tenantPublicNotificationChannel, Lr as textReferenceMatchesOriginal, eu as themeSkinPreferenceKey, vi as translatedPresentation, Te as tryPageDescriptorFromUrl, tt as uiThemeSkinById, _r as uiThemeSkins, Mr as unwrapResponsePayload, xc as updateLockedMenuTabs, Li as uploadedFileId, di as useAssistantSurfaceHost, Dn as useBusinessContentGenerationBatch, Ji as useBusinessContentReading, Ye as useCurrentUserContext, a as useEffectiveAuthToken, Nu as useExternalLoginHost, N as useLanguageContext, Ni as useModuleContext, ii as useModuleHttpClient, Ci as useModuleTreeContext, Ks as usePageDescriptor, Gs as usePageRoute, $l as usePersonalAccessTokenAccess, ht as useRecordReadRefreshGuard, Gi as useRecordReadRefreshRevision, aa as useRecordReadSession, Ee as useWorkbenchNavigation, ni as useWorkspaceDetailSurface, ue as useWorkspaceViewHost, ve as useWorkspaceViewNavigation, vn as useWorkspaceViewUnsavedState, Dt as userBusinessEventChannel, Ut as userBusinessNotificationChannel, Pt as userFacingErrorMessage, yi as userImMessageChannel, zt as userNotificationChannel, bn as userPreferences, ot as validateCronExpression, bt as webDataChangeKey, mi as webDataChangeTypes, _t as webDataChanges, Yr as withHttpHeaders, li as withLanguageContext, He as withPageInstanceKey, rn as withWebActionResultChanges, Rt as withoutRecordPresentation, Xe as workbenchAccountCommands };