@ximatai/muyun-web-app 0.26.22 → 0.26.24
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-CXBpVbZW.js → BusinessActivityLogView-DQ5_VmLp.js} +2 -2
- package/dist/{BusinessLogListDrawer-DToyqP9V.js → BusinessLogListDrawer-BnucgqNA.js} +116 -116
- package/dist/{CodeConfigurationView-DAdbnF2Y.js → CodeConfigurationView-CtQjmpLz.js} +527 -527
- package/dist/{ConfigurationTranslationView-D1aLZQlx.js → ConfigurationTranslationView-BiYn2MJx.js} +26 -26
- package/dist/{LoginAuditLogView-DRxp6BbU.js → LoginAuditLogView-BIz1LVC3.js} +2 -2
- package/dist/ModuleActionManagementView-0_ek9yag.js +780 -0
- package/dist/{ModuleGovernanceView-C7V5KQcA.js → ModuleGovernanceView-DEDF61vj.js} +3061 -3061
- package/dist/{RequestErrorLogView-S6O4ha82.js → RequestErrorLogView-HatmiK8_.js} +2 -2
- package/dist/RoleDetailWorkspaceView-BzzoarpR.js +1435 -0
- package/dist/{RuntimeLogView-BuF-xgEc.js → RuntimeLogView-Vdt6SWK6.js} +65 -65
- package/dist/{WorkflowAdministrationView-DkK3Wybi.js → WorkflowAdministrationView-Dlw2ng0N.js} +193 -193
- package/dist/{WorkflowConfigurationView-8DFNdIyI.js → WorkflowConfigurationView-j2xnGmkM.js} +39 -39
- package/dist/{WorkflowWorkbenchView-CAloU49z.js → WorkflowWorkbenchView-Nv4mvTTP.js} +122 -122
- package/dist/{codeConfiguration-BV9yki1E.js → codeConfiguration-B_z1qQvB.js} +43 -43
- package/dist/index.css +1 -1
- package/dist/index.js +1344 -818
- package/dist/moduleMenuWorkspace-1N0U7QW9.js +626 -0
- package/dist/{platform-components-C9cG_1E2.js → platform-components-Xb5qgsXU.js} +3088 -2999
- package/dist/{platform-workbench-BSTroBaq.js → platform-workbench-VhgKhPLI.js} +5106 -5031
- package/dist/record-read.js +2 -0
- package/dist/recordReadEntry-CxDHM44F.js +152 -0
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +6 -0
- package/dist/types/app/ExternalIdentityBindings.vue.d.ts +8 -0
- package/dist/types/app/ExternalProvisioningConfirmation.vue.d.ts +15 -0
- package/dist/types/app/LoginView.vue.d.ts +3 -1
- package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
- package/dist/types/app/externalLoginReturn.d.ts +38 -0
- package/dist/types/app/useExternalLoginHost.d.ts +27 -0
- package/dist/types/app/weLinkQrCode.d.ts +22 -0
- package/dist/types/consumer/index.d.ts +7 -2
- package/dist/types/consumer/recordRead.d.ts +6 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationInlineSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ManagedDetailRelationSurface.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageBusinessSession.d.ts +4 -0
- package/dist/types/dynamic-page-runtime/ModulePageDetailRelations.vue.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/ModulePageHostRuntime.vue.d.ts +11 -15
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailActionRuntime.d.ts +2 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/job/ScheduledActionTargetFields.vue.d.ts +7 -0
- package/dist/types/platform-admin-runtime/scheduledActionPlanPageEnhancement.d.ts +3 -0
- package/dist/types/platform-components/BusinessNotificationCard.vue.d.ts +30 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +4 -39
- package/dist/types/platform-components/FileTransferUploader.vue.d.ts +1 -1
- package/dist/types/platform-components/RecordExplorerPanel.vue.d.ts +8 -17
- package/dist/types/platform-components/RecordFileReferenceTransfer.vue.d.ts +2 -0
- package/dist/types/platform-components/RecordFormFields.vue.d.ts +2 -2
- package/dist/types/platform-components/SingleImageFileReferenceField.vue.d.ts +4 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
- package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +71 -2
- package/dist/types/web-core/clients.d.ts +11 -1
- package/dist/{useWorkflowConfigurationContext-ClwD0BWE.js → useWorkflowConfigurationContext-BLFXzHwn.js} +8 -8
- package/dist/{workspaceViews-Cvi7uakV.js → workspaceViews-Cas3PR5B.js} +1035 -879
- package/package.json +5 -1
- package/dist/ModuleActionManagementView-D4oXCnW2.js +0 -755
- package/dist/RoleDetailWorkspaceView-lg4XwTlN.js +0 -1435
- package/dist/moduleMenuWorkspace-BBOQrHeT.js +0 -626
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./platform-workbench-
|
|
2
|
-
import {
|
|
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";
|
|
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-DEDF61vj.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
|
|
58
|
-
return
|
|
56
|
+
function f(n, r = e) {
|
|
57
|
+
let i = t(n.title, n.titleText, r);
|
|
58
|
+
return n.ownerTitle ? `${n.ownerTitle} · ${i}` : i;
|
|
59
59
|
}
|
|
60
60
|
function p(e, t) {
|
|
61
61
|
return e.request({ path: `/platform.module/${encodeURIComponent(t)}/code-configuration` });
|
|
@@ -112,15 +112,15 @@ function _(e) {
|
|
|
112
112
|
"VALUE_MAPPING"
|
|
113
113
|
].includes(e.segmentType) && !!e.sourceRef?.trim());
|
|
114
114
|
}
|
|
115
|
-
function v(
|
|
116
|
-
if (
|
|
117
|
-
...
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
].some((e) => e != null && !Number.isSafeInteger(e))) throw new
|
|
123
|
-
let i = JSON.parse(JSON.stringify(
|
|
115
|
+
function v(t, r = e) {
|
|
116
|
+
if (t.mode !== "MANUAL" && [
|
|
117
|
+
...t.segments.map((e) => e.length),
|
|
118
|
+
t.sequencePolicy?.startValue,
|
|
119
|
+
t.sequencePolicy?.stepValue,
|
|
120
|
+
t.sequencePolicy?.sequenceLength,
|
|
121
|
+
t.sequencePolicy?.maxValue
|
|
122
|
+
].some((e) => e != null && !Number.isSafeInteger(e))) throw new n(a(r, "platform.code.config.integer-required", "流水策略和片段长度须为可准确表示的整数。"));
|
|
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;
|
|
126
126
|
}), i;
|
|
@@ -145,60 +145,60 @@ 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(
|
|
148
|
+
function x(t, r, o = e) {
|
|
149
149
|
let s = {};
|
|
150
|
-
for (let
|
|
151
|
-
let
|
|
152
|
-
if (
|
|
153
|
-
if (b(
|
|
154
|
-
let
|
|
155
|
-
if (c === void 0) throw new
|
|
156
|
-
s[
|
|
157
|
-
} else if (b(
|
|
158
|
-
if (
|
|
159
|
-
s[
|
|
160
|
-
} else s[
|
|
150
|
+
for (let e of t) {
|
|
151
|
+
let t = r[e.fieldName];
|
|
152
|
+
if (t !== void 0 && t !== "") {
|
|
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) }));
|
|
156
|
+
s[e.fieldName] = c;
|
|
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;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
return s;
|
|
164
164
|
}
|
|
165
|
-
function S(
|
|
165
|
+
function S(t, i = e) {
|
|
166
166
|
let o = "/platform.code_rule";
|
|
167
167
|
return {
|
|
168
|
-
targets: (
|
|
169
|
-
rules: (
|
|
170
|
-
async bind(
|
|
171
|
-
return
|
|
168
|
+
targets: (e) => t.request({ path: o + "/targets" + (e ? `?moduleAlias=${encodeURIComponent(e)}` : "") }),
|
|
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({
|
|
172
172
|
method: "POST",
|
|
173
173
|
path: o + "/binding",
|
|
174
174
|
body: {
|
|
175
|
-
moduleAlias:
|
|
176
|
-
entityAlias:
|
|
175
|
+
moduleAlias: e.moduleAlias,
|
|
176
|
+
entityAlias: e.entityAlias,
|
|
177
177
|
fieldName: n.fieldName,
|
|
178
|
-
role:
|
|
178
|
+
role: i,
|
|
179
179
|
trigger: a,
|
|
180
180
|
expectedVersion: n.bindingVersion ?? null
|
|
181
181
|
}
|
|
182
182
|
}));
|
|
183
183
|
},
|
|
184
|
-
async save(
|
|
185
|
-
return
|
|
184
|
+
async save(e) {
|
|
185
|
+
return r(await t.request({
|
|
186
186
|
method: "POST",
|
|
187
187
|
path: o + "/saveTree",
|
|
188
|
-
body: v(
|
|
188
|
+
body: v(e, i)
|
|
189
189
|
}));
|
|
190
190
|
},
|
|
191
|
-
async preview(
|
|
192
|
-
if (!Number.isSafeInteger(c) || c < 0) throw new
|
|
193
|
-
return
|
|
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({
|
|
194
194
|
method: "POST",
|
|
195
195
|
path: o + "/preview",
|
|
196
196
|
...l ? { signal: l } : {},
|
|
197
197
|
body: {
|
|
198
|
-
rule: v(
|
|
198
|
+
rule: v(e, i),
|
|
199
199
|
context: s,
|
|
200
200
|
sequenceValue: c,
|
|
201
|
-
organizationId:
|
|
201
|
+
organizationId: e.orgScopeId ?? null
|
|
202
202
|
}
|
|
203
203
|
}));
|
|
204
204
|
}
|