@softheon/armature 19.1.0 → 19.3.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.
@@ -1,3 +1,5 @@
1
+ import { TooltipPosition } from '@angular/material/tooltip';
2
+ import { ICellRendererParams } from 'ag-grid-community';
1
3
  import * as i0 from "@angular/core";
2
4
  export declare class SofBadgeComponent {
3
5
  /** Whether to show bold background color not */
@@ -17,13 +19,15 @@ export declare class SofBadgeComponent {
17
19
  badgeAria: string;
18
20
  /** The icon aria label */
19
21
  iconAria: string;
22
+ /** The icon aria label */
23
+ tooltipData: BadgeTooltipData;
20
24
  /** Whether or not the component has been init */
21
25
  initialized: boolean;
22
26
  /**
23
27
  * Any logic related to ag grid cell renderer data can be added here
24
28
  * @note All `@Inputs` should be accepted through `params`
25
29
  */
26
- agInit(params: any & SofBadgeComponent): void;
30
+ agInit(params: ICellRendererParams & SofBadgeComponent): void;
27
31
  /** On component init */
28
32
  ngOnInit(): void;
29
33
  /**
@@ -35,7 +39,7 @@ export declare class SofBadgeComponent {
35
39
  /** Sets the icon based on badge type */
36
40
  private setIcon;
37
41
  static ɵfac: i0.ɵɵFactoryDeclaration<SofBadgeComponent, never>;
38
- static ɵcmp: i0.ɵɵComponentDeclaration<SofBadgeComponent, "sof-badge", never, { "bold": { "alias": "bold"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "badgeAria": { "alias": "badgeAria"; "required": false; }; "iconAria": { "alias": "iconAria"; "required": false; }; }, {}, never, never, false, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<SofBadgeComponent, "sof-badge", never, { "bold": { "alias": "bold"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "badgeAria": { "alias": "badgeAria"; "required": false; }; "iconAria": { "alias": "iconAria"; "required": false; }; "tooltipData": { "alias": "tooltipData"; "required": false; }; }, {}, never, never, false, never>;
39
43
  }
40
44
  export declare enum STATUS {
41
45
  INFO = "info",
@@ -49,3 +53,7 @@ export declare enum LINE_OF_COVERAGE {
49
53
  VISION = "vision",
50
54
  MEDICARE = "medicare"
51
55
  }
56
+ export interface BadgeTooltipData {
57
+ text: string;
58
+ position?: TooltipPosition;
59
+ }
@@ -1,4 +1,4 @@
1
- import { EventEmitter, OnInit, Signal, WritableSignal } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnInit, Signal, SimpleChanges, WritableSignal } from '@angular/core';
2
2
  import { BreakpointState } from '@angular/cdk/layout';
3
3
  import * as i0 from "@angular/core";
4
4
  /**
@@ -15,7 +15,7 @@ import * as i0 from "@angular/core";
15
15
  *
16
16
  * @note * THERE ARE NO CONFIGS! for this component, `please remove any header based configs from appsettings when using this component.`
17
17
  */
18
- export declare class SofHeaderComponent implements OnInit {
18
+ export declare class SofHeaderComponent implements OnInit, OnChanges {
19
19
  /**
20
20
  * To show the breadcrumbs hierarchy component
21
21
  * @default false
@@ -59,6 +59,11 @@ export declare class SofHeaderComponent implements OnInit {
59
59
  private cdr;
60
60
  /** Initialize component & set lang from local store */
61
61
  ngOnInit(): void;
62
+ /**
63
+ * React to input changes
64
+ * @param changes the input changes
65
+ */
66
+ ngOnChanges(changes: SimpleChanges): void;
62
67
  /** Copies npn number to clipboard */
63
68
  copyNpnNumber(): void;
64
69
  /** Copies share link to clipboard */
@@ -76,6 +81,8 @@ export declare class SofHeaderComponent implements OnInit {
76
81
  toggleLanguage(): void;
77
82
  /** Emits the logout event */
78
83
  logout(): void;
84
+ /** Removes role="menu" and role="menuitem" from Material Menu elements. */
85
+ removeUserMatMenuRoles(): void;
79
86
  static ɵfac: i0.ɵɵFactoryDeclaration<SofHeaderComponent, never>;
80
87
  static ɵcmp: i0.ɵɵComponentDeclaration<SofHeaderComponent, "sof-header", never, { "showBreadcrumbsHierarchy": { "alias": "showBreadcrumbsHierarchy"; "required": false; }; "isNavPanelOpened": { "alias": "isNavPanelOpened"; "required": false; }; "userMenuData": { "alias": "userMenuData"; "required": false; }; "logoutText": { "alias": "logoutText"; "required": false; }; }, { "logoutEvent": "logoutEvent"; }, never, ["[header-right-section-buttons]"], true, never>;
81
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@softheon/armature",
3
- "version": "19.1.0",
3
+ "version": "19.3.0",
4
4
  "dependencies": {
5
5
  "tslib": "^2.5.0"
6
6
  },