barsa-novin-ray-core 2.2.86 → 2.2.87

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.
@@ -13877,6 +13877,7 @@ class SplideSliderDirective extends BaseDirective {
13877
13877
  this._picFieldSrc = inject(PictureFieldSourcePipe);
13878
13878
  this._renderer2 = inject(Renderer2);
13879
13879
  this._el = inject(ElementRef);
13880
+ this._portalService = inject(PortalService);
13880
13881
  }
13881
13882
  get dom() {
13882
13883
  return this._el.nativeElement;
@@ -13885,6 +13886,9 @@ class SplideSliderDirective extends BaseDirective {
13885
13886
  super.ngOnInit();
13886
13887
  this.type = this.type || 'full';
13887
13888
  this._width = this.width;
13889
+ this._portalService.landscape$
13890
+ .pipe(takeUntil$1(this._onDestroy$), debounceTime$1(100))
13891
+ .subscribe((_c) => this._refreshSplide());
13888
13892
  }
13889
13893
  ngAfterViewInit() {
13890
13894
  this._init();