@ximatai/muyun-web-app 0.26.22 → 0.26.24

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 (59) hide show
  1. package/dist/{BusinessActivityLogView-CXBpVbZW.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-DToyqP9V.js → BusinessLogListDrawer-BnucgqNA.js} +116 -116
  3. package/dist/{CodeConfigurationView-DAdbnF2Y.js → CodeConfigurationView-CtQjmpLz.js} +527 -527
  4. package/dist/{ConfigurationTranslationView-D1aLZQlx.js → ConfigurationTranslationView-BiYn2MJx.js} +26 -26
  5. package/dist/{LoginAuditLogView-DRxp6BbU.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
  6. package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
  7. package/dist/{ModuleGovernanceView-C7V5KQcA.js → ModuleGovernanceView-DEDF61vj.js} +3061 -3061
  8. package/dist/{RequestErrorLogView-S6O4ha82.js → RequestErrorLogView-HatmiK8_.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-BzzoarpR.js +1435 -0
  10. package/dist/{RuntimeLogView-BuF-xgEc.js → RuntimeLogView-Vdt6SWK6.js} +65 -65
  11. package/dist/{WorkflowAdministrationView-DkK3Wybi.js → WorkflowAdministrationView-Dlw2ng0N.js} +193 -193
  12. package/dist/{WorkflowConfigurationView-8DFNdIyI.js → WorkflowConfigurationView-j2xnGmkM.js} +39 -39
  13. package/dist/{WorkflowWorkbenchView-CAloU49z.js → WorkflowWorkbenchView-Nv4mvTTP.js} +122 -122
  14. package/dist/{codeConfiguration-BV9yki1E.js → codeConfiguration-B_z1qQvB.js} +43 -43
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +1344 -818
  17. package/dist/moduleMenuWorkspace-1N0U7QW9.js +626 -0
  18. package/dist/{platform-components-C9cG_1E2.js → platform-components-Xb5qgsXU.js} +3088 -2999
  19. package/dist/{platform-workbench-BSTroBaq.js → platform-workbench-VhgKhPLI.js} +5106 -5031
  20. package/dist/record-read.js +2 -0
  21. package/dist/recordReadEntry-CxDHM44F.js +152 -0
  22. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +6 -0
  23. package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
  24. package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
  25. package/dist/types/app/LoginView.vue.d.ts +3 -1
  26. package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
  27. package/dist/types/app/externalLoginReturn.d.ts +38 -0
  28. package/dist/types/app/useExternalLoginHost.d.ts +27 -0
  29. package/dist/types/app/weLinkQrCode.d.ts +22 -0
  30. package/dist/types/consumer/index.d.ts +7 -2
  31. package/dist/types/consumer/recordRead.d.ts +6 -0
  32. package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
  33. package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
  34. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
  35. package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
  36. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
  37. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
  38. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
  39. package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
  40. package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
  41. package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
  42. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
  43. package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
  44. package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
  45. package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
  46. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  47. package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
  48. package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
  49. package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
  50. package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
  51. package/dist/types/views/businessRuleGovernance.d.ts +1 -0
  52. package/dist/types/web-contracts/index.d.ts +71 -2
  53. package/dist/types/web-core/clients.d.ts +11 -1
  54. package/dist/{useWorkflowConfigurationContext-ClwD0BWE.js → useWorkflowConfigurationContext-BLFXzHwn.js} +8 -8
  55. package/dist/{workspaceViews-Cvi7uakV.js → workspaceViews-Cas3PR5B.js} +1035 -879
  56. package/package.json +5 -1
  57. package/dist/ModuleActionManagementView-D4oXCnW2.js +0 -755
  58. package/dist/RoleDetailWorkspaceView-lg4XwTlN.js +0 -1435
  59. package/dist/moduleMenuWorkspace-BBOQrHeT.js +0 -626
@@ -1,5 +1,5 @@
1
- import { Xa as e } from "./platform-components-C9cG_1E2.js";
2
- import { t } from "./BusinessLogListDrawer-DToyqP9V.js";
1
+ import { Za as e } from "./platform-components-Xb5qgsXU.js";
2
+ import { t } from "./BusinessLogListDrawer-BnucgqNA.js";
3
3
  import { createBlock as n, defineComponent as r, openBlock as i, unref as a } from "vue";
4
4
  //#endregion
5
5
  //#region src/views/BusinessActivityLogView.vue
@@ -1,4 +1,4 @@
1
- import { A as e, An as t, Cn as n, Da as r, Ht as i, Ka as a, Mn as o, Nn as s, On as c, Wn as l, Xa as ee, Ya as u, _n as d, da as f, fa as te, fr as p, j as m, kn as h, lr as g, pa as ne, q as _, qr as re, rr as v, wa as ie, zn as ae } from "./platform-components-C9cG_1E2.js";
1
+ import { A as e, An as t, Cn as n, Ht as r, Jr as i, Mn as a, Nn as o, Oa as s, On as c, Ta as ee, Wn as l, Xa as u, Za as te, _n as d, fa as f, ir as p, j as m, kn as ne, ma as re, pa as ie, pr as h, q as g, qa as _, ur as v, zn as ae } from "./platform-components-Xb5qgsXU.js";
2
2
  import { Fragment as y, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createTextVNode as T, createVNode as E, defineComponent as D, normalizeClass as O, openBlock as k, ref as A, renderList as j, shallowRef as M, toDisplayString as N, unref as P, withCtx as F } from "vue";
3
3
  //#region src/views/businessLogClient.ts
4
4
  var I = {
@@ -135,7 +135,7 @@ function U(e) {
135
135
  return {
136
136
  key: J(t.pageKey) ?? "unknown-page",
137
137
  title: J(t.pageKey) ?? "未知页面",
138
- ...J(t.pageKey) ? {} : { titleSource: a("platform.log.statistic.unknown-page") },
138
+ ...J(t.pageKey) ? {} : { titleSource: _("platform.log.statistic.unknown-page") },
139
139
  count: Y(t.accessCount)
140
140
  };
141
141
  }),
@@ -153,7 +153,7 @@ function U(e) {
153
153
  ].map(([e, n]) => ({
154
154
  key: e,
155
155
  title: n,
156
- titleSource: a(`platform.log.statistic.${e}`),
156
+ titleSource: _(`platform.log.statistic.${e}`),
157
157
  count: Y(t[e])
158
158
  })),
159
159
  complete: X(t.complete)
@@ -233,25 +233,25 @@ var ue = {
233
233
  }, de = { key: 0 }, fe = { class: "business-log-retention-control__automatic-cleanup" }, pe = { class: "business-log-retention-control__content" }, me = { class: "business-log-retention-control__retention-days" }, he = { class: "business-log-retention-control__retention-row" }, ge = {
234
234
  key: 0,
235
235
  class: "business-log-retention-control__validation"
236
- }, Z = /*#__PURE__*/ p(/* @__PURE__ */ D({
236
+ }, Z = /*#__PURE__*/ h(/* @__PURE__ */ D({
237
237
  name: "BusinessLogRetentionControl",
238
238
  __name: "BusinessLogRetentionControl",
239
239
  props: { eventTypes: {} },
240
240
  setup(e) {
241
- let n = ee(), a = e, u = re({
241
+ let n = te(), u = e, m = i({
242
242
  moduleAlias: "platform.business_log_retention",
243
243
  runtimeAccess: "VIEW"
244
- }), p = le(u.http), m = A(!1), _ = A([]), D = A({}), O = A(!1), I = M(), oe = b(() => I.value ? ve(I.value) : void 0), L = A(), R = A(), z = b(() => u.can("viewRetentionPolicies") === !0), B = b(() => u.can("configureRetentionPolicy") === !0), V = b(() => u.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
245
- let e = new Set(a.eventTypes);
244
+ }), h = le(m.http), g = A(!1), _ = A([]), D = A({}), O = A(!1), I = M(), oe = b(() => I.value ? ve(I.value) : void 0), L = A(), R = A(), z = b(() => m.can("viewRetentionPolicies") === !0), B = b(() => m.can("configureRetentionPolicy") === !0), V = b(() => m.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
245
+ let e = new Set(u.eventTypes);
246
246
  return _.value.filter((t) => e.has(t.eventType));
247
247
  }), se = b(() => U.value.some(Y));
248
248
  async function W() {
249
- z.value && (m.value = !0, await G());
249
+ z.value && (g.value = !0, await G());
250
250
  }
251
251
  async function G() {
252
252
  O.value = !0, I.value = void 0;
253
253
  try {
254
- let e = await p.policies(), t = new Set(a.eventTypes), n = e.filter((e) => t.has(e.eventType));
254
+ let e = await h.policies(), t = new Set(u.eventTypes), n = e.filter((e) => t.has(e.eventType));
255
255
  _.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
256
256
  } catch (e) {
257
257
  I.value = _e(e), d(e, {
@@ -273,7 +273,7 @@ var ue = {
273
273
  if (Z(e.retentionDays) && Y(e) && !H.value) {
274
274
  L.value = e.eventType;
275
275
  try {
276
- J(await p.update(e)), h(n.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
276
+ J(await h.update(e)), ne(n.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
277
277
  } catch (e) {
278
278
  d(e, {
279
279
  language: n,
@@ -294,12 +294,12 @@ var ue = {
294
294
  }, n)) {
295
295
  R.value = e.eventType;
296
296
  try {
297
- let t = await p.purge(e.eventType, e.retentionDays);
297
+ let t = await h.purge(e.eventType, e.retentionDays);
298
298
  if (t.result.status === "ALREADY_RUNNING") {
299
299
  c(n.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
300
300
  return;
301
301
  }
302
- h(t.result.status === "BATCH_LIMIT_REACHED" ? n.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: t.result.deletedCount }) : n.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-from-value", "已清理 {value1} 条{value2}", {
302
+ ne(t.result.status === "BATCH_LIMIT_REACHED" ? n.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: t.result.deletedCount }) : n.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-from-value", "已清理 {value1} 条{value2}", {
303
303
  value1: t.result.deletedCount,
304
304
  value2: Q(e.eventType)
305
305
  }));
@@ -339,30 +339,30 @@ var ue = {
339
339
  }[e];
340
340
  }
341
341
  function _e(e) {
342
- return e instanceof Error ? e : new f(te(n, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
342
+ return e instanceof Error ? e : new f(ie(n, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
343
343
  }
344
344
  function ve(e) {
345
- return e instanceof f ? ne(e, n) : r(ie(e), n);
345
+ return e instanceof f ? re(e, n) : s(ee(e), n);
346
346
  }
347
- return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(g), {
347
+ return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(v), {
348
348
  key: 0,
349
349
  onClick: W
350
350
  }, {
351
351
  default: F(() => [T(N(P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
352
352
  _: 1
353
- })) : S("v-if", !0), E(P(i), {
354
- open: m.value,
353
+ })) : S("v-if", !0), E(P(r), {
354
+ open: g.value,
355
355
  title: P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
356
356
  subtitle: P(n).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
357
357
  width: "standard",
358
358
  scope: "viewport",
359
359
  "before-close": K,
360
- onClose: t[0] ||= (e) => m.value = !1
360
+ onClose: t[0] ||= (e) => g.value = !1
361
361
  }, {
362
- default: F(() => [O.value ? (k(), x(P(s), {
362
+ default: F(() => [O.value ? (k(), x(P(o), {
363
363
  key: 0,
364
364
  tip: P(n).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
365
- }, null, 8, ["tip"])) : oe.value ? (k(), x(P(o), {
365
+ }, null, 8, ["tip"])) : oe.value ? (k(), x(P(a), {
366
366
  key: 1,
367
367
  title: P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
368
368
  message: oe.value
@@ -385,7 +385,7 @@ var ue = {
385
385
  ])])]),
386
386
  w("div", pe, [w("label", me, [
387
387
  w("span", null, N(P(n).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
388
- w("span", he, [E(P(v), {
388
+ w("span", he, [E(P(p), {
389
389
  value: e.retentionDays,
390
390
  type: "number",
391
391
  disabled: !B.value || H.value,
@@ -396,7 +396,7 @@ var ue = {
396
396
  "disabled",
397
397
  "aria-label",
398
398
  "onUpdate:value"
399
- ]), V.value ? (k(), x(P(g), {
399
+ ]), V.value ? (k(), x(P(v), {
400
400
  key: 0,
401
401
  intent: "danger",
402
402
  disabled: H.value || !Z(e.retentionDays),
@@ -412,7 +412,7 @@ var ue = {
412
412
  ])) : S("v-if", !0)]),
413
413
  Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(n).t("platform.screen.BusinessLogRetentionControl.enter-an-integer-from-1-to-36500", "请输入 1 至 36500 之间的整数。")), 1))
414
414
  ])]),
415
- w("footer", null, [B.value ? (k(), x(P(g), {
415
+ w("footer", null, [B.value ? (k(), x(P(v), {
416
416
  key: 0,
417
417
  emphasis: "primary",
418
418
  disabled: H.value || !Z(e.retentionDays) || !Y(e),
@@ -449,7 +449,7 @@ var ue = {
449
449
  }, be = {
450
450
  key: 1,
451
451
  class: "business-log-list__detail"
452
- }, xe = /*#__PURE__*/ p(/* @__PURE__ */ D({
452
+ }, xe = /*#__PURE__*/ h(/* @__PURE__ */ D({
453
453
  name: "BusinessLogListDrawer",
454
454
  __name: "BusinessLogListDrawer",
455
455
  props: {
@@ -458,15 +458,15 @@ var ue = {
458
458
  title: {}
459
459
  },
460
460
  setup(t) {
461
- let a = ee(), c = t, l = re({ moduleAlias: c.moduleAlias }), u = oe(l.http, c.surface), p = {
461
+ let c = te(), l = t, u = i({ moduleAlias: l.moduleAlias }), p = oe(u.http, l.surface), ne = {
462
462
  get title() {
463
- return a.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
463
+ return c.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
464
464
  },
465
465
  get placeholder() {
466
- return a.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
466
+ return c.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
467
467
  },
468
468
  get searchPlaceholder() {
469
- return a.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
469
+ return c.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
470
470
  },
471
471
  mode: "dialog",
472
472
  columns: m,
@@ -475,11 +475,11 @@ var ue = {
475
475
  targetModuleAlias: "iam.user",
476
476
  source: {
477
477
  kind: "businessPurpose",
478
- id: `${c.moduleAlias}:operators`
478
+ id: `${l.moduleAlias}:operators`
479
479
  }
480
480
  },
481
481
  searchPage: async ({ keyword: e, pageNum: t, pageSize: n, scope: r }) => {
482
- let i = await u.operatorCandidates({
482
+ let i = await p.operatorCandidates({
483
483
  keyword: e,
484
484
  pageNum: t,
485
485
  pageSize: n,
@@ -491,27 +491,27 @@ var ue = {
491
491
  navigation: i.navigation
492
492
  };
493
493
  },
494
- resolveUsers: async (e) => (await u.operatorCandidates({ selectedIds: e })).selectedRecords
494
+ resolveUsers: async (e) => (await p.operatorCandidates({ selectedIds: e })).selectedRecords
495
495
  })
496
- }, h = A(), v = A(!1), D = M(), I = b(() => D.value ? Le(D.value) : void 0), L = A(), R = A(!1), z = M(), B = b(() => z.value ? Le(z.value) : void 0), V = A(!1), H = A(), U = A(), W = A(!1), G = M(), K = b(() => G.value ? Le(G.value) : void 0), q = A(), ce = b(() => Ie.value[c.surface]), J = b(() => c.surface === "activity"), Y = b(() => c.surface === "request-error"), X = b(() => ({
496
+ }, h = A(), _ = A(!1), D = M(), I = b(() => D.value ? Le(D.value) : void 0), L = A(), R = A(!1), z = M(), B = b(() => z.value ? Le(z.value) : void 0), V = A(!1), H = A(), U = A(), W = A(!1), G = M(), K = b(() => G.value ? Le(G.value) : void 0), q = A(), ce = b(() => Ie.value[l.surface]), J = b(() => l.surface === "activity"), Y = b(() => l.surface === "request-error"), X = b(() => ({
497
497
  login: ["LOGIN"],
498
498
  activity: ["ACTION", "PAGE_ACCESS"],
499
499
  "request-error": ["REQUEST_ERROR"]
500
- })[c.surface]), le = b(() => l.can("viewInternalDiagnostic") === !0), ue = b(() => ce.value.columns), de = b(() => h.value ? Oe(h.value) : []), fe = b(() => Ne(L.value)), pe = b(() => [...ke(a.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(a.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = b(() => H.value?.complete === !1 || U.value?.complete === !1);
500
+ })[l.surface]), le = b(() => u.can("viewInternalDiagnostic") === !0), ue = b(() => ce.value.columns), de = b(() => h.value ? Oe(h.value) : []), fe = b(() => Ne(L.value)), pe = b(() => [...ke(c.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(c.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = b(() => H.value?.complete === !1 || U.value?.complete === !1);
501
501
  async function he(e) {
502
502
  let t = e, n = t.eventId;
503
503
  if (n) {
504
- h.value = t, D.value = void 0, L.value = void 0, z.value = void 0, v.value = !0;
504
+ h.value = t, D.value = void 0, L.value = void 0, z.value = void 0, _.value = !0;
505
505
  try {
506
- h.value = await u.detail(n);
506
+ h.value = await p.detail(n);
507
507
  } catch (e) {
508
508
  D.value = Fe(e), d(e, {
509
- language: a,
509
+ language: c,
510
510
  source: "business-log-detail",
511
511
  phase: "load"
512
512
  });
513
513
  } finally {
514
- v.value = !1;
514
+ _.value = !1;
515
515
  }
516
516
  }
517
517
  }
@@ -519,11 +519,11 @@ var ue = {
519
519
  if (J.value && !W.value) {
520
520
  V.value = !0, W.value = !0, G.value = void 0;
521
521
  try {
522
- let e = q.value ?? Ce(), [t, n] = await Promise.all([u.actionStatistics?.(e), u.pageAccessStatistics?.(e)]);
522
+ let e = q.value ?? Ce(), [t, n] = await Promise.all([p.actionStatistics?.(e), p.pageAccessStatistics?.(e)]);
523
523
  H.value = t, U.value = n;
524
524
  } catch (e) {
525
525
  G.value = Fe(e), d(e, {
526
- language: a,
526
+ language: c,
527
527
  source: "business-log-statistics",
528
528
  phase: "load"
529
529
  });
@@ -534,13 +534,13 @@ var ue = {
534
534
  }
535
535
  async function xe() {
536
536
  let e = h.value?.eventId;
537
- if (u.diagnostic && e && !R.value) {
537
+ if (p.diagnostic && e && !R.value) {
538
538
  R.value = !0, z.value = void 0;
539
539
  try {
540
- L.value = await u.diagnostic(e);
540
+ L.value = await p.diagnostic(e);
541
541
  } catch (e) {
542
542
  z.value = Fe(e), d(e, {
543
- language: a,
543
+ language: c,
544
544
  source: "business-log-diagnostic",
545
545
  phase: "load"
546
546
  });
@@ -562,7 +562,7 @@ var ue = {
562
562
  };
563
563
  }
564
564
  function we(e) {
565
- return e.name === "operatorId" ? p : void 0;
565
+ return e.name === "operatorId" ? ne : void 0;
566
566
  }
567
567
  function Te(e, t) {
568
568
  switch (e) {
@@ -580,38 +580,38 @@ var ue = {
580
580
  }
581
581
  function Ee(e) {
582
582
  return {
583
- BUSINESS: a.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
584
- ACTION: a.t("platform.workflow-task-editor.business-action", "业务动作"),
585
- SYSTEM: a.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
586
- WRITE_BACK: a.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
583
+ BUSINESS: c.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
584
+ ACTION: c.t("platform.workflow-task-editor.business-action", "业务动作"),
585
+ SYSTEM: c.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
586
+ WRITE_BACK: c.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
587
587
  }[e ?? ""] ?? e ?? "—";
588
588
  }
589
589
  function De(e) {
590
590
  return {
591
- SUCCESS: a.t("platform.screen.BusinessLogListDrawer.success", "成功"),
592
- FAILURE: a.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
593
- REJECTED: a.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
591
+ SUCCESS: c.t("platform.screen.BusinessLogListDrawer.success", "成功"),
592
+ FAILURE: c.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
593
+ REJECTED: c.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
594
594
  }[e ?? ""] ?? e ?? "—";
595
595
  }
596
596
  function Oe(e) {
597
597
  return [
598
- [a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
599
- [a.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
600
- [a.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
601
- [a.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
602
- [a.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
603
- [a.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
604
- [a.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
605
- [a.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
606
- [a.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
607
- [a.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
608
- [a.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
609
- [a.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
610
- [a.t("platform.governance.tab.actions", "动作"), e.actionCode],
611
- [a.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
612
- [a.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
613
- [a.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
614
- [a.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
598
+ [c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
599
+ [c.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
600
+ [c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
601
+ [c.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
602
+ [c.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
603
+ [c.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
604
+ [c.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
605
+ [c.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
606
+ [c.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
607
+ [c.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
608
+ [c.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
609
+ [c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
610
+ [c.t("platform.governance.tab.actions", "动作"), e.actionCode],
611
+ [c.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
612
+ [c.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
613
+ [c.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
614
+ [c.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
615
615
  ...Ne(e.details, [
616
616
  "outcome",
617
617
  "entityAlias",
@@ -627,7 +627,7 @@ var ue = {
627
627
  return (t?.items ?? []).map((t) => ({
628
628
  key: `${e}:${t.key}`,
629
629
  kind: e,
630
- title: se(t, a),
630
+ title: se(t, c),
631
631
  count: t.count
632
632
  }));
633
633
  }
@@ -637,7 +637,7 @@ var ue = {
637
637
  function je() {
638
638
  return [{
639
639
  key: "detail",
640
- title: a.t("platform.screen.PageCompositionEditor.details", "详情"),
640
+ title: c.t("platform.screen.PageCompositionEditor.details", "详情"),
641
641
  primary: !0,
642
642
  iconName: "eye"
643
643
  }];
@@ -659,98 +659,98 @@ var ue = {
659
659
  return e == null || e === "" ? "—" : typeof e == "string" ? e : JSON.stringify(e, null, 2);
660
660
  }
661
661
  function Fe(e) {
662
- return e instanceof Error ? e : new f(te(a, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
662
+ return e instanceof Error ? e : new f(ie(c, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
663
663
  }
664
664
  let Ie = b(() => ({
665
665
  login: { columns: [
666
666
  {
667
667
  key: "outcome",
668
- title: a.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
668
+ title: c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
669
669
  width: "96px"
670
670
  },
671
671
  {
672
672
  key: "occurredAt",
673
- title: a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
673
+ title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
674
674
  width: "176px"
675
675
  },
676
676
  {
677
677
  key: "loginAccount",
678
- title: a.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
678
+ title: c.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
679
679
  width: "200px"
680
680
  }
681
681
  ] },
682
682
  activity: { columns: [
683
683
  {
684
684
  key: "outcome",
685
- title: a.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
685
+ title: c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
686
686
  width: "96px"
687
687
  },
688
688
  {
689
689
  key: "occurredAt",
690
- title: a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
690
+ title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
691
691
  width: "176px"
692
692
  },
693
693
  {
694
694
  key: "username",
695
- title: a.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
695
+ title: c.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
696
696
  width: "160px"
697
697
  },
698
698
  {
699
699
  key: "moduleAlias",
700
- title: a.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
700
+ title: c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
701
701
  width: "190px"
702
702
  },
703
703
  {
704
704
  key: "actionCode",
705
- title: a.t("platform.governance.tab.actions", "动作"),
705
+ title: c.t("platform.governance.tab.actions", "动作"),
706
706
  width: "150px"
707
707
  },
708
708
  {
709
709
  key: "recordId",
710
- title: a.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
710
+ title: c.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
711
711
  width: "170px"
712
712
  },
713
713
  {
714
714
  key: "mutationSource",
715
- title: a.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
715
+ title: c.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
716
716
  width: "120px"
717
717
  }
718
718
  ] },
719
719
  "request-error": { columns: [
720
720
  {
721
721
  key: "occurredAt",
722
- title: a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
722
+ title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
723
723
  width: "176px"
724
724
  },
725
725
  {
726
726
  key: "moduleAlias",
727
- title: a.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
727
+ title: c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
728
728
  width: "190px"
729
729
  },
730
730
  {
731
731
  key: "errorCode",
732
- title: a.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
732
+ title: c.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
733
733
  width: "150px"
734
734
  },
735
735
  {
736
736
  key: "httpStatus",
737
- title: a.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
737
+ title: c.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
738
738
  width: "112px"
739
739
  },
740
740
  {
741
741
  key: "summary",
742
- title: a.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
742
+ title: c.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
743
743
  width: "260px"
744
744
  }
745
745
  ] }
746
746
  }));
747
747
  function Le(e) {
748
- return e instanceof f ? ne(e, a) : r(ie(e), a);
748
+ return e instanceof f ? re(e, c) : s(ee(e), c);
749
749
  }
750
- return (e, r) => (k(), C(y, null, [
751
- E(P(_), {
750
+ return (e, i) => (k(), C(y, null, [
751
+ E(P(g), {
752
752
  class: "business-log-list",
753
- context: P(l),
753
+ context: P(u),
754
754
  title: t.title,
755
755
  columns: ue.value,
756
756
  "row-key": "eventId",
@@ -762,20 +762,20 @@ var ue = {
762
762
  100
763
763
  ],
764
764
  "reference-picker-of": we,
765
- "empty-description": P(a).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
765
+ "empty-description": P(c).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
766
766
  "row-actions-of": je,
767
- "row-actions-title": P(a).t("platform.screen.RecordPermissionDialog.operation", "操作"),
767
+ "row-actions-title": P(c).t("platform.screen.RecordPermissionDialog.operation", "操作"),
768
768
  "action-column-width": "88px",
769
769
  onRecordActivate: he,
770
770
  onRowAction: Me,
771
771
  onQueried: Se
772
772
  }, {
773
- operations: F(() => [J.value ? (k(), x(P(g), {
773
+ operations: F(() => [J.value ? (k(), x(P(v), {
774
774
  key: 0,
775
775
  loading: W.value,
776
776
  onClick: ge
777
777
  }, {
778
- default: F(() => [T(N(P(a).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
778
+ default: F(() => [T(N(P(c).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
779
779
  _: 1
780
780
  }, 8, ["loading"])) : S("v-if", !0), E(Z, { "event-types": X.value }, null, 8, ["event-types"])]),
781
781
  cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(n), {
@@ -793,36 +793,36 @@ var ue = {
793
793
  "empty-description",
794
794
  "row-actions-title"
795
795
  ]),
796
- E(P(i), {
796
+ E(P(r), {
797
797
  open: !!h.value,
798
- title: P(a).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: t.title }),
798
+ title: P(c).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: t.title }),
799
799
  "render-mode": "inline",
800
800
  subtitle: h.value ? h.value.operatorIdentity?.employeeName ?? h.value.operatorIdentity?.username ?? h.value.operatorId : void 0,
801
801
  "close-on-outside": !0,
802
- onClose: r[0] ||= (e) => h.value = void 0
802
+ onClose: i[0] ||= (e) => h.value = void 0
803
803
  }, {
804
- default: F(() => [v.value ? (k(), x(P(s), {
804
+ default: F(() => [_.value ? (k(), x(P(o), {
805
805
  key: 0,
806
- tip: P(a).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
807
- }, null, 8, ["tip"])) : I.value ? (k(), x(P(o), {
806
+ tip: P(c).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
807
+ }, null, 8, ["tip"])) : I.value ? (k(), x(P(a), {
808
808
  key: 1,
809
- title: P(a).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
809
+ title: P(c).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
810
810
  message: I.value
811
811
  }, null, 8, ["title", "message"])) : h.value ? (k(), C("dl", Q, [(k(!0), C(y, null, j(de.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.key), 1), w("dd", null, [w("pre", null, N(e.value), 1)])], 64))), 128))])) : (k(), x(P(ae), {
812
812
  key: 3,
813
- description: P(a).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
813
+ description: P(c).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
814
814
  }, null, 8, ["description"])), Y.value && h.value && le.value ? (k(), C("section", _e, [
815
- E(P(g), {
815
+ E(P(v), {
816
816
  loading: R.value,
817
817
  onClick: xe
818
818
  }, {
819
- default: F(() => [T(N(P(a).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
819
+ default: F(() => [T(N(P(c).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
820
820
  _: 1
821
821
  }, 8, ["loading"]),
822
- w("small", null, N(P(a).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
823
- B.value ? (k(), x(P(o), {
822
+ w("small", null, N(P(c).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
823
+ B.value ? (k(), x(P(a), {
824
824
  key: 0,
825
- title: P(a).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
825
+ title: P(c).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
826
826
  message: B.value
827
827
  }, null, 8, ["title", "message"])) : L.value ? (k(), C("dl", ve, [(k(!0), C(y, null, j(fe.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.key), 1), w("dd", null, [w("pre", null, N(e.value), 1)])], 64))), 128))])) : S("v-if", !0)
828
828
  ])) : S("v-if", !0)]),
@@ -832,24 +832,24 @@ var ue = {
832
832
  "title",
833
833
  "subtitle"
834
834
  ]),
835
- E(P(i), {
835
+ E(P(r), {
836
836
  open: V.value,
837
- title: P(a).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
837
+ title: P(c).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
838
838
  "render-mode": "inline",
839
- subtitle: P(a).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
839
+ subtitle: P(c).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
840
840
  "close-on-outside": !0,
841
- onClose: r[1] ||= (e) => V.value = !1
841
+ onClose: i[1] ||= (e) => V.value = !1
842
842
  }, {
843
- default: F(() => [W.value ? (k(), x(P(s), {
843
+ default: F(() => [W.value ? (k(), x(P(o), {
844
844
  key: 0,
845
- tip: P(a).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
846
- }, null, 8, ["tip"])) : K.value ? (k(), x(P(o), {
845
+ tip: P(c).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
846
+ }, null, 8, ["tip"])) : K.value ? (k(), x(P(a), {
847
847
  key: 1,
848
- title: P(a).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
848
+ title: P(c).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
849
849
  message: K.value
850
- }, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(a).t("platform.screen.BusinessLogListDrawer.these-statistics-cover-only-the-most-recent-accessible-logs", "当前统计只覆盖可读取的最近日志。")), 1)) : S("v-if", !0), pe.value.length > 0 ? (k(), C("dl", be, [(k(!0), C(y, null, j(pe.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.kind) + " · " + N(e.title), 1), w("dd", null, N(e.count), 1)], 64))), 128))])) : (k(), x(P(ae), {
850
+ }, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(c).t("platform.screen.BusinessLogListDrawer.these-statistics-cover-only-the-most-recent-accessible-logs", "当前统计只覆盖可读取的最近日志。")), 1)) : S("v-if", !0), pe.value.length > 0 ? (k(), C("dl", be, [(k(!0), C(y, null, j(pe.value, (e) => (k(), C(y, { key: e.key }, [w("dt", null, N(e.kind) + " · " + N(e.title), 1), w("dd", null, N(e.count), 1)], 64))), 128))])) : (k(), x(P(ae), {
851
851
  key: 2,
852
- description: P(a).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
852
+ description: P(c).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
853
853
  }, null, 8, ["description"]))], 64))]),
854
854
  _: 1
855
855
  }, 8, [