barsa-tiles 1.0.340 → 1.0.341

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,7 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { Injectable, Component, ChangeDetectionStrategy, Input, HostListener, Pipe, HostBinding, EventEmitter, Directive, Output, ElementRef, ViewChild, TemplateRef, Inject, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
3
3
  import * as i1 from 'barsa-novin-ray-core';
4
- import { BarsaApi, TilePropsComponent, BaseComponent, PreventDefaulEvent, BaseDirective, getUniqueId, fromIntersectionObserver, IntersectionStatus, APP_VERSION, BaseModule, BarsaNovinRayCoreModule } from 'barsa-novin-ray-core';
4
+ import { BarsaApi, TilePropsComponent, BaseComponent, PreventDefaulEvent, BaseDirective, fromIntersectionObserver, IntersectionStatus, APP_VERSION, BaseModule, BarsaNovinRayCoreModule } from 'barsa-novin-ray-core';
5
5
  import { Subject, BehaviorSubject, of, from, takeUntil as takeUntil$1, filter as filter$1, interval, combineLatest, forkJoin } from 'rxjs';
6
6
  import { startWith, shareReplay, takeUntil, distinctUntilChanged, filter, tap, concatMap, debounceTime, exhaustMap, finalize, map, withLatestFrom } from 'rxjs/operators';
7
7
  import * as i1$1 from '@fundamental-ngx/core';
@@ -1291,7 +1291,7 @@ class TilesViewerComponent extends BaseComponent {
1291
1291
  this.renameAppTileClick = new EventEmitter();
1292
1292
  this.tilesDropped = new EventEmitter();
1293
1293
  this._rtl = BarsaApi.LoginFormData.IsRtl;
1294
- this.id = getUniqueId(4);
1294
+ this.id = 'tilesviewer';
1295
1295
  }
1296
1296
  ngOnInit() {
1297
1297
  super.ngOnInit();
@@ -1350,7 +1350,6 @@ class TilesViewerComponent extends BaseComponent {
1350
1350
  this.formVisibilityStatus = e;
1351
1351
  if (this.formVisibilityStatus === IntersectionStatus.Visible) {
1352
1352
  const scrollTop = this._saveScrollPosition.getScrollPosition(this.id);
1353
- console.log(scrollTop);
1354
1353
  // window.scrollTo({ top: scrollTop, behavior: 'smooth' });
1355
1354
  this.contentPageRef.nativeElement.scrollTop = scrollTop;
1356
1355
  // this._cdr.detectChanges();