@fluxhub/fluxhub-lib 9.0.35 → 9.0.37
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 +8 -0
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +2 -2
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhdatepicker.js +3 -1
- package/esm2015/lib/controls/fhgrid.js +6 -1
- package/esm5/lib/controls/fhdatepicker.js +3 -1
- package/esm5/lib/controls/fhgrid.js +7 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -0
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +8 -0
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5858,6 +5858,7 @@
|
|
|
5858
5858
|
// console.log( this.g_height);
|
|
5859
5859
|
};
|
|
5860
5860
|
FHGridComponent.prototype.autoSizeAll = function () {
|
|
5861
|
+
var _this = this;
|
|
5861
5862
|
if (this.gridOptions == null)
|
|
5862
5863
|
return;
|
|
5863
5864
|
if (this.gridOptions.columnApi == null)
|
|
@@ -5867,6 +5868,11 @@
|
|
|
5867
5868
|
allColumnIds.push(columnDef.field);
|
|
5868
5869
|
});
|
|
5869
5870
|
this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
|
|
5871
|
+
if (this.gridOptions.columnApi.getColumnState().length > 0)
|
|
5872
|
+
if (this.gridOptions.columnApi.getColumnState()[0].width == 24) {
|
|
5873
|
+
setTimeout(function () { _this.autoSizeAll(); }, 300);
|
|
5874
|
+
return;
|
|
5875
|
+
}
|
|
5870
5876
|
this.save_cfg();
|
|
5871
5877
|
};
|
|
5872
5878
|
FHGridComponent.prototype.fitSizeAll = function () {
|
|
@@ -7308,6 +7314,8 @@
|
|
|
7308
7314
|
this.date_sel = null;
|
|
7309
7315
|
return;
|
|
7310
7316
|
}
|
|
7317
|
+
if (typeof (d) == 'string')
|
|
7318
|
+
d = new Date(this.uti_s.string2date(d, 2));
|
|
7311
7319
|
if (!(d instanceof Date)) {
|
|
7312
7320
|
if (d.value != null) {
|
|
7313
7321
|
d = new Date(d.value);
|