@memberjunction/ng-flow-editor 6.1.0-edge.0 → 6.1.0-edge.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"flow-palette.component.js","sourceRoot":"","sources":["../../../src/lib/components/flow-palette.component.ts","../../../src/lib/components/flow-palette.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;;;;;ICIvF,4BAAM;IAAA,qBAAK;IAAA,iBAAO;;;IAeV,AALF,8BAI2B,aACwG;IAC/H,uBAAkD;IACpD,iBAAM;IACN,+BAAyC;IAAA,YAAoB;IAC/D,AAD+D,iBAAO,EAChE;;;;IALJ,AADA,wCAAuB,4BACC;IACe,cAA0D;IAAC,AAA3D,8EAA0D,4BAA+B;IAC1G,cAAyB;IAAzB,0CAAyB;IAEN,eAAoB;IAApB,uCAAoB;;;IAVjE,AADF,8BAAsC,aACQ;IAAA,YAAc;IAAA,iBAAM;IAChE,6HAWC;IACH,iBAAM;;;;IAbwC,eAAc;IAAd,iCAAc;IAC1D,cAWC;IAXD,cAAA,uCAA6B,CAW5B;;;IAfP,8BAAqC;IACnC,uHAgBC;IACH,iBAAM;;;IAjBJ,cAgBC;IAhBD,gCAgBC;;ADvBP;;;GAGG;AASH,MAAM,OAAO,oBAAoB;IACtB,SAAS,GAAyB,EAAE,CAAC;IACrC,SAAS,GAAG,KAAK,CAAC;IAE3B,IAAI,UAAU;QACZ,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;QAC/B,KAAK,MAAM,EAAE,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;YAChC,IAAI,EAAE,CAAC,SAAS,KAAK,KAAK,EAAE,CAAC;gBAC3B,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,QAAQ,IAAI,SAAS,CAAC,CAAC;YACrC,CAAC;QACH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bU,oBAAoB;cARhC,SAAS;6BACI,KAAK,YACP,iBAAiB,iBAGZ,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM;;kBAG9C,KAAK;;kBACL,KAAK;;kFAFK,oBAAoB","sourcesContent":["import { Component, Input, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\nimport { FlowNodeTypeConfig } from '../interfaces/flow-types';\n\n/**\n * Draggable palette sidebar for creating new nodes.\n * Uses Foblex's fExternalItem directive to enable drag-to-canvas creation.\n */\n@Component({\n standalone: false,\n selector: 'mj-flow-palette',\n templateUrl: './flow-palette.component.html',\n styleUrls: ['./flow-palette.component.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FlowPaletteComponent {\n @Input() NodeTypes: FlowNodeTypeConfig[] = [];\n @Input() Collapsed = false;\n\n get categories(): string[] {\n const cats = new Set<string>();\n for (const nt of this.NodeTypes) {\n if (nt.Draggable !== false) {\n cats.add(nt.Category ?? 'General');\n }\n }\n return Array.from(cats);\n }\n\n GetTypesForCategory(category: string): FlowNodeTypeConfig[] {\n return this.NodeTypes.filter(nt =>\n nt.Draggable !== false && (nt.Category ?? 'General') === category\n );\n }\n\n /** Converts a hex color to rgba with the given opacity for background tinting */\n GetBgColor(hexColor: string | undefined, opacity: number): string {\n if (!hexColor) return 'transparent';\n // Handle standard 6-digit hex colors\n const match = hexColor.match(/^#?([0-9a-fA-F]{6})$/);\n if (match) {\n const r = parseInt(match[1].substring(0, 2), 16);\n const g = parseInt(match[1].substring(2, 4), 16);\n const b = parseInt(match[1].substring(4, 6), 16);\n return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n }\n // Fallback: return the color as-is with opacity via CSS\n return hexColor;\n }\n}\n","<div class=\"mj-flow-palette\" [class.mj-flow-palette--collapsed]=\"Collapsed\">\n <div class=\"mj-flow-palette-header\">\n <i class=\"fa-solid fa-puzzle-piece\"></i>\n @if (!Collapsed) {\n <span>Steps</span>\n }\n </div>\n\n @if (!Collapsed) {\n <div class=\"mj-flow-palette-content\">\n @for (category of categories; track category) {\n <div class=\"mj-flow-palette-category\">\n <div class=\"mj-flow-palette-category-label\">{{ category }}</div>\n @for (nodeType of GetTypesForCategory(category); track nodeType) {\n <div\n class=\"mj-flow-palette-item\"\n fExternalItem\n [fData]=\"nodeType.Type\"\n [title]=\"nodeType.Label\">\n <div class=\"mj-flow-palette-item-icon\" [style.backgroundColor]=\"GetBgColor(nodeType.Color, 0.08)\" [style.color]=\"nodeType.Color\">\n <i class=\"fa-solid\" [ngClass]=\"nodeType.Icon\"></i>\n </div>\n <span class=\"mj-flow-palette-item-label\">{{ nodeType.Label }}</span>\n </div>\n }\n </div>\n }\n </div>\n }\n</div>\n"]}
1
+ {"version":3,"file":"flow-palette.component.js","sourceRoot":"","sources":["../../../src/lib/components/flow-palette.component.ts","../../../src/lib/components/flow-palette.component.html"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,EAAE,iBAAiB,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;;;;;ICI7G,4BAAM;IAAA,qBAAK;IAAA,iBAAO;;;;IAaZ,iCAM0C;IAAxC,mOAAS,uCAA6B,KAAC;IACvC,+BAAkI;IAChI,uBAAkD;IACpD,iBAAO;IACP,gCAAyC;IAAA,YAAoB;IAC/D,AAD+D,iBAAO,EAC7D;;;;IANP,AADA,wCAAuB,iFACsD;IAErC,cAA0D;IAAC,AAA3D,8EAA0D,4BAA+B;IAC3G,cAAyB;IAAzB,0CAAyB;IAEN,eAAoB;IAApB,uCAAoB;;;IAfjE,AADF,8BAAsC,aACQ;IAAA,YAAc;IAAA,iBAAM;IAChE,gIAgBC;IACH,iBAAM;;;;IAlBwC,eAAc;IAAd,iCAAc;IAC1D,cAgBC;IAhBD,cAAA,uCAA6B,CAgB5B;;;IApBP,8BAAqC;IACnC,uHAqBC;IACH,iBAAM;;;IAtBJ,cAqBC;I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G,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACjD,MAAM,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACjD,OAAO,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,KAAK,OAAO,GAAG,CAAC;QAC9C,CAAC;QACD,wDAAwD;QACxD,OAAO,QAAQ,CAAC;IAClB,CAAC;8GA9CU,oBAAoB;6DAApB,oBAAoB;YCvB/B,AADF,8BAA4E,aACtC;YAClC,uBAAwC;YACxC,oFAAkB;YAGpB,iBAAM;YAEN,sFAAkB;YA0BpB,iBAAM;;YAlCuB,2DAA8C;YAGvE,eAEC;YAFD,yCAEC;YAGH,cAyBC;YAzBD,yCAyBC;;;iFDTU,oBAAoB;cARhC,SAAS;6BACI,KAAK,YACP,iBAAiB,iBAGZ,iBAAiB,CAAC,IAAI,mBACpB,uBAAuB,CAAC,MAAM;;kBAG9C,KAAK;;kBACL,KAAK;;kBAQL,MAAM;;kFAVI,oBAAoB","sourcesContent":["import { Component, EventEmitter, Input, Output, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\nimport { FlowNodeTypeConfig } from '../interfaces/flow-types';\n\n/**\n * Palette sidebar for creating new nodes — **click it or drag it**.\n *\n * Foblex's `fExternalItem` directive supplies drag-to-canvas placement, which is the precise\n * gesture when the author cares where the box lands. It is not, however, the only gesture people\n * try: a palette that looks like a list of buttons gets clicked, and for a long time a click here\n * produced *nothing at all* — the item was a bare `<div>` with no click binding, so the interaction\n * never even reached the editor. The entry is now a real `<button>`, which restores the click, the\n * keyboard (Enter/Space), and the focus ring for free, and emits {@link NodeTypeActivated}.\n *\n * Both gestures converge on the same `NodeAdded` event in `FlowEditorComponent` — one code path, so\n * a host that handles the drop automatically handles the click.\n */\n@Component({\n standalone: false,\n selector: 'mj-flow-palette',\n templateUrl: './flow-palette.component.html',\n styleUrls: ['./flow-palette.component.css'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class FlowPaletteComponent {\n @Input() NodeTypes: FlowNodeTypeConfig[] = [];\n @Input() Collapsed = false;\n\n /**\n * A palette entry was clicked (or activated from the keyboard).\n *\n * Carries the whole config rather than the type string so the host does not have to look it back\n * up — the palette already resolved it, and re-resolving is where a silent mismatch would live.\n */\n @Output() NodeTypeActivated = new EventEmitter<FlowNodeTypeConfig>();\n\n /** Handler for the click/keyboard activation on a palette entry. */\n OnNodeTypeActivated(nodeType: FlowNodeTypeConfig): void {\n this.NodeTypeActivated.emit(nodeType);\n }\n\n get categories(): string[] {\n const cats = new Set<string>();\n for (const nt of this.NodeTypes) {\n if (nt.Draggable !== false) {\n cats.add(nt.Category ?? 'General');\n }\n }\n return Array.from(cats);\n }\n\n GetTypesForCategory(category: string): FlowNodeTypeConfig[] {\n return this.NodeTypes.filter(nt =>\n nt.Draggable !== false && (nt.Category ?? 'General') === category\n );\n }\n\n /** Converts a hex color to rgba with the given opacity for background tinting */\n GetBgColor(hexColor: string | undefined, opacity: number): string {\n if (!hexColor) return 'transparent';\n // Handle standard 6-digit hex colors\n const match = hexColor.match(/^#?([0-9a-fA-F]{6})$/);\n if (match) {\n const r = parseInt(match[1].substring(0, 2), 16);\n const g = parseInt(match[1].substring(2, 4), 16);\n const b = parseInt(match[1].substring(4, 6), 16);\n return `rgba(${r}, ${g}, ${b}, ${opacity})`;\n }\n // Fallback: return the color as-is with opacity via CSS\n return hexColor;\n }\n}\n","<div class=\"mj-flow-palette\" [class.mj-flow-palette--collapsed]=\"Collapsed\">\n <div class=\"mj-flow-palette-header\">\n <i class=\"fa-solid fa-puzzle-piece\"></i>\n @if (!Collapsed) {\n <span>Steps</span>\n }\n </div>\n\n @if (!Collapsed) {\n <div class=\"mj-flow-palette-content\">\n @for (category of categories; track category) {\n <div class=\"mj-flow-palette-category\">\n <div class=\"mj-flow-palette-category-label\">{{ category }}</div>\n @for (nodeType of GetTypesForCategory(category); track nodeType) {\n <!-- A real <button>, not a <div>: clicking a palette entry is the gesture most people\n try first, and it used to do literally nothing. The button also brings keyboard\n activation and a focus ring with it. fExternalItem still supplies drag-to-place. -->\n <button\n type=\"button\"\n class=\"mj-flow-palette-item\"\n fExternalItem\n [fData]=\"nodeType.Type\"\n [title]=\"'Click to add a ' + nodeType.Label + ', or drag it onto the canvas'\"\n (click)=\"OnNodeTypeActivated(nodeType)\">\n <span class=\"mj-flow-palette-item-icon\" [style.backgroundColor]=\"GetBgColor(nodeType.Color, 0.08)\" [style.color]=\"nodeType.Color\">\n <i class=\"fa-solid\" [ngClass]=\"nodeType.Icon\"></i>\n </span>\n <span class=\"mj-flow-palette-item-label\">{{ nodeType.Label }}</span>\n </button>\n }\n </div>\n }\n </div>\n }\n</div>\n"]}
@@ -7,14 +7,15 @@ import * as i5 from "./components/flow-status-bar.component";
7
7
  import * as i6 from "./agent-editor/flow-agent-editor.component";
8
8
  import * as i7 from "./agent-editor/agent-properties-panel.component";
9
9
  import * as i8 from "./agent-editor/agent-step-list.component";
10
- import * as i9 from "@angular/common";
11
- import * as i10 from "@angular/forms";
12
- import * as i11 from "@foblex/flow";
13
- import * as i12 from "@memberjunction/ng-code-editor";
14
- import * as i13 from "@memberjunction/ng-ui-components";
10
+ import * as i9 from "@memberjunction/ng-shared-generic";
11
+ import * as i10 from "@angular/common";
12
+ import * as i11 from "@angular/forms";
13
+ import * as i12 from "@foblex/flow";
14
+ import * as i13 from "@memberjunction/ng-code-editor";
15
+ import * as i14 from "@memberjunction/ng-ui-components";
15
16
  export declare class FlowEditorModule {
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<FlowEditorModule, never>;
17
- static ɵmod: i0.ɵɵNgModuleDeclaration<FlowEditorModule, [typeof i1.FlowEditorComponent, typeof i2.FlowNodeComponent, typeof i3.FlowPaletteComponent, typeof i4.FlowToolbarComponent, typeof i5.FlowStatusBarComponent, typeof i6.FlowAgentEditorComponent, typeof i7.AgentPropertiesPanelComponent, typeof i8.AgentStepListComponent], [typeof i9.CommonModule, typeof i10.FormsModule, typeof i11.FFlowModule, typeof i12.CodeEditorModule, typeof i13.MJEmptyStateComponent, typeof i13.MJAccordionModule], [typeof i1.FlowEditorComponent, typeof i2.FlowNodeComponent, typeof i3.FlowPaletteComponent, typeof i4.FlowToolbarComponent, typeof i5.FlowStatusBarComponent, typeof i6.FlowAgentEditorComponent, typeof i7.AgentPropertiesPanelComponent, typeof i8.AgentStepListComponent]>;
18
+ static ɵmod: i0.ɵɵNgModuleDeclaration<FlowEditorModule, [typeof i1.FlowEditorComponent, typeof i2.FlowNodeComponent, typeof i3.FlowPaletteComponent, typeof i4.FlowToolbarComponent, typeof i5.FlowStatusBarComponent, typeof i6.FlowAgentEditorComponent, typeof i7.AgentPropertiesPanelComponent, typeof i8.AgentStepListComponent], [typeof i9.SharedGenericModule, typeof i10.CommonModule, typeof i11.FormsModule, typeof i12.FFlowModule, typeof i13.CodeEditorModule, typeof i14.MJEmptyStateComponent, typeof i14.MJAccordionModule], [typeof i1.FlowEditorComponent, typeof i2.FlowNodeComponent, typeof i3.FlowPaletteComponent, typeof i4.FlowToolbarComponent, typeof i5.FlowStatusBarComponent, typeof i6.FlowAgentEditorComponent, typeof i7.AgentPropertiesPanelComponent, typeof i8.AgentStepListComponent]>;
18
19
  static ɵinj: i0.ɵɵInjectorDeclaration<FlowEditorModule>;
19
20
  }
20
21
  //# sourceMappingURL=flow-editor.module.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flow-editor.module.d.ts","sourceRoot":"","sources":["../../src/lib/flow-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAmBA,qBAkCa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAI"}
1
+ {"version":3,"file":"flow-editor.module.d.ts","sourceRoot":"","sources":["../../src/lib/flow-editor.module.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAoBA,qBAmCa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAI"}
@@ -14,11 +14,13 @@ import { FlowStatusBarComponent } from './components/flow-status-bar.component';
14
14
  import { FlowAgentEditorComponent } from './agent-editor/flow-agent-editor.component';
15
15
  import { AgentPropertiesPanelComponent } from './agent-editor/agent-properties-panel.component';
16
16
  import { AgentStepListComponent } from './agent-editor/agent-step-list.component';
17
+ import { SharedGenericModule } from '@memberjunction/ng-shared-generic';
17
18
  import * as i0 from "@angular/core";
18
19
  export class FlowEditorModule {
19
20
  static ɵfac = function FlowEditorModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FlowEditorModule)(); };
20
21
  static ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: FlowEditorModule });
21
- static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
22
+ static ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [SharedGenericModule,
23
+ CommonModule,
22
24
  FormsModule,
23
25
  FFlowModule,
24
26
  CodeEditorModule,
@@ -41,6 +43,7 @@ export class FlowEditorModule {
41
43
  AgentStepListComponent
42
44
  ],
43
45
  imports: [
46
+ SharedGenericModule,
44
47
  CommonModule,
45
48
  FormsModule,
46
49
  FFlowModule,
@@ -72,7 +75,8 @@ export class FlowEditorModule {
72
75
  // Agent-specific
73
76
  FlowAgentEditorComponent,
74
77
  AgentPropertiesPanelComponent,
75
- AgentStepListComponent], imports: [CommonModule,
78
+ AgentStepListComponent], imports: [SharedGenericModule,
79
+ CommonModule,
76
80
  FormsModule,
77
81
  FFlowModule,
78
82
  CodeEditorModule,
@@ -1 +1 @@
1
- {"version":3,"file":"flow-editor.module.js","sourceRoot":"","sources":["../../src/lib/flow-editor.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,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AA6B;oBAC7B,mBAAmB;oBACnB,iBAAiB;oBACjB,oBAAoB;oBACpB,oBAAoB;oBACpB,sBAAsB;oBACtB,iBAAiB;oBACjB,wBAAwB;oBACxB,6BAA6B;oBAC7B,sBAAsB;iBACvB;aACF;;wFACY,gBAAgB;QAhCzB,UAAU;QACV,mBAAmB;QACnB,iBAAiB;QACjB,oBAAoB;QACpB,oBAAoB;QACpB,sBAAsB;QACtB,iBAAiB;QACjB,wBAAwB;QACxB,6BAA6B;QAC7B,sBAAsB,aAGtB,YAAY;QACZ,WAAW;QACX,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,iBAAiB;QAGjB,6BAA6B;QAC7B,mBAAmB;QACnB,iBAAiB;QACjB,oBAAoB;QACpB,oBAAoB;QACpB,sBAAsB;QACtB,iBAAiB;QACjB,wBAAwB;QACxB,6BAA6B;QAC7B,sBAAsB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { FFlowModule } from '@foblex/flow';\nimport { CodeEditorModule } from '@memberjunction/ng-code-editor';\nimport { MJEmptyStateComponent, MJAccordionModule } from '@memberjunction/ng-ui-components';\n\n// Generic components\nimport { FlowEditorComponent } from './components/flow-editor.component';\nimport { FlowNodeComponent } from './components/flow-node.component';\nimport { FlowPaletteComponent } from './components/flow-palette.component';\nimport { FlowToolbarComponent } from './components/flow-toolbar.component';\nimport { FlowStatusBarComponent } from './components/flow-status-bar.component';\n\n// Agent-specific components\nimport { FlowAgentEditorComponent } from './agent-editor/flow-agent-editor.component';\nimport { AgentPropertiesPanelComponent } from './agent-editor/agent-properties-panel.component';\nimport { AgentStepListComponent } from './agent-editor/agent-step-list.component';\n\n@NgModule({\n declarations: [\n // Generic\n FlowEditorComponent,\n FlowNodeComponent,\n FlowPaletteComponent,\n FlowToolbarComponent,\n FlowStatusBarComponent,\n // Agent-specific\n FlowAgentEditorComponent,\n AgentPropertiesPanelComponent,\n AgentStepListComponent\n ],\n imports: [\n CommonModule,\n FormsModule,\n FFlowModule,\n CodeEditorModule,\n MJEmptyStateComponent,\n MJAccordionModule\n ],\n exports: [\n // Generic — for any consumer\n FlowEditorComponent,\n FlowNodeComponent,\n FlowPaletteComponent,\n FlowToolbarComponent,\n FlowStatusBarComponent,\n // Agent-specific\n FlowAgentEditorComponent,\n AgentPropertiesPanelComponent,\n AgentStepListComponent\n ]\n})\nexport class FlowEditorModule { }\n"]}
1
+ {"version":3,"file":"flow-editor.module.js","sourceRoot":"","sources":["../../src/lib/flow-editor.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAC3C,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAE5F,qBAAqB;AACrB,OAAO,EAAE,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACrE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,wCAAwC,CAAC;AAEhF,4BAA4B;AAC5B,OAAO,EAAE,wBAAwB,EAAE,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,iDAAiD,CAAC;AAChG,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EAAE,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;;AAqCxE,MAAM,OAAO,gBAAgB;0GAAhB,gBAAgB;4DAAhB,gBAAgB;gEArBzB,mBAAmB;YACnB,YAAY;YACZ,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,qBAAqB;YACrB,iBAAiB;;iFAeR,gBAAgB;cAnC5B,QAAQ;eAAC;gBACR,YAAY,EAAE;oBACZ,UAAU;oBACV,mBAAmB;oBACnB,iBAAiB;oBACjB,oBAAoB;oBACpB,oBAAoB;oBACpB,sBAAsB;oBACtB,iBAAiB;oBACjB,wBAAwB;oBACxB,6BAA6B;oBAC7B,sBAAsB;iBACvB;gBACD,OAAO,EAAE;oBACP,mBAAmB;oBACnB,YAAY;oBACZ,WAAW;oBACX,WAAW;oBACX,gBAAgB;oBAChB,qBAAqB;oBACrB,iBAAiB;iBAClB;gBACD,OAAO,EAAE;oBACP,6BAA6B;oBAC7B,mBAAmB;oBACnB,iBAAiB;oBACjB,oBAAoB;oBACpB,oBAAoB;oBACpB,sBAAsB;oBACtB,iBAAiB;oBACjB,wBAAwB;oBACxB,6BAA6B;oBAC7B,sBAAsB;iBACvB;aACF;;wFACY,gBAAgB;QAjCzB,UAAU;QACV,mBAAmB;QACnB,iBAAiB;QACjB,oBAAoB;QACpB,oBAAoB;QACpB,sBAAsB;QACtB,iBAAiB;QACjB,wBAAwB;QACxB,6BAA6B;QAC7B,sBAAsB,aAGtB,mBAAmB;QACnB,YAAY;QACZ,WAAW;QACX,WAAW;QACX,gBAAgB;QAChB,qBAAqB;QACrB,iBAAiB;QAGjB,6BAA6B;QAC7B,mBAAmB;QACnB,iBAAiB;QACjB,oBAAoB;QACpB,oBAAoB;QACpB,sBAAsB;QACtB,iBAAiB;QACjB,wBAAwB;QACxB,6BAA6B;QAC7B,sBAAsB","sourcesContent":["import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { FormsModule } from '@angular/forms';\nimport { FFlowModule } from '@foblex/flow';\nimport { CodeEditorModule } from '@memberjunction/ng-code-editor';\nimport { MJEmptyStateComponent, MJAccordionModule } from '@memberjunction/ng-ui-components';\n\n// Generic components\nimport { FlowEditorComponent } from './components/flow-editor.component';\nimport { FlowNodeComponent } from './components/flow-node.component';\nimport { FlowPaletteComponent } from './components/flow-palette.component';\nimport { FlowToolbarComponent } from './components/flow-toolbar.component';\nimport { FlowStatusBarComponent } from './components/flow-status-bar.component';\n\n// Agent-specific components\nimport { FlowAgentEditorComponent } from './agent-editor/flow-agent-editor.component';\nimport { AgentPropertiesPanelComponent } from './agent-editor/agent-properties-panel.component';\nimport { AgentStepListComponent } from './agent-editor/agent-step-list.component';\nimport { SharedGenericModule } from '@memberjunction/ng-shared-generic';\n\n@NgModule({\n declarations: [\n // Generic\n FlowEditorComponent,\n FlowNodeComponent,\n FlowPaletteComponent,\n FlowToolbarComponent,\n FlowStatusBarComponent,\n // Agent-specific\n FlowAgentEditorComponent,\n AgentPropertiesPanelComponent,\n AgentStepListComponent\n ],\n imports: [\n SharedGenericModule,\n CommonModule,\n FormsModule,\n FFlowModule,\n CodeEditorModule,\n MJEmptyStateComponent,\n MJAccordionModule\n ],\n exports: [\n // Generic — for any consumer\n FlowEditorComponent,\n FlowNodeComponent,\n FlowPaletteComponent,\n FlowToolbarComponent,\n FlowStatusBarComponent,\n // Agent-specific\n FlowAgentEditorComponent,\n AgentPropertiesPanelComponent,\n AgentStepListComponent\n ]\n})\nexport class FlowEditorModule { }\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-flow-editor",
3
- "version": "6.1.0-edge.0",
3
+ "version": "6.1.0-edge.2",
4
4
  "description": "MemberJunction: Generic visual flow editor component powered by Foblex Flow, with an agent-specific Flow Agent Editor",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -21,29 +21,30 @@
21
21
  "devDependencies": {
22
22
  "@angular/compiler": "21.1.3",
23
23
  "@angular/compiler-cli": "21.1.3",
24
- "@memberjunction/ng-test-utils": "6.1.0-edge.0",
24
+ "@memberjunction/ng-test-utils": "6.1.0-edge.2",
25
25
  "sass": "^1.97.3",
26
26
  "vitest": "^4.0.18"
27
27
  },
28
28
  "peerDependencies": {
29
- "@angular/common": "21.1.3",
30
- "@angular/core": "21.1.3",
31
- "@angular/forms": "21.1.3",
32
- "@angular/platform-browser": "21.1.3"
29
+ "@angular/common": "^21.1.3",
30
+ "@angular/core": "^21.1.3",
31
+ "@angular/forms": "^21.1.3",
32
+ "@angular/platform-browser": "^21.1.3"
33
33
  },
34
34
  "dependencies": {
35
- "@memberjunction/ng-ui-components": "6.1.0-edge.0",
36
35
  "@dagrejs/dagre": "^1.1.8",
37
36
  "@foblex/2d": "1.2.2",
38
37
  "@foblex/flow": "^18.0.0",
39
38
  "@foblex/mediator": "1.1.3",
40
39
  "@foblex/platform": "1.0.4",
41
40
  "@foblex/utils": "1.1.1",
42
- "@memberjunction/core": "6.1.0-edge.0",
43
- "@memberjunction/core-entities": "6.1.0-edge.0",
44
- "@memberjunction/global": "6.1.0-edge.0",
45
- "@memberjunction/ng-base-types": "6.1.0-edge.0",
46
- "@memberjunction/ng-code-editor": "6.1.0-edge.0",
41
+ "@memberjunction/core": "6.1.0-edge.2",
42
+ "@memberjunction/core-entities": "6.1.0-edge.2",
43
+ "@memberjunction/global": "6.1.0-edge.2",
44
+ "@memberjunction/ng-base-types": "6.1.0-edge.2",
45
+ "@memberjunction/ng-code-editor": "6.1.0-edge.2",
46
+ "@memberjunction/ng-shared-generic": "6.1.0-edge.2",
47
+ "@memberjunction/ng-ui-components": "6.1.0-edge.2",
47
48
  "rxjs": "^7.8.2",
48
49
  "tslib": "^2.8.1"
49
50
  },