@angflow/angular 0.0.10 → 0.0.12

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.
Files changed (54) hide show
  1. package/dist/esm/lib/components/connection-line/connection-line.component.d.ts.map +1 -1
  2. package/dist/esm/lib/components/connection-line/connection-line.component.js +47 -39
  3. package/dist/esm/lib/components/connection-line/connection-line.component.js.map +1 -1
  4. package/dist/esm/lib/components/edges/bezier-edge.component.d.ts +4 -2
  5. package/dist/esm/lib/components/edges/bezier-edge.component.d.ts.map +1 -1
  6. package/dist/esm/lib/components/edges/bezier-edge.component.js +17 -15
  7. package/dist/esm/lib/components/edges/bezier-edge.component.js.map +1 -1
  8. package/dist/esm/lib/components/edges/simple-bezier-edge.component.d.ts +4 -2
  9. package/dist/esm/lib/components/edges/simple-bezier-edge.component.d.ts.map +1 -1
  10. package/dist/esm/lib/components/edges/simple-bezier-edge.component.js +17 -15
  11. package/dist/esm/lib/components/edges/simple-bezier-edge.component.js.map +1 -1
  12. package/dist/esm/lib/components/edges/smooth-step-edge.component.d.ts +4 -2
  13. package/dist/esm/lib/components/edges/smooth-step-edge.component.d.ts.map +1 -1
  14. package/dist/esm/lib/components/edges/smooth-step-edge.component.js +17 -15
  15. package/dist/esm/lib/components/edges/smooth-step-edge.component.js.map +1 -1
  16. package/dist/esm/lib/components/edges/step-edge.component.d.ts +4 -2
  17. package/dist/esm/lib/components/edges/step-edge.component.d.ts.map +1 -1
  18. package/dist/esm/lib/components/edges/step-edge.component.js +17 -15
  19. package/dist/esm/lib/components/edges/step-edge.component.js.map +1 -1
  20. package/dist/esm/lib/components/edges/straight-edge.component.d.ts +4 -1
  21. package/dist/esm/lib/components/edges/straight-edge.component.d.ts.map +1 -1
  22. package/dist/esm/lib/components/edges/straight-edge.component.js +17 -15
  23. package/dist/esm/lib/components/edges/straight-edge.component.js.map +1 -1
  24. package/dist/esm/lib/components/handle/handle.component.d.ts +3 -1
  25. package/dist/esm/lib/components/handle/handle.component.d.ts.map +1 -1
  26. package/dist/esm/lib/components/handle/handle.component.js +18 -4
  27. package/dist/esm/lib/components/handle/handle.component.js.map +1 -1
  28. package/dist/esm/lib/components/handle-group/handle-group.component.d.ts +27 -0
  29. package/dist/esm/lib/components/handle-group/handle-group.component.d.ts.map +1 -0
  30. package/dist/esm/lib/components/handle-group/handle-group.component.js +39 -0
  31. package/dist/esm/lib/components/handle-group/handle-group.component.js.map +1 -0
  32. package/dist/esm/lib/components/handle-group/handle-row.component.d.ts +16 -0
  33. package/dist/esm/lib/components/handle-group/handle-row.component.d.ts.map +1 -0
  34. package/dist/esm/lib/components/handle-group/handle-row.component.js +35 -0
  35. package/dist/esm/lib/components/handle-group/handle-row.component.js.map +1 -0
  36. package/dist/esm/lib/components/nodes/default-node.component.js +1 -1
  37. package/dist/esm/lib/components/nodes/input-node.component.js +1 -1
  38. package/dist/esm/lib/components/nodes/output-node.component.js +1 -1
  39. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.d.ts.map +1 -1
  40. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js +324 -316
  41. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js.map +1 -1
  42. package/dist/esm/lib/public-api.d.ts +2 -0
  43. package/dist/esm/lib/public-api.d.ts.map +1 -1
  44. package/dist/esm/lib/public-api.js +3 -0
  45. package/dist/esm/lib/public-api.js.map +1 -1
  46. package/dist/esm/lib/services/flow-store.service.d.ts +11 -1
  47. package/dist/esm/lib/services/flow-store.service.d.ts.map +1 -1
  48. package/dist/esm/lib/services/flow-store.service.js +43 -0
  49. package/dist/esm/lib/services/flow-store.service.js.map +1 -1
  50. package/dist/esm/lib/services/ng-flow.service.d.ts +13 -1
  51. package/dist/esm/lib/services/ng-flow.service.d.ts.map +1 -1
  52. package/dist/esm/lib/services/ng-flow.service.js +15 -0
  53. package/dist/esm/lib/services/ng-flow.service.js.map +1 -1
  54. package/package.json +66 -66
