@fluxhub/fluxhub-lib 19.0.235 → 19.0.236

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.
@@ -30740,6 +30740,13 @@ class win_conferma_v2 {
30740
30740
  comm_notrequired = 0;
30741
30741
  mobile = false;
30742
30742
  buttons = [];
30743
+ /**
30744
+ * Riga "Assegnata a: <nomi>" sopra il commento. Acceso di default (comportamento
30745
+ * storico); si spegne passando `show_utenti: false` nei data del dialog, cioe' dal
30746
+ * form della pratica con `FHWorkflowForm.show_assegnatari = false`, quando il cliente
30747
+ * non vuole che chi avanza veda a chi finisce la pratica.
30748
+ */
30749
+ show_utenti = true;
30743
30750
  constructor(dialogRef, m_appService, toastr, _tsr, data) {
30744
30751
  this.dialogRef = dialogRef;
30745
30752
  this.m_appService = m_appService;
@@ -30757,6 +30764,8 @@ class win_conferma_v2 {
30757
30764
  this.lbl = data.lbl;
30758
30765
  if (data.utenti != null)
30759
30766
  this.utenti = data.utenti.split(';').join(', ');
30767
+ if (data.show_utenti != null)
30768
+ this.show_utenti = data.show_utenti;
30760
30769
  if (data.icon != null)
30761
30770
  this.icon = data.icon;
30762
30771
  if (data.color_font != null)
@@ -30841,14 +30850,14 @@ class win_conferma_v2 {
30841
30850
  <br />
30842
30851
  <div>
30843
30852
  <div
30844
- *ngIf="mobile && utenti.toLocaleLowerCase().indexOf('system') == -1"
30853
+ *ngIf="show_utenti && mobile && utenti.toLocaleLowerCase().indexOf('system') == -1"
30845
30854
  style="font-size:10px"
30846
30855
  >
30847
30856
  {{ 'Assegnata a' | translate }}: {{ utenti }}
30848
30857
  </div>
30849
30858
  <h3
30850
30859
  *ngIf="
30851
- !mobile && utenti.toLocaleLowerCase().indexOf('system') == -1
30860
+ show_utenti && !mobile && utenti.toLocaleLowerCase().indexOf('system') == -1
30852
30861
  "
30853
30862
  >
30854
30863
  {{ 'Assegnata a' | translate }}: {{ utenti }}
@@ -30903,14 +30912,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImpo
30903
30912
  <br />
30904
30913
  <div>
30905
30914
  <div
30906
- *ngIf="mobile && utenti.toLocaleLowerCase().indexOf('system') == -1"
30915
+ *ngIf="show_utenti && mobile && utenti.toLocaleLowerCase().indexOf('system') == -1"
30907
30916
  style="font-size:10px"
30908
30917
  >
30909
30918
  {{ 'Assegnata a' | translate }}: {{ utenti }}
30910
30919
  </div>
30911
30920
  <h3
30912
30921
  *ngIf="
30913
- !mobile && utenti.toLocaleLowerCase().indexOf('system') == -1
30922
+ show_utenti && !mobile && utenti.toLocaleLowerCase().indexOf('system') == -1
30914
30923
  "
30915
30924
  >
30916
30925
  {{ 'Assegnata a' | translate }}: {{ utenti }}
@@ -32796,6 +32805,19 @@ class FHWorkflowForm {
32796
32805
  reject_back_ground_color = '#f44336';
32797
32806
  b_init_next = false;
32798
32807
  sort_field = '';
32808
+ /**
32809
+ * Riga "Assegnata a: <nomi>" nel dialog "Conferma Avanzamento".
32810
+ *
32811
+ * Default acceso: chi avanza vede a chi sta passando la pratica (comportamento
32812
+ * storico, i portali gia' in produzione non cambiano da soli). Va spento nel form
32813
+ * della pratica (`this.show_assegnatari = false;`) quando i destinatari dello step
32814
+ * successivo non devono essere visibili a chi avanza.
32815
+ *
32816
+ * Non tocca il dialog di "Conferma Assegnazione" (assegnazione manuale), dove i
32817
+ * nomi sono l'oggetto stesso della scelta, ne' il testo di stato scritto sul
32818
+ * documento e nei log.
32819
+ */
32820
+ show_assegnatari = true;
32799
32821
  // --- Step in modalita' task (step_mode='T') --------------------------------
32800
32822
  // 'A' = avanzamento manuale (comportamento storico), 'T' = task paralleli:
32801
32823
  // il pulsante Procedi sparisce e l'avanzamento scatta alla chiusura
@@ -33474,6 +33496,7 @@ class FHWorkflowForm {
33474
33496
  commento_default: '',
33475
33497
  comm_notrequired: o.comments_opt,
33476
33498
  utenti: sp,
33499
+ show_utenti: this.show_assegnatari,
33477
33500
  },
33478
33501
  });
33479
33502
  dialogRef.afterClosed().subscribe((result) => {