@fluxhub/fluxhub-lib 1.0.347 → 1.0.349

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.
@@ -3485,6 +3485,7 @@ class FHUploadPanelComponent {
3485
3485
  .open(WinAskTextBigComponent);
3486
3486
  dialogRef.componentInstance.label = "Descrizione Allegato";
3487
3487
  dialogRef.componentInstance.valore = ax.descrizione;
3488
+ dialogRef.componentInstance.min_chars = 0;
3488
3489
  dialogRef
3489
3490
  .afterClosed()
3490
3491
  .subscribe((/**
@@ -14794,17 +14795,25 @@ class dati_aggiuntivi {
14794
14795
  this.b_valid = true;
14795
14796
  this.s_uto = "";
14796
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);
14797
14807
  this.user_idp = this.app_s.user;
14798
14808
  this.user_nome = this.app_s.user_name;
14799
14809
  this.user_cognome = this.app_s.user_surname;
14800
14810
  this.user_email = this.app_s.user_email;
14801
- console.log('user_idp: ' + this.user_idp);
14802
14811
  }
14803
14812
  /**
14804
14813
  * @return {?}
14805
14814
  */
14806
14815
  save_to_app_state() {
14807
- this.app_s.getState().wkf_doc_info = new Object();
14816
+ this.app_s.getState().wkf_doc_info = {};
14808
14817
  this.app_s.getState().wkf_doc_info.curr_user = this.user_idp;
14809
14818
  this.app_s.getState().wkf_doc_info.codice = this.m_obj.codice;
14810
14819
  this.app_s.getState().wkf_doc_info.data_richiesta = this.m_obj.data_richiesta;
@@ -16368,9 +16377,17 @@ class dati_aggiuntivi {
16368
16377
  onResize(event) {
16369
16378
  }
16370
16379
  /**
16380
+ * @private
16371
16381
  * @return {?}
16372
16382
  */
16373
- ngOnInit() {
16383
+ init_engine() {
16384
+ if (this.user_idp == null) {
16385
+ setTimeout((/**
16386
+ * @return {?}
16387
+ */
16388
+ () => { this.init_user_i(); }), 500);
16389
+ return;
16390
+ }
16374
16391
  this.m_route.params.subscribe((/**
16375
16392
  * @param {?} params
16376
16393
  * @return {?}
@@ -16432,6 +16449,12 @@ class dati_aggiuntivi {
16432
16449
  }));
16433
16450
  }));
16434
16451
  }
16452
+ /**
16453
+ * @return {?}
16454
+ */
16455
+ ngOnInit() {
16456
+ this.init_engine();
16457
+ }
16435
16458
  /**
16436
16459
  * @param {?} o
16437
16460
  * @return {?}