@ximatai/muyun-web-app 0.26.29 → 0.26.32

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 (42) hide show
  1. package/dist/{BusinessActivityLogView-fzxP3P68.js → BusinessActivityLogView-Dw_SjtBi.js} +2 -2
  2. package/dist/BusinessLogListDrawer-Bkws0k6G.js +868 -0
  3. package/dist/{CodeConfigurationView-DXrXp7kg.js → CodeConfigurationView-D-S2nX4C.js} +703 -703
  4. package/dist/{ConfigurationTranslationView-CNWJhB8C.js → ConfigurationTranslationView-CzLoZCo5.js} +21 -21
  5. package/dist/{LoginAuditLogView-D2q4WT8W.js → LoginAuditLogView-DxAlmQ9Q.js} +2 -2
  6. package/dist/ModuleActionManagementView-CfsGwDOn.js +780 -0
  7. package/dist/{ModuleGovernanceView-BFCfy5wB.js → ModuleGovernanceView-Bt2UhO-A.js} +2352 -2352
  8. package/dist/{RequestErrorLogView-C-dZhHvD.js → RequestErrorLogView--g3Uwvzx.js} +2 -2
  9. package/dist/RoleDetailWorkspaceView-Bv21G3CF.js +1435 -0
  10. package/dist/{RuntimeLogView-BuFuboQh.js → RuntimeLogView-CM47CKiD.js} +38 -38
  11. package/dist/WorkflowAdministrationView-CYq7bXS5.js +650 -0
  12. package/dist/{WorkflowConfigurationView-VLObweIg.js → WorkflowConfigurationView-D1ve8wHF.js} +189 -189
  13. package/dist/WorkflowWorkbenchView-CJXy2iRP.js +759 -0
  14. package/dist/{codeConfiguration-DbUEhnW7.js → codeConfiguration-Bls4mHm3.js} +28 -28
  15. package/dist/{configurationEditorNavigation-DZeBbg3z.js → configurationEditorNavigation-DteTknF3.js} +2 -2
  16. package/dist/index.css +1 -1
  17. package/dist/index.js +704 -646
  18. package/dist/{moduleMenuWorkspace-COanAuqc.js → moduleMenuWorkspace-CsYcDzfq.js} +197 -197
  19. package/dist/{platform-components-5joS6YaR.js → platform-components-CT5wnPa0.js} +2267 -2034
  20. package/dist/{platform-workbench-le7pFe4d.js → platform-workbench-CBLyxlvV.js} +5026 -5014
  21. package/dist/types/app/useLoginFailureFeedback.d.ts +8 -0
  22. package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +13 -0
  23. package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +7 -29
  24. package/dist/types/platform-components/RecordPicker.vue.d.ts +7 -31
  25. package/dist/types/platform-components/RecordReferencePicker.vue.d.ts +24 -0
  26. package/dist/types/platform-components/ReferencePicker.vue.d.ts +1 -1
  27. package/dist/types/platform-components/ReferenceSelectionPanel.vue.d.ts +20 -0
  28. package/dist/types/platform-components/UserPicker.vue.d.ts +1 -1
  29. package/dist/types/platform-components/recordFormFieldModel.d.ts +2 -0
  30. package/dist/types/platform-components/recordReferencePickerProvider.d.ts +26 -0
  31. package/dist/types/platform-components/workflowAccountOptions.d.ts +3 -3
  32. package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -0
  33. package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +13 -2
  34. package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +8 -2
  35. package/dist/{useWorkflowConfigurationContext-B9GigSF8.js → useWorkflowConfigurationContext-DsuGHZ0U.js} +9 -9
  36. package/dist/{workspaceViews-8-LaaGxD.js → workspaceViews-BxEz6u5n.js} +523 -523
  37. package/package.json +5 -1
  38. package/dist/BusinessLogListDrawer-C7wb2R6q.js +0 -868
  39. package/dist/ModuleActionManagementView-Xd8uB3iR.js +0 -780
  40. package/dist/RoleDetailWorkspaceView-BmtEBE0r.js +0 -1435
  41. package/dist/WorkflowAdministrationView-Cb6RnlGU.js +0 -650
  42. package/dist/WorkflowWorkbenchView-CbZervUv.js +0 -759
