@fluxhub/fluxhub-lib 10.0.592 → 10.0.593

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.
@@ -2484,7 +2484,7 @@ fh_win_combo.decorators = [
2484
2484
  >
2485
2485
  <button mat-flat-button color="primary" (click)="ok()">OK</button
2486
2486
  >&nbsp;&nbsp;&nbsp;&nbsp;
2487
- <button mat-flat-button color="warn" (click)="close()">ANNULLA</button>
2487
+ <button mat-flat-button color="warn" (click)="close()">{{'ANNULLA' | translate}}</button>
2488
2488
  </mat-dialog-actions>
2489
2489
  </div>
2490
2490
  `
@@ -4201,7 +4201,7 @@ fh_win_ask_text.decorators = [
4201
4201
  >
4202
4202
  <button mat-flat-button color="primary" (click)="do_check()">OK</button
4203
4203
  >&nbsp;&nbsp;&nbsp;
4204
- <button mat-flat-button color="warn" (click)="chiudi()">ANNULLA</button>
4204
+ <button mat-flat-button color="warn" (click)="chiudi()">{{'ANNULLA' | translate}}</button>
4205
4205
  </div>
4206
4206
  <div
4207
4207
  fxLayout="row"
@@ -4209,7 +4209,7 @@ fh_win_ask_text.decorators = [
4209
4209
  style="width: 100%"
4210
4210
  [hidden]="!readonly"
4211
4211
  >
4212
- <button mat-flat-button color="warn" (click)="chiudi()">CHIUDI</button>
4212
+ <button mat-flat-button color="warn" (click)="chiudi()">{{'CHIUDI' | translate}}</button>
4213
4213
  </div>
4214
4214
  </mat-dialog-actions>
4215
4215
  </div>
@@ -4816,7 +4816,7 @@ win_riassegna_select_user.decorators = [
4816
4816
  template: `
4817
4817
  <div   fxLayout="column" fxLayoutGap="5px">
4818
4818
      <div  fxFlex="100" fxLayout="row"   class="dialog_header">
4819
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title}}</div>
4819
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{title |translate}}</div>
4820
4820
  <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
4821
4821
  <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
4822
4822
  </div>
