@angflow/angular 0.0.1 → 0.0.3

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 (97) hide show
  1. package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.js +24 -35
  2. package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.js.map +1 -1
  3. package/dist/esm/lib/components/attribution/attribution.component.js +21 -17
  4. package/dist/esm/lib/components/attribution/attribution.component.js.map +1 -1
  5. package/dist/esm/lib/components/background/background.component.js +85 -77
  6. package/dist/esm/lib/components/background/background.component.js.map +1 -1
  7. package/dist/esm/lib/components/connection-line/connection-line.component.js +34 -45
  8. package/dist/esm/lib/components/connection-line/connection-line.component.js.map +1 -1
  9. package/dist/esm/lib/components/controls/controls.component.d.ts.map +1 -1
  10. package/dist/esm/lib/components/controls/controls.component.js +83 -86
  11. package/dist/esm/lib/components/controls/controls.component.js.map +1 -1
  12. package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.js +14 -19
  13. package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.js.map +1 -1
  14. package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.js +20 -27
  15. package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.js.map +1 -1
  16. package/dist/esm/lib/components/edges/base-edge.component.js +30 -27
  17. package/dist/esm/lib/components/edges/base-edge.component.js.map +1 -1
  18. package/dist/esm/lib/components/edges/bezier-edge.component.js +20 -18
  19. package/dist/esm/lib/components/edges/bezier-edge.component.js.map +1 -1
  20. package/dist/esm/lib/components/edges/edge-text.component.js +24 -23
  21. package/dist/esm/lib/components/edges/edge-text.component.js.map +1 -1
  22. package/dist/esm/lib/components/edges/simple-bezier-edge.component.js +19 -17
  23. package/dist/esm/lib/components/edges/simple-bezier-edge.component.js.map +1 -1
  24. package/dist/esm/lib/components/edges/smooth-step-edge.component.js +19 -17
  25. package/dist/esm/lib/components/edges/smooth-step-edge.component.js.map +1 -1
  26. package/dist/esm/lib/components/edges/step-edge.component.js +19 -17
  27. package/dist/esm/lib/components/edges/step-edge.component.js.map +1 -1
  28. package/dist/esm/lib/components/edges/straight-edge.component.js +19 -17
  29. package/dist/esm/lib/components/edges/straight-edge.component.js.map +1 -1
  30. package/dist/esm/lib/components/handle/handle.component.js +36 -46
  31. package/dist/esm/lib/components/handle/handle.component.js.map +1 -1
  32. package/dist/esm/lib/components/minimap/minimap.component.d.ts +8 -0
  33. package/dist/esm/lib/components/minimap/minimap.component.d.ts.map +1 -1
  34. package/dist/esm/lib/components/minimap/minimap.component.js +174 -75
  35. package/dist/esm/lib/components/minimap/minimap.component.js.map +1 -1
  36. package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.js +12 -17
  37. package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.js.map +1 -1
  38. package/dist/esm/lib/components/node-resizer/node-resizer.component.js +83 -50
  39. package/dist/esm/lib/components/node-resizer/node-resizer.component.js.map +1 -1
  40. package/dist/esm/lib/components/node-toolbar/node-toolbar.component.d.ts +1 -1
  41. package/dist/esm/lib/components/node-toolbar/node-toolbar.component.d.ts.map +1 -1
  42. package/dist/esm/lib/components/node-toolbar/node-toolbar.component.js +28 -29
  43. package/dist/esm/lib/components/node-toolbar/node-toolbar.component.js.map +1 -1
  44. package/dist/esm/lib/components/nodes/default-node.component.js +16 -26
  45. package/dist/esm/lib/components/nodes/default-node.component.js.map +1 -1
  46. package/dist/esm/lib/components/nodes/group-node.component.js +14 -15
  47. package/dist/esm/lib/components/nodes/group-node.component.js.map +1 -1
  48. package/dist/esm/lib/components/nodes/input-node.component.js +15 -24
  49. package/dist/esm/lib/components/nodes/input-node.component.js.map +1 -1
  50. package/dist/esm/lib/components/nodes/output-node.component.js +15 -23
  51. package/dist/esm/lib/components/nodes/output-node.component.js.map +1 -1
  52. package/dist/esm/lib/components/panel/panel.component.js +19 -26
  53. package/dist/esm/lib/components/panel/panel.component.js.map +1 -1
  54. package/dist/esm/lib/components/selection-box/selection-box.component.d.ts +7 -0
  55. package/dist/esm/lib/components/selection-box/selection-box.component.d.ts.map +1 -1
  56. package/dist/esm/lib/components/selection-box/selection-box.component.js +69 -28
  57. package/dist/esm/lib/components/selection-box/selection-box.component.js.map +1 -1
  58. package/dist/esm/lib/components/viewport-portal/viewport-portal.component.js +15 -22
  59. package/dist/esm/lib/components/viewport-portal/viewport-portal.component.js.map +1 -1
  60. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.d.ts +6 -0
  61. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.d.ts.map +1 -1
  62. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js +192 -139
  63. package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js.map +1 -1
  64. package/dist/esm/lib/container/ng-flow/ng-flow.component.d.ts +2 -0
  65. package/dist/esm/lib/container/ng-flow/ng-flow.component.d.ts.map +1 -1
  66. package/dist/esm/lib/container/ng-flow/ng-flow.component.js +135 -101
  67. package/dist/esm/lib/container/ng-flow/ng-flow.component.js.map +1 -1
  68. package/dist/esm/lib/container/node-renderer/node-renderer.component.d.ts +4 -0
  69. package/dist/esm/lib/container/node-renderer/node-renderer.component.d.ts.map +1 -1
  70. package/dist/esm/lib/container/node-renderer/node-renderer.component.js +164 -109
  71. package/dist/esm/lib/container/node-renderer/node-renderer.component.js.map +1 -1
  72. package/dist/esm/lib/container/pane/pane.component.d.ts.map +1 -1
  73. package/dist/esm/lib/container/pane/pane.component.js +23 -28
  74. package/dist/esm/lib/container/pane/pane.component.js.map +1 -1
  75. package/dist/esm/lib/container/viewport/viewport.component.js +16 -23
  76. package/dist/esm/lib/container/viewport/viewport.component.js.map +1 -1
  77. package/dist/esm/lib/directives/drag.directive.js +10 -10
  78. package/dist/esm/lib/directives/drag.directive.js.map +1 -1
  79. package/dist/esm/lib/directives/drop-zone.directive.js +9 -9
  80. package/dist/esm/lib/directives/drop-zone.directive.js.map +1 -1
  81. package/dist/esm/lib/directives/key-handler.directive.js +13 -15
  82. package/dist/esm/lib/directives/key-handler.directive.js.map +1 -1
  83. package/dist/esm/lib/directives/node-type.directive.js +12 -12
  84. package/dist/esm/lib/directives/node-type.directive.js.map +1 -1
  85. package/dist/esm/lib/services/flow-store.service.d.ts +7 -0
  86. package/dist/esm/lib/services/flow-store.service.d.ts.map +1 -1
  87. package/dist/esm/lib/services/flow-store.service.js +28 -5
  88. package/dist/esm/lib/services/flow-store.service.js.map +1 -1
  89. package/dist/esm/lib/services/ng-flow.service.d.ts +9 -9
  90. package/dist/esm/lib/services/ng-flow.service.d.ts.map +1 -1
  91. package/dist/esm/lib/services/ng-flow.service.js +18 -19
  92. package/dist/esm/lib/services/ng-flow.service.js.map +1 -1
  93. package/dist/esm/test-setup.d.ts +2 -0
  94. package/dist/esm/test-setup.d.ts.map +1 -0
  95. package/dist/esm/test-setup.js +6 -0
  96. package/dist/esm/test-setup.js.map +1 -0
  97. package/package.json +9 -3
