slate-angular 15.1.2 → 15.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1778,8 +1778,8 @@ class ViewContainerItem {
1778
1778
  }
1779
1779
  if (isComponentType(this.viewType)) {
1780
1780
  const componentRef = this.viewContainerRef.createComponent(this.viewType);
1781
- componentRef.instance.context = context;
1782
1781
  componentRef.instance.viewContext = this.viewContext;
1782
+ componentRef.instance.context = context;
1783
1783
  firstRootNode.replaceWith(componentRef.instance.nativeElement);
1784
1784
  this.destroyView();
1785
1785
  this.componentRef = componentRef;
@@ -2383,7 +2383,6 @@ SlateLeavesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", ver
2383
2383
  SlateLeavesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.4", type: SlateLeavesComponent, selector: "slate-leaves", inputs: { context: "context" }, viewQueries: [{ propertyName: "childrenComponent", predicate: SlateLeafComponent, descendants: true, read: SlateLeafComponent }], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<slate-leaf
2384
2384
  [context]="context"
2385
2385
  [viewContext]="viewContext"
2386
- [viewContext]="viewContext"
2387
2386
  *ngFor="let context of leafContexts; trackBy: trackBy"
2388
2387
  ></slate-leaf>`, isInline: true, dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: SlateLeafComponent, selector: "slate-leaf", inputs: ["context"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
2389
2388
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImport: i0, type: SlateLeavesComponent, decorators: [{
@@ -2393,7 +2392,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.4", ngImpor
2393
2392
  template: `<slate-leaf
2394
2393
  [context]="context"
2395
2394
  [viewContext]="viewContext"
2396
- [viewContext]="viewContext"
2397
2395
  *ngFor="let context of leafContexts; trackBy: trackBy"
2398
2396
  ></slate-leaf>`,
2399
2397
  changeDetection: ChangeDetectionStrategy.OnPush