@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.
@@ -15455,12 +15455,24 @@ var dati_aggiuntivi = /** @class */ (function () {
15455
15455
  this.b_valid = true;
15456
15456
  this.s_uto = "";
15457
15457
  this.b_apprf = false;
15458
+ this.init_user_i();
15459
+ console.log('user_idp: ' + this.user_idp);
15460
+ }
15461
+ /**
15462
+ * @private
15463
+ * @return {?}
15464
+ */
15465
+ dati_aggiuntivi.prototype.init_user_i = /**
15466
+ * @private
15467
+ * @return {?}
15468
+ */
15469
+ function () {
15470
+ console.log('init_user_i ', this.app_s);
15458
15471
  this.user_idp = this.app_s.user;
15459
15472
  this.user_nome = this.app_s.user_name;
15460
15473
  this.user_cognome = this.app_s.user_surname;
15461
15474
  this.user_email = this.app_s.user_email;
15462
- console.log('user_idp: ' + this.user_idp);
15463
- }
15475
+ };
15464
15476
  /**
15465
15477
  * @return {?}
15466
15478
  */
@@ -15468,7 +15480,7 @@ var dati_aggiuntivi = /** @class */ (function () {
15468
15480
  * @return {?}
15469
15481
  */
15470
15482
  function () {
15471
- this.app_s.getState().wkf_doc_info = new Object();
15483
+ this.app_s.getState().wkf_doc_info = {};
15472
15484
  this.app_s.getState().wkf_doc_info.curr_user = this.user_idp;
15473
15485
  this.app_s.getState().wkf_doc_info.codice = this.m_obj.codice;
15474
15486
  this.app_s.getState().wkf_doc_info.data_richiesta = this.m_obj.data_richiesta;
@@ -17200,13 +17212,22 @@ var dati_aggiuntivi = /** @class */ (function () {
17200
17212
  function (event) {
17201
17213
  };
17202
17214
  /**
17215
+ * @private
17203
17216
  * @return {?}
17204
17217
  */
17205
- dati_aggiuntivi.prototype.ngOnInit = /**
17218
+ dati_aggiuntivi.prototype.init_engine = /**
17219
+ * @private
17206
17220
  * @return {?}
17207
17221
  */
17208
17222
  function () {
17209
17223
  var _this = this;
17224
+ if (this.user_idp == null) {
17225
+ setTimeout((/**
17226
+ * @return {?}
17227
+ */
17228
+ function () { _this.init_user_i(); }), 500);
17229
+ return;
17230
+ }
17210
17231
  this.m_route.params.subscribe((/**
17211
17232
  * @param {?} params
17212
17233
  * @return {?}
@@ -17268,6 +17289,15 @@ var dati_aggiuntivi = /** @class */ (function () {
17268
17289
  }));
17269
17290
  }));
17270
17291
  };
17292
+ /**
17293
+ * @return {?}
17294
+ */
17295
+ dati_aggiuntivi.prototype.ngOnInit = /**
17296
+ * @return {?}
17297
+ */
17298
+ function () {
17299
+ this.init_engine();
17300
+ };
17271
17301
  /**
17272
17302
  * @param {?} o
17273
17303
  * @return {?}