@@ -9,36 +9,26 @@ export class A11yDescriptionsComponent {
9
9
  get rfId() {
10
10
  return this.store.rfId();
11
11
  }
12
- static { this.ɵfac = function A11yDescriptionsComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || A11yDescriptionsComponent)(); }; }
13
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: A11yDescriptionsComponent, selectors: [["ng-flow-a11y-descriptions"]], hostAttrs: [2, "position", "absolute", "width", "1px", "height", "1px", "margin", "-1px", "padding", "0", "overflow", "hidden", "clip", "rect(0,0,0,0)", "border", "0"], decls: 6, vars: 5, consts: [[1, "xy-flow__sr-only", 3, "id"]], template: function A11yDescriptionsComponent_Template(rf, ctx) { if (rf & 1) {
14
- i0.ɵɵdomElementStart(0, "div", 0);
15
- i0.ɵɵtext(1);
16
- i0.ɵɵdomElementEnd();
17
- i0.ɵɵdomElementStart(2, "div", 0);
18
- i0.ɵɵtext(3);
19
- i0.ɵɵdomElementEnd();
20
- i0.ɵɵdomElementStart(4, "div", 0);
21
- i0.ɵɵtext(5, " Edge connection ");
22
- i0.ɵɵdomElementEnd();
23
- } if (rf & 2) {
24
- i0.ɵɵdomProperty("id", ctx.rfId + "-node-desc");
25
- i0.ɵɵadvance();
26
- i0.ɵɵtextInterpolate1(" ", ctx.config()["node.a11yDescription.default"], " ");
27
- i0.ɵɵadvance();
28
- i0.ɵɵdomProperty("id", ctx.rfId + "-handle-desc");
29
- i0.ɵɵadvance();
30
- i0.ɵɵtextInterpolate1(" ", ctx.config()["handle.ariaLabel"], " ");
31
- i0.ɵɵadvance();
32
- i0.ɵɵdomProperty("id", ctx.rfId + "-edge-desc");
33
- } }, encapsulation: 2, changeDetection: 0 }); }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: A11yDescriptionsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: A11yDescriptionsComponent, isStandalone: true, selector: "ng-flow-a11y-descriptions", host: { styleAttribute: "position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0;" }, ngImport: i0, template: `
14
+ <div [id]="rfId + '-node-desc'" class="xy-flow__sr-only">
15
+ {{ config()['node.a11yDescription.default'] }}
16
+ </div>
17
+ <div [id]="rfId + '-handle-desc'" class="xy-flow__sr-only">
18
+ {{ config()['handle.ariaLabel'] }}
19
+ </div>
20
+ <div [id]="rfId + '-edge-desc'" class="xy-flow__sr-only">
21
+ Edge connection
22
+ </div>
23
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
34
24
  }
35
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(A11yDescriptionsComponent, [{
36
- type: Component,
37
- args: [{
38
- selector: 'ng-flow-a11y-descriptions',
39
- standalone: true,
40
- changeDetection: ChangeDetectionStrategy.OnPush,
41
- template: `
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: A11yDescriptionsComponent, decorators: [{
26
+ type: Component,
27
+ args: [{
28
+ selector: 'ng-flow-a11y-descriptions',
29
+ standalone: true,
30
+ changeDetection: ChangeDetectionStrategy.OnPush,
31
+ template: `
42
32
  <div [id]="rfId + '-node-desc'" class="xy-flow__sr-only">
43
33
  {{ config()['node.a11yDescription.default'] }}
44
34
  </div>
@@ -49,10 +39,9 @@ export class A11yDescriptionsComponent {
49
39
  Edge connection
50
40
  </div>
51
41
  `,
52
- host: {
53
- 'style': 'position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0;',
54
- },
55
- }]
56
- }], null, null); })();
57
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(A11yDescriptionsComponent, { className: "A11yDescriptionsComponent", filePath: "lib/components/a11y-descriptions/a11y-descriptions.component.ts", lineNumber: 23 }); })();
42
+ host: {
43
+ 'style': 'position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0;',
44
+ },
45
+ }]
46
+ }] });
58
47
  //# sourceMappingURL=a11y-descriptions.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"a11y-descriptions.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/a11y-descriptions/a11y-descriptions.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;;AAqB9D,MAAM,OAAO,yBAAyB;IAnBtC;QAoBU,UAAK,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAMzB,WAAM,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;KAC9C;IALC,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC3B,CAAC;0HALU,yBAAyB;oEAAzB,yBAAyB;YAdlC,iCAAyD;YACvD,YACF;YAAA,oBAAM;YACN,iCAA2D;YACzD,YACF;YAAA,oBAAM;YACN,iCAAyD;YACvD,iCACF;YAAA,oBAAM;;YARD,+CAA0B;YAC7B,cACF;YADE,6EACF;YACK,cAA4B;YAA5B,iDAA4B;YAC/B,cACF;YADE,iEACF;YACK,cAA0B;YAA1B,+CAA0B;;;iFAQtB,yBAAyB;cAnBrC,SAAS;eAAC;gBACT,QAAQ,EAAE,2BAA2B;gBACrC,UAAU,EAAE,IAAI;gBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,QAAQ,EAAE;;;;;;;;;;GAUT;gBACD,IAAI,EAAE;oBACJ,OAAO,EAAE,0HAA0H;iBACpI;aACF;;kFACY,yBAAyB"}
