@foblex/flow 12.5.0 → 12.5.1
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/esm2022/domain/clear-selection/clear-selection.execution.mjs +3 -3
- package/esm2022/domain/create-connection-markers/create-connection-markers.execution.mjs +3 -3
- package/esm2022/domain/emit-transform-changes/emit-transform-changes.execution.mjs +3 -3
- package/esm2022/domain/get-can-be-selected-items/get-can-be-selected-items.execution.mjs +3 -3
- package/esm2022/domain/get-connection-line/get-connection-line.execution.mjs +3 -3
- package/esm2022/domain/get-connection.handler.mjs +3 -3
- package/esm2022/domain/get-element-rect-in-flow/get-element-rect-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-external-nodes-rect/get-external-nodes-rect.execution.mjs +3 -3
- package/esm2022/domain/get-incoming-connections.handler.mjs +3 -3
- package/esm2022/domain/get-input-rect-in-flow/get-input-rect-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-nodes-rect/get-nodes-rect.execution.mjs +3 -3
- package/esm2022/domain/get-outgoing-connections.handler.mjs +3 -3
- package/esm2022/domain/get-output-rect-in-flow/get-output-rect-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-position-in-flow/get-position-in-flow.execution.mjs +3 -3
- package/esm2022/domain/get-selection/get-selection.execution.mjs +3 -3
- package/esm2022/domain/is-connection-under-node/is-connection-under-node.execution.mjs +3 -3
- package/esm2022/domain/redraw-connections/redraw-connections.execution.mjs +3 -3
- package/esm2022/domain/select/select.execution.mjs +3 -3
- package/esm2022/domain/select-all/select-all.execution.mjs +3 -3
- package/esm2022/domain/select-and-update-node-layer/select-and-update-node-layer.execution.mjs +3 -3
- package/esm2022/domain/subscribe-on-transform-changes/subscribe-on-transform-changes.execution.mjs +3 -3
- package/esm2022/domain/update-item-layer/update-item-layer.execution.mjs +3 -3
- package/esm2022/f-backgroud/f-background-base.mjs +3 -3
- package/esm2022/f-backgroud/f-background.component.mjs +3 -3
- package/esm2022/f-backgroud/f-circle-pattern/f-circle-pattern.component.mjs +3 -3
- package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +3 -3
- package/esm2022/f-canvas/f-canvas-base.mjs +3 -3
- package/esm2022/f-canvas/f-canvas.component.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-base.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +3 -3
- package/esm2022/f-connection/common/f-connection-text/f-connection-text.component.mjs +3 -3
- package/esm2022/f-connection/common/f-drag-handle/f-connection-drag-handle.component.mjs +3 -3
- package/esm2022/f-connection/common/f-gradient/f-connection-gradient.component.mjs +3 -3
- package/esm2022/f-connection/common/f-path/f-connection-path.component.mjs +3 -3
- package/esm2022/f-connection/common/f-selection/f-connection-selection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection/f-connection.component.mjs +3 -3
- package/esm2022/f-connection/f-connection-builder/f-connection-factory.mjs +3 -3
- package/esm2022/f-connection/f-connection-center/f-connection-center.directive.mjs +3 -3
- package/esm2022/f-connection/f-connection-for-create/f-connection-for-create.component.mjs +3 -3
- package/esm2022/f-connection/f-marker/f-marker-base.mjs +3 -3
- package/esm2022/f-connection/f-marker/f-marker.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-input/f-node-input-base.mjs +3 -3
- package/esm2022/f-connectors/f-node-input/f-node-input.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet-base.mjs +3 -3
- package/esm2022/f-connectors/f-node-outlet/f-node-outlet.directive.mjs +3 -3
- package/esm2022/f-connectors/f-node-output/f-node-output-base.mjs +3 -3
- package/esm2022/f-connectors/f-node-output/f-node-output.directive.mjs +7 -4
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas-move-finalize/canvas-move-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/canvas/canvas-move-preparation/canvas-move-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-finalize/create-connection-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-drag-handler/create-connection-drag-handler.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-outlet-preparation/create-connection-from-outlet-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-from-output-preparation/create-connection-from-output-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/create-connection-preparation/create-connection-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/create-connection/get-can-be-connected-output-by-outlet/get-can-be-connected-output-by-outlet.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/get-input-under-pointer/get-input-under-pointer.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-finalize/reassign-connection-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/connections/reassign-connection/reassign-connection-preparation/reassign-connection-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/external-item/external-item-finalize/external-item-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/external-item/external-item-preparation/external-item-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/f-draggable-base.mjs +3 -3
- package/esm2022/f-draggable/f-draggable-data-context.mjs +3 -3
- package/esm2022/f-draggable/f-draggable.directive.mjs +3 -3
- package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +3 -3
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-finalize/node-resize-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/node-resize/node-resize-preparation/node-resize-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.execution.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area-finalize/selection-area-finalize.validator.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.execution.mjs +3 -3
- package/esm2022/f-draggable/selection-area/selection-area-preparation/selection-area-preparation.validator.mjs +3 -3
- package/esm2022/f-draggable/single-select/single-select.execution.mjs +14 -11
- package/esm2022/f-draggable/single-select/single-select.validator.mjs +3 -3
- package/esm2022/f-external-item/f-external-item-base.mjs +3 -3
- package/esm2022/f-external-item/f-external-item.directive.mjs +11 -4
- package/esm2022/f-external-item/f-external-item.service.mjs +3 -3
- package/esm2022/f-flow/f-flow.component.mjs +3 -3
- package/esm2022/f-flow.module.mjs +4 -4
- package/esm2022/f-line-alignment/f-line-alignment-base.mjs +3 -3
- package/esm2022/f-line-alignment/f-line-alignment.component.mjs +3 -3
- package/esm2022/f-minimap/domain/calculate-flow-point-from-minimap-point/calculate-flow-point-from-minimap-point.execution.mjs +3 -3
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.execution.mjs +3 -3
- package/esm2022/f-minimap/domain/minimap-drag-finalize/minimap-drag-finalize.validator.mjs +3 -3
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.execution.mjs +3 -3
- package/esm2022/f-minimap/domain/minimap-drag-preparation/minimap-drag-preparation.validator.mjs +3 -3
- package/esm2022/f-minimap/f-minimap-canvas.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap-flow.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap-view.directive.mjs +3 -3
- package/esm2022/f-minimap/f-minimap.component.mjs +3 -3
- package/esm2022/f-node/f-drag-handle/f-drag-handle.directive.mjs +7 -19
- package/esm2022/f-node/f-node.directive.mjs +3 -3
- package/esm2022/f-node/f-resize-handle/f-resize-handle.directive.mjs +5 -17
- package/esm2022/f-selection-area/f-selection-area-base.mjs +3 -3
- package/esm2022/f-selection-area/f-selection-area.component.mjs +3 -3
- package/esm2022/f-storage/f-components-store.mjs +3 -3
- package/esm2022/f-storage/f-transform-store.mjs +3 -3
- package/esm2022/f-zoom/f-zoom.directive.mjs +3 -3
- package/esm2022/infrastructure/f-mediator/f-flow-mediator.mjs +3 -3
- package/f-draggable/single-select/single-select.execution.d.ts +3 -1
- package/f-external-item/f-external-item.directive.d.ts +1 -0
- package/f-node/f-drag-handle/f-drag-handle.directive.d.ts +1 -4
- package/f-node/f-resize-handle/f-resize-handle.directive.d.ts +1 -4
- package/fesm2022/foblex-flow.mjs +363 -372
- package/fesm2022/foblex-flow.mjs.map +1 -1
- package/package.json +2 -2
package/fesm2022/foblex-flow.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { InjectionToken, Component, ChangeDetectionStrategy, Input, Directive, Injectable, ContentChild, HostBinding, Inject, ViewChild, Optional, ContentChildren, EventEmitter, Output, NgZone, NgModule } from '@angular/core';
|
|
3
|
-
import
|
|
3
|
+
import * as i1 from '@foblex/core';
|
|
4
|
+
import { TransformModelExtensions, PointExtensions, SizeExtensions, DomElementExtensions, mixinChangePosition, mixinFitToParent, mixinOneToOneCentering, mixinChangeZoom, Point, RectExtensions, sanitizeElementId, LineExtensions, BooleanExtensions, MouseEventExtensions, EventExtensions, IMouseEvent, ITouchDownEvent, ITouchMoveEvent, ITouchUpEvent, Arc, Line, VectorExtensions } from '@foblex/core';
|
|
4
5
|
import { Subscription, Subject, startWith, Observable, merge, debounceTime } from 'rxjs';
|
|
5
6
|
import { __decorate } from 'tslib';
|
|
6
7
|
import * as i3 from '@angular/common';
|
|
@@ -95,12 +96,12 @@ class FRectPatternComponent {
|
|
|
95
96
|
ngOnDestroy() {
|
|
96
97
|
this._subscription$.unsubscribe();
|
|
97
98
|
}
|
|
98
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
99
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
99
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FRectPatternComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
100
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FRectPatternComponent, selector: "f-rect-pattern", inputs: { id: "id", vColor: "vColor", hColor: "hColor", vSize: "vSize", hSize: "hSize" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
100
101
|
{ provide: F_BACKGROUND_PATTERN, useExisting: FRectPatternComponent }
|
|
101
102
|
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
102
103
|
}
|
|
103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
104
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FRectPatternComponent, decorators: [{
|
|
104
105
|
type: Component,
|
|
105
106
|
args: [{
|
|
106
107
|
selector: "f-rect-pattern",
|
|
@@ -197,12 +198,12 @@ class FCirclePatternComponent {
|
|
|
197
198
|
ngOnDestroy() {
|
|
198
199
|
this._subscription$.unsubscribe();
|
|
199
200
|
}
|
|
200
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
201
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
201
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FCirclePatternComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
202
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FCirclePatternComponent, selector: "f-circle-pattern", inputs: { id: "id", color: "color", radius: "radius" }, host: { properties: { "attr.id": "id" } }, providers: [
|
|
202
203
|
{ provide: F_BACKGROUND_PATTERN, useExisting: FCirclePatternComponent }
|
|
203
204
|
], ngImport: i0, template: ``, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
204
205
|
}
|
|
205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
206
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FCirclePatternComponent, decorators: [{
|
|
206
207
|
type: Component,
|
|
207
208
|
args: [{
|
|
208
209
|
selector: "f-circle-pattern",
|
|
@@ -225,10 +226,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
225
226
|
|
|
226
227
|
const F_BACKGROUND = new InjectionToken('F_BACKGROUND');
|
|
227
228
|
class FBackgroundBase {
|
|
228
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
229
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
229
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FBackgroundBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
230
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FBackgroundBase, ngImport: i0 });
|
|
230
231
|
}
|
|
231
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
232
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FBackgroundBase, decorators: [{
|
|
232
233
|
type: Directive
|
|
233
234
|
}] });
|
|
234
235
|
|
|
@@ -265,19 +266,19 @@ class FComponentsStore {
|
|
|
265
266
|
this.changes.next();
|
|
266
267
|
}
|
|
267
268
|
}
|
|
268
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
269
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FComponentsStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
270
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FComponentsStore });
|
|
270
271
|
}
|
|
271
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
272
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FComponentsStore, decorators: [{
|
|
272
273
|
type: Injectable
|
|
273
274
|
}] });
|
|
274
275
|
|
|
275
276
|
class FTransformStore {
|
|
276
277
|
changes = new Subject();
|
|
277
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
278
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
278
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FTransformStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
279
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FTransformStore });
|
|
279
280
|
}
|
|
280
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FTransformStore, decorators: [{
|
|
281
282
|
type: Injectable
|
|
282
283
|
}] });
|
|
283
284
|
|
|
@@ -324,10 +325,10 @@ class FBackgroundComponent extends FBackgroundBase {
|
|
|
324
325
|
ngOnDestroy() {
|
|
325
326
|
this.fComponentsStore.fBackground = undefined;
|
|
326
327
|
}
|
|
327
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
328
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
328
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FBackgroundComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
329
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FBackgroundComponent, selector: "f-background", host: { classAttribute: "f-component f-background" }, providers: [{ provide: F_BACKGROUND, useExisting: FBackgroundComponent }], queries: [{ propertyName: "fBackgroundPattern", first: true, predicate: F_BACKGROUND_PATTERN, descendants: true }], usesInheritance: true, ngImport: i0, template: "<svg><ng-content></ng-content></svg>\n", styles: [":host{position:absolute;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host svg{width:100%;height:100%}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
329
330
|
}
|
|
330
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
331
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FBackgroundComponent, decorators: [{
|
|
331
332
|
type: Component,
|
|
332
333
|
args: [{ selector: "f-background", host: {
|
|
333
334
|
'class': 'f-component f-background'
|
|
@@ -369,10 +370,10 @@ class FCanvasBase extends MIXIN_BASE$1 {
|
|
|
369
370
|
getCanvasPosition() {
|
|
370
371
|
return PointExtensions.sum(this.transform.position, this.transform.scaledPosition);
|
|
371
372
|
}
|
|
372
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
373
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
373
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FCanvasBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
374
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FCanvasBase, usesInheritance: true, ngImport: i0 });
|
|
374
375
|
}
|
|
375
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
376
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FCanvasBase, decorators: [{
|
|
376
377
|
type: Directive
|
|
377
378
|
}], ctorParameters: () => [] });
|
|
378
379
|
|
|
@@ -420,10 +421,10 @@ class FFlowMediator {
|
|
|
420
421
|
}
|
|
421
422
|
throw new Error('Handler not registered for request type.');
|
|
422
423
|
}
|
|
423
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
424
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
424
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowMediator, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
425
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowMediator });
|
|
425
426
|
}
|
|
426
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
427
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowMediator, decorators: [{
|
|
427
428
|
type: Injectable
|
|
428
429
|
}], ctorParameters: () => [{ type: i0.Injector }] });
|
|
429
430
|
|
|
@@ -462,10 +463,10 @@ class FDraggableDataContext {
|
|
|
462
463
|
markSelectionAsChanged() {
|
|
463
464
|
this.isSelectedChanged = true;
|
|
464
465
|
}
|
|
465
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
466
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
466
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableDataContext, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
467
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableDataContext });
|
|
467
468
|
}
|
|
468
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableDataContext, decorators: [{
|
|
469
470
|
type: Injectable
|
|
470
471
|
}] });
|
|
471
472
|
|
|
@@ -479,13 +480,13 @@ let CanvasMoveFinalizeExecution = class CanvasMoveFinalizeExecution {
|
|
|
479
480
|
x.complete?.();
|
|
480
481
|
});
|
|
481
482
|
}
|
|
482
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
483
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
483
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMoveFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
484
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMoveFinalizeExecution });
|
|
484
485
|
};
|
|
485
486
|
CanvasMoveFinalizeExecution = __decorate([
|
|
486
487
|
FExecutionRegister(CanvasMoveFinalizeRequest)
|
|
487
488
|
], CanvasMoveFinalizeExecution);
|
|
488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
489
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMoveFinalizeExecution, decorators: [{
|
|
489
490
|
type: Injectable
|
|
490
491
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
491
492
|
|
|
@@ -510,13 +511,13 @@ let CanvasMoveFinalizeValidator = class CanvasMoveFinalizeValidator {
|
|
|
510
511
|
handle(request) {
|
|
511
512
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.CANVAS);
|
|
512
513
|
}
|
|
513
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
514
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
514
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
515
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMoveFinalizeValidator });
|
|
515
516
|
};
|
|
516
517
|
CanvasMoveFinalizeValidator = __decorate([
|
|
517
518
|
FValidatorRegister(CanvasMoveFinalizeRequest)
|
|
518
519
|
], CanvasMoveFinalizeValidator);
|
|
519
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
520
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMoveFinalizeValidator, decorators: [{
|
|
520
521
|
type: Injectable
|
|
521
522
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
522
523
|
|
|
@@ -569,13 +570,13 @@ let CanvasMovePreparationExecution = class CanvasMovePreparationExecution {
|
|
|
569
570
|
new CanvasDragHandler(this.fComponentsStore)
|
|
570
571
|
];
|
|
571
572
|
}
|
|
572
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
573
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
573
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
574
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMovePreparationExecution });
|
|
574
575
|
};
|
|
575
576
|
CanvasMovePreparationExecution = __decorate([
|
|
576
577
|
FExecutionRegister(CanvasMovePreparationRequest)
|
|
577
578
|
], CanvasMovePreparationExecution);
|
|
578
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMovePreparationExecution, decorators: [{
|
|
579
580
|
type: Injectable
|
|
580
581
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
581
582
|
|
|
@@ -606,13 +607,13 @@ let CanvasMovePreparationValidator = class CanvasMovePreparationValidator {
|
|
|
606
607
|
}
|
|
607
608
|
return result;
|
|
608
609
|
}
|
|
609
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
610
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
610
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMovePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
611
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMovePreparationValidator });
|
|
611
612
|
};
|
|
612
613
|
CanvasMovePreparationValidator = __decorate([
|
|
613
614
|
FValidatorRegister(CanvasMovePreparationRequest)
|
|
614
615
|
], CanvasMovePreparationValidator);
|
|
615
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
616
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CanvasMovePreparationValidator, decorators: [{
|
|
616
617
|
type: Injectable
|
|
617
618
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
618
619
|
|
|
@@ -699,10 +700,10 @@ class FNodeInputBase extends FConnectorBase {
|
|
|
699
700
|
get canBeConnected() {
|
|
700
701
|
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
701
702
|
}
|
|
702
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
703
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
703
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeInputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
704
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeInputBase, usesInheritance: true, ngImport: i0 });
|
|
704
705
|
}
|
|
705
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
706
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeInputBase, decorators: [{
|
|
706
707
|
type: Directive
|
|
707
708
|
}] });
|
|
708
709
|
|
|
@@ -713,36 +714,25 @@ function isNodeInput(element) {
|
|
|
713
714
|
const F_DRAG_HANDLE = new InjectionToken('F_DRAG_HANDLE');
|
|
714
715
|
class FDragHandleDirective {
|
|
715
716
|
elementReference;
|
|
716
|
-
get disabled() {
|
|
717
|
-
return this.isDisabled;
|
|
718
|
-
}
|
|
719
|
-
set disabled(isDisabled) {
|
|
720
|
-
this.isDisabled = BooleanExtensions.castToBoolean(isDisabled);
|
|
721
|
-
}
|
|
722
|
-
isDisabled = false;
|
|
723
717
|
get hostElement() {
|
|
724
718
|
return this.elementReference.nativeElement;
|
|
725
719
|
}
|
|
726
720
|
constructor(elementReference) {
|
|
727
721
|
this.elementReference = elementReference;
|
|
728
722
|
}
|
|
729
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
730
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
723
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
724
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FDragHandleDirective, selector: "[fDragHandle]", host: { classAttribute: "f-drag-handle f-component" }, providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }], ngImport: i0 });
|
|
731
725
|
}
|
|
732
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
726
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDragHandleDirective, decorators: [{
|
|
733
727
|
type: Directive,
|
|
734
728
|
args: [{
|
|
735
729
|
selector: "[fDragHandle]",
|
|
736
730
|
host: {
|
|
737
|
-
class: "f-drag-handle f-component"
|
|
738
|
-
'[class.f-drag-handle-disabled]': 'disabled'
|
|
731
|
+
class: "f-drag-handle f-component"
|
|
739
732
|
},
|
|
740
733
|
providers: [{ provide: F_DRAG_HANDLE, useExisting: FDragHandleDirective }],
|
|
741
734
|
}]
|
|
742
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }]
|
|
743
|
-
type: Input,
|
|
744
|
-
args: ['fDragHandleDisabled']
|
|
745
|
-
}] } });
|
|
735
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
746
736
|
|
|
747
737
|
var EFResizeHandleType;
|
|
748
738
|
(function (EFResizeHandleType) {
|
|
@@ -755,13 +745,6 @@ var EFResizeHandleType;
|
|
|
755
745
|
const F_RESIZE_HANDLE = new InjectionToken('F_RESIZE_HANDLE');
|
|
756
746
|
class FResizeHandleDirective {
|
|
757
747
|
elementReference;
|
|
758
|
-
isDisabled = false;
|
|
759
|
-
set disabled(isDisabled) {
|
|
760
|
-
this.isDisabled = BooleanExtensions.castToBoolean(isDisabled);
|
|
761
|
-
}
|
|
762
|
-
get disabled() {
|
|
763
|
-
return this.isDisabled;
|
|
764
|
-
}
|
|
765
748
|
_type = EFResizeHandleType.LEFT_TOP;
|
|
766
749
|
set type(type) {
|
|
767
750
|
this._type = castToEnum(type, 'fResizeHandleType', EFResizeHandleType);
|
|
@@ -778,24 +761,20 @@ class FResizeHandleDirective {
|
|
|
778
761
|
constructor(elementReference) {
|
|
779
762
|
this.elementReference = elementReference;
|
|
780
763
|
}
|
|
781
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
782
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
764
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FResizeHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
765
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FResizeHandleDirective, selector: "[fResizeHandle]", inputs: { type: ["fResizeHandleType", "type"] }, host: { properties: { "attr.data-f-resize-handle-type": "type", "class": "this.typeClass" }, classAttribute: "f-resize-handle f-component" }, providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }], ngImport: i0 });
|
|
783
766
|
}
|
|
784
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FResizeHandleDirective, decorators: [{
|
|
785
768
|
type: Directive,
|
|
786
769
|
args: [{
|
|
787
770
|
selector: "[fResizeHandle]",
|
|
788
771
|
host: {
|
|
789
772
|
class: `f-resize-handle f-component`,
|
|
790
|
-
'[class.f-resize-handle-disabled]': 'disabled',
|
|
791
773
|
'[attr.data-f-resize-handle-type]': 'type',
|
|
792
774
|
},
|
|
793
775
|
providers: [{ provide: F_RESIZE_HANDLE, useExisting: FResizeHandleDirective }],
|
|
794
776
|
}]
|
|
795
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: {
|
|
796
|
-
type: Input,
|
|
797
|
-
args: ['fResizeHandleDisabled']
|
|
798
|
-
}], type: [{
|
|
777
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { type: [{
|
|
799
778
|
type: Input,
|
|
800
779
|
args: ['fResizeHandleType']
|
|
801
780
|
}], typeClass: [{
|
|
@@ -1141,10 +1120,10 @@ class FConnectionTextPathDirective {
|
|
|
1141
1120
|
const symbolWidth = metrics.width / text.length;
|
|
1142
1121
|
return symbolWidth;
|
|
1143
1122
|
}
|
|
1144
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1145
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
1123
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionTextPathDirective, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1124
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]", host: { properties: { "attr.href": "linkToConnection" } }, ngImport: i0 });
|
|
1146
1125
|
}
|
|
1147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionTextPathDirective, decorators: [{
|
|
1148
1127
|
type: Directive,
|
|
1149
1128
|
args: [{
|
|
1150
1129
|
selector: 'textPath[f-connection-text-path]',
|
|
@@ -1203,10 +1182,10 @@ class FConnectionTextComponent {
|
|
|
1203
1182
|
const vectorLength = PointExtensions.hypotenuse(line.point1, line.point2);
|
|
1204
1183
|
return vectorLength / 2 - ((name || '').length * symbolWidth) / 2;
|
|
1205
1184
|
}
|
|
1206
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1207
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1185
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionTextComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
1186
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionTextComponent, selector: "text[f-connection-text]", host: { properties: { "attr.id": "textId" }, classAttribute: "f-component f-connection-text" }, providers: [{ provide: CONNECTION_TEXT, useExisting: FConnectionTextComponent }], viewQueries: [{ propertyName: "textPathDirective", first: true, predicate: FConnectionTextPathDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:textPath f-connection-text-path>\n {{ text }}\n </svg:textPath>\n</ng-container>\n", dependencies: [{ kind: "directive", type: FConnectionTextPathDirective, selector: "textPath[f-connection-text-path]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1208
1187
|
}
|
|
1209
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionTextComponent, decorators: [{
|
|
1210
1189
|
type: Component,
|
|
1211
1190
|
args: [{ selector: "text[f-connection-text]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1212
1191
|
class: "f-component f-connection-text",
|
|
@@ -1242,10 +1221,10 @@ class FConnectionDragHandleComponent {
|
|
|
1242
1221
|
const scaledDirection = { x: unitDirection.x * radius, y: unitDirection.y * radius };
|
|
1243
1222
|
return { x: end.x - scaledDirection.x, y: end.y - scaledDirection.y };
|
|
1244
1223
|
}
|
|
1245
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1246
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1224
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionDragHandleComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
1225
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]", host: { properties: { "class": "class" } }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1247
1226
|
}
|
|
1248
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1227
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionDragHandleComponent, decorators: [{
|
|
1249
1228
|
type: Component,
|
|
1250
1229
|
args: [{
|
|
1251
1230
|
selector: "circle[f-connection-drag-handle]",
|
|
@@ -1304,10 +1283,10 @@ class FConnectionGradientComponent {
|
|
|
1304
1283
|
this.hostElement.setAttribute('y2', to.y.toString());
|
|
1305
1284
|
this.updateGradient();
|
|
1306
1285
|
}
|
|
1307
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1308
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1286
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionGradientComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
1287
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]", host: { properties: { "attr.id": "gradientId" }, classAttribute: "f-component f-connection-gradient" }, providers: [{ provide: CONNECTION_GRADIENT, useExisting: FConnectionGradientComponent }], ngImport: i0, template: "<ng-container xmlns:svg=\"http://www.w3.org/2000/svg\">\n <svg:stop/>\n <svg:stop/>\n</ng-container>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1309
1288
|
}
|
|
1310
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1289
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionGradientComponent, decorators: [{
|
|
1311
1290
|
type: Component,
|
|
1312
1291
|
args: [{ selector: "linearGradient[fConnectionGradient]", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1313
1292
|
class: "f-component f-connection-gradient",
|
|
@@ -1367,10 +1346,10 @@ class FConnectionPathComponent {
|
|
|
1367
1346
|
this.hostElement.setAttribute('marker-start', `url(#${getMarkerStartId(this.base.fConnectionId)})`);
|
|
1368
1347
|
this.hostElement.setAttribute('marker-end', `url(#${getMarkerEndId(this.base.fConnectionId)})`);
|
|
1369
1348
|
}
|
|
1370
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1371
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1349
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionPathComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
1350
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionPathComponent, selector: "path[f-connection-path]", host: { properties: { "attr.id": "attrConnectionId", "attr.data-f-path-id": "fPathId", "attr.stroke": "linkToGradient" }, classAttribute: "f-component f-connection-path" }, providers: [{ provide: CONNECTION_PATH, useExisting: FConnectionPathComponent }], ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1372
1351
|
}
|
|
1373
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1352
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionPathComponent, decorators: [{
|
|
1374
1353
|
type: Component,
|
|
1375
1354
|
args: [{
|
|
1376
1355
|
selector: "path[f-connection-path]",
|
|
@@ -1405,10 +1384,10 @@ class FConnectionSelectionComponent {
|
|
|
1405
1384
|
setPath(path) {
|
|
1406
1385
|
this.hostElement.setAttribute("d", `${path}`);
|
|
1407
1386
|
}
|
|
1408
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1409
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionSelectionComponent, deps: [{ token: i0.ElementRef }, { token: F_CONNECTION }], target: i0.ɵɵFactoryTarget.Component });
|
|
1388
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]", host: { properties: { "attr.id": "connectionForSelectionId" }, classAttribute: "f-component f-connection-selection" }, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1410
1389
|
}
|
|
1411
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionSelectionComponent, decorators: [{
|
|
1412
1391
|
type: Component,
|
|
1413
1392
|
args: [{
|
|
1414
1393
|
selector: "path[fConnectionSelection]",
|
|
@@ -1482,10 +1461,10 @@ class FConnectionFactory {
|
|
|
1482
1461
|
}
|
|
1483
1462
|
return builder.handle(request.payload);
|
|
1484
1463
|
}
|
|
1485
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1486
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
1464
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionFactory, deps: [{ token: F_CONNECTION_BUILDERS, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1465
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionFactory });
|
|
1487
1466
|
}
|
|
1488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1467
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionFactory, decorators: [{
|
|
1489
1468
|
type: Injectable
|
|
1490
1469
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1491
1470
|
type: Optional
|
|
@@ -1541,10 +1520,10 @@ class FConnectionBase extends MIXIN_BASE {
|
|
|
1541
1520
|
this.fDragHandle.redraw(this.line.point1, this.line.point2);
|
|
1542
1521
|
this.fTextComponent.redraw(this.line);
|
|
1543
1522
|
}
|
|
1544
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1545
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
1523
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionBase, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1524
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionBase, usesInheritance: true, ngImport: i0 });
|
|
1546
1525
|
}
|
|
1547
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionBase, decorators: [{
|
|
1548
1527
|
type: Directive
|
|
1549
1528
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: FConnectionFactory }] });
|
|
1550
1529
|
|
|
@@ -1563,10 +1542,10 @@ var EFConnectionType;
|
|
|
1563
1542
|
})(EFConnectionType || (EFConnectionType = {}));
|
|
1564
1543
|
|
|
1565
1544
|
class FConnectionCenterDirective {
|
|
1566
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1567
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
1545
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionCenterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1546
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionCenterDirective, selector: "[fConnectionCenter]", ngImport: i0 });
|
|
1568
1547
|
}
|
|
1569
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1548
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionCenterDirective, decorators: [{
|
|
1570
1549
|
type: Directive,
|
|
1571
1550
|
args: [{
|
|
1572
1551
|
selector: "[fConnectionCenter]"
|
|
@@ -1659,10 +1638,10 @@ class FConnectionForCreateComponent extends FConnectionBase {
|
|
|
1659
1638
|
ngOnDestroy() {
|
|
1660
1639
|
this.fComponentsStore.fTempConnection = undefined;
|
|
1661
1640
|
}
|
|
1662
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1663
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1641
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionForCreateComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
1642
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionForCreateComponent, selector: "f-connection-for-create", inputs: { fStartColor: "fStartColor", fEndColor: "fEndColor", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType" }, host: { classAttribute: "f-component f-connection f-connection-for-create" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionForCreateComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\">\n <defs #defs></defs>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path\n [attr.d]=\"path\">\n </path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n <ng-content></ng-content>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1664
1643
|
}
|
|
1665
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1644
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionForCreateComponent, decorators: [{
|
|
1666
1645
|
type: Component,
|
|
1667
1646
|
args: [{ selector: "f-connection-for-create", changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1668
1647
|
class: "f-component f-connection f-connection-for-create"
|
|
@@ -1809,10 +1788,10 @@ class FConnectionComponent extends FConnectionBase {
|
|
|
1809
1788
|
ngOnDestroy() {
|
|
1810
1789
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fConnections, this);
|
|
1811
1790
|
}
|
|
1812
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1813
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
1791
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionComponent, deps: [{ token: i0.ElementRef }, { token: FConnectionFactory }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
1792
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FConnectionComponent, selector: "f-connection", inputs: { fConnectionId: "fConnectionId", fText: "fText", fStartColor: "fStartColor", fEndColor: "fEndColor", fOutputId: "fOutputId", fInputId: "fInputId", fRadius: "fRadius", fOffset: "fOffset", fBehavior: "fBehavior", fType: "fType", fDraggingDisabled: ["fReassignDisabled", "fDraggingDisabled"], fSelectionDisabled: "fSelectionDisabled" }, host: { properties: { "attr.id": "fConnectionId", "class.f-connection-selection-disabled": "fSelectionDisabled", "class.f-connection-reassign-disabled": "fDraggingDisabled" }, classAttribute: "f-component f-connection" }, providers: [{ provide: F_CONNECTION, useExisting: FConnectionComponent }], queries: [{ propertyName: "fConnectionCenters", predicate: FConnectionCenterDirective, descendants: true }], viewQueries: [{ propertyName: "fDefs", first: true, predicate: ["defs"], descendants: true, static: true }, { propertyName: "fPath", first: true, predicate: CONNECTION_PATH, descendants: true, static: true }, { propertyName: "fGradient", first: true, predicate: CONNECTION_GRADIENT, descendants: true, static: true }, { propertyName: "fDragHandle", first: true, predicate: FConnectionDragHandleComponent, descendants: true, static: true }, { propertyName: "fSelection", first: true, predicate: FConnectionSelectionComponent, descendants: true, static: true }, { propertyName: "fTextComponent", first: true, predicate: CONNECTION_TEXT, descendants: true, static: true }, { propertyName: "fConnectionCenter", first: true, predicate: ["fConnectionCenter"], descendants: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<svg xmlns=\"http://www.w3.org/2000/svg\" style=\"overflow: visible; display: block; vertical-align: middle;\">\n <defs #defs></defs>\n <ng-content></ng-content>\n <g class=\"f-connection-group\">\n <linearGradient fConnectionGradient></linearGradient>\n <path fConnectionSelection [attr.d]=\"path\"></path>\n <g>\n <path f-connection-path [attr.d]=\"path\"></path>\n <circle f-connection-drag-handle r=\"8\"></circle>\n </g>\n <text f-connection-text></text>\n </g>\n</svg>\n<div #fConnectionCenter class=\"f-connection-center\" *ngIf=\"fConnectionCenters.length\">\n <ng-content select=\"[fConnectionCenter]\"></ng-content>\n</div>\n", styles: [":host{pointer-events:none;position:absolute}:host svg{overflow:visible}:host svg .f-connection-group{pointer-events:all}:host .f-connection-center{pointer-events:all}\n"], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: FConnectionTextComponent, selector: "text[f-connection-text]" }, { kind: "component", type: FConnectionDragHandleComponent, selector: "circle[f-connection-drag-handle]" }, { kind: "component", type: FConnectionGradientComponent, selector: "linearGradient[fConnectionGradient]" }, { kind: "component", type: FConnectionPathComponent, selector: "path[f-connection-path]" }, { kind: "component", type: FConnectionSelectionComponent, selector: "path[fConnectionSelection]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1814
1793
|
}
|
|
1815
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1794
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FConnectionComponent, decorators: [{
|
|
1816
1795
|
type: Component,
|
|
1817
1796
|
args: [{ selector: "f-connection", exportAs: 'fComponent', changeDetection: ChangeDetectionStrategy.OnPush, host: {
|
|
1818
1797
|
'[attr.id]': 'fConnectionId',
|
|
@@ -1881,10 +1860,10 @@ var EFMarkerType;
|
|
|
1881
1860
|
|
|
1882
1861
|
const F_MARKER = new InjectionToken('F_MARKER');
|
|
1883
1862
|
class FMarkerBase {
|
|
1884
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1885
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
1863
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMarkerBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1864
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FMarkerBase, ngImport: i0 });
|
|
1886
1865
|
}
|
|
1887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1866
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMarkerBase, decorators: [{
|
|
1888
1867
|
type: Directive
|
|
1889
1868
|
}] });
|
|
1890
1869
|
|
|
@@ -1913,10 +1892,10 @@ class FMarkerDirective extends FMarkerBase {
|
|
|
1913
1892
|
ngOnDestroy() {
|
|
1914
1893
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fMarkers, this);
|
|
1915
1894
|
}
|
|
1916
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
1917
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
1895
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMarkerDirective, deps: [{ token: FComponentsStore }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1896
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FMarkerDirective, selector: "svg[fMarker]", inputs: { hostElement: "hostElement", width: "width", height: "height", refX: "refX", refY: "refY", type: "type", orient: "orient", markerUnits: "markerUnits" }, host: { classAttribute: "f-component f-marker" }, providers: [{ provide: F_MARKER, useExisting: FMarkerDirective }], usesInheritance: true, ngImport: i0 });
|
|
1918
1897
|
}
|
|
1919
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
1898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMarkerDirective, decorators: [{
|
|
1920
1899
|
type: Directive,
|
|
1921
1900
|
args: [{
|
|
1922
1901
|
selector: "svg[fMarker]",
|
|
@@ -2088,12 +2067,12 @@ class FNodeDirective extends FNodeBase {
|
|
|
2088
2067
|
this.stateChanges.complete();
|
|
2089
2068
|
this.subscriptions$.unsubscribe();
|
|
2090
2069
|
}
|
|
2091
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2092
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
2070
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2071
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeDirective, selector: "[fNode]", inputs: { fId: ["fNodeId", "fId"], position: ["fNodePosition", "position"], size: ["fNodeSize", "size"], fDraggingDisabled: ["fNodeDraggingDisabled", "fDraggingDisabled"], fSelectionDisabled: ["fNodeSelectionDisabled", "fSelectionDisabled"], fConnectOnNode: "fConnectOnNode" }, outputs: { positionChange: "fNodePositionChange", sizeChange: "fNodeSizeChange" }, host: { properties: { "attr.data-f-node-id": "fId", "class.f-node-dragging-disabled": "fDraggingDisabled", "class.f-node-selection-disabled": "fSelectionDisabled" }, classAttribute: "f-node f-component" }, providers: [
|
|
2093
2072
|
{ provide: F_NODE, useExisting: FNodeDirective }
|
|
2094
2073
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
2095
2074
|
}
|
|
2096
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeDirective, decorators: [{
|
|
2097
2076
|
type: Directive,
|
|
2098
2077
|
args: [{
|
|
2099
2078
|
selector: "[fNode]",
|
|
@@ -2192,10 +2171,10 @@ class FNodeInputDirective extends FNodeInputBase {
|
|
|
2192
2171
|
this.fNode.removeConnector(this);
|
|
2193
2172
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fInputs, this);
|
|
2194
2173
|
}
|
|
2195
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2196
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
2174
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeInputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2175
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeInputDirective, selector: "[fNodeInput]", inputs: { id: ["fInputId", "id"], multiple: ["fInputMultiple", "multiple"], disabled: ["fInputDisabled", "disabled"], _fSide: ["fInputConnectableSide", "_fSide"] }, host: { properties: { "attr.data-f-input-id": "id", "class.f-node-input-multiple": "multiple", "class.f-node-input-disabled": "disabled", "class.f-node-input-not-connectable": "!canBeConnected" }, classAttribute: "f-component f-node-input" }, providers: [{ provide: F_NODE_INPUT, useExisting: FNodeInputDirective }], exportAs: ["fNodeInput"], usesInheritance: true, ngImport: i0 });
|
|
2197
2176
|
}
|
|
2198
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeInputDirective, decorators: [{
|
|
2199
2178
|
type: Directive,
|
|
2200
2179
|
args: [{
|
|
2201
2180
|
selector: "[fNodeInput]",
|
|
@@ -2236,10 +2215,10 @@ class FNodeOutletBase extends FConnectorBase {
|
|
|
2236
2215
|
setOutputs(outputs) {
|
|
2237
2216
|
this.outputs = outputs;
|
|
2238
2217
|
}
|
|
2239
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2240
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
2218
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutletBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2219
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeOutletBase, usesInheritance: true, ngImport: i0 });
|
|
2241
2220
|
}
|
|
2242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2221
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutletBase, decorators: [{
|
|
2243
2222
|
type: Directive
|
|
2244
2223
|
}] });
|
|
2245
2224
|
|
|
@@ -2285,10 +2264,10 @@ class FNodeOutletDirective extends FNodeOutletBase {
|
|
|
2285
2264
|
ngOnDestroy() {
|
|
2286
2265
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fOutlets, this);
|
|
2287
2266
|
}
|
|
2288
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2289
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
2267
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutletDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2268
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeOutletDirective, selector: "[fNodeOutlet]", inputs: { id: ["fOutletId", "id"], disabled: ["fOutletDisabled", "disabled"], isConnectionFromOutlet: "isConnectionFromOutlet" }, host: { properties: { "attr.data-f-outlet-id": "id", "class.f-node-outlet-disabled": "disabled" }, classAttribute: "f-component f-node-outlet" }, providers: [{ provide: F_NODE_OUTLET, useExisting: FNodeOutletDirective }], exportAs: ["fNodeOutlet"], usesInheritance: true, ngImport: i0 });
|
|
2290
2269
|
}
|
|
2291
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutletDirective, decorators: [{
|
|
2292
2271
|
type: Directive,
|
|
2293
2272
|
args: [{
|
|
2294
2273
|
selector: "[fNodeOutlet]",
|
|
@@ -2319,10 +2298,10 @@ class FNodeOutputBase extends FConnectorBase {
|
|
|
2319
2298
|
get canBeConnected() {
|
|
2320
2299
|
return !this.disabled && (this.multiple ? true : !this.isConnected);
|
|
2321
2300
|
}
|
|
2322
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2323
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
2301
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutputBase, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
2302
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeOutputBase, usesInheritance: true, ngImport: i0 });
|
|
2324
2303
|
}
|
|
2325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutputBase, decorators: [{
|
|
2326
2305
|
type: Directive
|
|
2327
2306
|
}] });
|
|
2328
2307
|
|
|
@@ -2382,10 +2361,10 @@ class FNodeOutputDirective extends FNodeOutputBase {
|
|
|
2382
2361
|
this.fNode.removeConnector(this);
|
|
2383
2362
|
this.fComponentsStore.removeComponent(this.fComponentsStore.fOutputs, this);
|
|
2384
2363
|
}
|
|
2385
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2386
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
2364
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutputDirective, deps: [{ token: i0.ElementRef }, { token: F_NODE }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2365
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FNodeOutputDirective, selector: "[fNodeOutput]", inputs: { id: ["fOutputId", "id"], multiple: ["fOutputMultiple", "multiple"], disabled: ["fOutputDisabled", "disabled"], _fSide: ["fOutputConnectableSide", "_fSide"], isSelfConnectable: "isSelfConnectable" }, host: { properties: { "attr.data-f-output-id": "id", "class.f-node-output-multiple": "multiple", "class.f-node-output-disabled": "disabled", "class.f-node-output-not-connectable": "!canBeConnected", "class.f-node-output-self-connectable": "isSelfConnectable" }, classAttribute: "f-component f-node-output" }, providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }], exportAs: ["fNodeOutput"], usesInheritance: true, ngImport: i0 });
|
|
2387
2366
|
}
|
|
2388
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FNodeOutputDirective, decorators: [{
|
|
2389
2368
|
type: Directive,
|
|
2390
2369
|
args: [{
|
|
2391
2370
|
selector: "[fNodeOutput]",
|
|
@@ -2393,7 +2372,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.1.2", ngImpor
|
|
|
2393
2372
|
host: {
|
|
2394
2373
|
'[attr.data-f-output-id]': 'id',
|
|
2395
2374
|
class: "f-component f-node-output",
|
|
2375
|
+
'[class.f-node-output-multiple]': 'multiple',
|
|
2396
2376
|
'[class.f-node-output-disabled]': 'disabled',
|
|
2377
|
+
'[class.f-node-output-not-connectable]': '!canBeConnected',
|
|
2378
|
+
'[class.f-node-output-self-connectable]': 'isSelfConnectable',
|
|
2397
2379
|
},
|
|
2398
2380
|
providers: [{ provide: F_NODE_OUTPUT, useExisting: FNodeOutputDirective }],
|
|
2399
2381
|
}]
|
|
@@ -2494,13 +2476,13 @@ let GetInputUnderPointerExecution = class GetInputUnderPointerExecution {
|
|
|
2494
2476
|
return sourceNode?.hostElement !== targetNode?.hostElement;
|
|
2495
2477
|
});
|
|
2496
2478
|
}
|
|
2497
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2498
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2479
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputUnderPointerExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2480
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputUnderPointerExecution });
|
|
2499
2481
|
};
|
|
2500
2482
|
GetInputUnderPointerExecution = __decorate([
|
|
2501
2483
|
FExecutionRegister(GetInputUnderPointerRequest)
|
|
2502
2484
|
], GetInputUnderPointerExecution);
|
|
2503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2485
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputUnderPointerExecution, decorators: [{
|
|
2504
2486
|
type: Injectable
|
|
2505
2487
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
2506
2488
|
|
|
@@ -2554,13 +2536,13 @@ let GetInputUnderPointerValidator = class GetInputUnderPointerValidator {
|
|
|
2554
2536
|
getOutlet(dragHandler) {
|
|
2555
2537
|
return this.fComponentsStore.fOutlets.find((x) => x.id === dragHandler.connection.fOutputId);
|
|
2556
2538
|
}
|
|
2557
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2558
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2539
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputUnderPointerValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2540
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputUnderPointerValidator });
|
|
2559
2541
|
};
|
|
2560
2542
|
GetInputUnderPointerValidator = __decorate([
|
|
2561
2543
|
FValidatorRegister(GetInputUnderPointerRequest)
|
|
2562
2544
|
], GetInputUnderPointerValidator);
|
|
2563
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2545
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputUnderPointerValidator, decorators: [{
|
|
2564
2546
|
type: Injectable
|
|
2565
2547
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
2566
2548
|
|
|
@@ -2602,13 +2584,13 @@ let GetCanBeConnectedOutputByOutletExecution = class GetCanBeConnectedOutputByOu
|
|
|
2602
2584
|
getNode(outlet) {
|
|
2603
2585
|
return this.fNodes.find((x) => x.isContains(outlet.hostElement));
|
|
2604
2586
|
}
|
|
2605
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2606
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2587
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2588
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution });
|
|
2607
2589
|
};
|
|
2608
2590
|
GetCanBeConnectedOutputByOutletExecution = __decorate([
|
|
2609
2591
|
FExecutionRegister(GetCanBeConnectedOutputByOutletRequest)
|
|
2610
2592
|
], GetCanBeConnectedOutputByOutletExecution);
|
|
2611
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2593
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletExecution, decorators: [{
|
|
2612
2594
|
type: Injectable
|
|
2613
2595
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
2614
2596
|
|
|
@@ -2623,13 +2605,13 @@ let GetCanBeConnectedOutputByOutletValidator = class GetCanBeConnectedOutputByOu
|
|
|
2623
2605
|
handle(request) {
|
|
2624
2606
|
return !!this.fNodes.find((x) => x.isContains(request.outlet.hostElement));
|
|
2625
2607
|
}
|
|
2626
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2627
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2608
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2609
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator });
|
|
2628
2610
|
};
|
|
2629
2611
|
GetCanBeConnectedOutputByOutletValidator = __decorate([
|
|
2630
2612
|
FValidatorRegister(GetCanBeConnectedOutputByOutletRequest)
|
|
2631
2613
|
], GetCanBeConnectedOutputByOutletValidator);
|
|
2632
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2614
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeConnectedOutputByOutletValidator, decorators: [{
|
|
2633
2615
|
type: Injectable
|
|
2634
2616
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
2635
2617
|
|
|
@@ -2683,13 +2665,13 @@ let CreateConnectionFinalizeExecution = class CreateConnectionFinalizeExecution
|
|
|
2683
2665
|
getInputUnderPointer(event) {
|
|
2684
2666
|
return this.fMediator.send(new GetInputUnderPointerRequest(event, this.dragHandler));
|
|
2685
2667
|
}
|
|
2686
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2687
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2668
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2669
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFinalizeExecution });
|
|
2688
2670
|
};
|
|
2689
2671
|
CreateConnectionFinalizeExecution = __decorate([
|
|
2690
2672
|
FExecutionRegister(CreateConnectionFinalizeRequest)
|
|
2691
2673
|
], CreateConnectionFinalizeExecution);
|
|
2692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2674
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFinalizeExecution, decorators: [{
|
|
2693
2675
|
type: Injectable
|
|
2694
2676
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
2695
2677
|
|
|
@@ -2701,13 +2683,13 @@ let CreateConnectionFinalizeValidator = class CreateConnectionFinalizeValidator
|
|
|
2701
2683
|
handle(request) {
|
|
2702
2684
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.CREATE_CONNECTION);
|
|
2703
2685
|
}
|
|
2704
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2705
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2686
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2687
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFinalizeValidator });
|
|
2706
2688
|
};
|
|
2707
2689
|
CreateConnectionFinalizeValidator = __decorate([
|
|
2708
2690
|
FValidatorRegister(CreateConnectionFinalizeRequest)
|
|
2709
2691
|
], CreateConnectionFinalizeValidator);
|
|
2710
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFinalizeValidator, decorators: [{
|
|
2711
2693
|
type: Injectable
|
|
2712
2694
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
2713
2695
|
|
|
@@ -2780,13 +2762,13 @@ let CreateConnectionDragHandlerExecution = class CreateConnectionDragHandlerExec
|
|
|
2780
2762
|
new CreateConnectionDragHandler(this.fMediator, this.fComponentsStore.fTempConnection, request.connectorCenter)
|
|
2781
2763
|
];
|
|
2782
2764
|
}
|
|
2783
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2784
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2765
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionDragHandlerExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2766
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionDragHandlerExecution });
|
|
2785
2767
|
};
|
|
2786
2768
|
CreateConnectionDragHandlerExecution = __decorate([
|
|
2787
2769
|
FExecutionRegister(CreateConnectionDragHandlerRequest)
|
|
2788
2770
|
], CreateConnectionDragHandlerExecution);
|
|
2789
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2771
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionDragHandlerExecution, decorators: [{
|
|
2790
2772
|
type: Injectable
|
|
2791
2773
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
2792
2774
|
|
|
@@ -2840,13 +2822,13 @@ let CreateConnectionFromOutletPreparationExecution = class CreateConnectionFromO
|
|
|
2840
2822
|
createDragHandler(position, output, outletCenter) {
|
|
2841
2823
|
this.fMediator.send(new CreateConnectionDragHandlerRequest(position, output, outletCenter));
|
|
2842
2824
|
}
|
|
2843
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2844
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2825
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2826
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution });
|
|
2845
2827
|
};
|
|
2846
2828
|
CreateConnectionFromOutletPreparationExecution = __decorate([
|
|
2847
2829
|
FExecutionRegister(CreateConnectionFromOutletPreparationRequest)
|
|
2848
2830
|
], CreateConnectionFromOutletPreparationExecution);
|
|
2849
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2831
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutletPreparationExecution, decorators: [{
|
|
2850
2832
|
type: Injectable
|
|
2851
2833
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }] });
|
|
2852
2834
|
|
|
@@ -2888,13 +2870,13 @@ let CreateConnectionFromOutputPreparationExecution = class CreateConnectionFromO
|
|
|
2888
2870
|
createDragHandler(position, output, outletCenter) {
|
|
2889
2871
|
this.fMediator.send(new CreateConnectionDragHandlerRequest(position, output, outletCenter));
|
|
2890
2872
|
}
|
|
2891
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2892
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2873
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2874
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution });
|
|
2893
2875
|
};
|
|
2894
2876
|
CreateConnectionFromOutputPreparationExecution = __decorate([
|
|
2895
2877
|
FExecutionRegister(CreateConnectionFromOutputPreparationRequest)
|
|
2896
2878
|
], CreateConnectionFromOutputPreparationExecution);
|
|
2897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2879
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutputPreparationExecution, decorators: [{
|
|
2898
2880
|
type: Injectable
|
|
2899
2881
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }] });
|
|
2900
2882
|
|
|
@@ -2915,13 +2897,13 @@ let CreateConnectionFromOutputPreparationValidator = class CreateConnectionFromO
|
|
|
2915
2897
|
getOutlets(node) {
|
|
2916
2898
|
return this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
|
|
2917
2899
|
}
|
|
2918
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2919
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2900
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2901
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator });
|
|
2920
2902
|
};
|
|
2921
2903
|
CreateConnectionFromOutputPreparationValidator = __decorate([
|
|
2922
2904
|
FValidatorRegister(CreateConnectionFromOutputPreparationRequest)
|
|
2923
2905
|
], CreateConnectionFromOutputPreparationValidator);
|
|
2924
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionFromOutputPreparationValidator, decorators: [{
|
|
2925
2907
|
type: Injectable
|
|
2926
2908
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
2927
2909
|
|
|
@@ -2961,13 +2943,13 @@ let CreateConnectionPreparationExecution = class CreateConnectionPreparationExec
|
|
|
2961
2943
|
getOutlets(node) {
|
|
2962
2944
|
return this.fComponentsStore.fOutlets.filter((x) => node.isContains(x.hostElement));
|
|
2963
2945
|
}
|
|
2964
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2965
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2946
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionPreparationExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2947
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionPreparationExecution });
|
|
2966
2948
|
};
|
|
2967
2949
|
CreateConnectionPreparationExecution = __decorate([
|
|
2968
2950
|
FExecutionRegister(CreateConnectionPreparationRequest)
|
|
2969
2951
|
], CreateConnectionPreparationExecution);
|
|
2970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionPreparationExecution, decorators: [{
|
|
2971
2953
|
type: Injectable
|
|
2972
2954
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }] });
|
|
2973
2955
|
|
|
@@ -2987,13 +2969,13 @@ let CreateConnectionPreparationValidator = class CreateConnectionPreparationVali
|
|
|
2987
2969
|
isValidConditions() {
|
|
2988
2970
|
return !this.fDraggableDataContext.draggableItems.length && !!this.fComponentsStore.fTempConnection;
|
|
2989
2971
|
}
|
|
2990
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
2991
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
2972
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2973
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionPreparationValidator });
|
|
2992
2974
|
};
|
|
2993
2975
|
CreateConnectionPreparationValidator = __decorate([
|
|
2994
2976
|
FValidatorRegister(CreateConnectionPreparationRequest)
|
|
2995
2977
|
], CreateConnectionPreparationValidator);
|
|
2996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
2978
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionPreparationValidator, decorators: [{
|
|
2997
2979
|
type: Injectable
|
|
2998
2980
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
2999
2981
|
|
|
@@ -3057,13 +3039,13 @@ let ReassignConnectionFinalizeExecution = class ReassignConnectionFinalizeExecut
|
|
|
3057
3039
|
isReassignToDifferentInput(inputsUnderPointer) {
|
|
3058
3040
|
return this.dragHandler.connection.fInputId !== inputsUnderPointer.id;
|
|
3059
3041
|
}
|
|
3060
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3061
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3042
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3043
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionFinalizeExecution });
|
|
3062
3044
|
};
|
|
3063
3045
|
ReassignConnectionFinalizeExecution = __decorate([
|
|
3064
3046
|
FExecutionRegister(ReassignConnectionFinalizeRequest)
|
|
3065
3047
|
], ReassignConnectionFinalizeExecution);
|
|
3066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3048
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionFinalizeExecution, decorators: [{
|
|
3067
3049
|
type: Injectable
|
|
3068
3050
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
3069
3051
|
|
|
@@ -3075,13 +3057,13 @@ let ReassignConnectionFinalizeValidator = class ReassignConnectionFinalizeValida
|
|
|
3075
3057
|
handle(request) {
|
|
3076
3058
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.REASSIGN_CONNECTION);
|
|
3077
3059
|
}
|
|
3078
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3079
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3060
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3061
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionFinalizeValidator });
|
|
3080
3062
|
};
|
|
3081
3063
|
ReassignConnectionFinalizeValidator = __decorate([
|
|
3082
3064
|
FValidatorRegister(ReassignConnectionFinalizeRequest)
|
|
3083
3065
|
], ReassignConnectionFinalizeValidator);
|
|
3084
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionFinalizeValidator, decorators: [{
|
|
3085
3067
|
type: Injectable
|
|
3086
3068
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
3087
3069
|
|
|
@@ -3172,13 +3154,13 @@ let ReassignConnectionPreparationExecution = class ReassignConnectionPreparation
|
|
|
3172
3154
|
getConnectionHandler(element) {
|
|
3173
3155
|
return this.fConnections.find(c => c.isContains(element));
|
|
3174
3156
|
}
|
|
3175
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3176
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3157
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3158
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionPreparationExecution });
|
|
3177
3159
|
};
|
|
3178
3160
|
ReassignConnectionPreparationExecution = __decorate([
|
|
3179
3161
|
FExecutionRegister(ReassignConnectionPreparationRequest)
|
|
3180
3162
|
], ReassignConnectionPreparationExecution);
|
|
3181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionPreparationExecution, decorators: [{
|
|
3182
3164
|
type: Injectable
|
|
3183
3165
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
3184
3166
|
|
|
@@ -3207,13 +3189,13 @@ let ReassignConnectionPreparationValidator = class ReassignConnectionPreparation
|
|
|
3207
3189
|
getConnectionHandler(element) {
|
|
3208
3190
|
return this.fConnections.find(c => c.isContains(element));
|
|
3209
3191
|
}
|
|
3210
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3211
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3192
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3193
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionPreparationValidator });
|
|
3212
3194
|
};
|
|
3213
3195
|
ReassignConnectionPreparationValidator = __decorate([
|
|
3214
3196
|
FValidatorRegister(ReassignConnectionPreparationRequest)
|
|
3215
3197
|
], ReassignConnectionPreparationValidator);
|
|
3216
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3198
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ReassignConnectionPreparationValidator, decorators: [{
|
|
3217
3199
|
type: Injectable
|
|
3218
3200
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
3219
3201
|
|
|
@@ -3284,13 +3266,13 @@ let ExternalItemFinalizeExecution = class ExternalItemFinalizeExecution {
|
|
|
3284
3266
|
getRectInCanvas() {
|
|
3285
3267
|
return this.fMediator.send(new GetElementRectInFlowRequest(this.dragHandler.placeholder));
|
|
3286
3268
|
}
|
|
3287
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3288
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3269
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3270
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemFinalizeExecution });
|
|
3289
3271
|
};
|
|
3290
3272
|
ExternalItemFinalizeExecution = __decorate([
|
|
3291
3273
|
FExecutionRegister(ExternalItemFinalizeRequest)
|
|
3292
3274
|
], ExternalItemFinalizeExecution);
|
|
3293
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3275
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemFinalizeExecution, decorators: [{
|
|
3294
3276
|
type: Injectable
|
|
3295
3277
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
3296
3278
|
|
|
@@ -3302,13 +3284,13 @@ let ExternalItemFinalizeValidator = class ExternalItemFinalizeValidator {
|
|
|
3302
3284
|
handle(request) {
|
|
3303
3285
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.PALETTE_ITEM);
|
|
3304
3286
|
}
|
|
3305
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3306
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3287
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3288
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemFinalizeValidator });
|
|
3307
3289
|
};
|
|
3308
3290
|
ExternalItemFinalizeValidator = __decorate([
|
|
3309
3291
|
FValidatorRegister(ExternalItemFinalizeRequest)
|
|
3310
3292
|
], ExternalItemFinalizeValidator);
|
|
3311
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3293
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemFinalizeValidator, decorators: [{
|
|
3312
3294
|
type: Injectable
|
|
3313
3295
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
3314
3296
|
|
|
@@ -3326,10 +3308,10 @@ class ExternalItemPreparationRequest {
|
|
|
3326
3308
|
|
|
3327
3309
|
const F_EXTERNAL_ITEM = new InjectionToken('F_EXTERNAL_ITEM');
|
|
3328
3310
|
class FExternalItemBase {
|
|
3329
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3330
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
3311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
3312
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FExternalItemBase, ngImport: i0 });
|
|
3331
3313
|
}
|
|
3332
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3314
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemBase, decorators: [{
|
|
3333
3315
|
type: Directive
|
|
3334
3316
|
}] });
|
|
3335
3317
|
|
|
@@ -3354,10 +3336,10 @@ class FExternalItemService {
|
|
|
3354
3336
|
this.items.splice(index, 1);
|
|
3355
3337
|
}
|
|
3356
3338
|
}
|
|
3357
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3358
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3339
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3340
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemService, providedIn: 'root' });
|
|
3359
3341
|
}
|
|
3360
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemService, decorators: [{
|
|
3361
3343
|
type: Injectable,
|
|
3362
3344
|
args: [{
|
|
3363
3345
|
providedIn: 'root'
|
|
@@ -3381,16 +3363,23 @@ class FExternalItemDirective extends FExternalItemBase {
|
|
|
3381
3363
|
}
|
|
3382
3364
|
ngOnInit() {
|
|
3383
3365
|
this.fExternalItemService.registerItem(this);
|
|
3366
|
+
this.disablePointerEvents(Array.from(this.hostElement.children));
|
|
3367
|
+
}
|
|
3368
|
+
disablePointerEvents(children) {
|
|
3369
|
+
children.forEach((x) => {
|
|
3370
|
+
x.style.pointerEvents = 'none';
|
|
3371
|
+
this.disablePointerEvents(Array.from(x.children));
|
|
3372
|
+
});
|
|
3384
3373
|
}
|
|
3385
3374
|
ngOnDestroy() {
|
|
3386
3375
|
this.fExternalItemService.removeItem(this);
|
|
3387
3376
|
}
|
|
3388
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3389
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
3377
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemDirective, deps: [{ token: i0.ElementRef }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
3378
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FExternalItemDirective, selector: "[fExternalItem]", inputs: { fExternalItemId: "fExternalItemId", fData: "fData", fDisabled: "fDisabled" }, host: { properties: { "attr.id": "fExternalItemId", "class.f-external-item-disabled": "fDisabled" }, classAttribute: "f-component f-external-item" }, providers: [
|
|
3390
3379
|
{ provide: F_EXTERNAL_ITEM, useExisting: FExternalItemDirective }
|
|
3391
3380
|
], usesInheritance: true, ngImport: i0 });
|
|
3392
3381
|
}
|
|
3393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FExternalItemDirective, decorators: [{
|
|
3394
3383
|
type: Directive,
|
|
3395
3384
|
args: [{
|
|
3396
3385
|
selector: "[fExternalItem]",
|
|
@@ -3473,13 +3462,13 @@ let ExternalItemPreparationExecution = class ExternalItemPreparationExecution {
|
|
|
3473
3462
|
getExternalItem(targetElement) {
|
|
3474
3463
|
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
3475
3464
|
}
|
|
3476
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3477
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3465
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3466
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemPreparationExecution });
|
|
3478
3467
|
};
|
|
3479
3468
|
ExternalItemPreparationExecution = __decorate([
|
|
3480
3469
|
FExecutionRegister(ExternalItemPreparationRequest)
|
|
3481
3470
|
], ExternalItemPreparationExecution);
|
|
3482
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemPreparationExecution, decorators: [{
|
|
3483
3472
|
type: Injectable
|
|
3484
3473
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FExternalItemService }] });
|
|
3485
3474
|
|
|
@@ -3495,13 +3484,13 @@ let ExternalItemPreparationValidator = class ExternalItemPreparationValidator {
|
|
|
3495
3484
|
getExternalItem(targetElement) {
|
|
3496
3485
|
return this.fExternalItemService.getItem(getExternalItem(targetElement));
|
|
3497
3486
|
}
|
|
3498
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3499
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3487
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemPreparationValidator, deps: [{ token: FExternalItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3488
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemPreparationValidator });
|
|
3500
3489
|
};
|
|
3501
3490
|
ExternalItemPreparationValidator = __decorate([
|
|
3502
3491
|
FValidatorRegister(ExternalItemPreparationRequest)
|
|
3503
3492
|
], ExternalItemPreparationValidator);
|
|
3504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3493
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ExternalItemPreparationValidator, decorators: [{
|
|
3505
3494
|
type: Injectable
|
|
3506
3495
|
}], ctorParameters: () => [{ type: FExternalItemService }] });
|
|
3507
3496
|
|
|
@@ -3691,13 +3680,13 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
|
|
|
3691
3680
|
}
|
|
3692
3681
|
});
|
|
3693
3682
|
}
|
|
3694
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3695
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3683
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetOutgoingConnectionsHandler }, { token: GetIncomingConnectionsHandler }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3684
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution });
|
|
3696
3685
|
};
|
|
3697
3686
|
CreateMoveNodesDragModelFromSelectionExecution = __decorate([
|
|
3698
3687
|
FExecutionRegister(CreateMoveNodesDragModelFromSelectionRequest)
|
|
3699
3688
|
], CreateMoveNodesDragModelFromSelectionExecution);
|
|
3700
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3689
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateMoveNodesDragModelFromSelectionExecution, decorators: [{
|
|
3701
3690
|
type: Injectable
|
|
3702
3691
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetOutgoingConnectionsHandler }, { type: GetIncomingConnectionsHandler }, { type: FFlowMediator }] });
|
|
3703
3692
|
|
|
@@ -3752,13 +3741,13 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
|
|
|
3752
3741
|
return items.filter((x) => x.type === EFDraggableType.NODE)
|
|
3753
3742
|
.map(x => x.fNode);
|
|
3754
3743
|
}
|
|
3755
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3756
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3744
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3745
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMovePreparationExecution });
|
|
3757
3746
|
};
|
|
3758
3747
|
NodeMovePreparationExecution = __decorate([
|
|
3759
3748
|
FExecutionRegister(NodeMovePreparationRequest)
|
|
3760
3749
|
], NodeMovePreparationExecution);
|
|
3761
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMovePreparationExecution, decorators: [{
|
|
3762
3751
|
type: Injectable
|
|
3763
3752
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
3764
3753
|
|
|
@@ -3786,13 +3775,13 @@ let NodeMovePreparationValidator = class NodeMovePreparationValidator {
|
|
|
3786
3775
|
isDragHandleElement(targetElement) {
|
|
3787
3776
|
return isElementWithClass(targetElement, '.f-drag-handle');
|
|
3788
3777
|
}
|
|
3789
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3790
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3778
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMovePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3779
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMovePreparationValidator });
|
|
3791
3780
|
};
|
|
3792
3781
|
NodeMovePreparationValidator = __decorate([
|
|
3793
3782
|
FValidatorRegister(NodeMovePreparationRequest)
|
|
3794
3783
|
], NodeMovePreparationValidator);
|
|
3795
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3784
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMovePreparationValidator, decorators: [{
|
|
3796
3785
|
type: Injectable
|
|
3797
3786
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
3798
3787
|
|
|
@@ -3844,13 +3833,13 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
|
|
|
3844
3833
|
}
|
|
3845
3834
|
return difference;
|
|
3846
3835
|
}
|
|
3847
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3848
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3836
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMoveFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3837
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMoveFinalizeExecution });
|
|
3849
3838
|
};
|
|
3850
3839
|
NodeMoveFinalizeExecution = __decorate([
|
|
3851
3840
|
FExecutionRegister(NodeMoveFinalizeRequest)
|
|
3852
3841
|
], NodeMoveFinalizeExecution);
|
|
3853
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMoveFinalizeExecution, decorators: [{
|
|
3854
3843
|
type: Injectable
|
|
3855
3844
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
3856
3845
|
|
|
@@ -3862,13 +3851,13 @@ let NodeMoveFinalizeValidator = class NodeMoveFinalizeValidator {
|
|
|
3862
3851
|
handle(request) {
|
|
3863
3852
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.NODE);
|
|
3864
3853
|
}
|
|
3865
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3866
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3854
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMoveFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3855
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMoveFinalizeValidator });
|
|
3867
3856
|
};
|
|
3868
3857
|
NodeMoveFinalizeValidator = __decorate([
|
|
3869
3858
|
FValidatorRegister(NodeMoveFinalizeRequest)
|
|
3870
3859
|
], NodeMoveFinalizeValidator);
|
|
3871
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3860
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeMoveFinalizeValidator, decorators: [{
|
|
3872
3861
|
type: Injectable
|
|
3873
3862
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
3874
3863
|
|
|
@@ -3900,13 +3889,13 @@ let NodeResizeFinalizeExecution = class NodeResizeFinalizeExecution {
|
|
|
3900
3889
|
x.complete?.();
|
|
3901
3890
|
});
|
|
3902
3891
|
}
|
|
3903
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3904
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3892
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizeFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3893
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizeFinalizeExecution });
|
|
3905
3894
|
};
|
|
3906
3895
|
NodeResizeFinalizeExecution = __decorate([
|
|
3907
3896
|
FExecutionRegister(NodeResizeFinalizeRequest)
|
|
3908
3897
|
], NodeResizeFinalizeExecution);
|
|
3909
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizeFinalizeExecution, decorators: [{
|
|
3910
3899
|
type: Injectable
|
|
3911
3900
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
3912
3901
|
|
|
@@ -3918,13 +3907,13 @@ let NodeResizeFinalizeValidator = class NodeResizeFinalizeValidator {
|
|
|
3918
3907
|
handle(request) {
|
|
3919
3908
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.NODE_RESIZE);
|
|
3920
3909
|
}
|
|
3921
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
3922
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
3910
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizeFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3911
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizeFinalizeValidator });
|
|
3923
3912
|
};
|
|
3924
3913
|
NodeResizeFinalizeValidator = __decorate([
|
|
3925
3914
|
FValidatorRegister(NodeResizeFinalizeRequest)
|
|
3926
3915
|
], NodeResizeFinalizeValidator);
|
|
3927
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
3916
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizeFinalizeValidator, decorators: [{
|
|
3928
3917
|
type: Injectable
|
|
3929
3918
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
3930
3919
|
|
|
@@ -4023,13 +4012,13 @@ let NodeResizePreparationExecution = class NodeResizePreparationExecution {
|
|
|
4023
4012
|
getNode(targetElement) {
|
|
4024
4013
|
return this.fComponentsStore.findNode(targetElement);
|
|
4025
4014
|
}
|
|
4026
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4027
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4015
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4016
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizePreparationExecution });
|
|
4028
4017
|
};
|
|
4029
4018
|
NodeResizePreparationExecution = __decorate([
|
|
4030
4019
|
FExecutionRegister(NodeResizePreparationRequest)
|
|
4031
4020
|
], NodeResizePreparationExecution);
|
|
4032
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4021
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizePreparationExecution, decorators: [{
|
|
4033
4022
|
type: Injectable
|
|
4034
4023
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
4035
4024
|
|
|
@@ -4057,13 +4046,13 @@ let NodeResizePreparationValidator = class NodeResizePreparationValidator {
|
|
|
4057
4046
|
isDragHandleElement(targetElement) {
|
|
4058
4047
|
return isElementWithClass(targetElement, '.f-resize-handle');
|
|
4059
4048
|
}
|
|
4060
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4061
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4049
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizePreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4050
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizePreparationValidator });
|
|
4062
4051
|
};
|
|
4063
4052
|
NodeResizePreparationValidator = __decorate([
|
|
4064
4053
|
FValidatorRegister(NodeResizePreparationRequest)
|
|
4065
4054
|
], NodeResizePreparationValidator);
|
|
4066
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: NodeResizePreparationValidator, decorators: [{
|
|
4067
4056
|
type: Injectable
|
|
4068
4057
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
4069
4058
|
|
|
@@ -4094,13 +4083,13 @@ let SelectionAreaFinalizeExecution = class SelectionAreaFinalizeExecution {
|
|
|
4094
4083
|
x.complete?.();
|
|
4095
4084
|
});
|
|
4096
4085
|
}
|
|
4097
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4098
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4086
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4087
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaFinalizeExecution });
|
|
4099
4088
|
};
|
|
4100
4089
|
SelectionAreaFinalizeExecution = __decorate([
|
|
4101
4090
|
FExecutionRegister(SelectionAreaFinalizeRequest)
|
|
4102
4091
|
], SelectionAreaFinalizeExecution);
|
|
4103
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4092
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaFinalizeExecution, decorators: [{
|
|
4104
4093
|
type: Injectable
|
|
4105
4094
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
4106
4095
|
|
|
@@ -4112,13 +4101,13 @@ let SelectionAreaFinalizeValidator = class SelectionAreaFinalizeValidator {
|
|
|
4112
4101
|
handle(request) {
|
|
4113
4102
|
return this.fDraggableDataContext.draggableItems.some((x) => x.type === EFDraggableType.SELECTION);
|
|
4114
4103
|
}
|
|
4115
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4116
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4104
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4105
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaFinalizeValidator });
|
|
4117
4106
|
};
|
|
4118
4107
|
SelectionAreaFinalizeValidator = __decorate([
|
|
4119
4108
|
FValidatorRegister(SelectionAreaFinalizeRequest)
|
|
4120
4109
|
], SelectionAreaFinalizeValidator);
|
|
4121
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4110
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaFinalizeValidator, decorators: [{
|
|
4122
4111
|
type: Injectable
|
|
4123
4112
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
4124
4113
|
|
|
@@ -4210,13 +4199,13 @@ let SelectionAreaPreparationExecution = class SelectionAreaPreparationExecution
|
|
|
4210
4199
|
this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
|
|
4211
4200
|
.elementTransform(this.flowHost);
|
|
4212
4201
|
}
|
|
4213
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4214
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4202
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaPreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4203
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaPreparationExecution });
|
|
4215
4204
|
};
|
|
4216
4205
|
SelectionAreaPreparationExecution = __decorate([
|
|
4217
4206
|
FExecutionRegister(SelectionAreaPreparationRequest)
|
|
4218
4207
|
], SelectionAreaPreparationExecution);
|
|
4219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaPreparationExecution, decorators: [{
|
|
4220
4209
|
type: Injectable
|
|
4221
4210
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
4222
4211
|
|
|
@@ -4233,13 +4222,13 @@ let SelectionAreaPreparationValidator = class SelectionAreaPreparationValidator
|
|
|
4233
4222
|
isDragHandlesEmpty() {
|
|
4234
4223
|
return !this.fDraggableDataContext.draggableItems.length;
|
|
4235
4224
|
}
|
|
4236
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4237
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4225
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaPreparationValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4226
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaPreparationValidator });
|
|
4238
4227
|
};
|
|
4239
4228
|
SelectionAreaPreparationValidator = __decorate([
|
|
4240
4229
|
FValidatorRegister(SelectionAreaPreparationRequest)
|
|
4241
4230
|
], SelectionAreaPreparationValidator);
|
|
4242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4231
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectionAreaPreparationValidator, decorators: [{
|
|
4243
4232
|
type: Injectable
|
|
4244
4233
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
4245
4234
|
|
|
@@ -4261,11 +4250,13 @@ class SingleSelectRequest {
|
|
|
4261
4250
|
}
|
|
4262
4251
|
|
|
4263
4252
|
let SingleSelectExecution = class SingleSelectExecution {
|
|
4253
|
+
platform;
|
|
4264
4254
|
fComponentsStore;
|
|
4265
4255
|
fDraggableDataContext;
|
|
4266
4256
|
getConnectionHandler;
|
|
4267
4257
|
fMediator;
|
|
4268
|
-
constructor(fComponentsStore, fDraggableDataContext, getConnectionHandler, fMediator) {
|
|
4258
|
+
constructor(platform, fComponentsStore, fDraggableDataContext, getConnectionHandler, fMediator) {
|
|
4259
|
+
this.platform = platform;
|
|
4269
4260
|
this.fComponentsStore = fComponentsStore;
|
|
4270
4261
|
this.fDraggableDataContext = fDraggableDataContext;
|
|
4271
4262
|
this.getConnectionHandler = getConnectionHandler;
|
|
@@ -4283,7 +4274,7 @@ let SingleSelectExecution = class SingleSelectExecution {
|
|
|
4283
4274
|
return this.fComponentsStore.findNode(event.targetElement) || this.getConnectionHandler.handle(event.targetElement);
|
|
4284
4275
|
}
|
|
4285
4276
|
isMultiselectEnabled(event) {
|
|
4286
|
-
return MouseEventExtensions.isCommandButton(event.originalEvent) ||
|
|
4277
|
+
return MouseEventExtensions.isCommandButton(this.platform.getOS(), event.originalEvent) ||
|
|
4287
4278
|
MouseEventExtensions.isShiftPressed(event.originalEvent);
|
|
4288
4279
|
}
|
|
4289
4280
|
singleSelect(item) {
|
|
@@ -4322,15 +4313,15 @@ let SingleSelectExecution = class SingleSelectExecution {
|
|
|
4322
4313
|
});
|
|
4323
4314
|
this.fDraggableDataContext.selectedItems = [];
|
|
4324
4315
|
}
|
|
4325
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4326
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SingleSelectExecution, deps: [{ token: i1.PlatformService }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: GetConnectionHandler }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4317
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SingleSelectExecution });
|
|
4327
4318
|
};
|
|
4328
4319
|
SingleSelectExecution = __decorate([
|
|
4329
4320
|
FExecutionRegister(SingleSelectRequest)
|
|
4330
4321
|
], SingleSelectExecution);
|
|
4331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SingleSelectExecution, decorators: [{
|
|
4332
4323
|
type: Injectable
|
|
4333
|
-
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }, { type: FFlowMediator }] });
|
|
4324
|
+
}], ctorParameters: () => [{ type: i1.PlatformService }, { type: FComponentsStore }, { type: FDraggableDataContext }, { type: GetConnectionHandler }, { type: FFlowMediator }] });
|
|
4334
4325
|
|
|
4335
4326
|
let SingleSelectValidator = class SingleSelectValidator {
|
|
4336
4327
|
fComponentsStore;
|
|
@@ -4343,13 +4334,13 @@ let SingleSelectValidator = class SingleSelectValidator {
|
|
|
4343
4334
|
return this.fComponentsStore.fFlow.hostElement.contains(request.event.targetElement)
|
|
4344
4335
|
&& !this.fDraggableDataContext.draggableItems.length;
|
|
4345
4336
|
}
|
|
4346
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4347
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4337
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SingleSelectValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4338
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SingleSelectValidator });
|
|
4348
4339
|
};
|
|
4349
4340
|
SingleSelectValidator = __decorate([
|
|
4350
4341
|
FValidatorRegister(SingleSelectRequest)
|
|
4351
4342
|
], SingleSelectValidator);
|
|
4352
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4343
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SingleSelectValidator, decorators: [{
|
|
4353
4344
|
type: Injectable
|
|
4354
4345
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
4355
4346
|
|
|
@@ -4499,10 +4490,10 @@ class FDraggableBase {
|
|
|
4499
4490
|
this.mouseListeners();
|
|
4500
4491
|
this.mouseListeners = EventExtensions.emptyListener();
|
|
4501
4492
|
}
|
|
4502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4503
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4493
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableBase, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
4494
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FDraggableBase, ngImport: i0 });
|
|
4504
4495
|
}
|
|
4505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableBase, decorators: [{
|
|
4506
4497
|
type: Directive
|
|
4507
4498
|
}], ctorParameters: () => [{ type: undefined }] });
|
|
4508
4499
|
function isTouchEvent(event) {
|
|
@@ -4642,12 +4633,12 @@ class FDraggableDirective extends FDraggableBase {
|
|
|
4642
4633
|
super.unsubscribe();
|
|
4643
4634
|
this.subscriptions$.unsubscribe();
|
|
4644
4635
|
}
|
|
4645
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4646
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
4636
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableDirective, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }, { token: NgZone, optional: true }, { token: FComponentsStore }, { token: FFlowMediator }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
4637
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled"] }, outputs: { fSelectionChange: "fSelectionChange", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection" }, providers: [
|
|
4647
4638
|
{ provide: F_DRAGGABLE, useExisting: FDraggableDirective }
|
|
4648
4639
|
], queries: [{ propertyName: "plugins", predicate: F_DRAG_AND_DROP_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 });
|
|
4649
4640
|
}
|
|
4650
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4641
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FDraggableDirective, decorators: [{
|
|
4651
4642
|
type: Directive,
|
|
4652
4643
|
args: [{
|
|
4653
4644
|
selector: "f-flow[fDraggable]",
|
|
@@ -4736,13 +4727,13 @@ let CalculateFlowPointFromMinimapPointExecution = class CalculateFlowPointFromMi
|
|
|
4736
4727
|
getEventPointInMinimap(eventPoint, minimap) {
|
|
4737
4728
|
return Point.fromPoint(eventPoint).elementTransform(minimap.element);
|
|
4738
4729
|
}
|
|
4739
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4740
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4730
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4731
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution });
|
|
4741
4732
|
};
|
|
4742
4733
|
CalculateFlowPointFromMinimapPointExecution = __decorate([
|
|
4743
4734
|
FExecutionRegister(CalculateFlowPointFromMinimapPointRequest)
|
|
4744
4735
|
], CalculateFlowPointFromMinimapPointExecution);
|
|
4745
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4736
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CalculateFlowPointFromMinimapPointExecution, decorators: [{
|
|
4746
4737
|
type: Injectable
|
|
4747
4738
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
4748
4739
|
|
|
@@ -4816,13 +4807,13 @@ let MinimapDragPreparationExecution = class MinimapDragPreparationExecution {
|
|
|
4816
4807
|
getFlowRect() {
|
|
4817
4808
|
return RectExtensions.fromElement(this.flowHost);
|
|
4818
4809
|
}
|
|
4819
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4820
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4810
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragPreparationExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4811
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragPreparationExecution });
|
|
4821
4812
|
};
|
|
4822
4813
|
MinimapDragPreparationExecution = __decorate([
|
|
4823
4814
|
FExecutionRegister(MinimapDragPreparationRequest)
|
|
4824
4815
|
], MinimapDragPreparationExecution);
|
|
4825
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragPreparationExecution, decorators: [{
|
|
4826
4817
|
type: Injectable
|
|
4827
4818
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }, { type: FDraggableDataContext }] });
|
|
4828
4819
|
|
|
@@ -4838,13 +4829,13 @@ let MinimapDragPreparationValidator = class MinimapDragPreparationValidator {
|
|
|
4838
4829
|
!!request.event.targetElement.closest('.f-minimap') &&
|
|
4839
4830
|
this.fComponentsStore.flowHost.contains(request.event.targetElement);
|
|
4840
4831
|
}
|
|
4841
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4842
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4832
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragPreparationValidator, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4833
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragPreparationValidator });
|
|
4843
4834
|
};
|
|
4844
4835
|
MinimapDragPreparationValidator = __decorate([
|
|
4845
4836
|
FValidatorRegister(MinimapDragPreparationRequest)
|
|
4846
4837
|
], MinimapDragPreparationValidator);
|
|
4847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4838
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragPreparationValidator, decorators: [{
|
|
4848
4839
|
type: Injectable
|
|
4849
4840
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
4850
4841
|
|
|
@@ -4870,13 +4861,13 @@ let MinimapDragFinalizeExecution = class MinimapDragFinalizeExecution {
|
|
|
4870
4861
|
x.complete?.();
|
|
4871
4862
|
});
|
|
4872
4863
|
}
|
|
4873
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4874
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4864
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragFinalizeExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4865
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragFinalizeExecution });
|
|
4875
4866
|
};
|
|
4876
4867
|
MinimapDragFinalizeExecution = __decorate([
|
|
4877
4868
|
FExecutionRegister(MinimapDragFinalizeRequest)
|
|
4878
4869
|
], MinimapDragFinalizeExecution);
|
|
4879
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4870
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragFinalizeExecution, decorators: [{
|
|
4880
4871
|
type: Injectable
|
|
4881
4872
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
4882
4873
|
|
|
@@ -4888,13 +4879,13 @@ let MinimapDragFinalizeValidator = class MinimapDragFinalizeValidator {
|
|
|
4888
4879
|
handle(request) {
|
|
4889
4880
|
return this.fDraggableDataContext.draggableItems.some((x) => x.constructor.name === FMinimapDragHandler.name);
|
|
4890
4881
|
}
|
|
4891
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4892
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4883
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragFinalizeValidator });
|
|
4893
4884
|
};
|
|
4894
4885
|
MinimapDragFinalizeValidator = __decorate([
|
|
4895
4886
|
FValidatorRegister(MinimapDragFinalizeRequest)
|
|
4896
4887
|
], MinimapDragFinalizeValidator);
|
|
4897
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: MinimapDragFinalizeValidator, decorators: [{
|
|
4898
4889
|
type: Injectable
|
|
4899
4890
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
4900
4891
|
|
|
@@ -4932,13 +4923,13 @@ let ClearSelectionExecution = class ClearSelectionExecution {
|
|
|
4932
4923
|
this.fDraggableDataContext.selectedItems = [];
|
|
4933
4924
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
4934
4925
|
}
|
|
4935
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4936
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4926
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ClearSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4927
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ClearSelectionExecution });
|
|
4937
4928
|
};
|
|
4938
4929
|
ClearSelectionExecution = __decorate([
|
|
4939
4930
|
FExecutionRegister(ClearSelectionRequest)
|
|
4940
4931
|
], ClearSelectionExecution);
|
|
4941
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4932
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: ClearSelectionExecution, decorators: [{
|
|
4942
4933
|
type: Injectable
|
|
4943
4934
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
4944
4935
|
|
|
@@ -4981,13 +4972,13 @@ let CreateConnectionMarkersExecution = class CreateConnectionMarkersExecution {
|
|
|
4981
4972
|
markerElement.setAttribute('markerUnits', `${marker.markerUnits}`);
|
|
4982
4973
|
return markerElement;
|
|
4983
4974
|
}
|
|
4984
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
4985
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4975
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionMarkersExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4976
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionMarkersExecution });
|
|
4986
4977
|
};
|
|
4987
4978
|
CreateConnectionMarkersExecution = __decorate([
|
|
4988
4979
|
FExecutionRegister(CreateConnectionMarkersRequest)
|
|
4989
4980
|
], CreateConnectionMarkersExecution);
|
|
4990
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
4981
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: CreateConnectionMarkersExecution, decorators: [{
|
|
4991
4982
|
type: Injectable
|
|
4992
4983
|
}] });
|
|
4993
4984
|
|
|
@@ -5002,13 +4993,13 @@ let EmitTransformChangesExecution = class EmitTransformChangesExecution {
|
|
|
5002
4993
|
handle(request) {
|
|
5003
4994
|
this.fTransformStore.changes.next();
|
|
5004
4995
|
}
|
|
5005
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5006
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
4996
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: EmitTransformChangesExecution, deps: [{ token: FTransformStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4997
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: EmitTransformChangesExecution });
|
|
5007
4998
|
};
|
|
5008
4999
|
EmitTransformChangesExecution = __decorate([
|
|
5009
5000
|
FExecutionRegister(EmitTransformChangesRequest)
|
|
5010
5001
|
], EmitTransformChangesExecution);
|
|
5011
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5002
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: EmitTransformChangesExecution, decorators: [{
|
|
5012
5003
|
type: Injectable
|
|
5013
5004
|
}], ctorParameters: () => [{ type: FTransformStore }] });
|
|
5014
5005
|
|
|
@@ -5322,13 +5313,13 @@ let GetElementRectInFlowExecution = class GetElementRectInFlowExecution {
|
|
|
5322
5313
|
transformElementSizeInFlow(rect) {
|
|
5323
5314
|
return SizeExtensions.initialize(rect.width / this.transform.scale, rect.height / this.transform.scale);
|
|
5324
5315
|
}
|
|
5325
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5326
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5316
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetElementRectInFlowExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5317
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetElementRectInFlowExecution });
|
|
5327
5318
|
};
|
|
5328
5319
|
GetElementRectInFlowExecution = __decorate([
|
|
5329
5320
|
FExecutionRegister(GetElementRectInFlowRequest)
|
|
5330
5321
|
], GetElementRectInFlowExecution);
|
|
5331
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5322
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetElementRectInFlowExecution, decorators: [{
|
|
5332
5323
|
type: Injectable
|
|
5333
5324
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
5334
5325
|
|
|
@@ -5371,13 +5362,13 @@ let GetCanBeSelectedItemsExecution = class GetCanBeSelectedItemsExecution {
|
|
|
5371
5362
|
};
|
|
5372
5363
|
});
|
|
5373
5364
|
}
|
|
5374
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5375
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5365
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeSelectedItemsExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5366
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeSelectedItemsExecution });
|
|
5376
5367
|
};
|
|
5377
5368
|
GetCanBeSelectedItemsExecution = __decorate([
|
|
5378
5369
|
FExecutionRegister(GetCanBeSelectedItemsRequest)
|
|
5379
5370
|
], GetCanBeSelectedItemsExecution);
|
|
5380
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetCanBeSelectedItemsExecution, decorators: [{
|
|
5381
5372
|
type: Injectable
|
|
5382
5373
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }] });
|
|
5383
5374
|
|
|
@@ -5416,13 +5407,13 @@ let GetConnectionLineExecution = class GetConnectionLineExecution {
|
|
|
5416
5407
|
fixedOutboundBehaviour(payload) {
|
|
5417
5408
|
return new Line(positionFixedOutbound[payload.outputSide === EFConnectableSide.AUTO ? EFConnectableSide.BOTTOM : payload.outputSide](payload.outputRect), positionFixedOutbound[payload.inputSide === EFConnectableSide.AUTO ? EFConnectableSide.TOP : payload.inputSide](payload.inputRect));
|
|
5418
5409
|
}
|
|
5419
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5420
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5410
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetConnectionLineExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5411
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetConnectionLineExecution });
|
|
5421
5412
|
};
|
|
5422
5413
|
GetConnectionLineExecution = __decorate([
|
|
5423
5414
|
FExecutionRegister(GetConnectionLineRequest)
|
|
5424
5415
|
], GetConnectionLineExecution);
|
|
5425
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5416
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetConnectionLineExecution, decorators: [{
|
|
5426
5417
|
type: Injectable
|
|
5427
5418
|
}] });
|
|
5428
5419
|
const positionFixedOutbound = {
|
|
@@ -5472,13 +5463,13 @@ let GetExternalNodesRectExecution = class GetExternalNodesRectExecution {
|
|
|
5472
5463
|
getNodes() {
|
|
5473
5464
|
return this.fComponentsStore.fNodes;
|
|
5474
5465
|
}
|
|
5475
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5476
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5466
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetExternalNodesRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5467
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetExternalNodesRectExecution });
|
|
5477
5468
|
};
|
|
5478
5469
|
GetExternalNodesRectExecution = __decorate([
|
|
5479
5470
|
FExecutionRegister(GetExternalNodesRectRequest)
|
|
5480
5471
|
], GetExternalNodesRectExecution);
|
|
5481
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5472
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetExternalNodesRectExecution, decorators: [{
|
|
5482
5473
|
type: Injectable
|
|
5483
5474
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
5484
5475
|
|
|
@@ -5512,13 +5503,13 @@ let GetInputRectInFlowExecution = class GetInputRectInFlowExecution {
|
|
|
5512
5503
|
}
|
|
5513
5504
|
return new GetInputRectInFlowResponse(this.fMediator.send(new GetElementRectInFlowRequest(input.hostElement)), input.fConnectableSide);
|
|
5514
5505
|
}
|
|
5515
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5516
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5506
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputRectInFlowExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5507
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputRectInFlowExecution });
|
|
5517
5508
|
};
|
|
5518
5509
|
GetInputRectInFlowExecution = __decorate([
|
|
5519
5510
|
FExecutionRegister(GetInputRectInFlowRequest)
|
|
5520
5511
|
], GetInputRectInFlowExecution);
|
|
5521
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5512
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetInputRectInFlowExecution, decorators: [{
|
|
5522
5513
|
type: Injectable
|
|
5523
5514
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }] });
|
|
5524
5515
|
|
|
@@ -5539,13 +5530,13 @@ let GetNodesRectExecution = class GetNodesRectExecution {
|
|
|
5539
5530
|
getNodes() {
|
|
5540
5531
|
return this.fComponentsStore.fNodes;
|
|
5541
5532
|
}
|
|
5542
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5543
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5533
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetNodesRectExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5534
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetNodesRectExecution });
|
|
5544
5535
|
};
|
|
5545
5536
|
GetNodesRectExecution = __decorate([
|
|
5546
5537
|
FExecutionRegister(GetNodesRectRequest)
|
|
5547
5538
|
], GetNodesRectExecution);
|
|
5548
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5539
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetNodesRectExecution, decorators: [{
|
|
5549
5540
|
type: Injectable
|
|
5550
5541
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
5551
5542
|
|
|
@@ -5583,13 +5574,13 @@ let GetOutputRectInFlowExecution = class GetOutputRectInFlowExecution {
|
|
|
5583
5574
|
const result = this.fMediator.send(new GetElementRectInFlowRequest(output.hostElement));
|
|
5584
5575
|
return new GetOutputRectInFlowResponse(result, output.fConnectableSide);
|
|
5585
5576
|
}
|
|
5586
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5587
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5577
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetOutputRectInFlowExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5578
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetOutputRectInFlowExecution });
|
|
5588
5579
|
};
|
|
5589
5580
|
GetOutputRectInFlowExecution = __decorate([
|
|
5590
5581
|
FExecutionRegister(GetOutputRectInFlowRequest)
|
|
5591
5582
|
], GetOutputRectInFlowExecution);
|
|
5592
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetOutputRectInFlowExecution, decorators: [{
|
|
5593
5584
|
type: Injectable
|
|
5594
5585
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }] });
|
|
5595
5586
|
|
|
@@ -5615,13 +5606,13 @@ let GetPositionInFlowExecution = class GetPositionInFlowExecution {
|
|
|
5615
5606
|
return Point.fromPoint(request.position).elementTransform(this.flowHost)
|
|
5616
5607
|
.sub(this.transform.scaledPosition).sub(this.transform.position).div(this.transform.scale);
|
|
5617
5608
|
}
|
|
5618
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5619
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5609
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetPositionInFlowExecution, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5610
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetPositionInFlowExecution });
|
|
5620
5611
|
};
|
|
5621
5612
|
GetPositionInFlowExecution = __decorate([
|
|
5622
5613
|
FExecutionRegister(GetPositionInFlowRequest)
|
|
5623
5614
|
], GetPositionInFlowExecution);
|
|
5624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5615
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetPositionInFlowExecution, decorators: [{
|
|
5625
5616
|
type: Injectable
|
|
5626
5617
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
5627
5618
|
|
|
@@ -5646,13 +5637,13 @@ let GetSelectionExecution = class GetSelectionExecution {
|
|
|
5646
5637
|
});
|
|
5647
5638
|
return new FSelectionChangeEvent(selectedNodes, selectedConnections);
|
|
5648
5639
|
}
|
|
5649
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5650
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5640
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetSelectionExecution, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5641
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetSelectionExecution });
|
|
5651
5642
|
};
|
|
5652
5643
|
GetSelectionExecution = __decorate([
|
|
5653
5644
|
FExecutionRegister(GetSelectionRequest)
|
|
5654
5645
|
], GetSelectionExecution);
|
|
5655
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5646
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetSelectionExecution, decorators: [{
|
|
5656
5647
|
type: Injectable
|
|
5657
5648
|
}], ctorParameters: () => [{ type: FDraggableDataContext }] });
|
|
5658
5649
|
|
|
@@ -5670,10 +5661,10 @@ class GetOutgoingConnectionsHandler {
|
|
|
5670
5661
|
return outputsIds.includes(x.fOutputId);
|
|
5671
5662
|
});
|
|
5672
5663
|
}
|
|
5673
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5674
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5664
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetOutgoingConnectionsHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5665
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetOutgoingConnectionsHandler });
|
|
5675
5666
|
}
|
|
5676
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5667
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetOutgoingConnectionsHandler, decorators: [{
|
|
5677
5668
|
type: Injectable
|
|
5678
5669
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
5679
5670
|
|
|
@@ -5691,10 +5682,10 @@ class GetIncomingConnectionsHandler {
|
|
|
5691
5682
|
return inputsIds.includes(x.fInputId);
|
|
5692
5683
|
});
|
|
5693
5684
|
}
|
|
5694
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5695
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5685
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetIncomingConnectionsHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5686
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetIncomingConnectionsHandler });
|
|
5696
5687
|
}
|
|
5697
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5688
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetIncomingConnectionsHandler, decorators: [{
|
|
5698
5689
|
type: Injectable
|
|
5699
5690
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
5700
5691
|
|
|
@@ -5760,13 +5751,13 @@ let IsConnectionUnderNodeExecution = class IsConnectionUnderNodeExecution {
|
|
|
5760
5751
|
return ([]).length > 0;
|
|
5761
5752
|
});
|
|
5762
5753
|
}
|
|
5763
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5764
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5754
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: IsConnectionUnderNodeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }, { token: GetOutgoingConnectionsHandler }, { token: GetIncomingConnectionsHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5755
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: IsConnectionUnderNodeExecution });
|
|
5765
5756
|
};
|
|
5766
5757
|
IsConnectionUnderNodeExecution = __decorate([
|
|
5767
5758
|
FExecutionRegister(IsConnectionUnderNodeRequest)
|
|
5768
5759
|
], IsConnectionUnderNodeExecution);
|
|
5769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5760
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: IsConnectionUnderNodeExecution, decorators: [{
|
|
5770
5761
|
type: Injectable
|
|
5771
5762
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: FFlowMediator }, { type: GetOutgoingConnectionsHandler }, { type: GetIncomingConnectionsHandler }] });
|
|
5772
5763
|
|
|
@@ -5814,13 +5805,13 @@ let RedrawConnectionsExecution = class RedrawConnectionsExecution {
|
|
|
5814
5805
|
setMarkers(connection) {
|
|
5815
5806
|
this.fMediator.send(new CreateConnectionMarkersRequest(connection));
|
|
5816
5807
|
}
|
|
5817
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5818
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5808
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: RedrawConnectionsExecution, deps: [{ token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5809
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: RedrawConnectionsExecution });
|
|
5819
5810
|
};
|
|
5820
5811
|
RedrawConnectionsExecution = __decorate([
|
|
5821
5812
|
FExecutionRegister(RedrawConnectionsRequest)
|
|
5822
5813
|
], RedrawConnectionsExecution);
|
|
5823
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5814
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: RedrawConnectionsExecution, decorators: [{
|
|
5824
5815
|
type: Injectable
|
|
5825
5816
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FFlowMediator }] });
|
|
5826
5817
|
|
|
@@ -5861,13 +5852,13 @@ let SelectExecution = class SelectExecution {
|
|
|
5861
5852
|
});
|
|
5862
5853
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5863
5854
|
}
|
|
5864
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5865
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5855
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5856
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectExecution });
|
|
5866
5857
|
};
|
|
5867
5858
|
SelectExecution = __decorate([
|
|
5868
5859
|
FExecutionRegister(SelectRequest)
|
|
5869
5860
|
], SelectExecution);
|
|
5870
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5861
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectExecution, decorators: [{
|
|
5871
5862
|
type: Injectable
|
|
5872
5863
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
5873
5864
|
|
|
@@ -5896,13 +5887,13 @@ let SelectAllExecution = class SelectAllExecution {
|
|
|
5896
5887
|
});
|
|
5897
5888
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5898
5889
|
}
|
|
5899
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5900
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5890
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectAllExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5891
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectAllExecution });
|
|
5901
5892
|
};
|
|
5902
5893
|
SelectAllExecution = __decorate([
|
|
5903
5894
|
FExecutionRegister(SelectAllRequest)
|
|
5904
5895
|
], SelectAllExecution);
|
|
5905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5896
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectAllExecution, decorators: [{
|
|
5906
5897
|
type: Injectable
|
|
5907
5898
|
}], ctorParameters: () => [{ type: FComponentsStore }, { type: FDraggableDataContext }] });
|
|
5908
5899
|
|
|
@@ -5934,13 +5925,13 @@ let UpdateItemLayerExecution = class UpdateItemLayerExecution {
|
|
|
5934
5925
|
});
|
|
5935
5926
|
}
|
|
5936
5927
|
}
|
|
5937
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5938
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5928
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: UpdateItemLayerExecution, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5929
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: UpdateItemLayerExecution });
|
|
5939
5930
|
};
|
|
5940
5931
|
UpdateItemLayerExecution = __decorate([
|
|
5941
5932
|
FExecutionRegister(UpdateItemLayerRequest)
|
|
5942
5933
|
], UpdateItemLayerExecution);
|
|
5943
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5934
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: UpdateItemLayerExecution, decorators: [{
|
|
5944
5935
|
type: Injectable
|
|
5945
5936
|
}] });
|
|
5946
5937
|
|
|
@@ -5964,13 +5955,13 @@ let SelectAndUpdateNodeLayerExecution = class SelectAndUpdateNodeLayerExecution
|
|
|
5964
5955
|
this.fDraggableDataContext.isSelectedChanged = true;
|
|
5965
5956
|
}
|
|
5966
5957
|
}
|
|
5967
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5968
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5958
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, deps: [{ token: FDraggableDataContext }, { token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5959
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution });
|
|
5969
5960
|
};
|
|
5970
5961
|
SelectAndUpdateNodeLayerExecution = __decorate([
|
|
5971
5962
|
FExecutionRegister(SelectAndUpdateNodeLayerRequest)
|
|
5972
5963
|
], SelectAndUpdateNodeLayerExecution);
|
|
5973
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5964
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SelectAndUpdateNodeLayerExecution, decorators: [{
|
|
5974
5965
|
type: Injectable
|
|
5975
5966
|
}], ctorParameters: () => [{ type: FDraggableDataContext }, { type: FComponentsStore }, { type: FFlowMediator }] });
|
|
5976
5967
|
|
|
@@ -5987,13 +5978,13 @@ let SubscribeOnTransformChangesExecution = class SubscribeOnTransformChangesExec
|
|
|
5987
5978
|
handle(request) {
|
|
5988
5979
|
return merge(this.fTransformStore.changes, this.fComponentsStore.changes);
|
|
5989
5980
|
}
|
|
5990
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
5991
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
5981
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SubscribeOnTransformChangesExecution, deps: [{ token: FTransformStore }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5982
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SubscribeOnTransformChangesExecution });
|
|
5992
5983
|
};
|
|
5993
5984
|
SubscribeOnTransformChangesExecution = __decorate([
|
|
5994
5985
|
FExecutionRegister(SubscribeOnTransformChangesRequest)
|
|
5995
5986
|
], SubscribeOnTransformChangesExecution);
|
|
5996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
5987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: SubscribeOnTransformChangesExecution, decorators: [{
|
|
5997
5988
|
type: Injectable
|
|
5998
5989
|
}], ctorParameters: () => [{ type: FTransformStore }, { type: FComponentsStore }] });
|
|
5999
5990
|
|
|
@@ -6020,10 +6011,10 @@ class GetConnectionHandler {
|
|
|
6020
6011
|
handle(element) {
|
|
6021
6012
|
return this.fConnections.find(c => c.isContains(element) || c.fConnectionCenter?.nativeElement?.contains(element));
|
|
6022
6013
|
}
|
|
6023
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6024
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.
|
|
6014
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetConnectionHandler, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6015
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetConnectionHandler });
|
|
6025
6016
|
}
|
|
6026
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6017
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: GetConnectionHandler, decorators: [{
|
|
6027
6018
|
type: Injectable
|
|
6028
6019
|
}], ctorParameters: () => [{ type: FComponentsStore }] });
|
|
6029
6020
|
|
|
@@ -6141,10 +6132,10 @@ class FCanvasComponent extends FCanvasBase {
|
|
|
6141
6132
|
this.redrawWithAnimation();
|
|
6142
6133
|
this.completeDrag();
|
|
6143
6134
|
}
|
|
6144
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6145
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
6135
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FCanvasComponent, deps: [{ token: i0.ElementRef }, { token: FFlowMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Component });
|
|
6136
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FCanvasComponent, selector: "f-canvas", inputs: { position: "position", scale: "scale" }, outputs: { fCanvasChange: "fCanvasChange" }, host: { classAttribute: "f-component f-canvas" }, providers: [{ provide: F_CANVAS, useExisting: FCanvasComponent }], viewQueries: [{ propertyName: "fNodesContainer", first: true, predicate: ["fNodesContainer"], descendants: true, static: true }, { propertyName: "fConnectionsContainer", first: true, predicate: ["fConnectionsContainer"], descendants: true, static: true }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <div #fConnectionsContainer>\n <ng-content select=\"f-connection\"></ng-content>\n <ng-content select=\"f-connection-for-create\"></ng-content>\n </div>\n <div #fNodesContainer>\n <ng-content select=\"[fGroup]\"></ng-content>\n <ng-content select=\"[fNode]\"></ng-content>\n </div>\n</ng-container>\n", styles: [":host{position:absolute;overflow:visible;width:100%;height:100%;left:0;top:0;transform-origin:0 0;pointer-events:none}:host.f-scaled-animate{transition:transform .09s}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6146
6137
|
}
|
|
6147
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6138
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FCanvasComponent, decorators: [{
|
|
6148
6139
|
type: Component,
|
|
6149
6140
|
args: [{ selector: 'f-canvas', exportAs: 'fComponent', host: {
|
|
6150
6141
|
'class': 'f-component f-canvas',
|
|
@@ -6331,10 +6322,10 @@ class NearestCoordinateFinder {
|
|
|
6331
6322
|
|
|
6332
6323
|
const F_LINE_ALIGNMENT = new InjectionToken('F_LINE_ALIGNMENT');
|
|
6333
6324
|
class FLineAlignmentBase {
|
|
6334
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6335
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
6325
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FLineAlignmentBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6326
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FLineAlignmentBase, ngImport: i0 });
|
|
6336
6327
|
}
|
|
6337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6328
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FLineAlignmentBase, decorators: [{
|
|
6338
6329
|
type: Directive
|
|
6339
6330
|
}] });
|
|
6340
6331
|
|
|
@@ -6409,12 +6400,12 @@ class FLineAlignmentComponent extends FLineAlignmentBase {
|
|
|
6409
6400
|
this.lineService.hideVerticalLine();
|
|
6410
6401
|
this.lineService.hideHorizontalLine();
|
|
6411
6402
|
}
|
|
6412
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6413
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
6403
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FLineAlignmentComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: FDraggableDataContext }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
6404
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FLineAlignmentComponent, selector: "f-line-alignment", inputs: { fAlignThreshold: "fAlignThreshold" }, host: { classAttribute: "f-line-alignment f-component" }, providers: [
|
|
6414
6405
|
{ provide: F_LINE_ALIGNMENT, useExisting: FLineAlignmentComponent }
|
|
6415
6406
|
], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0, template: "", isInline: true, styles: [":host{display:block;position:absolute;left:0;top:0;width:100%;height:100%;overflow:hidden;pointer-events:none;-webkit-user-select:none;user-select:none}\n"] });
|
|
6416
6407
|
}
|
|
6417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6408
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FLineAlignmentComponent, decorators: [{
|
|
6418
6409
|
type: Component,
|
|
6419
6410
|
args: [{ selector: "f-line-alignment", template: "", exportAs: "fComponent", host: {
|
|
6420
6411
|
'class': 'f-line-alignment f-component'
|
|
@@ -6499,10 +6490,10 @@ class FMinimapFlowDirective {
|
|
|
6499
6490
|
setViewBox(viewBox) {
|
|
6500
6491
|
this.hostElement.setAttribute('viewBox', `${viewBox.x} ${viewBox.y} ${viewBox.width} ${viewBox.height}`);
|
|
6501
6492
|
}
|
|
6502
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6503
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
6493
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapFlowDirective, deps: [{ token: i0.ElementRef }, { token: FFlowMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6494
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: { fMinSize: "fMinSize" }, ngImport: i0 });
|
|
6504
6495
|
}
|
|
6505
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6496
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapFlowDirective, decorators: [{
|
|
6506
6497
|
type: Directive,
|
|
6507
6498
|
args: [{
|
|
6508
6499
|
selector: 'svg[fMinimapFlow]'
|
|
@@ -6561,10 +6552,10 @@ class FMinimapCanvasDirective {
|
|
|
6561
6552
|
element.classList.add('f-selected');
|
|
6562
6553
|
}
|
|
6563
6554
|
}
|
|
6564
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6565
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
6555
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapCanvasDirective, deps: [{ token: i0.ElementRef }, { token: FFlowMediator }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6556
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]", ngImport: i0 });
|
|
6566
6557
|
}
|
|
6567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6558
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapCanvasDirective, decorators: [{
|
|
6568
6559
|
type: Directive,
|
|
6569
6560
|
args: [{
|
|
6570
6561
|
selector: 'g[fMinimapCanvas]'
|
|
@@ -6594,10 +6585,10 @@ class FMinimapViewDirective {
|
|
|
6594
6585
|
this.hostElement.setAttribute('width', viewBox.width.toString());
|
|
6595
6586
|
this.hostElement.setAttribute('height', viewBox.height.toString());
|
|
6596
6587
|
}
|
|
6597
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6598
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
6588
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapViewDirective, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6589
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FMinimapViewDirective, selector: "rect[fMinimapView]", host: { classAttribute: "f-component f-minimap-view" }, ngImport: i0 });
|
|
6599
6590
|
}
|
|
6600
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6591
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapViewDirective, decorators: [{
|
|
6601
6592
|
type: Directive,
|
|
6602
6593
|
args: [{
|
|
6603
6594
|
selector: 'rect[fMinimapView]',
|
|
@@ -6641,12 +6632,12 @@ class FMinimapComponent {
|
|
|
6641
6632
|
ngOnDestroy() {
|
|
6642
6633
|
this.subscriptions$.unsubscribe();
|
|
6643
6634
|
}
|
|
6644
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6645
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
6635
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapComponent, deps: [{ token: i0.ElementRef }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
6636
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FMinimapComponent, selector: "f-minimap", inputs: { fMinSize: "fMinSize" }, host: { classAttribute: "f-component f-minimap" }, providers: [
|
|
6646
6637
|
{ provide: F_DRAG_AND_DROP_PLUGIN, useExisting: FMinimapComponent },
|
|
6647
6638
|
], viewQueries: [{ propertyName: "fMinimapCanvas", first: true, predicate: FMinimapCanvasDirective, descendants: true, static: true }, { propertyName: "fMinimapFlow", first: true, predicate: FMinimapFlowDirective, descendants: true, static: true }, { propertyName: "fMinimapView", first: true, predicate: FMinimapViewDirective, descendants: true, static: true }], exportAs: ["fComponent"], ngImport: i0, template: "<svg fMinimapFlow width=\"100%\" height=\"100%\" fLockedContext [fMinSize]=\"fMinSize\">\n <g fMinimapCanvas></g>\n <rect fMinimapView x=\"0\" y=\"0\" width=\"100%\" height=\"100%\" stroke=\"none\"/>\n</svg>\n\n", styles: [":host{display:block;position:absolute}:host svg{overflow:hidden}\n"], dependencies: [{ kind: "directive", type: FMinimapCanvasDirective, selector: "g[fMinimapCanvas]" }, { kind: "directive", type: FMinimapViewDirective, selector: "rect[fMinimapView]" }, { kind: "directive", type: FMinimapFlowDirective, selector: "svg[fMinimapFlow]", inputs: ["fMinSize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6648
6639
|
}
|
|
6649
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6640
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FMinimapComponent, decorators: [{
|
|
6650
6641
|
type: Component,
|
|
6651
6642
|
args: [{ selector: 'f-minimap', exportAs: 'fComponent', host: {
|
|
6652
6643
|
'class': 'f-component f-minimap',
|
|
@@ -6675,10 +6666,10 @@ const F_MINIMAP_PROVIDERS = [
|
|
|
6675
6666
|
|
|
6676
6667
|
const F_SELECTION_AREA = new InjectionToken('F_SELECTION_AREA');
|
|
6677
6668
|
class FSelectionAreaBase {
|
|
6678
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6679
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
6669
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FSelectionAreaBase, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6670
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FSelectionAreaBase, ngImport: i0 });
|
|
6680
6671
|
}
|
|
6681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6672
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FSelectionAreaBase, decorators: [{
|
|
6682
6673
|
type: Directive
|
|
6683
6674
|
}] });
|
|
6684
6675
|
|
|
@@ -6710,12 +6701,12 @@ class FSelectionAreaComponent extends FSelectionAreaBase {
|
|
|
6710
6701
|
style.width = object.width + 'px';
|
|
6711
6702
|
style.height = object.height + 'px';
|
|
6712
6703
|
}
|
|
6713
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6714
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
6704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FSelectionAreaComponent, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Component });
|
|
6705
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FSelectionAreaComponent, selector: "f-selection-area", host: { classAttribute: "f-selection-area f-component" }, providers: [
|
|
6715
6706
|
{ provide: F_SELECTION_AREA, useExisting: FSelectionAreaComponent }
|
|
6716
6707
|
], usesInheritance: true, ngImport: i0, template: ``, isInline: true, styles: [":host{position:absolute}\n"] });
|
|
6717
6708
|
}
|
|
6718
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FSelectionAreaComponent, decorators: [{
|
|
6719
6710
|
type: Component,
|
|
6720
6711
|
args: [{ selector: "f-selection-area", template: ``, host: {
|
|
6721
6712
|
'class': 'f-selection-area f-component'
|
|
@@ -6792,8 +6783,8 @@ class FFlowComponent extends FFlowBase {
|
|
|
6792
6783
|
ngOnDestroy() {
|
|
6793
6784
|
this.subscription$.unsubscribe();
|
|
6794
6785
|
}
|
|
6795
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6796
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.
|
|
6786
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowComponent, deps: [{ token: i0.ElementRef }, { token: FComponentsStore }, { token: FFlowMediator }], target: i0.ɵɵFactoryTarget.Component });
|
|
6787
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.0", type: FFlowComponent, selector: "f-flow", inputs: { fFlowId: "fFlowId" }, outputs: { fLoaded: "fLoaded" }, host: { properties: { "attr.id": "fFlowId" }, classAttribute: "f-component f-flow" }, providers: [
|
|
6797
6788
|
FFlowMediator,
|
|
6798
6789
|
FComponentsStore,
|
|
6799
6790
|
FTransformStore,
|
|
@@ -6804,7 +6795,7 @@ class FFlowComponent extends FFlowBase {
|
|
|
6804
6795
|
{ provide: F_FLOW, useExisting: FFlowComponent },
|
|
6805
6796
|
], usesInheritance: true, ngImport: i0, template: "<ng-container>\n <ng-content select=\"[fDefinitions]\"></ng-content>\n\n <ng-content select=\"f-background\"></ng-content>\n\n <ng-content select=\"f-line-alignment\"></ng-content>\n\n <ng-content select=\"f-canvas\"></ng-content>\n\n <ng-content select=\"f-selection-area\"></ng-content>\n\n <ng-content select=\"f-minimap\"></ng-content>\n</ng-container>\n", styles: [":host{display:block;position:relative;width:100%;height:100%;overflow:hidden;pointer-events:all;-webkit-user-select:none;user-select:none;touch-action:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
6806
6797
|
}
|
|
6807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6798
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowComponent, decorators: [{
|
|
6808
6799
|
type: Component,
|
|
6809
6800
|
args: [{ selector: 'f-flow', host: {
|
|
6810
6801
|
'[attr.id]': 'fFlowId',
|
|
@@ -6947,10 +6938,10 @@ class FZoomDirective extends FZoomBase {
|
|
|
6947
6938
|
ngOnDestroy() {
|
|
6948
6939
|
super.unsubscribe();
|
|
6949
6940
|
}
|
|
6950
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6951
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.
|
|
6941
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FZoomDirective, deps: [{ token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Directive });
|
|
6942
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.0", type: FZoomDirective, selector: "f-canvas[fZoom]", inputs: { fFlowZoom: ["fZoom", "fFlowZoom"], minimum: ["fZoomMinimum", "minimum"], maximum: ["fZoomMaximum", "maximum"], step: ["fZoomStep", "step"], dblClickStep: ["fZoomDblClickStep", "dblClickStep"] }, host: { classAttribute: "f-zoom f-component" }, providers: [{ provide: F_ZOOM, useExisting: FZoomDirective }], exportAs: ["fComponent"], usesInheritance: true, ngImport: i0 });
|
|
6952
6943
|
}
|
|
6953
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6944
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FZoomDirective, decorators: [{
|
|
6954
6945
|
type: Directive,
|
|
6955
6946
|
args: [{
|
|
6956
6947
|
selector: "f-canvas[fZoom]",
|
|
@@ -6982,11 +6973,11 @@ const F_ZOOM_PROVIDERS = [
|
|
|
6982
6973
|
];
|
|
6983
6974
|
|
|
6984
6975
|
class FFlowModule {
|
|
6985
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.
|
|
6986
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.
|
|
6987
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.
|
|
6976
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
6977
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.0", ngImport: i0, type: FFlowModule, declarations: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FZoomDirective, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FExternalItemDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective], imports: [CommonModule], exports: [FBackgroundComponent, FRectPatternComponent, FCirclePatternComponent, FCanvasComponent, FZoomDirective, FConnectionTextComponent, FConnectionTextPathDirective, FConnectionDragHandleComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionComponent, FConnectionCenterDirective, FConnectionForCreateComponent, FMarkerDirective, FNodeInputDirective, FNodeOutletDirective, FNodeOutputDirective, FExternalItemDirective, FFlowComponent, FLineAlignmentComponent, FMinimapComponent, FMinimapCanvasDirective, FMinimapViewDirective, FMinimapFlowDirective, FNodeDirective, FDragHandleDirective, FResizeHandleDirective, FSelectionAreaComponent, FDraggableDirective] });
|
|
6978
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowModule, imports: [CommonModule] });
|
|
6988
6979
|
}
|
|
6989
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.
|
|
6980
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.0", ngImport: i0, type: FFlowModule, decorators: [{
|
|
6990
6981
|
type: NgModule,
|
|
6991
6982
|
args: [{
|
|
6992
6983
|
declarations: [
|