@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
|
@@ -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 () {
|
|
@@ -7200,7 +7206,6 @@
|
|
|
7200
7206
|
};
|
|
7201
7207
|
this.dateAdapter.setLocale('it-IT');
|
|
7202
7208
|
}
|
|
7203
|
-
FHDatePickerComponent_1 = FHDatePickerComponent;
|
|
7204
7209
|
FHDatePickerComponent.prototype.checkInput = function (ob) {
|
|
7205
7210
|
/* if(ob.key=='-')
|
|
7206
7211
|
{
|
|
@@ -7331,7 +7336,6 @@
|
|
|
7331
7336
|
FHDatePickerComponent.prototype.registerOnTouched = function (fn) {
|
|
7332
7337
|
this.onTouched = fn;
|
|
7333
7338
|
};
|
|
7334
|
-
var FHDatePickerComponent_1;
|
|
7335
7339
|
FHDatePickerComponent.ctorParameters = function () { return [
|
|
7336
7340
|
{ type: core$1.DateAdapter },
|
|
7337
7341
|
{ type: UtilityService }
|
|
@@ -7368,13 +7372,12 @@
|
|
|
7368
7372
|
core.ViewChild('pickerId'),
|
|
7369
7373
|
__metadata("design:type", core.ElementRef)
|
|
7370
7374
|
], FHDatePickerComponent.prototype, "pickerId", void 0);
|
|
7371
|
-
FHDatePickerComponent =
|
|
7375
|
+
FHDatePickerComponent = __decorate([
|
|
7372
7376
|
core.Component({
|
|
7373
7377
|
selector: 'FHDatePicker',
|
|
7374
7378
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR$4,
|
|
7375
7379
|
{ provide: core$1.MAT_DATE_FORMATS, useValue: ɵ1 },
|
|
7376
7380
|
{ provide: core$1.DateAdapter, useClass: MomentDateAdapter },
|
|
7377
|
-
{ provide: forms.NG_VALUE_ACCESSOR, useExisting: FHDatePickerComponent_1, multi: true },
|
|
7378
7381
|
{ provide: core$1.MAT_DATE_LOCALE, useValue: 'it-IT' },
|
|
7379
7382
|
],
|
|
7380
7383
|
template: "\n <div [hidden]=\"!show_buttons||!enabled\">\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"add_year()\">+1 Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"ini_year()\">Inizio Anno</button>\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"fin_year()\">Fine Anno</button>\n </div>\n\n <mat-form-field (click)=\"chxx($event)\" appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <input [disabled]=\"!enabled\" #pickerId (dateChange)=\"ch( $event)\" (focusout)=\"dt_chg($event)\" (keyup)=\"checkInput($event)\"\n (click)=\"chxx($event)\" [(ngModel)]=\"date_sel\" matInput [matDatepicker]=\"picker\" >\n <mat-datepicker-toggle matSuffix [for]=\"picker\" (click)=\"chxx($event)\"></mat-datepicker-toggle>\n <mat-datepicker (click)=\"chxx($event)\" #picker></mat-datepicker>\n </mat-form-field>\n\n ",
|