@fluxhub/fluxhub-lib 10.0.622 → 10.0.623

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.
@@ -3713,18 +3713,18 @@ fh_win_picklist.decorators = [
3713
3713
  <button *ngIf="!single_sel"
3714
3714
  mat-flat-button
3715
3715
  color="primary"
3716
- (click)="add_all()"
3716
+ (click)="add_all()" matTooltip="Seleziona Tutto"
3717
3717
  [disabled]="value_list_sel.length==0"
3718
3718
  >
3719
- Sel. Tutti
3719
+ <<
3720
3720
  </button> <br *ngIf="!single_sel"/>
3721
3721
  <button *ngIf="!single_sel"
3722
3722
  mat-flat-button
3723
- color="primary"
3723
+ color="primary" matTooltip="Deseleziona Tutto"
3724
3724
  (click)="rem_all()"
3725
3725
  [disabled]="value_sel.length==0"
3726
3726
  >
3727
- Desel. Tutti
3727
+ >>
3728
3728
  </button>
3729
3729
  </div>
3730
3730
  </div>
@@ -15343,7 +15343,7 @@ win_log.decorators = [
15343
15343
  >mail</mat-icon
15344
15344
  >
15345
15345
  </td>
15346
- <td *ngIf="c_edit"> c_edit {{c_edit}}
15346
+ <td *ngIf="c_edit">
15347
15347
  <mat-icon
15348
15348
  *ngIf="
15349
15349
  i == 0 &&
@@ -22670,7 +22670,7 @@ win_insert_commento_v2.ctorParameters = () => [
22670
22670
  ];
22671
22671
 
22672
22672
  class win_log_v2 {
22673
- constructor(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file, _tsr) {
22673
+ constructor(dialogRef, m_dialogRef, m_appService, toastr, _dataService, m_wkf, m_file, _tsr, data) {
22674
22674
  this.dialogRef = dialogRef;
22675
22675
  this.m_dialogRef = m_dialogRef;
22676
22676
  this.m_appService = m_appService;
@@ -22679,6 +22679,7 @@ class win_log_v2 {
22679
22679
  this.m_wkf = m_wkf;
22680
22680
  this.m_file = m_file;
22681
22681
  this._tsr = _tsr;
22682
+ this.data = data;
22682
22683
  this.ossv = false;
22683
22684
  this.not_comm = false;
22684
22685
  this.not_comm_disabled = false;
@@ -22692,10 +22693,13 @@ class win_log_v2 {
22692
22693
  this.b_edit = false;
22693
22694
  this.b_ins = false;
22694
22695
  this.edit_id = 0;
22696
+ this.c_edit = true;
22695
22697
  this.lettori = "";
22696
22698
  this.subject = "";
22697
22699
  this.link = "";
22698
22700
  this.codice_doc = "";
22701
+ if (data.c_edit != null)
22702
+ this.c_edit = data.c_edit;
22699
22703
  }
22700
22704
  ric_all() {
22701
22705
  this.refresh_list();
@@ -23044,9 +23048,9 @@ win_log_v2.decorators = [
23044
23048
  fxLayout="row"
23045
23049
  fxLayoutAlign="center end"
23046
23050
  fxFlex="90"
23047
- *ngIf="!b_edit && commenti_insert"
23051
+ *ngIf="!b_edit && commenti_insert && c_edit"
23048
23052
  >
23049
- <button mat-flat-button color="accent" (click)="ins()">
23053
+ <button mat-flat-button color="accent" (click)="ins()">
23050
23054
  <mat-icon>note_add</mat-icon>
23051
23055
  {{'INSERISCI' | translate}}</button
23052
23056
  >&nbsp;&nbsp;&nbsp;&nbsp;
@@ -23092,7 +23096,7 @@ win_log_v2.decorators = [
23092
23096
  <th width="15%"> {{'Utente' | translate}}</th>
23093
23097
  <th> {{'Operazione' | translate}}</th>
23094
23098
  <td></td>
23095
- <td></td>
23099
+ <td *ngIf="c_edit"></td>
23096
23100
  </tr>
23097
23101
  </thead>
23098
23102
  <tbody>
@@ -23115,7 +23119,7 @@ win_log_v2.decorators = [
23115
23119
  >mail</mat-icon
23116
23120
  >
23117
23121
  </td>
23118
- <td>
23122
+ <td *ngIf="c_edit">
23119
23123
  <mat-icon
23120
23124
  *ngIf="
23121
23125
  i == 0 &&
@@ -23144,7 +23148,8 @@ win_log_v2.ctorParameters = () => [
23144
23148
  { type: QueryService },
23145
23149
  { type: WkfService },
23146
23150
  { type: FileService },
23147
- { type: TranslateService }
23151
+ { type: TranslateService },
23152
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
23148
23153
  ];
23149
23154
  win_log_v2.propDecorators = {
23150
23155
  zz: [{ type: ViewChild, args: ["zz",] }]
@@ -24807,12 +24812,14 @@ class dati_aggiuntivi_v2 {
24807
24812
  }
24808
24813
  this.salva();
24809
24814
  }
24810
- open_wkf(inser_c = false) {
24815
+ open_wkf(inser_c = false, edit_c = true) {
24816
+ console.log('inser_c = false,edit_c=true ', inser_c, edit_c);
24811
24817
  let s_h = this.app_s.getState().body_h - 40 + "px";
24812
24818
  let dialogRef = this.m_dialog.open(win_log_v2, {
24813
24819
  disableClose: true,
24814
24820
  width: "95%",
24815
24821
  height: s_h,
24822
+ data: { edit_c: edit_c }
24816
24823
  });
24817
24824
  setTimeout(() => {
24818
24825
  dialogRef.componentInstance.subject =