@fluxhub/fluxhub-lib 9.0.34 → 9.0.36
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 +7 -4
- 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/fhdatepicker.js +3 -5
- package/esm2015/lib/controls/fhgrid.js +6 -1
- package/esm5/lib/controls/fhdatepicker.js +2 -5
- package/esm5/lib/controls/fhgrid.js +7 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +7 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6287,6 +6287,11 @@ let FHGridComponent = class FHGridComponent {
|
|
|
6287
6287
|
allColumnIds.push(columnDef.field);
|
|
6288
6288
|
});
|
|
6289
6289
|
this.gridOptions.columnApi.autoSizeColumns(allColumnIds);
|
|
6290
|
+
if (this.gridOptions.columnApi.getColumnState().length > 0)
|
|
6291
|
+
if (this.gridOptions.columnApi.getColumnState()[0].width == 24) {
|
|
6292
|
+
setTimeout(() => { this.autoSizeAll(); }, 300);
|
|
6293
|
+
return;
|
|
6294
|
+
}
|
|
6290
6295
|
this.save_cfg();
|
|
6291
6296
|
}
|
|
6292
6297
|
fitSizeAll() {
|
|
@@ -7594,7 +7599,6 @@ class MomentDateAdapter extends DateAdapter {
|
|
|
7594
7599
|
}
|
|
7595
7600
|
}
|
|
7596
7601
|
|
|
7597
|
-
var FHDatePickerComponent_1;
|
|
7598
7602
|
const noop$3 = () => {
|
|
7599
7603
|
};
|
|
7600
7604
|
const ɵ0$3 = noop$3;
|
|
@@ -7604,7 +7608,7 @@ const CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4 = {
|
|
|
7604
7608
|
multi: true
|
|
7605
7609
|
};
|
|
7606
7610
|
const ɵ1 = MOMENT_DATE_FORMATS;
|
|
7607
|
-
let FHDatePickerComponent =
|
|
7611
|
+
let FHDatePickerComponent = class FHDatePickerComponent {
|
|
7608
7612
|
constructor(dateAdapter, uti_s) {
|
|
7609
7613
|
this.dateAdapter = dateAdapter;
|
|
7610
7614
|
this.uti_s = uti_s;
|
|
@@ -7789,13 +7793,12 @@ __decorate([
|
|
|
7789
7793
|
ViewChild('pickerId'),
|
|
7790
7794
|
__metadata("design:type", ElementRef)
|
|
7791
7795
|
], FHDatePickerComponent.prototype, "pickerId", void 0);
|
|
7792
|
-
FHDatePickerComponent =
|
|
7796
|
+
FHDatePickerComponent = __decorate([
|
|
7793
7797
|
Component({
|
|
7794
7798
|
selector: 'FHDatePicker',
|
|
7795
7799
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4,
|
|
7796
7800
|
{ provide: MAT_DATE_FORMATS, useValue: ɵ1 },
|
|
7797
7801
|
{ provide: DateAdapter, useClass: MomentDateAdapter },
|
|
7798
|
-
{ provide: NG_VALUE_ACCESSOR, useExisting: FHDatePickerComponent_1, multi: true },
|
|
7799
7802
|
{ provide: MAT_DATE_LOCALE, useValue: 'it-IT' },
|
|
7800
7803
|
],
|
|
7801
7804
|
template: `
|