@foblex/flow 16.0.4 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +23 -18
  2. package/esm2022/f-backgroud/f-rect-pattern/f-rect-pattern.component.mjs +2 -2
  3. package/esm2022/f-connection/common/f-connection-text/f-connection-text-path.directive.mjs +2 -2
  4. package/esm2022/f-draggable/domain/i-node-with-rect.mjs +2 -0
  5. package/esm2022/f-draggable/domain/index.mjs +2 -1
  6. package/esm2022/f-draggable/f-draggable-base.mjs +1 -1
  7. package/esm2022/f-draggable/f-draggable.directive.mjs +8 -3
  8. package/esm2022/f-draggable/node/connection-base-drag-handler.mjs +14 -3
  9. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.execution.mjs +8 -4
  10. package/esm2022/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.mjs +4 -1
  11. package/esm2022/f-draggable/node/f-drop-to-group.event.mjs +8 -0
  12. package/esm2022/f-draggable/node/index.mjs +5 -1
  13. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/index.mjs +5 -0
  14. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.mjs +51 -0
  15. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.mjs +6 -0
  16. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.validator.mjs +25 -0
  17. package/esm2022/f-draggable/node/node-drag-to-parent-finalize/providers.mjs +7 -0
  18. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/index.mjs +5 -0
  19. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.mjs +61 -0
  20. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.mjs +6 -0
  21. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.mjs +24 -0
  22. package/esm2022/f-draggable/node/node-drag-to-parent-preparation/providers.mjs +7 -0
  23. package/esm2022/f-draggable/node/node-drag-to-parent.drag-handler.mjs +48 -0
  24. package/esm2022/f-draggable/node/node-move-finalize/node-move-finalize.execution.mjs +9 -3
  25. package/esm2022/f-draggable/node/node-move-preparation/node-move-preparation.execution.mjs +19 -8
  26. package/esm2022/f-draggable/node/providers.mjs +5 -1
  27. package/esm2022/f-draggable/single-select/single-select.execution.mjs +4 -1
  28. package/esm2022/f-node/f-node-base.mjs +7 -1
  29. package/esm2022/f-zoom/f-zoom-base.mjs +37 -37
  30. package/f-draggable/connections/providers.d.ts +1 -1
  31. package/f-draggable/domain/i-node-with-rect.d.ts +6 -0
  32. package/f-draggable/domain/index.d.ts +1 -0
  33. package/f-draggable/f-draggable-base.d.ts +2 -0
  34. package/f-draggable/f-draggable.directive.d.ts +3 -1
  35. package/f-draggable/node/connection-base-drag-handler.d.ts +1 -0
  36. package/f-draggable/node/create-move-nodes-drag-model-from-selection/create-move-nodes-drag-model-from-selection.request.d.ts +3 -0
  37. package/f-draggable/node/create-move-nodes-drag-model-from-selection/providers.d.ts +1 -1
  38. package/f-draggable/node/f-drop-to-group.event.d.ts +7 -0
  39. package/f-draggable/node/index.d.ts +4 -0
  40. package/f-draggable/node/node-drag-to-parent-finalize/index.d.ts +4 -0
  41. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.execution.d.ts +17 -0
  42. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.request.d.ts +5 -0
  43. package/f-draggable/node/node-drag-to-parent-finalize/node-drag-to-parent-finalize.validator.d.ts +11 -0
  44. package/f-draggable/node/node-drag-to-parent-finalize/providers.d.ts +3 -0
  45. package/f-draggable/node/node-drag-to-parent-preparation/index.d.ts +4 -0
  46. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.execution.d.ts +20 -0
  47. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.request.d.ts +5 -0
  48. package/f-draggable/node/node-drag-to-parent-preparation/node-drag-to-parent-preparation.validator.d.ts +11 -0
  49. package/f-draggable/node/node-drag-to-parent-preparation/providers.d.ts +3 -0
  50. package/f-draggable/node/node-drag-to-parent.drag-handler.d.ts +21 -0
  51. package/f-draggable/node/node-move-finalize/node-move-finalize.execution.d.ts +1 -0
  52. package/f-draggable/node/providers.d.ts +1 -1
  53. package/f-draggable/providers.d.ts +1 -1
  54. package/f-node/f-node-base.d.ts +2 -0
  55. package/fesm2022/foblex-flow.mjs +302 -54
  56. package/fesm2022/foblex-flow.mjs.map +1 -1
  57. package/package.json +1 -1
@@ -1150,6 +1150,12 @@ class FNodeBase extends MIXIN_BASE$1 {
1150
1150
  updateSize(value) {
1151
1151
  this._size = value;
1152
1152
  }
1153
+ setClass(className) {
1154
+ this.hostElement.classList.add(className);
1155
+ }
1156
+ removeClass(className) {
1157
+ this.hostElement.classList.remove(className);
1158
+ }
1153
1159
  }
1154
1160
 
