asp-lib 1.0.50 → 1.0.52

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,5 +1,5 @@
1
1
  import { EventEmitter } from '@angular/core';
2
- import { Data, Router } from '@angular/router';
2
+ import { ActivatedRoute, Data, Router } from '@angular/router';
3
3
  import { ServicesConfig } from '../utils/models/ServicesConfig';
4
4
  import { SecurityServices } from '../utils/services/SecurityServicesDefault';
5
5
  import { Observable } from 'rxjs';
@@ -17,6 +17,7 @@ export interface DropdownOptionCatergory {
17
17
  export declare class HeaderComponent {
18
18
  private services;
19
19
  private router;
20
+ private route;
20
21
  appLogo: string;
21
22
  theme: string;
22
23
  showBackButton: boolean;
@@ -58,7 +59,7 @@ export declare class HeaderComponent {
58
59
  }[];
59
60
  selectedOption: any;
60
61
  dropdownOptionsMenu: DropdownOptions[];
61
- constructor(services: SecurityServices, router: Router);
62
+ constructor(services: SecurityServices, router: Router, route: ActivatedRoute);
62
63
  ngOnInit(): void;
63
64
  isAuth(): Observable<boolean>;
64
65
  doLogin(): Observable<boolean>;
@@ -75,6 +76,8 @@ export declare class HeaderComponent {
75
76
  currentModule(event: any): void;
76
77
  isExternalUrl(url: string): boolean;
77
78
  getAuthCode(url: string): void;
79
+ encodeBase64Url(text: string): string;
80
+ decodeBase64Url(base64url: any): string;
78
81
  static ɵfac: i0.ɵɵFactoryDeclaration<HeaderComponent, never>;
79
82
  static ɵcmp: i0.ɵɵComponentDeclaration<HeaderComponent, "lib-header", never, { "appLogo": { "alias": "appLogo"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "menuData": { "alias": "menuData"; "required": false; }; "recentOptions": { "alias": "recentOptions"; "required": false; }; "companies": { "alias": "companies"; "required": false; }; "moduleList": { "alias": "moduleList"; "required": false; }; "auto": { "alias": "auto"; "required": false; }; "servicesConfig": { "alias": "servicesConfig"; "required": false; }; "isMobile": { "alias": "isMobile"; "required": false; }; }, { "returnClick": "returnClick"; "menuItemClick": "menuItemClick"; "menuNavigate": "menuNavigate"; "recentNavigate": "recentNavigate"; "moduleSelect": "moduleSelect"; "lastOption": "lastOption"; }, never, never, false, never>;
80
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "asp-lib",
3
- "version": "1.0.50",
3
+ "version": "1.0.52",
4
4
  "peerDependencies": {
5
5
  "@angular/common": ">=16.2.0 <20.0.0",
6
6
  "@angular/core": ">=16.2.0 <20.0.0",