@@ -4835,7 +4835,7 @@ win_riassegna_select_user.decorators = [
4835
4835
  [hidden]="commento_hidden"
4836
4836
  appearance="outline"
4837
4837
  floatLabel="always"
4838
- ><mat-label>Commento {{ nota_commento }}</mat-label>
4838
+ ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>
4839
4839
  <textarea matInput [(ngModel)]="nota" rows="2"></textarea>
4840
4840
  </mat-form-field>
4841
4841
  </div>
@@ -4850,7 +4850,7 @@ win_riassegna_select_user.decorators = [
4850
4850
  style="background-color: #F5F5F5"
4851
4851
  (click)="close()"
4852
4852
  >
4853
- ANNULLA
4853
+ {{'ANNULLA' | translate}}
4854
4854
  </button>
4855
4855
  </div>
4856
4856
  </div>
@@ -12629,7 +12629,7 @@ TextAreaEditor.decorators = [
12629
12629
  CONFERMA
12630
12630
  </button>
12631
12631
  <!-- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
12632
- <button mat-flat-button (click)="this.params.api.stopEditing();">ANNULLA</button>
12632
+ <button mat-flat-button (click)="this.params.api.stopEditing();">{{'ANNULLA' | translate}}</button>
12633
12633
  --></div>
12634
12634
  `,
12635
12635
  styles: [`
@@ -12754,7 +12754,7 @@ ComboBoxEditor.decorators = [
12754
12754
  CONFERMA
12755
12755
  </button>
12756
12756
  <!-- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
12757
- <button mat-flat-button (click)="this.params.api.stopEditing();">ANNULLA</button>
12757
+ <button mat-flat-button (click)="this.params.api.stopEditing();">{{'ANNULLA' | translate}}</button>
12758
12758
  --></div>
12759
12759
  `,
12760
12760
  styles: [`
@@ -12873,7 +12873,7 @@ fh_win_auto_complete.decorators = [
12873
12873
  >
12874
12874
  <button mat-flat-button color="primary" (click)="ok()">OK</button
12875
12875
  >&nbsp;&nbsp;&nbsp;&nbsp;
12876
- <button mat-flat-button color="warn" (click)="close()">ANNULLA</button>
12876
+ <button mat-flat-button color="warn" (click)="close()">{{'ANNULLA' | translate}}</button>
12877
12877
  </mat-dialog-actions>
12878
12878
  </div>
12879
12879
  `
@@ -13268,10 +13268,10 @@ fh_win_output.decorators = [
13268
13268
  template: `
13269
13269
 
13270
13270
  <div   fxLayout="column" fxLayoutGap="5px">
13271
-          <div  fxFlex="100" fxLayout="row"   class="dialog_header"> 
13272
- <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{ title }}</div> 
13271
+          <div  fxFlex="100" fxLayout="row"   class="dialog_header">
13272
+ <div fxLayout="row" fxLayoutAlign="start center" style="width:50%">{{ title }}</div>
13273
13273
  <div style="width:50%" fxLayout="row" fxLayoutAlign="end start">
13274
- <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />    
13274
+ <img    src="assets/icons/x.png"        style="cursor: pointer;"        (click)="close()" />
13275
13275
  </div>
13276
13276
  </div>
13277
13277
  <hr width="100%" size="0.5" color="#DDDDDD">
@@ -13281,7 +13281,7 @@ fh_win_output.decorators = [
13281
13281
  </mat-dialog-content>
13282
13282
  <mat-dialog-actions>
13283
13283
  <div fxFlex="100" fxLayout="row" fxLayoutAlign="end center">
13284
- <button mat-flat-button color="warn" (click)="chiudi()">CHIUDI</button>
13284
+ <button mat-flat-button color="warn" (click)="chiudi()">{{'CHIUDI' | translate}}</button>
13285
13285
  </div>
13286
13286
  </mat-dialog-actions>
13287
13287
  `
@@ -13790,7 +13790,7 @@ win_assegna.decorators = [
13790
13790
  <div *ngIf="comm_notrequired != 1">
13791
13791
  <br />
13792
13792
  <mat-form-field appearance="outline" floatLabel="always"
13793
- ><mat-label>Commento {{ nota_commento }}</mat-label>
13793
+ ><mat-label>{{'Commento' | translate}} {{ nota_commento }}</mat-label>
13794
13794
  <textarea matInput [(ngModel)]="nota" rows="4"></textarea>
13795
13795
  </mat-form-field>
13796
13796
  </div>
@@ -13823,12 +13823,13 @@ win_assegna.propDecorators = {
13823
13823
  };
13824
13824
 
13825
13825
  class win_conferma {
13826
- constructor(dialogRef, m_appService, toastr, _dataService, data) {
13826
+ constructor(dialogRef, m_appService, toastr, _dataService, data, _tsr) {
13827
13827
  this.dialogRef = dialogRef;
13828
13828
  this.m_appService = m_appService;
13829
13829
  this.toastr = toastr;
13830
13830
  this._dataService = _dataService;
13831
13831
  this.data = data;
13832
+ this._tsr = _tsr;
13832
13833
  this.utenti = "";
13833
13834
  this.lbl = "";
13834
13835
  this.nota = "";
@@ -13837,11 +13838,11 @@ class win_conferma {
13837
13838
  this.comm_notrequired = 0;
13838
13839
  this.mobile = false;
13839
13840
  this.comm_notrequired = this.m_appService.getState().wkf_doc_info.comm_notrequired;
13840
- this.title = this.m_appService.getState().wkf_doc_info.title;
13841
- this.lbl = this.m_appService.getState().wkf_doc_info.lbl;
13841
+ this.title = this._tsr.instant(this.m_appService.getState().wkf_doc_info.title);
13842
+ this.lbl = this._tsr.instant(this.m_appService.getState().wkf_doc_info.lbl);
13842
13843
  this.utenti = this.m_appService.getState().wkf_doc_info.utenti;
13843
13844
  if (this.comm_notrequired == 2)
13844
- this.nota_commento = " (COMMENTO NON OBBLIGATORIO)";
13845
+ this.nota_commento = this._tsr.instant(" (COMMENTO NON OBBLIGATORIO)");
13845
13846
  this.mobile = this.m_appService.getState().pageFullscreen;
13846
13847
  if (data != null) {
13847
13848
  if (data.commento_default != null)
@@ -13853,7 +13854,7 @@ class win_conferma {
13853
13854
  ok() {
13854
13855
  if (this.comm_notrequired == 0)
13855
13856
  if (this.nota == "") {
13856
- this.toastr.error("ERRORE", "INSERIRE IL COMMENTO", {
13857
+ this.toastr.error("ERRORE", this._tsr.instant("INSERIRE IL COMMENTO"), {
13857
13858
  timeOut: 1000,
13858
13859
  progressBar: true,
13859
13860
  });
@@ -13888,19 +13889,19 @@ win_conferma.decorators = [
13888
13889
  *ngIf="mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1"
13889
13890
  style="font-size:10px"
13890
13891
  >
13891
- Assegnata a: {{ utenti }}
13892
+ {{'Assegnata a'}}: {{ utenti }}
13892
13893
  </div>
13893
13894
  <h3
13894
13895
  *ngIf="!mobile && utenti?.toLocaleLowerCase().indexOf('system') == -1"
13895
13896
  >
13896
- Assegnata a: {{ utenti }}
13897
+ {{'Assegnata a'}}: {{ utenti }}
13897
13898
  </h3>
13898
13899
  <br />
13899
13900
  <mat-form-field
13900
13901
  [hidden]="comm_notrequired == 1"
13901
13902
  appearance="outline"
13902
13903
  floatLabel="always"
13903
- ><mat-label>Commento {{ nota_commento }}</mat-label>
13904
+ ><mat-label> {{'Commento'}} {{ nota_commento }}</mat-label>
13904
13905
  <textarea matInput [(ngModel)]="nota" rows="6"></textarea>
13905
13906
  </mat-form-field>
13906
13907
  </div>
@@ -13913,7 +13914,7 @@ win_conferma.decorators = [
13913
13914
  style="background-color: #F5F5F5"
13914
13915
  (click)="close()"
13915
13916
  >
13916
- ANNULLA
13917
+ {{'ANNULLA'}}
13917
13918
  </button>
13918
13919
  </div>
13919
13920
  `
@@ -13924,7 +13925,8 @@ win_conferma.ctorParameters = () => [
13924
13925
  { type: AppService },
13925
13926
  { type: ToastrService },
13926
13927
  { type: QueryService },
13927
- { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
13928
+ { type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
13929
+ { type: TranslateService }
13928
13930
  ];
13929
13931
 
13930
13932
  class win_select_canale {
@@ -14205,7 +14207,7 @@ win_commento_sel_notif.decorators = [
14205
14207
  <div style="width:100%;text-align:center;">
14206
14208
  <button mat-flat-button color="primary" (click)="ok()">OK</button
14207
14209
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
14208
- <button mat-flat-button color="warn" (click)="close()">ANNULLA</button>
14210
+ <button mat-flat-button color="warn" (click)="close()">{{'ANNULLA' | translate}}</button>
14209
14211
  </div>
14210
14212
  </div>
14211
14213
  `
@@ -17277,7 +17279,7 @@ class dati_aggiuntivi {
17277
17279
  this.insert_commento(this.id_applicativo, this.id_documento, this.nota, this.user_idp); //id_applicativo,uiid,commento,creatore
17278
17280
  }
17279
17281
  this.m_liv = this.nlevel.livello;
17280
- this.m_statox = "Assegnata a:" + nomi_autori;
17282
+ this.m_statox = this.tsr.instant("Assegnata a") + ": " + nomi_autori;
17281
17283
  this.m_autori_paralleli = "";
17282
17284
  this.m_obj.assegnati_paralleli = "";
17283
17285
  this.chstato(this.m_liv);
@@ -18232,10 +18234,10 @@ class dati_aggiuntivi {
18232
18234
  s,
18233
18235
  this.m_obj.partecipanti + "," + s,
18234
18236
  lvlb,
18235
- "Assegnata a:" + s_auto,
18237
+ this.tsr.instant("Assegnata a") + ":" + s_auto,
18236
18238
  "",
18237
18239
  "",
18238
- this.getLvlDescri(String(lvlb), "Assegnata a:" + s_auto),
18240
+ this.getLvlDescri(String(lvlb), this.tsr.instant("Assegnata") + ': ' + s_auto),
18239
18241
  this.getUsersList(s_auto, this.m_obj.assegnati_paralleli),
18240
18242
  this.user_idp,
18241
18243
  this.getTitle(),
@@ -18249,10 +18251,10 @@ class dati_aggiuntivi {
18249
18251
  s,
18250
18252
  "",
18251
18253
  lvlb,
18252
- "Assegnata a:" + s_auto,
18254
+ this.tsr.instant("Assegnata a") + ": " + s_auto,
18253
18255
  "",
18254
18256
  "",
18255
- this.getLvlDescri(String(lvlb), "Assegnata a:" + s_auto),
18257
+ this.getLvlDescri(String(lvlb), this.tsr.instant("Assegnata a") + ": " + s_auto),
18256
18258
  this.getUsersList(s_auto, this.m_obj.assegnati_paralleli),
18257
18259
  this.user_idp,
18258
18260
  this.getTitle(),
@@ -19534,7 +19536,7 @@ fh_win_ask_buttons.decorators = [
19534
19536
  </mat-dialog-content>
19535
19537
  <br *ngIf="show_close" /><br *ngIf="show_close" />
19536
19538
  <div style="width:100%;text-align:center;" *ngIf="show_close">
19537
- <button mat-flat-button color="accent" (click)="close()">CHIUDI</button>
19539
+ <button mat-flat-button color="accent" (click)="close()">{{'CHIUDI' | translate}}</button>
19538
19540
  </div>
19539
19541
  </div>
19540
19542
  `
@@ -19586,7 +19588,7 @@ fh_win_show_image.decorators = [
19586
19588
  <!-- <ngx-image-viewer [src]="images" [(index)]="imageIndex"></ngx-image-viewer>-->
19587
19589
 
19588
19590
  <mat-dialog-actions>
19589
- <button mat-flat-button (click)="dialogRef.close('')">CHIUDI</button>
19591
+ <button mat-flat-button (click)="dialogRef.close('')">{{'CHIUDI' | translate}}</button>
19590
19592
  </mat-dialog-actions>
19591
19593
  `,
19592
19594
  styles: [``]
@@ -21215,17 +21217,17 @@ win_insert_commento.decorators = [
21215
21217
 
21216
21218
  <div mat-dialog-content style="min-width:800px;font-size: 15px;">
21217
21219
  <mat-form-field appearance="outline" floatLabel="always"
21218
- ><mat-label>Commento</mat-label>
21220
+ ><mat-label>{{'Commento' | translate}}</mat-label>
21219
21221
  <textarea matInput [(ngModel)]="nota" rows="12"></textarea>
21220
21222
  </mat-form-field>
21221
21223
 
21222
21224
  <div>
21223
21225
  <button mat-flat-button color="primary" (click)="ok()">OK</button
21224
21226
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
21225
- <button mat-flat-button color="warn" (click)="annulla()">ANNULLA</button
21227
+ <button mat-flat-button color="warn" (click)="annulla()">{{'ANNULLA' | translate}}</button
21226
21228
  >&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
21227
21229
  <mat-checkbox [(ngModel)]="not_int" [hidden]="lettori === ''">
21228
- Notifica Interessati
21230
+ {{'Notifica Interessati' | translate}}
21229
21231
  </mat-checkbox>
21230
21232
  </div>
21231
21233
  </div>
@@ -25086,10 +25088,10 @@ class dati_aggiuntivi_v2 {
25086
25088
  s,
25087
25089
  this.m_obj.partecipanti + "," + s,
25088
25090
  lvlb,
25089
- "Assegnata a:" + s_auto,
25091
+ this.tsr.instant("Assegnata a") + ": " + s_auto,
25090
25092
  "",
25091
25093
  "",
25092
- this.getLvlDescri(String(lvlb), "Assegnata a:" + s_auto),
25094
+ this.getLvlDescri(String(lvlb), this.tsr.instant("Assegnata a") + ": " + s_auto),
25093
25095
  this.getUsersList(s_auto, this.m_obj.assegnati_paralleli),
25094
25096
  this.user_idp,
25095
25097
  this.getTitle(),
@@ -25103,10 +25105,10 @@ class dati_aggiuntivi_v2 {
25103
25105
  s,
25104
25106
  "",
25105
25107
  lvlb,
25106
- "Assegnata a:" + s_auto,
25108
+ this.tsr.instant("Assegnata a") + ": " + s_auto,
25107
25109
  "",
25108
25110
  "",
25109
- this.getLvlDescri(String(lvlb), "Assegnata a:" + s_auto),
25111
+ this.getLvlDescri(String(lvlb), this.tsr.instant("Assegnata a") + ": " + s_auto),
25110
25112
  this.getUsersList(s_auto, this.m_obj.assegnati_paralleli),
25111
25113
  this.user_idp,
25112
25114
  this.getTitle(),