@@ -1,9 +1,9 @@
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-5joS6YaR.js";
1
+ import { $a as e, Fa as t, Gt as n, Ln as r, Ma as i, Oa as a, On as o, Ra as s, Wn as ee, Y as te, _r as c, ba as l, ei as ne, gr as re, hn as ie, io as ae, ro as oe, so as u, to as d, xa as f, xn as p, ya as m, yr as h } from "./platform-components-CT5wnPa0.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 = f) {
6
- if (!u(e)) throw new c(h(t, "platform.screen.runtimeLogClient.the-current-http-client-does-not-support-runtime-log-streams", "当前 HTTP 客户端不支持运行日志流。"));
5
+ function ce(e, t = d) {
6
+ if (!u(e)) throw new m(l(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,14 +24,14 @@ function ce(e, t = f) {
24
24
  }
25
25
  //#endregion
26
26
  //#region src/views/runtimeLogSse.ts
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 = {
27
+ var le = a, 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__*/ l(/* @__PURE__ */ C({
30
+ }, ge = 500, N = /*#__PURE__*/ h(/* @__PURE__ */ C({
31
31
  name: "RuntimeLogView",
32
32
  __name: "RuntimeLogView",
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(() => {
33
+ setup(a) {
34
+ let u = ae(), d = ne({ moduleAlias: "platform.runtime_log" }), h = 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
36
  return e ? typeof e == "string" ? e : e instanceof Error ? $(e) : u.t(e.source.sourceId, e.source.originalText, e.args) : {
37
37
  connecting: u.t("platform.screen.RuntimeLogView.connecting-to-live-logs", "正在连接实时日志…"),
@@ -86,7 +86,7 @@ var le = d, 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 f.activeStream(ge, t.signal);
89
+ let n = await h.activeStream(ge, t.signal);
90
90
  if (t.signal.aborted || e !== V) {
91
91
  await n.cancel();
92
92
  return;
@@ -99,9 +99,9 @@ var le = d, 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(u, "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 = l(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(u, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), o(n, {
104
+ !t.signal.aborted && e === V && (L.value = "error", R.value = Q(n, l(u, "platform.screen.RuntimeLogView.failed-to-connect-to-live-logs-reconnect", "实时日志连接失败,请重新连接。")), p(n, {
105
105
  language: u,
106
106
  source: "runtime-log-stream",
107
107
  phase: "load"
@@ -110,33 +110,33 @@ var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
110
110
  e === V && (H = void 0);
111
111
  }
112
112
  }
113
- function Ce(e, t, n) {
114
- if (!(n.signal.aborted || t !== V)) switch (e.event) {
113
+ function Ce(t, n, r) {
114
+ if (!(r.signal.aborted || n !== V)) switch (t.event) {
115
115
  case "snapshot":
116
116
  case "reset": {
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(u, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
117
+ let e = Y(t.data);
118
+ I.value = X(e.text), F.value = Z(e.fileName) ?? F.value, L.value = "live", R.value = t.event === "reset" ? l(u, "platform.screen.RuntimeLogView.log-content-was-reset-live-updates-are-continuing", "日志内容已重置,正在继续实时更新。") : void 0;
119
119
  return;
120
120
  }
121
121
  case "append": {
122
- let t = Y(e.data);
123
- I.value += X(t.text), L.value = "live", R.value = void 0;
122
+ let e = Y(t.data);
123
+ I.value += X(e.text), L.value = "live", R.value = void 0;
124
124
  return;
125
125
  }
126
126
  case "rotated": {
127
- let t = Y(e.data);
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());
127
+ let e = Y(t.data);
128
+ F.value = Z(e.fileName) ?? F.value, W < 1 ? (W += 1, L.value = "connecting", R.value = l(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-reconnecting-to-the-latest-file", "日志文件已轮转,正在重新连接最新文件…"), w(() => K())) : (L.value = "rotated", R.value = l(u, "platform.screen.RuntimeLogView.the-log-file-has-rotated-again-reconnect-manually", "日志文件再次轮转,请手动重新连接。"), q());
129
129
  return;
130
130
  }
131
131
  case "error": {
132
- let t = Y(e.data);
132
+ let n = Y(t.data);
133
133
  L.value = "error";
134
- let n = Z(t.message), r = t.messageSource;
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
- message: n,
137
- source: r,
134
+ let r = Z(n.message), i = n.messageSource;
135
+ R.value = n.code === "RUNTIME_LOG_STREAM_INTERRUPTED" && s(i) && i.sourceKind === "CODE" && i.sourceId === "platform.runtime-log.stream-interrupted" && i.originalText === e(i.sourceId) && oe(i, r ?? "") ? {
136
+ message: r,
137
+ source: i,
138
138
  args: {}
139
- } : n ?? h(u, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
139
+ } : r ?? l(u, "platform.screen.RuntimeLogView.the-live-log-connection-encountered-an-error-reconnect", "实时日志连接出现错误,请重新连接。"), q();
140
140
  }
141
141
  }
142
142
  }
@@ -149,10 +149,10 @@ var le = d, 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 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");
152
+ let t = await Te(await h.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(u, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), o(t, {
155
+ C.value = Q(t, l(u, "platform.screen.RuntimeLogView.failed-to-download-value-try-again-later", "下载 {value1} 失败,请稍后重试。", { value1: e.name })), p(t, {
156
156
  language: u,
157
157
  source: "runtime-log-download",
158
158
  phase: "load"
@@ -201,18 +201,18 @@ var le = d, 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 c(t);
204
+ return e instanceof Error && e.message ? e : new m(t);
205
205
  }
206
206
  function $(e) {
207
- return e instanceof c ? a(e, u) : t(r(e), u);
207
+ return e instanceof m ? f(e, u) : t(i(e), u);
208
208
  }
209
- return (t, r) => (E(), y("section", ue, [
210
- M.value ? (E(), _(A(i), {
209
+ return (e, t) => (E(), y("section", ue, [
210
+ M.value ? (E(), _(A(r), {
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(ee), {
215
+ S(A(te), {
216
216
  class: "runtime-log-view__list",
217
217
  context: A(d),
218
218
  title: A(u).t("platform.screen.RuntimeLogView.runtime-logs", "程序日志"),
@@ -231,7 +231,7 @@ var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
231
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(m), {
234
+ operations: j(() => [b("div", de, [S(A(c), {
235
235
  type: "primary",
236
236
  "icon-name": "eye",
237
237
  onClick: G
@@ -239,14 +239,14 @@ var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
239
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(re), {
242
+ cell: j(({ column: e, record: t }) => [e.key === "sizeBytes" ? (E(), _(A(ie), {
243
243
  key: 0,
244
244
  value: t.sizeBytes
245
- }, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(ae), {
245
+ }, null, 8, ["value"])) : e.key === "lastModifiedAt" ? (E(), _(A(o), {
246
246
  key: 1,
247
247
  value: t.lastModifiedAt
248
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), {
249
+ rowActions: j(({ record: e }) => [b("div", me, [e.active === !0 ? (E(), _(A(c), {
250
250
  key: 0,
251
251
  type: "link",
252
252
  size: "small",
@@ -255,7 +255,7 @@ var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
255
255
  }, {
256
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(m), {
258
+ })) : v("v-if", !0), S(A(c), {
259
259
  type: "link",
260
260
  size: "small",
261
261
  "icon-name": "download",
@@ -287,7 +287,7 @@ var le = d, ue = { class: "runtime-log-view" }, de = { class: "runtime-log-view_
287
287
  dismissal: "dismissible",
288
288
  onClose: xe
289
289
  }, {
290
- "header-actions": j(() => [ve.value ? (E(), _(A(s), {
290
+ "header-actions": j(() => [ve.value ? (E(), _(A(re), {
291
291
  key: 0,
292
292
  emphasis: "quiet",
293
293
  "icon-name": "reload",
@@ -299,7 +299,7 @@ var le = d, 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(e), {
302
+ }, [I.value ? (E(), y("pre", he, k(I.value), 1)) : (E(), _(A(ee), {
303
303
  key: 1,
304
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)]),