@masterteam/workflow 0.0.49 → 0.0.51

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.49",
3
+ "version": "0.0.51",
4
4
  "publishConfig": {
5
5
  "directory": "../../../dist/masterteam/workflow",
6
6
  "linkDirectory": false,
@@ -19,12 +19,12 @@
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.277",
22
+ "@masterteam/forms": "^0.0.149",
23
+ "@masterteam/structure-builder": "^0.0.64",
24
+ "@masterteam/components": "^0.0.286",
25
+ "@masterteam/form-builder": "^0.0.52",
23
26
  "@masterteam/icons": "^0.0.17",
24
- "@masterteam/forms": "^0.0.142",
25
- "@masterteam/notification": "^0.0.27",
26
- "@masterteam/form-builder": "^0.0.49",
27
- "@masterteam/structure-builder": "^0.0.63"
27
+ "@masterteam/notification": "^0.0.28"
28
28
  },
29
29
  "sideEffects": false,
30
30
  "exports": {
@@ -399,6 +399,8 @@ declare class WorkflowFacade {
399
399
  readonly workflowId: _angular_core.Signal<string | number | null>;
400
400
  readonly moduleType: _angular_core.Signal<string | null>;
401
401
  readonly moduleId: _angular_core.Signal<string | number | null>;
402
+ readonly parentModuleType: _angular_core.Signal<string | null>;
403
+ readonly parentModuleId: _angular_core.Signal<string | number | null>;
402
404
  readonly workflows: _angular_core.Signal<WorkflowListItem[]>;
403
405
  readonly workflow: _angular_core.Signal<WorkflowSchema | null>;
404
406
  readonly formulaProperties: _angular_core.Signal<FormulaProperty[]>;
@@ -462,6 +464,8 @@ declare class WorkflowState {
462
464
  static workflowId(state: WorkflowStateModel): string | number | null;
463
465
  static moduleType(state: WorkflowStateModel): string | null;
464
466
  static moduleId(state: WorkflowStateModel): string | number | null;
467
+ static parentModuleType(state: WorkflowStateModel): string | null;
468
+ static parentModuleId(state: WorkflowStateModel): string | number | null;
465
469
  static workflows(state: WorkflowStateModel): WorkflowListItem[];
466
470
  static workflow(state: WorkflowStateModel): WorkflowSchema | null;
467
471
  static formulaProperties(state: WorkflowStateModel): FormulaProperty[];
@@ -574,7 +578,17 @@ declare class WorkflowBuilder {
574
578
  readonly publishError: _angular_core.Signal<string | null>;
575
579
  readonly appActionDetailError: _angular_core.Signal<string | null>;
576
580
  readonly selectedWorkflowId: _angular_core.Signal<number | undefined>;
581
+ /**
582
+ * Formula context ids for the connection formula. The Formula Engine
583
+ * addresses a scope by its LEVEL id — `builder/context/{levelId}` for a
584
+ * level-scoped workflow and `builder/context/{levelId}?moduleId={moduleId}`
585
+ * for one scoped to a module attached to that level. The workflow's own
586
+ * schema id is not a formula scope; sending it made the backend resolve
587
+ * whatever level happened to share that id.
588
+ */
589
+ private readonly formulaScope;
577
590
  readonly connectionFormulaSchemaId: _angular_core.Signal<number | undefined>;
591
+ readonly connectionFormulaModuleId: _angular_core.Signal<number | undefined>;
578
592
  readonly hasMultipleWorkflows: _angular_core.Signal<boolean>;
579
593
  readonly isPublishDisabled: _angular_core.Signal<boolean>;
580
594
  readonly hasGroupedRoles: _angular_core.Signal<boolean>;