1
+ {"version":3,"file":"a11y-descriptions.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/a11y-descriptions/a11y-descriptions.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAC3E,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;;AAqB9D,MAAM,OAAO,yBAAyB;IAnBtC;QAoBU,UAAK,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAMzB,WAAM,GAAG,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC;KAC9C;IALC,IAAI,IAAI;QACN,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAC3B,CAAC;8GALU,yBAAyB;kGAAzB,yBAAyB,2OAf1B;;;;;;;;;;GAUT;;2FAKU,yBAAyB;kBAnBrC,SAAS;mBAAC;oBACT,QAAQ,EAAE,2BAA2B;oBACrC,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;;;;GAUT;oBACD,IAAI,EAAE;wBACJ,OAAO,EAAE,0HAA0H;qBACpI;iBACF"}
@@ -2,21 +2,26 @@ import { Component, ChangeDetectionStrategy } from '@angular/core';
2
2
  import { PanelComponent } from '../panel/panel.component';
3
3
  import * as i0 from "@angular/core";
4
4
  export class AttributionComponent {
5
- static { this.ɵfac = function AttributionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AttributionComponent)(); }; }
6
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AttributionComponent, selectors: [["ng-flow-attribution"]], decls: 3, vars: 0, consts: [["position", "bottom-right"], [1, "ng-flow__attribution", "xy-flow__attribution", 2, "font-size", "10px", "color", "#999", "pointer-events", "all"]], template: function AttributionComponent_Template(rf, ctx) { if (rf & 1) {
7
- i0.ɵɵelementStart(0, "ng-flow-panel", 0)(1, "span", 1);
8
- i0.ɵɵtext(2, " ngflow ");
9
- i0.ɵɵelementEnd()();
10
- } }, dependencies: [PanelComponent], encapsulation: 2, changeDetection: 0 }); }
5
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AttributionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
6
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: AttributionComponent, isStandalone: true, selector: "ng-flow-attribution", ngImport: i0, template: `
7
+ <ng-flow-panel position="bottom-right">
8
+ <span
9
+ class="ng-flow__attribution xy-flow__attribution"
10
+ style="font-size: 10px; color: #999; pointer-events: all;"
11
+ >
12
+ ngflow
13
+ </span>
14
+ </ng-flow-panel>
15
+ `, isInline: true, dependencies: [{ kind: "component", type: PanelComponent, selector: "ng-flow-panel", inputs: ["position"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
11
16
  }
12
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AttributionComponent, [{
13
- type: Component,
14
- args: [{
15
- selector: 'ng-flow-attribution',
16
- standalone: true,
17
- imports: [PanelComponent],
18
- changeDetection: ChangeDetectionStrategy.OnPush,
19
- template: `
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: AttributionComponent, decorators: [{
18
+ type: Component,
19
+ args: [{
20
+ selector: 'ng-flow-attribution',
21
+ standalone: true,
22
+ imports: [PanelComponent],
23
+ changeDetection: ChangeDetectionStrategy.OnPush,
24
+ template: `
20
25
  <ng-flow-panel position="bottom-right">
21
26
  <span
22
27
  class="ng-flow__attribution xy-flow__attribution"
@@ -26,7 +31,6 @@ export class AttributionComponent {
26
31
  </span>
27
32
  </ng-flow-panel>
28
33
  `,
29
- }]
30
- }], null, null); })();
31
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AttributionComponent, { className: "AttributionComponent", filePath: "lib/components/attribution/attribution.component.ts", lineNumber: 20 }); })();
34
+ }]
35
+ }] });
32
36
  //# sourceMappingURL=attribution.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attribution.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/attribution/attribution.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;;AAkB1D,MAAM,OAAO,oBAAoB;qHAApB,oBAAoB;oEAApB,oBAAoB;YAT3B,AADF,wCAAuC,cAIpC;YACC,wBACF;YACF,AADE,iBAAO,EACO;4BAVR,cAAc;;iFAab,oBAAoB;cAhBhC,SAAS;eAAC;gBACT,QAAQ,EAAE,qBAAqB;gBAC/B,UAAU,EAAE,IAAI;gBAChB,OAAO,EAAE,CAAC,cAAc,CAAC;gBACzB,eAAe,EAAE,uBAAuB,CAAC,MAAM;gBAC/C,QAAQ,EAAE;;;;;;;;;GAST;aACF;;kFACY,oBAAoB"}
1
+ {"version":3,"file":"attribution.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/attribution/attribution.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC;AACnE,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;;AAkB1D,MAAM,OAAO,oBAAoB;8GAApB,oBAAoB;kGAApB,oBAAoB,+EAXrB;;;;;;;;;GAST,4DAXS,cAAc;;2FAab,oBAAoB;kBAhBhC,SAAS;mBAAC;oBACT,QAAQ,EAAE,qBAAqB;oBAC/B,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,cAAc,CAAC;oBACzB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,QAAQ,EAAE;;;;;;;;;GAST;iBACF"}
@@ -1,49 +1,6 @@
1
1
  import { Component, ChangeDetectionStrategy, input, inject, computed } from '@angular/core';
2
2
  import { FlowStore } from '../../services/flow-store.service';
3
3
  import * as i0 from "@angular/core";
4
- function BackgroundComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
5
- i0.ɵɵnamespaceSVG();
6
- i0.ɵɵdomElement(0, "rect", 1);
7
- } if (rf & 2) {
8
- const ctx_r0 = i0.ɵɵnextContext();
9
- i0.ɵɵattribute("fill", ctx_r0.bgColor());
10
- } }
11
- function BackgroundComponent_Case_3_Template(rf, ctx) { if (rf & 1) {
12
- i0.ɵɵnamespaceSVG();
13
- i0.ɵɵdomElementStart(0, "pattern", 2);
14
- i0.ɵɵdomElement(1, "circle");
15
- i0.ɵɵdomElementEnd();
16
- } if (rf & 2) {
17
- const ctx_r0 = i0.ɵɵnextContext();
18
- i0.ɵɵattribute("id", ctx_r0.patternId())("x", ctx_r0.patternOffset().x)("y", ctx_r0.patternOffset().y)("width", ctx_r0.scaledGapX())("height", ctx_r0.scaledGapY());
19
- i0.ɵɵadvance();
20
- i0.ɵɵclassMap("xy-flow__background-pattern dots " + (ctx_r0.patternClassName() ?? ""));
21
- i0.ɵɵattribute("cx", ctx_r0.size() * ctx_r0.zoom())("cy", ctx_r0.size() * ctx_r0.zoom())("r", ctx_r0.size() * ctx_r0.zoom())("fill", ctx_r0.color());
22
- } }
23
- function BackgroundComponent_Case_4_Template(rf, ctx) { if (rf & 1) {
24
- i0.ɵɵnamespaceSVG();
25
- i0.ɵɵdomElementStart(0, "pattern", 2);
26
- i0.ɵɵdomElement(1, "path");
27
- i0.ɵɵdomElementEnd();
28
- } if (rf & 2) {
29
- const ctx_r0 = i0.ɵɵnextContext();
30
- i0.ɵɵattribute("id", ctx_r0.patternId())("x", ctx_r0.patternOffset().x)("y", ctx_r0.patternOffset().y)("width", ctx_r0.scaledGapX())("height", ctx_r0.scaledGapY());
31
- i0.ɵɵadvance();
32
- i0.ɵɵclassMap("xy-flow__background-pattern lines " + (ctx_r0.patternClassName() ?? ""));
33
- i0.ɵɵattribute("stroke", ctx_r0.color())("stroke-width", ctx_r0.resolvedLineWidth() * ctx_r0.zoom())("d", "M " + ctx_r0.scaledGapX() + " 0 L 0 0 0 " + ctx_r0.scaledGapY());
34
- } }
35
- function BackgroundComponent_Case_5_Template(rf, ctx) { if (rf & 1) {
36
- i0.ɵɵnamespaceSVG();
37
- i0.ɵɵdomElementStart(0, "pattern", 2);
38
- i0.ɵɵdomElement(1, "path");
39
- i0.ɵɵdomElementEnd();
40
- } if (rf & 2) {
41
- const ctx_r0 = i0.ɵɵnextContext();
42
- i0.ɵɵattribute("id", ctx_r0.patternId())("x", ctx_r0.patternOffset().x)("y", ctx_r0.patternOffset().y)("width", ctx_r0.scaledGapX())("height", ctx_r0.scaledGapY());
43
- i0.ɵɵadvance();
44
- i0.ɵɵclassMap("xy-flow__background-pattern cross " + (ctx_r0.patternClassName() ?? ""));
45
- i0.ɵɵattribute("stroke", ctx_r0.color())("stroke-width", ctx_r0.resolvedLineWidth() * ctx_r0.zoom())("d", ctx_r0.crossPath());
46
- } }
47
4
  export class BackgroundComponent {
48
5
  constructor() {
49
6
  this.store = inject(FlowStore);
@@ -101,38 +58,90 @@ export class BackgroundComponent {
101
58
  return `M ${halfGX - s} ${halfGY} L ${halfGX + s} ${halfGY} M ${halfGX} ${halfGY - s} L ${halfGX} ${halfGY + s}`;
102
59
  }, ...(ngDevMode ? [{ debugName: "crossPath" }] : /* istanbul ignore next */ []));
103
60
  }
104
- static { this.ɵfac = function BackgroundComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BackgroundComponent)(); }; }
105
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BackgroundComponent, selectors: [["ng-flow-background"]], hostAttrs: [1, "ng-flow__background", "xy-flow__background", "xy-flow__container", 2, "display", "block", "position", "absolute", "width", "100%", "height", "100%", "top", "0", "left", "0", "pointer-events", "none", "z-index", "-1"], inputs: { variant: [1, "variant"], gap: [1, "gap"], size: [1, "size"], lineWidth: [1, "lineWidth"], offset: [1, "offset"], color: [1, "color"], bgColor: [1, "bgColor"], patternClassName: [1, "patternClassName"], bgId: [1, "id", "bgId"] }, decls: 7, vars: 7, consts: [[1, "ng-flow__background-svg"], ["x", "0", "y", "0", "width", "100%", "height", "100%"], ["patternUnits", "userSpaceOnUse"]], template: function BackgroundComponent_Template(rf, ctx) { if (rf & 1) {
106
- i0.ɵɵnamespaceSVG();
107
- i0.ɵɵdomElementStart(0, "svg", 0);
108
- i0.ɵɵconditionalCreate(1, BackgroundComponent_Conditional_1_Template, 1, 1, ":svg:rect", 1);
109
- i0.ɵɵdomElementStart(2, "defs");
110
- i0.ɵɵconditionalCreate(3, BackgroundComponent_Case_3_Template, 2, 11, ":svg:pattern", 2)(4, BackgroundComponent_Case_4_Template, 2, 10, ":svg:pattern", 2)(5, BackgroundComponent_Case_5_Template, 2, 10, ":svg:pattern", 2);
111
- i0.ɵɵdomElementEnd();
112
- i0.ɵɵdomElement(6, "rect", 1);
113
- i0.ɵɵdomElementEnd();
114
- } if (rf & 2) {
115
- let tmp_3_0;
116
- i0.ɵɵstyleProp("width", "100%")("height", "100%");
117
- i0.ɵɵadvance();
118
- i0.ɵɵconditional(ctx.bgColor() ? 1 : -1);
119
- i0.ɵɵadvance(2);
120
- i0.ɵɵconditional((tmp_3_0 = ctx.variant()) === "dots" ? 3 : tmp_3_0 === "lines" ? 4 : tmp_3_0 === "cross" ? 5 : -1);
121
- i0.ɵɵadvance(3);
122
- i0.ɵɵattribute("fill", "url(#" + ctx.patternId() + ")");
123
- } }, encapsulation: 2, changeDetection: 0 }); }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: BackgroundComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
62
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: BackgroundComponent, isStandalone: true, selector: "ng-flow-background", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, gap: { classPropertyName: "gap", publicName: "gap", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, lineWidth: { classPropertyName: "lineWidth", publicName: "lineWidth", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null }, bgColor: { classPropertyName: "bgColor", publicName: "bgColor", isSignal: true, isRequired: false, transformFunction: null }, patternClassName: { classPropertyName: "patternClassName", publicName: "patternClassName", isSignal: true, isRequired: false, transformFunction: null }, bgId: { classPropertyName: "bgId", publicName: "id", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: -1;", classAttribute: "ng-flow__background xy-flow__background xy-flow__container" }, ngImport: i0, template: `
63
+ <svg
64
+ class="ng-flow__background-svg"
65
+ [style.width]="'100%'"
66
+ [style.height]="'100%'"
67
+ >
68
+ @if (bgColor()) {
69
+ <rect x="0" y="0" width="100%" height="100%" [attr.fill]="bgColor()" />
70
+ }
71
+ <defs>
72
+ @switch (variant()) {
73
+ @case ('dots') {
74
+ <pattern
75
+ [attr.id]="patternId()"
76
+ [attr.x]="patternOffset().x"
77
+ [attr.y]="patternOffset().y"
78
+ [attr.width]="scaledGapX()"
79
+ [attr.height]="scaledGapY()"
80
+ patternUnits="userSpaceOnUse"
81
+ >
82
+ <circle
83
+ [class]="'xy-flow__background-pattern dots ' + (patternClassName() ?? '')"
84
+ [attr.cx]="size() * zoom()"
85
+ [attr.cy]="size() * zoom()"
86
+ [attr.r]="size() * zoom()"
87
+ [attr.fill]="color()"
88
+ />
89
+ </pattern>
90
+ }
91
+ @case ('lines') {
92
+ <pattern
93
+ [attr.id]="patternId()"
94
+ [attr.x]="patternOffset().x"
95
+ [attr.y]="patternOffset().y"
96
+ [attr.width]="scaledGapX()"
97
+ [attr.height]="scaledGapY()"
98
+ patternUnits="userSpaceOnUse"
99
+ >
100
+ <path
101
+ [class]="'xy-flow__background-pattern lines ' + (patternClassName() ?? '')"
102
+ [attr.stroke]="color()"
103
+ [attr.stroke-width]="resolvedLineWidth() * zoom()"
104
+ [attr.d]="'M ' + scaledGapX() + ' 0 L 0 0 0 ' + scaledGapY()"
105
+ />
106
+ </pattern>
107
+ }
108
+ @case ('cross') {
109
+ <pattern
110
+ [attr.id]="patternId()"
111
+ [attr.x]="patternOffset().x"
112
+ [attr.y]="patternOffset().y"
113
+ [attr.width]="scaledGapX()"
114
+ [attr.height]="scaledGapY()"
115
+ patternUnits="userSpaceOnUse"
116
+ >
117
+ <path
118
+ [class]="'xy-flow__background-pattern cross ' + (patternClassName() ?? '')"
119
+ [attr.stroke]="color()"
120
+ [attr.stroke-width]="resolvedLineWidth() * zoom()"
121
+ [attr.d]="crossPath()"
122
+ />
123
+ </pattern>
124
+ }
125
+ }
126
+ </defs>
127
+ <rect
128
+ x="0" y="0" width="100%" height="100%"
129
+ [attr.fill]="'url(#' + patternId() + ')'"
130
+ />
131
+ </svg>
132
+ `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
124
133
  }
125
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BackgroundComponent, [{
126
- type: Component,
127
- args: [{
128
- selector: 'ng-flow-background',
129
- standalone: true,
130
- changeDetection: ChangeDetectionStrategy.OnPush,
131
- host: {
132
- 'class': 'ng-flow__background xy-flow__background xy-flow__container',
133
- 'style': 'display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: -1;',
134
- },
135
- template: `
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: BackgroundComponent, decorators: [{
135
+ type: Component,
136
+ args: [{
137
+ selector: 'ng-flow-background',
138
+ standalone: true,
139
+ changeDetection: ChangeDetectionStrategy.OnPush,
140
+ host: {
141
+ 'class': 'ng-flow__background xy-flow__background xy-flow__container',
142
+ 'style': 'display: block; position: absolute; width: 100%; height: 100%; top: 0; left: 0; pointer-events: none; z-index: -1;',
143
+ },
144
+ template: `
136
145
  <svg
137
146
  class="ng-flow__background-svg"
138
147
  [style.width]="'100%'"
@@ -203,7 +212,6 @@ export class BackgroundComponent {
203
212
  />
204
213
  </svg>
205
214
  `,
206
- }]
207
- }], null, { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], lineWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineWidth", required: false }] }], offset: [{ type: i0.Input, args: [{ isSignal: true, alias: "offset", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], bgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgColor", required: false }] }], patternClassName: [{ type: i0.Input, args: [{ isSignal: true, alias: "patternClassName", required: false }] }], bgId: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] }); })();
208
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BackgroundComponent, { className: "BackgroundComponent", filePath: "lib/components/background/background.component.ts", lineNumber: 86 }); })();
215
+ }]
216
+ }], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], gap: [{ type: i0.Input, args: [{ isSignal: true, alias: "gap", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], lineWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "lineWidth", required: false }] }], offset: [{ type: i0.Input, args: [{ isSignal: true, alias: "offset", required: false }] }], color: [{ type: i0.Input, args: [{ isSignal: true, alias: "color", required: false }] }], bgColor: [{ type: i0.Input, args: [{ isSignal: true, alias: "bgColor", required: false }] }], patternClassName: [{ type: i0.Input, args: [{ isSignal: true, alias: "patternClassName", required: false }] }], bgId: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }] } });
209
217
  //# sourceMappingURL=background.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"background.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/background/background.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;;;;IAmBtD,6BAAuE;;;;;;;IAKnE,qCAOC;IACC,4BAME;IACJ,oBAAU;;;;IANN,cAA0E;IAA1E,sFAA0E;;;;;IAS9E,qCAOC;IACC,0BAKE;IACJ,oBAAU;;;;IALN,cAA2E;IAA3E,uFAA2E;;;;;IAQ/E,qCAOC;IACC,0BAKE;IACJ,oBAAU;;;;IALN,cAA2E;IAA3E,uFAA2E;;;AAgB3F,MAAM,OAAO,mBAAmB;IAhFhC;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AAuB,CAAC,MAAM;gBAC/C,IAAI,EAAE;oBACJ,OAAO,EAAE,4DAA4D;oBACrE,OAAO,EAAE,oHAAoH;iBAC9H;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsET;aACF;;kFACY,mBAAmB"}