@@ -18,6 +18,8 @@ export class StepEdgeComponent {
18
18
  this.interactionWidth = input(...(ngDevMode ? [undefined, { debugName: "interactionWidth" }] : /* istanbul ignore next */ []));
19
19
  this.pathOptions = input(...(ngDevMode ? [undefined, { debugName: "pathOptions" }] : /* istanbul ignore next */ []));
20
20
  this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
21
+ this.sourceHandle = input(null, ...(ngDevMode ? [{ debugName: "sourceHandle" }] : /* istanbul ignore next */ []));
22
+ this.targetHandle = input(null, ...(ngDevMode ? [{ debugName: "targetHandle" }] : /* istanbul ignore next */ []));
21
23
  this.edgePath = computed(() => {
22
24
  const [path] = getSmoothStepPath({
23
25
  sourceX: this.sourceX(),
@@ -33,13 +35,13 @@ export class StepEdgeComponent {
33
35
  }, ...(ngDevMode ? [{ debugName: "edgePath" }] : /* istanbul ignore next */ []));
34
36
  }
35
37
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: StepEdgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: StepEdgeComponent, isStandalone: true, selector: "ng-flow-step-edge", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, sourceX: { classPropertyName: "sourceX", publicName: "sourceX", isSignal: true, isRequired: false, transformFunction: null }, sourceY: { classPropertyName: "sourceY", publicName: "sourceY", isSignal: true, isRequired: false, transformFunction: null }, targetX: { classPropertyName: "targetX", publicName: "targetX", isSignal: true, isRequired: false, transformFunction: null }, targetY: { classPropertyName: "targetY", publicName: "targetY", isSignal: true, isRequired: false, transformFunction: null }, sourcePosition: { classPropertyName: "sourcePosition", publicName: "sourcePosition", isSignal: true, isRequired: false, transformFunction: null }, targetPosition: { classPropertyName: "targetPosition", publicName: "targetPosition", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, markerStart: { classPropertyName: "markerStart", publicName: "markerStart", isSignal: true, isRequired: false, transformFunction: null }, markerEnd: { classPropertyName: "markerEnd", publicName: "markerEnd", isSignal: true, isRequired: false, transformFunction: null }, interactionWidth: { classPropertyName: "interactionWidth", publicName: "interactionWidth", isSignal: true, isRequired: false, transformFunction: null }, pathOptions: { classPropertyName: "pathOptions", publicName: "pathOptions", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
37
- <ng-flow-base-edge
38
- [path]="edgePath()"
39
- [markerStart]="markerStart()"
40
- [markerEnd]="markerEnd()"
41
- [interactionWidth]="interactionWidth() ?? 20"
42
- />
38
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: StepEdgeComponent, isStandalone: true, selector: "ng-flow-step-edge", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, sourceX: { classPropertyName: "sourceX", publicName: "sourceX", isSignal: true, isRequired: false, transformFunction: null }, sourceY: { classPropertyName: "sourceY", publicName: "sourceY", isSignal: true, isRequired: false, transformFunction: null }, targetX: { classPropertyName: "targetX", publicName: "targetX", isSignal: true, isRequired: false, transformFunction: null }, targetY: { classPropertyName: "targetY", publicName: "targetY", isSignal: true, isRequired: false, transformFunction: null }, sourcePosition: { classPropertyName: "sourcePosition", publicName: "sourcePosition", isSignal: true, isRequired: false, transformFunction: null }, targetPosition: { classPropertyName: "targetPosition", publicName: "targetPosition", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, markerStart: { classPropertyName: "markerStart", publicName: "markerStart", isSignal: true, isRequired: false, transformFunction: null }, markerEnd: { classPropertyName: "markerEnd", publicName: "markerEnd", isSignal: true, isRequired: false, transformFunction: null }, interactionWidth: { classPropertyName: "interactionWidth", publicName: "interactionWidth", isSignal: true, isRequired: false, transformFunction: null }, pathOptions: { classPropertyName: "pathOptions", publicName: "pathOptions", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, sourceHandle: { classPropertyName: "sourceHandle", publicName: "sourceHandle", isSignal: true, isRequired: false, transformFunction: null }, targetHandle: { classPropertyName: "targetHandle", publicName: "targetHandle", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
39
+ <ng-flow-base-edge
40
+ [path]="edgePath()"
41
+ [markerStart]="markerStart()"
42
+ [markerEnd]="markerEnd()"
43
+ [interactionWidth]="interactionWidth() ?? 20"
44
+ />
43
45
  `, isInline: true, dependencies: [{ kind: "component", type: BaseEdgeComponent, selector: "ng-flow-base-edge", inputs: ["path", "markerStart", "markerEnd", "style", "interactionWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
44
46
  }
45
47
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: StepEdgeComponent, decorators: [{
@@ -49,14 +51,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
49
51
  standalone: true,
50
52
  imports: [BaseEdgeComponent],
51
53
  changeDetection: ChangeDetectionStrategy.OnPush,
52
- template: `
53
- <ng-flow-base-edge
54
- [path]="edgePath()"
55
- [markerStart]="markerStart()"
56
- [markerEnd]="markerEnd()"
57
- [interactionWidth]="interactionWidth() ?? 20"
58
- />
54
+ template: `
55
+ <ng-flow-base-edge
56
+ [path]="edgePath()"
57
+ [markerStart]="markerStart()"
58
+ [markerEnd]="markerEnd()"
59
+ [interactionWidth]="interactionWidth() ?? 20"
60
+ />
59
61
  `,
60
62
  }]
61
- }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], sourceX: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceX", required: false }] }], sourceY: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceY", required: false }] }], targetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetX", required: false }] }], targetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetY", required: false }] }], sourcePosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourcePosition", required: false }] }], targetPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetPosition", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], markerStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerStart", required: false }] }], markerEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerEnd", required: false }] }], interactionWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactionWidth", required: false }] }], pathOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "pathOptions", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
63
+ }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], sourceX: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceX", required: false }] }], sourceY: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceY", required: false }] }], targetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetX", required: false }] }], targetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetY", required: false }] }], sourcePosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourcePosition", required: false }] }], targetPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetPosition", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], markerStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerStart", required: false }] }], markerEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerEnd", required: false }] }], interactionWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactionWidth", required: false }] }], pathOptions: [{ type: i0.Input, args: [{ isSignal: true, alias: "pathOptions", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], sourceHandle: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceHandle", required: false }] }], targetHandle: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetHandle", required: false }] }] } });
62
64
  //# sourceMappingURL=step-edge.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"step-edge.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/edges/step-edge.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAwB,MAAM,iBAAiB,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;;AAgB1D,MAAM,OAAO,iBAAiB;IAd9B;QAeW,OAAE,GAAG,KAAK,mFAAU,CAAC;QACrB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,mBAAc,GAAG,KAAK,CAAW,QAAQ,CAAC,MAAM,qFAAC,CAAC;QAClD,mBAAc,GAAG,KAAK,CAAW,QAAQ,CAAC,GAAG,qFAAC,CAAC;QAC/C,SAAI,GAAG,KAAK,qFAAO,CAAC;QACpB,aAAQ,GAAG,KAAK,CAAC,KAAK,+EAAC,CAAC;QACxB,gBAAW,GAAG,KAAK,4FAAU,CAAC;QAC9B,cAAS,GAAG,KAAK,0FAAU,CAAC;QAC5B,qBAAgB,GAAG,KAAK,iGAAU,CAAC;QACnC,gBAAW,GAAG,KAAK,4FAAmB,CAAC;QACvC,UAAK,GAAG,KAAK,sFAAU,CAAC;QAExB,aAAQ,GAAG,QAAQ,CAAC,GAAG,EAAE;YAChC,MAAM,CAAC,IAAI,CAAC,GAAG,iBAAiB,CAAC;gBAC/B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE;gBACrC,cAAc,EAAE,IAAI,CAAC,cAAc,EAAE;gBACrC,YAAY,EAAE,CAAC;gBACf,GAAG,IAAI,CAAC,WAAW,EAAE;aACtB,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC,+EAAC,CAAC;KACJ;8GA7BY,iBAAiB;kGAAjB,iBAAiB,q4DATlB;;;;;;;GAOT,4DATS,iBAAiB;;2FAWhB,iBAAiB;kBAd7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;GAOT;iBACF"}
