@softheon/armature 17.26.2 → 17.26.3
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.
- package/esm2022/lib/armature.module.mjs +4 -8
- package/esm2022/lib/base-components/sof-context/sof-context.component.mjs +44 -3
- package/esm2022/lib/core/components/app-template/app-template.component.mjs +4 -6
- package/esm2022/lib/header/components/header/header.component.mjs +4 -8
- package/esm2022/lib/header/components/sof-header/sof-header.component.mjs +1 -1
- package/esm2022/lib/header/header-api.mjs +1 -2
- package/esm2022/lib/header/header.module.mjs +6 -11
- package/esm2022/lib/header/models/header.settings.mjs +1 -1
- package/esm2022/lib/navigation/models/nav.settings.mjs +1 -1
- package/esm2022/public-api.mjs +1 -2
- package/fesm2022/softheon-armature.mjs +90 -241
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/armature.module.d.ts +1 -2
- package/lib/base-components/sof-context/sof-context.component.d.ts +20 -0
- package/lib/core/components/app-template/app-template.component.d.ts +1 -1
- package/lib/header/components/header/header.component.d.ts +1 -4
- package/lib/header/header-api.d.ts +0 -1
- package/lib/header/header.module.d.ts +1 -2
- package/lib/header/models/header.settings.d.ts +0 -3
- package/lib/navigation/models/nav.settings.d.ts +0 -2
- package/package.json +1 -1
- package/public-api.d.ts +0 -1
- package/ag-grid-components/package.json +0 -3
- package/esm2022/lib/header/models/header-external-links.mjs +0 -2
- package/esm2022/lib/navigation/components/b2b-nav/b2b-nav.component.mjs +0 -202
- package/lib/header/models/header-external-links.d.ts +0 -13
- package/lib/navigation/components/b2b-nav/b2b-nav.component.d.ts +0 -91
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { BreakpointState } from '@angular/cdk/layout';
|
|
2
|
-
import { EventEmitter, OnInit, Signal } from '@angular/core';
|
|
3
|
-
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
|
-
import { HeaderLanguageSettings } from '../../../header/models/header-language.settings';
|
|
9
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class B2bNavComponent implements OnInit {
|
|
12
|
-
/** Utility for checking the matching state of media queries.*/
|
|
13
|
-
private breakpointObserver;
|
|
14
|
-
/** The router */
|
|
15
|
-
private router;
|
|
16
|
-
/** Has the small screen breakpoint been hit */
|
|
17
|
-
isSmallScreen: Signal<BreakpointState>;
|
|
18
|
-
/** The brand logo in the footer of the navigation panel */
|
|
19
|
-
brandLogo: NavPanelLogo;
|
|
20
|
-
/**
|
|
21
|
-
* Should scroll to top on `NavigationEnd` event?
|
|
22
|
-
* @default true
|
|
23
|
-
*/
|
|
24
|
-
private scrollToTopOnNavigationEndEvent;
|
|
25
|
-
/**
|
|
26
|
-
* Is the nav panel open
|
|
27
|
-
* @note this is needed to pass panel opened state to the SofHeaderPortalComponent
|
|
28
|
-
*/
|
|
29
|
-
isNavPanelOpenedEvent: EventEmitter<boolean>;
|
|
30
|
-
/**
|
|
31
|
-
* Main content for scroll position
|
|
32
|
-
* @note this is the element which has the apps 'main' scrollbar.
|
|
33
|
-
*/
|
|
34
|
-
sidenavContent: MatSidenavContent;
|
|
35
|
-
/** Component Input - the navigation data */
|
|
36
|
-
navigationData: NavNode[];
|
|
37
|
-
/** Component Input - the navigation settings */
|
|
38
|
-
settings: NavigationSettings;
|
|
39
|
-
/** Component Input - the navigation settings */
|
|
40
|
-
advancedSettings: NavigationAdvancedSettings;
|
|
41
|
-
/** Component Input - the navigation settings */
|
|
42
|
-
themeSettings: NavigationThemeSettings;
|
|
43
|
-
/** Component Input - the navigation language settings */
|
|
44
|
-
languageSettings: HeaderLanguageSettings;
|
|
45
|
-
/** Current language **/
|
|
46
|
-
currentLang: string;
|
|
47
|
-
/** logOut text **/
|
|
48
|
-
logOutText: string;
|
|
49
|
-
/** Sets language **/
|
|
50
|
-
setLanguage$: EventEmitter<any>;
|
|
51
|
-
/** The mat menu trigger */
|
|
52
|
-
trigger: MatMenuTrigger;
|
|
53
|
-
/** True when the navigation is open */
|
|
54
|
-
isNavOpen: boolean;
|
|
55
|
-
/** The selected nav node */
|
|
56
|
-
selectedNode: NavNode;
|
|
57
|
-
/** Angular's router */
|
|
58
|
-
/** On Init - Initialize the settings */
|
|
59
|
-
ngOnInit(): void;
|
|
60
|
-
shrinkNav(): void;
|
|
61
|
-
openMenu(node: NavNode, event: MouseEvent): void;
|
|
62
|
-
/**
|
|
63
|
-
* Initializes the nav panel settings, defaults will be set if `null` or `undefined`
|
|
64
|
-
* @note The 'nullish coalescing assignment operator' `??=` assigns defaults for `boolean` and `number` types,
|
|
65
|
-
* for `number` types this will allow for `0` to be accepted. For a `string`, use 'logical OR assignment' `||=` operator,
|
|
66
|
-
* as this will also prevent empty strings `" "`.
|
|
67
|
-
* @see `??=` {@link [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_assignment#using_nullish_coalescing_assignment)}
|
|
68
|
-
* @see `||=` {@link [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment#try_it)}
|
|
69
|
-
*/
|
|
70
|
-
private initSettings;
|
|
71
|
-
/**
|
|
72
|
-
* Scrolls to the top of page
|
|
73
|
-
* @note using `window.scrollTo` will not work if using this component as the main scrollbar does not live on the window level.
|
|
74
|
-
* Configuring `scrollPositionRestoration` in the router module will not work either.
|
|
75
|
-
*/
|
|
76
|
-
scrollToTop(): void;
|
|
77
|
-
/** Initializes the advanced nav settings */
|
|
78
|
-
private initAdvancedSettings;
|
|
79
|
-
/** Initializes the nav theme settings */
|
|
80
|
-
private initThemeSettings;
|
|
81
|
-
/** Initializes the basic nav settings */
|
|
82
|
-
private initBasicSettings;
|
|
83
|
-
/**
|
|
84
|
-
* Sets the theme color
|
|
85
|
-
* @param variable the css variable name
|
|
86
|
-
* @param color the color
|
|
87
|
-
*/
|
|
88
|
-
setThemeColor(variable: string, color: string): void;
|
|
89
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<B2bNavComponent, never>;
|
|
90
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<B2bNavComponent, "sof-nav-b2b", never, { "scrollToTopOnNavigationEndEvent": { "alias": "scrollToTopOnNavigationEndEvent"; "required": false; }; "navigationData": { "alias": "navigationData"; "required": false; }; "settings": { "alias": "settings"; "required": false; }; "advancedSettings": { "alias": "advancedSettings"; "required": false; }; "themeSettings": { "alias": "themeSettings"; "required": false; }; "languageSettings": { "alias": "languageSettings"; "required": false; }; "currentLang": { "alias": "currentLang"; "required": false; }; "logOutText": { "alias": "logOutText"; "required": false; }; }, { "isNavPanelOpenedEvent": "isNavPanelOpenedEvent"; "setLanguage$": "setLanguage$"; }, never, ["[sof-ar-nav-header]", "*"], true, never>;
|
|
91
|
-
}
|