@ximatai/muyun-web-app 0.26.17 → 0.26.19

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 (87) hide show
  1. package/dist/{BusinessActivityLogView-9RrW-RKb.js → BusinessActivityLogView-DudCmeKP.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-DYVx9tiQ.js → BusinessLogListDrawer-CVUvUG48.js} +193 -193
  3. package/dist/CodeConfigurationView-ZjVgaZkD.js +1667 -0
  4. package/dist/{ConfigurationTranslationView-Bh_ekuMP.js → ConfigurationTranslationView-Dl757QMl.js} +38 -38
  5. package/dist/{LoginAuditLogView-DG6iBXEn.js → LoginAuditLogView-Cj3PMvN5.js} +2 -2
  6. package/dist/ModuleActionManagementView-BuhQrVA3.js +755 -0
  7. package/dist/{ModuleGovernanceView-C53RnUzc.js → ModuleGovernanceView-C3RxdgQN.js} +3736 -3880
  8. package/dist/{RequestErrorLogView-Ba5p0hLE.js → RequestErrorLogView-tmjMOeLE.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-OhpBChaT.js +1435 -0
  10. package/dist/{RuntimeLogView-BFEABm8G.js → RuntimeLogView-BkkgHcF0.js} +69 -69
  11. package/dist/WorkflowAdministrationView-DOhA_5-M.js +650 -0
  12. package/dist/WorkflowConfigurationView-Bnjdrkdx.js +980 -0
  13. package/dist/{WorkflowWorkbenchView-DGpNDt5V.js → WorkflowWorkbenchView-Cf6yiofx.js} +263 -263
  14. package/dist/codeConfiguration-DERwCY-U.js +208 -0
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +472 -471
  17. package/dist/moduleMenuWorkspace-DPmYGkS_.js +626 -0
  18. package/dist/platform-components-wRXbnwMr.js +30434 -0
  19. package/dist/{platform-workbench-C1hmkOUD.js → platform-workbench-Cm_0kmTT.js} +5570 -5592
  20. package/dist/types/app/DevelopmentTopbarActions.vue.d.ts +9 -0
  21. package/dist/types/app/executeBusinessNotificationRecordAction.d.ts +7 -0
  22. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +5 -1
  23. package/dist/types/consumer/index.d.ts +2 -1
  24. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +6 -0
  25. package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +1 -0
  26. package/dist/types/dynamic-page-runtime/modulePageEnhancementState.d.ts +5 -0
  27. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +6 -2
  28. package/dist/types/platform-admin-runtime/ModuleCodeConfigurationStatus.vue.d.ts +7 -0
  29. package/dist/types/platform-admin-runtime/moduleCodeConfiguration.d.ts +15 -0
  30. package/dist/types/platform-admin-runtime/workflow/ModuleWorkflowDrawer.vue.d.ts +7 -0
  31. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +5 -3
  32. package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +5 -0
  33. package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +28 -0
  34. package/dist/types/platform-components/RecordFormFields.vue.d.ts +4 -2
  35. package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +4 -0
  36. package/dist/types/platform-components/RecordRelationActionButton.vue.d.ts +16 -0
  37. package/dist/types/{dynamic-page-runtime → platform-components}/TenantScopeExplorer.vue.d.ts +1 -1
  38. package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +2 -0
  39. package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +2 -6
  40. package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +32 -1
  41. package/dist/types/platform-components/formulaExpressionTokens.d.ts +2 -0
  42. package/dist/types/platform-components/formulaExpressionTools.d.ts +6 -0
  43. package/dist/types/platform-components/index.d.ts +5 -0
  44. package/dist/types/platform-components/managementWorkspaceLayout.d.ts +10 -0
  45. package/dist/types/platform-components/recordFormFieldModel.d.ts +4 -0
  46. package/dist/types/platform-components/useBusinessCodeForm.d.ts +36 -0
  47. package/dist/types/platform-components/useWorkflowDesignHistory.d.ts +14 -0
  48. package/dist/types/platform-components/useWorkspaceDetailSurface.d.ts +3 -0
  49. package/dist/types/platform-components/workflowDesignClipboard.d.ts +7 -0
  50. package/dist/types/platform-components/workflowPresentation.d.ts +4 -0
  51. package/dist/types/platform-workbench/Workbench.vue.d.ts +6 -2
  52. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +13 -1
  53. package/dist/types/views/CodeConfigurationView.vue.d.ts +8 -0
  54. package/dist/types/views/CodeRuleFormatEditor.vue.d.ts +17 -0
  55. package/dist/types/views/WorkflowConfigurationView.vue.d.ts +1 -0
  56. package/dist/types/views/WorkflowDefinitionSettings.vue.d.ts +35 -0
  57. package/dist/types/views/WorkflowSelectionFields.vue.d.ts +2 -4
  58. package/dist/types/views/codeConfiguration.d.ts +127 -0
  59. package/dist/types/views/codeConfigurationWorkspaceView.d.ts +5 -0
  60. package/dist/types/views/moduleGovernanceWorkspaceView.d.ts +1 -1
  61. package/dist/types/views/useWorkflowConfigurationContext.d.ts +49 -0
  62. package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +2 -0
  63. package/dist/types/vue-ui-antdv/components/UiDatePicker.vue.d.ts +33 -0
  64. package/dist/types/vue-ui-antdv/components/UiHelp.vue.d.ts +16 -0
  65. package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
  66. package/dist/types/vue-ui-antdv/components/UiPopover.vue.d.ts +12 -4
  67. package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +4 -0
  68. package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +5 -0
  69. package/dist/types/vue-ui-antdv/datePickerCalendar.d.ts +472 -0
  70. package/dist/types/vue-ui-antdv/datePickerValue.d.ts +6 -0
  71. package/dist/types/vue-ui-antdv/index.d.ts +4 -0
  72. package/dist/types/vue-ui-antdv/languageLocales.d.ts +2 -0
  73. package/dist/types/vue-ui-antdv/overlayLayers.d.ts +5 -0
  74. package/dist/types/vue-ui-antdv/types.d.ts +2 -0
  75. package/dist/types/web-contracts/index.d.ts +18 -0
  76. package/dist/types/web-contracts/workflow.d.ts +16 -8
  77. package/dist/types/web-core/businessNotifications.d.ts +3 -1
  78. package/dist/types/web-core/workflow.d.ts +13 -1
  79. package/dist/useWorkflowConfigurationContext-BE_UjKgk.js +66 -0
  80. package/dist/{workspaceViews-BpH71LKQ.js → workspaceViews-D37OpJ7g.js} +1608 -884
  81. package/package.json +4 -1
  82. package/dist/ModuleActionManagementView-DgHqhoMN.js +0 -755
  83. package/dist/RoleDetailWorkspaceView-C3TBqksY.js +0 -1435
  84. package/dist/WorkflowAdministrationView-BOHG2e-I.js +0 -650
  85. package/dist/WorkflowConfigurationView-A0m5tBX9.js +0 -1097
  86. package/dist/moduleGovernanceWorkspaceView-DNKzYX0x.js +0 -667
  87. package/dist/platform-components-BBfyINHa.js +0 -29912
@@ -1,13 +1,13 @@
1
- import { Aa as e, Ar as t, D as n, Da as r, En as i, Ji as a, Ki as o, O as s, U as c, Un as l, Xn as u, _n as d, aa as ee, an as f, bn as p, ca as te, dn as m, gn as ne, ja as re, jn as h, jt as ie, qi as ae, qn as g, vn as _, xn as oe } from "./platform-components-BBfyINHa.js";
2
- import { Fragment as v, computed as y, createBlock as b, createCommentVNode as x, createElementBlock as S, createElementVNode as C, createTextVNode as w, createVNode as T, defineComponent as E, normalizeClass as D, openBlock as O, ref as k, renderList as A, shallowRef as j, toDisplayString as M, unref as N, withCtx as P } from "vue";
1
+ import { A as e, Cn as t, En as n, Ft as r, Ha as i, Ln as a, Mn as o, Ra as s, Sn as c, Tn as l, Va as u, Xn as ee, aa as te, ar as d, ga as ne, gn as f, ia as re, j as p, nr as m, q as h, ra as g, un as _, xn as v, ya as ie, zr as ae } from "./platform-components-wRXbnwMr.js";
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
- var F = {
4
+ var I = {
5
5
  activity: "/platform.business_activity_log",
6
6
  "request-error": "/platform.request_error_log",
7
7
  login: "/iam.login_audit_log"
8
8
  };
9
- function I(e, t) {
10
- let n = F[t];
9
+ function oe(e, t) {
10
+ let n = I[t];
11
11
  return {
12
12
  async detail(t) {
13
13
  return V(await e.request({ path: `${n}/${encodeURIComponent(t)}` }));
@@ -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: r("platform.log.statistic.unknown-page") },
138
+ ...J(t.pageKey) ? {} : { titleSource: s("platform.log.statistic.unknown-page") },
139
139
  count: Y(t.accessCount)
140
140
  };
141
141
  }),
@@ -153,15 +153,15 @@ function U(e) {
153
153
  ].map(([e, n]) => ({
154
154
  key: e,
155
155
  title: n,
156
- titleSource: r(`platform.log.statistic.${e}`),
156
+ titleSource: s(`platform.log.statistic.${e}`),
157
157
  count: Y(t[e])
158
158
  })),
159
159
  complete: X(t.complete)
160
160
  };
161
161
  }