1
+ {"version":3,"file":"step-edge.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/edges/step-edge.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAqC,MAAM,iBAAiB,CAAC;AACjG,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;;AAgB1D,MAAM,OAAO,iBAAiB;IAd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CAAC;KACJ;8GA/BY,iBAAiB;kGAAjB,iBAAiB,+pEATlB;;;;;;;GAOT,4DATS,iBAAiB;;2FAWhB,iBAAiB;kBAd7B,SAAS;mBAAC;oBACT,QAAQ,EAAE,mBAAmB;oBAC7B,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;GAOT;iBACF"}
@@ -1,3 +1,4 @@
1
+ import { type Handle } from '@angflow/system';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class StraightEdgeComponent {
3
4
  readonly id: import("@angular/core").InputSignal<string | undefined>;
@@ -11,8 +12,10 @@ export declare class StraightEdgeComponent {
11
12
  readonly markerEnd: import("@angular/core").InputSignal<string | undefined>;
12
13
  readonly interactionWidth: import("@angular/core").InputSignal<number | undefined>;
13
14
  readonly label: import("@angular/core").InputSignal<string | undefined>;
15
+ readonly sourceHandle: import("@angular/core").InputSignal<Handle | null>;
16
+ readonly targetHandle: import("@angular/core").InputSignal<Handle | null>;
14
17
  readonly edgePath: import("@angular/core").Signal<string>;
15
18
  static ɵfac: i0.ɵɵFactoryDeclaration<StraightEdgeComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<StraightEdgeComponent, "ng-flow-straight-edge", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "sourceX": { "alias": "sourceX"; "required": false; "isSignal": true; }; "sourceY": { "alias": "sourceY"; "required": false; "isSignal": true; }; "targetX": { "alias": "targetX"; "required": false; "isSignal": true; }; "targetY": { "alias": "targetY"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "markerStart": { "alias": "markerStart"; "required": false; "isSignal": true; }; "markerEnd": { "alias": "markerEnd"; "required": false; "isSignal": true; }; "interactionWidth": { "alias": "interactionWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<StraightEdgeComponent, "ng-flow-straight-edge", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; "sourceX": { "alias": "sourceX"; "required": false; "isSignal": true; }; "sourceY": { "alias": "sourceY"; "required": false; "isSignal": true; }; "targetX": { "alias": "targetX"; "required": false; "isSignal": true; }; "targetY": { "alias": "targetY"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "markerStart": { "alias": "markerStart"; "required": false; "isSignal": true; }; "markerEnd": { "alias": "markerEnd"; "required": false; "isSignal": true; }; "interactionWidth": { "alias": "interactionWidth"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "sourceHandle": { "alias": "sourceHandle"; "required": false; "isSignal": true; }; "targetHandle": { "alias": "targetHandle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
20
  }
18
21
  //# sourceMappingURL=straight-edge.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"straight-edge.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/edges/straight-edge.component.ts"],"names":[],"mappings":";AAIA,qBAca,qBAAqB;IAChC,QAAQ,CAAC,EAAE,0DAAmB;IAC9B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,IAAI,2CAAgB;IAC7B,QAAQ,CAAC,QAAQ,+CAAgB;IACjC,QAAQ,CAAC,WAAW,0DAAmB;IACvC,QAAQ,CAAC,SAAS,0DAAmB;IACrC,QAAQ,CAAC,gBAAgB,0DAAmB;IAC5C,QAAQ,CAAC,KAAK,0DAAmB;IAEjC,QAAQ,CAAC,QAAQ,yCAQd;yCArBQ,qBAAqB;2CAArB,qBAAqB;CAsBjC"}
1
+ {"version":3,"file":"straight-edge.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/edges/straight-edge.component.ts"],"names":[],"mappings":"AACA,OAAO,EAA6B,KAAK,MAAM,EAAE,MAAM,iBAAiB,CAAC;;AAGzE,qBAca,qBAAqB;IAChC,QAAQ,CAAC,EAAE,0DAAmB;IAC9B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,OAAO,8CAAY;IAC5B,QAAQ,CAAC,IAAI,2CAAgB;IAC7B,QAAQ,CAAC,QAAQ,+CAAgB;IACjC,QAAQ,CAAC,WAAW,0DAAmB;IACvC,QAAQ,CAAC,SAAS,0DAAmB;IACrC,QAAQ,CAAC,gBAAgB,0DAAmB;IAC5C,QAAQ,CAAC,KAAK,0DAAmB;IACjC,QAAQ,CAAC,YAAY,qDAA8B;IACnD,QAAQ,CAAC,YAAY,qDAA8B;IAEnD,QAAQ,CAAC,QAAQ,yCAQd;yCAvBQ,qBAAqB;2CAArB,qBAAqB;CAwBjC"}
@@ -15,6 +15,8 @@ export class StraightEdgeComponent {
15
15
  this.markerEnd = input(...(ngDevMode ? [undefined, { debugName: "markerEnd" }] : /* istanbul ignore next */ []));
16
16
  this.interactionWidth = input(...(ngDevMode ? [undefined, { debugName: "interactionWidth" }] : /* istanbul ignore next */ []));
17
17
  this.label = input(...(ngDevMode ? [undefined, { debugName: "label" }] : /* istanbul ignore next */ []));
18
+ this.sourceHandle = input(null, ...(ngDevMode ? [{ debugName: "sourceHandle" }] : /* istanbul ignore next */ []));
19
+ this.targetHandle = input(null, ...(ngDevMode ? [{ debugName: "targetHandle" }] : /* istanbul ignore next */ []));
18
20
  this.edgePath = computed(() => {
19
21
  const [path] = getStraightPath({
20
22
  sourceX: this.sourceX(),
@@ -26,13 +28,13 @@ export class StraightEdgeComponent {
26
28
  }, ...(ngDevMode ? [{ debugName: "edgePath" }] : /* istanbul ignore next */ []));
27
29
  }
28
30
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: StraightEdgeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: StraightEdgeComponent, isStandalone: true, selector: "ng-flow-straight-edge", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, sourceX: { classPropertyName: "sourceX", publicName: "sourceX", isSignal: true, isRequired: false, transformFunction: null }, sourceY: { classPropertyName: "sourceY", publicName: "sourceY", isSignal: true, isRequired: false, transformFunction: null }, targetX: { classPropertyName: "targetX", publicName: "targetX", isSignal: true, isRequired: false, transformFunction: null }, targetY: { classPropertyName: "targetY", publicName: "targetY", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, markerStart: { classPropertyName: "markerStart", publicName: "markerStart", isSignal: true, isRequired: false, transformFunction: null }, markerEnd: { classPropertyName: "markerEnd", publicName: "markerEnd", isSignal: true, isRequired: false, transformFunction: null }, interactionWidth: { classPropertyName: "interactionWidth", publicName: "interactionWidth", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
30
- <ng-flow-base-edge
31
- [path]="edgePath()"
32
- [markerStart]="markerStart()"
33
- [markerEnd]="markerEnd()"
34
- [interactionWidth]="interactionWidth() ?? 20"
35
- />
31
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: StraightEdgeComponent, isStandalone: true, selector: "ng-flow-straight-edge", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, sourceX: { classPropertyName: "sourceX", publicName: "sourceX", isSignal: true, isRequired: false, transformFunction: null }, sourceY: { classPropertyName: "sourceY", publicName: "sourceY", isSignal: true, isRequired: false, transformFunction: null }, targetX: { classPropertyName: "targetX", publicName: "targetX", isSignal: true, isRequired: false, transformFunction: null }, targetY: { classPropertyName: "targetY", publicName: "targetY", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, markerStart: { classPropertyName: "markerStart", publicName: "markerStart", isSignal: true, isRequired: false, transformFunction: null }, markerEnd: { classPropertyName: "markerEnd", publicName: "markerEnd", isSignal: true, isRequired: false, transformFunction: null }, interactionWidth: { classPropertyName: "interactionWidth", publicName: "interactionWidth", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, sourceHandle: { classPropertyName: "sourceHandle", publicName: "sourceHandle", isSignal: true, isRequired: false, transformFunction: null }, targetHandle: { classPropertyName: "targetHandle", publicName: "targetHandle", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
32
+ <ng-flow-base-edge
33
+ [path]="edgePath()"
34
+ [markerStart]="markerStart()"
35
+ [markerEnd]="markerEnd()"
36
+ [interactionWidth]="interactionWidth() ?? 20"
37
+ />
36
38
  `, isInline: true, dependencies: [{ kind: "component", type: BaseEdgeComponent, selector: "ng-flow-base-edge", inputs: ["path", "markerStart", "markerEnd", "style", "interactionWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
39
  }
38
40
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: StraightEdgeComponent, decorators: [{
@@ -42,14 +44,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
42
44
  standalone: true,
43
45
  imports: [BaseEdgeComponent],
44
46
  changeDetection: ChangeDetectionStrategy.OnPush,
45
- template: `
46
- <ng-flow-base-edge
47
- [path]="edgePath()"
48
- [markerStart]="markerStart()"
49
- [markerEnd]="markerEnd()"
50
- [interactionWidth]="interactionWidth() ?? 20"
51
- />
47
+ template: `
48
+ <ng-flow-base-edge
49
+ [path]="edgePath()"
50
+ [markerStart]="markerStart()"
51
+ [markerEnd]="markerEnd()"
52
+ [interactionWidth]="interactionWidth() ?? 20"
53
+ />
52
54
  `,
53
55
  }]
54
- }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], sourceX: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceX", required: false }] }], sourceY: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceY", required: false }] }], targetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetX", required: false }] }], targetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetY", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], markerStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerStart", required: false }] }], markerEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerEnd", required: false }] }], interactionWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactionWidth", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
56
+ }], propDecorators: { id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], sourceX: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceX", required: false }] }], sourceY: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceY", required: false }] }], targetX: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetX", required: false }] }], targetY: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetY", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], selected: [{ type: i0.Input, args: [{ isSignal: true, alias: "selected", required: false }] }], markerStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerStart", required: false }] }], markerEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "markerEnd", required: false }] }], interactionWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "interactionWidth", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], sourceHandle: [{ type: i0.Input, args: [{ isSignal: true, alias: "sourceHandle", required: false }] }], targetHandle: [{ type: i0.Input, args: [{ isSignal: true, alias: "targetHandle", required: false }] }] } });
55
57
  //# sourceMappingURL=straight-edge.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"straight-edge.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/edges/straight-edge.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,eAAe,EAAY,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;;AAgB1D,MAAM,OAAO,qBAAqB;IAdlC;QAeW,OAAE,GAAG,KAAK,mFAAU,CAAC;QACrB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,SAAI,GAAG,KAAK,qFAAO,CAAC;QACpB,aAAQ,GAAG,KAAK,CAAC,KAAK,+EAAC,CAAC;QACxB,gBAAW,GAAG,KAAK,4FAAU,CAAC;QAC9B,cAAS,GAAG,KAAK,0FAAU,CAAC;QAC5B,qBAAgB,GAAG,KAAK,iGAAU,CAAC;QACnC,UAAK,GAAG,KAAK,sFAAU,CAAC;QAExB,aAAQ,GAAG,QAAQ,CAAC,GAAG,EAAE;YAChC,MAAM,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC;gBAC7B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;aACxB,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC,+EAAC,CAAC;KACJ;8GAtBY,qBAAqB;kGAArB,qBAAqB,y9CATtB;;;;;;;GAOT,4DATS,iBAAiB;;2FAWhB,qBAAqB;kBAdjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;GAOT;iBACF"}