1155
1161
  class FResizeObserver extends Observable {
@@ -2706,7 +2712,7 @@ class FConnectionTextPathDirective {
2706
2712
  getSymbolWidth(name) {
2707
2713
  const text = name || 'connection';
2708
2714
  const { fontFamily, fontSize } = this.getFontStyles(this.hostElement);
2709
- this.fontSize = fontSize;
2715
+ this.fontSize = fontSize || '12px';
2710
2716
  const canvas = this.fBrowser.document.createElement('canvas');
2711
2717
  let context;
2712
2718
  try {
@@ -3884,10 +3890,21 @@ class ConnectionBaseDragHandler {
3884
3890
  this.fInputWithRect = this.fMediator.send(new GetConnectorWithRectRequest(this.getInput()));
3885
3891
  }
3886
3892
  getOutput() {
3887
- return this.fComponentsStore.fOutputs.find((x) => x.id === this.connection.fOutputId);
3893
+ const result = this.fComponentsStore.fOutputs.find((x) => x.id === this.connection.fOutputId);
3894
+ if (!result) {
3895
+ throw new Error(this.connectorNotFoundPrefix(`fOutput with id ${this.connection.fOutputId} not found`));
3896
+ }
3897
+ return result;
3888
3898
  }
3889
3899
  getInput() {
3890
- return this.fComponentsStore.fInputs.find((x) => x.id === this.connection.fInputId);
3900
+ const result = this.fComponentsStore.fInputs.find((x) => x.id === this.connection.fInputId);
3901
+ if (!result) {
3902
+ throw new Error(this.connectorNotFoundPrefix(`fInput with id ${this.connection.fInputId} not found`));
3903
+ }
3904
+ return result;
3905
+ }
3906
+ connectorNotFoundPrefix(message) {
3907
+ return `ConnectionDragHandler Error: Connection From (fOutput)${this.connection.fOutputId} To (fInput)${this.connection.fInputId}. ${message}. Please ensure that all f-connections are associated with existing connectors`;
3891
3908
  }
3892
3909
  getDifference(difference, restrictions) {
3893
3910
  return {
@@ -4123,6 +4140,9 @@ const DEFAULT_RESTRICTIONS = {
4123
4140
  };
4124
4141
 
4125
4142
  class CreateMoveNodesDragModelFromSelectionRequest {
4143
+ constructor(nodeWithDisabledSelection) {
4144
+ this.nodeWithDisabledSelection = nodeWithDisabledSelection;
4145
+ }
4126
4146
  }
4127
4147
 
4128
4148
  class NodeDragHandler {
@@ -4176,13 +4196,17 @@ let CreateMoveNodesDragModelFromSelectionExecution = class CreateMoveNodesDragMo
4176
4196
  this.fMediator = fMediator;
4177
4197
  }
4178
4198
  handle(request) {
4179
- const itemsToDrag = this.getNodesWithRestrictions(this.getSelectedNodes());
4199
+ const itemsToDrag = this.getNodesWithRestrictions(this.getSelectedNodes(request.nodeWithDisabledSelection));
4180
4200
  return this.getDragHandlersWithConnections(this.getDragHandlersFromNodes(itemsToDrag), this.getAllOutputIds(itemsToDrag), this.getAllInputIds(itemsToDrag));
4181
4201
  }
4182
- getSelectedNodes() {
4183
- return this.fDraggableDataContext.selectedItems
4202
+ getSelectedNodes(nodeWithDisabledSelection) {
4203
+ const result = this.fDraggableDataContext.selectedItems
4184
4204
  .map((x) => this.fComponentsStore.findNode(x.hostElement))
4185
4205
  .filter((x) => !!x);
4206
+ if (nodeWithDisabledSelection) {
4207
+ result.push(nodeWithDisabledSelection);
4208
+ }
4209
+ return result;
4186
4210
  }
4187
4211
  getNodesWithRestrictions(selectedNodes) {
4188
4212
  const result = [];
@@ -4244,6 +4268,204 @@ const CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS = [
4244
4268
  CreateMoveNodesDragModelFromSelectionExecution,
4245
4269
  ];
4246
4270
 
4271
+ class NodeDragToParentFinalizeRequest {
4272
+ constructor(event) {
4273
+ this.event = event;
4274
+ }
4275
+ }
4276
+
4277
+ class NodeDragToParentDragHandler {
4278
+ get transform() {
4279
+ return this.fComponentsStore.transform;
4280
+ }
4281
+ constructor(fComponentsStore, fDraggableDataContext, notDraggedNodesRects) {
4282
+ this.fComponentsStore = fComponentsStore;
4283
+ this.fDraggableDataContext = fDraggableDataContext;
4284
+ this.notDraggedNodesRects = notDraggedNodesRects;
4285
+ this.onPointerDownPosition = PointExtensions.initialize();
4286
+ this.fNodeWithRect = null;
4287
+ this.onPointerDownPosition = this.fDraggableDataContext.onPointerDownPosition;
4288
+ }
4289
+ move(difference) {
4290
+ let point = Point.fromPoint(this.onPointerDownPosition).add(difference).mult(this.transform.scale);
4291
+ const isInclude = this.notDraggedNodesRects.findIndex((x) => RectExtensions.isIncludePoint(x.rect, point));
4292
+ if (isInclude !== -1) {
4293
+ this.markIncludeNode(this.notDraggedNodesRects[isInclude]);
4294
+ }
4295
+ else {
4296
+ this.unmarkIncludeNode();
4297
+ }
4298
+ }
4299
+ markIncludeNode(nodeWithRect) {
4300
+ this.unmarkIncludeNode();
4301
+ this.fNodeWithRect = nodeWithRect;
4302
+ nodeWithRect.node.setClass('f-parent-for-drop');
4303
+ }
4304
+ unmarkIncludeNode() {
4305
+ if (this.fNodeWithRect) {
4306
+ this.fNodeWithRect.node.removeClass('f-parent-for-drop');
4307
+ }
4308
+ this.fNodeWithRect = null;
4309
+ }
4310
+ complete() {
4311
+ this.unmarkIncludeNode();
4312
+ }
4313
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentDragHandler, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive }); }
4314
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: NodeDragToParentDragHandler, ngImport: i0 }); }
4315
+ }
4316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentDragHandler, decorators: [{
4317
+ type: Directive
4318
+ }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }, { type: undefined }]; } });
4319
+
4320
+ class FDropToGroupEvent {
4321
+ constructor(fTargetNode, fNodes, fDropPosition) {
4322
+ this.fTargetNode = fTargetNode;
4323
+ this.fNodes = fNodes;
4324
+ this.fDropPosition = fDropPosition;
4325
+ }
4326
+ }
4327
+
4328
+ let NodeDragToParentFinalizeExecution = class NodeDragToParentFinalizeExecution {
4329
+ constructor(fComponentsStore, fDraggableDataContext) {
4330
+ this.fComponentsStore = fComponentsStore;
4331
+ this.fDraggableDataContext = fDraggableDataContext;
4332
+ }
4333
+ handle(request) {
4334
+ const item = this.getDragHandleItem();
4335
+ if (item.fNodeWithRect) {
4336
+ this.emitDroppedChildrenEvent(item.fNodeWithRect.node.fId, request.event);
4337
+ }
4338
+ item.complete?.();
4339
+ }
4340
+ emitDroppedChildrenEvent(fTargetId, event) {
4341
+ this.fComponentsStore.fDraggable?.fDropToGroup.emit(new FDropToGroupEvent(fTargetId, this.getDraggedNodeIds(), event.getPosition()));
4342
+ }
4343
+ getDragHandleItem() {
4344
+ const result = this.findDragHandleItem();
4345
+ if (!result) {
4346
+ throw new Error('NodeDragToParentDragHandler not found');
4347
+ }
4348
+ return result;
4349
+ }
4350
+ findDragHandleItem() {
4351
+ return this.fDraggableDataContext.draggableItems
4352
+ .find((x) => x instanceof NodeDragToParentDragHandler);
4353
+ }
4354
+ getDraggedNodeIds() {
4355
+ return this.fDraggableDataContext.draggableItems
4356
+ .filter((x) => x instanceof NodeDragHandler)
4357
+ .map((x) => x.fNode.fId);
4358
+ }
4359
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentFinalizeExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
4360
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentFinalizeExecution }); }
4361
+ };
4362
+ NodeDragToParentFinalizeExecution = __decorate([
4363
+ FExecutionRegister(NodeDragToParentFinalizeRequest)
4364
+ ], NodeDragToParentFinalizeExecution);
4365
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentFinalizeExecution, decorators: [{
4366
+ type: Injectable
4367
+ }], ctorParameters: function () { return [{ type: FComponentsStore }, { type: FDraggableDataContext }]; } });
4368
+
4369
+ let NodeDragToParentFinalizeValidator = class NodeDragToParentFinalizeValidator {
4370
+ constructor(fDraggableDataContext) {
4371
+ this.fDraggableDataContext = fDraggableDataContext;
4372
+ }
4373
+ handle(request) {
4374
+ return this.fDraggableDataContext.draggableItems
4375
+ .some((x) => x instanceof NodeDragToParentDragHandler);
4376
+ }
4377
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentFinalizeValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
4378
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentFinalizeValidator }); }
4379
+ };
4380
+ NodeDragToParentFinalizeValidator = __decorate([
4381
+ FValidatorRegister(NodeDragToParentFinalizeRequest)
4382
+ ], NodeDragToParentFinalizeValidator);
4383
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentFinalizeValidator, decorators: [{
4384
+ type: Injectable
4385
+ }], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
4386
+
4387
+ const NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS = [
4388
+ NodeDragToParentFinalizeExecution,
4389
+ NodeDragToParentFinalizeValidator,
4390
+ ];
4391
+
4392
+ class NodeDragToParentPreparationRequest {
4393
+ constructor(event) {
4394
+ this.event = event;
4395
+ }
4396
+ }
4397
+
4398
+ let NodeDragToParentPreparationExecution = class NodeDragToParentPreparationExecution {
4399
+ get fNodes() {
4400
+ return this.fComponentsStore.fNodes;
4401
+ }
4402
+ get transform() {
4403
+ return this.fComponentsStore.transform;
4404
+ }
4405
+ get fCanvasPosition() {
4406
+ return PointExtensions.sum(this.transform.position, this.transform.scaledPosition);
4407
+ }
4408
+ constructor(fMediator, fDraggableDataContext, fComponentsStore) {
4409
+ this.fMediator = fMediator;
4410
+ this.fDraggableDataContext = fDraggableDataContext;
4411
+ this.fComponentsStore = fComponentsStore;
4412
+ }
4413
+ handle(request) {
4414
+ const fNode = this.fComponentsStore.findNode(request.event.targetElement);
4415
+ if (!fNode) {
4416
+ throw new Error('Node not found');
4417
+ }
4418
+ this.fDraggableDataContext.draggableItems.push(new NodeDragToParentDragHandler(this.fComponentsStore, this.fDraggableDataContext, this.getNotDraggedNodesRects()));
4419
+ }
4420
+ getNotDraggedNodesRects() {
4421
+ return this.getNotDraggedNodes(this.getDraggedNodes()).map((x) => {
4422
+ const rect = this.fMediator.send(new GetElementRectInFlowRequest(x.hostElement));
4423
+ return {
4424
+ node: x,
4425
+ rect: RectExtensions.initialize(rect.x + this.fCanvasPosition.x, rect.y + this.fCanvasPosition.y, rect.width * this.transform.scale, rect.height * this.transform.scale)
4426
+ };
4427
+ });
4428
+ }
4429
+ getDraggedNodes() {
4430
+ return this.fDraggableDataContext.draggableItems
4431
+ .filter((x) => x instanceof NodeDragHandler)
4432
+ .map((x) => x.fNode);
4433
+ }
4434
+ getNotDraggedNodes(draggedNodes) {
4435
+ return this.fNodes.filter((x) => !draggedNodes.includes(x));
4436
+ }
4437
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentPreparationExecution, deps: [{ token: i2.FMediator }, { token: FDraggableDataContext }, { token: FComponentsStore }], target: i0.ɵɵFactoryTarget.Injectable }); }
4438
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentPreparationExecution }); }
4439
+ };
4440
+ NodeDragToParentPreparationExecution = __decorate([
4441
+ FExecutionRegister(NodeDragToParentPreparationRequest)
4442
+ ], NodeDragToParentPreparationExecution);
4443
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentPreparationExecution, decorators: [{
4444
+ type: Injectable
4445
+ }], ctorParameters: function () { return [{ type: i2.FMediator }, { type: FDraggableDataContext }, { type: FComponentsStore }]; } });
4446
+
4447
+ let NodeDragToParentPreparationValidator = class NodeDragToParentPreparationValidator {
4448
+ constructor(fDraggableDataContext) {
4449
+ this.fDraggableDataContext = fDraggableDataContext;
4450
+ }
4451
+ handle(request) {
4452
+ return this.fDraggableDataContext.draggableItems.some((x) => x instanceof NodeDragHandler);
4453
+ }
4454
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentPreparationValidator, deps: [{ token: FDraggableDataContext }], target: i0.ɵɵFactoryTarget.Injectable }); }
4455
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentPreparationValidator }); }
4456
+ };
4457
+ NodeDragToParentPreparationValidator = __decorate([
4458
+ FValidatorRegister(NodeDragToParentPreparationRequest)
4459
+ ], NodeDragToParentPreparationValidator);
4460
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeDragToParentPreparationValidator, decorators: [{
4461
+ type: Injectable
4462
+ }], ctorParameters: function () { return [{ type: FDraggableDataContext }]; } });
4463
+
4464
+ const NODE_DRAG_TO_PARENT_PREPARATION_PROVIDERS = [
4465
+ NodeDragToParentPreparationExecution,
4466
+ NodeDragToParentPreparationValidator,
4467
+ ];
4468
+
4247
4469
  class NodeMovePreparationRequest {
4248
4470
  constructor(event) {
4249
4471
  this.event = event;
@@ -4263,28 +4485,39 @@ let NodeMovePreparationExecution = class NodeMovePreparationExecution {
4263
4485
  this.fMediator = fMediator;
4264
4486
  }
4265
4487
  handle(request) {
4266
- this.selectAndUpdateNodeLayer(request.event.targetElement);
4267
- const itemsToDrag = this.createDragModelFromSelection();
4488
+ const node = this.getNode(request.event.targetElement);
4489
+ if (!node) {
4490
+ throw new Error('Node not found');
4491
+ }
4492
+ let itemsToDrag = [];
4493
+ if (!node.fSelectionDisabled) {
4494
+ this.selectAndUpdateNodeLayer(node);
4495
+ itemsToDrag = this.createDragModelFromSelection();
4496
+ }
4497
+ else {
4498
+ itemsToDrag = this.createDragModelFromSelection(node);
4499
+ }
4268
4500
  this.initializeLineAlignment(this.filterNodesFromDraggableItems(itemsToDrag));
4269
4501
  this.fDraggableDataContext.onPointerDownScale = this.transform.scale;
4270
4502
  this.fDraggableDataContext.onPointerDownPosition = Point.fromPoint(request.event.getPosition())
4271
4503
  .elementTransform(this.flowHost).div(this.transform.scale);
4272
4504
  this.fDraggableDataContext.draggableItems = itemsToDrag;
4273
4505
  }
4274
- selectAndUpdateNodeLayer(targetElement) {
4275
- this.fMediator.send(new SelectAndUpdateNodeLayerRequest(this.getNode(targetElement)));
4506
+ selectAndUpdateNodeLayer(node) {
4507
+ this.fMediator.send(new SelectAndUpdateNodeLayerRequest(node));
4276
4508
  }
4277
4509
  getNode(targetElement) {
4278
4510
  return this.fComponentsStore.findNode(targetElement);
4279
4511
  }
4280
- createDragModelFromSelection() {
4281
- return this.fMediator.send(new CreateMoveNodesDragModelFromSelectionRequest());
4512
+ createDragModelFromSelection(nodeWithDisabledSelection) {
4513
+ return this.fMediator.send(new CreateMoveNodesDragModelFromSelectionRequest(nodeWithDisabledSelection));
4282
4514
  }
4283
4515
  initializeLineAlignment(nodesToDrag) {
4284
4516
  this.fDraggableDataContext.fLineAlignment?.initialize(this.fComponentsStore.fNodes, nodesToDrag);
4285
4517
  }
4286
4518
  filterNodesFromDraggableItems(items) {
4287
- return items.filter((x) => x instanceof NodeDragHandler).map(x => x.fNode);
4519
+ return items.filter((x) => x instanceof NodeDragHandler)
4520
+ .map(x => x.fNode);
4288
4521
  }
4289
4522
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationExecution, deps: [{ token: FComponentsStore }, { token: FDraggableDataContext }, { token: i2.FMediator }], target: i0.ɵɵFactoryTarget.Injectable }); }
4290
4523
  static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: NodeMovePreparationExecution }); }
