@softheon/armature 17.36.0 → 17.36.2

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,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,6 +94,13 @@ 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;
99
+ /**
100
+ *
101
+ * The id of the filter fieldset.
102
+ */
103
+ filterFieldSetId: string;
92
104
  /** On component init */
93
105
  ngOnInit(): void;
94
106
  /**
@@ -128,6 +140,8 @@ export declare class SofTableComponent implements OnInit, OnChanges {
128
140
  * @todo update the filter dropdown options based on the filtered data set, instead of the complete data set.
129
141
  */
130
142
  onFilterChanged(): void;
143
+ /** When a mat-select dropdown within the filter is opened */
144
+ onFilterSelectOpened(opened: boolean, index: number): void;
131
145
  /** Generated text for showing pages in format: 1-11 of 11 */
132
146
  private handlePageChangeText;
133
147
  /**
@@ -136,6 +150,8 @@ export declare class SofTableComponent implements OnInit, OnChanges {
136
150
  onSearchTextChanged(): void;
137
151
  /** Toggle the filter panel display */
138
152
  toggleFilterPanel(): void;
153
+ /** Moving focus to first element of the Filter panel when opened */
154
+ private focusFirstFilterElement;
139
155
  /** Apply the selected filters */
140
156
  applyFilters(): void;
141
157
  /** Clear all filters */