@trudb/tru-common-lib 0.1.961 → 0.1.962

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.
@@ -5958,6 +5958,7 @@ class TruDataGridHeader {
5958
5958
  }
5959
5959
  onFilterMenuButtonClicked(event) {
5960
5960
  if (!this.columnMenuIsOpen) {
5961
+ this.params.column.getColDef().headerComponentParams = this.params;
5961
5962
  this.params.showColumnMenu(event.target, () => {
5962
5963
  this.columnMenuIsOpen = false;
5963
5964
  this.showFilterMenu = this.isHovering && this.params.api.getDisplayedRowCount() > 0 || this.columnMenuIsOpen;
@@ -6077,13 +6078,13 @@ class TruDataGridHeaderFilter {
6077
6078
  getGui() {
6078
6079
  return this.gui;
6079
6080
  }
6080
- afterGuiAttached() {
6081
+ afterGuiAttached(params) {
6081
6082
  }
6082
6083
  onFilterInputChanged() {
6083
6084
  this.filterParams.filterChangedCallback();
6084
6085
  }
6085
6086
  onSortSelection = (changeEvent) => {
6086
- this.filterParams.colDef.headerComponent.prototype.getHeaderParams().setSort(changeEvent.options[0].value, false);
6087
+ this.filterParams.colDef.headerComponentParams.setSort(changeEvent.options[0].value, false);
6087
6088
  };
6088
6089
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.3", ngImport: i0, type: TruDataGridHeaderFilter, deps: [], target: i0.ɵɵFactoryTarget.Component });
6089
6090
  static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.3", type: TruDataGridHeaderFilter, isStandalone: true, selector: "ng-component", ngImport: i0, template: `