@@ -4353,16 +4586,21 @@ let NodeMoveFinalizeExecution = class NodeMoveFinalizeExecution {
4353
4586
  }
4354
4587
  handle(request) {
4355
4588
  const difference = this.getDifferenceWithLineAlignment(this.getDifferenceBetweenPreparationAndFinalize(request.event.getPosition()));
4356
- this.fDraggableDataContext.draggableItems.forEach((x) => {
4589
+ this.getItems().forEach((x) => {
4357
4590
  x.move({ ...difference });
4358
4591
  x.complete?.();
4359
4592
  });
4360
4593
  this.fMediator.send(new IsConnectionUnderNodeRequest());
4361
4594
  this.fDraggableDataContext.fLineAlignment?.complete();
4362
4595
  }
4596
+ getItems() {
4597
+ return this.fDraggableDataContext.draggableItems
4598
+ .filter((x) => !(x instanceof NodeDragToParentDragHandler));
4599
+ }
4363
4600
  getDifferenceBetweenPreparationAndFinalize(position) {
4364
4601
  return Point.fromPoint(position).elementTransform(this.flowHost)
4365
- .div(this.fDraggableDataContext.onPointerDownScale).sub(this.fDraggableDataContext.onPointerDownPosition);
4602
+ .div(this.fDraggableDataContext.onPointerDownScale)
4603
+ .sub(this.fDraggableDataContext.onPointerDownPosition);
4366
4604
  }
4367
4605
  getDifferenceWithLineAlignment(difference) {
4368
4606
  const intersection = this.fDraggableDataContext.fLineAlignment?.findNearestCoordinate(difference);
@@ -4408,6 +4646,8 @@ const NODE_PROVIDERS = [
4408
4646
  ...CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS,
4409
4647
  ...NODE_MOVE_FINALIZE_PROVIDERS,
4410
4648
  ...NODE_MOVE_PREPARATION_PROVIDERS,
4649
+ ...NODE_DRAG_TO_PARENT_PREPARATION_PROVIDERS,
4650
+ ...NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS
4411
4651
  ];
4412
4652
 
4413
4653
  class ApplyChildResizeRestrictionsRequest {
@@ -4871,6 +5111,9 @@ let SingleSelectExecution = class SingleSelectExecution {
4871
5111
  this.clearSelection();
4872
5112
  this.selectItem(item);
4873
5113
  }
5114
+ else if (item.fSelectionDisabled) {
5115
+ this.clearSelection();
5116
+ }
4874
5117
  }
4875
5118
  else {
4876
5119
  this.clearSelection();
@@ -5245,6 +5488,7 @@ class FDraggableDirective extends FDraggableBase {
5245
5488
  this.fCreateNode = new EventEmitter();
5246
5489
  this.fReassignConnection = new EventEmitter();
5247
5490
  this.fCreateConnection = new EventEmitter();
5491
+ this.fDropToGroup = new EventEmitter();
5248
5492
  }
5249
5493
  ngOnInit() {
5250
5494
  this.fComponentsStore.fDraggable = this;
@@ -5272,6 +5516,7 @@ class FDraggableDirective extends FDraggableBase {
5272
5516
  });
5273
5517
  this.fMediator.send(new NodeResizePreparationRequest(event));
5274
5518
  this.fMediator.send(new NodeMovePreparationRequest(event));
5519
+ this.fMediator.send(new NodeDragToParentPreparationRequest(event));
5275
5520
  this.fMediator.send(new CanvasMovePreparationRequest(event));
5276
5521
  this.fMediator.send(new ExternalItemPreparationRequest(event));
5277
5522
  this.fDraggableDataContext.draggableItems.forEach((item) => {
@@ -5319,6 +5564,7 @@ class FDraggableDirective extends FDraggableBase {
5319
5564
  this.fMediator.send(new CreateConnectionFinalizeRequest(event));
5320
5565
  this.fMediator.send(new NodeResizeFinalizeRequest(event));
5321
5566
  this.fMediator.send(new NodeMoveFinalizeRequest(event));
5567
+ this.fMediator.send(new NodeDragToParentFinalizeRequest(event));
5322
5568
  this.fMediator.send(new CanvasMoveFinalizeRequest(event));
5323
5569
  this.fMediator.send(new ExternalItemFinalizeRequest(event));
5324
5570
  this.hostElement.classList.remove('f-dragging');
@@ -5340,7 +5586,7 @@ class FDraggableDirective extends FDraggableBase {
5340
5586
  this.subscriptions$.unsubscribe();
5341
5587
  }
5342
5588
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableDirective, deps: [{ token: i0.ElementRef }, { token: FDraggableDataContext }, { token: NgZone, optional: true }, { token: FComponentsStore }, { token: i2.FMediator }, { token: i1.BrowserService }], target: i0.ɵɵFactoryTarget.Directive }); }
5343
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled"] }, outputs: { fSelectionChange: "fSelectionChange", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection" }, queries: [{ propertyName: "plugins", predicate: F_DRAG_AND_DROP_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 }); }
5589
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: FDraggableDirective, selector: "f-flow[fDraggable]", inputs: { disabled: ["fDraggableDisabled", "disabled"] }, outputs: { fSelectionChange: "fSelectionChange", fCreateNode: "fCreateNode", fReassignConnection: "fReassignConnection", fCreateConnection: "fCreateConnection", fDropToGroup: "fDropToGroup" }, queries: [{ propertyName: "plugins", predicate: F_DRAG_AND_DROP_PLUGIN, descendants: true }], exportAs: ["fDraggable"], usesInheritance: true, ngImport: i0 }); }
5344
5590
  }
