barsa-tiles 2.3.34 → 2.3.35

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 { inject, Injectable, ChangeDetectionStrategy, Component, Input, Directive, ChangeDetectorRef, ViewContainerRef, HostListener, Pipe, EventEmitter, Output, HostBinding, Injector, input, Renderer2, TemplateRef, ViewChild, signal, DOCUMENT, NgModule, ComponentFactoryResolver, provideAppInitializer, NO_ERRORS_SCHEMA } from '@angular/core';
3
3
  import * as i2 from 'barsa-novin-ray-core';
4
- import { PortalService, BbbTranslatePipe, BarsaApi, TilePropsComponent, BaseComponent, BaseDirective, IsDarkMode, LocalStorageService, PreventDefaulEvent, getDeviceIsMobile, SaveScrollPositionService, ExecuteDynamicCommand, ShellbarHeightService, GroupByService, APP_VERSION, getDeviceIsDesktop, getDeviceIsTablet, BreadcrumbService, NotificationService, ApplicationCtrlrService, SortDirection, LogService, RoutingService, EmptyPageComponent, TileGroupBreadcrumResolver, PortalPageResolver, AuthGuard, BaseModule, DynamicComponentService, BarsaNovinRayCoreModule } from 'barsa-novin-ray-core';
4
+ import { PortalService, BbbTranslatePipe, BarsaApi, TilePropsComponent, BaseComponent, BaseDirective, IsDarkMode, LocalStorageService, PreventDefaulEvent, getDeviceIsMobile, SaveScrollPositionService, ExecuteDynamicCommand, ShellbarHeightService, GroupByService, APP_VERSION, getDeviceIsDesktop, getDeviceIsTablet, BreadcrumbService, NotificationService, SortDirection, LogService, RoutingService, EmptyPageComponent, TileGroupBreadcrumResolver, PortalPageResolver, AuthGuard, BaseModule, DynamicComponentService, 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, map, concatMap, debounceTime, exhaustMap, finalize, withLatestFrom } from 'rxjs/operators';
7
7
  import { ThemingService, RtlService, DialogRef, DialogService, CarouselComponent, ContentDensityService, ShellbarComponent as ShellbarComponent$1, ComboboxComponent, FundamentalNgxCoreModule, GridListModule, ShellbarUserMenuComponent } from '@fundamental-ngx/core';
@@ -3073,6 +3073,9 @@ class ShellbarComponent extends BaseComponent {
3073
3073
  get IsUserAnonymous() {
3074
3074
  return BarsaApi.LoginFormData.IsAnonymous;
3075
3075
  }
3076
+ get productSwitcher() {
3077
+ return (this.shellbarData?.ProductSwitchItems?.MoDataList ?? []);
3078
+ }
3076
3079
  constructor() {
3077
3080
  super();
3078
3081
  this.isOpenQuickAccess = false;
@@ -3097,7 +3100,6 @@ class ShellbarComponent extends BaseComponent {
3097
3100
  this._domSanitizer = inject(DomSanitizer);
3098
3101
  this._notificationService = inject(NotificationService);
3099
3102
  this._shellbarHeightServcie = inject(ShellbarHeightService);
3100
- this._applicationCtrlrService = inject(ApplicationCtrlrService);
3101
3103
  this.onCultureChanged = (culture) => {
3102
3104
  this._changeCulture(culture);
3103
3105
  };
@@ -3106,7 +3108,6 @@ class ShellbarComponent extends BaseComponent {
3106
3108
  }
3107
3109
  ngOnInit() {
3108
3110
  super.ngOnInit();
3109
- this.productSwitcher$ = this._applicationCtrlrService.appMenuItems$;
3110
3111
  this._shellbarHeightServcie.add('var(--shellbar-height)');
3111
3112
  this.shellbarHeight$ = this._shellbarHeightServcie.shellbarHeight$;
3112
3113
  this.isServiceDesk = BarsaApi.LoginFormData.IsServiceDesk;