1
+ {"version":3,"file":"background.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/background/background.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC5F,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;;AAoF9D,MAAM,OAAO,mBAAmB;IAhFhC;QAiFU,UAAK,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAEzB,YAAO,GAAG,KAAK,CAAoB,MAAM,8EAAC,CAAC;QAC3C,QAAG,GAAG,KAAK,CAA4B,EAAE,0EAAC,CAAC;QAC3C,SAAI,GAAG,KAAK,CAAC,CAAC,2EAAC,CAAC;QAChB,cAAS,GAAG,KAAK,0FAAU,CAAC;QAC5B,WAAM,GAAG,KAAK,CAA4B,CAAC,6EAAC,CAAC;QAC7C,UAAK,GAAG,KAAK,sFAAU,CAAC;QACxB,YAAO,GAAG,KAAK,wFAAU,CAAC;QAC1B,qBAAgB,GAAG,KAAK,iGAAU,CAAC;QACnC,SAAI,GAAG,KAAK,CAAqB,SAAS,4EAAI,KAAK,EAAE,IAAI,GAAG,CAAC;QAE7D,cAAS,GAAG,QAAQ,CAAC,GAAG,EAAE;YACjC,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,EAAE,CAAC;YAC7B,OAAO,QAAQ,IAAI,cAAc,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,EAAE,CAAC;QACvD,CAAC,gFAAC,CAAC;QAEM,SAAI,GAAG,QAAQ,CAAC,GAAG,EA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CAAC,MAAM,MAAM,IAAI,MAAM,GAAG,CAAC,EAAE,CAAC;QACnH,CAAC,gFAAC,CAAC;KACJ;8GAjEY,mBAAmB;kGAAnB,mBAAmB,85CAxEpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsET;;2FAEU,mBAAmB;kBAhF/B,SAAS;mBAAC;oBACT,QAAQ,EAAE,oBAAoB;oBAC9B,UAAU,EAAE,IAAI;oBAChB,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE;wBACJ,OAAO,EAAE,4DAA4D;wBACrE,OAAO,EAAE,oHAAoH;qBAC9H;oBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsET;iBACF"}
@@ -4,31 +4,6 @@ import { getBezierPath, getSmoothStepPath, getStraightPath, ConnectionLineType,
4
4
  import { FlowStore } from '../../services/flow-store.service';
5
5
  import * as i0 from "@angular/core";
6
6
  import * as i1 from "@angular/common";
7
- function ConnectionLineComponent_Conditional_0_Conditional_0_ng_container_0_Template(rf, ctx) { if (rf & 1) {
8
- i0.ɵɵelementContainer(0);
9
- } }
10
- function ConnectionLineComponent_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
11
- i0.ɵɵtemplate(0, ConnectionLineComponent_Conditional_0_Conditional_0_ng_container_0_Template, 1, 0, "ng-container", 1);
12
- } if (rf & 2) {
13
- const ctx_r0 = i0.ɵɵnextContext(2);
14
- i0.ɵɵproperty("ngComponentOutlet", ctx_r0.customComponent())("ngComponentOutletInputs", ctx_r0.connectionProps());
15
- } }
16
- function ConnectionLineComponent_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
17
- i0.ɵɵnamespaceSVG();
18
- i0.ɵɵelementStart(0, "svg", 0)(1, "g");
19
- i0.ɵɵelement(2, "path", 2);
20
- i0.ɵɵelementEnd()();
21
- } if (rf & 2) {
22
- const ctx_r0 = i0.ɵɵnextContext(2);
23
- i0.ɵɵadvance(2);
24
- i0.ɵɵattribute("d", ctx_r0.connectionPath());
25
- } }
26
- function ConnectionLineComponent_Conditional_0_Template(rf, ctx) { if (rf & 1) {
27
- i0.ɵɵconditionalCreate(0, ConnectionLineComponent_Conditional_0_Conditional_0_Template, 1, 2, "ng-container")(1, ConnectionLineComponent_Conditional_0_Conditional_1_Template, 3, 1, ":svg:svg", 0);
28
- } if (rf & 2) {
29
- const ctx_r0 = i0.ɵɵnextContext();
30
- i0.ɵɵconditional(ctx_r0.customComponent() ? 0 : 1);
31
- } }
32
7
  export class ConnectionLineComponent {
33
8
  constructor() {
34
9
  this.store = inject(FlowStore);
@@ -103,24 +78,39 @@ export class ConnectionLineComponent {
103
78
  }
104
79
  }, ...(ngDevMode ? [{ debugName: "connectionPath" }] : /* istanbul ignore next */ []));
