@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.
- package/dist/{BusinessActivityLogView-fzxP3P68.js → BusinessActivityLogView-Dw_SjtBi.js} +2 -2
- package/dist/BusinessLogListDrawer-Bkws0k6G.js +868 -0
- package/dist/{CodeConfigurationView-DXrXp7kg.js → CodeConfigurationView-D-S2nX4C.js} +703 -703
- package/dist/{ConfigurationTranslationView-CNWJhB8C.js → ConfigurationTranslationView-CzLoZCo5.js} +21 -21
- package/dist/{LoginAuditLogView-D2q4WT8W.js → LoginAuditLogView-DxAlmQ9Q.js} +2 -2
- package/dist/ModuleActionManagementView-CfsGwDOn.js +780 -0
- package/dist/{ModuleGovernanceView-BFCfy5wB.js → ModuleGovernanceView-Bt2UhO-A.js} +2352 -2352
- package/dist/{RequestErrorLogView-C-dZhHvD.js → RequestErrorLogView--g3Uwvzx.js} +2 -2
- package/dist/RoleDetailWorkspaceView-Bv21G3CF.js +1435 -0
- package/dist/{RuntimeLogView-BuFuboQh.js → RuntimeLogView-CM47CKiD.js} +38 -38
- package/dist/WorkflowAdministrationView-CYq7bXS5.js +650 -0
- package/dist/{WorkflowConfigurationView-VLObweIg.js → WorkflowConfigurationView-D1ve8wHF.js} +189 -189
- package/dist/WorkflowWorkbenchView-CJXy2iRP.js +759 -0
- package/dist/{codeConfiguration-DbUEhnW7.js → codeConfiguration-Bls4mHm3.js} +28 -28
- package/dist/{configurationEditorNavigation-DZeBbg3z.js → configurationEditorNavigation-DteTknF3.js} +2 -2
- package/dist/index.css +1 -1
- package/dist/index.js +704 -646
- package/dist/{moduleMenuWorkspace-COanAuqc.js → moduleMenuWorkspace-CsYcDzfq.js} +197 -197
- package/dist/{platform-components-5joS6YaR.js → platform-components-CT5wnPa0.js} +2267 -2034
- package/dist/{platform-workbench-le7pFe4d.js → platform-workbench-CBLyxlvV.js} +5026 -5014
- package/dist/types/app/useLoginFailureFeedback.d.ts +8 -0
- package/dist/types/platform-components/ObjectPickerInput.vue.d.ts +13 -0
- package/dist/types/platform-components/RecordMultiPicker.vue.d.ts +7 -29
- package/dist/types/platform-components/RecordPicker.vue.d.ts +7 -31
- package/dist/types/platform-components/RecordReferencePicker.vue.d.ts +24 -0
- package/dist/types/platform-components/ReferencePicker.vue.d.ts +1 -1
- package/dist/types/platform-components/ReferenceSelectionPanel.vue.d.ts +20 -0
- package/dist/types/platform-components/UserPicker.vue.d.ts +1 -1
- package/dist/types/platform-components/recordFormFieldModel.d.ts +2 -0
- package/dist/types/platform-components/recordReferencePickerProvider.d.ts +26 -0
- package/dist/types/platform-components/workflowAccountOptions.d.ts +3 -3
- package/dist/types/vue-ui-antdv/components/UiInput.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiSelect.vue.d.ts +13 -2
- package/dist/types/vue-ui-antdv/components/UiTreeSelect.vue.d.ts +8 -2
- package/dist/{useWorkflowConfigurationContext-B9GigSF8.js → useWorkflowConfigurationContext-DsuGHZ0U.js} +9 -9
- package/dist/{workspaceViews-8-LaaGxD.js → workspaceViews-BxEz6u5n.js} +523 -523
- package/package.json +5 -1
- package/dist/BusinessLogListDrawer-C7wb2R6q.js +0 -868
- package/dist/ModuleActionManagementView-Xd8uB3iR.js +0 -780
- package/dist/RoleDetailWorkspaceView-BmtEBE0r.js +0 -1435
- package/dist/WorkflowAdministrationView-Cb6RnlGU.js +0 -650
- package/dist/WorkflowWorkbenchView-CbZervUv.js +0 -759
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./platform-workbench-
|
|
2
|
-
import {
|
|
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-
|
|
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(
|
|
57
|
-
let r =
|
|
58
|
-
return
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
171
|
+
function w(e, t = i) {
|
|
172
172
|
let o = "/platform.code_rule";
|
|
173
173
|
return {
|
|
174
|
-
targets: (
|
|
175
|
-
rules: (
|
|
176
|
-
async bind(
|
|
177
|
-
return
|
|
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:
|
|
182
|
-
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
|
|
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,
|
|
194
|
+
body: b(r, t)
|
|
195
195
|
}));
|
|
196
196
|
},
|
|
197
|
-
view: (
|
|
198
|
-
receipt: (
|
|
199
|
-
abandon: (
|
|
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(
|
|
201
|
+
path: `${o}/save-requests/${encodeURIComponent(t.requestId)}/abandon`,
|
|
202
202
|
body: {
|
|
203
|
-
moduleAlias:
|
|
204
|
-
entityAlias:
|
|
205
|
-
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(
|
|
210
|
-
return
|
|
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,
|
|
215
|
+
rule: b(i, t),
|
|
216
216
|
context: s,
|
|
217
217
|
sequenceValue: c,
|
|
218
218
|
organizationId: i.orgScopeId ?? null
|
package/dist/{configurationEditorNavigation-DZeBbg3z.js → configurationEditorNavigation-DteTknF3.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ba as e,
|
|
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(
|
|
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
|
}
|