@fluxhub/fluxhub-lib 11.0.16 → 11.0.18

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.
@@ -5007,14 +5007,7 @@ win_riassegna_select_user.decorators = [
5007
5007
  [vis_buttons]="false"
5008
5008
  ></FHPickUsers>
5009
5009
  </div>
5010
-
5011
- <mat-form-field
5012
- [hidden]="commento_hidden"
5013
- appearance="outline"
5014
- floatLabel="always"
5015
- ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>
5016
- <textarea matInput [(ngModel)]="nota" rows="2"></textarea>
5017
- </mat-form-field>
5010
+ <FHTextArea [hidden]="commento_hidden" [label]="'Commento' | translate" [(ngModel)]="nota" rows="2"></FHTextArea>
5018
5011
  </div>
5019
5012
  <div mat-dialog-actions fxLayout="row" fxLayoutAlign="center center">
5020
5013
  <div>
@@ -14107,10 +14100,8 @@ win_assegna.decorators = [
14107
14100
  </div>
14108
14101
  <div *ngIf="comm_notrequired != 1">
14109
14102
  <br />
14110
- <mat-form-field appearance="outline" floatLabel="always"
14111
- ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>
14112
- <textarea matInput [(ngModel)]="nota" rows="4"></textarea>
14113
- </mat-form-field>
14103
+
14104
+ <FHTextArea [label]="'Commento' | translate" [(ngModel)]="nota" rows="4"></FHTextArea>
14114
14105
  </div>
14115
14106
  </div>
14116
14107
  <br />
@@ -14913,11 +14904,8 @@ win_commenti.decorators = [
14913
14904
  </mat-toolbar>
14914
14905
  <br />
14915
14906
  <div mat-dialog-content style="min-width:800px;font-size: 15px;">
14916
- <mat-form-field *ngIf="b_edit" appearance="outline" floatLabel="always"
14917
- ><mat-label> {{'Commento' | translate}}</mat-label>
14918
- <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
14919
- </mat-form-field>
14920
14907
 
14908
+ <FHTextArea [label]="'Commento' | translate" [(ngModel)]="nota" rows="12"></FHTextArea>
14921
14909
  <div *ngIf="b_edit" fxLayoutAlign="center center" fxLayout="row">
14922
14910
  <button mat-flat-button color="primary" (click)="ok()">{{'OK' | translate}}</button
14923
14911
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -15496,13 +15484,8 @@ win_log.decorators = [
15496
15484
 
15497
15485
  <div fxLayout="column" *ngIf="b_edit">
15498
15486
  <br />
15499
- <mat-form-field
15500
- *ngIf="b_edit"
15501
- appearance="outline"
15502
- floatLabel="always"
15503
- ><mat-label>{{'Commento' | translate}}</mat-label>
15504
- <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
15505
- </mat-form-field>
15487
+
15488
+ <FHTextArea *ngIf="b_edit" [label]="'Commento' | translate" [(ngModel)]="nota" rows="12"></FHTextArea>
15506
15489
 
15507
15490
  <div *ngIf="b_edit" fxLayoutAlign="center center" fxLayout="row">
15508
15491
  <button mat-flat-button color="primary" (click)="ok()">OK</button
@@ -21602,11 +21585,7 @@ win_insert_commento.decorators = [
21602
21585
  <hr width="100%" size="0.5" color="#DDDDDD" />
21603
21586
 
21604
21587
  <div mat-dialog-content style="min-width:800px;font-size: 15px;">
21605
- <mat-form-field appearance="outline" floatLabel="always"
21606
- ><mat-label>{{'Commento' | translate}}</mat-label>
21607
- <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
21608
- </mat-form-field>
21609
-
21588
+ <FHTextArea [label]="'Commento' | translate" [(ngModel)]="nota" rows="12"></FHTextArea>
21610
21589
  <div>
21611
21590
  <button mat-flat-button color="primary" (click)="ok()">OK</button
21612
21591
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -22031,10 +22010,7 @@ win_assegna_v2.decorators = [
22031
22010
  </div>
22032
22011
  <div *ngIf="comm_notrequired != 1">
22033
22012
  <br />
22034
- <mat-form-field appearance="outline" floatLabel="always"
22035
- ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>
22036
- <textarea required matInput [(ngModel)]="nota" rows="4"></textarea>
22037
- </mat-form-field>
22013
+ <FHTextArea [label]="('Commento' | translate) + nota_commento" [(ngModel)]="nota" rows="4"></FHTextArea>
22038
22014
  </div>
22039
22015
  </div>
22040
22016
  <br />
@@ -22428,11 +22404,7 @@ win_commenti_v2.decorators = [
22428
22404
 
22429
22405
  <br />
22430
22406
  <div mat-dialog-content style="min-width:800px;font-size: 15px;">
22431
- <mat-form-field *ngIf="b_edit" appearance="outline" floatLabel="always"
22432
- ><mat-label>{{'Commento' | translate}}</mat-label>
22433
- <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
22434
- </mat-form-field>
22435
-
22407
+ <FHTextArea *ngIf="b_edit" [label]="'Commento' | translate" [(ngModel)]="nota" rows="12"></FHTextArea>
22436
22408
  <div *ngIf="b_edit" fxLayoutAlign="center center" fxLayout="row">
22437
22409
  <button mat-flat-button color="primary" (click)="ok()"> {{'OK' | translate}}</button
22438
22410
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -22891,11 +22863,7 @@ win_insert_commento_v2.decorators = [
22891
22863
  <hr width="100%" size="0.5" color="#DDDDDD" />
22892
22864
 
22893
22865
  <div mat-dialog-content style="min-width:800px;font-size: 15px;">
22894
- <mat-form-field appearance="outline" floatLabel="always"
22895
- ><mat-label>{{'Commento' | translate}}</mat-label>
22896
- <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
22897
- </mat-form-field>
22898
-
22866
+ <FHTextArea [label]="'Commento' | translate" [(ngModel)]="nota" rows="12"></FHTextArea>
22899
22867
  <div>
22900
22868
  <button mat-flat-button color="primary" (click)="ok()">{{'OK' | translate}}</button
22901
22869
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -23311,14 +23279,8 @@ win_log_v2.decorators = [
23311
23279
 
23312
23280
  <div fxLayout="column" *ngIf="b_edit">
23313
23281
  <br />
23314
- <mat-form-field
23315
- *ngIf="b_edit"
23316
- appearance="outline"
23317
- floatLabel="always"
23318
- ><mat-label>{{'Commento' | translate}}</mat-label>
23319
- <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
23320
- </mat-form-field>
23321
23282
 
23283
+ <FHTextArea *ngIf="b_edit" [label]="'Commento' | translate" [(ngModel)]="nota" rows="12"></FHTextArea>
23322
23284
  <div *ngIf="b_edit" fxLayoutAlign="center center" fxLayout="row">
23323
23285
  <button mat-flat-button color="primary" (click)="ok()">OK</button
23324
23286
  >&nbsp;&nbsp;&nbsp;&nbsp;
@@ -24236,6 +24198,7 @@ class win_assegna_a {
24236
24198
  this.title = "";
24237
24199
  this.comm_notrequired = 0;
24238
24200
  this.prendi_in_carico = true;
24201
+ this.in_carico = true;
24239
24202
  this.all_users = [];
24240
24203
  if (data != null) {
24241
24204
  if (data.commento_default != null)
@@ -24246,6 +24209,8 @@ class win_assegna_a {
24246
24209
  this.title = data.title;
24247
24210
  if (data.lbl != null)
24248
24211
  this.lbl = data.lbl;
24212
+ if (data.in_carico != null)
24213
+ this.in_carico = data.in_carico;
24249
24214
  if (data.only_riassegna != null) {
24250
24215
  if (data.only_riassegna) {
24251
24216
  this.op = 'A';
@@ -24319,9 +24284,9 @@ win_assegna_a.decorators = [
24319
24284
  <div fxLayout="row" fxLayoutAlign="start center" fxFlexGap="5px" fxFlex="100" [hidden]="hide_row_cmd">
24320
24285
  <div style="width:100px;font-weight:bold">Operazione:*</div>
24321
24286
  <mat-radio-group [(ngModel)]="op">
24322
- <mat-radio-button value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24287
+ <mat-radio-button [hidden]="!in_carico" value="L">LIBERA</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24323
24288
  <mat-radio-button value="A">RIASSEGNA A</mat-radio-button>&nbsp;&nbsp;&nbsp;&nbsp;
24324
- <mat-radio-button [hidden]="!prendi_in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24289
+ <mat-radio-button [hidden]="!prendi_in_carico || in_carico" value="C">PRENDI IN CARICO</mat-radio-button>
24325
24290
  </mat-radio-group>
24326
24291
  </div>
24327
24292
  <div style="width:100%;height:450px" [hidden]="op!='A'">
@@ -24828,6 +24793,10 @@ class dati_aggiuntivi_v2 {
24828
24793
  " non presenta utenti partecipanti validi", 1);
24829
24794
  return;
24830
24795
  }
24796
+ if (o.pre_assegna_req == null)
24797
+ o.pre_assegna_req = 0;
24798
+ if (o.pre_assegna_man == null)
24799
+ o.pre_assegna_man = 0;
24831
24800
  console.log(' o.pre_assegna_req ', o.pre_assegna_req);
24832
24801
  if (this.transizione_info.manual_assignment == 1 || o.pre_assegna_man == 1) {
24833
24802
  let att_autor = [];
@@ -25029,7 +24998,7 @@ class dati_aggiuntivi_v2 {
25029
24998
  });
25030
24999
  }*/
25031
25000
  }
25032
- assegna_a() {
25001
+ assegna_a(in_carico) {
25033
25002
  let arx = this.m_obj.assegnati_paralleli.split(",");
25034
25003
  let arrAutori = [];
25035
25004
  for (let x = 0; x < arx.length; x++)
@@ -25058,7 +25027,7 @@ class dati_aggiuntivi_v2 {
25058
25027
  commento_default: "",
25059
25028
  comm_notrequired: "",
25060
25029
  utenti: arrAutori,
25061
- prendi_in_carico: this.m_obj.autori != this.app_s.user,
25030
+ prendi_in_carico: this.m_obj.autori != this.app_s.user, in_carico: in_carico
25062
25031
  },
25063
25032
  });
25064
25033
  dialogRef.afterClosed().subscribe((result) => {
@@ -26540,7 +26509,7 @@ class wkf_header_bar_v2 {
26540
26509
  prendi_in_carico() { this.button_clicked.emit('prendi_in_c'); if (this.dt_agg != null)
26541
26510
  this.dt_agg.prendi_in_carico(); }
26542
26511
  evt_assegna_a() { this.button_clicked.emit('assegna_a'); if (this.dt_agg != null)
26543
- this.dt_agg.assegna_a(); }
26512
+ this.dt_agg.assegna_a(this.dt_agg.in_carico); }
26544
26513
  respingi() { this.button_clicked.emit('respingi'); if (this.dt_agg != null)
26545
26514
  this.dt_agg.respingi(); }
26546
26515
  procedi() { this.button_clicked.emit('procedi'); if (this.dt_agg != null)