@fluxhub/fluxhub-lib 1.0.298 → 1.0.299
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 +11 -1
- 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/docs/components/FHGridComponent.html +24 -0
- package/docs/components/FHGridJSONComponent.html +1 -1
- package/docs/coverage.html +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2015/lib/controls/fhgrid.js +7 -1
- package/esm2015/lib/controls/fhgrid_json.js +4 -2
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +5 -1
- package/esm5/lib/controls/fhgrid.js +7 -1
- package/esm5/lib/controls/fhgrid_json.js +4 -2
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +5 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +12 -2
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +1 -0
- package/package.json +1 -1
|
@@ -34,7 +34,7 @@ import { DomSanitizer } from '@angular/platform-browser';
|
|
|
34
34
|
import { NgControl, NG_VALUE_ACCESSOR, FormsModule } from '@angular/forms';
|
|
35
35
|
import { MatDialogRef, MatDialog, DateAdapter, MAT_DATE_LOCALE, MatAutocompleteModule, MatButtonModule, MatButtonToggleModule, MatPaginatorModule, MatCardModule, MatCheckboxModule, MatChipsModule, MatDatepickerModule, MatGridListModule, MatIconModule, MatInputModule, MatListModule, MatMenuModule, MatProgressBarModule, MatProgressSpinnerModule, MatRadioModule, MatSelectModule, MatSidenavModule, MatSliderModule, MatSortModule, MatSlideToggleModule, MatSnackBarModule, MatTableModule, MatTabsModule, MatToolbarModule, MatTooltipModule, MatFormFieldModule, MatExpansionModule, MatStepperModule, MatDialogModule, MatNativeDateModule } from '@angular/material';
|
|
36
36
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
37
|
-
import { Injectable, Component, Directive,
|
|
37
|
+
import { Injectable, Component, Directive, Inject, PLATFORM_ID, Pipe, Input, forwardRef, Output, EventEmitter, ViewChild, ViewContainerRef, ElementRef, Optional, HostListener, defineInjectable, inject, NgModule } from '@angular/core';
|
|
38
38
|
import { Http } from '@angular/http';
|
|
39
39
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
40
40
|
import { ToastrService } from 'ngx-toastr';
|
|
@@ -6033,6 +6033,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
6033
6033
|
this.sort_field = "";
|
|
6034
6034
|
this.fields = "*";
|
|
6035
6035
|
this.filters = "1=1";
|
|
6036
|
+
this.auto_height = false;
|
|
6036
6037
|
this.abilita_export = true;
|
|
6037
6038
|
this.enabled_pag = true;
|
|
6038
6039
|
this.show_help = true;
|
|
@@ -7263,6 +7264,8 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7263
7264
|
return;
|
|
7264
7265
|
}
|
|
7265
7266
|
}
|
|
7267
|
+
if (this.auto_height)
|
|
7268
|
+
this.gridOptions.api.setGridAutoHeight(true);
|
|
7266
7269
|
this.onready_go();
|
|
7267
7270
|
};
|
|
7268
7271
|
/**
|
|
@@ -7732,6 +7735,7 @@ var FHGridComponent = /** @class */ (function () {
|
|
|
7732
7735
|
sort_field: [{ type: Input }],
|
|
7733
7736
|
fields: [{ type: Input }],
|
|
7734
7737
|
filters: [{ type: Input }],
|
|
7738
|
+
auto_height: [{ type: Input }],
|
|
7735
7739
|
abilita_export: [{ type: Input }],
|
|
7736
7740
|
enabled_pag: [{ type: Input }],
|
|
7737
7741
|
show_help: [{ type: Input }],
|
|
@@ -13173,7 +13177,7 @@ var FHGridJSONComponent = /** @class */ (function () {
|
|
|
13173
13177
|
this.sort_field = "";
|
|
13174
13178
|
this.fields = "*";
|
|
13175
13179
|
this.filters = "1=1";
|
|
13176
|
-
this.auto_height =
|
|
13180
|
+
this.auto_height = false;
|
|
13177
13181
|
this.abilita_export = true;
|
|
13178
13182
|
this.enabled_pag = true;
|
|
13179
13183
|
this.show_help = true;
|
|
@@ -14102,6 +14106,8 @@ var FHGridJSONComponent = /** @class */ (function () {
|
|
|
14102
14106
|
return;
|
|
14103
14107
|
}
|
|
14104
14108
|
}
|
|
14109
|
+
if (this.auto_height)
|
|
14110
|
+
this.gridOptions.api.setGridAutoHeight(true);
|
|
14105
14111
|
this.onready_go();
|
|
14106
14112
|
};
|
|
14107
14113
|
/**
|
|
@@ -16423,6 +16429,8 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
16423
16429
|
*/
|
|
16424
16430
|
function () {
|
|
16425
16431
|
console.log('return_edit');
|
|
16432
|
+
console.log('rthis.m_obj.autori ', this.m_obj.autori);
|
|
16433
|
+
console.log('this.user_idp ', this.user_idp);
|
|
16426
16434
|
for (var i = 0; i < this.livs.length; i++)
|
|
16427
16435
|
if (this.livs[i].livello == this.m_obj.stato) {
|
|
16428
16436
|
if (this.livs[i].abilita_indietro == 1)
|
|
@@ -16431,6 +16439,8 @@ var dati_aggiuntivi = /** @class */ (function () {
|
|
|
16431
16439
|
this.respingi_enabled = false;
|
|
16432
16440
|
break;
|
|
16433
16441
|
}
|
|
16442
|
+
if (this.m_obj.autori == null)
|
|
16443
|
+
this.m_obj.autori = '';
|
|
16434
16444
|
if (this.m_obj.autori.toLowerCase().indexOf(this.user_idp.toLowerCase()) != -1) {
|
|
16435
16445
|
this.edit_b(true);
|
|
16436
16446
|
if (this.respingi_enabled)
|