@masterteam/workflow 0.0.32 → 0.0.34

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.32",
3
+ "version": "0.0.34",
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/structure-builder": "^0.0.47",
23
- "@masterteam/components": "^0.0.148",
24
- "@masterteam/forms": "^0.0.68",
25
- "@masterteam/notification": "^0.0.20",
22
+ "@masterteam/forms": "^0.0.71",
23
+ "@masterteam/components": "^0.0.157",
26
24
  "@masterteam/icons": "^0.0.14",
27
- "@masterteam/form-builder": "^0.0.25"
25
+ "@masterteam/structure-builder": "^0.0.49",
26
+ "@masterteam/form-builder": "^0.0.25",
27
+ "@masterteam/notification": "^0.0.20"
28
28
  },
29
29
  "sideEffects": false,
30
30
  "exports": {
@@ -397,7 +397,7 @@ declare class WorkflowState {
397
397
  setModuleInfo(ctx: StateContext<WorkflowStateModel>, action: SetModuleInfo): void;
398
398
  getWorkflows(ctx: StateContext<WorkflowStateModel>, _action: GetWorkflows): rxjs.Observable<Response<WorkflowListItem[]> | null>;
399
399
  getWorkflow(ctx: StateContext<WorkflowStateModel>, action: GetWorkflow): rxjs.Observable<Response<WorkflowSchema> | null>;
400
- getFormulaProperties(ctx: StateContext<WorkflowStateModel>, _action: GetFormulaProperties): rxjs.Observable<null> | rxjs.Observable<Response<FormulaProperty[]> | never[]>;
400
+ getFormulaProperties(ctx: StateContext<WorkflowStateModel>, _action: GetFormulaProperties): rxjs.Observable<null> | rxjs.Observable<never[] | Response<FormulaProperty[]>>;
401
401
  getGroups(ctx: StateContext<WorkflowStateModel>, _action: GetGroups): rxjs.Observable<GroupDefinition[]> | rxjs.Observable<never[] | Response<GroupDefinition[]>>;
402
402
  getRolesForModule(ctx: StateContext<WorkflowStateModel>, _action: GetRolesForModule): rxjs.Observable<never[] | Response<unknown[]>>;
403
403
  getAppActions(ctx: StateContext<WorkflowStateModel>, _action: GetAppActions): rxjs.Observable<WorkflowAppActionDescriptor[]> | rxjs.Observable<never[] | Response<unknown>>;
@@ -451,6 +451,12 @@ declare class WorkflowBuilder {
451
451
  readonly draftAppActionDescriptor: _angular_core.WritableSignal<WorkflowAppActionDescriptor | null>;
452
452
  readonly nodeFields: _angular_core.WritableSignal<{
453
453
  name: string;
454
+ icon: string;
455
+ color: string;
456
+ subtitle: string;
457
+ badge: string;
458
+ status: string;
459
+ style: string;
454
460
  }>;
455
461
  readonly workflow: _angular_core.Signal<_masterteam_workflow.WorkflowSchema | null>;
456
462
  readonly workflows: _angular_core.Signal<_masterteam_workflow.WorkflowListItem[]>;
@@ -522,6 +528,8 @@ declare class WorkflowBuilder {
522
528
  supportedScopes: string[];
523
529
  icon: string;
524
530
  color: string;
531
+ subtitle: string;
532
+ style: string;
525
533
  } | {
526
534
  id: string;
527
535
  type: WorkflowStepType;
@@ -534,6 +542,7 @@ declare class WorkflowBuilder {
534
542
  targetType: string;
535
543
  icon: string;
536
544
  color: string;
545
+ subtitle: string;
537
546
  })[]>;
538
547
  readonly nodeActions: _angular_core.WritableSignal<({
539
548
  key: string;
@@ -561,6 +570,10 @@ declare class WorkflowBuilder {
561
570
  }>;
562
571
  readonly steps: _angular_core.Signal<{
563
572
  color: string;
573
+ icon: string;
574
+ subtitle: string;
575
+ badge: string | null;
576
+ style: string;
564
577
  id: number;
565
578
  name: string | Record<string, string>;
566
579
  sla: number;
@@ -592,7 +605,6 @@ declare class WorkflowBuilder {
592
605
  openFormModal(): void;
593
606
  getStepBadgeClass(type: WorkflowStepType): string;
594
607
  getStepCardTitle(step: WorkflowStepSchema): string;
595
- getStepCardSubtitle(step: WorkflowStepSchema): string | null;
596
608
  getStepTypeLabel(type: WorkflowStepType): string;
597
609
  getAppActionConfigControl(key: string): FormControl;
598
610
  getAppActionEnumOptions(field: WorkflowAppActionConfigField): {