@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +15 -10
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/win_grid_selection.js +16 -11
- package/fesm2015/fluxhub-fluxhub-lib.js +15 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -19766,14 +19766,16 @@
|
|
|
19766
19766
|
defaultColDef: { resizable: true, sortable: true, floatingFilter: true },
|
|
19767
19767
|
rowDeselection: false,
|
|
19768
19768
|
};
|
|
19769
|
-
|
|
19770
|
-
|
|
19771
|
-
|
|
19772
|
-
|
|
19773
|
-
|
|
19774
|
-
|
|
19775
|
-
|
|
19776
|
-
|
|
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
|
|
19797
|
-
_this.
|
|
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 () {
|