1
+ {"version":3,"file":"straight-edge.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/edges/straight-edge.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACpF,OAAO,EAAE,eAAe,EAAyB,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;;AAgB1D,MAAM,OAAO,qBAAqB;IAdlC;QAeW,OAAE,GAAG,KAAK,mFAAU,CAAC;QACrB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,YAAO,GAAG,KAAK,CAAC,CAAC,8EAAC,CAAC;QACnB,SAAI,GAAG,KAAK,qFAAO,CAAC;QACpB,aAAQ,GAAG,KAAK,CAAC,KAAK,+EAAC,CAAC;QACxB,gBAAW,GAAG,KAAK,4FAAU,CAAC;QAC9B,cAAS,GAAG,KAAK,0FAAU,CAAC;QAC5B,qBAAgB,GAAG,KAAK,iGAAU,CAAC;QACnC,UAAK,GAAG,KAAK,sFAAU,CAAC;QACxB,iBAAY,GAAG,KAAK,CAAgB,IAAI,mFAAC,CAAC;QAC1C,iBAAY,GAAG,KAAK,CAAgB,IAAI,mFAAC,CAAC;QAE1C,aAAQ,GAAG,QAAQ,CAAC,GAAG,EAAE;YAChC,MAAM,CAAC,IAAI,CAAC,GAAG,eAAe,CAAC;gBAC7B,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;gBACvB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE;aACxB,CAAC,CAAC;YACH,OAAO,IAAI,CAAC;QACd,CAAC,+EAAC,CAAC;KACJ;8GAxBY,qBAAqB;kGAArB,qBAAqB,mvDATtB;;;;;;;GAOT,4DATS,iBAAiB;;2FAWhB,qBAAqB;kBAdjC,SAAS;mBAAC;oBACT,QAAQ,EAAE,uBAAuB;oBACjC,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,iBAAiB,CAAC;oBAC5B,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;GAOT;iBACF"}
@@ -11,18 +11,20 @@ export declare class HandleComponent implements OnInit, OnDestroy {
11
11
  readonly isConnectableStart: import("@angular/core").InputSignal<boolean>;
12
12
  readonly isConnectableEnd: import("@angular/core").InputSignal<boolean>;
13
13
  readonly isValidConnection: import("@angular/core").InputSignal<((connection: Connection) => boolean) | undefined>;
14
+ readonly data: import("@angular/core").InputSignal<unknown>;
14
15
  /** Emitted when a connection is completed on this handle. */
15
16
  readonly handleConnect: import("@angular/core").OutputEmitterRef<Connection>;
16
17
  readonly store: FlowStore<import("../../types").Node, import("../../types").Edge>;
17
18
  private readonly el;
18
19
  nodeId: string;
19
20
  readonly dataId: import("@angular/core").Signal<string>;
21
+ private isRegistered;
20
22
  constructor(nodeId: string | null);
21
23
  ngOnInit(): void;
22
24
  ngOnDestroy(): void;
23
25
  onPointerDown(event: MouseEvent | PointerEvent): void;
24
26
  onClick(event: MouseEvent): void;
25
27
  static ɵfac: i0.ɵɵFactoryDeclaration<HandleComponent, [{ optional: true; }]>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<HandleComponent, "ng-flow-handle", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "handleId": { "alias": "id"; "required": false; "isSignal": true; }; "isConnectable": { "alias": "isConnectable"; "required": false; "isSignal": true; }; "isConnectableStart": { "alias": "isConnectableStart"; "required": false; "isSignal": true; }; "isConnectableEnd": { "alias": "isConnectableEnd"; "required": false; "isSignal": true; }; "isValidConnection": { "alias": "isValidConnection"; "required": false; "isSignal": true; }; }, { "handleConnect": "onConnect"; }, never, ["*"], true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<HandleComponent, "ng-flow-handle", never, { "type": { "alias": "type"; "required": true; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "handleId": { "alias": "id"; "required": false; "isSignal": true; }; "isConnectable": { "alias": "isConnectable"; "required": false; "isSignal": true; }; "isConnectableStart": { "alias": "isConnectableStart"; "required": false; "isSignal": true; }; "isConnectableEnd": { "alias": "isConnectableEnd"; "required": false; "isSignal": true; }; "isValidConnection": { "alias": "isValidConnection"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; }, { "handleConnect": "onConnect"; }, never, ["*"], true, never>;
27
29
  }
28
30
  //# sourceMappingURL=handle.component.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/handle/handle.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAQL,MAAM,EACN,SAA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AAmC,CAAC;;AAG9D,qBA0Ba,eAAgB,YAAW,MAAM,EAAE,SAAS;IACvD,QAAQ,CAAC,QAAQ,kBAAY;IAE7B,QAAQ,CAAC,IAAI,kDAAgC;IAC7C,QAAQ,CAAC,QAAQ,gDAAiC;IAClD,QAAQ,CAAC,QAAQ,qDAA+C;IAChE,QAAQ,CAAC,aAAa,+CAAe;IACrC,QAAQ,CAAC,kBAAkB,+CAAe;IAC1C,QAAQ,CAAC,gBAAgB,+CAAe;IACxC,QAAQ,CAAC,iBAAiB,oDAAuB,UAAU,KAAK,OAAO,eAA0B;IACjG,QAAQ,CAAC,IAAI,+CAA6B;IAE1C,6DAA6D;IAC7D,QAAQ,CAAC,aAAa,uDAA8C;IAEpE,QAAQ,CAAC,KAAK,oEAAqB;IACnC,OAAO,CAAC,QAAQ,CAAC,EAAE,CAAmC;IAGtD,MAAM,EAAE,MAAM,CAAM;IAGpB,QAAQ,CAAC,MAAM,yCAA2F;IAE1G,OAAO,CAAC,YAAY,CAAS;gBAEY,MAAM,EAAE,MAAM,GAAG,IAAI;IAU9D,QAAQ,IAAI,IAAI;IAEhB,WAAW,IAAI,IAAI;IAQnB,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,YAAY,GAAG,IAAI;IA8CrD,OAAO,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;yCA5FrB,eAAe;2CAAf,eAAe;CA4I3B"}
@@ -1,4 +1,4 @@
1
- import { Component, ChangeDetectionStrategy, input, output, inject, computed, ElementRef, Optional, Inject, } from '@angular/core';
1
+ import { Component, ChangeDetectionStrategy, input, output, inject, computed, effect, ElementRef, Optional, Inject, } from '@angular/core';
2
2
  import { Position, XYHandle } from '@angflow/system';
3
3
  import { FlowStore } from '../../services/flow-store.service';
4
4
  import { NODE_ID } from '../../services/tokens';
@@ -13,6 +13,7 @@ export class HandleComponent {
13
13
  this.isConnectableStart = input(true, ...(ngDevMode ? [{ debugName: "isConnectableStart" }] : /* istanbul ignore next */ []));
14
14
  this.isConnectableEnd = input(true, ...(ngDevMode ? [{ debugName: "isConnectableEnd" }] : /* istanbul ignore next */ []));
15
15
  this.isValidConnection = input(undefined, ...(ngDevMode ? [{ debugName: "isValidConnection" }] : /* istanbul ignore next */ []));
16
+ this.data = input(undefined, ...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
16
17
  /** Emitted when a connection is completed on this handle. */
17
18
  this.handleConnect = output({ alias: 'onConnect' });
18
19
  this.store = inject(FlowStore);
@@ -21,10 +22,23 @@ export class HandleComponent {
21
22
  this.nodeId = '';
22
23
  // data-id attribute used by XYHandle to find handles in the DOM
23
24
  this.dataId = computed(() => `${this.store.rfId()}-${this.nodeId}-${this.handleId()}-${this.type()}`, ...(ngDevMode ? [{ debugName: "dataId" }] : /* istanbul ignore next */ []));
25
+ this.isRegistered = false;
24
26
  this.nodeId = nodeId ?? '';
27
+ effect(() => {
28
+ const d = this.data();
29
+ this.store.registerHandleData(this.nodeId, this.handleId(), this.type(), d);
30
+ this.isRegistered = true;
31
+ });
25
32
  }
26
33
  ngOnInit() { }
27
- ngOnDestroy() { }
34
+ ngOnDestroy() {
35
+ // Guard: the effect may never have run if inputs were not resolved before
36
+ // destroy (happens in some test lifecycles). In production, Angular's
37
+ // required-input check would error before reaching this path.
38
+ if (!this.isRegistered)
39
+ return;
40
+ this.store.unregisterHandleData(this.nodeId, this.handleId(), this.type());
41
+ }
28
42
  onPointerDown(event) {
29
43
  if (!this.isConnectableStart())
30
44
  return;
@@ -113,7 +127,7 @@ export class HandleComponent {
113
127
  }
114
128
  }
115
129
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: HandleComponent, deps: [{ token: NODE_ID, optional: true }], target: i0.ɵɵFactoryTarget.Component }); }
116
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: HandleComponent, isStandalone: true, selector: "ng-flow-handle", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, handleId: { classPropertyName: "handleId", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, isConnectable: { classPropertyName: "isConnectable", publicName: "isConnectable", isSignal: true, isRequired: false, transformFunction: null }, isConnectableStart: { classPropertyName: "isConnectableStart", publicName: "isConnectableStart", isSignal: true, isRequired: false, transformFunction: null }, isConnectableEnd: { classPropertyName: "isConnectableEnd", publicName: "isConnectableEnd", isSignal: true, isRequired: false, transformFunction: null }, isValidConnection: { classPropertyName: "isValidConnection", publicName: "isValidConnection", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { handleConnect: "onConnect" }, host: { listeners: { "mousedown": "onPointerDown($event)", "click": "onClick($event)" }, properties: { "class.xy-flow__handle-top": "position() === Position.Top", "class.xy-flow__handle-bottom": "position() === Position.Bottom", "class.xy-flow__handle-left": "position() === Position.Left", "class.xy-flow__handle-right": "position() === Position.Right", "class.source": "type() === \"source\"", "class.target": "type() === \"target\"", "class.connectionindicator": "true", "class.connectable": "isConnectable()", "class.connectablestart": "isConnectableStart()", "class.connectableend": "isConnectableEnd()", "attr.data-handleid": "handleId()", "attr.data-nodeid": "nodeId", "attr.data-handlepos": "position()", "attr.data-id": "dataId()", "attr.aria-describedby": "store.rfId() + \"-handle-desc\"" }, classAttribute: "ng-flow__handle xy-flow__handle" }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
130
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: HandleComponent, isStandalone: true, selector: "ng-flow-handle", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: true, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, handleId: { classPropertyName: "handleId", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, isConnectable: { classPropertyName: "isConnectable", publicName: "isConnectable", isSignal: true, isRequired: false, transformFunction: null }, isConnectableStart: { classPropertyName: "isConnectableStart", publicName: "isConnectableStart", isSignal: true, isRequired: false, transformFunction: null }, isConnectableEnd: { classPropertyName: "isConnectableEnd", publicName: "isConnectableEnd", isSignal: true, isRequired: false, transformFunction: null }, isValidConnection: { classPropertyName: "isValidConnection", publicName: "isValidConnection", isSignal: true, isRequired: false, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { handleConnect: "onConnect" }, host: { listeners: { "mousedown": "onPointerDown($event)", "click": "onClick($event)" }, properties: { "class.xy-flow__handle-top": "position() === Position.Top", "class.xy-flow__handle-bottom": "position() === Position.Bottom", "class.xy-flow__handle-left": "position() === Position.Left", "class.xy-flow__handle-right": "position() === Position.Right", "class.source": "type() === \"source\"", "class.target": "type() === \"target\"", "class.connectionindicator": "true", "class.connectable": "isConnectable()", "class.connectablestart": "isConnectableStart()", "class.connectableend": "isConnectableEnd()", "attr.data-handleid": "handleId()", "attr.data-nodeid": "nodeId", "attr.data-handlepos": "position()", "attr.data-id": "dataId()", "attr.aria-describedby": "store.rfId() + \"-handle-desc\"" }, classAttribute: "ng-flow__handle xy-flow__handle" }, ngImport: i0, template: `<ng-content />`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
117
131
  }
118
132
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: HandleComponent, decorators: [{
119
133
  type: Component,
@@ -148,5 +162,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImpor
148
162
  }, {
149
163
  type: Inject,
150
164
  args: [NODE_ID]
151
- }] }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: true }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], handleId: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], isConnectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isConnectable", required: false }] }], isConnectableStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "isConnectableStart", required: false }] }], isConnectableEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "isConnectableEnd", required: false }] }], isValidConnection: [{ type: i0.Input, args: [{ isSignal: true, alias: "isValidConnection", required: false }] }], handleConnect: [{ type: i0.Output, args: ["onConnect"] }] } });
165
+ }] }], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: true }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], handleId: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], isConnectable: [{ type: i0.Input, args: [{ isSignal: true, alias: "isConnectable", required: false }] }], isConnectableStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "isConnectableStart", required: false }] }], isConnectableEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "isConnectableEnd", required: false }] }], isValidConnection: [{ type: i0.Input, args: [{ isSignal: true, alias: "isValidConnection", required: false }] }], data: [{ type: i0.Input, args: [{ isSignal: true, alias: "data", required: false }] }], handleConnect: [{ type: i0.Output, args: ["onConnect"] }] } });
152
166
  //# sourceMappingURL=handle.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"handle.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/handle/handle.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACL,MAAM,EACN,MAAM,EACN,QAAQ,EACR,UAAU,EAGV,QAAQ,EACR,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAA0D,MAAM,iBAAiB,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;;AA4BhD,MAAM,OAAO,eAAe;IAuB1B,YAAyC,MA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AAe;kBA1B3B,SAAS;mBAAC;oBACT,QAAQ,EAAE,gBAAgB;oBAC1B,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE;wBACJ,OAAO,EAAE,iCAAiC;wBAC1C,6BAA6B,EAAE,6BAA6B;wBAC5D,gCAAgC,EAAE,gCAAgC;wBAClE,8BAA8B,EAAE,8BAA8B;wBAC9D,+BAA+B,EAAE,+BAA+B;wBAChE,gBAAgB,EAAE,qBAAqB;wBACvC,gBAAgB,EAAE,qBAAqB;wBACvC,6BAA6B,EAAE,MAAM;wBACrC,qBAAqB,EAAE,iBAAiB;wBACxC,0BAA0B,EAAE,sBAAsB;wBAClD,wBAAwB,EAAE,oBAAoB;wBAC9C,sBAAsB,EAAE,YAAY;wBACpC,oBAAoB,EAAE,QAAQ;wBAC9B,uBAAuB,EAAE,YAAY;wBACrC,gBAAgB,EAAE,UAAU;wBAC5B,yBAAyB,EAAE,+BAA+B;wBAC1D,aAAa,EAAE,uBAAuB;wBACtC,SAAS,EAAE,iBAAiB;qBAC7B;oBACD,QAAQ,EAAE,gBAAgB;iBAC3B;;0BAwBc,QAAQ;;0BAAI,MAAM;2BAAC,OAAO"}
