@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +16 -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 +17 -11
- package/fesm2015/fluxhub-fluxhub-lib.js +16 -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,17 @@
|
|
|
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
|
+
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
|
|
19797
|
-
_this.
|
|
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 () {
|