@softheon/armature 17.31.0 → 17.31.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.
@@ -1,15 +1,25 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
2
  import * as i0 from "@angular/core";
3
3
  /** Entity inject wrapper */
4
- export declare class EntityInjectWrapperComponent {
4
+ export declare class EntityInjectWrapperComponent implements OnInit {
5
5
  /** The expand clicked event emitter */
6
6
  expandClicked: EventEmitter<any>;
7
7
  /** The close clicked event emitter */
8
8
  closeClicked: EventEmitter<any>;
9
+ /** The default size of the component on open */
10
+ defaultSize: 'split' | 'full';
11
+ /** True when the entity view is expanded */
12
+ isExpanded: boolean;
13
+ /** The active entity storage key */
14
+ private readonly activeEntityStorageKey;
15
+ /** The active entity id */
16
+ private activeEntityId;
17
+ /** Life cycle hook for component initialization */
18
+ ngOnInit(): void;
9
19
  /** Opens the entity view to full screen */
10
20
  openEntityView(): void;
11
21
  /** Closes the entity view */
12
22
  returnToQueueView(): void;
13
23
  static ɵfac: i0.ɵɵFactoryDeclaration<EntityInjectWrapperComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<EntityInjectWrapperComponent, "lib-entity-inject-wrapper", never, {}, { "expandClicked": "expandClicked"; "closeClicked": "closeClicked"; }, never, ["*"], true, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<EntityInjectWrapperComponent, "lib-entity-inject-wrapper", never, { "defaultSize": { "alias": "defaultSize"; "required": false; }; }, { "expandClicked": "expandClicked"; "closeClicked": "closeClicked"; }, never, ["*"], true, never>;
15
25
  }
@@ -1,12 +1,12 @@
1
1
  import { BreakpointState } from '@angular/cdk/layout';
2
2
  import { EventEmitter, OnInit, Signal } from '@angular/core';
3
+ import { MatMenuTrigger } from '@angular/material/menu';
3
4
  import { MatSidenavContent } from '@angular/material/sidenav';
4
- import { NavPanelLogo } from '../sof-navigation-panel/models/nav-panel-logo';
5
- import { NavNode } from '../../models/navigation';
6
- import { NavigationAdvancedSettings, NavigationSettings } from '../../models/nav.settings';
7
- import { NavigationThemeSettings } from '../../models/nav-theme.settings';
8
5
  import { HeaderLanguageSettings } from '../../../header/models/header-language.settings';
9
- import { MatMenuTrigger } from '@angular/material/menu';
6
+ import { NavigationThemeSettings } from '../../models/nav-theme.settings';
7
+ import { NavigationAdvancedSettings, NavigationSettings } from '../../models/nav.settings';
8
+ import { NavNode } from '../../models/navigation';
9
+ import { NavPanelLogo } from '../sof-navigation-panel/models/nav-panel-logo';
10
10
  import * as i0 from "@angular/core";
11
11
  export declare class B2bNavComponent implements OnInit {
12
12
  /** Utility for checking the matching state of media queries.*/
@@ -52,8 +52,12 @@ export declare class B2bNavComponent implements OnInit {
52
52
  trigger: MatMenuTrigger;
53
53
  /** True when the navigation is open */
54
54
  isNavOpen: boolean;
55
+ /** The selected navigation node */
56
+ currentMenuNode: NavNode;
55
57
  /** The selected nav node */
56
- selectedNode: NavNode;
58
+ selectedNodeIndex: number;
59
+ /** The selected sub nav node */
60
+ selectedSubNodeIndex: number;
57
61
  /** On Init - Initialize the settings */
58
62
  ngOnInit(): void;
59
63
  /** Shrinks the navigation */
@@ -64,7 +68,7 @@ export declare class B2bNavComponent implements OnInit {
64
68
  * @param event The event
65
69
  * @returns void
66
70
  */
67
- openMenu(node: NavNode, event: MouseEvent): void;
71
+ openMenu(node: NavNode, event: MouseEvent, index: number): void;
68
72
  /**
69
73
  * Initializes the nav panel settings, defaults will be set if `null` or `undefined`
70
74
  * @note The 'nullish coalescing assignment operator' `??=` assigns defaults for `boolean` and `number` types,
@@ -80,6 +84,8 @@ export declare class B2bNavComponent implements OnInit {
80
84
  * Configuring `scrollPositionRestoration` in the router module will not work either.
81
85
  */
82
86
  scrollToTop(): void;
87
+ /** Listens for route changes */
88
+ private listenForRouteChanges;
83
89
  /** Initializes the advanced nav settings */
84
90
  private initAdvancedSettings;
85
91
  /** Initializes the nav theme settings */
@@ -37,4 +37,6 @@ export interface SubNavNodes {
37
37
  stepContent?: string;
38
38
  /** True when visibility is hidden */
39
39
  hidden?: boolean;
40
+ /** The sub nav icon */
41
+ icon?: string;
40
42
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "17.31.0",
3
+ "version": "17.31.1",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },