@fluxhub/fluxhub-lib 11.0.139 → 11.0.141

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,17 @@
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
+ this.selectAll = false;
19779
+ console.log("🚀 ~ file: win_grid_selection.ts:144 ~ fh_win_grid_selection ~ this.selectAll: --> ", (data.selectAll), (data.selectAll || true), this.selectAll);
19777
19780
  }
19778
19781
  }
19779
19782
  fh_win_grid_selection.prototype.ngAfterViewInit = function () {
@@ -19793,8 +19796,11 @@
19793
19796
  var _this = this;
19794
19797
  setTimeout(function () {
19795
19798
  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();
19799
+ if (_this.gridOptions.api)
19800
+ if (_this.selectAll)
19801
+ _this.gridOptions.api.selectAll();
19802
+ else
19803
+ _this.gridOptions.api.deselectAll();
19798
19804
  }, 100);
19799
19805
  };
19800
19806
  fh_win_grid_selection.prototype.autoSizeAll = function () {