tango-app-ui-shared 3.0.26-dev → 3.0.27-dev

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.
@@ -0,0 +1,2 @@
1
+ import { CanActivateFn } from '@angular/router';
2
+ export declare const storesGuard: CanActivateFn;
@@ -0,0 +1,2 @@
1
+ import { CanActivateFn } from '@angular/router';
2
+ export declare const ticketsGuard: CanActivateFn;
@@ -1,11 +1,15 @@
1
1
  import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
3
  import { GlobalStateService } from 'tango-app-ui-global';
4
+ import { AuthService } from '../services/auth.service';
5
+ import { Router } from '@angular/router';
4
6
  import * as i0 from "@angular/core";
5
7
  export declare class HttpAuthInterceptor implements HttpInterceptor {
6
8
  private gs;
9
+ private auth;
10
+ private router;
7
11
  authlocalStorageToken: string;
8
- constructor(gs: GlobalStateService);
12
+ constructor(gs: GlobalStateService, auth: AuthService, router: Router);
9
13
  intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
10
14
  static ɵfac: i0.ɵɵFactoryDeclaration<HttpAuthInterceptor, never>;
11
15
  static ɵprov: i0.ɵɵInjectableDeclaration<HttpAuthInterceptor>;
@@ -16,6 +16,7 @@ export declare class SidebarFooterComponent implements OnInit, OnDestroy {
16
16
  toggleType: string;
17
17
  toggleState: string;
18
18
  currentLayoutType: LayoutType | null;
19
+ userValuefooter: any;
19
20
  toggleAttr: string;
20
21
  constructor(auth: AuthService, router: Router, layout: LayoutService);
21
22
  ngOnInit(): void;
@@ -23,5 +24,5 @@ export declare class SidebarFooterComponent implements OnInit, OnDestroy {
23
24
  logout(): void;
24
25
  ngOnDestroy(): void;
25
26
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarFooterComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<SidebarFooterComponent, "lib-sidebar-footer", never, { "toggleButtonClass": { "alias": "toggleButtonClass"; "required": false; }; "toggleEnabled": { "alias": "toggleEnabled"; "required": false; }; "toggleType": { "alias": "toggleType"; "required": false; }; "toggleState": { "alias": "toggleState"; "required": false; }; }, {}, never, never, false, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<SidebarFooterComponent, "lib-sidebar-footer", never, { "toggleButtonClass": { "alias": "toggleButtonClass"; "required": false; }; "toggleEnabled": { "alias": "toggleEnabled"; "required": false; }; "toggleType": { "alias": "toggleType"; "required": false; }; "toggleState": { "alias": "toggleState"; "required": false; }; "userValuefooter": { "alias": "userValuefooter"; "required": false; }; }, {}, never, never, false, never>;
27
28
  }
@@ -1,18 +1,19 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { AuthService } from '../../../../services/auth.service';
3
- import { Router } from '@angular/router';
4
3
  import { GlobalStateService } from 'tango-app-ui-global';
4
+ import { Router } from '@angular/router';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SidebarMenuComponent implements OnInit {
7
7
  private authService;
8
+ gs: GlobalStateService;
8
9
  private router;
9
- private gs;
10
10
  usersList: any;
11
11
  authlocalStorageToken: string;
12
- constructor(authService: AuthService, router: Router, gs: GlobalStateService);
12
+ constructor(authService: AuthService, gs: GlobalStateService, router: Router);
13
13
  private readonly destroy$;
14
14
  ngOnInit(): void;
15
15
  oldDashborad(): void;
16
+ ticketsUsers(): void;
16
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SidebarMenuComponent, never>;
17
18
  static ɵcmp: i0.ɵɵComponentDeclaration<SidebarMenuComponent, "lib-sidebar-menu", never, {}, {}, never, never, false, never>;
18
19
  }
@@ -5,6 +5,7 @@ import * as i0 from "@angular/core";
5
5
  export declare class SidebarComponent implements OnInit, OnDestroy {
6
6
  private layout;
7
7
  private unsubscribe;
8
+ userValue: any;
8
9
  appSidebarDisplay: boolean;
9
10
  appSidebarDefaultFixedDesktop: boolean;
10
11
  appSidebarDefaultMinimizeDesktopEnabled: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tango-app-ui-shared",
3
- "version": "3.0.26-dev",
3
+ "version": "3.0.27-dev",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.0",
6
6
  "@angular/core": "^17.0.0"