@fluxhub/fluxhub-lib 11.0.139 → 11.0.140

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.
@@ -19766,14 +19766,16 @@
19766
19766
  defaultColDef: { resizable: true, sortable: true, floatingFilter: true },
19767
19767
  rowDeselection: false,
19768
19768
  };
19769
- if (this.data) {
19770
- if (this.data.columnDefs)
19771
- this.columnDefs = this.data.columnDefs;
19772
- if (this.data.rowData)
19773
- this.rowData = this.data.rowData;
19774
- if (this.data.title)
19775
- this.title = this.data.title;
19776
- this.selectAll = (this.data.selectAll || true);
19769
+ console.log("🚀 ~ file: win_grid_selection.ts:135 ~ fh_win_grid_selection ~ data:", data);
19770
+ if (data) {
19771
+ if (data.columnDefs)
19772
+ this.columnDefs = data.columnDefs;
19773
+ if (data.rowData)
19774
+ this.rowData = data.rowData;
19775
+ if (data.title)
19776
+ this.title = data.title;
19777
+ this.selectAll = (data.selectAll || true);
19778
+ console.log("🚀 ~ file: win_grid_selection.ts:144 ~ fh_win_grid_selection ~ this.selectAll:", this.selectAll);
19777
19779
  }
19778
19780
  }
19779
19781
  fh_win_grid_selection.prototype.ngAfterViewInit = function () {
@@ -19793,8 +19795,11 @@
19793
19795
  var _this = this;
19794
19796
  setTimeout(function () {
19795
19797
  console.log("🚀 ~ file: win_grid_selection.ts:104 ~ fh_win_grid_selection ~ setTimeout ~ this.selectAll:", _this.selectAll);
19796
- if (_this.gridOptions.api && _this.selectAll)
19797
- _this.gridOptions.api.selectAll();
19798
+ if (_this.gridOptions.api)
19799
+ if (_this.selectAll)
19800
+ _this.gridOptions.api.selectAll();
19801
+ else
19802
+ _this.gridOptions.api.deselectAll();
19798
19803
  }, 100);
19799
19804
  };
19800
19805
  fh_win_grid_selection.prototype.autoSizeAll = function () {