@masterteam/workflow 0.0.44 → 0.0.46
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@masterteam/workflow",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.46",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"directory": "../../../dist/masterteam/workflow",
|
|
6
6
|
"linkDirectory": false,
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
"tailwindcss": "^4.2.2",
|
|
20
20
|
"tailwindcss-primeui": "^0.6.1",
|
|
21
21
|
"@ngxs/store": "^20.1.0",
|
|
22
|
-
"@masterteam/components": "^0.0.
|
|
23
|
-
"@masterteam/forms": "^0.0.
|
|
22
|
+
"@masterteam/components": "^0.0.227",
|
|
23
|
+
"@masterteam/forms": "^0.0.116",
|
|
24
24
|
"@masterteam/icons": "^0.0.17",
|
|
25
|
-
"@masterteam/
|
|
26
|
-
"@masterteam/
|
|
25
|
+
"@masterteam/form-builder": "^0.0.45",
|
|
26
|
+
"@masterteam/structure-builder": "^0.0.61",
|
|
27
27
|
"@masterteam/notification": "^0.0.26"
|
|
28
28
|
},
|
|
29
29
|
"sideEffects": false,
|
|
@@ -534,6 +534,7 @@ declare class WorkflowBuilder {
|
|
|
534
534
|
private readonly formBuilderFacade;
|
|
535
535
|
private readonly transloco;
|
|
536
536
|
private readonly confirmationService;
|
|
537
|
+
private readonly toast;
|
|
537
538
|
readonly modal: ModalService;
|
|
538
539
|
private isPatchingStepForm;
|
|
539
540
|
private lastAppActionDescriptorSignature;
|
|
@@ -678,10 +679,22 @@ declare class WorkflowBuilder {
|
|
|
678
679
|
condition: (node: WorkflowStepSchema) => boolean;
|
|
679
680
|
})[]>;
|
|
680
681
|
readonly nodeDialogFooterConfig: NodeDialogFooterConfig;
|
|
682
|
+
/**
|
|
683
|
+
* Connection guardrail handed to structure-builder, evaluated at draw time
|
|
684
|
+
* before the connection dialog opens. Enforces the backend-owned lifecycle
|
|
685
|
+
* ordering during authoring so the user cannot draw an edge that publish
|
|
686
|
+
* validation would later reject:
|
|
687
|
+
* - nothing may connect INTO the initial step → it stays first
|
|
688
|
+
* - only `AppAction` steps may follow `Commit Approved Form` → the commit
|
|
689
|
+
* step stays last for approval / user-input steps
|
|
690
|
+
* Backend publish validation remains authoritative (see the ProcessBuilder
|
|
691
|
+
* AppActions handoff §11).
|
|
692
|
+
*/
|
|
693
|
+
readonly connectionGuard: (fromNodeId: string, toNodeId: string) => boolean;
|
|
681
694
|
readonly connectionForm: _angular_core.WritableSignal<DynamicFormConfig>;
|
|
682
695
|
readonly connectionFormulaConfig: _angular_core.WritableSignal<{
|
|
683
696
|
codeOnly: boolean;
|
|
684
|
-
toolbarTabs: readonly ["functions", "operators"];
|
|
697
|
+
toolbarTabs: readonly ["functions", "properties", "operators"];
|
|
685
698
|
isProcessBuilder: boolean;
|
|
686
699
|
}>;
|
|
687
700
|
readonly steps: _angular_core.Signal<{
|
|
@@ -803,6 +816,13 @@ declare class WorkflowBuilder {
|
|
|
803
816
|
private getCurrentAppActionConfigJson;
|
|
804
817
|
private createAppActionDescriptorSignature;
|
|
805
818
|
private isNodeDialogSaveDisabled;
|
|
819
|
+
/**
|
|
820
|
+
* Returns a translated reason string when a source→target edge violates the
|
|
821
|
+
* mandatory first/last ordering, or `null` when the connection is allowed.
|
|
822
|
+
* Compares as strings because connection endpoints arrive as node-id strings
|
|
823
|
+
* while step ids are numeric.
|
|
824
|
+
*/
|
|
825
|
+
private getConnectionBlockMessage;
|
|
806
826
|
private normalizeRoleValue;
|
|
807
827
|
private resolveDisplayName;
|
|
808
828
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<WorkflowBuilder, never>;
|