@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
|
@@ -5725,6 +5725,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5725
5725
|
// console.log( this.g_height);
|
|
5726
5726
|
};
|
|
5727
5727
|
FHGridComponent.prototype.autoSizeAll = function () {
|
|
5728
|
+
var _this = this;
|
|
5728
5729
|
if (this.gridOptions == null)
|
|
5729
5730
|
return;
|
|
5730
5731
|
if (this.gridOptions.columnApi == null)
|
|
@@ -5734,6 +5735,11 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
5734
5735
|
allColumnIds.push(columnDef.field);
|
|
5735
5736
|
});
|
|
5736
5737
|
this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
|
|
5738
|
+
if (this.gridOptions.columnApi.getColumnState().length > 0)
|
|
5739
|
+
if (this.gridOptions.columnApi.getColumnState()[0].width == 24) {
|
|
5740
|
+
setTimeout(function () { _this.autoSizeAll(); }, 300);
|
|
5741
|
+
return;
|
|
5742
|
+
}
|
|
5737
5743
|
this.save_cfg();
|
|
5738
5744
|
};
|
|
5739
5745
|
FHGridComponent.prototype.fitSizeAll = function () {
|
|
@@ -7175,6 +7181,8 @@ var FHDatePickerComponent = /** @class */ (function () {
|
|
|
7175
7181
|
this.date_sel = null;
|
|
7176
7182
|
return;
|
|
7177
7183
|
}
|
|
7184
|
+
if (typeof (d) == 'string')
|
|
7185
|
+
d = new Date(this.uti_s.string2date(d, 2));
|
|
7178
7186
|
if (!(d instanceof Date)) {
|
|
7179
7187
|
if (d.value != null) {
|
|
7180
7188
|
d = new Date(d.value);
|