@softheon/armature 19.21.0 → 19.21.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.
|
@@ -37,6 +37,8 @@ export declare class SofNavPanelComponent implements OnInit {
|
|
|
37
37
|
title?: string;
|
|
38
38
|
/** The nav panel subtitle */
|
|
39
39
|
subtitle?: string;
|
|
40
|
+
/** Is auto shrink or not */
|
|
41
|
+
isAutoShrink: boolean;
|
|
40
42
|
/**
|
|
41
43
|
* Is the nav panel open
|
|
42
44
|
* @note this is needed to pass panel opened state to the SofHeaderPortalComponent
|
|
@@ -47,12 +49,20 @@ export declare class SofNavPanelComponent implements OnInit {
|
|
|
47
49
|
* @note this is the element which has the apps 'main' scrollbar.
|
|
48
50
|
*/
|
|
49
51
|
sidenavContent: MatSidenavContent;
|
|
52
|
+
/** This is the navpanel element */
|
|
53
|
+
private navPanel;
|
|
50
54
|
/** Utility for checking the matching state of media queries.*/
|
|
51
55
|
private breakpointObserver;
|
|
52
56
|
/** Has the small screen breakpoint been hit */
|
|
53
57
|
isSmallScreen: Signal<BreakpointState>;
|
|
54
58
|
/** Angular's router */
|
|
55
59
|
private router;
|
|
60
|
+
/** The previous break point state */
|
|
61
|
+
private previousBreakpointState;
|
|
62
|
+
/**
|
|
63
|
+
* Constructor.
|
|
64
|
+
*/
|
|
65
|
+
constructor();
|
|
56
66
|
/** On Init - Initialize the settings */
|
|
57
67
|
ngOnInit(): void;
|
|
58
68
|
/**
|
|
@@ -64,6 +74,8 @@ export declare class SofNavPanelComponent implements OnInit {
|
|
|
64
74
|
* @see `||=` {@link [MDN Reference](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_OR_assignment#try_it)}
|
|
65
75
|
*/
|
|
66
76
|
private initSettings;
|
|
77
|
+
/** Closes the navigation panel */
|
|
78
|
+
closeNav(): void;
|
|
67
79
|
/**
|
|
68
80
|
* Scrolls to the top of page
|
|
69
81
|
* @note using `window.scrollTo` will not work if using this component as the main scrollbar does not live on the window level.
|
|
@@ -71,5 +83,5 @@ export declare class SofNavPanelComponent implements OnInit {
|
|
|
71
83
|
*/
|
|
72
84
|
scrollToTop(): void;
|
|
73
85
|
static ɵfac: i0.ɵɵFactoryDeclaration<SofNavPanelComponent, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofNavPanelComponent, "sof-nav-panel", never, { "nodes": { "alias": "nodes"; "required": true; }; "settings": { "alias": "settings"; "required": false; }; "scrollToTopOnNavigationEndEvent": { "alias": "scrollToTopOnNavigationEndEvent"; "required": false; }; "brandLogo": { "alias": "brandLogo"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; }, { "isNavPanelOpenedEvent": "isNavPanelOpenedEvent"; }, never, ["[sof-nav-panel-main-content]"], true, never>;
|
|
86
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofNavPanelComponent, "sof-nav-panel", never, { "nodes": { "alias": "nodes"; "required": true; }; "settings": { "alias": "settings"; "required": false; }; "scrollToTopOnNavigationEndEvent": { "alias": "scrollToTopOnNavigationEndEvent"; "required": false; }; "brandLogo": { "alias": "brandLogo"; "required": false; }; "title": { "alias": "title"; "required": false; }; "subtitle": { "alias": "subtitle"; "required": false; }; "isAutoShrink": { "alias": "isAutoShrink"; "required": false; }; }, { "isNavPanelOpenedEvent": "isNavPanelOpenedEvent"; }, never, ["[sof-nav-panel-main-content]"], true, never>;
|
|
75
87
|
}
|