@softheon/armature 17.15.10 → 17.15.13
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/src/sof-table/sof-table.component.d.ts +13 -2
- package/esm2022/ag-grid-components/src/sof-table/sof-table.component.mjs +26 -6
- package/esm2022/lib/theming/services/theme.service.mjs +19 -13
- package/fesm2022/softheon-armature-ag-grid-components.mjs +24 -4
- package/fesm2022/softheon-armature-ag-grid-components.mjs.map +1 -1
- package/fesm2022/softheon-armature.mjs +17 -12
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/theming/services/theme.service.d.ts +3 -6
- package/package.json +1 -1
- package/ag-grid-components/package.json +0 -3
|
@@ -15,8 +15,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
|
|
|
15
15
|
enableSearch: boolean;
|
|
16
16
|
/** Enable custom text filter dropdowns */
|
|
17
17
|
enableFilter: boolean;
|
|
18
|
-
/** Enable
|
|
18
|
+
/** Enable column options modal selection */
|
|
19
19
|
enableColumnOptions: boolean;
|
|
20
|
+
/** Enable export button to output filtered row data */
|
|
21
|
+
enableExport: boolean;
|
|
20
22
|
/**
|
|
21
23
|
* To display the text on the column options modal, which states -
|
|
22
24
|
* `"Options will be saved for the next time you log in."`
|
|
@@ -36,10 +38,17 @@ export declare class SofTableComponent implements OnInit, OnChanges {
|
|
|
36
38
|
private savedColumnState;
|
|
37
39
|
/** Output updated column options event to save to user or browser storage */
|
|
38
40
|
updatedColumnState: EventEmitter<ApplyColumnStateParams>;
|
|
41
|
+
/** Output updated column options event to save to user or browser storage */
|
|
42
|
+
filteredRowDataForExport: EventEmitter<any>;
|
|
39
43
|
/** the search input */
|
|
40
44
|
gridSearchTextInput: ElementRef<HTMLInputElement>;
|
|
41
45
|
/** The hidden element that announces when the table content changes from filter */
|
|
42
46
|
ariaResultsCount: ElementRef<HTMLElement>;
|
|
47
|
+
/**
|
|
48
|
+
* Keep track of the current column state
|
|
49
|
+
* @note If columns are re-defined (onChanges), this state will be applied
|
|
50
|
+
*/
|
|
51
|
+
private currentColumnState;
|
|
43
52
|
/** Column names that should be filterable */
|
|
44
53
|
colFilters: Array<SofTableFilter>;
|
|
45
54
|
/** Row Height for table */
|
|
@@ -146,8 +155,10 @@ export declare class SofTableComponent implements OnInit, OnChanges {
|
|
|
146
155
|
* @returns an array of column data formatted to be ingested by the `SofColumnOptionsComponent`
|
|
147
156
|
*/
|
|
148
157
|
private columnStateToData;
|
|
158
|
+
/** Emit the current filtered row data */
|
|
159
|
+
exportFilteredRowData(): void;
|
|
149
160
|
static ɵfac: i0.ɵɵFactoryDeclaration<SofTableComponent, never>;
|
|
150
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofTableComponent, "sof-table", never, { "rowData": { "alias": "rowData"; "required": false; }; "colDefs": { "alias": "colDefs"; "required": false; }; "sizeMode": { "alias": "sizeMode"; "required": false; }; "paginationPageSizeSelector": { "alias": "paginationPageSizeSelector"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableColumnOptions": { "alias": "enableColumnOptions"; "required": false; }; "showSaveColumnOptionsText": { "alias": "showSaveColumnOptionsText"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "savedColumnState": { "alias": "savedColumnState"; "required": false; }; }, { "updatedColumnState": "updatedColumnState"; }, never, ["[sof-table-right-buttons]"], false, never>;
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofTableComponent, "sof-table", never, { "rowData": { "alias": "rowData"; "required": false; }; "colDefs": { "alias": "colDefs"; "required": false; }; "sizeMode": { "alias": "sizeMode"; "required": false; }; "paginationPageSizeSelector": { "alias": "paginationPageSizeSelector"; "required": false; }; "enableSearch": { "alias": "enableSearch"; "required": false; }; "enableFilter": { "alias": "enableFilter"; "required": false; }; "enableColumnOptions": { "alias": "enableColumnOptions"; "required": false; }; "enableExport": { "alias": "enableExport"; "required": false; }; "showSaveColumnOptionsText": { "alias": "showSaveColumnOptionsText"; "required": false; }; "tableName": { "alias": "tableName"; "required": false; }; "savedColumnState": { "alias": "savedColumnState"; "required": false; }; }, { "updatedColumnState": "updatedColumnState"; "filteredRowDataForExport": "filteredRowDataForExport"; }, never, ["[sof-table-right-buttons]"], false, never>;
|
|
151
162
|
}
|
|
152
163
|
/** Used for setting filter values */
|
|
153
164
|
declare class SofTableFilter {
|