@firestitch/block-editor 12.2.1 → 12.2.4

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.
@@ -1,4 +1,4 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef, IterableDiffers, OnDestroy, OnInit, QueryList } from '@angular/core';
1
+ import { ChangeDetectorRef, ElementRef, OnDestroy, OnInit, QueryList } from '@angular/core';
2
2
  import { FsZoomPanComponent } from '@firestitch/zoom-pan';
3
3
  import { BlockEditorConfig } from '../../interfaces/block-editor-config';
4
4
  import { FsBlockComponent } from '../block/block.component';
@@ -8,11 +8,10 @@ import { FsBlockEditorSidebarPanelDirective } from '../../directives/block-edito
8
8
  import { FsBlockEditorMarginDirective } from '../../directives/block-editor-margin.directive';
9
9
  import { SidebarComponent } from '../sidebar/sidebar.component';
10
10
  import * as i0 from "@angular/core";
11
- export declare class ArtboardComponent implements OnInit, AfterViewInit, OnDestroy {
11
+ export declare class ArtboardComponent implements OnInit, OnDestroy {
12
12
  private _el;
13
13
  private _blockEditor;
14
14
  private _cdRef;
15
- private _differs;
16
15
  sidebarPanels: QueryList<FsBlockEditorSidebarPanelDirective>;
17
16
  blockComponents: QueryList<FsBlockComponent>;
18
17
  artboard: ElementRef;
@@ -22,13 +21,10 @@ export declare class ArtboardComponent implements OnInit, AfterViewInit, OnDestr
22
21
  config: BlockEditorConfig;
23
22
  zoompan: FsZoomPanComponent;
24
23
  blocks: Block[];
25
- private _differ;
26
24
  private _destroy$;
27
- constructor(_el: ElementRef, _blockEditor: BlockEditorService, _cdRef: ChangeDetectorRef, _differs: IterableDiffers);
25
+ constructor(_el: ElementRef, _blockEditor: BlockEditorService, _cdRef: ChangeDetectorRef);
28
26
  get el(): any;
29
27
  ngOnInit(): void;
30
- blockChanged(block: Block<any>): void;
31
- ngAfterViewInit(): void;
32
28
  ngOnDestroy(): void;
33
29
  static ɵfac: i0.ɵɵFactoryDeclaration<ArtboardComponent, never>;
34
30
  static ɵcmp: i0.ɵɵComponentDeclaration<ArtboardComponent, "app-artboard", never, { "config": "config"; "zoompan": "zoompan"; }, {}, ["sidebarPanels"], never>;
@@ -4,7 +4,7 @@ import { FsBlockComponent } from '../block/block.component';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class LayersReorderDialogComponent {
6
6
  private _dialogRef;
7
- fields: FsBlockComponent[];
7
+ blockComponents: FsBlockComponent[];
8
8
  blockTypeIcons: {};
9
9
  constructor(_dialogData: unknown, _dialogRef: MatDialogRef<LayersReorderDialogComponent>);
10
10
  swapItems(event: CdkDragDrop<FsBlockComponent>): void;
@@ -70,7 +70,6 @@ export declare class SidebarComponent implements OnInit, OnDestroy {
70
70
  layerUp(): void;
71
71
  layerDown(): void;
72
72
  reorderLayers(): void;
73
- blockChanged(block: Block<any>): void;
74
73
  inputFocus(event: any): void;
75
74
  ngOnDestroy(): void;
76
75
  validNumeric(value: any): boolean;
@@ -23,7 +23,6 @@ export declare class BlockEditorService implements OnDestroy {
23
23
  init(config: BlockEditorConfig): void;
24
24
  blockAdd(block: Block, newBlock?: boolean): void;
25
25
  blockUpload(block: Block, fsFile: FsFile, newBlock?: boolean): void;
26
- private _updateIndexesFor;
27
26
  blockRemove(block: Block): void;
28
27
  removeSelectedBlocks(): void;
29
28
  get blocks$(): Observable<Block[]>;
@@ -86,18 +86,18 @@
86
86
  this._init(_dialogData);
87
87
  }
88
88
  LayersReorderDialogComponent.prototype.swapItems = function (event) {
89
- i7.moveItemInArray(this.fields, event.previousIndex, event.currentIndex);
89
+ i7.moveItemInArray(this.blockComponents, event.previousIndex, event.currentIndex);
90
90
  };
91
91
  LayersReorderDialogComponent.prototype.done = function () {
92
- this._dialogRef.close(this.fields);
92
+ this._dialogRef.close(this.blockComponents);
93
93
  };
94
94
  LayersReorderDialogComponent.prototype._init = function (data) {
95
- this.fields = data.fields;
95
+ this.blockComponents = data.blockComponents;
96
96
  };
97
97
  return LayersReorderDialogComponent;
98
98
  }());
99
99
  LayersReorderDialogComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayersReorderDialogComponent, deps: [{ token: i1.MAT_DIALOG_DATA }, { token: i1__namespace.MatDialogRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
100
- LayersReorderDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayersReorderDialogComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog>\n <h1 mat-dialog-title><mat-icon>swap_vert</mat-icon> Reorder Fields</h1>\n <mat-dialog-content>\n <mat-list cdkDropList (cdkDropListDropped)=\"swapItems($event)\">\n <mat-divider></mat-divider>\n <ng-container *ngFor=\"let field of fields\">\n <mat-list-item cdkDrag cdkDragLockAxis=\"y\">\n <mat-icon cdkDragHandle>drag_handle</mat-icon>\n <mat-icon>\n {{ blockTypeIcons[field.block.type] }}\n </mat-icon>\n <span class=\"block-label\">\n {{ field.block.label || 'no label' }}\n </span>\n </mat-list-item>\n <mat-divider></mat-divider>\n </ng-container>\n </mat-list>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"done()\">Done</button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: ["h1{display:flex}.mat-icon{margin-right:20px}.block-label{min-width:200px}.cdk-drag-preview{display:flex;padding-left:15px!important;background:#fff;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-preview ::ng-deep .mat-list-item-content{display:flex;flex-direction:row;align-items:center;font-size:16px}.cdk-drag-handle{cursor:grab}.cdk-drag-placeholder{opacity:.2}\n"], components: [{ type: i2__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i3__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i5__namespace.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i4__namespace.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i6__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i7__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i11__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i7__namespace.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }] });
100
+ LayersReorderDialogComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: LayersReorderDialogComponent, selector: "ng-component", ngImport: i0__namespace, template: "<fs-dialog>\n <h1 mat-dialog-title><mat-icon>swap_vert</mat-icon> Reorder Fields</h1>\n <mat-dialog-content>\n <mat-list cdkDropList (cdkDropListDropped)=\"swapItems($event)\">\n <mat-divider></mat-divider>\n <ng-container *ngFor=\"let blockComponent of blockComponents\">\n <mat-list-item cdkDrag cdkDragLockAxis=\"y\">\n <mat-icon cdkDragHandle>drag_handle</mat-icon>\n <mat-icon>\n {{ blockTypeIcons[blockComponent.block.type] }}\n </mat-icon>\n <span class=\"block-label\">\n {{ blockComponent.block.label || 'no label' }}\n </span>\n </mat-list-item>\n <mat-divider></mat-divider>\n </ng-container>\n </mat-list>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-button color=\"primary\" (click)=\"done()\">Done</button>\n </mat-dialog-actions>\n</fs-dialog>\n", styles: ["h1{display:flex}.mat-icon{margin-right:20px}.block-label{min-width:200px}.cdk-drag-preview{display:flex;padding-left:15px!important;background:#fff;box-shadow:0 5px 5px -3px #0003,0 8px 10px 1px #00000024,0 3px 14px 2px #0000001f}.cdk-drag-preview ::ng-deep .mat-list-item-content{display:flex;flex-direction:row;align-items:center;font-size:16px}.cdk-drag-handle{cursor:grab}.cdk-drag-placeholder{opacity:.2}\n"], components: [{ type: i2__namespace.FsDialogComponent, selector: "fs-dialog", inputs: ["mobileMode"] }, { type: i3__namespace.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { type: i4__namespace.MatList, selector: "mat-list, mat-action-list", inputs: ["disableRipple", "disabled"], exportAs: ["matList"] }, { type: i5__namespace.MatDivider, selector: "mat-divider", inputs: ["vertical", "inset"] }, { type: i4__namespace.MatListItem, selector: "mat-list-item, a[mat-list-item], button[mat-list-item]", inputs: ["disableRipple", "disabled"], exportAs: ["matListItem"] }, { type: i6__namespace.MatButton, selector: "button[mat-button], button[mat-raised-button], button[mat-icon-button], button[mat-fab], button[mat-mini-fab], button[mat-stroked-button], button[mat-flat-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }], directives: [{ type: i1__namespace.MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { type: i1__namespace.MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }, { type: i7__namespace.CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "id", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListAutoScrollDisabled", "cdkDropListOrientation", "cdkDropListLockAxis", "cdkDropListData", "cdkDropListAutoScrollStep"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { type: i11__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i7__namespace.CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragDisabled", "cdkDragStartDelay", "cdkDragLockAxis", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragBoundary", "cdkDragRootElement", "cdkDragPreviewContainer", "cdkDragData", "cdkDragFreeDragPosition"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { type: i7__namespace.CdkDragHandle, selector: "[cdkDragHandle]", inputs: ["cdkDragHandleDisabled"] }, { type: i1__namespace.MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]" }] });
101
101
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: LayersReorderDialogComponent, decorators: [{
102
102
  type: i0.Component,
103
103
  args: [{
@@ -505,8 +505,16 @@
505
505
  this._destroy$.complete();
506
506
  };
507
507
  BlocksStore.prototype.init = function (config) {
508
+ var _this = this;
508
509
  this._config = config;
509
510
  this._setBlocks(this._config.blocks);
511
+ if (this._config.blockChanged) {
512
+ this.blockChanged$
513
+ .pipe(operators.groupBy(function (block) { return (block.guid); }), operators.map(function (group) { return group.pipe(operators.debounceTime(250)); }), operators.mergeAll())
514
+ .subscribe(function (block) {
515
+ _this._config.blockChanged(block);
516
+ });
517
+ }
510
518
  };
511
519
  BlocksStore.prototype.blockExists = function (block) {
512
520
  var index = this.blocks.findIndex(function (b) {
@@ -547,9 +555,6 @@
547
555
  });
548
556
  };
549
557
  BlocksStore.prototype.blockChange = function (block) {
550
- if (this._config.blockChanged) {
551
- this._config.blockChanged(block);
552
- }
553
558
  this._dispatchEvent(EventType.Change, block);
554
559
  };
555
560
  BlocksStore.prototype.blockRemove = function (targetBlocks) {
@@ -676,12 +681,6 @@
676
681
  if (newBlock === void 0) { newBlock = false; }
677
682
  this._store.blockUpload(block, fsFile, false);
678
683
  };
679
- BlockEditorService.prototype._updateIndexesFor = function (blocks) {
680
- blocks.forEach(function (block, index) {
681
- block.index = index;
682
- });
683
- return blocks;
684
- };
685
684
  BlockEditorService.prototype.blockRemove = function (block) {
686
685
  this._store.blockRemove(block);
687
686
  };
@@ -811,20 +810,21 @@
811
810
  };
812
811
  BlockEditorService.prototype.openReorderDialog = function () {
813
812
  var _this = this;
814
- var reordableFields = this.blockComponents
813
+ var blockComponents = this.blockComponents
815
814
  .filter(function (blockCmp) {
816
815
  return _this._store.isReordableBlock(blockCmp.block);
817
- });
816
+ })
817
+ .sort(function (blockCmpA, blockCmpB) { return (blockCmpA.block.tabIndex - blockCmpB.block.tabIndex); });
818
818
  this._dialog
819
819
  .open(LayersReorderDialogComponent, {
820
820
  data: {
821
- fields: reordableFields,
821
+ blockComponents: blockComponents,
822
822
  }
823
823
  })
824
824
  .afterClosed()
825
- .pipe(operators.takeUntil(this._destroy$))
826
- .subscribe(function (fields) {
827
- fields.forEach(function (blockCmp, index) {
825
+ .pipe(operators.filter(function (blockComponents) { return !!blockComponents; }), operators.takeUntil(this._destroy$))
826
+ .subscribe(function (blockComponents) {
827
+ blockComponents.forEach(function (blockCmp, index) {
828
828
  blockCmp.block.tabIndex = index;
829
829
  _this._store.blockChange(blockCmp.block);
830
830
  _this._store.updateTabIndex(index);
@@ -1435,11 +1435,6 @@
1435
1435
  (_a = this._document.defaultView) === null || _a === void 0 ? void 0 : _a.scrollTo(0, 0);
1436
1436
  this._blockEditor.openReorderDialog();
1437
1437
  };
1438
- SidebarComponent.prototype.blockChanged = function (block) {
1439
- if (this.config.blockChanged) {
1440
- this.config.blockChanged(block);
1441
- }
1442
- };
1443
1438
  SidebarComponent.prototype.inputFocus = function (event) {
1444
1439
  event.target.select();
1445
1440
  };
@@ -1501,14 +1496,12 @@
1501
1496
  }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }]; } });
1502
1497
 
1503
1498
  var ArtboardComponent = /** @class */ (function () {
1504
- function ArtboardComponent(_el, _blockEditor, _cdRef, _differs) {
1499
+ function ArtboardComponent(_el, _blockEditor, _cdRef) {
1505
1500
  this._el = _el;
1506
1501
  this._blockEditor = _blockEditor;
1507
1502
  this._cdRef = _cdRef;
1508
- this._differs = _differs;
1509
1503
  this.blocks = [];
1510
1504
  this._destroy$ = new rxjs.Subject();
1511
- this._differ = _differs.find([]).create(null);
1512
1505
  }
1513
1506
  Object.defineProperty(ArtboardComponent.prototype, "el", {
1514
1507
  get: function () {
@@ -1557,38 +1550,17 @@
1557
1550
  blockComponent.left = blockComponent.block.left + inchPixel;
1558
1551
  break;
1559
1552
  }
1553
+ _this._blockEditor.blockChange(blockComponent.block);
1560
1554
  });
1561
1555
  });
1562
1556
  };
1563
- ArtboardComponent.prototype.blockChanged = function (block) {
1564
- if (this.config.blockChanged) {
1565
- this.config.blockChanged(block);
1566
- }
1567
- };
1568
- ArtboardComponent.prototype.ngAfterViewInit = function () {
1569
- // this.blockComponents.changes
1570
- // .pipe(
1571
- // takeUntil(this._destroy$),
1572
- // )
1573
- // .subscribe((changes) => {
1574
- // const changeDiff = this._differ.diff(changes);
1575
- // if (changeDiff) {
1576
- // changeDiff.forEachAddedItem((change) => {
1577
- // //this.blockAdded.emit(change.item);
1578
- // });
1579
- // changeDiff.forEachRemovedItem((change) => {
1580
- // //this.blockRemoved.emit(change.item);
1581
- // });
1582
- // }
1583
- // });
1584
- };
1585
1557
  ArtboardComponent.prototype.ngOnDestroy = function () {
1586
1558
  this._destroy$.next();
1587
1559
  this._destroy$.complete();
1588
1560
  };
1589
1561
  return ArtboardComponent;
1590
1562
  }());
1591
- ArtboardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ArtboardComponent, deps: [{ token: i0__namespace.ElementRef }, { token: BlockEditorService }, { token: i0__namespace.ChangeDetectorRef }, { token: i0__namespace.IterableDiffers }], target: i0__namespace.ɵɵFactoryTarget.Component });
1563
+ ArtboardComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ArtboardComponent, deps: [{ token: i0__namespace.ElementRef }, { token: BlockEditorService }, { token: i0__namespace.ChangeDetectorRef }], target: i0__namespace.ɵɵFactoryTarget.Component });
1592
1564
  ArtboardComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ArtboardComponent, selector: "app-artboard", inputs: { config: "config", zoompan: "zoompan" }, queries: [{ propertyName: "sidebarPanels", predicate: FsBlockEditorSidebarPanelDirective }], viewQueries: [{ propertyName: "artboard", first: true, predicate: ["artboard"], descendants: true, static: true }, { propertyName: "marginContainer", first: true, predicate: ["marginContainer"], descendants: true, static: true }, { propertyName: "sidebar", first: true, predicate: SidebarComponent, descendants: true, static: true }, { propertyName: "blockComponents", predicate: FsBlockComponent, descendants: true }, { propertyName: "margins", predicate: FsBlockEditorMarginDirective, descendants: true }], ngImport: i0__namespace, template: "<div\n #artboard\n class=\"artboard mat-elevation-z4 deselectable\"\n [style.width]=\"config.width + config.unit\"\n [style.height]=\"config.height + config.unit\">\n <fs-block\n *ngFor=\"let block of blocks\"\n [zoompan]=\"zoompan\"\n [block]=\"block\">\n </fs-block>\n <div class=\"margin margin-top\" *ngIf=\"config.marginTop\" [style.top]=\"config.marginTop + 'in'\"></div>\n <div class=\"margin margin-left\" *ngIf=\"config.marginLeft\" [style.left]=\"config.marginLeft + 'in'\"></div>\n <div class=\"margin margin-bottom\" *ngIf=\"config.marginBottom\" [style.bottom]=\"config.marginBottom + 'in'\"></div>\n <div class=\"margin margin-right\" *ngIf=\"config.marginRight\" [style.right]=\"config.marginRight + 'in'\"></div>\n <div\n #marginContainer\n class=\"margin-container\"\n [style.top]=\"config.marginTop + 'in'\"\n [style.right]=\"config.marginRight + 'in'\"\n [style.bottom]=\"config.marginBottom + 'in'\"\n [style.left]=\"config.marginLeft + 'in'\">\n </div>\n</div> \n\n", styles: [".artboard{position:relative;display:inline-flex;background-color:#fff}.artboard .margin-container{position:absolute;z-index:-1}.artboard .margin{position:absolute;border-color:#ff85bd5e;border-style:dashed;border-width:0px}.artboard .margin.margin-top,.artboard .margin.margin-bottom{width:100%;border-top-width:1px}.artboard .margin.margin-left,.artboard .margin.margin-right{height:100%;border-left-width:1px}\n"], components: [{ type: FsBlockComponent, selector: "fs-block", inputs: ["block", "html", "zoompan"] }], directives: [{ type: i11__namespace.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i11__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0__namespace.ChangeDetectionStrategy.OnPush });
1593
1565
  i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: ArtboardComponent, decorators: [{
1594
1566
  type: i0.Component,
@@ -1598,7 +1570,7 @@
1598
1570
  styleUrls: ['artboard.component.scss'],
1599
1571
  changeDetection: i0.ChangeDetectionStrategy.OnPush,
1600
1572
  }]
1601
- }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: BlockEditorService }, { type: i0__namespace.ChangeDetectorRef }, { type: i0__namespace.IterableDiffers }]; }, propDecorators: { sidebarPanels: [{
1573
+ }], ctorParameters: function () { return [{ type: i0__namespace.ElementRef }, { type: BlockEditorService }, { type: i0__namespace.ChangeDetectorRef }]; }, propDecorators: { sidebarPanels: [{
1602
1574
  type: i0.ContentChildren,
1603
1575
  args: [FsBlockEditorSidebarPanelDirective]
1604
1576
  }], blockComponents: [{