@fluxhub/fluxhub-lib 1.0.348 → 1.0.350
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 +39 -6
- 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/wkf_engine/wkf_header_bar.js +8 -4
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +27 -4
- package/esm5/lib/wkf_engine/wkf_header_bar.js +8 -4
- package/esm5/lib/wkf_engine/wkfdatiaggiuntivi.js +36 -5
- package/fesm2015/fluxhub-fluxhub-lib.js +30 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +39 -6
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/wkf_engine/wkf_header_bar.d.ts +1 -0
- package/lib/wkf_engine/wkfdatiaggiuntivi.d.ts +2 -0
- package/package.json +1 -1
|
@@ -14795,17 +14795,25 @@ class dati_aggiuntivi {
|
|
|
14795
14795
|
this.b_valid = true;
|
|
14796
14796
|
this.s_uto = "";
|
|
14797
14797
|
this.b_apprf = false;
|
|
14798
|
+
this.init_user_i();
|
|
14799
|
+
console.log('user_idp: ' + this.user_idp);
|
|
14800
|
+
}
|
|
14801
|
+
/**
|
|
14802
|
+
* @private
|
|
14803
|
+
* @return {?}
|
|
14804
|
+
*/
|
|
14805
|
+
init_user_i() {
|
|
14806
|
+
console.log('init_user_i ', this.app_s);
|
|
14798
14807
|
this.user_idp = this.app_s.user;
|
|
14799
14808
|
this.user_nome = this.app_s.user_name;
|
|
14800
14809
|
this.user_cognome = this.app_s.user_surname;
|
|
14801
14810
|
this.user_email = this.app_s.user_email;
|
|
14802
|
-
console.log('user_idp: ' + this.user_idp);
|
|
14803
14811
|
}
|
|
14804
14812
|
/**
|
|
14805
14813
|
* @return {?}
|
|
14806
14814
|
*/
|
|
14807
14815
|
save_to_app_state() {
|
|
14808
|
-
this.app_s.getState().wkf_doc_info =
|
|
14816
|
+
this.app_s.getState().wkf_doc_info = {};
|
|
14809
14817
|
this.app_s.getState().wkf_doc_info.curr_user = this.user_idp;
|
|
14810
14818
|
this.app_s.getState().wkf_doc_info.codice = this.m_obj.codice;
|
|
14811
14819
|
this.app_s.getState().wkf_doc_info.data_richiesta = this.m_obj.data_richiesta;
|
|
@@ -16369,9 +16377,18 @@ class dati_aggiuntivi {
|
|
|
16369
16377
|
onResize(event) {
|
|
16370
16378
|
}
|
|
16371
16379
|
/**
|
|
16380
|
+
* @private
|
|
16372
16381
|
* @return {?}
|
|
16373
16382
|
*/
|
|
16374
|
-
|
|
16383
|
+
init_engine() {
|
|
16384
|
+
if (this.user_idp == null) {
|
|
16385
|
+
setTimeout((/**
|
|
16386
|
+
* @return {?}
|
|
16387
|
+
*/
|
|
16388
|
+
() => { this.init_user_i(); this.init_engine(); }), 500);
|
|
16389
|
+
return;
|
|
16390
|
+
}
|
|
16391
|
+
console.log('init_engine ');
|
|
16375
16392
|
this.m_route.params.subscribe((/**
|
|
16376
16393
|
* @param {?} params
|
|
16377
16394
|
* @return {?}
|
|
@@ -16433,6 +16450,12 @@ class dati_aggiuntivi {
|
|
|
16433
16450
|
}));
|
|
16434
16451
|
}));
|
|
16435
16452
|
}
|
|
16453
|
+
/**
|
|
16454
|
+
* @return {?}
|
|
16455
|
+
*/
|
|
16456
|
+
ngOnInit() {
|
|
16457
|
+
this.init_engine();
|
|
16458
|
+
}
|
|
16436
16459
|
/**
|
|
16437
16460
|
* @param {?} o
|
|
16438
16461
|
* @return {?}
|
|
@@ -16512,6 +16535,7 @@ class wkf_header_bar {
|
|
|
16512
16535
|
this.dt_agg = null;
|
|
16513
16536
|
this.edit_button = false;
|
|
16514
16537
|
this.respingi_button = false;
|
|
16538
|
+
this.procedi_button = true;
|
|
16515
16539
|
}
|
|
16516
16540
|
/**
|
|
16517
16541
|
* @return {?}
|
|
@@ -16569,7 +16593,7 @@ wkf_header_bar.decorators = [
|
|
|
16569
16593
|
|
|
16570
16594
|
<button mat-raised-button (click)="back()" *ngIf="!m_appService.getState().pageFullscreen">Indietro</button>
|
|
16571
16595
|
<button mat-raised-button (click)="evt_salv()" *ngIf="edit_button && !m_appService.getState().pageFullscreen" color="primary" >Salva</button>
|
|
16572
|
-
<button mat-raised-button (click)="procedi()" *ngIf="edit_button" color="accent" >Procedi</button>
|
|
16596
|
+
<button mat-raised-button (click)="procedi()" *ngIf="edit_button && procedi_button" color="accent" >Procedi</button>
|
|
16573
16597
|
<button mat-raised-button (click)="respingi()" *ngIf="respingi_button" color="warn" >Respingi</button>
|
|
16574
16598
|
<!-- <button mat-raised-button (click)="doEnd(900)" color="warn" >test</button>
|
|
16575
16599
|
-->
|
|
@@ -16597,7 +16621,8 @@ wkf_header_bar.ctorParameters = () => [
|
|
|
16597
16621
|
wkf_header_bar.propDecorators = {
|
|
16598
16622
|
dt_agg: [{ type: Input }],
|
|
16599
16623
|
edit_button: [{ type: Input }],
|
|
16600
|
-
respingi_button: [{ type: Input }]
|
|
16624
|
+
respingi_button: [{ type: Input }],
|
|
16625
|
+
procedi_button: [{ type: Input }]
|
|
16601
16626
|
};
|
|
16602
16627
|
|
|
16603
16628
|
/**
|