105
80
  }
106
- static { this.ɵfac = function ConnectionLineComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ConnectionLineComponent)(); }; }
107
- static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: ConnectionLineComponent, selectors: [["ng-flow-connection-line"]], hostAttrs: [2, "display", "contents"], inputs: { customComponent: [1, "customComponent"], connectionLineType: [1, "connectionLineType"] }, decls: 1, vars: 1, consts: [[1, "ng-flow__connectionline", "xy-flow__connectionline", 2, "overflow", "visible", "position", "absolute", "width", "100%", "height", "100%", "pointer-events", "none"], [4, "ngComponentOutlet", "ngComponentOutletInputs"], ["fill", "none", 1, "ng-flow__connection-path", "xy-flow__connection-path"]], template: function ConnectionLineComponent_Template(rf, ctx) { if (rf & 1) {
108
- i0.ɵɵconditionalCreate(0, ConnectionLineComponent_Conditional_0_Template, 2, 1);
109
- } if (rf & 2) {
110
- i0.ɵɵconditional(ctx.isConnecting() ? 0 : -1);
111
- } }, dependencies: [CommonModule, i1.NgComponentOutlet], encapsulation: 2, changeDetection: 0 }); }
81
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: ConnectionLineComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
82
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.6", type: ConnectionLineComponent, isStandalone: true, selector: "ng-flow-connection-line", inputs: { customComponent: { classPropertyName: "customComponent", publicName: "customComponent", isSignal: true, isRequired: false, transformFunction: null }, connectionLineType: { classPropertyName: "connectionLineType", publicName: "connectionLineType", isSignal: true, isRequired: false, transformFunction: null } }, host: { styleAttribute: "display: contents;" }, ngImport: i0, template: `
83
+ @if (isConnecting()) {
84
+ @if (customComponent()) {
85
+ <ng-container
86
+ *ngComponentOutlet="customComponent(); inputs: connectionProps()"
87
+ />
88
+ } @else {
89
+ <svg class="ng-flow__connectionline xy-flow__connectionline"
90
+ style="overflow: visible; position: absolute; width: 100%; height: 100%; pointer-events: none;">
91
+ <g>
92
+ <path
93
+ class="ng-flow__connection-path xy-flow__connection-path"
94
+ [attr.d]="connectionPath()"
95
+ fill="none"
96
+ />
97
+ </g>
98
+ </svg>
99
+ }
100
+ }
101
+ `, isInline: true, dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletEnvironmentInjector", "ngComponentOutletContent", "ngComponentOutletNgModule"], exportAs: ["ngComponentOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
112
102
  }
113
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ConnectionLineComponent, [{
114
- type: Component,
115
- args: [{
116
- selector: 'ng-flow-connection-line',
117
- standalone: true,
118
- imports: [CommonModule, NgComponentOutlet],
119
- changeDetection: ChangeDetectionStrategy.OnPush,
120
- host: {
121
- 'style': 'display: contents;',
122
- },
123
- template: `
103
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: ConnectionLineComponent, decorators: [{
104
+ type: Component,
105
+ args: [{
106
+ selector: 'ng-flow-connection-line',
107
+ standalone: true,
108
+ imports: [CommonModule, NgComponentOutlet],
109
+ changeDetection: ChangeDetectionStrategy.OnPush,
110
+ host: {
111
+ 'style': 'display: contents;',
112
+ },
113
+ template: `
124
114
  @if (isConnecting()) {
125
115
  @if (customComponent()) {
126
116
  <ng-container
@@ -140,7 +130,6 @@ export class ConnectionLineComponent {
140
130
  }
141
131
  }
142
132
  `,
143
- }]
144
- }], null, { customComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "customComponent", required: false }] }], connectionLineType: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectionLineType", required: false }] }] }); })();
145
- (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(ConnectionLineComponent, { className: "ConnectionLineComponent", filePath: "lib/components/connection-line/connection-line.component.ts", lineNumber: 35 }); })();
133
+ }]
134
+ }], propDecorators: { customComponent: [{ type: i0.Input, args: [{ isSignal: true, alias: "customComponent", required: false }] }], connectionLineType: [{ type: i0.Input, args: [{ isSignal: true, alias: "connectionLineType", required: false }] }] } });
146
135
  //# sourceMappingURL=connection-line.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"connection-line.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/connection-line/connection-line.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAQ,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,EAAE,QAAQ,EAA6B,MAAM,iBAAiB,CAAC;AAC7I,OAAO,EAAE,SAAS,E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OAAO,EAAE,oBAAoB;iBAC9B;gBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;GAmBT;aACF;;kFACY,uBAAuB"}
