@softheon/armature 17.36.1 → 17.36.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.
@@ -0,0 +1,3 @@
1
+ {
2
+ "module": "../fesm2022/softheon-armature-ag-grid-components.mjs"
3
+ }
@@ -1,5 +1,6 @@
1
- import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges, WritableSignal } from '@angular/core';
1
+ import { ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges, WritableSignal } from '@angular/core';
2
2
  import { ApplyColumnStateParams, ColDef, GridReadyEvent, HeaderPosition, NavigateToNextHeaderParams, PaginationChangedEvent, TabToNextHeaderParams } from "ag-grid-community";
3
+ import { MatSelect } from '@angular/material/select';
3
4
  import * as i0 from "@angular/core";
4
5
  /** The Softheon Armature Table component */
5
6
  export declare class SofTableComponent implements OnInit, OnChanges {
@@ -46,6 +47,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
46
47
  gridSearchTextInput: ElementRef<HTMLInputElement>;
47
48
  /** The hidden element that announces when the table content changes from filter */
48
49
  ariaResultsCount: ElementRef<HTMLElement>;
50
+ /** To reference the filter toggle panel DOM node */
51
+ filterPanel: ElementRef;
52
+ /** To reference all filter mat-selects */
53
+ filterSelects: QueryList<MatSelect>;
49
54
  /**
50
55
  * Keep track of the current column state
51
56
  * @note If columns are re-defined (onChanges), this state will be applied
@@ -89,7 +94,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
89
94
  private dialog;
90
95
  /** Translation service */
91
96
  private translateService;
97
+ /** Inject angular's document reference */
98
+ private document;
92
99
  /**
100
+ *
93
101
  * The id of the filter fieldset.
94
102
  */
95
103
  filterFieldSetId: string;
@@ -132,6 +140,8 @@ export declare class SofTableComponent implements OnInit, OnChanges {
132
140
  * @todo update the filter dropdown options based on the filtered data set, instead of the complete data set.
133
141
  */
134
142
  onFilterChanged(): void;
143
+ /** When a mat-select dropdown within the filter is opened */
144
+ onFilterSelectOpened(opened: boolean, index: number): void;
135
145
  /** Generated text for showing pages in format: 1-11 of 11 */
136
146
  private handlePageChangeText;
137
147
  /**
@@ -140,6 +150,8 @@ export declare class SofTableComponent implements OnInit, OnChanges {
140
150
  onSearchTextChanged(): void;
141
151
  /** Toggle the filter panel display */
142
152
  toggleFilterPanel(): void;
153
+ /** Moving focus to first element of the Filter panel when opened */
154
+ private focusFirstFilterElement;
143
155
  /** Apply the selected filters */
144
156
  applyFilters(): void;
145
157
  /** Clear all filters */