@softheon/armature 17.22.2 → 17.22.4
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/ag-grid-components/package.json +3 -0
- package/assets/styles/material-override/_button.scss +171 -200
- package/esm2022/ag-grid-components/src/column-options-modal/column-options.component.mjs +3 -3
- package/esm2022/ag-grid-components/src/sof-table/sof-table.component.mjs +3 -3
- package/esm2022/lib/base-components/confirm-address/sof-confirm-address/sof-confirm-address.component.mjs +3 -3
- package/esm2022/lib/base-components/confirm-address/sof-confirm-address-county-change/sof-confirm-address-county-change.component.mjs +3 -3
- package/esm2022/lib/base-components/sof-modal/sof-modal.component.mjs +3 -3
- package/esm2022/lib/base-components/sof-utility-button/sof-utility-button.component.mjs +10 -21
- package/esm2022/lib/core/services/user-entity.service.mjs +6 -1
- package/esm2022/lib/feedback-tool/components/feedback-tool/feedback-tool.component.mjs +3 -3
- package/esm2022/lib/header/components/header/header.component.mjs +3 -3
- package/esm2022/lib/header/components/sof-header-portal/sof-header-portal.component.mjs +3 -3
- package/esm2022/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.mjs +36 -8
- package/fesm2022/softheon-armature-ag-grid-components.mjs +4 -4
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +62 -41
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/base-components/sof-utility-button/sof-utility-button.component.d.ts +4 -14
- package/lib/navigation/components/sof-navigation-panel/sof-nav-panel.component.d.ts +22 -3
- package/package.json +1 -1
|
@@ -2,12 +2,12 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
export declare class SofUtilityButtonComponent {
|
|
3
3
|
buttonId: string;
|
|
4
4
|
buttonAriaLabel: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
buttonTheme: 'primary' | 'neutral' | 'destroy';
|
|
6
|
+
buttonEmphasis: 'solid' | 'secondary' | 'floating' | 'contained';
|
|
7
7
|
buttonDisabled: boolean;
|
|
8
8
|
buttonIconClass: string;
|
|
9
9
|
menuDropDown: ButtonData[];
|
|
10
|
-
/** Individual Button Click
|
|
10
|
+
/** Individual Button Click */
|
|
11
11
|
buttonClick: Function;
|
|
12
12
|
/**
|
|
13
13
|
* Any logic related to ag grid cell renderer data can be added here
|
|
@@ -15,17 +15,7 @@ export declare class SofUtilityButtonComponent {
|
|
|
15
15
|
*/
|
|
16
16
|
agInit(params: any & SofUtilityButtonComponent): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SofUtilityButtonComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofUtilityButtonComponent, "sof-utility-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonAriaLabel": { "alias": "buttonAriaLabel"; "required": false; }; "
|
|
19
|
-
}
|
|
20
|
-
export declare enum BUTTON_COLORS_VARIATIONS {
|
|
21
|
-
PRIMARY = "primary",
|
|
22
|
-
SECONDARY = "secondary",
|
|
23
|
-
TERTIARY = "tertiary",
|
|
24
|
-
ERROR_PRIMARY = "error-primary",
|
|
25
|
-
ERROR_SECONDARY = "error-secondary",
|
|
26
|
-
ERROR_TERTIARY = "error-tertiary",
|
|
27
|
-
CONTAINED = "contained",
|
|
28
|
-
CONTAINED_ERROR = "contained-error"
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofUtilityButtonComponent, "sof-utility-button", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonAriaLabel": { "alias": "buttonAriaLabel"; "required": false; }; "buttonTheme": { "alias": "buttonTheme"; "required": false; }; "buttonEmphasis": { "alias": "buttonEmphasis"; "required": false; }; "buttonDisabled": { "alias": "buttonDisabled"; "required": false; }; "buttonIconClass": { "alias": "buttonIconClass"; "required": false; }; "menuDropDown": { "alias": "menuDropDown"; "required": false; }; "buttonClick": { "alias": "buttonClick"; "required": false; }; }, {}, never, never, false, never>;
|
|
29
19
|
}
|
|
30
20
|
export interface ButtonData {
|
|
31
21
|
name: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, EventEmitter, OnInit, Signal, WritableSignal } from '@angular/core';
|
|
2
2
|
import { BreakpointState } from '@angular/cdk/layout';
|
|
3
|
+
import { MatSidenavContent } from '@angular/material/sidenav';
|
|
3
4
|
import { NavPanelNode } from './models/nav-panel-nodes';
|
|
4
5
|
import { NavPanelSettings } from './models/nav-panel-settings';
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
@@ -36,10 +37,15 @@ export declare class SofNavPanelComponent implements OnInit, AfterViewInit {
|
|
|
36
37
|
*/
|
|
37
38
|
whatsNewData?: any;
|
|
38
39
|
/**
|
|
39
|
-
*
|
|
40
|
+
* Logout button text
|
|
40
41
|
* @note can be translation key
|
|
41
42
|
*/
|
|
42
43
|
logoutText: string;
|
|
44
|
+
/**
|
|
45
|
+
* Should scroll to top on `NavigationEnd` event?
|
|
46
|
+
* @default true
|
|
47
|
+
*/
|
|
48
|
+
private scrollToTopOnNavigationEndEvent;
|
|
43
49
|
/**
|
|
44
50
|
* Emit this event to show the whats new modal
|
|
45
51
|
* @note this is a w.i.p. awaiting design for `whats new` modal
|
|
@@ -54,6 +60,11 @@ export declare class SofNavPanelComponent implements OnInit, AfterViewInit {
|
|
|
54
60
|
logoutEvent: EventEmitter<void>;
|
|
55
61
|
/** Nav panels footer element reference */
|
|
56
62
|
navPanelFooter: ElementRef<HTMLElement>;
|
|
63
|
+
/**
|
|
64
|
+
* Main content for scroll position
|
|
65
|
+
* @note this is the element which has the apps 'main' scrollbar.
|
|
66
|
+
*/
|
|
67
|
+
sidenavContent: MatSidenavContent;
|
|
57
68
|
/** Utility for checking the matching state of media queries.*/
|
|
58
69
|
private breakpointObserver;
|
|
59
70
|
/** Has the small screen breakpoint been hit */
|
|
@@ -67,10 +78,18 @@ export declare class SofNavPanelComponent implements OnInit, AfterViewInit {
|
|
|
67
78
|
* @default 40
|
|
68
79
|
*/
|
|
69
80
|
footerSpacePadding: WritableSignal<number>;
|
|
81
|
+
/** Angular's router */
|
|
82
|
+
private router;
|
|
70
83
|
/** On Init - Initialize the settings */
|
|
71
84
|
ngOnInit(): void;
|
|
72
|
-
/** After View Init - Set the footer space */
|
|
85
|
+
/** After View Init - Set the footer space, scroll to top if needed */
|
|
73
86
|
ngAfterViewInit(): void;
|
|
87
|
+
/**
|
|
88
|
+
* Scrolls to the top of page
|
|
89
|
+
* @note using `window.scrollTo` will not work if using this component as the main scrollbar does not live on the window level.
|
|
90
|
+
* Configuring `scrollPositionRestoration` in the router module will not work either.
|
|
91
|
+
*/
|
|
92
|
+
scrollToTop(): void;
|
|
74
93
|
/**
|
|
75
94
|
* Initializes the nav panel settings, defaults will be set if `null` or `undefined`
|
|
76
95
|
* @note The 'nullish coalescing assignment operator' `??=` assigns defaults for `boolean` and `number` types,
|
|
@@ -98,5 +117,5 @@ export declare class SofNavPanelComponent implements OnInit, AfterViewInit {
|
|
|
98
117
|
/** Emits event to show the whats new modal */
|
|
99
118
|
showWhatsNew(): void;
|
|
100
119
|
static ɵfac: i0.ɵɵFactoryDeclaration<SofNavPanelComponent, never>;
|
|
101
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofNavPanelComponent, "sof-nav-panel", never, { "nodes": { "alias": "nodes"; "required": true; }; "settings": { "alias": "settings"; "required": false; }; "whatsNewData": { "alias": "whatsNewData"; "required": false; }; "logoutText": { "alias": "logoutText"; "required": false; }; }, { "showWhatsNewEvent": "showWhatsNewEvent"; "isNavPanelOpenedEvent": "isNavPanelOpenedEvent"; "logoutEvent": "logoutEvent"; }, never, ["[sof-nav-panel-main-content]"], true, never>;
|
|
120
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofNavPanelComponent, "sof-nav-panel", never, { "nodes": { "alias": "nodes"; "required": true; }; "settings": { "alias": "settings"; "required": false; }; "whatsNewData": { "alias": "whatsNewData"; "required": false; }; "logoutText": { "alias": "logoutText"; "required": false; }; "scrollToTopOnNavigationEndEvent": { "alias": "scrollToTopOnNavigationEndEvent"; "required": false; }; }, { "showWhatsNewEvent": "showWhatsNewEvent"; "isNavPanelOpenedEvent": "isNavPanelOpenedEvent"; "logoutEvent": "logoutEvent"; }, never, ["[sof-nav-panel-main-content]"], true, never>;
|
|
102
121
|
}
|