@energycap/components 0.39.33-ECAP-26866-table-multi-sort-improvements.20241024-0933 → 0.39.33-ECAP-26866-table-multi-sort-improvements.20241025-1454

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.
@@ -25,14 +25,14 @@ export declare class SearchableTableComponent implements OnInit, OnDestroy, OnCh
25
25
  id: string;
26
26
  resizable: boolean;
27
27
  sortable: boolean;
28
- sort?: TableSort;
28
+ sort?: TableSort | TableSort[];
29
29
  autofocus: boolean;
30
30
  /**Set to a space-separated set of strings that should be added to the ec-table class attribute
31
31
  * this allows finer control over styling.
32
32
  */
33
33
  tableClasses: string;
34
34
  /** Emits when table sort has changed */
35
- sortChange: EventEmitter<TableSort>;
35
+ sortChange: EventEmitter<TableSort | TableSort[]>;
36
36
  /** Emits when the table page has changed */
37
37
  pageChangeEmitter: EventEmitter<PagingInfo>;
38
38
  /** Placeholder text for the searchbox */
@@ -183,7 +183,7 @@ export declare class SearchableTableComponent implements OnInit, OnDestroy, OnCh
183
183
  ngOnInit(): void;
184
184
  ngOnDestroy(): void;
185
185
  /** Pass along sort to parent component */
186
- onSortChange(sort: TableSort): void;
186
+ onSortChange(sort: TableSort | TableSort[]): void;
187
187
  /**
188
188
  * When a page changes, store the new pagingInfo and emit the current value of the form to trigger getData.
189
189
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.39.33-ECAP-26866-table-multi-sort-improvements.20241024-0933",
3
+ "version": "0.39.33-ECAP-26866-table-multi-sort-improvements.20241025-1454",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },