@masterteam/workflow 0.0.36 → 0.0.38

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.36",
3
+ "version": "0.0.38",
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.51",
23
- "@masterteam/components": "^0.0.162",
22
+ "@masterteam/components": "^0.0.163",
23
+ "@masterteam/form-builder": "^0.0.25",
24
24
  "@masterteam/notification": "^0.0.20",
25
+ "@masterteam/structure-builder": "^0.0.52",
25
26
  "@masterteam/icons": "^0.0.14",
26
- "@masterteam/forms": "^0.0.72",
27
- "@masterteam/form-builder": "^0.0.25"
27
+ "@masterteam/forms": "^0.0.72"
28
28
  },
29
29
  "sideEffects": false,
30
30
  "exports": {
@@ -539,6 +539,8 @@ declare class WorkflowBuilder {
539
539
  private lastAppActionDescriptorSignature;
540
540
  readonly mainTab: _angular_core.WritableSignal<"workflow" | "notification">;
541
541
  readonly selectedTab: _angular_core.WritableSignal<"tab1" | "tab2" | "tab3">;
542
+ readonly resolvedAutomaticallyOpen: _angular_core.WritableSignal<boolean>;
543
+ readonly outputsOpen: _angular_core.WritableSignal<boolean>;
542
544
  readonly isPublished: _angular_core.WritableSignal<boolean>;
543
545
  readonly isEditingInitialNode: _angular_core.WritableSignal<boolean>;
544
546
  readonly isCreatingStep: _angular_core.WritableSignal<boolean>;
@@ -601,6 +603,23 @@ declare class WorkflowBuilder {
601
603
  label: string;
602
604
  value: string;
603
605
  }[]>;
606
+ /**
607
+ * Modal-config providers — these are functions because Angular's input
608
+ * binding doesn't re-evaluate inside a synchronous emit→read sequence,
609
+ * so reading `currentStepType()` from a `computed` would still see the
610
+ * stale value at the moment structure-builder reads the input. Passing
611
+ * functions lets structure-builder call them at dialog-open time with
612
+ * the node data, where we read `node.type` directly.
613
+ */
614
+ readonly editorDrawerStyleClass: (node: {
615
+ type?: string;
616
+ } | null) => "!w-[42rem] !absolute !shadow-none" | "!w-[25rem] !absolute !shadow-none";
617
+ readonly editorAddHeader: (node: {
618
+ type?: string;
619
+ } | null) => string;
620
+ readonly editorUpdateHeader: (node: {
621
+ type?: string;
622
+ } | null) => string;
604
623
  readonly tabsList: _angular_core.Signal<{
605
624
  label: string;
606
625
  value: string;
@@ -665,13 +684,21 @@ declare class WorkflowBuilder {
665
684
  isProcessBuilder: boolean;
666
685
  }>;
667
686
  readonly steps: _angular_core.Signal<{
687
+ name: {
688
+ display: string;
689
+ en?: undefined;
690
+ ar?: undefined;
691
+ } | {
692
+ display: string;
693
+ en: string;
694
+ ar: string;
695
+ };
668
696
  color: string;
669
697
  icon: string;
670
698
  subtitle: string;
671
699
  badge: string | null;
672
700
  style: string;
673
701
  id: number;
674
- name: string | Record<string, string>;
675
702
  sla: number;
676
703
  isInitial: boolean;
677
704
  type: WorkflowStepType;