@ximatai/muyun-web-app 0.26.29 → 0.26.31

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 +1 -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,5 +1,5 @@
1
- import "./platform-workbench-le7pFe4d.js";
2
- import { Ca as e, Ft as t, Va as n, ba as r, no as i, xa as a } from "./platform-components-5joS6YaR.js";
1
+ import "./platform-workbench-CBLyxlvV.js";
2
+ import { Ba as e, Pt as t, Sa as n, ba as r, to as i, ya as a } from "./platform-components-CT5wnPa0.js";
3
3
  import { defineAsyncComponent as o } from "vue";
4
4
  //#region src/platform-workbench/workspaceViewContract.ts
5
5
  function s(e) {
@@ -20,7 +20,7 @@ var c = [
20
20
  type: "platform.module.governance",
21
21
  route: "/_platform/workspace/platform.module.governance",
22
22
  moduleAlias: "platform.module",
23
- component: o(() => import("./ModuleGovernanceView-BFCfy5wB.js")),
23
+ component: o(() => import("./ModuleGovernanceView-Bt2UhO-A.js")),
24
24
  layout: "workspace",
25
25
  routeTitle: "模块管理",
26
26
  routeTitleKey: "platform.workspace-view.modules.route-title",
@@ -53,9 +53,9 @@ var d = [
53
53
  "VALUE_MAPPING",
54
54
  "FORMULA"
55
55
  ];
56
- function f(e, t = i) {
57
- let r = n(e.title, e.titleText, t);
58
- return e.ownerTitle ? `${e.ownerTitle} · ${r}` : r;
56
+ function f(t, n = i) {
57
+ let r = e(t.title, t.titleText, n);
58
+ return t.ownerTitle ? `${t.ownerTitle} · ${r}` : r;
59
59
  }
60
60
  function p(e, t) {
61
61
  return e.request({ path: `/platform.module/${encodeURIComponent(t)}/code-configuration` });
@@ -122,7 +122,7 @@ function y(e, t = i) {
122
122
  e.sequencePolicy?.stepValue,
123
123
  e.sequencePolicy?.sequenceLength,
124
124
  e.sequencePolicy?.maxValue
125
- ].some((e) => e != null && !Number.isSafeInteger(e))) throw new r(a(t, "platform.code.config.integer-required", "流水策略和片段长度须为可准确表示的整数。"));
125
+ ].some((e) => e != null && !Number.isSafeInteger(e))) throw new a(r(t, "platform.code.config.integer-required", "流水策略和片段长度须为可准确表示的整数。"));
126
126
  }
127
127
  function b(e, t = i) {
128
128
  y(e, t);
@@ -158,28 +158,28 @@ function C(e, n, o = i) {
158
158
  if (e !== void 0 && e !== "") {
159
159
  if (S(i) === "number") {
160
160
  let n = i.type.toUpperCase(), c = t(e, n === "LONG" ? "LONG" : ["DECIMAL", "BIGDECIMAL"].includes(n) ? "DECIMAL" : ["INT", "INTEGER"].includes(n) ? "INTEGER" : void 0);
161
- if (c === void 0) throw new r(a(o, "platform.code.config.number-required", "{field}请输入有效数字", { field: f(i, o) }));
161
+ if (c === void 0) throw new a(r(o, "platform.code.config.number-required", "{field}请输入有效数字", { field: f(i, o) }));
162
162
  s[i.fieldName] = c;
163
163
  } else if (S(i) === "boolean") {
164
- if (e !== "true" && e !== "false") throw new r(a(o, "platform.code.config.boolean-required", "{field}请输入 true 或 false", { field: f(i, o) }));
164
+ if (e !== "true" && e !== "false") throw new a(r(o, "platform.code.config.boolean-required", "{field}请输入 true 或 false", { field: f(i, o) }));
165
165
  s[i.fieldName] = e === "true";
166
166
  } else s[i.fieldName] = e;
167
167
  }
168
168
  }
169
169
  return s;
170
170
  }
