@angflow/angular 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.js +24 -35
- package/dist/esm/lib/components/a11y-descriptions/a11y-descriptions.component.js.map +1 -1
- package/dist/esm/lib/components/attribution/attribution.component.js +21 -17
- package/dist/esm/lib/components/attribution/attribution.component.js.map +1 -1
- package/dist/esm/lib/components/background/background.component.js +85 -77
- package/dist/esm/lib/components/background/background.component.js.map +1 -1
- package/dist/esm/lib/components/connection-line/connection-line.component.js +34 -45
- package/dist/esm/lib/components/connection-line/connection-line.component.js.map +1 -1
- package/dist/esm/lib/components/controls/controls.component.js +60 -81
- package/dist/esm/lib/components/controls/controls.component.js.map +1 -1
- package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.js +14 -19
- package/dist/esm/lib/components/edge-label-renderer/edge-label-renderer.component.js.map +1 -1
- package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.js +20 -27
- package/dist/esm/lib/components/edge-toolbar/edge-toolbar.component.js.map +1 -1
- package/dist/esm/lib/components/edges/base-edge.component.js +30 -27
- package/dist/esm/lib/components/edges/base-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/bezier-edge.component.js +20 -18
- package/dist/esm/lib/components/edges/bezier-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/edge-text.component.js +24 -23
- package/dist/esm/lib/components/edges/edge-text.component.js.map +1 -1
- package/dist/esm/lib/components/edges/simple-bezier-edge.component.js +19 -17
- package/dist/esm/lib/components/edges/simple-bezier-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/smooth-step-edge.component.js +19 -17
- package/dist/esm/lib/components/edges/smooth-step-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/step-edge.component.js +19 -17
- package/dist/esm/lib/components/edges/step-edge.component.js.map +1 -1
- package/dist/esm/lib/components/edges/straight-edge.component.js +19 -17
- package/dist/esm/lib/components/edges/straight-edge.component.js.map +1 -1
- package/dist/esm/lib/components/handle/handle.component.js +36 -46
- package/dist/esm/lib/components/handle/handle.component.js.map +1 -1
- package/dist/esm/lib/components/minimap/minimap.component.js +90 -73
- package/dist/esm/lib/components/minimap/minimap.component.js.map +1 -1
- package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.js +12 -17
- package/dist/esm/lib/components/ng-flow-provider/ng-flow-provider.component.js.map +1 -1
- package/dist/esm/lib/components/node-resizer/node-resizer.component.js +83 -50
- package/dist/esm/lib/components/node-resizer/node-resizer.component.js.map +1 -1
- package/dist/esm/lib/components/node-toolbar/node-toolbar.component.js +22 -29
- package/dist/esm/lib/components/node-toolbar/node-toolbar.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/default-node.component.js +16 -26
- package/dist/esm/lib/components/nodes/default-node.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/group-node.component.js +14 -15
- package/dist/esm/lib/components/nodes/group-node.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/input-node.component.js +15 -24
- package/dist/esm/lib/components/nodes/input-node.component.js.map +1 -1
- package/dist/esm/lib/components/nodes/output-node.component.js +15 -23
- package/dist/esm/lib/components/nodes/output-node.component.js.map +1 -1
- package/dist/esm/lib/components/panel/panel.component.js +19 -26
- package/dist/esm/lib/components/panel/panel.component.js.map +1 -1
- package/dist/esm/lib/components/selection-box/selection-box.component.js +26 -28
- package/dist/esm/lib/components/selection-box/selection-box.component.js.map +1 -1
- package/dist/esm/lib/components/viewport-portal/viewport-portal.component.js +15 -22
- package/dist/esm/lib/components/viewport-portal/viewport-portal.component.js.map +1 -1
- package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js +125 -132
- package/dist/esm/lib/container/edge-renderer/edge-renderer.component.js.map +1 -1
- package/dist/esm/lib/container/ng-flow/ng-flow.component.js +98 -97
- package/dist/esm/lib/container/ng-flow/ng-flow.component.js.map +1 -1
- package/dist/esm/lib/container/node-renderer/node-renderer.component.js +57 -60
- package/dist/esm/lib/container/node-renderer/node-renderer.component.js.map +1 -1
- package/dist/esm/lib/container/pane/pane.component.js +19 -28
- package/dist/esm/lib/container/pane/pane.component.js.map +1 -1
- package/dist/esm/lib/container/viewport/viewport.component.js +16 -23
- package/dist/esm/lib/container/viewport/viewport.component.js.map +1 -1
- package/dist/esm/lib/directives/drag.directive.js +9 -9
- package/dist/esm/lib/directives/drag.directive.js.map +1 -1
- package/dist/esm/lib/directives/drop-zone.directive.js +9 -9
- package/dist/esm/lib/directives/drop-zone.directive.js.map +1 -1
- package/dist/esm/lib/directives/key-handler.directive.js +13 -15
- package/dist/esm/lib/directives/key-handler.directive.js.map +1 -1
- package/dist/esm/lib/directives/node-type.directive.js +12 -12
- package/dist/esm/lib/directives/node-type.directive.js.map +1 -1
- package/dist/esm/lib/services/flow-store.service.js +5 -5
- package/dist/esm/lib/services/flow-store.service.js.map +1 -1
- package/dist/esm/lib/services/ng-flow.service.js +5 -5
- package/dist/esm/lib/services/ng-flow.service.js.map +1 -1
- package/package.json +1 -1
|
@@ -9,36 +9,26 @@ export class A11yDescriptionsComponent {
|
|
|
9
9
|
get rfId() {
|
|
10
10
|
return this.store.rfId();
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac =
|
|
13
|
-
static { this.ɵcmp =
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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
|
-
(
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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;
|
|
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 =
|
|
6
|
-
static { this.ɵcmp =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
-
(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
-
|
|
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;
|
|
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 =
|
|
105
|
-
static { this.ɵcmp =
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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
|
-
|
|
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
|
|
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;Q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AG,IAAI,CAAC,IAAI,EAAE,CAAC;YACpC,MAAM,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;YACtB,MAAM,MAAM,GAAG,EAAE,GAAG,CAAC,CAAC;YACtB,OAAO,KAAK,MAAM,GAAG,CAAC,IAAI,MAAM,MAAM,MAAM,GAAG,CAAC,IAAI,MAAM,MAAM,MAAM,IAAI,MAAM,GAAG,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 =
|
|
107
|
-
static { this.ɵcmp =
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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
|
-
(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
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
|
-
|
|
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,EAAE,MAAM,mCAAmC,CAAC
|
|
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,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