1
+ {"version":3,"file":"connection-line.component.js","sourceRoot":"","sources":["../../../../../src/lib/components/connection-line/connection-line.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAQ,MAAM,eAAe,CAAC;AAClG,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,iBAAiB,EAAE,eAAe,EAAE,kBAAkB,EAAE,QAAQ,EAA6B,MAAM,iBAAiB,CAAC;AAC7I,OAAO,EAAE,SAAS,EAAE,MAAM,mCAAmC,CAAC;;;AA+B9D,MAAM,OAAO,uBAAuB;IA7BpC;QA8BW,UAAK,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;QAE1B,oBAAe,GAAG,KAAK,CAAuB,IAAI,sFAAC,CAAC;QACpD,uBAAkB,GAAG,KAAK,CAAqB,kBAAkB,CAAC,MAAM,yFAAC,CAAC;QAE1E,iBAAY,GAAG,QAAQ,CAAC,GAAG,EAAE;YACpC,IAAI,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC;YACrB,MAAM,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;YACrC,OAAO,IAAI,EAAE,UAAU,IAAI,KAAK,CAAC;QACnC,CAAC,mFAAC,CAAC;QAEM,oBAAe,GAAG,QAAQ,CAAC,GAAG,EAAE;YACvC,MAAM,MAAM,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;YACvC,IAAI,CAAC,MAAM;gBAAE,OAAO,EAAE,CAAC;YACvB,OAAO;gBACL,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,KAAK,EAAE,MAAM,CAAC,KAAK;gBACnB,GAAG,EAAE,MAAM,CAAC,GAAG;gB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KACJ;8GAjFY,uBAAuB;kGAAvB,uBAAuB,ocArBxB;;;;;;;;;;;;;;;;;;;GAmBT,2DAxBS,YAAY;;2FA0BX,uBAAuB;kBA7BnC,SAAS;mBAAC;oBACT,QAAQ,EAAE,yBAAyB;oBACnC,UAAU,EAAE,IAAI;oBAChB,OAAO,EAAE,CAAC,YAAY,EAAE,iBAAiB,CAAC;oBAC1C,eAAe,EAAE,uBAAuB,CAAC,MAAM;oBAC/C,IAAI,EAAE;wBACJ,OAAO,EAAE,oBAAoB;qBAC9B;oBACD,QAAQ,EAAE;;;;;;;;;;;;;;;;;;;GAmBT;iBACF"}
@@ -1 +1 @@
1
- {"version":3,"file":"controls.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/controls/controls.component.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;;AAKzE,qBAuDa,iBAAiB;IAC5B,OAAO,CAAC,KAAK,CAAqB;IAClC,OAAO,CAAC,aAAa,CAAyB;IAE9C,QAAQ,CAAC,QAAQ,qDAAuC;IACxD,QAAQ,CAAC,QAAQ,+CAAe;IAChC,QAAQ,CAAC,WAAW,+CAAe;IACnC,QAAQ,CAAC,eAAe,+CAAe;IACvC,QAAQ,CAAC,cAAc,2EAAoC;IAC3D,QAAQ,CAAC,WAAW,iEAAgD;IACpE,QAAQ,CAAC,SAAS,8CAA0C;IAG5D,QAAQ,CAAC,WAAW,iDAAkB;IACtC,QAAQ,CAAC,YAAY,iDAAkB;IACvC,QAAQ,CAAC,YAAY,iDAAkB;IACvC,QAAQ,CAAC,iBAAiB,oDAAqB;IAE/C,QAAQ,CAAC,QAAQ,kDAAiB;IAElC,QAAQ;IAKR,SAAS;IAKT,SAAS;IAKT,YAAY;yCAnCD,iBAAiB;2CAAjB,iBAAiB;CA2C7B"}
1
+ {"version":3,"file":"controls.component.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/controls/controls.component.ts"],"names":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