171
- function w(t, n = i) {
171
+ function w(e, t = i) {
172
172
  let o = "/platform.code_rule";
173
173
  return {
174
- targets: (e) => t.request({ path: o + "/targets" + (e ? `?moduleAlias=${encodeURIComponent(e)}` : "") }),
175
- rules: (e) => t.request({ path: `${o}/rules?moduleAlias=${encodeURIComponent(e.moduleAlias)}&entityAlias=${encodeURIComponent(e.entityAlias)}` }),
176
- async bind(n, r, i, a) {
177
- return e(await t.request({
174
+ targets: (t) => e.request({ path: o + "/targets" + (t ? `?moduleAlias=${encodeURIComponent(t)}` : "") }),
175
+ rules: (t) => e.request({ path: `${o}/rules?moduleAlias=${encodeURIComponent(t.moduleAlias)}&entityAlias=${encodeURIComponent(t.entityAlias)}` }),
176
+ async bind(t, r, i, a) {
177
+ return n(await e.request({
178
178
  method: "POST",
179
179
  path: o + "/binding",
180
180
  body: {
181
- moduleAlias: n.moduleAlias,
182
- entityAlias: n.entityAlias,
181
+ moduleAlias: t.moduleAlias,
182
+ entityAlias: t.entityAlias,
183
183
  fieldName: r.fieldName,
184
184
  role: i,
185
185
  trigger: a,
@@ -188,31 +188,31 @@ function w(t, n = i) {
188
188
  }));
189
189
  },
190
190
  async save(r, i) {
191
- return e(await t.request({
191
+ return n(await e.request({
192
192
  method: "POST",
193
193
  path: i ? `${o}/save-requests/${encodeURIComponent(i)}` : o + "/saveTree",
194
- body: b(r, n)
194
+ body: b(r, t)
195
195
  }));
196
196
  },
197
- view: (e) => t.request({ path: `${o}/viewTree/${encodeURIComponent(e)}` }),
198
- receipt: (e) => t.request({ path: `${o}/save-requests/${encodeURIComponent(e.requestId)}?moduleAlias=${encodeURIComponent(e.moduleAlias)}&entityAlias=${encodeURIComponent(e.entityAlias)}&fieldName=${encodeURIComponent(e.fieldName)}` }),
199
- abandon: (e) => t.request({
197
+ view: (t) => e.request({ path: `${o}/viewTree/${encodeURIComponent(t)}` }),
198
+ receipt: (t) => e.request({ path: `${o}/save-requests/${encodeURIComponent(t.requestId)}?moduleAlias=${encodeURIComponent(t.moduleAlias)}&entityAlias=${encodeURIComponent(t.entityAlias)}&fieldName=${encodeURIComponent(t.fieldName)}` }),
199
+ abandon: (t) => e.request({
200
200
  method: "POST",
201
- path: `${o}/save-requests/${encodeURIComponent(e.requestId)}/abandon`,
201
+ path: `${o}/save-requests/${encodeURIComponent(t.requestId)}/abandon`,
202
202
  body: {
203
- moduleAlias: e.moduleAlias,
204
- entityAlias: e.entityAlias,
205
- fieldName: e.fieldName
203
+ moduleAlias: t.moduleAlias,
204
+ entityAlias: t.entityAlias,
205
+ fieldName: t.fieldName
206
206
  }
207
207
  }),
208
208
  async preview(i, s, c, l) {
209
- if (!Number.isSafeInteger(c) || c < 0) throw new r(a(n, "platform.code.config.trial-sequence-required", "试算流水值须为非负整数。"));
210
- return e(await t.request({
209
+ if (!Number.isSafeInteger(c) || c < 0) throw new a(r(t, "platform.code.config.trial-sequence-required", "试算流水值须为非负整数。"));
210
+ return n(await e.request({
211
211
  method: "POST",
212
212
  path: o + "/preview",
213
213
  ...l ? { signal: l } : {},
214
214
  body: {
215
- rule: b(i, n),
215
+ rule: b(i, t),
216
216
  context: s,
217
217
  sequenceValue: c,
218
218
  organizationId: i.orgScopeId ?? null
@@ -1,4 +1,4 @@
1
- import { ba as e, no as t, xa as n } from "./platform-components-5joS6YaR.js";
1
+ import { ba as e, to as t, ya as n } from "./platform-components-CT5wnPa0.js";
2
2
  import { nextTick as r, watch as i } from "vue";
3
3
  //#region src/views/configurationEditorNavigation.ts
4
4
  async function a(a, o, s = t) {
@@ -7,7 +7,7 @@ async function a(a, o, s = t) {
7
7
  u(), clearTimeout(d), o?.removeEventListener("abort", l), e ? r(e) : t();
8
8
  }, l = () => c(new DOMException("Navigation cancelled", "AbortError")), u = i(a, (e) => {
9
9
  e && c();
10
- }, { flush: "post" }), d = setTimeout(() => c(new e(n(s, "platform.screen.configurationEditorNavigation.the-configuration-page-is-not-ready-reopen-it-before-continuing", "配置页面尚未就绪,请重新打开后继续。"))), 15e3);
10
+ }, { flush: "post" }), d = setTimeout(() => c(new n(e(s, "platform.screen.configurationEditorNavigation.the-configuration-page-is-not-ready-reopen-it-before-continuing", "配置页面尚未就绪,请重新打开后继续。"))), 15e3);
11
11
  o?.addEventListener("abort", l, { once: !0 });
12
12
  }), await r(), o?.aborted)) throw new DOMException("Navigation cancelled", "AbortError");
13
13
  }