@fluxhub/fluxhub-lib 10.0.217 → 10.0.219
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 +17 -18
- 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/fhfieldpicklist.js +12 -3
- package/esm2015/lib/controls/fhgrid.js +9 -4
- package/esm2015/lib/services/login.service.js +9 -23
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +2 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +24 -17
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhgrid.d.ts +1 -0
- package/lib/services/login.service.d.ts +2 -9
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ import { SimpleCrypt } from 'ngx-simple-crypt';
|
|
|
7
7
|
import { AES, enc } from 'crypto-js';
|
|
8
8
|
import { map, catchError, flatMap } from 'rxjs/operators';
|
|
9
9
|
import { NG_VALUE_ACCESSOR, NgControl, FormsModule } from '@angular/forms';
|
|
10
|
-
import { Router
|
|
10
|
+
import { Router } from '@angular/router';
|
|
11
11
|
import { SlimLoadingBarService } from 'ng2-slim-loading-bar';
|
|
12
12
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
13
13
|
import 'ag-grid-enterprise';
|
|
@@ -4346,15 +4346,11 @@ FHUploadComponent.propDecorators = {
|
|
|
4346
4346
|
};
|
|
4347
4347
|
|
|
4348
4348
|
class AuthenticationService {
|
|
4349
|
-
constructor(
|
|
4350
|
-
this._dataService = _dataService;
|
|
4349
|
+
constructor(toastr, http, router, app_s) {
|
|
4351
4350
|
this.toastr = toastr;
|
|
4352
4351
|
this.http = http;
|
|
4353
4352
|
this.router = router;
|
|
4354
|
-
this.route = route;
|
|
4355
|
-
this._fileService = _fileService;
|
|
4356
4353
|
this.app_s = app_s;
|
|
4357
|
-
this.uti_s = uti_s;
|
|
4358
4354
|
this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
|
|
4359
4355
|
this.goto_after = "";
|
|
4360
4356
|
this.username = "";
|
|
@@ -4637,21 +4633,17 @@ class AuthenticationService {
|
|
|
4637
4633
|
return true;
|
|
4638
4634
|
}
|
|
4639
4635
|
}
|
|
4640
|
-
AuthenticationService.ɵprov = ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(ɵɵinject(
|
|
4636
|
+
AuthenticationService.ɵprov = ɵɵdefineInjectable({ factory: function AuthenticationService_Factory() { return new AuthenticationService(ɵɵinject(ToastrService), ɵɵinject(HttpClient), ɵɵinject(Router), ɵɵinject(AppService)); }, token: AuthenticationService, providedIn: "root" });
|
|
4641
4637
|
AuthenticationService.decorators = [
|
|
4642
4638
|
{ type: Injectable, args: [{
|
|
4643
4639
|
providedIn: "root",
|
|
4644
4640
|
},] }
|
|
4645
4641
|
];
|
|
4646
4642
|
AuthenticationService.ctorParameters = () => [
|
|
4647
|
-
{ type: QueryService },
|
|
4648
4643
|
{ type: ToastrService },
|
|
4649
4644
|
{ type: HttpClient },
|
|
4650
4645
|
{ type: Router },
|
|
4651
|
-
{ type:
|
|
4652
|
-
{ type: FileService },
|
|
4653
|
-
{ type: AppService },
|
|
4654
|
-
{ type: UtilityService }
|
|
4646
|
+
{ type: AppService }
|
|
4655
4647
|
];
|
|
4656
4648
|
|
|
4657
4649
|
class fh_win_show_email {
|
|
@@ -8754,7 +8746,6 @@ class FHGridComponent {
|
|
|
8754
8746
|
return;
|
|
8755
8747
|
let ss = "";
|
|
8756
8748
|
for (let i = 0; i < arr_F.length; i++) {
|
|
8757
|
-
console.log('CALCOLO ', arr_F[i]);
|
|
8758
8749
|
let ss_r = "";
|
|
8759
8750
|
for (let y = 0; y < this.columnDefs.length; y++) {
|
|
8760
8751
|
if (this.columnDefs[y] != null)
|
|
@@ -8785,7 +8776,6 @@ class FHGridComponent {
|
|
|
8785
8776
|
}
|
|
8786
8777
|
});
|
|
8787
8778
|
if (ss_r != '') {
|
|
8788
|
-
console.log('ADDO '), ss_r;
|
|
8789
8779
|
if (ss != "")
|
|
8790
8780
|
ss += " and ";
|
|
8791
8781
|
ss += '(' + ss_r + ')';
|
|
@@ -8806,6 +8796,13 @@ class FHGridComponent {
|
|
|
8806
8796
|
this.gridOptions.api.paginationGoToPage(this.m_appService.getState().grid_obj[this.grid_key+'_startPage']);
|
|
8807
8797
|
} */
|
|
8808
8798
|
}
|
|
8799
|
+
set_init_size() {
|
|
8800
|
+
if (this.myData.length == 0) {
|
|
8801
|
+
setTimeout(() => { this.set_init_size(); }, 500);
|
|
8802
|
+
return;
|
|
8803
|
+
}
|
|
8804
|
+
this.autoSizeAll();
|
|
8805
|
+
}
|
|
8809
8806
|
res_columns(forza = false) {
|
|
8810
8807
|
if (this.columnDefs == null) {
|
|
8811
8808
|
setTimeout(() => {
|
|
@@ -8825,7 +8822,7 @@ class FHGridComponent {
|
|
|
8825
8822
|
b_mantieni_ck = this.toggle_mantieni.checked;
|
|
8826
8823
|
if (localStorage.getItem(this.grid_key + "_COLS") == null ||
|
|
8827
8824
|
localStorage.getItem(this.grid_key + "_COLS") == "") {
|
|
8828
|
-
this.
|
|
8825
|
+
this.set_init_size();
|
|
8829
8826
|
return;
|
|
8830
8827
|
}
|
|
8831
8828
|
if (localStorage.getItem(this.grid_key + "_COLS") != null &&
|
|
@@ -17042,6 +17039,7 @@ class dati_aggiuntivi {
|
|
|
17042
17039
|
this.id_documento,
|
|
17043
17040
|
can,
|
|
17044
17041
|
];
|
|
17042
|
+
console.log('update documento --> ', a);
|
|
17045
17043
|
let t = [];
|
|
17046
17044
|
for (let i = 0; i < a.length; i++)
|
|
17047
17045
|
t.push("string");
|
|
@@ -18809,18 +18807,27 @@ FHFieldPickListComponent.decorators = [
|
|
|
18809
18807
|
matInput
|
|
18810
18808
|
[readonly]="only_in_list"
|
|
18811
18809
|
[(ngModel)]="value"
|
|
18810
|
+
[required]="required"
|
|
18812
18811
|
/>
|
|
18813
18812
|
</mat-form-field>
|
|
18814
18813
|
</div>
|
|
18815
18814
|
|
|
18816
|
-
<div fxLayout="row">
|
|
18815
|
+
<div fxLayout="row" fxLayoutGap="10px">
|
|
18817
18816
|
<button
|
|
18818
18817
|
mat-flat-button
|
|
18819
18818
|
color="primary"
|
|
18820
18819
|
(click)="open_pick_list()"
|
|
18821
18820
|
|
|
18822
18821
|
>
|
|
18823
|
-
|
|
18822
|
+
SELECT
|
|
18823
|
+
</button>
|
|
18824
|
+
<button
|
|
18825
|
+
mat-flat-button
|
|
18826
|
+
color="warn"
|
|
18827
|
+
(click)="resetValue()"
|
|
18828
|
+
|
|
18829
|
+
>
|
|
18830
|
+
RESET
|
|
18824
18831
|
</button>
|
|
18825
18832
|
</div>
|
|
18826
18833
|
</div>
|