@ximatai/muyun-web-app 0.26.24 → 0.26.25

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 (52) hide show
  1. package/dist/{BusinessActivityLogView-DQ5_VmLp.js → BusinessActivityLogView-a6oZ2t9t.js} +2 -2
  2. package/dist/{BusinessLogListDrawer-BnucgqNA.js → BusinessLogListDrawer-DtSXpK6g.js} +170 -166
  3. package/dist/{CodeConfigurationView-CtQjmpLz.js → CodeConfigurationView-BVu1ZnH-.js} +291 -291
  4. package/dist/{ConfigurationTranslationView-BiYn2MJx.js → ConfigurationTranslationView-Cd8ezR4t.js} +39 -39
  5. package/dist/{LoginAuditLogView-BIz1LVC3.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
  6. package/dist/{ModuleActionManagementView-0_ek9yag.js → ModuleActionManagementView-y3t2YHKF.js} +161 -161
  7. package/dist/{ModuleGovernanceView-DEDF61vj.js → ModuleGovernanceView-BqJq2Pxm.js} +2501 -2501
  8. package/dist/{RequestErrorLogView-HatmiK8_.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
  9. package/dist/{RoleDetailWorkspaceView-BzzoarpR.js → RoleDetailWorkspaceView-G-5VAV_B.js} +79 -79
  10. package/dist/{RuntimeLogView-Vdt6SWK6.js → RuntimeLogView-CulSgS0l.js} +60 -60
  11. package/dist/{WorkflowAdministrationView-Dlw2ng0N.js → WorkflowAdministrationView-y8VBYMLZ.js} +154 -154
  12. package/dist/{WorkflowConfigurationView-j2xnGmkM.js → WorkflowConfigurationView-DpONX2nN.js} +293 -293
  13. package/dist/{WorkflowWorkbenchView-Nv4mvTTP.js → WorkflowWorkbenchView-CGo1eZjr.js} +235 -235
  14. package/dist/{codeConfiguration-B_z1qQvB.js → codeConfiguration-fZiz0PNC.js} +26 -26
  15. package/dist/index.css +1 -1
  16. package/dist/index.js +2195 -1562
  17. package/dist/{moduleMenuWorkspace-1N0U7QW9.js → moduleMenuWorkspace-AZ4G9BpZ.js} +233 -233
  18. package/dist/{platform-components-Xb5qgsXU.js → platform-components-D98pyZ77.js} +3584 -2996
  19. package/dist/{platform-workbench-VhgKhPLI.js → platform-workbench-BBLDvT9V.js} +5542 -5417
  20. package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +4 -1
  21. package/dist/types/app/PersonalAccessTokenDialog.vue.d.ts +15 -0
  22. package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
  23. package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
  24. package/dist/types/app/themeSkinPreference.d.ts +2 -2
  25. package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
  26. package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
  27. package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
  28. package/dist/types/consumer/index.d.ts +9 -0
  29. package/dist/types/dynamic-page-runtime/formCreateDefaults.d.ts +3 -0
  30. package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
  31. package/dist/types/platform-admin-runtime/index.d.ts +1 -1
  32. package/dist/types/platform-components/CronExpressionInput.vue.d.ts +12 -0
  33. package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
  34. package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
  35. package/dist/types/platform-components/cronExpression.d.ts +36 -0
  36. package/dist/types/platform-components/durationSeconds.d.ts +31 -0
  37. package/dist/types/platform-components/index.d.ts +6 -0
  38. package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
  39. package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
  40. package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
  41. package/dist/types/platform-workbench/index.d.ts +3 -0
  42. package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
  43. package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
  44. package/dist/types/views/businessLogClient.d.ts +2 -0
  45. package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
  46. package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
  47. package/dist/types/vue-ui-antdv/index.d.ts +1 -0
  48. package/dist/types/web-contracts/index.d.ts +16 -0
  49. package/dist/types/web-core/clients.d.ts +15 -1
  50. package/dist/{useWorkflowConfigurationContext-BLFXzHwn.js → useWorkflowConfigurationContext-BcK19EXl.js} +8 -8
  51. package/dist/{workspaceViews-Cas3PR5B.js → workspaceViews-Dr7RZXvX.js} +620 -620
  52. package/package.json +1 -1
@@ -1,4 +1,4 @@
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";
1
+ import { $r as e, A as t, Aa as n, Dn as r, In as i, Jn as a, Ln as o, Mn as s, Na as ee, Nn as c, Pn as l, Qa as u, Un as te, Wt as d, Y as f, _a as p, bn as m, hr as h, j as g, lr as ne, no as re, to as _, va as ie, vr as v, ya as ae } from "./platform-components-D98pyZ77.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 = {
@@ -112,6 +112,8 @@ function V(e) {
112
112
  tenantId: J(n.tenantId),
113
113
  operatorId: J(n.operatorId),
114
114
  operatorOrganizationId: J(n.operatorOrganizationId),
115
+ authenticationMethod: J(n.authenticationMethod),
116
+ authenticationCredentialId: J(n.authenticationCredentialId),
115
117
  operatorIdentity: K(n),
116
118
  moduleAlias: J(n.moduleAlias),
117
119
  actionCode: J(n.actionCode),
@@ -135,7 +137,7 @@ function U(e) {
135
137
  return {
136
138
  key: J(t.pageKey) ?? "unknown-page",
137
139
  title: J(t.pageKey) ?? "未知页面",
138
- ...J(t.pageKey) ? {} : { titleSource: _("platform.log.statistic.unknown-page") },
140
+ ...J(t.pageKey) ? {} : { titleSource: u("platform.log.statistic.unknown-page") },
139
141
  count: Y(t.accessCount)
140
142
  };
141
143
  }),
@@ -153,7 +155,7 @@ function U(e) {
153
155
  ].map(([e, n]) => ({
154
156
  key: e,
155
157
  title: n,
156
- titleSource: _(`platform.log.statistic.${e}`),
158
+ titleSource: u(`platform.log.statistic.${e}`),
157
159
  count: Y(t[e])
158
160
  })),
159
161
  complete: X(t.complete)
@@ -161,7 +163,7 @@ function U(e) {
161
163
  }
162
164
  function se(e, t) {
163
165
  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;
166
+ return n?.sourceKind === "CODE" && n.sourceId.startsWith("platform.log.statistic.") && _(n, e.title) ? t.t(n.sourceId, n.originalText) : e.title;
165
167
  }
166
168
  function W(e, t) {
167
169
  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,29 +235,29 @@ var ue = {
233
235
  }, 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
236
  key: 0,
235
237
  class: "business-log-retention-control__validation"
236
- }, Z = /*#__PURE__*/ h(/* @__PURE__ */ D({
238
+ }, Z = /*#__PURE__*/ v(/* @__PURE__ */ D({
237
239
  name: "BusinessLogRetentionControl",
238
240
  __name: "BusinessLogRetentionControl",
239
241
  props: { eventTypes: {} },
240
- setup(e) {
241
- let n = te(), u = e, m = i({
242
+ setup(t) {
243
+ let r = re(), u = t, f = e({
242
244
  moduleAlias: "platform.business_log_retention",
243
245
  runtimeAccess: "VIEW"
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(() => {
246
+ }), g = le(f.http), _ = A(!1), v = A([]), D = A({}), O = A(!1), I = M(), oe = b(() => I.value ? ve(I.value) : void 0), L = A(), R = A(), z = b(() => f.can("viewRetentionPolicies") === !0), B = b(() => f.can("configureRetentionPolicy") === !0), V = b(() => f.can("purgeExpiredLogs") === !0), H = b(() => L.value !== void 0 || R.value !== void 0), U = b(() => {
245
247
  let e = new Set(u.eventTypes);
246
- return _.value.filter((t) => e.has(t.eventType));
248
+ return v.value.filter((t) => e.has(t.eventType));
247
249
  }), se = b(() => U.value.some(Y));
248
250
  async function W() {
249
- z.value && (g.value = !0, await G());
251
+ z.value && (_.value = !0, await G());
250
252
  }
251
253
  async function G() {
252
254
  O.value = !0, I.value = void 0;
253
255
  try {
254
- let e = await h.policies(), t = new Set(u.eventTypes), n = e.filter((e) => t.has(e.eventType));
255
- _.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
256
+ let e = await g.policies(), t = new Set(u.eventTypes), n = e.filter((e) => t.has(e.eventType));
257
+ v.value = n.map((e) => ({ ...e })), D.value = Object.fromEntries(n.map((e) => [e.eventType, { ...e }]));
256
258
  } catch (e) {
257
- I.value = _e(e), d(e, {
258
- language: n,
259
+ I.value = _e(e), m(e, {
260
+ language: r,
259
261
  source: "business-log-retention",
260
262
  phase: "load"
261
263
  });
@@ -264,19 +266,19 @@ var ue = {
264
266
  }
265
267
  }
266
268
  async function K() {
267
- return H.value ? (c(n.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || t({
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);
269
+ return H.value ? (s(r.t("platform.screen.BusinessLogRetentionControl.a-cleanup-operation-is-in-progress-please-wait", "自动清理操作正在执行,请稍候。")), !1) : !se.value || l({
270
+ title: r.t("platform.screen.BusinessLogRetentionControl.discard-unsaved-cleanup-settings", "放弃未保存的自动清理设置?"),
271
+ content: r.t("platform.screen.BusinessLogRetentionControl.unsaved-changes-to-automatic-cleanup-and-retention-days-will-be", "关闭后,本次未保存的自动清理和保留天数修改将丢失。")
272
+ }, r);
271
273
  }
272
274
  async function q(e) {
273
275
  if (Z(e.retentionDays) && Y(e) && !H.value) {
274
276
  L.value = e.eventType;
275
277
  try {
276
- J(await h.update(e)), ne(n.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
278
+ J(await g.update(e)), c(r.t("platform.screen.BusinessLogRetentionControl.cleanup-settings-saved-for-value", "{value1}自动清理设置已保存", { value1: Q(e.eventType) }));
277
279
  } catch (e) {
278
- d(e, {
279
- language: n,
280
+ m(e, {
281
+ language: r,
280
282
  source: "business-log-retention",
281
283
  phase: "action"
282
284
  });
@@ -286,26 +288,26 @@ var ue = {
286
288
  }
287
289
  }
288
290
  async function ce(e) {
289
- if (Z(e.retentionDays) && !H.value && await t({
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) }),
291
+ if (Z(e.retentionDays) && !H.value && await l({
292
+ title: r.t("platform.screen.BusinessLogRetentionControl.clean-up-value-now", "立即清理{value1}", { value1: Q(e.eventType) }),
293
+ content: r.t("platform.screen.BusinessLogRetentionControl.logs-strictly-older-than-value-days-will-be-deleted-this", "将删除严格早于 {value1} 天的日志。本次清理不会保存对保留天数的修改,且操作不可恢复。", { value1: e.retentionDays }),
294
+ requiredText: r.t("platform.screen.BusinessLogRetentionControl.clean-up-value", "清理{value1}", { value1: Q(e.eventType) }),
293
295
  danger: !0
294
- }, n)) {
296
+ }, r)) {
295
297
  R.value = e.eventType;
296
298
  try {
297
- let t = await h.purge(e.eventType, e.retentionDays);
299
+ let t = await g.purge(e.eventType, e.retentionDays);
298
300
  if (t.result.status === "ALREADY_RUNNING") {
299
- c(n.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
301
+ s(r.t("platform.screen.BusinessLogRetentionControl.a-log-cleanup-task-is-already-running-this-request-was", "已有日志清理任务正在运行,本次未执行。"));
300
302
  return;
301
303
  }
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}", {
304
+ c(t.result.status === "BATCH_LIMIT_REACHED" ? r.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-in-this-run-remaining-records-will-be", "本轮已清理 {value1} 条,剩余数据将在后续批次继续处理", { value1: t.result.deletedCount }) : r.t("platform.screen.BusinessLogRetentionControl.deleted-value-records-from-value", "已清理 {value1} 条{value2}", {
303
305
  value1: t.result.deletedCount,
304
306
  value2: Q(e.eventType)
305
307
  }));
306
308
  } catch (e) {
307
- d(e, {
308
- language: n,
309
+ m(e, {
310
+ language: r,
309
311
  source: "business-log-retention",
310
312
  phase: "action"
311
313
  });
@@ -318,7 +320,7 @@ var ue = {
318
320
  D.value = {
319
321
  ...D.value,
320
322
  [e.eventType]: { ...e }
321
- }, _.value = _.value.map((t) => t.eventType === e.eventType ? { ...e } : t);
323
+ }, v.value = v.value.map((t) => t.eventType === e.eventType ? { ...e } : t);
322
324
  }
323
325
  function Y(e) {
324
326
  let t = D.value[e.eventType];
@@ -332,50 +334,50 @@ var ue = {
332
334
  }
333
335
  function Q(e) {
334
336
  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", "页面访问日志")
337
+ LOGIN: r.t("platform.screen.BusinessLogRetentionControl.login-audit-logs", "登录日志"),
338
+ ACTION: r.t("platform.screen.BusinessLogRetentionControl.action-logs", "动作日志"),
339
+ REQUEST_ERROR: r.t("platform.screen.BusinessLogRetentionControl.error-logs", "异常日志"),
340
+ PAGE_ACCESS: r.t("platform.screen.BusinessLogRetentionControl.page-access-logs", "页面访问日志")
339
341
  }[e];
340
342
  }
341
343
  function _e(e) {
342
- return e instanceof Error ? e : new f(ie(n, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
344
+ return e instanceof Error ? e : new p(ie(r, "platform.screen.BusinessLogRetentionControl.failed-to-load-automatic-cleanup-settings", "自动清理设置加载失败。"));
343
345
  }
344
346
  function ve(e) {
345
- return e instanceof f ? re(e, n) : s(ee(e), n);
347
+ return e instanceof p ? ae(e, r) : ee(n(e), r);
346
348
  }
347
- return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(v), {
349
+ return (e, t) => (k(), C(y, null, [z.value ? (k(), x(P(h), {
348
350
  key: 0,
349
351
  onClick: W
350
352
  }, {
351
- default: F(() => [T(N(P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
353
+ default: F(() => [T(N(P(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1)]),
352
354
  _: 1
353
- })) : S("v-if", !0), E(P(r), {
354
- open: g.value,
355
- title: P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
356
- subtitle: P(n).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
355
+ })) : S("v-if", !0), E(P(d), {
356
+ open: _.value,
357
+ title: P(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理"),
358
+ subtitle: P(r).t("platform.screen.BusinessLogRetentionControl.configure-automatic-cleanup-and-retention-for-the-current-log-type", "配置当前日志类型的自动清理和保留期限。"),
357
359
  width: "standard",
358
360
  scope: "viewport",
359
361
  "before-close": K,
360
- onClose: t[0] ||= (e) => g.value = !1
362
+ onClose: t[0] ||= (e) => _.value = !1
361
363
  }, {
362
364
  default: F(() => [O.value ? (k(), x(P(o), {
363
365
  key: 0,
364
- tip: P(n).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
365
- }, null, 8, ["tip"])) : oe.value ? (k(), x(P(a), {
366
+ tip: P(r).t("platform.screen.BusinessLogRetentionControl.loading-automatic-cleanup-settings", "加载自动清理设置")
367
+ }, null, 8, ["tip"])) : oe.value ? (k(), x(P(i), {
366
368
  key: 1,
367
- title: P(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
369
+ title: P(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup-settings-unavailable", "自动清理设置不可用"),
368
370
  message: oe.value
369
- }, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(ae), {
371
+ }, null, 8, ["title", "message"])) : U.value.length === 0 ? (k(), x(P(te), {
370
372
  key: 2,
371
- description: P(n).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
373
+ description: P(r).t("platform.screen.BusinessLogRetentionControl.no-automatic-cleanup-settings-available", "暂无可管理的自动清理设置")
372
374
  }, 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(n).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(n).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(l), {
375
+ w("header", null, [w("div", null, [w("h3", null, N(Q(e.eventType)), 1), e.updatedAt ? (k(), C("small", de, [T(N(P(r).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(r).t("platform.screen.BusinessLogRetentionControl.automatic-cleanup", "自动清理")), 1), E(P(a), {
374
376
  checked: e.automaticCleanupEnabled,
375
377
  "onUpdate:checked": (t) => e.automaticCleanupEnabled = t,
376
378
  disabled: !B.value || H.value,
377
- "checked-text": P(n).t("platform.screen.WorkflowWorkbenchView.enabled", "启用"),
378
- "unchecked-text": P(n).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")
379
+ "checked-text": P(r).t("platform.screen.WorkflowWorkbenchView.enabled", "启用"),
380
+ "unchecked-text": P(r).t("platform.screen.WorkflowWorkbenchView.disabled", "停用")
379
381
  }, null, 8, [
380
382
  "checked",
381
383
  "onUpdate:checked",
@@ -384,42 +386,42 @@ var ue = {
384
386
  "unchecked-text"
385
387
  ])])]),
386
388
  w("div", pe, [w("label", me, [
387
- w("span", null, N(P(n).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
388
- w("span", he, [E(P(p), {
389
+ w("span", null, N(P(r).t("platform.screen.BusinessLogRetentionControl.retention-days", "保留天数")), 1),
390
+ w("span", he, [E(P(ne), {
389
391
  value: e.retentionDays,
390
392
  type: "number",
391
393
  disabled: !B.value || H.value,
392
- "aria-label": P(n).t("platform.screen.BusinessLogRetentionControl.retention-days-for-value", "{value1}保留天数", { value1: Q(e.eventType) }),
394
+ "aria-label": P(r).t("platform.screen.BusinessLogRetentionControl.retention-days-for-value", "{value1}保留天数", { value1: Q(e.eventType) }),
393
395
  "onUpdate:value": (t) => X(e, t)
394
396
  }, null, 8, [
395
397
  "value",
396
398
  "disabled",
397
399
  "aria-label",
398
400
  "onUpdate:value"
399
- ]), V.value ? (k(), x(P(v), {
401
+ ]), V.value ? (k(), x(P(h), {
400
402
  key: 0,
401
403
  intent: "danger",
402
404
  disabled: H.value || !Z(e.retentionDays),
403
405
  loading: R.value === e.eventType,
404
406
  onClick: (t) => ce(e)
405
407
  }, {
406
- default: F(() => [T(N(P(n).t("platform.screen.BusinessLogRetentionControl.clean-up-now", "立即清理")), 1)]),
408
+ default: F(() => [T(N(P(r).t("platform.screen.BusinessLogRetentionControl.clean-up-now", "立即清理")), 1)]),
407
409
  _: 1
408
410
  }, 8, [
409
411
  "disabled",
410
412
  "loading",
411
413
  "onClick"
412
414
  ])) : S("v-if", !0)]),
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))
415
+ Z(e.retentionDays) ? S("v-if", !0) : (k(), C("small", ge, N(P(r).t("platform.screen.BusinessLogRetentionControl.enter-an-integer-from-1-to-36500", "请输入 1 至 36500 之间的整数。")), 1))
414
416
  ])]),
415
- w("footer", null, [B.value ? (k(), x(P(v), {
417
+ w("footer", null, [B.value ? (k(), x(P(h), {
416
418
  key: 0,
417
419
  emphasis: "primary",
418
420
  disabled: H.value || !Z(e.retentionDays) || !Y(e),
419
421
  loading: L.value === e.eventType,
420
422
  onClick: (t) => q(e)
421
423
  }, {
422
- default: F(() => [T(N(P(n).t("platform.action.save", "保存")), 1)]),
424
+ default: F(() => [T(N(P(r).t("platform.action.save", "保存")), 1)]),
423
425
  _: 1
424
426
  }, 8, [
425
427
  "disabled",
@@ -449,7 +451,7 @@ var ue = {
449
451
  }, be = {
450
452
  key: 1,
451
453
  class: "business-log-list__detail"
452
- }, xe = /*#__PURE__*/ h(/* @__PURE__ */ D({
454
+ }, xe = /*#__PURE__*/ v(/* @__PURE__ */ D({
453
455
  name: "BusinessLogListDrawer",
454
456
  __name: "BusinessLogListDrawer",
455
457
  props: {
@@ -457,29 +459,29 @@ var ue = {
457
459
  moduleAlias: {},
458
460
  title: {}
459
461
  },
460
- setup(t) {
461
- let c = te(), l = t, u = i({ moduleAlias: l.moduleAlias }), p = oe(u.http, l.surface), ne = {
462
+ setup(a) {
463
+ let s = re(), c = a, l = e({ moduleAlias: c.moduleAlias }), u = oe(l.http, c.surface), ne = {
462
464
  get title() {
463
- return c.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
465
+ return s.t("platform.screen.BusinessLogListDrawer.select-an-operator", "选择操作用户");
464
466
  },
465
467
  get placeholder() {
466
- return c.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
468
+ return s.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
467
469
  },
468
470
  get searchPlaceholder() {
469
- return c.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
471
+ return s.t("platform.screen.UserPicker.searchPlaceholder", "按账号或用户 ID 搜索");
470
472
  },
471
473
  mode: "dialog",
472
- columns: m,
473
- provider: e({
474
+ columns: g,
475
+ provider: t({
474
476
  sourceIdentity: {
475
477
  targetModuleAlias: "iam.user",
476
478
  source: {
477
479
  kind: "businessPurpose",
478
- id: `${l.moduleAlias}:operators`
480
+ id: `${c.moduleAlias}:operators`
479
481
  }
480
482
  },
481
483
  searchPage: async ({ keyword: e, pageNum: t, pageSize: n, scope: r }) => {
482
- let i = await p.operatorCandidates({
484
+ let i = await u.operatorCandidates({
483
485
  keyword: e,
484
486
  pageNum: t,
485
487
  pageSize: n,
@@ -491,27 +493,27 @@ var ue = {
491
493
  navigation: i.navigation
492
494
  };
493
495
  },
494
- resolveUsers: async (e) => (await p.operatorCandidates({ selectedIds: e })).selectedRecords
496
+ resolveUsers: async (e) => (await u.operatorCandidates({ selectedIds: e })).selectedRecords
495
497
  })
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(() => ({
498
+ }, _ = 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(() => ({
497
499
  login: ["LOGIN"],
498
500
  activity: ["ACTION", "PAGE_ACCESS"],
499
501
  "request-error": ["REQUEST_ERROR"]
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);
502
+ })[c.surface]), le = b(() => l.can("viewInternalDiagnostic") === !0), ue = b(() => ce.value.columns), de = b(() => _.value ? Oe(_.value) : []), fe = b(() => Ne(L.value)), pe = b(() => [...ke(s.t("platform.workflow-task-editor.business-action", "业务动作"), H.value), ...ke(s.t("platform.screen.BusinessLogListDrawer.page-access", "页面访问"), U.value)]), me = b(() => H.value?.complete === !1 || U.value?.complete === !1);
501
503
  async function he(e) {
502
504
  let t = e, n = t.eventId;
503
505
  if (n) {
504
- h.value = t, D.value = void 0, L.value = void 0, z.value = void 0, _.value = !0;
506
+ _.value = t, D.value = void 0, L.value = void 0, z.value = void 0, v.value = !0;
505
507
  try {
506
- h.value = await p.detail(n);
508
+ _.value = await u.detail(n);
507
509
  } catch (e) {
508
- D.value = Fe(e), d(e, {
509
- language: c,
510
+ D.value = Fe(e), m(e, {
511
+ language: s,
510
512
  source: "business-log-detail",
511
513
  phase: "load"
512
514
  });
513
515
  } finally {
514
- _.value = !1;
516
+ v.value = !1;
515
517
  }
516
518
  }
517
519
  }
@@ -519,11 +521,11 @@ var ue = {
519
521
  if (J.value && !W.value) {
520
522
  V.value = !0, W.value = !0, G.value = void 0;
521
523
  try {
522
- let e = q.value ?? Ce(), [t, n] = await Promise.all([p.actionStatistics?.(e), p.pageAccessStatistics?.(e)]);
524
+ let e = q.value ?? Ce(), [t, n] = await Promise.all([u.actionStatistics?.(e), u.pageAccessStatistics?.(e)]);
523
525
  H.value = t, U.value = n;
524
526
  } catch (e) {
525
- G.value = Fe(e), d(e, {
526
- language: c,
527
+ G.value = Fe(e), m(e, {
528
+ language: s,
527
529
  source: "business-log-statistics",
528
530
  phase: "load"
529
531
  });
@@ -533,14 +535,14 @@ var ue = {
533
535
  }
534
536
  }
535
537
  async function xe() {
536
- let e = h.value?.eventId;
537
- if (p.diagnostic && e && !R.value) {
538
+ let e = _.value?.eventId;
539
+ if (u.diagnostic && e && !R.value) {
538
540
  R.value = !0, z.value = void 0;
539
541
  try {
540
- L.value = await p.diagnostic(e);
542
+ L.value = await u.diagnostic(e);
541
543
  } catch (e) {
542
- z.value = Fe(e), d(e, {
543
- language: c,
544
+ z.value = Fe(e), m(e, {
545
+ language: s,
544
546
  source: "business-log-diagnostic",
545
547
  phase: "load"
546
548
  });
@@ -580,38 +582,40 @@ var ue = {
580
582
  }
581
583
  function Ee(e) {
582
584
  return {
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", "平台回写")
585
+ BUSINESS: s.t("platform.screen.BusinessLogListDrawer.business-data-write", "业务写入"),
586
+ ACTION: s.t("platform.workflow-task-editor.business-action", "业务动作"),
587
+ SYSTEM: s.t("platform.screen.BusinessLogListDrawer.system-processing", "系统处理"),
588
+ WRITE_BACK: s.t("platform.screen.BusinessLogListDrawer.platform-write-back", "平台回写")
587
589
  }[e ?? ""] ?? e ?? "—";
588
590
  }
589
591
  function De(e) {
590
592
  return {
591
- SUCCESS: c.t("platform.screen.BusinessLogListDrawer.success", "成功"),
592
- FAILURE: c.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
593
- REJECTED: c.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
593
+ SUCCESS: s.t("platform.screen.BusinessLogListDrawer.success", "成功"),
594
+ FAILURE: s.t("platform.screen.BusinessLogListDrawer.failure", "失败"),
595
+ REJECTED: s.t("platform.screen.BusinessLogListDrawer.rejected", "拒绝")
594
596
  }[e ?? ""] ?? e ?? "—";
595
597
  }
596
598
  function Oe(e) {
597
599
  return [
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],
600
+ [s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"), e.occurredAt],
601
+ [s.t("platform.screen.BusinessLogListDrawer.event-type", "事件类型"), e.eventType],
602
+ [s.t("platform.screen.BusinessLogListDrawer.outcome", "结果"), e.outcome],
603
+ [s.t("platform.user-picker.column.employee-name", "职员姓名"), e.operatorIdentity?.employeeName],
604
+ [s.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"), e.operatorIdentity?.username ?? e.operatorId],
605
+ [s.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"), Ae(e)],
606
+ [s.t("platform.screen.BusinessLogListDrawer.user-id", "用户 ID"), e.operatorId],
607
+ [s.t("platform.user-picker.axis.organization", "机构"), e.operatorIdentity?.organizationName],
608
+ [s.t("platform.screen.BusinessLogListDrawer.organization-id", "机构 ID"), e.operatorIdentity?.organizationId ?? e.operatorOrganizationId],
609
+ [s.t("platform.user-picker.axis.department", "部门"), e.operatorIdentity?.departmentName],
610
+ [s.t("platform.screen.BusinessLogListDrawer.department-id", "部门 ID"), e.operatorIdentity?.departmentId],
611
+ [s.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"), e.moduleAlias],
612
+ [s.t("platform.governance.tab.actions", "动作"), e.actionCode],
613
+ [s.t("platform.screen.BusinessLogListDrawer.entity", "实体"), e.entityAlias],
614
+ [s.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"), e.recordId],
615
+ [s.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"), Ee(e.mutationSource)],
616
+ [s.t("platform.access-tokens.auth-method", "认证方式"), e.authenticationMethod],
617
+ [s.t("platform.access-tokens.credential-id", "凭据 ID"), e.authenticationCredentialId],
618
+ [s.t("platform.screen.BusinessLogListDrawer.trace-id", "追踪 ID"), e.traceId],
615
619
  ...Ne(e.details, [
616
620
  "outcome",
617
621
  "entityAlias",
@@ -627,7 +631,7 @@ var ue = {
627
631
  return (t?.items ?? []).map((t) => ({
628
632
  key: `${e}:${t.key}`,
629
633
  kind: e,
630
- title: se(t, c),
634
+ title: se(t, s),
631
635
  count: t.count
632
636
  }));
633
637
  }
@@ -637,7 +641,7 @@ var ue = {
637
641
  function je() {
638
642
  return [{
639
643
  key: "detail",
640
- title: c.t("platform.screen.PageCompositionEditor.details", "详情"),
644
+ title: s.t("platform.screen.PageCompositionEditor.details", "详情"),
641
645
  primary: !0,
642
646
  iconName: "eye"
643
647
  }];
@@ -659,99 +663,99 @@ var ue = {
659
663
  return e == null || e === "" ? "—" : typeof e == "string" ? e : JSON.stringify(e, null, 2);
660
664
  }
661
665
  function Fe(e) {
662
- return e instanceof Error ? e : new f(ie(c, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
666
+ return e instanceof Error ? e : new p(ie(s, "platform.screen.BusinessLogListDrawer.the-request-did-not-complete-try-again-later", "请求未完成,请稍后重试。"));
663
667
  }
664
668
  let Ie = b(() => ({
665
669
  login: { columns: [
666
670
  {
667
671
  key: "outcome",
668
- title: c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
672
+ title: s.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
669
673
  width: "96px"
670
674
  },
671
675
  {
672
676
  key: "occurredAt",
673
- title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
677
+ title: s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
674
678
  width: "176px"
675
679
  },
676
680
  {
677
681
  key: "loginAccount",
678
- title: c.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
682
+ title: s.t("platform.screen.CurrentUserProfileDialog.sign-in-account", "登录账号"),
679
683
  width: "200px"
680
684
  }
681
685
  ] },
682
686
  activity: { columns: [
683
687
  {
684
688
  key: "outcome",
685
- title: c.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
689
+ title: s.t("platform.screen.BusinessLogListDrawer.outcome", "结果"),
686
690
  width: "96px"
687
691
  },
688
692
  {
689
693
  key: "occurredAt",
690
- title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
694
+ title: s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
691
695
  width: "176px"
692
696
  },
693
697
  {
694
698
  key: "username",
695
- title: c.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
699
+ title: s.t("platform.screen.BusinessLogListDrawer.operator", "操作用户"),
696
700
  width: "160px"
697
701
  },
698
702
  {
699
703
  key: "moduleAlias",
700
- title: c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
704
+ title: s.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
701
705
  width: "190px"
702
706
  },
703
707
  {
704
708
  key: "actionCode",
705
- title: c.t("platform.governance.tab.actions", "动作"),
709
+ title: s.t("platform.governance.tab.actions", "动作"),
706
710
  width: "150px"
707
711
  },
708
712
  {
709
713
  key: "recordId",
710
- title: c.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
714
+ title: s.t("platform.screen.BusinessLogListDrawer.record-id", "记录 ID"),
711
715
  width: "170px"
712
716
  },
713
717
  {
714
718
  key: "mutationSource",
715
- title: c.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
719
+ title: s.t("platform.screen.BusinessLogListDrawer.change-source", "变更来源"),
716
720
  width: "120px"
717
721
  }
718
722
  ] },
719
723
  "request-error": { columns: [
720
724
  {
721
725
  key: "occurredAt",
722
- title: c.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
726
+ title: s.t("platform.screen.BusinessLogListDrawer.occurred-at", "发生时间"),
723
727
  width: "176px"
724
728
  },
725
729
  {
726
730
  key: "moduleAlias",
727
- title: c.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
731
+ title: s.t("platform.screen.WorkflowWorkbenchView.business-module", "业务模块"),
728
732
  width: "190px"
729
733
  },
730
734
  {
731
735
  key: "errorCode",
732
- title: c.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
736
+ title: s.t("platform.screen.BusinessLogListDrawer.error-code", "错误码"),
733
737
  width: "150px"
734
738
  },
735
739
  {
736
740
  key: "httpStatus",
737
- title: c.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
741
+ title: s.t("platform.screen.BusinessLogListDrawer.http-status", "HTTP 状态"),
738
742
  width: "112px"
739
743
  },
740
744
  {
741
745
  key: "summary",
742
- title: c.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
746
+ title: s.t("platform.screen.BusinessLogListDrawer.error-summary", "错误摘要"),
743
747
  width: "260px"
744
748
  }
745
749
  ] }
746
750
  }));
747
751
  function Le(e) {
748
- return e instanceof f ? re(e, c) : s(ee(e), c);
752
+ return e instanceof p ? ae(e, s) : ee(n(e), s);
749
753
  }
750
- return (e, i) => (k(), C(y, null, [
751
- E(P(g), {
754
+ return (e, t) => (k(), C(y, null, [
755
+ E(P(f), {
752
756
  class: "business-log-list",
753
- context: P(u),
754
- title: t.title,
757
+ context: P(l),
758
+ title: a.title,
755
759
  columns: ue.value,
756
760
  "row-key": "eventId",
757
761
  "show-recycle-bin": !1,
@@ -762,23 +766,23 @@ var ue = {
762
766
  100
763
767
  ],
764
768
  "reference-picker-of": we,
765
- "empty-description": P(c).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
769
+ "empty-description": P(s).t("platform.screen.BusinessLogListDrawer.no-logs-match-the-criteria", "暂无符合条件的日志"),
766
770
  "row-actions-of": je,
767
- "row-actions-title": P(c).t("platform.screen.RecordPermissionDialog.operation", "操作"),
771
+ "row-actions-title": P(s).t("platform.screen.RecordPermissionDialog.operation", "操作"),
768
772
  "action-column-width": "88px",
769
773
  onRecordActivate: he,
770
774
  onRowAction: Me,
771
775
  onQueried: Se
772
776
  }, {
773
- operations: F(() => [J.value ? (k(), x(P(v), {
777
+ operations: F(() => [J.value ? (k(), x(P(h), {
774
778
  key: 0,
775
779
  loading: W.value,
776
780
  onClick: ge
777
781
  }, {
778
- default: F(() => [T(N(P(c).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
782
+ default: F(() => [T(N(P(s).t("platform.screen.BusinessLogListDrawer.usage-statistics", "使用统计")), 1)]),
779
783
  _: 1
780
784
  }, 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(n), {
785
+ cell: F(({ column: e, record: t }) => [e.key === "occurredAt" ? (k(), x(P(r), {
782
786
  key: 0,
783
787
  value: t.occurredAt
784
788
  }, null, 8, ["value"])) : (k(), C("span", {
@@ -793,36 +797,36 @@ var ue = {
793
797
  "empty-description",
794
798
  "row-actions-title"
795
799
  ]),
796
- E(P(r), {
797
- open: !!h.value,
798
- title: P(c).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: t.title }),
800
+ E(P(d), {
801
+ open: !!_.value,
802
+ title: P(s).t("platform.screen.BusinessLogListDrawer.value-details", "{value1}详情", { value1: a.title }),
799
803
  "render-mode": "inline",
800
- subtitle: h.value ? h.value.operatorIdentity?.employeeName ?? h.value.operatorIdentity?.username ?? h.value.operatorId : void 0,
804
+ subtitle: _.value ? _.value.operatorIdentity?.employeeName ?? _.value.operatorIdentity?.username ?? _.value.operatorId : void 0,
801
805
  "close-on-outside": !0,
802
- onClose: i[0] ||= (e) => h.value = void 0
806
+ onClose: t[0] ||= (e) => _.value = void 0
803
807
  }, {
804
- default: F(() => [_.value ? (k(), x(P(o), {
808
+ default: F(() => [v.value ? (k(), x(P(o), {
805
809
  key: 0,
806
- tip: P(c).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
807
- }, null, 8, ["tip"])) : I.value ? (k(), x(P(a), {
810
+ tip: P(s).t("platform.screen.BusinessLogListDrawer.loading-details", "加载详情")
811
+ }, null, 8, ["tip"])) : I.value ? (k(), x(P(i), {
808
812
  key: 1,
809
- title: P(c).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
813
+ title: P(s).t("platform.screen.BusinessLogListDrawer.failed-to-load-log-details", "日志详情加载失败"),
810
814
  message: I.value
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), {
815
+ }, null, 8, ["title", "message"])) : _.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(te), {
812
816
  key: 3,
813
- description: P(c).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
814
- }, null, 8, ["description"])), Y.value && h.value && le.value ? (k(), C("section", _e, [
815
- E(P(v), {
817
+ description: P(s).t("platform.screen.BusinessLogListDrawer.no-log-selected", "未选择日志")
818
+ }, null, 8, ["description"])), Y.value && _.value && le.value ? (k(), C("section", _e, [
819
+ E(P(h), {
816
820
  loading: R.value,
817
821
  onClick: xe
818
822
  }, {
819
- default: F(() => [T(N(P(c).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
823
+ default: F(() => [T(N(P(s).t("platform.screen.BusinessLogListDrawer.view-internal-diagnostics", "查看内部诊断")), 1)]),
820
824
  _: 1
821
825
  }, 8, ["loading"]),
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), {
826
+ w("small", null, N(P(s).t("platform.screen.BusinessLogListDrawer.only-administrators-with-platform-wide-scope-can-view-this-information", "仅具备平台范围的管理员可查看。")), 1),
827
+ B.value ? (k(), x(P(i), {
824
828
  key: 0,
825
- title: P(c).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
829
+ title: P(s).t("platform.screen.BusinessLogListDrawer.internal-diagnostics-unavailable", "内部诊断不可用"),
826
830
  message: B.value
827
831
  }, 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
832
  ])) : S("v-if", !0)]),
@@ -832,24 +836,24 @@ var ue = {
832
836
  "title",
833
837
  "subtitle"
834
838
  ]),
835
- E(P(r), {
839
+ E(P(d), {
836
840
  open: V.value,
837
- title: P(c).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
841
+ title: P(s).t("platform.screen.BusinessLogListDrawer.business-activity-usage-statistics", "业务活动使用统计"),
838
842
  "render-mode": "inline",
839
- subtitle: P(c).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
843
+ subtitle: P(s).t("platform.screen.BusinessLogListDrawer.statistics-follow-the-current-query-criteria-and-the-signed-in", "统计口径遵循当前标准查询条件与登录账号的数据范围。"),
840
844
  "close-on-outside": !0,
841
- onClose: i[1] ||= (e) => V.value = !1
845
+ onClose: t[1] ||= (e) => V.value = !1
842
846
  }, {
843
847
  default: F(() => [W.value ? (k(), x(P(o), {
844
848
  key: 0,
845
- tip: P(c).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
846
- }, null, 8, ["tip"])) : K.value ? (k(), x(P(a), {
849
+ tip: P(s).t("platform.screen.BusinessLogListDrawer.loading-usage-statistics", "加载使用统计")
850
+ }, null, 8, ["tip"])) : K.value ? (k(), x(P(i), {
847
851
  key: 1,
848
- title: P(c).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
852
+ title: P(s).t("platform.screen.BusinessLogListDrawer.failed-to-load-usage-statistics", "使用统计加载失败"),
849
853
  message: K.value
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), {
854
+ }, null, 8, ["title", "message"])) : (k(), C(y, { key: 2 }, [me.value ? (k(), C("p", ye, N(P(s).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(te), {
851
855
  key: 2,
852
- description: P(c).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
856
+ description: P(s).t("platform.screen.BusinessLogListDrawer.no-business-activity-available-for-statistics", "暂无可统计的业务活动")
853
857
  }, null, 8, ["description"]))], 64))]),
854
858
  _: 1
855
859
  }, 8, [
@@ -859,6 +863,6 @@ var ue = {
859
863
  ])
860
864
  ], 64));
861
865
  }
862
- }), [["__scopeId", "data-v-daa601a0"]]);
866
+ }), [["__scopeId", "data-v-ed2c89e3"]]);
863
867
  //#endregion
864
868
  export { xe as t };