@fluxhub/fluxhub-lib 10.0.603 → 10.0.605

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.
@@ -15532,6 +15532,22 @@
15532
15532
  // this.modeler.importXML(data.result_data[0].diagramma_flusso);
15533
15533
  var b_found = false;
15534
15534
  for (var i = 0; i < _this.logs.length; i++) {
15535
+ if (_this.logs[i].liv_ini != null
15536
+ && _this.logs[i].liv_fin != null) {
15537
+ for (var ixx = 0; ixx < 5; ixx++) {
15538
+ var idj = '';
15539
+ if (ixx == 0)
15540
+ idj = _this.logs[i].liv_ini + '_' + _this.logs[i].liv_fin;
15541
+ else
15542
+ idj = _this.logs[i].liv_ini + '_' + _this.logs[i].liv_fin + '_' + ixx;
15543
+ console.log('sostituisco ', idj);
15544
+ data.result_data[0].diagramma_flusso = data.result_data[0].diagramma_flusso
15545
+ .split('bpmnElement="LINK_' + idj + '"')
15546
+ .join('bpmnElement="LINK_' +
15547
+ idj +
15548
+ '" bioc:stroke="#1E88E5" bioc:fill="#BBDEFB"');
15549
+ }
15550
+ }
15535
15551
  if (_this.logs[i].id_comment == -1) {
15536
15552
  if (_this.logs[i].liv_ini != null)
15537
15553
  data.result_data[0].diagramma_flusso = data.result_data[0].diagramma_flusso
@@ -21539,11 +21555,11 @@
21539
21555
  var _this = this;
21540
21556
  if (this.user_idp == null) {
21541
21557
  setTimeout(function () {
21542
- _this.init_user_i();
21543
21558
  _this.init_engine();
21544
21559
  }, 100);
21545
21560
  return;
21546
21561
  }
21562
+ this.init_user_i();
21547
21563
  this.m_route.params.subscribe(function (params) {
21548
21564
  _this.onResize();
21549
21565
  var id = params["op"];
@@ -22265,6 +22281,7 @@
22265
22281
  data.result_data[0].cognome +
22266
22282
  " " +
22267
22283
  data.result_data[0].nome;
22284
+ console.log('SETTO LOCALSTORAGE: ', _this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
22268
22285
  localStorage.setItem(_this.app_s.COMPANY_KEY + '_imp_user', _this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
22269
22286
  _this.get_grid().doFill("");
22270
22287
  }
@@ -24252,12 +24269,12 @@
24252
24269
  console.log('this.user_idp == null || this.m_route.params==null ', this.user_idp, this.m_route.params, new Date());
24253
24270
  if (this.user_idp == null || this.m_route.params == null) {
24254
24271
  setTimeout(function () {
24255
- _this.init_user_i();
24256
24272
  _this.init_engine();
24257
24273
  }, 500);
24258
24274
  return;
24259
24275
  }
24260
24276
  console.log('init_engine', new Date());
24277
+ this.init_user_i();
24261
24278
  this.m_route.params.subscribe(function (params) {
24262
24279
  var id = params["op"];
24263
24280
  _this.id_applicativo = params["idapp"];