1
+ {"version":3,"file":"handle.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/handle/handle.component.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,uBAAuB,EACvB,KAAK,EACL,MAAM,EACN,MAAM,EACN,QAAQ,EACR,MAAM,EACN,UAAU,EAGV,QAAQ,EACR,MAAM,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAA0D,MAAM,iBAAiB,CAAC;AAC7G,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAC9D,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;;AA4BhD,MAAM,OAAO,eAAe;IA0B1B,YAAyC,MAAqB;QAzBrD,aAAQ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uB;wBACtC,SAAS,EAAE,iBAAiB;qBAC7B;oBACD,QAAQ,EAAE,gBAAgB;iBAC3B;;0BA2Bc,QAAQ;;0BAAI,MAAM;2BAAC,OAAO"}
@@ -0,0 +1,27 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * Layout container that anchors to the left or right edge of its parent
4
+ * node and evenly distributes child `<af-handle-row>` elements vertically.
5
+ *
6
+ * The parent node element must be `position: relative`. Standard node
7
+ * wrappers already satisfy this.
8
+ *
9
+ * @example
10
+ * ```html
11
+ * <af-handle-group position="left" [gap]="8">
12
+ * <af-handle-row label="input A">
13
+ * <ng-flow-handle type="target" id="a" />
14
+ * </af-handle-row>
15
+ * <af-handle-row label="input B">
16
+ * <ng-flow-handle type="target" id="b" />
17
+ * </af-handle-row>
18
+ * </af-handle-group>
19
+ * ```
20
+ */
21
+ export declare class AfHandleGroupComponent {
22
+ readonly position: import("@angular/core").InputSignal<"left" | "right">;
23
+ readonly gap: import("@angular/core").InputSignal<number>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<AfHandleGroupComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<AfHandleGroupComponent, "af-handle-group", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; "gap": { "alias": "gap"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
26
+ }
27
+ //# sourceMappingURL=handle-group.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-group.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/handle-group/handle-group.component.ts"],"names":[],"mappings":";AAEA;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAyBa,sBAAsB;IACjC,QAAQ,CAAC,QAAQ,wDAAmC;IACpD,QAAQ,CAAC,GAAG,8CAAoB;yCAFrB,sBAAsB;2CAAtB,sBAAsB;CAGlC"}
@@ -0,0 +1,39 @@
1
+ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Layout container that anchors to the left or right edge of its parent
5
+ * node and evenly distributes child `<af-handle-row>` elements vertically.
6
+ *
7
+ * The parent node element must be `position: relative`. Standard node
8
+ * wrappers already satisfy this.
9
+ *
10
+ * @example
11
+ * ```html
12
+ * <af-handle-group position="left" [gap]="8">
13
+ * <af-handle-row label="input A">
14
+ * <ng-flow-handle type="target" id="a" />
15
+ * </af-handle-row>
16
+ * <af-handle-row label="input B">
17
+ * <ng-flow-handle type="target" id="b" />
18
+ * </af-handle-row>
19
+ * </af-handle-group>
20
+ * ```
21
+ */
22
+ export class AfHandleGroupComponent {
23
+ constructor() {
24
+ this.position = input('left', ...(ngDevMode ? [{ debugName: "position" }] : /* istanbul ignore next */ []));
25
+ this.gap = input(8, ...(ngDevMode ? [{ debugName: "gap" }] : /* istanbul ignore next */ []));
26
+ }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AfHandleGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
28
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: AfHandleGroupComponent, isStandalone: true, selector: "af-handle-group", inputs: { position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class.af-handle-group--left": "position() === \"left\"", "class.af-handle-group--right": "position() === \"right\"", "style.gap.px": "gap()" }, classAttribute: "af-handle-group" }, ngImport: i0, template: `<ng-content />`, isInline: true, styles: ["\n :host {\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: absolute;\n top: 0;\n bottom: 0;\n pointer-events: none;\n }\n :host.af-handle-group--left { left: 0; align-items: flex-start; }\n :host.af-handle-group--right { right: 0; align-items: flex-end; }\n :host ::ng-deep > * { pointer-events: auto; }\n "], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
29
+ }
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AfHandleGroupComponent, decorators: [{
31
+ type: Component,
32
+ args: [{ selector: 'af-handle-group', changeDetection: ChangeDetectionStrategy.OnPush, host: {
33
+ class: 'af-handle-group',
34
+ '[class.af-handle-group--left]': 'position() === "left"',
35
+ '[class.af-handle-group--right]': 'position() === "right"',
36
+ '[style.gap.px]': 'gap()',
37
+ }, template: `<ng-content />`, styles: ["\n :host {\n display: flex;\n flex-direction: column;\n justify-content: center;\n position: absolute;\n top: 0;\n bottom: 0;\n pointer-events: none;\n }\n :host.af-handle-group--left { left: 0; align-items: flex-start; }\n :host.af-handle-group--right { right: 0; align-items: flex-end; }\n :host ::ng-deep > * { pointer-events: auto; }\n "] }]
38
+ }], propDecorators: { position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }] } });
39
+ //# sourceMappingURL=handle-group.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-group.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/handle-group/handle-group.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;AAE1E;;;;;;;;;;;;;;;;;;GAkBG;AA0BH,MAAM,OAAO,sBAAsB;IAzBnC;QA0BW,aAAQ,GAAG,KAAK,CAAmB,MAAM,+EAAC,CAAC;QAC3C,QAAG,GAAG,KAAK,CAAS,CAAC,0EAAC,CAAC;KACjC;8GAHY,sBAAsB;kGAAtB,sBAAsB,shBAhBvB,gBAAgB;;2FAgBf,sBAAsB;kBAzBlC,SAAS;+BACE,iBAAiB,mBACV,uBAAuB,CAAC,MAAM,QACzC;wBACJ,KAAK,EAAE,iBAAiB;wBACxB,+BAA+B,EAAE,uBAAuB;wBACxD,gCAAgC,EAAE,wBAAwB;wBAC1D,gBAAgB,EAAE,OAAO;qBAC1B,YACS,gBAAgB"}
@@ -0,0 +1,16 @@
1
+ import * as i0 from "@angular/core";
2
+ /**
3
+ * A labeled row that pairs a single `<ng-flow-handle>` (projected) with
4
+ * optional text. Intended to be placed inside `<af-handle-group>`.
5
+ *
6
+ * Is its own positioning context so the nested handle's
7
+ * `xy-flow__handle-left` / `-right` CSS anchors to the row edge, not to
8
+ * the whole node. This prevents multiple stacked handles from overlapping
9
+ * at the same y coordinate.
10
+ */
11
+ export declare class AfHandleRowComponent {
12
+ readonly label: import("@angular/core").InputSignal<string>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<AfHandleRowComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<AfHandleRowComponent, "af-handle-row", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, ["ng-flow-handle", "*"], true, never>;
15
+ }
16
+ //# sourceMappingURL=handle-row.component.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-row.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/handle-group/handle-row.component.ts"],"names":[],"mappings":";AAEA;;;;;;;;GAQG;AACH,qBA0Ba,oBAAoB;IAC/B,QAAQ,CAAC,KAAK,8CAAqB;yCADxB,oBAAoB;2CAApB,oBAAoB;CAEhC"}
@@ -0,0 +1,35 @@
1
+ import { ChangeDetectionStrategy, Component, input } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * A labeled row that pairs a single `<ng-flow-handle>` (projected) with
5
+ * optional text. Intended to be placed inside `<af-handle-group>`.
6
+ *
7
+ * Is its own positioning context so the nested handle's
8
+ * `xy-flow__handle-left` / `-right` CSS anchors to the row edge, not to
9
+ * the whole node. This prevents multiple stacked handles from overlapping
10
+ * at the same y coordinate.
11
+ */
12
+ export class AfHandleRowComponent {
13
+ constructor() {
14
+ this.label = input('', ...(ngDevMode ? [{ debugName: "label" }] : /* istanbul ignore next */ []));
15
+ }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AfHandleRowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
17
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: AfHandleRowComponent, isStandalone: true, selector: "af-handle-row", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, host: { classAttribute: "af-handle-row" }, ngImport: i0, template: `
18
+ <ng-content select="ng-flow-handle" />
19
+ @if (label()) {
20
+ <span class="af-handle-row__label">{{ label() }}</span>
21
+ }
22
+ <ng-content />
23
+ `, isInline: true, styles: ["\n :host {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 2px 8px;\n position: relative;\n min-height: 16px;\n }\n .af-handle-row__label {\n font-size: 0.75rem;\n color: var(--text-secondary, #666);\n }\n "], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
24
+ }
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AfHandleRowComponent, decorators: [{
26
+ type: Component,
27
+ args: [{ selector: 'af-handle-row', changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'af-handle-row' }, template: `
28
+ <ng-content select="ng-flow-handle" />
29
+ @if (label()) {
30
+ <span class="af-handle-row__label">{{ label() }}</span>
31
+ }
32
+ <ng-content />
33
+ `, styles: ["\n :host {\n display: flex;\n align-items: center;\n gap: 6px;\n padding: 2px 8px;\n position: relative;\n min-height: 16px;\n }\n .af-handle-row__label {\n font-size: 0.75rem;\n color: var(--text-secondary, #666);\n }\n "] }]
34
+ }], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }] } });
35
+ //# sourceMappingURL=handle-row.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-row.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/handle-group/handle-row.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;;AAE1E;;;;;;;;GAQG;AA2BH,MAAM,OAAO,oBAAoB;IA1BjC;QA2BW,UAAK,GAAG,KAAK,CAAS,EAAE,4EAAC,CAAC;KACpC;8GAFY,oBAAoB;kGAApB,oBAAoB,wPAtBrB;;;;;;GAMT;;2FAgBU,oBAAoB;kBA1BhC,SAAS;+BACE,eAAe,mBACR,uBAAuB,CAAC,MAAM,QACzC,EAAE,KAAK,EAAE,eAAe,EAAE,YACtB;;;;;;GAMT"}
@@ -23,7 +23,7 @@ export class DefaultNodeComponent {
23
23
  <ng-flow-handle type="target" [position]="Position.Top" />
24
24
  <div>{{ data()?.label }}</div>
25
25
  <ng-flow-handle type="source" [position]="Position.Bottom" />
26
- `, isInline: true, dependencies: [{ kind: "component", type: HandleComponent, selector: "ng-flow-handle", inputs: ["type", "position", "id", "isConnectable", "isConnectableStart", "isConnectableEnd", "isValidConnection"], outputs: ["onConnect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
+ `, isInline: true, dependencies: [{ kind: "component", type: HandleComponent, selector: "ng-flow-handle", inputs: ["type", "position", "id", "isConnectable", "isConnectableStart", "isConnectableEnd", "isValidConnection", "data"], outputs: ["onConnect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
27
27
  }
28
28
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DefaultNodeComponent, decorators: [{
29
29
  type: Component,
@@ -22,7 +22,7 @@ export class InputNodeComponent {
22
22
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: InputNodeComponent, isStandalone: true, selector: "ng-flow-input-node", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, dragging: { classPropertyName: "dragging", publicName: "dragging", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, isConnectable: { classPropertyName: "isConnectable", publicName: "isConnectable", isSignal: true, isRequired: false, transformFunction: null }, positionAbsoluteX: { classPropertyName: "positionAbsoluteX", publicName: "positionAbsoluteX", isSignal: true, isRequired: false, transformFunction: null }, positionAbsoluteY: { classPropertyName: "positionAbsoluteY", publicName: "positionAbsoluteY", isSignal: true, isRequired: false, transformFunction: null }, sourcePosition: { classPropertyName: "sourcePosition", publicName: "sourcePosition", isSignal: true, isRequired: false, transformFunction: null }, targetPosition: { classPropertyName: "targetPosition", publicName: "targetPosition", isSignal: true, isRequired: false, transformFunction: null }, dragHandle: { classPropertyName: "dragHandle", publicName: "dragHandle", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
23
23
  <div>{{ data()?.label }}</div>
24
24
  <ng-flow-handle type="source" [position]="Position.Bottom" />
25
- `, isInline: true, dependencies: [{ kind: "component", type: HandleComponent, selector: "ng-flow-handle", inputs: ["type", "position", "id", "isConnectable", "isConnectableStart", "isConnectableEnd", "isValidConnection"], outputs: ["onConnect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ `, isInline: true, dependencies: [{ kind: "component", type: HandleComponent, selector: "ng-flow-handle", inputs: ["type", "position", "id", "isConnectable", "isConnectableStart", "isConnectableEnd", "isValidConnection", "data"], outputs: ["onConnect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: InputNodeComponent, decorators: [{
28
28
  type: Component,
@@ -22,7 +22,7 @@ export class OutputNodeComponent {
22
22
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.2.6", type: OutputNodeComponent, isStandalone: true, selector: "ng-flow-output-node", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: true, transformFunction: null }, data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, selected: { classPropertyName: "selected", publicName: "selected", isSignal: true, isRequired: false, transformFunction: null }, dragging: { classPropertyName: "dragging", publicName: "dragging", isSignal: true, isRequired: false, transformFunction: null }, zIndex: { classPropertyName: "zIndex", publicName: "zIndex", isSignal: true, isRequired: false, transformFunction: null }, isConnectable: { classPropertyName: "isConnectable", publicName: "isConnectable", isSignal: true, isRequired: false, transformFunction: null }, positionAbsoluteX: { classPropertyName: "positionAbsoluteX", publicName: "positionAbsoluteX", isSignal: true, isRequired: false, transformFunction: null }, positionAbsoluteY: { classPropertyName: "positionAbsoluteY", publicName: "positionAbsoluteY", isSignal: true, isRequired: false, transformFunction: null }, sourcePosition: { classPropertyName: "sourcePosition", publicName: "sourcePosition", isSignal: true, isRequired: false, transformFunction: null }, targetPosition: { classPropertyName: "targetPosition", publicName: "targetPosition", isSignal: true, isRequired: false, transformFunction: null }, dragHandle: { classPropertyName: "dragHandle", publicName: "dragHandle", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
23
23
  <ng-flow-handle type="target" [position]="Position.Top" />
24
24
  <div>{{ data()?.label }}</div>
25
- `, isInline: true, dependencies: [{ kind: "component", type: HandleComponent, selector: "ng-flow-handle", inputs: ["type", "position", "id", "isConnectable", "isConnectableStart", "isConnectableEnd", "isValidConnection"], outputs: ["onConnect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
25
+ `, isInline: true, dependencies: [{ kind: "component", type: HandleComponent, selector: "ng-flow-handle", inputs: ["type", "position", "id", "isConnectable", "isConnectableStart", "isConnectableEnd", "isValidConnection", "data"], outputs: ["onConnect"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
26
26
  }
27
27
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: OutputNodeComponent, decorators: [{
28
28
  type: Component,
@@ -1 +1 @@
1
- {"version":3,"file":"edge-renderer.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/container/edge-renderer/edge-renderer.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,IAAI,EAEL,MAAM,eAAe,CAAC;AAEvB,OAAO,EASL,KAAK,UAAU,EACf,KAAK,UAAU,EAEf,KAAK,oBAAoB,EAC1B,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;AAM9D,OAAO,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;;AAanD,qBA0Ka,qBAAqB;IAChC,QAAQ,CAAC,KAAK,8CAAqB;IAEnC,QAAQ,CAAC,eAAe,8CAAa;IAErC,QAAQ,CAAC,SAAS;eAAmB,UAAU;cAAQ,IAAI;OAAM;IACjE,QAAQ,CAAC,eAAe;eAAmB,UAAU;cAAQ,IAAI;OAAM;IACvE,QAAQ,CAAC,eAAe;eAAmB,UAAU;cAAQ,IAAI;OAAM;IACvE,QAAQ,CAAC,cAAc;eAAmB,UAAU;cAAQ,IAAI;OAAM;IACtE,QAAQ,CAAC,aAAa;eAAmB,UAAU;cAAQ,IAAI;OAAM;IACrE,QAAQ,CAAC,cAAc;eAAmB,UAAU;cAAQ,IAAI;OAAM;IACtE,QAAQ,CAAC,eAAe,iDAAwB;IAEhD,QAAQ,CAAC,SAAS;cAAkB,IAAI;oBAAc,UAAU;OAAM;IACtE,QAAQ,CAAC,cAAc;eAAmB,UAAU;cAAQ,IAAI;oBAAc,UAAU;OAAM;IAC9F,QAAQ,CAAC,YAAY;eAAmB,UAAU,GAAG,UAAU;cAAQ,IAAI;oBAAc,UAAU;yBAAmB,oBAAoB;OAAM;IAEhJ,QAAQ,CAAC,Y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