@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,5 +1,5 @@
1
- import "./platform-workbench-VhgKhPLI.js";
2
- import { Ja as e, Na as t, fa as n, ha as r, jt as i, pa as a } from "./platform-components-Xb5qgsXU.js";
1
+ import "./platform-workbench-BBLDvT9V.js";
2
+ import { $a as e, Nt as t, Ra as n, _a as r, ba as i, va as a } from "./platform-components-D98pyZ77.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-DEDF61vj.js")),
23
+ component: o(() => import("./ModuleGovernanceView-BqJq2Pxm.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(n, r = e) {
57
- let i = t(n.title, n.titleText, r);
58
- return n.ownerTitle ? `${n.ownerTitle} · ${i}` : i;
56
+ function f(t, r = e) {
57
+ let i = n(t.title, t.titleText, r);
58
+ return t.ownerTitle ? `${t.ownerTitle} · ${i}` : i;
59
59
  }
60
60
  function p(e, t) {
61
61
  return e.request({ path: `/platform.module/${encodeURIComponent(t)}/code-configuration` });
@@ -112,14 +112,14 @@ function _(e) {
112
112
  "VALUE_MAPPING"
113
113
  ].includes(e.segmentType) && !!e.sourceRef?.trim());
114
114
  }
115
- function v(t, r = e) {
115
+ function v(t, n = e) {
116
116
  if (t.mode !== "MANUAL" && [
117
117
  ...t.segments.map((e) => e.length),
118
118
  t.sequencePolicy?.startValue,
119
119
  t.sequencePolicy?.stepValue,
120
120
  t.sequencePolicy?.sequenceLength,
121
121
  t.sequencePolicy?.maxValue
122
- ].some((e) => e != null && !Number.isSafeInteger(e))) throw new n(a(r, "platform.code.config.integer-required", "流水策略和片段长度须为可准确表示的整数。"));
122
+ ].some((e) => e != null && !Number.isSafeInteger(e))) throw new r(a(n, "platform.code.config.integer-required", "流水策略和片段长度须为可准确表示的整数。"));
123
123
  let i = JSON.parse(JSON.stringify(t));
124
124
  return i.orgScopeId = i.orgScopeType === "GLOBAL" ? null : i.orgScopeId, i.globalDefault = i.orgScopeType === "GLOBAL", i.effectiveFrom ||= null, i.effectiveTo ||= null, i.mode === "MANUAL" ? (i.segments = [], i.sequencePolicy = null, i.linkedUpdate = !1) : i.segments.some((e) => e.segmentType === "SEQUENCE") || (i.sequencePolicy = null), _(i) || (i.linkedUpdate = !1), i.segments.forEach((e, t) => {
125
125
  e.sortOrder = t;
@@ -145,57 +145,57 @@ function y(e, t) {
145
145
  function b(e) {
146
146
  return /^(BOOLEAN|BOOL)$/i.test(e.type) ? "boolean" : /^(INT|INTEGER|LONG|DECIMAL|DOUBLE|FLOAT|NUMBER|BIGDECIMAL)$/i.test(e.type) ? "number" : /^(DATE|LOCALDATE)$/i.test(e.type) ? "date" : /^(DATETIME|LOCALDATETIME)$/i.test(e.type) ? "datetime" : "text";
147
147
  }
148
- function x(t, r, o = e) {
148
+ function x(n, i, o = e) {
149
149
  let s = {};
150
- for (let e of t) {
151
- let t = r[e.fieldName];
152
- if (t !== void 0 && t !== "") {
150
+ for (let e of n) {
151
+ let n = i[e.fieldName];
152
+ if (n !== void 0 && n !== "") {
153
153
  if (b(e) === "number") {
154
- let r = e.type.toUpperCase(), c = i(t, r === "LONG" ? "LONG" : ["DECIMAL", "BIGDECIMAL"].includes(r) ? "DECIMAL" : ["INT", "INTEGER"].includes(r) ? "INTEGER" : void 0);
155
- if (c === void 0) throw new n(a(o, "platform.code.config.number-required", "{field}请输入有效数字", { field: f(e, o) }));
154
+ let i = e.type.toUpperCase(), c = t(n, i === "LONG" ? "LONG" : ["DECIMAL", "BIGDECIMAL"].includes(i) ? "DECIMAL" : ["INT", "INTEGER"].includes(i) ? "INTEGER" : void 0);
155
+ if (c === void 0) throw new r(a(o, "platform.code.config.number-required", "{field}请输入有效数字", { field: f(e, o) }));
156
156
  s[e.fieldName] = c;
157
157
  } else if (b(e) === "boolean") {
158
- if (t !== "true" && t !== "false") throw new n(a(o, "platform.code.config.boolean-required", "{field}请输入 true 或 false", { field: f(e, o) }));
159
- s[e.fieldName] = t === "true";
160
- } else s[e.fieldName] = t;
158
+ if (n !== "true" && n !== "false") throw new r(a(o, "platform.code.config.boolean-required", "{field}请输入 true 或 false", { field: f(e, o) }));
159
+ s[e.fieldName] = n === "true";
160
+ } else s[e.fieldName] = n;
161
161
  }
162
162
  }
163
163
  return s;
164
164
  }
165
- function S(t, i = e) {
165
+ function S(t, n = e) {
166
166
  let o = "/platform.code_rule";
167
167
  return {
168
168
  targets: (e) => t.request({ path: o + "/targets" + (e ? `?moduleAlias=${encodeURIComponent(e)}` : "") }),
169
169
  rules: (e) => t.request({ path: `${o}/rules?moduleAlias=${encodeURIComponent(e.moduleAlias)}&entityAlias=${encodeURIComponent(e.entityAlias)}` }),
170
- async bind(e, n, i, a) {
171
- return r(await t.request({
170
+ async bind(e, n, r, a) {
171
+ return i(await t.request({
172
172
  method: "POST",
173
173
  path: o + "/binding",
174
174
  body: {
175
175
  moduleAlias: e.moduleAlias,
176
176
  entityAlias: e.entityAlias,
177
177
  fieldName: n.fieldName,
178
- role: i,
178
+ role: r,
179
179
  trigger: a,
180
180
  expectedVersion: n.bindingVersion ?? null
181
181
  }
182
182
  }));
183
183
  },
184
184
  async save(e) {
185
- return r(await t.request({
185
+ return i(await t.request({
186
186
  method: "POST",
187
187
  path: o + "/saveTree",
188
- body: v(e, i)
188
+ body: v(e, n)
189
189
  }));
190
190
  },
191
191
  async preview(e, s, c, l) {
192
- if (!Number.isSafeInteger(c) || c < 0) throw new n(a(i, "platform.code.config.trial-sequence-required", "试算流水值须为非负整数。"));
193
- return r(await t.request({
192
+ if (!Number.isSafeInteger(c) || c < 0) throw new r(a(n, "platform.code.config.trial-sequence-required", "试算流水值须为非负整数。"));
193
+ return i(await t.request({
194
194
  method: "POST",
195
195
  path: o + "/preview",
196
196
  ...l ? { signal: l } : {},
197
197
  body: {
198
- rule: v(e, i),
198
+ rule: v(e, n),
199
199
  context: s,
200
200
  sequenceValue: c,
201
201
  organizationId: e.orgScopeId ?? null