@ieeesa-npm/presentation 0.3.9 → 0.4.1

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.
@@ -11,13 +11,15 @@ import * as i0 from "@angular/core";
11
11
  export declare class HeaderComponent implements OnDestroy {
12
12
  private router;
13
13
  private breakPointObserverService;
14
+ private headerConfigInfo;
14
15
  /**
15
16
  * HeaderConfig represents the configurable properties required for header component.
16
17
  * Input property of the component to get the configurable values such as logo, app title, signed in user name and logout redirect URL.
17
18
  * @type {HeaderConfig}
18
19
  * @memberof HeaderComponent
19
20
  */
20
- headerConfig: HeaderConfig;
21
+ set headerConfig(value: HeaderConfig);
22
+ get headerConfig(): HeaderConfig;
21
23
  destroy$: Subject<boolean>;
22
24
  screenTexts: any;
23
25
  isMobileView: boolean;
@@ -15,7 +15,7 @@ export declare class NavigationMenuComponent implements OnDestroy {
15
15
  changeDetectorRef: ChangeDetectorRef;
16
16
  media: MediaMatcher;
17
17
  isMenuOpen: boolean;
18
- SideMenu: SideMenuItem[];
18
+ sideMenu: SideMenuItem[];
19
19
  navMenu: MatSidenav;
20
20
  mobileQuery: MediaQueryList;
21
21
  mobileQueryListener: () => void;
@@ -41,5 +41,5 @@ export declare class NavigationMenuComponent implements OnDestroy {
41
41
  toggleNavMenu(): void;
42
42
  ngOnDestroy(): void;
43
43
  static ɵfac: i0.ɵɵFactoryDeclaration<NavigationMenuComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<NavigationMenuComponent, "ieeesa-navigation-menu", never, { "isMenuOpen": { "alias": "isMenuOpen"; "required": false; }; "SideMenu": { "alias": "SideMenu"; "required": false; }; }, {}, never, never, true, never>;
44
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavigationMenuComponent, "ieeesa-navigation-menu", never, { "isMenuOpen": { "alias": "isMenuOpen"; "required": false; }; "sideMenu": { "alias": "sideMenu"; "required": false; }; }, {}, never, never, true, never>;
45
45
  }
@@ -1,8 +1,6 @@
1
- import { EventEmitter, OnDestroy } from '@angular/core';
1
+ import { EventEmitter } from '@angular/core';
2
2
  import { AppConfigInfo } from '../../models/app-config-info.model';
3
3
  import { Router } from '@angular/router';
4
- import { LoaderService } from '@ieeesa-npm/utility';
5
- import { Subject } from 'rxjs';
6
4
  import * as i0 from "@angular/core";
7
5
  /**
8
6
  * Provides reusable implementation to pre-login page by getting the application config information as an input to the component.
@@ -11,9 +9,8 @@ import * as i0 from "@angular/core";
11
9
  * @implements {OnInit}
12
10
  * @implements {OnDestroy}
13
11
  */
14
- export declare class WelcomeComponent implements OnDestroy {
12
+ export declare class WelcomeComponent {
15
13
  private router;
16
- private loaderService;
17
14
  /**
18
15
  * AppConfigInfo data can be passed as input while calling this component using selector and it can also be passed as a route data.
19
16
  * @usage <nesc-welcome [appConfigInfo]="appConfigInfo"></nesc-welcome> or routes: Route[]=[{ path: 'landing', component: WelcomeComponent, data:{appConfigInfo:appConfigInfo} }]
@@ -23,19 +20,13 @@ export declare class WelcomeComponent implements OnDestroy {
23
20
  appConfigInfo: AppConfigInfo;
24
21
  signInClick: EventEmitter<Event>;
25
22
  constants: any;
26
- destroy$: Subject<boolean>;
27
- constructor(router: Router, loaderService: LoaderService);
23
+ constructor(router: Router);
28
24
  /**
29
25
  * Navigates to passed sign in route url or emits the click event in case route url is not there.
30
26
  * @param {Event} event
31
27
  * @memberof WelcomeComponent
32
28
  */
33
29
  onSignInClick(event: Event): void;
34
- /**
35
- * Unsubscribes the open subscriptions while destroying the component.
36
- * @memberof ReusableErrorPageComponent
37
- */
38
- ngOnDestroy(): void;
39
30
  static ɵfac: i0.ɵɵFactoryDeclaration<WelcomeComponent, never>;
40
31
  static ɵcmp: i0.ɵɵComponentDeclaration<WelcomeComponent, "ieeesa-welcome", never, { "appConfigInfo": { "alias": "appConfigInfo"; "required": false; }; }, { "signInClick": "signInClick"; }, never, never, true, never>;
41
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.3.9",
3
+ "version": "0.4.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^16.1.0",
6
6
  "@angular/core": "^16.1.0",
@@ -18,8 +18,8 @@
18
18
  "moment": "^2.29.4",
19
19
  "rxjs": "~7.8.0",
20
20
  "zone.js": "~0.13.0",
21
- "@ieeesa-npm/shared-styles": "^0.0.7",
22
- "@ieeesa-npm/feature": "^0.2.1"
21
+ "@ieeesa-npm/shared-styles": "^0.0.8",
22
+ "@ieeesa-npm/feature": "^0.2.3"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.3.0"