@fluxhub/fluxhub-lib 1.0.348 → 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.
@@ -15476,12 +15476,24 @@
15476
15476
  this.b_valid = true;
15477
15477
  this.s_uto = "";
15478
15478
  this.b_apprf = false;
15479
+ this.init_user_i();
15480
+ console.log('user_idp: ' + this.user_idp);
15481
+ }
15482
+ /**
15483
+ * @private
15484
+ * @return {?}
15485
+ */
15486
+ dati_aggiuntivi.prototype.init_user_i = /**
15487
+ * @private
15488
+ * @return {?}
15489
+ */
15490
+ function () {
15491
+ console.log('init_user_i ', this.app_s);
15479
15492
  this.user_idp = this.app_s.user;
15480
15493
  this.user_nome = this.app_s.user_name;
15481
15494
  this.user_cognome = this.app_s.user_surname;
15482
15495
  this.user_email = this.app_s.user_email;
15483
- console.log('user_idp: ' + this.user_idp);
15484
- }
15496
+ };
15485
15497
  /**
15486
15498
  * @return {?}
15487
15499
  */
@@ -15489,7 +15501,7 @@
15489
15501
  * @return {?}
15490
15502
  */
15491
15503
  function () {
15492
- this.app_s.getState().wkf_doc_info = new Object();
15504
+ this.app_s.getState().wkf_doc_info = {};
15493
15505
  this.app_s.getState().wkf_doc_info.curr_user = this.user_idp;
15494
15506
  this.app_s.getState().wkf_doc_info.codice = this.m_obj.codice;
15495
15507
  this.app_s.getState().wkf_doc_info.data_richiesta = this.m_obj.data_richiesta;
@@ -17221,13 +17233,22 @@
17221
17233
  function (event) {
17222
17234
  };
17223
17235
  /**
17236
+ * @private
17224
17237
  * @return {?}
17225
17238
  */
17226
- dati_aggiuntivi.prototype.ngOnInit = /**
17239
+ dati_aggiuntivi.prototype.init_engine = /**
17240
+ * @private
17227
17241
  * @return {?}
17228
17242
  */
17229
17243
  function () {
17230
17244
  var _this = this;
17245
+ if (this.user_idp == null) {
17246
+ setTimeout((/**
17247
+ * @return {?}
17248
+ */
17249
+ function () { _this.init_user_i(); }), 500);
17250
+ return;
17251
+ }
17231
17252
  this.m_route.params.subscribe((/**
17232
17253
  * @param {?} params
17233
17254
  * @return {?}
@@ -17289,6 +17310,15 @@
17289
17310
  }));
17290
17311
  }));
17291
17312
  };
17313
+ /**
17314
+ * @return {?}
17315
+ */
17316
+ dati_aggiuntivi.prototype.ngOnInit = /**
17317
+ * @return {?}
17318
+ */
17319
+ function () {
17320
+ this.init_engine();
17321
+ };
17292
17322
  /**
17293
17323
  * @param {?} o
17294
17324
  * @return {?}