5345
5591
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FDraggableDirective, decorators: [{
5346
5592
  type: Directive,
@@ -5364,6 +5610,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
5364
5610
  type: Output
5365
5611
  }], fCreateConnection: [{
5366
5612
  type: Output
5613
+ }], fDropToGroup: [{
5614
+ type: Output
5367
5615
  }], plugins: [{
5368
5616
  type: ContentChildren,
5369
5617
  args: [F_DRAG_AND_DROP_PLUGIN, { descendants: true }]
@@ -6793,7 +7041,7 @@ class FRectPatternComponent {
6793
7041
  this._stateChanges.next();
6794
7042
  }
6795
7043
  set hColor(value) {
6796
- this._vColor = value;
7044
+ this._hColor = value;
6797
7045
  this._stateChanges.next();
6798
7046
  }
6799
7047
  set vSize(value) {
@@ -7762,6 +8010,38 @@ class FZoomBase {
7762
8010
  this.fComponentsStore = fComponentsStore;
7763
8011
  this.isEnabled = false;
7764
8012
  this.listeners = EventExtensions.emptyListener();
8013
+ this.onWheel = (event) => {
8014
+ event.preventDefault();
8015
+ const targetElement = event.target;
8016
+ if (this.fComponentsStore.fDraggable?.isDragStarted || targetElement?.closest('[fLockedContext]')) {
8017
+ return;
8018
+ }
8019
+ let result = this.getScale();
8020
+ const direction = event.deltaY > 0 ? -1 : 1;
8021
+ const step = this.step;
8022
+ result = result + step * direction;
8023
+ result = Math.max(this.minimum, Math.min(result, this.maximum));
8024
+ const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
8025
+ this.fCanvas.setZoom(result, pointerPositionInFlow);
8026
+ this.fCanvas.redraw();
8027
+ this.fCanvas.emitCanvasChangeEvent();
8028
+ };
8029
+ this.onDoubleClick = (event) => {
8030
+ event.preventDefault();
8031
+ const targetElement = event.target;
8032
+ if (this.fComponentsStore.fDraggable?.isDragStarted || isNode(targetElement) || targetElement?.closest('[fLockedContext]')) {
8033
+ return;
8034
+ }
8035
+ let result = this.getScale();
8036
+ const direction = 1;
8037
+ const step = this.dblClickStep;
8038
+ result = result + step * direction;
8039
+ result = Math.max(this.minimum, Math.min(result, this.maximum));
8040
+ const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
8041
+ this.fCanvas.setZoom(result, pointerPositionInFlow);
8042
+ this.fCanvas.redrawWithAnimation();
8043
+ this.fCanvas.emitCanvasChangeEvent();
8044
+ };
7765
8045
  }
7766
8046
  toggleZoom() {
7767
8047
  if (this.isEnabled) {
@@ -7776,48 +8056,16 @@ class FZoomBase {
7776
8056
  if (!this.flowHost) {
7777
8057
  return;
7778
8058
  }
7779
- this.flowHost.addEventListener('wheel', this.onWheel.bind(this));
7780
- this.flowHost.addEventListener('dblclick', this.onDoubleClick.bind(this));
8059
+ this.flowHost.addEventListener('wheel', this.onWheel);
8060
+ this.flowHost.addEventListener('dblclick', this.onDoubleClick);
7781
8061
  this.listeners = () => {
7782
- this.flowHost.removeEventListener('wheel', this.onWheel.bind(this));
7783
- this.flowHost.removeEventListener('dblclick', this.onDoubleClick.bind(this));
8062
+ this.flowHost.removeEventListener('wheel', this.onWheel);
8063
+ this.flowHost.removeEventListener('dblclick', this.onDoubleClick);
7784
8064
  };
7785
8065
  }
7786
8066
  getScale() {
7787
8067
  return this.fCanvas.transform.scale || 1;
7788
8068
  }
7789
- onWheel(event) {
7790
- event.preventDefault();
7791
- const targetElement = event.target;
7792
- if (this.fComponentsStore.fDraggable?.isDragStarted || targetElement?.closest('[fLockedContext]')) {
7793
- return;
7794
- }
7795
- let result = this.getScale();
7796
- const direction = event.deltaY > 0 ? -1 : 1;
7797
- const step = this.step;
7798
- result = result + step * direction;
7799
- result = Math.max(this.minimum, Math.min(result, this.maximum));
7800
- const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
7801
- this.fCanvas.setZoom(result, pointerPositionInFlow);
7802
- this.fCanvas.redraw();
7803
- this.fCanvas.emitCanvasChangeEvent();
7804
- }
7805
- onDoubleClick(event) {
7806
- event.preventDefault();
7807
- const targetElement = event.target;
7808
- if (this.fComponentsStore.fDraggable?.isDragStarted || isNode(targetElement) || targetElement?.closest('[fLockedContext]')) {
7809
- return;
7810
- }
7811
- let result = this.getScale();
7812
- const direction = 1;
7813
- const step = this.dblClickStep;
7814
- result = result + step * direction;
7815
- result = Math.max(this.minimum, Math.min(result, this.maximum));
7816
- const pointerPositionInFlow = new Point(event.clientX, event.clientY).elementTransform(this.flowHost);
7817
- this.fCanvas.setZoom(result, pointerPositionInFlow);
7818
- this.fCanvas.redrawWithAnimation();
7819
- this.fCanvas.emitCanvasChangeEvent();
7820
- }
7821
8069
  onZoomToCenter(deltaY, position) {
7822
8070
  const preventDefault = () => {
7823
8071
  };
@@ -7947,5 +8195,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
7947
8195
  * Generated bundle index. Do not edit.
7948
8196
  */
7949
8197
 
7950
- export { AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, CANVAS_MOVE_FINALIZE_PROVIDERS, CANVAS_MOVE_PREPARATION_PROVIDERS, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CanvasDragHandler, CanvasMoveFinalizeExecution, CanvasMoveFinalizeRequest, CanvasMoveFinalizeValidator, CanvasMovePreparationExecution, CanvasMovePreparationRequest, CanvasMovePreparationValidator, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, ConnectionBaseDragHandler, ConnectionDragHandler, ConnectionSourceDragHandler, ConnectionTargetDragHandler, CreateConnectionDragHandler, CreateConnectionDragHandlerExecution, CreateConnectionDragHandlerRequest, CreateConnectionFinalizeExecution, CreateConnectionFinalizeRequest, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutletPreparationRequest, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationRequest, CreateConnectionFromOutputPreparationValidator, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateConnectionPreparationExecution, CreateConnectionPreparationRequest, CreateConnectionPreparationValidator, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, CreateRoundedRectFromElementExecution, CreateRoundedRectFromElementRequest, DRAG_AND_DROP_COMMON_PROVIDERS, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EXTERNAL_ITEM_FINALIZE_PROVIDERS, EXTERNAL_ITEM_PREPARATION_PROVIDERS, EmitTransformChangesExecution, EmitTransformChangesRequest, ExternalItemDragHandler, ExternalItemFinalizeExecution, ExternalItemFinalizeRequest, ExternalItemFinalizeValidator, ExternalItemPreparationExecution, ExternalItemPreparationRequest, ExternalItemPreparationValidator, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionEvent, FCreateNodeEvent, FDragHandleDirective, FDraggableBase, FDraggableDataContext, FDraggableDirective, FExternalItemBase, FExternalItemDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeInputBase, FNodeInputDirective, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FReassignConnectionEvent, FRectPatternComponent, FResizeHandleDirective, FResizeObserver, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSnapConnectionComponent, FStraightPathBuilder, FTransformStore, FZoomBase, FZoomDirective, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_CANVAS, F_CANVAS_ANIMATION_DURATION, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_PROVIDERS, F_DRAGGABLE_PROVIDERS, F_DRAG_AND_DROP_PLUGIN, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_ZOOM, F_ZOOM_PROVIDERS, FindClosestInputUsingSnapThresholdExecution, FindClosestInputUsingSnapThresholdRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputPositionsExecution, GetAllCanBeConnectedInputPositionsRequest, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletRequest, GetCanBeConnectedOutputByOutletValidator, GetCanBeSelectedItemsExecution, GetConnectionLineExecution, GetConnectionLineRequest, GetConnectorWithRectExecution, GetConnectorWithRectRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRectInFlowExecution, GetElementRectInFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetInputUnderPointerExecution, GetInputUnderPointerRequest, GetInputUnderPointerValidator, GetNodeMoveRestrictionsExecution, GetNodeMoveRestrictionsRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesRectExecution, GetNodesRectRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedNodeRectExecution, GetNormalizedNodeRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetParentNodesExecution, GetParentNodesRequest, GetPositionInFlowExecution, GetPositionInFlowRequest, GetScaledNodeRectsWithFlowPositionExecution, GetScaledNodeRectsWithFlowPositionRequest, GetSelectionExecution, GetSelectionRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, LineElement, LineService, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragFinalizeValidator, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDragPreparationValidator, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_MOVE_FINALIZE_PROVIDERS, NODE_MOVE_PREPARATION_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_FINALIZE_PROVIDERS, NODE_RESIZE_PREPARATION_PROVIDERS, NODE_RESIZE_PROVIDERS, NearestCoordinateFinder, NodeDragHandler, NodeMoveFinalizeExecution, NodeMoveFinalizeRequest, NodeMoveFinalizeValidator, NodeMovePreparationExecution, NodeMovePreparationRequest, NodeMovePreparationValidator, NodeResizeByChildDragHandler, NodeResizeDragHandler, NodeResizeFinalizeExecution, NodeResizeFinalizeRequest, NodeResizeFinalizeValidator, NodeResizePreparationExecution, NodeResizePreparationRequest, NodeResizePreparationValidator, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, ReassignConnectionDragHandler, ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeRequest, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationRequest, ReassignConnectionPreparationValidator, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, SELECTION_AREA_FINALIZE_PROVIDERS, SELECTION_AREA_PREPARATION_PROVIDERS, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaFinalizeValidator, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SelectionAreaPreparationValidator, ShowConnectionsAfterCalculationsExecution, ShowConnectionsAfterCalculationsRequest, SingleSelectExecution, SingleSelectRequest, SingleSelectValidator, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SubscribeOnTransformChangesExecution, SubscribeOnTransformChangesRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateScaleExecution, UpdateScaleRequest, checkRectIsFinite, createSVGElement, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isGroup, isNode, isNodeOutlet, isNodeOutput, mixinChangeSelection, mixinChangeVisibility };
8198
+ export { AddConnectionToStoreExecution, AddConnectionToStoreRequest, AddPatternToBackgroundExecution, AddPatternToBackgroundRequest, ApplyChildResizeRestrictionsExecution, ApplyChildResizeRestrictionsRequest, ApplyParentResizeRestrictionsExecution, ApplyParentResizeRestrictionsRequest, CANVAS_MOVE_FINALIZE_PROVIDERS, CANVAS_MOVE_PREPARATION_PROVIDERS, CANVAS_PROVIDERS, COMMON_PROVIDERS, CONNECTIONS_PROVIDERS, CONNECTION_GRADIENT, CONNECTION_PATH, CONNECTION_TEXT, CREATE_MOVE_NODE_DRAG_MODEL_FROM_SELECTION_PROVIDERS, CalculateCenterBetweenPointsHandler, CalculateCenterBetweenPointsRequest, CalculateChangedPositionExecution, CalculateChangedPositionRequest, CalculateChangedSizeExecution, CalculateChangedSizeRequest, CalculateConnectionCenterHandler, CalculateConnectionCenterRequest, CalculateConnectorConnectableSideHandler, CalculateConnectorConnectableSideRequest, CalculateFlowPointFromMinimapPointExecution, CalculateFlowPointFromMinimapPointRequest, CanvasDragHandler, CanvasMoveFinalizeExecution, CanvasMoveFinalizeRequest, CanvasMoveFinalizeValidator, CanvasMovePreparationExecution, CanvasMovePreparationRequest, CanvasMovePreparationValidator, CenterGroupOrNodeExecution, CenterGroupOrNodeRequest, ClearSelectionExecution, ClearSelectionRequest, ConnectionBaseDragHandler, ConnectionDragHandler, ConnectionSourceDragHandler, ConnectionTargetDragHandler, CreateConnectionDragHandler, CreateConnectionDragHandlerExecution, CreateConnectionDragHandlerRequest, CreateConnectionFinalizeExecution, CreateConnectionFinalizeRequest, CreateConnectionFinalizeValidator, CreateConnectionFromOutletPreparationExecution, CreateConnectionFromOutletPreparationRequest, CreateConnectionFromOutputPreparationExecution, CreateConnectionFromOutputPreparationRequest, CreateConnectionFromOutputPreparationValidator, CreateConnectionMarkersExecution, CreateConnectionMarkersRequest, CreateConnectionPreparationExecution, CreateConnectionPreparationRequest, CreateConnectionPreparationValidator, CreateMoveNodesDragModelFromSelectionExecution, CreateMoveNodesDragModelFromSelectionRequest, CreateRoundedRectFromElementExecution, CreateRoundedRectFromElementRequest, DRAG_AND_DROP_COMMON_PROVIDERS, EFConnectableSide, EFConnectionBehavior, EFConnectionType, EFMarkerType, EFResizeHandleType, EXTERNAL_ITEM_FINALIZE_PROVIDERS, EXTERNAL_ITEM_PREPARATION_PROVIDERS, EmitTransformChangesExecution, EmitTransformChangesRequest, ExternalItemDragHandler, ExternalItemFinalizeExecution, ExternalItemFinalizeRequest, ExternalItemFinalizeValidator, ExternalItemPreparationExecution, ExternalItemPreparationRequest, ExternalItemPreparationValidator, FBackgroundBase, FBackgroundComponent, FBezierPathBuilder, FCanvasBase, FCanvasChangeEvent, FCanvasComponent, FCirclePatternComponent, FComponentsStore, FConnectionBase, FConnectionCenterDirective, FConnectionComponent, FConnectionDragHandleComponent, FConnectionFactory, FConnectionForCreateComponent, FConnectionGradientComponent, FConnectionPathComponent, FConnectionSelectionComponent, FConnectionTextComponent, FConnectionTextPathDirective, FConnectorBase, FCreateConnectionEvent, FCreateNodeEvent, FDragHandleDirective, FDraggableBase, FDraggableDataContext, FDraggableDirective, FDropToGroupEvent, FExternalItemBase, FExternalItemDirective, FExternalItemService, FFlowBase, FFlowComponent, FFlowModule, FGroupDirective, FLineAlignmentBase, FLineAlignmentComponent, FMarkerBase, FMarkerDirective, FMinimapCanvasDirective, FMinimapComponent, FMinimapData, FMinimapDragHandler, FMinimapFlowDirective, FMinimapViewDirective, FNodeBase, FNodeDirective, FNodeInputBase, FNodeInputDirective, FNodeOutletBase, FNodeOutletDirective, FNodeOutputBase, FNodeOutputDirective, FReassignConnectionEvent, FRectPatternComponent, FResizeHandleDirective, FResizeObserver, FRotateHandleDirective, FSegmentPathBuilder, FSelectionAreaBase, FSelectionAreaComponent, FSelectionChangeEvent, FSnapConnectionComponent, FStraightPathBuilder, FTransformStore, FZoomBase, FZoomDirective, F_BACKGROUND, F_BACKGROUND_FEATURES, F_BACKGROUND_PATTERN, F_BACKGROUND_PROVIDERS, F_CANVAS, F_CANVAS_ANIMATION_DURATION, F_CANVAS_FEATURES, F_CANVAS_PROVIDERS, F_CONNECTION_BUILDERS, F_CONNECTION_DRAG_HANDLE_CLASS, F_CONNECTION_FEATURES, F_CONNECTION_IDENTIFIERS, F_CONNECTION_PROVIDERS, F_CONNECTORS_PROVIDERS, F_DRAGGABLE_PROVIDERS, F_DRAG_AND_DROP_PLUGIN, F_DRAG_HANDLE, F_EXTERNAL_ITEM, F_EXTERNAL_ITEM_DRAG_AND_DROP_PROVIDERS, F_EXTERNAL_ITEM_PROVIDERS, F_FLOW, F_FLOW_PROVIDERS, F_LINE_ALIGNMENT, F_LINE_ALIGNMENT_PROVIDERS, F_MARKER, F_MINIMAP_DRAG_AND_DROP_PROVIDERS, F_MINIMAP_PROVIDERS, F_NODE, F_NODE_INPUT, F_NODE_OUTLET, F_NODE_OUTPUT, F_NODE_PROVIDERS, F_RESIZE_HANDLE, F_SELECTED_CLASS, F_SELECTION_AREA_DRAG_AND_DROP_PROVIDERS, F_SELECTION_AREA_PROVIDERS, F_SELECTION_FEATURES, F_ZOOM, F_ZOOM_PROVIDERS, FindClosestInputUsingSnapThresholdExecution, FindClosestInputUsingSnapThresholdRequest, FitToFlowExecution, FitToFlowRequest, GET_FLOW_STATE_PROVIDERS, GetAllCanBeConnectedInputPositionsExecution, GetAllCanBeConnectedInputPositionsRequest, GetCanBeConnectedOutputByOutletExecution, GetCanBeConnectedOutputByOutletRequest, GetCanBeConnectedOutputByOutletValidator, GetCanBeSelectedItemsExecution, GetConnectionLineExecution, GetConnectionLineRequest, GetConnectorWithRectExecution, GetConnectorWithRectRequest, GetDeepChildrenNodesAndGroupsExecution, GetDeepChildrenNodesAndGroupsRequest, GetElementRectInFlowExecution, GetElementRectInFlowRequest, GetFlowStateConnectionsExecution, GetFlowStateConnectionsRequest, GetFlowStateExecution, GetFlowStateNodesExecution, GetFlowStateNodesRequest, GetFlowStateRequest, GetInputUnderPointerExecution, GetInputUnderPointerRequest, GetInputUnderPointerValidator, GetNodeMoveRestrictionsExecution, GetNodeMoveRestrictionsRequest, GetNodePaddingExecution, GetNodePaddingRequest, GetNodeResizeRestrictionsExecution, GetNodeResizeRestrictionsRequest, GetNodesRectExecution, GetNodesRectRequest, GetNormalizedChildrenNodesRectExecution, GetNormalizedChildrenNodesRectRequest, GetNormalizedNodeRectExecution, GetNormalizedNodeRectRequest, GetNormalizedParentNodeRectExecution, GetNormalizedParentNodeRectRequest, GetParentNodesExecution, GetParentNodesRequest, GetPositionInFlowExecution, GetPositionInFlowRequest, GetScaledNodeRectsWithFlowPositionExecution, GetScaledNodeRectsWithFlowPositionRequest, GetSelectionExecution, GetSelectionRequest, InputCanvasPositionExecution, InputCanvasPositionRequest, InputCanvasScaleExecution, InputCanvasScaleRequest, IsArrayHasParentNodeExecution, IsArrayHasParentNodeRequest, IsConnectionUnderNodeExecution, LineElement, LineService, MINIMAP_DRAG_FINALIZE_PROVIDERS, MINIMAP_DRAG_PREPARATION_PROVIDERS, MinimapDragFinalizeExecution, MinimapDragFinalizeRequest, MinimapDragFinalizeValidator, MinimapDragPreparationExecution, MinimapDragPreparationRequest, MinimapDragPreparationValidator, MoveFrontElementsBeforeTargetElementExecution, MoveFrontElementsBeforeTargetElementRequest, NODE_DRAG_TO_PARENT_FINALIZE_PROVIDERS, NODE_DRAG_TO_PARENT_PREPARATION_PROVIDERS, NODE_MOVE_FINALIZE_PROVIDERS, NODE_MOVE_PREPARATION_PROVIDERS, NODE_PROVIDERS, NODE_RESIZE_FINALIZE_PROVIDERS, NODE_RESIZE_PREPARATION_PROVIDERS, NODE_RESIZE_PROVIDERS, NearestCoordinateFinder, NodeDragHandler, NodeDragToParentDragHandler, NodeDragToParentFinalizeExecution, NodeDragToParentFinalizeRequest, NodeDragToParentFinalizeValidator, NodeDragToParentPreparationExecution, NodeDragToParentPreparationRequest, NodeDragToParentPreparationValidator, NodeMoveFinalizeExecution, NodeMoveFinalizeRequest, NodeMoveFinalizeValidator, NodeMovePreparationExecution, NodeMovePreparationRequest, NodeMovePreparationValidator, NodeResizeByChildDragHandler, NodeResizeDragHandler, NodeResizeFinalizeExecution, NodeResizeFinalizeRequest, NodeResizeFinalizeValidator, NodeResizePreparationExecution, NodeResizePreparationRequest, NodeResizePreparationValidator, PutInputConnectionHandlersToArrayExecution, PutInputConnectionHandlersToArrayRequest, PutOutputConnectionHandlersToArrayExecution, PutOutputConnectionHandlersToArrayRequest, RESIZE_DIRECTIONS, ReassignConnectionDragHandler, ReassignConnectionFinalizeExecution, ReassignConnectionFinalizeRequest, ReassignConnectionFinalizeValidator, ReassignConnectionPreparationExecution, ReassignConnectionPreparationRequest, ReassignConnectionPreparationValidator, RedrawConnectionsExecution, RedrawConnectionsRequest, RemoveConnectionFromStoreExecution, RemoveConnectionFromStoreRequest, ResetScaleAndCenterExecution, ResetScaleAndCenterRequest, ResetScaleExecution, ResetScaleRequest, SELECTION_AREA_FINALIZE_PROVIDERS, SELECTION_AREA_PREPARATION_PROVIDERS, SINGLE_SELECT_PROVIDERS, SelectAllExecution, SelectAllRequest, SelectAndUpdateNodeLayerExecution, SelectAndUpdateNodeLayerRequest, SelectExecution, SelectRequest, SelectionAreaDragHandle, SelectionAreaFinalizeExecution, SelectionAreaFinalizeRequest, SelectionAreaFinalizeValidator, SelectionAreaPreparationExecution, SelectionAreaPreparationRequest, SelectionAreaPreparationValidator, ShowConnectionsAfterCalculationsExecution, ShowConnectionsAfterCalculationsRequest, SingleSelectExecution, SingleSelectRequest, SingleSelectValidator, SortItemLayersExecution, SortItemLayersRequest, SortItemsByParentExecution, SortItemsByParentRequest, SortNodeLayersExecution, SortNodeLayersRequest, SubscribeOnTransformChangesExecution, SubscribeOnTransformChangesRequest, UpdateItemAndChildrenLayersExecution, UpdateItemAndChildrenLayersRequest, UpdateScaleExecution, UpdateScaleRequest, checkRectIsFinite, createSVGElement, getExternalItem, getMarkerEndId, getMarkerSelectedEndId, getMarkerSelectedStartId, getMarkerStartId, isExternalItem, isGroup, isNode, isNodeOutlet, isNodeOutput, mixinChangeSelection, mixinChangeVisibility };
7951
8199
  //# sourceMappingURL=foblex-flow.mjs.map