@ieeesa-npm/presentation 0.10.8 → 0.11.0

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.
@@ -14,6 +14,10 @@ export declare class HeaderComponent implements OnDestroy {
14
14
  private authService;
15
15
  private storageService;
16
16
  private headerConfigInfo;
17
+ screenTexts: any;
18
+ private profileMenuOptions;
19
+ menuItems: Menu[];
20
+ isMobileView: boolean;
17
21
  /**
18
22
  * HeaderConfig represents the configurable properties required for header component.
19
23
  * Input property of the component to get the configurable values such as logo, app title, signed in user name and logout redirect URL.
@@ -25,13 +29,9 @@ export declare class HeaderComponent implements OnDestroy {
25
29
  set menuConfig(value: Menu[]);
26
30
  get menuConfig(): Menu[];
27
31
  destroy$: Subject<boolean>;
28
- screenTexts: any;
29
- isMobileView: boolean;
30
32
  toggleNavMenuClick: EventEmitter<Event>;
31
33
  profileMenuClick: EventEmitter<Menu>;
32
- private profileMenuOptions;
33
34
  userProfileIconButton: IconButton;
34
- menuItems: Menu[];
35
35
  constructor(breakPointObserverService: BreakpointObserverService, authService: AuthService, storageService: StorageService);
36
36
  /**
37
37
  * Desktop event to navigate to logout page.
@@ -52,6 +52,10 @@ export declare class HeaderComponent implements OnDestroy {
52
52
  * @memberof HeaderComponent
53
53
  */
54
54
  onUserProfileMenuClick(menu: Menu): void;
55
+ /**
56
+ * Modifies the menu items based on mobile or desktop.
57
+ */
58
+ getMenuItems(): void;
55
59
  /**
56
60
  * Cleans up resources when the component is destroyed.
57
61
  * @memberof HeaderComponent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ieeesa-npm/presentation",
3
- "version": "0.10.8",
3
+ "version": "0.11.0",
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.2.5",
22
- "@ieeesa-npm/feature": "^0.8.8"
21
+ "@ieeesa-npm/shared-styles": "^0.2.6",
22
+ "@ieeesa-npm/feature": "^0.9.0"
23
23
  },
24
24
  "dependencies": {
25
25
  "tslib": "^2.3.0"