162
- function se(t, n) {
163
- let r = t.titleSource;
164
- return r?.sourceKind === "CODE" && r.sourceId.startsWith("platform.log.statistic.") && e(r, t.title) ? n.t(r.sourceId, r.originalText) : t.title;
162
+ function se(e, t) {
163
+ let n = e.titleSource;
164
+ return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") && u(n, e.title) ? t.t(n.sourceId, n.originalText) : e.title;
165
165
  }
166
166
  function W(e, t) {
167
167
  return J(e.summary ?? e.message ?? e.description) ?? G(t.message) ?? G(t.responseSummary) ?? J(t.reasonCode) ?? J(t.failureStage) ?? J(t.pageKey) ?? J(t.errorCode) ?? J(t.authenticationMethod);
@@ -233,50 +233,50 @@ 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__*/ u(/* @__PURE__ */ E({
236
+ }, Z = /*#__PURE__*/ d(/* @__PURE__ */ D({
237
237
  name: "BusinessLogRetentionControl",
238
238
  __name: "BusinessLogRetentionControl",
239
239
  props: { eventTypes: {} },
240
240
  setup(e) {
241
- let n = re(), r = e, s = t({
241
+ let s = i(), u = e, d = ae({
242
242
  moduleAlias: "platform.business_log_retention",
243
243
  runtimeAccess: "VIEW"
244
- }), c = le(s.http), u = k(!1), m = k([]), E = k({}), D = k(!1), F = j(), I = y(() => F.value ? ve(F.value) : void 0), L = k(), R = k(), z = y(() => s.can("viewRetentionPolicies") === !0), B = y(() => s.can("configureRetentionPolicy") === !0), V = y(() => s.can("purgeExpiredLogs") === !0), H = y(() => L.value !== void 0 || R.value !== void 0), U = y(() => {
245
- let e = new Set(r.eventTypes);
246
- return m.value.filter((t) => e.has(t.eventType));
247
- }), se = y(() => U.value.some(Y));
244
+ }), f = le(d.http), p = A(!1), h = A([]), D = A({}), O = A(!1), I = M(), oe = b(() => I.value ? ve(I.value) : void 0), L = A(), R = A(), z = b(() => d.can("viewRetentionPolicies") === !0), B = b(() => d.can("configureRetentionPolicy") === !0), V = b(() => d.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
245
+ let e = new Set(u.eventTypes);
246
+ return h.value.filter((t) => e.has(t.eventType));
247
+ }), se = b(() => U.value.some(Y));
248
248
  async function W() {
249
- z.value && (u.value = !0, await G());
249
+ z.value && (p.value = !0, await G());
250
250
  }
251
251
  async function G() {
252
- D.value = !0, F.value = void 0;
252
+ O.value = !0, I.value = void 0;
253
253
  try {
254
- let e = await c.policies(), t = new Set(r.eventTypes), n = e.filter((e) => t.has(e.eventType));
255
- m.value = n.map((e) => ({ ...e })), E.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
254
+ let e = await f.policies(), t = new Set(u.eventTypes), n = e.filter((e) => t.has(e.eventType));
255
+ h.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
256
256
  } catch (e) {
257
- F.value = _e(e), f(e, {
258
- language: n,
257
+ I.value = _e(e), _(e, {
258
+ language: s,
259
259
  source: "business-log-retention",
260
260
  phase: "load"
261
261
  });
262
262
  } finally {
263
- D.value = !1;
263
+ O.value = !1;
264
264
  }
265
265
  }
266
266
  async function K() {
267
- return H.value ? (ne(n.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || _({
268
- title: n.t("platform.screen.BusinessLogRetentionControl.discard-unsaved-cleanup-settings", "放弃未保存的自动清理设置?"),
269
- content: n.t("platform.screen.BusinessLogRetentionControl.unsaved-changes-to-automatic-cleanup-and-retention-days-will-be", "关闭后,本次未保存的自动清理和保留天数修改将丢失。")
270
- }, n);
267
+ return H.value ? (v(s.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || t({
268
+ title: s.t("platform.screen.BusinessLogRetentionControl.discard-unsaved-cleanup-settings", "放弃未保存的自动清理设置?"),
269
+ content: s.t("platform.screen.BusinessLogRetentionControl.unsaved-changes-to-automatic-cleanup-and-retention-days-will-be", "关闭后,本次未保存的自动清理和保留天数修改将丢失。")
270
+ }, s);
271
271
  }
272
272
  async function q(e) {
273
273
  if (Z(e.retentionDays) && Y(e) && !H.value) {
274
274
  L.value = e.eventType;
275
275
  try {
276
- J(await c.update(e)), d(n.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
276
+ J(await f.update(e)), c(s.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
277
277
  } catch (e) {
278
- f(e, {
279
- language: n,
278
+ _(e, {
279
+ language: s,
280
280
  source: "business-log-retention",
281
281
  phase: "action"
282
282
  });
@@ -286,26 +286,26 @@ var ue = {
286
286
  }
287
287
  }
288
288
  async function ce(e) {
289
- if (Z(e.retentionDays) && !H.value && await _({
290
- title: n.t("platform.screen.BusinessLogRetentionControl.clean-up-value-now", "立即清理{value1}", { value1: Q(e.eventType) }),
291
- content: n.t("platform.screen.BusinessLogRetentionControl.logs-strictly-older-than-value-days-will-be-deleted-this", "将删除严格早于 {value1} 天的日志。本次清理不会保存对保留天数的修改,且操作不可恢复。", { value1: e.retentionDays }),
292
- requiredText: n.t("platform.screen.BusinessLogRetentionControl.clean-up-value", "清理{value1}", { value1: Q(e.eventType) }),
289
+ if (Z(e.retentionDays) && !H.value && await t({
290
+ title: s.t("platform.screen.BusinessLogRetentionControl.clean-up-value-now", "立即清理{value1}", { value1: Q(e.eventType) }),
291
+ content: s.t("platform.screen.BusinessLogRetentionControl.logs-strictly-older-than-value-days-will-be-deleted-this", "将删除严格早于 {value1} 天的日志。本次清理不会保存对保留天数的修改,且操作不可恢复。", { value1: e.retentionDays }),
292
+ requiredText: s.t("platform.screen.BusinessLogRetentionControl.clean-up-value", "清理{value1}", { value1: Q(e.eventType) }),
293
293
  danger: !0
294
- }, n)) {
294
+ }, s)) {
295
295
  R.value = e.eventType;
296
296
  try {
297
- let t = await c.purge(e.eventType, e.retentionDays);
297
+ let t = await f.purge(e.eventType, e.retentionDays);
298
298
  if (t.result.status === "ALREADY_RUNNING") {
299
- ne(n.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
299
+ v(s.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
300
300
  return;
301
301
  }
302
- d(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
+ c(t.result.status === "BATCH_LIMIT_REACHED" ? s.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: t.result.deletedCount }) : s.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
  }));
306
306
  } catch (e) {
307
- f(e, {
308
- language: n,
307
+ _(e, {
308
+ language: s,
309
309
  source: "business-log-retention",
310
310
  phase: "action"
311
311
  });
@@ -315,13 +315,13 @@ var ue = {
315
315
  }
316
316
  }
317
317
  function J(e) {
318
- E.value = {
319
- ...E.value,
318
+ D.value = {
319
+ ...D.value,
320
320
  [e.eventType]: { ...e }
321
- }, m.value = m.value.map((t) => t.eventType === e.eventType ? { ...e } : t);
321
+ }, h.value = h.value.map((t) => t.eventType === e.eventType ? { ...e } : t);
322
322
  }
323
323
  function Y(e) {
324
- let t = E.value[e.eventType];
324
+ let t = D.value[e.eventType];
325
325
  return !t || t.retentionDays !== e.retentionDays || t.automaticCleanupEnabled !== e.automaticCleanupEnabled;
326
326
  }
327
327
  function X(e, t) {
@@ -332,50 +332,50 @@ var ue = {
332
332
  }
333
333
  function Q(e) {
334
334
  return {
335
- LOGIN: n.t("platform.screen.BusinessLogRetentionControl.login-audit-logs", "登录日志"),
336
- ACTION: n.t("platform.screen.BusinessLogRetentionControl.action-logs", "动作日志"),
337
- REQUEST_ERROR: n.t("platform.screen.BusinessLogRetentionControl.error-logs", "异常日志"),
338
- PAGE_ACCESS: n.t("platform.screen.BusinessLogRetentionControl.page-access-logs", "页面访问日志")
335
+ LOGIN: s.t("platform.screen.BusinessLogRetentionControl.login-audit-logs", "登录日志"),
336
+ ACTION: s.t("platform.screen.BusinessLogRetentionControl.action-logs", "动作日志"),
337
+ REQUEST_ERROR: s.t("platform.screen.BusinessLogRetentionControl.error-logs", "异常日志"),
338
+ PAGE_ACCESS: s.t("platform.screen.BusinessLogRetentionControl.page-access-logs", "页面访问日志")
339
339
  }[e];
340
340
  }
341
341
  function _e(e) {
342
- return e instanceof Error ? e : new o(ae(n, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
342
+ return e instanceof Error ? e : new g(re(s, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
343
343
  }
344
344
  function ve(e) {
345
- return e instanceof o ? a(e, n) : te(ee(e), n);
345
+ return e instanceof g ? te(e, s) : ie(ne(e), s);
346
346
  }
347
- return (e, t) => (O(), S(v, null, [z.value ? (O(), b(N(g), {
347
+ return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(m), {
348
348
  key: 0,
349
349
  onClick: W
350
350
  }, {
351
- default: P(() => [w(M(N(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
351
+ default: F(() => [T(N(P(s).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
352
352
  _: 1
353
- })) : x("v-if", !0), T(N(ie), {
354
- open: u.value,
355
- title: N(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
356
- subtitle: N(n).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
353
+ })) : S("v-if", !0), E(P(r), {
354
+ open: p.value,
355
+ title: P(s).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
356
+ subtitle: P(s).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) => u.value = !1
360
+ onClose: t[0] ||= (e) => p.value = !1
361
361
  }, {
362
- default: P(() => [D.value ? (O(), b(N(oe), {
362
+ default: F(() => [O.value ? (k(), x(P(n), {
363
363
  key: 0,
364
- tip: N(n).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
365
- }, null, 8, ["tip"])) : I.value ? (O(), b(N(p), {
364
+ tip: P(s).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
365
+ }, null, 8, ["tip"])) : oe.value ? (k(), x(P(l), {
366
366
  key: 1,
367
- title: N(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
368
- message: I.value
369
- }, null, 8, ["title", "message"])) : U.value.length === 0 ? (O(), b(N(i), {
367
+ title: P(s).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
368
+ message: oe.value
369
+ }, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(o), {
370
370
  key: 2,
371
- description: N(n).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
372
- }, null, 8, ["description"])) : (O(), S("section", ue, [(O(!0), S(v, null, A(U.value, (e) => (O(), S("article", { key: e.eventType }, [
373
- C("header", null, [C("div", null, [C("h3", null, M(Q(e.eventType)), 1), e.updatedAt ? (O(), S("small", de, [w(M(N(n).t("platform.screen.BusinessLogRetentionControl.last-updated", "最近更新:")) + M(e.updatedAt), 1), e.updatedBy ? (O(), S(v, { key: 0 }, [w(" · " + M(e.updatedBy), 1)], 64)) : x("v-if", !0)])) : x("v-if", !0)]), C("label", fe, [C("span", null, M(N(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), T(N(h), {
371
+ description: P(s).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
372
+ }, null, 8, ["description"])) : (k(), C("section", ue, [(k(!0), C(y, null, j(U.value, (e) => (k(), C("article", { key: e.eventType }, [
373
+ w("header", null, [w("div", null, [w("h3", null, N(Q(e.eventType)), 1), e.updatedAt ? (k(), C("small", de, [T(N(P(s).t("platform.screen.BusinessLogRetentionControl.last-updated", "最近更新:")) + N(e.updatedAt), 1), e.updatedBy ? (k(), C(y, { key: 0 }, [T(" · " + N(e.updatedBy), 1)], 64)) : S("v-if", !0)])) : S("v-if", !0)]), w("label", fe, [w("span", null, N(P(s).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(a), {
374
374
  checked: e.automaticCleanupEnabled,
375
375
  "onUpdate:checked": (t) => e.automaticCleanupEnabled = t,
376
376
  disabled: !B.value || H.value,
377
- "checked-text": N(n).t("platform.screen.WorkflowWorkbenchView.enabled", "启用"),
378
- "unchecked-text": N(n).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")
377
+ "checked-text": P(s).t("platform.screen.WorkflowWorkbenchView.enabled", "启用"),
378
+ "unchecked-text": P(s).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")
379
379
  }, null, 8, [
380
380
  "checked",
381
381
  "onUpdate:checked",
@@ -383,49 +383,49 @@ var ue = {
383
383
  "checked-text",
384
384
  "unchecked-text"
385
385
  ])])]),
386
- C("div", pe, [C("label", me, [
387
- C("span", null, M(N(n).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
388
- C("span", he, [T(N(l), {
386
+ w("div", pe, [w("label", me, [
387
+ w("span", null, N(P(s).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
388
+ w("span", he, [E(P(ee), {
389
389
  value: e.retentionDays,
390
390
  type: "number",
391
391
  disabled: !B.value || H.value,
392
- "aria-label": N(n).t("platform.screen.BusinessLogRetentionControl.retention-days-for-value", "{value1}保留天数", { value1: Q(e.eventType) }),
392
+ "aria-label": P(s).t("platform.screen.BusinessLogRetentionControl.retention-days-for-value", "{value1}保留天数", { value1: Q(e.eventType) }),
393
393
  "onUpdate:value": (t) => X(e, t)
394
394
  }, null, 8, [
395
395
  "value",
396
396
  "disabled",
397
397
  "aria-label",
398
398
  "onUpdate:value"
399
- ]), V.value ? (O(), b(N(g), {
399
+ ]), V.value ? (k(), x(P(m), {
400
400
  key: 0,
401
401
  intent: "danger",
402
402
  disabled: H.value || !Z(e.retentionDays),
403
403
  loading: R.value === e.eventType,
404
404
  onClick: (t) => ce(e)
405
405
  }, {
406
- default: P(() => [w(M(N(n).t("platform.screen.BusinessLogRetentionControl.clean-up-now", "立即清理")), 1)]),
406
+ default: F(() => [T(N(P(s).t("platform.screen.BusinessLogRetentionControl.clean-up-now", "立即清理")), 1)]),
407
407
  _: 1
408
408
  }, 8, [
409
409
  "disabled",
410
410
  "loading",
411
411
  "onClick"
412
- ])) : x("v-if", !0)]),
413
- Z(e.retentionDays) ? x("v-if", !0) : (O(), S("small", ge, M(N(n).t("platform.screen.BusinessLogRetentionControl.enter-an-integer-from-1-to-36500", "请输入 1 至 36500 之间的整数。")), 1))
412
+ ])) : S("v-if", !0)]),
413
+ Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(s).t("platform.screen.BusinessLogRetentionControl.enter-an-integer-from-1-to-36500", "请输入 1 至 36500 之间的整数。")), 1))
414
414
  ])]),
415
- C("footer", null, [B.value ? (O(), b(N(g), {
415
+ w("footer", null, [B.value ? (k(), x(P(m), {
416
416
  key: 0,
417
417
  emphasis: "primary",
418
418
  disabled: H.value || !Z(e.retentionDays) || !Y(e),
419
419
  loading: L.value === e.eventType,
420
420
  onClick: (t) => q(e)
421
421
  }, {
422
- default: P(() => [w(M(N(n).t("platform.action.save", "保存")), 1)]),
422
+ default: F(() => [T(N(P(s).t("platform.action.save", "保存")), 1)]),
423
423
  _: 1
424
424
  }, 8, [
425
425
  "disabled",
426
426
  "loading",
427
427
  "onClick"
428
- ])) : x("v-if", !0)])
428
+ ])) : S("v-if", !0)])
429
429
  ]))), 128))]))]),
430
430
  _: 1
431
431
  }, 8, [
@@ -449,7 +449,7 @@ var ue = {
449
449
  }, be = {
450
450
  key: 1,
451
451
  class: "business-log-list__detail"
452
- }, xe = /*#__PURE__*/ u(/* @__PURE__ */ E({
452
+ }, xe = /*#__PURE__*/ d(/* @__PURE__ */ D({
453
453
  name: "BusinessLogListDrawer",
454
454
  __name: "BusinessLogListDrawer",
455
455
  props: {
@@ -457,29 +457,29 @@ var ue = {
457
457
  moduleAlias: {},
458
458
  title: {}
459
459
  },
460
- setup(e) {
461
- let r = re(), l = e, u = t({ moduleAlias: l.moduleAlias }), d = I(u.http, l.surface), ne = {
460
+ setup(t) {
461
+ let a = i(), s = t, c = ae({ moduleAlias: s.moduleAlias }), u = oe(c.http, s.surface), ee = {
462
462
  get title() {
463
- return r.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
463
+ return a.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
464
464
  },
465
465
  get placeholder() {
466
- return r.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
466
+ return a.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
467
467
  },
468
468
  get searchPlaceholder() {
469
- return r.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
469
+ return a.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
470
470
  },
471
471
  mode: "dialog",
472
- columns: s,
473
- provider: n({
472
+ columns: p,
473
+ provider: e({
474
474
  sourceIdentity: {
475
475
  targetModuleAlias: "iam.user",
476
476
  source: {
477
477
  kind: "businessPurpose",
478
- id: `${l.moduleAlias}:operators`
478
+ id: `${s.moduleAlias}:operators`
479
479
  }
480
480
  },
481
481
  searchPage: async ({ keyword: e, pageNum: t, pageSize: n, scope: r }) => {
482
- let i = await d.operatorCandidates({
482
+ let i = await u.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 d.operatorCandidates({ selectedIds: e })).selectedRecords
494
+ resolveUsers: async (e) => (await u.operatorCandidates({ selectedIds: e })).selectedRecords
495
495
  })
496
- }, h = k(), _ = k(!1), E = j(), F = y(() => E.value ? Le(E.value) : void 0), L = k(), R = k(!1), z = j(), B = y(() => z.value ? Le(z.value) : void 0), V = k(!1), H = k(), U = k(), W = k(!1), G = j(), K = y(() => G.value ? Le(G.value) : void 0), q = k(), ce = y(() => Ie.value[l.surface]), J = y(() => l.surface === "activity"), Y = y(() => l.surface === "request-error"), X = y(() => ({
496
+ }, d = 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[s.surface]), J = b(() => s.surface === "activity"), Y = b(() => s.surface === "request-error"), X = b(() => ({
497
497
  login: ["LOGIN"],
498
498
  activity: ["ACTION", "PAGE_ACCESS"],
499
499
  "request-error": ["REQUEST_ERROR"]
500
- })[l.surface]), le = y(() => u.can("viewInternalDiagnostic") === !0), ue = y(() => ce.value.columns), de = y(() => h.value ? Oe(h.value) : []), fe = y(() => Ne(L.value)), pe = y(() => [...ke(r.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(r.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = y(() => H.value?.complete === !1 || U.value?.complete === !1);
500
+ })[s.surface]), le = b(() => c.can("viewInternalDiagnostic") === !0), ue = b(() => ce.value.columns), de = b(() => d.value ? Oe(d.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);
501
501
  async function he(e) {
502
502
  let t = e, n = t.eventId;
503
503
  if (n) {
504
- h.value = t, E.value = void 0, L.value = void 0, z.value = void 0, _.value = !0;
504
+ d.value = t, D.value = void 0, L.value = void 0, z.value = void 0, v.value = !0;
505
505
  try {
506
- h.value = await d.detail(n);
506
+ d.value = await u.detail(n);
507
507
  } catch (e) {
508
- E.value = Fe(e), f(e, {
509
- language: r,
508
+ D.value = Fe(e), _(e, {
509
+ language: a,
510
510
  source: "business-log-detail",
511
511
  phase: "load"
512
512
  });
513
513
  } finally {
514
- _.value = !1;
514
+ v.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([d.actionStatistics?.(e), d.pageAccessStatistics?.(e)]);
522
+ let e = q.value ?? Ce(), [t, n] = await Promise.all([u.actionStatistics?.(e), u.pageAccessStatistics?.(e)]);
523
523
  H.value = t, U.value = n;
524
524
  } catch (e) {
525
- G.value = Fe(e), f(e, {
526
- language: r,
525
+ G.value = Fe(e), _(e, {
526
+ language: a,
527
527
  source: "business-log-statistics",
528
528
  phase: "load"
529
529
  });
@@ -533,14 +533,14 @@ var ue = {
533
533
  }
534
534
  }
535
535
  async function xe() {
536
- let e = h.value?.eventId;
537
- if (d.diagnostic && e && !R.value) {
536
+ let e = d.value?.eventId;
537
+ if (u.diagnostic && e && !R.value) {
538
538
  R.value = !0, z.value = void 0;
539
539
  try {
540
- L.value = await d.diagnostic(e);
540
+ L.value = await u.diagnostic(e);
541
541
  } catch (e) {
542
- z.value = Fe(e), f(e, {
543
- language: r,
542
+ z.value = Fe(e), _(e, {
543
+ language: a,
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" ? ne : void 0;
565
+ return e.name === "operatorId" ? ee : 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: r.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
584
- ACTION: r.t("platform.workflow-task-editor.business-action", "业务动作"),
585
- SYSTEM: r.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
586
- WRITE_BACK: r.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
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", "平台回写")
587
587
  }[e ?? ""] ?? e ?? "—";
588
588
  }
589
589
  function De(e) {
590
590
  return {
591
- SUCCESS: r.t("platform.screen.BusinessLogListDrawer.success", "成功"),
592
- FAILURE: r.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
593
- REJECTED: r.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
591
+ SUCCESS: a.t("platform.screen.BusinessLogListDrawer.success", "成功"),
592
+ FAILURE: a.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
593
+ REJECTED: a.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
594
594
  }[e ?? ""] ?? e ?? "—";
595
595
  }
596
596
  function Oe(e) {
597
597
  return [
598
- [r.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
599
- [r.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
600
- [r.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
601
- [r.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
602
- [r.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
603
- [r.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
604
- [r.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
605
- [r.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
606
- [r.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
607
- [r.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
608
- [r.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
609
- [r.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
610
- [r.t("platform.governance.tab.actions", "动作"), e.actionCode],
611
- [r.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
612
- [r.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
613
- [r.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
614
- [r.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
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],
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, r),
630
+ title: se(t, a),
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: r.t("platform.screen.PageCompositionEditor.details", "详情"),
640
+ title: a.t("platform.screen.PageCompositionEditor.details", "详情"),
641
641
  primary: !0,
642
642
  iconName: "eye"
643
643
  }];
@@ -659,99 +659,99 @@ 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 o(ae(r, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
662
+ return e instanceof Error ? e : new g(re(a, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
663
663
  }
664
- let Ie = y(() => ({
664
+ let Ie = b(() => ({
665
665
  login: { columns: [
666
666
  {
667
667
  key: "outcome",
668
- title: r.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
668
+ title: a.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
669
669
  width: "96px"
670
670
  },
671
671
  {
672
672
  key: "occurredAt",
673
- title: r.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
673
+ title: a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
674
674
  width: "176px"
675
675
  },
676
676
  {
677
677
  key: "loginAccount",
678
- title: r.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
678
+ title: a.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: r.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
685
+ title: a.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
686
686
  width: "96px"
687
687
  },
688
688
  {
689
689
  key: "occurredAt",
690
- title: r.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
690
+ title: a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
691
691
  width: "176px"
692
692
  },
693
693
  {
694
694
  key: "username",
695
- title: r.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
695
+ title: a.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
696
696
  width: "160px"
697
697
  },
698
698
  {
699
699
  key: "moduleAlias",
700
- title: r.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
700
+ title: a.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
701
701
  width: "190px"
702
702
  },
703
703
  {
704
704
  key: "actionCode",
705
- title: r.t("platform.governance.tab.actions", "动作"),
705
+ title: a.t("platform.governance.tab.actions", "动作"),
706
706
  width: "150px"
707
707
  },
708
708
  {
709
709
  key: "recordId",
710
- title: r.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
710
+ title: a.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
711
711
  width: "170px"
712
712
  },
713
713
  {
714
714
  key: "mutationSource",
715
- title: r.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
715
+ title: a.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: r.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
722
+ title: a.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
723
723
  width: "176px"
724
724
  },
725
725
  {
726
726
  key: "moduleAlias",
727
- title: r.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
727
+ title: a.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
728
728
  width: "190px"
729
729
  },
730
730
  {
731
731
  key: "errorCode",
732
- title: r.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
732
+ title: a.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
733
733
  width: "150px"
734
734
  },
735
735
  {
736
736
  key: "httpStatus",
737
- title: r.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
737
+ title: a.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
738
738
  width: "112px"
739
739
  },
740
740
  {
741
741
  key: "summary",
742
- title: r.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
742
+ title: a.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 o ? a(e, r) : te(ee(e), r);
748
+ return e instanceof g ? te(e, a) : ie(ne(e), a);
749
749
  }
750
- return (t, n) => (O(), S(v, null, [
751
- T(N(c), {
750
+ return (e, i) => (k(), C(y, null, [
751
+ E(P(h), {
752
752
  class: "business-log-list",
753
- context: N(u),
754
- title: e.title,
753
+ context: P(c),
754
+ title: t.title,
755
755
  columns: ue.value,
756
756
  "row-key": "eventId",
757
757
  "show-recycle-bin": !1,
@@ -762,29 +762,29 @@ var ue = {
762
762
  100
763
763
  ],
764
764
  "reference-picker-of": we,
765
- "empty-description": N(r).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
765
+ "empty-description": P(a).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
766
766
  "row-actions-of": je,
767
- "row-actions-title": N(r).t("platform.screen.RecordPermissionDialog.operation", "操作"),
767
+ "row-actions-title": P(a).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: P(() => [J.value ? (O(), b(N(g), {
773
+ operations: F(() => [J.value ? (k(), x(P(m), {
774
774
  key: 0,
775
775
  loading: W.value,
776
776
  onClick: ge
777
777
  }, {
778
- default: P(() => [w(M(N(r).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
778
+ default: F(() => [T(N(P(a).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
779
779
  _: 1
780
- }, 8, ["loading"])) : x("v-if", !0), T(Z, { "event-types": X.value }, null, 8, ["event-types"])]),
781
- cell: P(({ column: e, record: t }) => [e.key === "occurredAt" ? (O(), b(N(m), {
780
+ }, 8, ["loading"])) : S("v-if", !0), E(Z, { "event-types": X.value }, null, 8, ["event-types"])]),
781
+ cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(f), {
782
782
  key: 0,
783
783
  value: t.occurredAt
784
- }, null, 8, ["value"])) : (O(), S("span", {
784
+ }, null, 8, ["value"])) : (k(), C("span", {
785
785
  key: 1,
786
- class: D({ "business-log-list__summary": e.key === "summary" })
787
- }, M(Te(e.key, t)), 3))]),
786
+ class: O({ "business-log-list__summary": e.key === "summary" })
787
+ }, N(Te(e.key, t)), 3))]),
788
788
  _: 1
789
789
  }, 8, [
790
790
  "context",
@@ -793,63 +793,63 @@ var ue = {
793
793
  "empty-description",
794
794
  "row-actions-title"
795
795
  ]),
796
- T(N(ie), {
797
- open: !!h.value,
798
- title: N(r).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: e.title }),
796
+ E(P(r), {
797
+ open: !!d.value,
798
+ title: P(a).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: t.title }),
799
799
  "render-mode": "inline",
800
- subtitle: h.value ? h.value.operatorIdentity?.employeeName ?? h.value.operatorIdentity?.username ?? h.value.operatorId : void 0,
800
+ subtitle: d.value ? d.value.operatorIdentity?.employeeName ?? d.value.operatorIdentity?.username ?? d.value.operatorId : void 0,
801
801
  "close-on-outside": !0,
802
- onClose: n[0] ||= (e) => h.value = void 0
802
+ onClose: i[0] ||= (e) => d.value = void 0
803
803
  }, {
804
- default: P(() => [_.value ? (O(), b(N(oe), {
804
+ default: F(() => [v.value ? (k(), x(P(n), {
805
805
  key: 0,
806
- tip: N(r).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
807
- }, null, 8, ["tip"])) : F.value ? (O(), b(N(p), {
806
+ tip: P(a).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
807
+ }, null, 8, ["tip"])) : I.value ? (k(), x(P(l), {
808
808
  key: 1,
809
- title: N(r).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
810
- message: F.value
811
- }, null, 8, ["title", "message"])) : h.value ? (O(), S("dl", Q, [(O(!0), S(v, null, A(de.value, (e) => (O(), S(v, { key: e.key }, [C("dt", null, M(e.key), 1), C("dd", null, [C("pre", null, M(e.value), 1)])], 64))), 128))])) : (O(), b(N(i), {
809
+ title: P(a).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
810
+ message: I.value
811
+ }, null, 8, ["title", "message"])) : d.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(o), {
812
812
  key: 3,
813
- description: N(r).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
814
- }, null, 8, ["description"])), Y.value && h.value && le.value ? (O(), S("section", _e, [
815
- T(N(g), {
813
+ description: P(a).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
814
+ }, null, 8, ["description"])), Y.value && d.value && le.value ? (k(), C("section", _e, [
815
+ E(P(m), {
816
816
  loading: R.value,
817
817
  onClick: xe
818
818
  }, {
819
- default: P(() => [w(M(N(r).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
819
+ default: F(() => [T(N(P(a).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
820
820
  _: 1
821
821
  }, 8, ["loading"]),
822
- C("small", null, M(N(r).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
823
- B.value ? (O(), b(N(p), {
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(l), {
824
824
  key: 0,
825
- title: N(r).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
825
+ title: P(a).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
826
826
  message: B.value
827
- }, null, 8, ["title", "message"])) : L.value ? (O(), S("dl", ve, [(O(!0), S(v, null, A(fe.value, (e) => (O(), S(v, { key: e.key }, [C("dt", null, M(e.key), 1), C("dd", null, [C("pre", null, M(e.value), 1)])], 64))), 128))])) : x("v-if", !0)
828
- ])) : x("v-if", !0)]),
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
+ ])) : S("v-if", !0)]),
829
829
  _: 1
830
830
  }, 8, [
831
831
  "open",
832
832
  "title",
833
833
  "subtitle"
834
834
  ]),
835
- T(N(ie), {
835
+ E(P(r), {
836
836
  open: V.value,
837
- title: N(r).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
837
+ title: P(a).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
838
838
  "render-mode": "inline",
839
- subtitle: N(r).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
839
+ subtitle: P(a).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
840
840
  "close-on-outside": !0,
841
- onClose: n[1] ||= (e) => V.value = !1
841
+ onClose: i[1] ||= (e) => V.value = !1
842
842
  }, {
843
- default: P(() => [W.value ? (O(), b(N(oe), {
843
+ default: F(() => [W.value ? (k(), x(P(n), {
844
844
  key: 0,
845
- tip: N(r).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
846
- }, null, 8, ["tip"])) : K.value ? (O(), b(N(p), {
845
+ tip: P(a).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
846
+ }, null, 8, ["tip"])) : K.value ? (k(), x(P(l), {
847
847
  key: 1,
848
- title: N(r).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
848
+ title: P(a).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
849
849
  message: K.value
850
- }, null, 8, ["title", "message"])) : (O(), S(v, { key: 2 }, [me.value ? (O(), S("p", ye, M(N(r).t("platform.screen.BusinessLogListDrawer.these-statistics-cover-only-the-most-recent-accessible-logs", "当前统计只覆盖可读取的最近日志。")), 1)) : x("v-if", !0), pe.value.length > 0 ? (O(), S("dl", be, [(O(!0), S(v, null, A(pe.value, (e) => (O(), S(v, { key: e.key }, [C("dt", null, M(e.kind) + " · " + M(e.title), 1), C("dd", null, M(e.count), 1)], 64))), 128))])) : (O(), b(N(i), {
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(o), {
851
851
  key: 2,
852
- description: N(r).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
852
+ description: P(a).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
853
853
  }, null, 8, ["description"]))], 64))]),
854
854
  _: 1
855
855
  }, 8, [