@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.
@@ -18654,11 +18654,11 @@ class dati_aggiuntivi {
18654
18654
  init_engine() {
18655
18655
  if (this.user_idp == null) {
18656
18656
  setTimeout(() => {
18657
- this.init_user_i();
18658
18657
  this.init_engine();
18659
18658
  }, 100);
18660
18659
  return;
18661
18660
  }
18661
+ this.init_user_i();
18662
18662
  this.m_route.params.subscribe((params) => {
18663
18663
  this.onResize();
18664
18664
  var id = params["op"];
@@ -22662,6 +22662,22 @@ class win_log_v2 {
22662
22662
  // this.modeler.importXML(data.result_data[0].diagramma_flusso);
22663
22663
  let b_found = false;
22664
22664
  for (let i = 0; i < this.logs.length; i++) {
22665
+ if (this.logs[i].liv_ini != null
22666
+ && this.logs[i].liv_fin != null) {
22667
+ for (let ixx = 0; ixx < 5; ixx++) {
22668
+ let idj = '';
22669
+ if (ixx == 0)
22670
+ idj = this.logs[i].liv_ini + '_' + this.logs[i].liv_fin;
22671
+ else
22672
+ idj = this.logs[i].liv_ini + '_' + this.logs[i].liv_fin + '_' + ixx;
22673
+ console.log('sostituisco ', idj);
22674
+ data.result_data[0].diagramma_flusso = data.result_data[0].diagramma_flusso
22675
+ .split('bpmnElement="LINK_' + idj + '"')
22676
+ .join('bpmnElement="LINK_' +
22677
+ idj +
22678
+ '" bioc:stroke="#1E88E5" bioc:fill="#BBDEFB"');
22679
+ }
22680
+ }
22665
22681
  if (this.logs[i].id_comment == -1) {
22666
22682
  if (this.logs[i].liv_ini != null)
22667
22683
  data.result_data[0].diagramma_flusso = data.result_data[0].diagramma_flusso
@@ -25562,12 +25578,12 @@ class dati_aggiuntivi_v2 {
25562
25578
  console.log('this.user_idp == null || this.m_route.params==null ', this.user_idp, this.m_route.params, new Date());
25563
25579
  if (this.user_idp == null || this.m_route.params == null) {
25564
25580
  setTimeout(() => {
25565
- this.init_user_i();
25566
25581
  this.init_engine();
25567
25582
  }, 500);
25568
25583
  return;
25569
25584
  }
25570
25585
  console.log('init_engine', new Date());
25586
+ this.init_user_i();
25571
25587
  this.m_route.params.subscribe((params) => {
25572
25588
  var id = params["op"];
25573
25589
  this.id_applicativo = params["idapp"];
@@ -28852,6 +28868,7 @@ class wkfapp_v2 {
28852
28868
  data.result_data[0].cognome +
28853
28869
  " " +
28854
28870
  data.result_data[0].nome;
28871
+ console.log('SETTO LOCALSTORAGE: ', this.app_s.COMPANY_KEY + '_imp_user', this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
28855
28872
  localStorage.setItem(this.app_s.COMPANY_KEY + '_imp_user', this.m_uti.encrypt_v3(JSON.stringify(data.result_data[0])));
28856
28873
  this.get_grid().doFill("");
28857
28874
  }