@ximatai/muyun-web-app 0.26.23 → 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.
- package/dist/{BusinessActivityLogView-IWGZiPLo.js → BusinessActivityLogView-a6oZ2t9t.js} +2 -2
- package/dist/{BusinessLogListDrawer-UCsg6psI.js → BusinessLogListDrawer-DtSXpK6g.js} +135 -131
- package/dist/{CodeConfigurationView-Calkazua.js → CodeConfigurationView-BVu1ZnH-.js} +366 -366
- package/dist/{ConfigurationTranslationView-fZrlRAMy.js → ConfigurationTranslationView-Cd8ezR4t.js} +44 -44
- package/dist/{LoginAuditLogView-B6J7t__0.js → LoginAuditLogView-DyvHTCXH.js} +2 -2
- package/dist/ModuleActionManagementView-y3t2YHKF.js +780 -0
- package/dist/{ModuleGovernanceView-D8ONs78K.js → ModuleGovernanceView-BqJq2Pxm.js} +3521 -3521
- package/dist/{RequestErrorLogView-poMgx4_6.js → RequestErrorLogView-2iPeAi3b.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-6Bs1eKbm.js → RoleDetailWorkspaceView-G-5VAV_B.js} +54 -54
- package/dist/{RuntimeLogView-Co-Z86bt.js → RuntimeLogView-CulSgS0l.js} +61 -61
- package/dist/WorkflowAdministrationView-y8VBYMLZ.js +650 -0
- package/dist/{WorkflowConfigurationView-mSyL_-We.js → WorkflowConfigurationView-DpONX2nN.js} +290 -290
- package/dist/{WorkflowWorkbenchView-DBMh3ycN.js → WorkflowWorkbenchView-CGo1eZjr.js} +215 -215
- package/dist/{codeConfiguration-D1zrxzoW.js → codeConfiguration-fZiz0PNC.js} +27 -27
- package/dist/index.css +1 -1
- package/dist/index.js +2407 -1222
- package/dist/{moduleMenuWorkspace-lIVrTaOB.js → moduleMenuWorkspace-AZ4G9BpZ.js} +222 -222
- package/dist/{platform-components-D0T03KGl.js → platform-components-D98pyZ77.js} +4296 -3497
- package/dist/{platform-workbench-CobObbuz.js → platform-workbench-BBLDvT9V.js} +6311 -6111
- package/dist/types/app/CurrentUserProfileDialog.vue.d.ts +9 -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/PersonalAccessTokenDialog.vue.d.ts +15 -0
- package/dist/types/app/PersonalAccessTokens.vue.d.ts +8 -0
- package/dist/types/app/WeLinkQrCode.vue.d.ts +11 -0
- package/dist/types/app/WorkbenchAccountCenter.vue.d.ts +40 -0
- package/dist/types/app/externalLoginReturn.d.ts +38 -0
- package/dist/types/app/themeSkinPreference.d.ts +2 -2
- package/dist/types/app/useCurrentUserProfile.d.ts +1 -0
- package/dist/types/app/useExternalLoginHost.d.ts +27 -0
- package/dist/types/app/usePersonalAccessTokenAccess.d.ts +11 -0
- package/dist/types/app/weLinkQrCode.d.ts +22 -0
- package/dist/types/consumer/AppWorkbenchShell.vue.d.ts +20 -4
- package/dist/types/consumer/index.d.ts +16 -2
- 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/formCreateDefaults.d.ts +3 -0
- package/dist/types/dynamic-page-runtime/useModulePageSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/authSession.d.ts +2 -0
- package/dist/types/platform-admin-runtime/index.d.ts +1 -1
- 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/CronExpressionInput.vue.d.ts +12 -0
- package/dist/types/platform-components/DurationSecondsInput.vue.d.ts +10 -0
- 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/cronExpression.d.ts +36 -0
- package/dist/types/platform-components/durationSeconds.d.ts +31 -0
- package/dist/types/platform-components/fileReferenceTransfer.d.ts +9 -2
- package/dist/types/platform-components/index.d.ts +6 -0
- package/dist/types/platform-components/managementWorkspaceContext.d.ts +2 -1
- package/dist/types/platform-components/useNotificationDeckMotion.d.ts +7 -0
- package/dist/types/platform-workbench/Workbench.vue.d.ts +13 -4
- package/dist/types/platform-workbench/WorkbenchGlobalTools.vue.d.ts +5 -0
- package/dist/types/platform-workbench/WorkbenchOutlet.vue.d.ts +11 -1
- package/dist/types/platform-workbench/index.d.ts +3 -0
- package/dist/types/platform-workbench/workbenchAccountMenu.d.ts +33 -0
- package/dist/types/platform-workbench/workspaceViewDiscardGuard.d.ts +1 -1
- package/dist/types/views/businessLogClient.d.ts +2 -0
- package/dist/types/views/businessRuleGovernance.d.ts +1 -0
- package/dist/types/vue-ui-antdv/components/UiInputGroup.vue.d.ts +20 -0
- package/dist/types/vue-ui-antdv/components/UiTextArea.vue.d.ts +2 -0
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/web-contracts/index.d.ts +87 -2
- package/dist/types/web-core/clients.d.ts +25 -1
- package/dist/{useWorkflowConfigurationContext-BkcNPU2H.js → useWorkflowConfigurationContext-BcK19EXl.js} +6 -6
- package/dist/{workspaceViews-BtqO8rU0.js → workspaceViews-Dr7RZXvX.js} +1139 -983
- package/package.json +1 -1
- package/dist/ModuleActionManagementView-BZ89Woex.js +0 -755
- package/dist/WorkflowAdministrationView-D7QpRHDp.js +0 -650
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import "./platform-workbench-
|
|
2
|
-
import {
|
|
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-
|
|
23
|
+
component: o(() => import("./ModuleGovernanceView-BqJq2Pxm.js")),
|
|
24
24
|
layout: "workspace",
|
|
25
25
|
routeTitle: "模块管理",
|
|
26
26
|
routeTitleKey: "platform.workspace-view.modules.route-title",
|
|
@@ -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 a(
|
|
123
|
-
let i = JSON.parse(JSON.stringify(
|
|
115
|
+
function v(t, n = 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 r(a(n, "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;
|
|
@@ -151,51 +151,51 @@ function x(n, i, o = e) {
|
|
|
151
151
|
let n = i[e.fieldName];
|
|
152
152
|
if (n !== void 0 && n !== "") {
|
|
153
153
|
if (b(e) === "number") {
|
|
154
|
-
let i = e.type.toUpperCase(), c =
|
|
155
|
-
if (c === void 0) throw new a(
|
|
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 (n !== "true" && n !== "false") throw new a(
|
|
158
|
+
if (n !== "true" && n !== "false") throw new r(a(o, "platform.code.config.boolean-required", "{field}请输入 true 或 false", { field: f(e, o) }));
|
|
159
159
|
s[e.fieldName] = n === "true";
|
|
160
160
|
} else s[e.fieldName] = n;
|
|
161
161
|
}
|
|
162
162
|
}
|
|
163
163
|
return s;
|
|
164
164
|
}
|
|
165
|
-
function S(
|
|
165
|
+
function S(t, n = e) {
|
|
166
166
|
let o = "/platform.code_rule";
|
|
167
167
|
return {
|
|
168
|
-
targets: (e) =>
|
|
169
|
-
rules: (e) =>
|
|
170
|
-
async bind(e,
|
|
171
|
-
return i(await
|
|
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, 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
|
-
fieldName:
|
|
177
|
+
fieldName: n.fieldName,
|
|
178
178
|
role: r,
|
|
179
179
|
trigger: a,
|
|
180
|
-
expectedVersion:
|
|
180
|
+
expectedVersion: n.bindingVersion ?? null
|
|
181
181
|
}
|
|
182
182
|
}));
|
|
183
183
|
},
|
|
184
184
|
async save(e) {
|
|
185
|
-
return i(await
|
|
185
|
+
return i(await t.request({
|
|
186
186
|
method: "POST",
|
|
187
187
|
path: o + "/saveTree",
|
|
188
|
-
body: v(e,
|
|
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 a(
|
|
193
|
-
return i(await
|
|
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,
|
|
198
|
+
rule: v(e, n),
|
|
199
199
|
context: s,
|
|
200
200
|
sequenceValue: c,
|
|
201
201
|
organizationId: e.orgScopeId ?? null
|