@ximatai/muyun-web-app 0.26.18 → 0.26.19
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-CNW817Sf.js → BusinessActivityLogView-DudCmeKP.js} +2 -2
- package/dist/BusinessLogListDrawer-CVUvUG48.js +864 -0
- package/dist/{CodeConfigurationView-DU8tjPMt.js → CodeConfigurationView-ZjVgaZkD.js} +450 -450
- package/dist/{ConfigurationTranslationView-CbBt5s1q.js → ConfigurationTranslationView-Dl757QMl.js} +38 -38
- package/dist/{LoginAuditLogView-CZF1Jfq_.js → LoginAuditLogView-Cj3PMvN5.js} +2 -2
- package/dist/ModuleActionManagementView-BuhQrVA3.js +755 -0
- package/dist/{ModuleGovernanceView-CcwGyO3x.js → ModuleGovernanceView-C3RxdgQN.js} +2243 -2243
- package/dist/{RequestErrorLogView-DpudZrC2.js → RequestErrorLogView-tmjMOeLE.js} +2 -2
- package/dist/{RoleDetailWorkspaceView-DNMGsAJC.js → RoleDetailWorkspaceView-OhpBChaT.js} +518 -518
- package/dist/{RuntimeLogView-444BL_xs.js → RuntimeLogView-BkkgHcF0.js} +64 -64
- package/dist/{WorkflowAdministrationView-C-VIjvwB.js → WorkflowAdministrationView-DOhA_5-M.js} +139 -139
- package/dist/WorkflowConfigurationView-Bnjdrkdx.js +980 -0
- package/dist/{WorkflowWorkbenchView-Gr02dbBc.js → WorkflowWorkbenchView-Cf6yiofx.js} +222 -222
- package/dist/{codeConfiguration-ChJ6ktRR.js → codeConfiguration-DERwCY-U.js} +44 -44
- package/dist/index.css +1 -1
- package/dist/index.js +421 -430
- package/dist/moduleMenuWorkspace-DPmYGkS_.js +626 -0
- package/dist/platform-components-wRXbnwMr.js +30434 -0
- package/dist/{platform-workbench-BhZPARiH.js → platform-workbench-Cm_0kmTT.js} +5169 -5149
- package/dist/types/app/executeBusinessNotificationRecordAction.d.ts +7 -0
- package/dist/types/dynamic-page-runtime/composables/useModulePageDetailExtensionRuntime.d.ts +1 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancementState.d.ts +5 -0
- package/dist/types/dynamic-page-runtime/modulePageEnhancements.d.ts +4 -0
- package/dist/types/platform-admin-runtime/workflow/ModuleWorkflowDrawer.vue.d.ts +7 -0
- package/dist/types/platform-components/BusinessNotificationPanel.vue.d.ts +5 -3
- package/dist/types/platform-components/FormulaExpressionEditor.vue.d.ts +5 -0
- package/dist/types/platform-components/RecordAdaptiveDetailPanel.vue.d.ts +28 -0
- package/dist/types/platform-components/RecordQueryListSurface.vue.d.ts +4 -0
- package/dist/types/platform-components/WorkflowBusinessTaskEditor.vue.d.ts +2 -0
- package/dist/types/platform-components/WorkflowDesignProperties.vue.d.ts +2 -6
- package/dist/types/platform-components/WorkflowDiagram.vue.d.ts +32 -1
- package/dist/types/platform-components/formulaExpressionTokens.d.ts +2 -0
- package/dist/types/platform-components/formulaExpressionTools.d.ts +6 -0
- package/dist/types/platform-components/index.d.ts +3 -0
- package/dist/types/platform-components/useWorkflowDesignHistory.d.ts +14 -0
- package/dist/types/platform-components/useWorkspaceDetailSurface.d.ts +3 -0
- package/dist/types/platform-components/workflowDesignClipboard.d.ts +7 -0
- package/dist/types/platform-components/workflowPresentation.d.ts +4 -0
- package/dist/types/views/WorkflowConfigurationView.vue.d.ts +1 -0
- package/dist/types/views/WorkflowDefinitionSettings.vue.d.ts +35 -0
- package/dist/types/views/WorkflowSelectionFields.vue.d.ts +2 -4
- package/dist/types/views/useWorkflowConfigurationContext.d.ts +49 -0
- package/dist/types/views/workflowConfigurationWorkspaceView.d.ts +2 -0
- package/dist/types/vue-ui-antdv/components/UiIcon.vue.d.ts +1 -1
- package/dist/types/vue-ui-antdv/components/UiRadioGroup.vue.d.ts +4 -0
- package/dist/types/vue-ui-antdv/components/UiSidePanel.vue.d.ts +5 -0
- package/dist/types/vue-ui-antdv/index.d.ts +1 -0
- package/dist/types/vue-ui-antdv/overlayLayers.d.ts +5 -0
- package/dist/types/vue-ui-antdv/types.d.ts +2 -0
- package/dist/types/web-contracts/index.d.ts +4 -0
- package/dist/types/web-contracts/workflow.d.ts +16 -8
- package/dist/types/web-core/businessNotifications.d.ts +3 -1
- package/dist/types/web-core/workflow.d.ts +13 -1
- package/dist/useWorkflowConfigurationContext-BE_UjKgk.js +66 -0
- package/dist/{workspaceViews-DeBqozVb.js → workspaceViews-D37OpJ7g.js} +1516 -936
- package/package.json +1 -1
- package/dist/BusinessLogListDrawer-YiJxOlnD.js +0 -864
- package/dist/ModuleActionManagementView-CaiXH1l_.js +0 -755
- package/dist/WorkflowConfigurationView-DLFY2x7V.js +0 -1110
- package/dist/moduleMenuWorkspace-B8DKwC3L.js +0 -626
- package/dist/platform-components-5AE0j2_3.js +0 -29879
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { E as e, y as t } from "./platform-workbench-Cm_0kmTT.js";
|
|
2
|
+
import { Er as n, Ha as r, Hr as i, Ir as a, Mt as o, un as s, zr as c } from "./platform-components-wRXbnwMr.js";
|
|
3
|
+
import { computed as l, onMounted as u } from "vue";
|
|
4
|
+
//#region src/views/useWorkflowConfigurationContext.ts
|
|
5
|
+
function d(d) {
|
|
6
|
+
let f = r(), p = c({ moduleAlias: "platform.workflow.definition" }), m = n(p.http, d), h = {
|
|
7
|
+
loadFunctions: async () => (await m.formulaFunctions()).map((e) => ({
|
|
8
|
+
name: e.name,
|
|
9
|
+
title: e.title,
|
|
10
|
+
description: e.description,
|
|
11
|
+
example: e.example,
|
|
12
|
+
signature: `${e.name}(${e.parameters.map((e) => e.name).join(", ")})`
|
|
13
|
+
})),
|
|
14
|
+
validate: (e) => m.validateCondition(e)
|
|
15
|
+
}, g = a({
|
|
16
|
+
http: p.http,
|
|
17
|
+
language: f,
|
|
18
|
+
moduleAlias: d,
|
|
19
|
+
runtimeAccess: "VIEW"
|
|
20
|
+
}), _ = t(), v = l(() => _?.value?.tenantId ? a({
|
|
21
|
+
http: p.http,
|
|
22
|
+
language: f,
|
|
23
|
+
moduleAlias: "iam.organization",
|
|
24
|
+
runtimeAccess: "REFERENCE"
|
|
25
|
+
}) : void 0);
|
|
26
|
+
e({
|
|
27
|
+
moduleAlias: d,
|
|
28
|
+
predicate: (e) => e.type === "configuration-translations-changed",
|
|
29
|
+
handler: async () => {
|
|
30
|
+
try {
|
|
31
|
+
await g.runtime.refreshTexts?.();
|
|
32
|
+
} catch (e) {
|
|
33
|
+
s(e, {
|
|
34
|
+
source: "workflow-design",
|
|
35
|
+
phase: "load"
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
let y = l(() => i(g.runtime)), b = l(() => [...o(y.value?.uiDescriptor)].map(([e, t]) => ({
|
|
41
|
+
name: e,
|
|
42
|
+
label: t.label ?? e,
|
|
43
|
+
valueType: t.valueType,
|
|
44
|
+
referenceModule: t.reference?.targetModuleAlias
|
|
45
|
+
})));
|
|
46
|
+
return u(async () => {
|
|
47
|
+
try {
|
|
48
|
+
await g.runtime.ready;
|
|
49
|
+
} catch (e) {
|
|
50
|
+
s(e, {
|
|
51
|
+
source: "workflow-design",
|
|
52
|
+
phase: "load"
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
}), {
|
|
56
|
+
context: p,
|
|
57
|
+
client: m,
|
|
58
|
+
language: f,
|
|
59
|
+
businessRuntime: y,
|
|
60
|
+
fields: b,
|
|
61
|
+
organizationContext: v,
|
|
62
|
+
conditionTools: h
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
export { d as t };
|