@ximatai/muyun-web-app 0.26.27 → 0.26.28

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 (61) hide show
  1. package/dist/{BusinessActivityLogView-Bbe-GbNG.js → BusinessActivityLogView-DlNB97pu.js} +2 -2
  2. package/dist/BusinessLogListDrawer-ByiwQP1m.js +868 -0
  3. package/dist/CodeConfigurationView-91B9dHjD.js +2333 -0
  4. package/dist/{ConfigurationTranslationView-B3Cr9Wes.js → ConfigurationTranslationView-ClovkYJt.js} +49 -49
  5. package/dist/{LoginAuditLogView-DOwkqtVB.js → LoginAuditLogView-Blg9giRX.js} +2 -2
  6. package/dist/{ModuleActionManagementView-DNXAhdXk.js → ModuleActionManagementView-Chr_XTJ3.js} +191 -191
  7. package/dist/{ModuleGovernanceView-g5W2R_Zl.js → ModuleGovernanceView-BNlRHqSj.js} +3403 -3421
  8. package/dist/{RequestErrorLogView-9GIz2mkQ.js → RequestErrorLogView-CGczIKQy.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-CPH9cga9.js +1435 -0
  10. package/dist/{RuntimeLogView-C5i19Z-u.js → RuntimeLogView-DF-1k-9y.js} +51 -51
  11. package/dist/{WorkflowAdministrationView-CnoTudpI.js → WorkflowAdministrationView-CCXry0G4.js} +57 -57
  12. package/dist/WorkflowConfigurationView-BqSfYua2.js +2227 -0
  13. package/dist/{WorkflowWorkbenchView-DbWqspEB.js → WorkflowWorkbenchView-DUFfO3Gf.js} +248 -248
  14. package/dist/{codeConfiguration-Bno8cWxB.js → codeConfiguration-BRxveKen.js} +66 -49
  15. package/dist/configurationEditorNavigation-DeXvfJyr.js +15 -0
  16. package/dist/formulaReferences-CKkkdA_R.js +23 -0
  17. package/dist/index.css +1 -1
  18. package/dist/index.js +727 -727
  19. package/dist/{moduleMenuWorkspace-DW13bHG5.js → moduleMenuWorkspace-D_A94ZgR.js} +237 -248
  20. package/dist/{platform-components-D3NvMY3T.js → platform-components-DSMqalgQ.js} +4535 -4455
  21. package/dist/{platform-workbench-C4OFiuG5.js → platform-workbench-B53hydzq.js} +5376 -5289
  22. package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +2 -0
  23. package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +28 -3
  24. package/dist/types/dynamic-page-runtime/ModuleReferenceRecordDetailBrowser.vue.d.ts +13 -4
  25. package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +2 -0
  26. package/dist/types/dynamic-page-runtime/recordFormAssistantCapabilities.d.ts +3 -1
  27. package/dist/types/dynamic-page-runtime/recordFormDraftAccess.d.ts +2 -0
  28. package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +1 -0
  29. package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +2 -0
  30. package/dist/types/platform-components/ReferenceRecordDetailBrowser.vue.d.ts +10 -0
  31. package/dist/types/platform-components/index.d.ts +2 -2
  32. package/dist/types/platform-components/optionFieldOptionCache.d.ts +11 -1
  33. package/dist/types/platform-components/recordFormFieldModel.d.ts +1 -0
  34. package/dist/types/platform-components/referenceRecordDetailBrowser.d.ts +13 -1
  35. package/dist/types/platform-components/useWorkflowDesignSession.d.ts +141 -0
  36. package/dist/types/platform-components/workflowDesignEditing.d.ts +8 -7
  37. package/dist/types/platform-components/workflowDesignOperations.d.ts +107 -0
  38. package/dist/types/views/CodeRuleRecoveryPanel.vue.d.ts +20 -0
  39. package/dist/types/views/businessRuleGovernance.d.ts +1 -2
  40. package/dist/types/views/codeConfiguration.d.ts +29 -1
  41. package/dist/types/views/codeConfigurationAssistantSurface.d.ts +17 -0
  42. package/dist/types/views/codeRuleSaveRecovery.d.ts +12 -0
  43. package/dist/types/views/useCodeConfigurationAssistant.d.ts +10 -0
  44. package/dist/types/views/useCodeConfigurationSession.d.ts +16 -0
  45. package/dist/types/views/useWorkflowConfigurationAssistant.d.ts +16 -0
  46. package/dist/types/views/useWorkflowConfigurationContext.d.ts +16 -2
  47. package/dist/types/views/useWorkflowConfigurationSession.d.ts +146 -0
  48. package/dist/types/views/workflowConfigurationAssistantSurface.d.ts +169 -0
  49. package/dist/types/views/workflowSaveRecovery.d.ts +11 -0
  50. package/dist/types/vue-ui-antdv/components/sidePanelHost.d.ts +3 -1
  51. package/dist/types/vue-ui-antdv/index.d.ts +1 -0
  52. package/dist/types/web-core/formulaReferences.d.ts +2 -0
  53. package/dist/types/web-core/workflow.d.ts +11 -1
  54. package/dist/useWorkflowConfigurationContext-BuBDdUcQ.js +78 -0
  55. package/dist/{workspaceViews-D2Uh4KAq.js → workspaceViews-BSVtjZj1.js} +680 -680
  56. package/package.json +1 -1
  57. package/dist/BusinessLogListDrawer-BmF-14We.js +0 -868
  58. package/dist/CodeConfigurationView-DdPfBjoC.js +0 -1667
  59. package/dist/RoleDetailWorkspaceView-BuqRT0pd.js +0 -1435
  60. package/dist/WorkflowConfigurationView-Cku-F1Fm.js +0 -980
  61. package/dist/useWorkflowConfigurationContext-eQKyqe6_.js +0 -66
@@ -1,9 +1,9 @@
1
- import { $r as e, Da as t, Dn as n, In as r, La as i, Pa as a, Qa as o, Un as ee, Wt as te, Y as ne, ba as s, bn as c, eo as l, gr as u, hr as re, ja as ie, mn as ae, no as oe, oo as d, ro as f, va as p, vr as m, ya as h } from "./platform-components-D3NvMY3T.js";
1
+ import { Gn as e, Ia as t, Kt as n, Na as r, Rn as i, Sa as a, Sn as o, Y as ee, _r as s, ao as te, ba as c, br as l, co as u, eo as ne, gn as re, io as ie, ka as d, kn as ae, no as f, ti as p, vr as m, xa as h, za as oe } from "./platform-components-DSMqalgQ.js";
2
2
  import { computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, nextTick as w, onBeforeUnmount as T, openBlock as E, ref as D, shallowRef as O, toDisplayString as k, unref as A, watch as se, withCtx as j } from "vue";
3
3
  //#region src/views/runtimeLogClient.ts
4
4
  var M = "/platform.runtime_log";
5
- function ce(e, t = l) {
6
- if (!d(e)) throw new p(h(t, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
5
+ function ce(e, t = f) {
6
+ if (!u(e)) throw new c(h(t, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
7
7
  return {
8
8
  download(t) {
9
9
  return e.stream({
@@ -24,21 +24,21 @@ function ce(e, t = l) {
24
24
  }
25
25
  //#endregion
26
26
  //#region src/views/runtimeLogSse.ts
27
- var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view__header-actions" }, fe = { key: 2 }, pe = { key: 3 }, me = { class: "runtime-log-view__row-actions" }, he = {
27
+ var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view__header-actions" }, fe = { key: 2 }, pe = { key: 3 }, me = { class: "runtime-log-view__row-actions" }, he = {
28
28
  key: 0,
29
29
  class: "runtime-log-view__content"
30
- }, ge = 500, N = /*#__PURE__*/ m(/* @__PURE__ */ C({
30
+ }, ge = 500, N = /*#__PURE__*/ l(/* @__PURE__ */ C({
31
31
  name: "RuntimeLogView",
32
32
  __name: "RuntimeLogView",
33
- setup(t) {
34
- let l = f(), d = e({ moduleAlias: "platform.runtime_log" }), m = ce(d.http, l), C = O(), M = g(() => C.value ? $(C.value) : void 0), N = D(), P = D(!1), F = D(), I = D(""), L = D("closed"), R = O(), z = D(), B = D(!0), V = 0, H, U, W = 0, _e = g(() => {
33
+ setup(l) {
34
+ let u = te(), d = p({ moduleAlias: "platform.runtime_log" }), f = ce(d.http, u), C = O(), M = g(() => C.value ? $(C.value) : void 0), N = D(), P = D(!1), F = D(), I = D(""), L = D("closed"), R = O(), z = D(), B = D(!0), V = 0, H, U, W = 0, _e = g(() => {
35
35
  let e = R.value;
36
- return e ? typeof e == "string" ? e : e instanceof Error ? $(e) : l.t(e.source.sourceId, e.source.originalText, e.args) : {
37
- connecting: l.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
38
- live: l.t("platform.screen.RuntimeLogView.updating-live", "正在实时更新"),
39
- rotated: l.t("platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnect", "日志文件已轮转,请重新连接。"),
40
- error: l.t("platform.screen.RuntimeLogView.the-live-log-connection-was-interrupted", "实时日志连接已中断。"),
41
- closed: l.t("platform.screen.RuntimeLogView.live-logs-closed", "实时日志已关闭。")
36
+ return e ? typeof e == "string" ? e : e instanceof Error ? $(e) : u.t(e.source.sourceId, e.source.originalText, e.args) : {
37
+ connecting: u.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
38
+ live: u.t("platform.screen.RuntimeLogView.updating-live", "正在实时更新"),
39
+ rotated: u.t("platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnect", "日志文件已轮转,请重新连接。"),
40
+ error: u.t("platform.screen.RuntimeLogView.the-live-log-connection-was-interrupted", "实时日志连接已中断。"),
41
+ closed: u.t("platform.screen.RuntimeLogView.live-logs-closed", "实时日志已关闭。")
42
42
  }[L.value];
43
43
  }), ve = g(() => [
44
44
  "closed",
@@ -47,23 +47,23 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
47
47
  ].includes(L.value)), ye = g(() => [
48
48
  {
49
49
  key: "name",
50
- title: l.t("platform.screen.RuntimeLogView.file-name", "文件名称"),
50
+ title: u.t("platform.screen.RuntimeLogView.file-name", "文件名称"),
51
51
  width: "360px"
52
52
  },
53
53
  {
54
54
  key: "sizeBytes",
55
- title: l.t("platform.screen.RuntimeLogView.file-size", "文件大小"),
55
+ title: u.t("platform.screen.RuntimeLogView.file-size", "文件大小"),
56
56
  width: "140px",
57
57
  align: "right"
58
58
  },
59
59
  {
60
60
  key: "lastModifiedAt",
61
- title: l.t("platform.screen.RuntimeLogView.last-modified", "最后修改时间"),
61
+ title: u.t("platform.screen.RuntimeLogView.last-modified", "最后修改时间"),
62
62
  width: "208px"
63
63
  },
64
64
  {
65
65
  key: "active",
66
- title: l.t("platform.screen.WorkflowWorkbenchView.status", "状态"),
66
+ title: u.t("platform.screen.WorkflowWorkbenchView.status", "状态"),
67
67
  width: "132px"
68
68
  }
69
69
  ]);
@@ -86,7 +86,7 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
86
86
  }
87
87
  async function Se(e, t) {
88
88
  try {
89
- let n = await m.activeStream(ge, t.signal);
89
+ let n = await f.activeStream(ge, t.signal);
90
90
  if (t.signal.aborted || e !== V) {
91
91
  await n.cancel();
92
92
  return;
@@ -99,10 +99,10 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
99
99
  if (e) break;
100
100
  t && a.push(i.decode(t, { stream: !0 }));
101
101
  }
102
- a.push(i.decode()), a.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value = h(l, "platform.screen.RuntimeLogView.the-live-log-connection-has-ended", "实时日志连接已结束。"));
102
+ a.push(i.decode()), a.finish(), !t.signal.aborted && e === V && L.value !== "rotated" && (L.value = "closed", R.value = h(u, "platform.screen.RuntimeLogView.the-live-log-connection-has-ended", "实时日志连接已结束。"));
103
103
  } catch (n) {
104
- !t.signal.aborted && e === V && (L.value = "error", R.value = Q(n, h(l, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), c(n, {
105
- language: l,
104
+ !t.signal.aborted && e === V && (L.value = "error", R.value = Q(n, h(u, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), o(n, {
105
+ language: u,
106
106
  source: "runtime-log-stream",
107
107
  phase: "load"
108
108
  }));
@@ -115,7 +115,7 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
115
115
  case "snapshot":
116
116
  case "reset": {
117
117
  let t = Y(e.data);
118
- I.value = X(t.text), F.value = Z(t.fileName) ?? F.value, L.value = "live", R.value = e.event === "reset" ? h(l, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
118
+ I.value = X(t.text), F.value = Z(t.fileName) ?? F.value, L.value = "live", R.value = e.event === "reset" ? h(u, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
119
119
  return;
120
120
  }
121
121
  case "append": {
@@ -125,18 +125,18 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
125
125
  }
126
126
  case "rotated": {
127
127
  let t = Y(e.data);
128
- F.value = Z(t.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value = h(l, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = h(l, "platform.screen.RuntimeLogView.the-log-file-has-rotated-again-reconnect-manually", "日志文件再次轮转,请手动重新连接。"), q());
128
+ F.value = Z(t.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value = h(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = h(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-again-reconnect-manually", "日志文件再次轮转,请手动重新连接。"), q());
129
129
  return;
130
130
  }
131
131
  case "error": {
132
132
  let t = Y(e.data);
133
133
  L.value = "error";
134
134
  let n = Z(t.message), r = t.messageSource;
135
- R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && i(r) && r.sourceKind === "CODE" && r.sourceId === "platform.runtime-log.stream-interrupted" && r.originalText === o(r.sourceId) && oe(r, n ?? "") ? {
135
+ R.value = t.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && oe(r) && r.sourceKind === "CODE" && r.sourceId === "platform.runtime-log.stream-interrupted" && r.originalText === ne(r.sourceId) && ie(r, n ?? "") ? {
136
136
  message: n,
137
137
  source: r,
138
138
  args: {}
139
- } : n ?? h(l, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
139
+ } : n ?? h(u, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
140
140
  }
141
141
  }
142
142
  }
@@ -149,11 +149,11 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
149
149
  if (!N.value) {
150
150
  N.value = e.name;
151
151
  try {
152
- let t = await Te(await m.download(e.name)), n = t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength), r = URL.createObjectURL(new Blob([n], { type: "text/plain;charset=utf-8" })), i = document.createElement("a");
152
+ let t = await Te(await f.download(e.name)), n = t.buffer.slice(t.byteOffset, t.byteOffset + t.byteLength), r = URL.createObjectURL(new Blob([n], { type: "text/plain;charset=utf-8" })), i = document.createElement("a");
153
153
  i.href = r, i.download = e.name, i.click(), window.setTimeout(() => URL.revokeObjectURL(r), 6e4);
154
154
  } catch (t) {
155
- C.value = Q(t, h(l, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), c(t, {
156
- language: l,
155
+ C.value = Q(t, h(u, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), o(t, {
156
+ language: u,
157
157
  source: "runtime-log-download",
158
158
  phase: "load"
159
159
  });
@@ -201,21 +201,21 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
201
201
  return typeof e == "string" && e ? e : void 0;
202
202
  }
203
203
  function Q(e, t) {
204
- return e instanceof Error && e.message ? e : new p(t);
204
+ return e instanceof Error && e.message ? e : new c(t);
205
205
  }
206
206
  function $(e) {
207
- return e instanceof p ? s(e, l) : a(ie(e), l);
207
+ return e instanceof c ? a(e, u) : t(r(e), u);
208
208
  }
209
- return (e, t) => (E(), y("section", ue, [
210
- M.value ? (E(), _(A(r), {
209
+ return (t, r) => (E(), y("section", ue, [
210
+ M.value ? (E(), _(A(i), {
211
211
  key: 0,
212
212
  class: "runtime-log-view__error",
213
213
  message: M.value
214
214
  }, null, 8, ["message"])) : v("v-if", !0),
215
- S(A(ne), {
215
+ S(A(ee), {
216
216
  class: "runtime-log-view__list",
217
217
  context: A(d),
218
- title: A(l).t("platform.screen.RuntimeLogView.runtime-logs", "程序日志"),
218
+ title: A(u).t("platform.screen.RuntimeLogView.runtime-logs", "程序日志"),
219
219
  columns: ye.value,
220
220
  "row-key": "name",
221
221
  "show-recycle-bin": !1,
@@ -226,36 +226,36 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
226
226
  20,
227
227
  50
228
228
  ],
229
- "empty-description": A(l).t("platform.screen.RuntimeLogView.no-log-files-available-in-the-current-log-directory", "当前日志目录中没有可用的日志文件"),
229
+ "empty-description": A(u).t("platform.screen.RuntimeLogView.no-log-files-available-in-the-current-log-directory", "当前日志目录中没有可用的日志文件"),
230
230
  "row-actions-of": () => [],
231
- "row-actions-title": A(l).t("platform.screen.RecordPermissionDialog.operation", "操作"),
231
+ "row-actions-title": A(u).t("platform.screen.RecordPermissionDialog.operation", "操作"),
232
232
  "action-column-width": "176"
233
233
  }, {
234
- operations: j(() => [b("div", de, [S(A(u), {
234
+ operations: j(() => [b("div", de, [S(A(m), {
235
235
  type: "primary",
236
236
  "icon-name": "eye",
237
237
  onClick: G
238
238
  }, {
239
- default: j(() => [x(k(A(l).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
239
+ default: j(() => [x(k(A(u).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
240
240
  _: 1
241
241
  })])]),
242
- cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(ae), {
242
+ cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(re), {
243
243
  key: 0,
244
244
  value: t.sizeBytes
245
- }, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(n), {
245
+ }, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(ae), {
246
246
  key: 1,
247
247
  value: t.lastModifiedAt
248
- }, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(t.active ? A(l).t("platform.screen.RuntimeLogView.active", "正在写入") : A(l).t("platform.workflow.archived", "已归档")), 1)) : (E(), y("span", pe, k(t[e.key]), 1))]),
249
- rowActions: j(({ record: e }) => [b("div", me, [e.active === !0 ? (E(), _(A(u), {
248
+ }, null, 8, ["value"])) : e.key === "active" ? (E(), y("span", fe, k(t.active ? A(u).t("platform.screen.RuntimeLogView.active", "正在写入") : A(u).t("platform.workflow.archived", "已归档")), 1)) : (E(), y("span", pe, k(t[e.key]), 1))]),
249
+ rowActions: j(({ record: e }) => [b("div", me, [e.active === !0 ? (E(), _(A(m), {
250
250
  key: 0,
251
251
  type: "link",
252
252
  size: "small",
253
253
  "icon-name": "eye",
254
254
  onClick: G
255
255
  }, {
256
- default: j(() => [x(k(A(l).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
256
+ default: j(() => [x(k(A(u).t("platform.screen.RuntimeLogView.view-live-logs", "实时查看")), 1)]),
257
257
  _: 1
258
- })) : v("v-if", !0), S(A(u), {
258
+ })) : v("v-if", !0), S(A(m), {
259
259
  type: "link",
260
260
  size: "small",
261
261
  "icon-name": "download",
@@ -263,7 +263,7 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
263
263
  disabled: !!N.value && N.value !== e.name,
264
264
  onClick: (t) => we(e)
265
265
  }, {
266
- default: j(() => [x(k(A(l).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
266
+ default: j(() => [x(k(A(u).t("platform.screen.SingleImageFileReferenceField.download", "下载")), 1)]),
267
267
  _: 1
268
268
  }, 8, [
269
269
  "loading",
@@ -278,20 +278,20 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
278
278
  "empty-description",
279
279
  "row-actions-title"
280
280
  ]),
281
- S(A(te), {
281
+ S(A(n), {
282
282
  open: P.value,
283
- title: F.value ? A(l).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : A(l).t("platform.screen.RuntimeLogView.live-logs", "实时日志"),
283
+ title: F.value ? A(u).t("platform.screen.RuntimeLogView.live-logs-value", "实时日志 · {value1}", { value1: F.value }) : A(u).t("platform.screen.RuntimeLogView.live-logs", "实时日志"),
284
284
  subtitle: _e.value,
285
285
  width: "standard",
286
286
  "render-mode": "inline",
287
287
  dismissal: "dismissible",
288
288
  onClose: xe
289
289
  }, {
290
- "header-actions": j(() => [ve.value ? (E(), _(A(re), {
290
+ "header-actions": j(() => [ve.value ? (E(), _(A(s), {
291
291
  key: 0,
292
292
  emphasis: "quiet",
293
293
  "icon-name": "reload",
294
- title: A(l).t("platform.screen.RuntimeLogView.reconnect", "重新连接"),
294
+ title: A(u).t("platform.screen.RuntimeLogView.reconnect", "重新连接"),
295
295
  onClick: be
296
296
  }, null, 8, ["title"])) : v("v-if", !0)]),
297
297
  default: j(() => [b("div", {
@@ -299,9 +299,9 @@ var le = t, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
299
299
  ref: z,
300
300
  class: "runtime-log-view__viewport",
301
301
  onScroll: J
302
- }, [I.value ? (E(), y("pre", he, k(I.value), 1)) : (E(), _(A(ee), {
302
+ }, [I.value ? (E(), y("pre", he, k(I.value), 1)) : (E(), _(A(e), {
303
303
  key: 1,
304
- description: L.value === "connecting" ? A(l).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : A(l).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
304
+ description: L.value === "connecting" ? A(u).t("platform.screen.RuntimeLogView.reading-the-end-of-the-log", "正在读取日志末尾内容…") : A(u).t("platform.screen.RuntimeLogView.no-log-content", "暂无日志内容")
305
305
  }, null, 8, ["description"]))], 544)]),
306
306
  _: 1
307
307
  }, 8, [
@@ -1,5 +1,5 @@
1
- import { D as e, y as t } from "./platform-workbench-C4OFiuG5.js";
2
- import { $r as n, In as r, Ir as i, Jt as a, Lr as ee, Nn as te, Pn as o, Rr as ne, Wt as s, Xr as re, bn as c, d as l, f as ie, fr as ae, gr as u, ir as oe, ln as d, lr as se, m as ce, ot as le, p as f, ro as ue, so as de, vr as fe, vt as pe, za as p } from "./platform-components-D3NvMY3T.js";
1
+ import { O as e, y as t } from "./platform-workbench-B53hydzq.js";
2
+ import { Br as n, Fn as r, In as i, Kt as a, Qr as o, Rn as s, Rr as ee, Sn as c, Va as l, Xt as u, ao as te, br as ne, d as re, dn as d, dr as ie, f as ae, lo as oe, m as se, mr as ce, or as le, ot as ue, p as f, ti as de, vr as p, vt as fe, zr as pe } from "./platform-components-DSMqalgQ.js";
3
3
  import { Fragment as me, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, openBlock as S, ref as C, renderList as he, toDisplayString as w, unref as T, watch as ge, withCtx as E } from "vue";
4
4
  //#region src/views/WorkflowAdministrationView.vue?vue&type=script&setup=true&lang.ts
5
5
  var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-query-fields" }, be = {
@@ -11,27 +11,27 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
11
11
  }, Ce = { class: "workflow-field" }, we = { class: "workflow-query-controls" }, Te = { key: 2 }, Ee = {
12
12
  key: 1,
13
13
  class: "workflow-empty-tasks"
14
- }, De = { class: "workflow-map" }, Oe = { key: 0 }, ke = { class: "workflow-field" }, D = /*#__PURE__*/ fe(/* @__PURE__ */ x({
14
+ }, De = { class: "workflow-map" }, Oe = { key: 0 }, ke = { class: "workflow-field" }, D = /*#__PURE__*/ ne(/* @__PURE__ */ x({
15
15
  name: "WorkflowAdministrationView",
16
16
  __name: "WorkflowAdministrationView",
17
- setup(fe) {
18
- let x = ue();
17
+ setup(ne) {
18
+ let x = te();
19
19
  function D(e) {
20
- return ce(e, x);
20
+ return se(e, x);
21
21
  }
22
- let O = n({ moduleAlias: "platform.workflow_admin" }), k = t(), A = C(), j = C(""), M = C(""), N = C("running"), P = C(1), F = C(!1), I = C(!1), L = C(""), R = C(""), z = C({}), B = m(() => Object.fromEntries(Object.entries(z.value).map(([e, t]) => [e, p(t.title, t.titleText, x)]))), V = m(() => A.value ? de(O.http, { "X-MuYun-Tenant-Id": A.value }) : O.http), Ae = re({
22
+ let O = de({ moduleAlias: "platform.workflow_admin" }), k = t(), A = C(), j = C(""), M = C(""), N = C("running"), P = C(1), F = C(!1), I = C(!1), L = C(""), R = C(""), z = C({}), B = m(() => Object.fromEntries(Object.entries(z.value).map(([e, t]) => [e, l(t.title, t.titleText, x)]))), V = m(() => A.value ? oe(O.http, { "X-MuYun-Tenant-Id": A.value }) : O.http), Ae = o({
23
23
  http: O.http,
24
24
  language: x,
25
25
  moduleAlias: "iam.tenant",
26
26
  runtimeAccess: "REFERENCE"
27
- }), H = C([]), U = C([]), W = C(), G = C([]), K = C([]), q = C(), J = C(""), Y = C(), X = m(() => ee(V.value)), Z = 0, je = 0;
27
+ }), H = C([]), U = C([]), W = C(), G = C([]), K = C([]), q = C(), J = C(""), Y = C(), X = m(() => pe(V.value)), Z = 0, je = 0;
28
28
  e(async (e) => {
29
- let t = new Set(e.changes.filter((e) => e.type === "configuration-translations-changed").map((e) => e.moduleAlias)), n = W.value, r = !I.value && H.value.some((e) => t.has(e.moduleAlias)), i = n && t.has(n.instance.moduleAlias), a = Object.keys(z.value).some((e) => t.has(e));
30
- if (!r && !i && !a) return;
31
- let ee = ++je, te = Z, o = I.value, s = q.value, re = k?.value?.userId;
29
+ let t = new Set(e.changes.filter((e) => e.type === "configuration-translations-changed").map((e) => e.moduleAlias)), r = W.value, i = !I.value && H.value.some((e) => t.has(e.moduleAlias)), a = r && t.has(r.instance.moduleAlias), o = Object.keys(z.value).some((e) => t.has(e));
30
+ if (!i && !a && !o) return;
31
+ let s = ++je, ee = Z, l = I.value, u = q.value, te = k?.value?.userId;
32
32
  try {
33
- let [e, t, c, l] = await Promise.all([
34
- r ? X.value.instances({
33
+ let [e, t, c, ne] = await Promise.all([
34
+ i ? X.value.instances({
35
35
  moduleAlias: j.value || void 0,
36
36
  recordId: M.value || void 0,
37
37
  instanceStatus: N.value,
@@ -40,12 +40,12 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
40
40
  pageSize: 30
41
41
  }
42
42
  }) : void 0,
43
- i && s ? X.value.bundle(s, o) : void 0,
44
- i && s ? X.value.events(s, o) : void 0,
45
- a ? ne(V.value).workbenchModules() : void 0
43
+ a && u ? X.value.bundle(u, l) : void 0,
44
+ a && u ? X.value.events(u, l) : void 0,
45
+ o ? n(V.value).workbenchModules() : void 0
46
46
  ]);
47
- if (ee !== je || te !== Z || s !== q.value || o !== I.value || re !== k?.value?.userId || (l && (z.value = Object.fromEntries(Object.entries(z.value).map(([e, t]) => {
48
- let n = l.modules[e]?.titleText;
47
+ if (s !== je || ee !== Z || u !== q.value || l !== I.value || te !== k?.value?.userId || (ne && (z.value = Object.fromEntries(Object.entries(z.value).map(([e, t]) => {
48
+ let n = ne.modules[e]?.titleText;
49
49
  return [e, f(t.titleText, n) ? {
50
50
  ...t,
51
51
  titleText: n
@@ -62,8 +62,8 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
62
62
  } : e;
63
63
  })
64
64
  };
65
- })), !n || !t || W.value?.instance.id !== n.instance.id)) return;
66
- W.value = ie(W.value, t), G.value = G.value.map((e) => {
65
+ })), !r || !t || W.value?.instance.id !== r.instance.id)) return;
66
+ W.value = ae(W.value, t), G.value = G.value.map((e) => {
67
67
  let n = t.nodes.find((t) => t.id === e.nodeInstanceId && t.nodeKey === e.nodeKey);
68
68
  return f(e.nodeTitleText, n?.nodeTitleText) ? {
69
69
  ...e,
@@ -151,7 +151,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
151
151
  if (!F.value && Y.value && q.value && J.value.trim()) {
152
152
  F.value = !0;
153
153
  try {
154
- if (!await o({
154
+ if (!await i({
155
155
  title: x.t("platform.screen.WorkflowAdministrationView.confirm-action-title", "确认{operation}?", { operation: Ve(Y.value.code) }),
156
156
  content: x.t("platform.screen.WorkflowAdministrationView.confirm-action-content", "{impact} 原因:{reason}", {
157
157
  impact: He(Y.value.code),
@@ -160,7 +160,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
160
160
  danger: !0,
161
161
  okText: x.t("platform.screen.WorkflowAdministrationView.confirm-execute", "确认执行")
162
162
  }, x)) return;
163
- await X.value.execute(q.value, Y.value.code, J.value, Y.value.taskId), te(x.t("platform.screen.WorkflowAdministrationView.operation-completed", "运维操作已完成并记录审计")), await Q();
163
+ await X.value.execute(q.value, Y.value.code, J.value, Y.value.taskId), r(x.t("platform.screen.WorkflowAdministrationView.operation-completed", "运维操作已完成并记录审计")), await Q();
164
164
  } catch (e) {
165
165
  c(e, {
166
166
  source: "workflow-admin",
@@ -171,16 +171,16 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
171
171
  }
172
172
  }
173
173
  }
174
- ge(A, async (e, t, n) => {
175
- let r = !0;
176
- n(() => {
177
- r = !1;
174
+ ge(A, async (e, t, r) => {
175
+ let i = !0;
176
+ r(() => {
177
+ i = !1;
178
178
  }), z.value = {}, j.value = "", M.value = "", P.value = 1;
179
179
  try {
180
- let e = await ne(V.value).workbenchModules();
181
- r && (z.value = e.modules ?? {});
180
+ let e = await n(V.value).workbenchModules();
181
+ i && (z.value = e.modules ?? {});
182
182
  } catch (e) {
183
- r && c(e, {
183
+ i && c(e, {
184
184
  source: "workflow-module-titles",
185
185
  phase: "load"
186
186
  });
@@ -205,7 +205,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
205
205
  moduleTitle: B.value[e.moduleAlias] ?? e.moduleAlias,
206
206
  status: D(e.instanceStatus),
207
207
  approval: D(e.approvalStatus),
208
- active: e.activeNodeLabels?.length ? e.activeNodeLabels.map((e) => p(e.title, e.titleText, x)).join("、") : e.activeNodeTitles.join("、"),
208
+ active: e.activeNodeLabels?.length ? e.activeNodeLabels.map((e) => l(e.title, e.titleText, x)).join("、") : e.activeNodeTitles.join("、"),
209
209
  assignees: e.currentAssigneeTitles.join("、"),
210
210
  starter: e.startedByTitle,
211
211
  urgency: D(e.overtimeStatus)
@@ -284,11 +284,11 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
284
284
  taskId: t
285
285
  }, J.value = "";
286
286
  }
287
- i(() => x.t("platform.screen.WorkflowAdministrationView.workflow-administration", "工作流运维"), () => !!(Y.value && J.value.trim()), () => F.value);
287
+ ee(() => x.t("platform.screen.WorkflowAdministrationView.workflow-administration", "工作流运维"), () => !!(Y.value && J.value.trim()), () => F.value);
288
288
  async function $() {
289
289
  if (F.value) return !1;
290
290
  let e = Y.value, t = Z;
291
- return (!J.value.trim() || await o({
291
+ return (!J.value.trim() || await i({
292
292
  title: x.t("platform.screen.WorkflowAdministrationView.discard-operation", "放弃未执行的运维操作?"),
293
293
  danger: !0,
294
294
  okText: x.t("platform.screen.WorkflowAdministrationView.discard", "放弃填写")
@@ -301,7 +301,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
301
301
  return e.title ?? e.id ?? "";
302
302
  }
303
303
  return (e, t) => (S(), _("section", _e, [
304
- b(T(pe), {
304
+ b(T(fe), {
305
305
  tabs: [{
306
306
  key: "current",
307
307
  title: T(x).t("platform.screen.WorkflowAdministrationView.current-instances", "当前实例")
@@ -321,13 +321,13 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
321
321
  "label",
322
322
  "disabled"
323
323
  ]),
324
- L.value ? (S(), h(T(r), {
324
+ L.value ? (S(), h(T(s), {
325
325
  key: 0,
326
326
  title: T(x).t("platform.screen.WorkflowAdministrationView.unable-to-load-workflows", "无法加载流程"),
327
327
  message: L.value
328
328
  }, null, 8, ["title", "message"])) : g("v-if", !0),
329
329
  I.value && !j.value ? (S(), _("p", ve, w(T(x).t("platform.screen.WorkflowAdministrationView.select-a-business-module-to-view-archived", "选择业务模块后查看归档流程。")), 1)) : g("v-if", !0),
330
- b(T(a), {
330
+ b(T(u), {
331
331
  title: T(x).t("platform.screen.WorkflowAdministrationView.workflow-administration", "工作流运维"),
332
332
  subtitle: T(x).t("platform.screen.WorkflowAdministrationView.a-reason-is-required-for-exception-handling-all-operations-are", "异常处理需要明确原因,所有操作记录审计"),
333
333
  columns: Le.value,
@@ -345,7 +345,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
345
345
  onRowClick: t[7] ||= (e) => Ne(String(e.id)),
346
346
  onPageChange: t[8] ||= (e) => P.value = e
347
347
  }, {
348
- operations: E(() => [b(T(u), {
348
+ operations: E(() => [b(T(p), {
349
349
  loading: F.value,
350
350
  onClick: Me
351
351
  }, {
@@ -356,7 +356,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
356
356
  T(k)?.system ? (S(), _("label", be, [b(T(d), null, {
357
357
  default: E(() => [y(w(T(x).t("platform.screen.WorkflowAdministrationView.business-tenant", "业务租户")), 1)]),
358
358
  _: 1
359
- }), b(T(le), {
359
+ }), b(T(ue), {
360
360
  value: A.value,
361
361
  "onUpdate:value": t[1] ||= (e) => A.value = e,
362
362
  context: T(Ae),
@@ -371,7 +371,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
371
371
  v("label", xe, [b(T(d), { required: I.value }, {
372
372
  default: E(() => [y(w(T(x).t("platform.screen.WorkflowAdministrationView.business-module", "业务模块")), 1)]),
373
373
  _: 1
374
- }, 8, ["required"]), b(T(ae), {
374
+ }, 8, ["required"]), b(T(ce), {
375
375
  value: j.value,
376
376
  "onUpdate:value": t[2] ||= (e) => j.value = e,
377
377
  disabled: F.value || !!Y.value,
@@ -390,7 +390,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
390
390
  I.value ? g("v-if", !0) : (S(), _("label", Se, [b(T(d), null, {
391
391
  default: E(() => [y(w(T(x).t("platform.screen.WorkflowAdministrationView.workflow-status", "流程状态")), 1)]),
392
392
  _: 1
393
- }), b(T(ae), {
393
+ }), b(T(ce), {
394
394
  value: N.value,
395
395
  "onUpdate:value": t[3] ||= (e) => N.value = e,
396
396
  disabled: F.value || !!Y.value,
@@ -421,7 +421,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
421
421
  "disabled",
422
422
  "options"
423
423
  ])])),
424
- v("label", Ce, [y(w(T(x).t("platform.screen.WorkflowAdministrationView.business-record-identifier", "业务记录标识")), 1), b(T(se), {
424
+ v("label", Ce, [y(w(T(x).t("platform.screen.WorkflowAdministrationView.business-record-identifier", "业务记录标识")), 1), b(T(ie), {
425
425
  value: M.value,
426
426
  "onUpdate:value": t[4] ||= (e) => M.value = e,
427
427
  disabled: F.value || !!Y.value,
@@ -431,13 +431,13 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
431
431
  "disabled",
432
432
  "placeholder"
433
433
  ])]),
434
- v("div", we, [b(T(u), {
434
+ v("div", we, [b(T(p), {
435
435
  disabled: F.value || I.value && !j.value,
436
436
  onClick: t[5] ||= (e) => Pe()
437
437
  }, {
438
438
  default: E(() => [y(w(T(x).t("platform.screen.WorkflowAdministrationView.search", "查询")), 1)]),
439
439
  _: 1
440
- }, 8, ["disabled"]), b(T(u), {
440
+ }, 8, ["disabled"]), b(T(p), {
441
441
  disabled: F.value,
442
442
  onClick: t[6] ||= (e) => Pe(!0)
443
443
  }, {
@@ -457,7 +457,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
457
457
  "page-num",
458
458
  "pagination-disabled"
459
459
  ]),
460
- b(T(s), {
460
+ b(T(a), {
461
461
  open: !!q.value,
462
462
  title: T(x).t("platform.screen.WorkflowAdministrationView.workflow-administration-details", "流程运维详情"),
463
463
  subtitle: W.value ? T(x).t("platform.screen.WorkflowAdministrationView.instance-title", "{module} · {status} · 版本 {version}", {
@@ -469,7 +469,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
469
469
  "before-close": We,
470
470
  onClose: t[11] ||= (e) => q.value = void 0
471
471
  }, {
472
- operation: E(() => [W.value && !I.value ? (S(!0), _(me, { key: 0 }, he(ze.value, (e) => (S(), h(T(u), {
472
+ operation: E(() => [W.value && !I.value ? (S(!0), _(me, { key: 0 }, he(ze.value, (e) => (S(), h(T(p), {
473
473
  key: e.key,
474
474
  danger: e.danger,
475
475
  disabled: F.value || !!Y.value,
@@ -481,7 +481,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
481
481
  "danger",
482
482
  "disabled",
483
483
  "onClick"
484
- ]))), 128)) : g("v-if", !0), b(T(u), {
484
+ ]))), 128)) : g("v-if", !0), b(T(p), {
485
485
  disabled: F.value || !!Y.value,
486
486
  onClick: t[10] ||= (e) => q.value = void 0
487
487
  }, {
@@ -489,12 +489,12 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
489
489
  _: 1
490
490
  }, 8, ["disabled"])]),
491
491
  default: E(() => [
492
- R.value ? (S(), h(T(r), {
492
+ R.value ? (S(), h(T(s), {
493
493
  key: 0,
494
494
  title: T(x).t("platform.screen.WorkflowAdministrationView.unable-to-load-details", "无法加载详情"),
495
495
  message: R.value
496
496
  }, null, 8, ["title", "message"])) : g("v-if", !0),
497
- R.value ? (S(), h(T(u), {
497
+ R.value ? (S(), h(T(p), {
498
498
  key: 1,
499
499
  onClick: t[9] ||= (e) => Ne(q.value)
500
500
  }, {
@@ -503,7 +503,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
503
503
  })) : g("v-if", !0),
504
504
  F.value ? (S(), _("p", Te, w(T(x).t("platform.screen.WorkflowAdministrationView.loading", "正在加载…")), 1)) : g("v-if", !0),
505
505
  W.value ? (S(), _(me, { key: 3 }, [
506
- !I.value && G.value.length ? (S(), h(T(a), {
506
+ !I.value && G.value.length ? (S(), h(T(u), {
507
507
  key: 0,
508
508
  embedded: "",
509
509
  title: T(x).t("platform.screen.WorkflowAdministrationView.current-pending-tasks", "当前待办"),
@@ -511,13 +511,13 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
511
511
  rows: G.value.map((e) => ({
512
512
  ...e,
513
513
  id: e.taskId,
514
- nodeTitle: T(p)(e.nodeTitle, e.nodeTitleText, T(x))
514
+ nodeTitle: T(l)(e.nodeTitle, e.nodeTitleText, T(x))
515
515
  })),
516
516
  pageable: !1,
517
517
  "fill-height": !1,
518
518
  "show-action-column": !0
519
519
  }, {
520
- rowActions: E(({ record: e }) => [e.canForceApprove ? (S(), h(T(u), {
520
+ rowActions: E(({ record: e }) => [e.canForceApprove ? (S(), h(T(p), {
521
521
  key: 0,
522
522
  danger: "",
523
523
  disabled: F.value || !!Y.value,
@@ -533,7 +533,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
533
533
  "rows"
534
534
  ])) : g("v-if", !0),
535
535
  !I.value && !G.value.length ? (S(), _("p", Ee, w(T(x).t("platform.screen.WorkflowAdministrationView.there-are-no-pending-tasks", "当前没有待办任务")), 1)) : g("v-if", !0),
536
- v("details", De, [v("summary", null, w(T(x).t("platform.screen.WorkflowAdministrationView.view-workflow-diagram", "查看流程图")), 1), b(T(l), {
536
+ v("details", De, [v("summary", null, w(T(x).t("platform.screen.WorkflowAdministrationView.view-workflow-diagram", "查看流程图")), 1), b(T(re), {
537
537
  presentation: "detail",
538
538
  nodes: W.value.nodes,
539
539
  routes: W.value.routes,
@@ -545,7 +545,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
545
545
  "layout-json",
546
546
  "semantic-json"
547
547
  ])]),
548
- b(T(a), {
548
+ b(T(u), {
549
549
  embedded: "",
550
550
  title: T(x).t("platform.screen.WorkflowAdministrationView.administration-audit", "运维审计"),
551
551
  columns: [
@@ -576,7 +576,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
576
576
  rows: K.value.map((e) => ({
577
577
  ...e,
578
578
  action: D(e.actionCode ?? e.eventType),
579
- message: T(p)(e.message ?? "", e.messageText, T(x)),
579
+ message: T(l)(e.message ?? "", e.messageText, T(x)),
580
580
  occurred: Be(e.occurredAt)
581
581
  })),
582
582
  "fill-height": !1,
@@ -594,13 +594,13 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
594
594
  "title",
595
595
  "subtitle"
596
596
  ]),
597
- b(T(s), {
597
+ b(T(a), {
598
598
  open: !!Y.value,
599
599
  title: Ve(Y.value?.code ?? ""),
600
600
  "before-close": $,
601
601
  onClose: t[14] ||= (e) => Y.value = void 0
602
602
  }, {
603
- operation: E(() => [b(T(u), {
603
+ operation: E(() => [b(T(p), {
604
604
  type: "primary",
605
605
  danger: "",
606
606
  loading: F.value,
@@ -609,7 +609,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
609
609
  }, {
610
610
  default: E(() => [y(w(T(x).t("platform.screen.WorkflowAdministrationView.confirm-operation", "确认操作")), 1)]),
611
611
  _: 1
612
- }, 8, ["loading", "disabled"]), b(T(u), {
612
+ }, 8, ["loading", "disabled"]), b(T(p), {
613
613
  disabled: F.value,
614
614
  onClick: t[13] ||= (e) => {
615
615
  $().then((e) => {
@@ -630,7 +630,7 @@ var _e = { class: "workflow-admin" }, ve = { key: 1 }, ye = { class: "workflow-q
630
630
  v("label", ke, [b(T(d), { required: "" }, {
631
631
  default: E(() => [y(w(T(x).t("platform.screen.WorkflowAdministrationView.administration-reason", "运维原因")), 1)]),
632
632
  _: 1
633
- }), b(T(oe), {
633
+ }), b(T(le), {
634
634
  value: J.value,
635
635
  "onUpdate:value": t[12] ||= (e) => J.value = e,
636
636
  disabled: F.value,