@fluxhub/fluxhub-lib 9.0.63 → 9.0.64

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.
@@ -843,6 +843,8 @@ var FHConfirmValues = /** @class */ (function () {
843
843
  this.title_dialog = "";
844
844
  this.b_commento = false;
845
845
  this.msg_dialog = "";
846
+ this.confirm_mgs = "CONFERMA";
847
+ this.annulla_mgs = "ANNULLA";
846
848
  }
847
849
  return FHConfirmValues;
848
850
  }());
@@ -871,6 +873,10 @@ var FHConfirmComponent = /** @class */ (function () {
871
873
  this.msg = conf.msg_dialog;
872
874
  if (conf.b_commento != null)
873
875
  this.b_commento = conf.b_commento;
876
+ if (conf.confirm_mgs != null)
877
+ this.confirm_mgs = conf.confirm_mgs;
878
+ if (conf.annulla_mgs != null)
879
+ this.annulla_mgs = conf.annulla_mgs;
874
880
  }
875
881
  FHConfirmComponent.prototype.ok = function () {
876
882
  if (this.b_commento && this.commento == '') {
@@ -897,7 +903,7 @@ var FHConfirmComponent = /** @class */ (function () {
897
903
  ]; };
898
904
  FHConfirmComponent = __decorate([
899
905
  Component({
900
- template: "\n\n <h1 mat-dialog-title>{{title}}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{msg}}\n\n <FHTextArea [hidden]=\"!b_commento\" label=\"Commento\" required [(ngModel)]=\"commento\" ></FHTextArea>\n </div>\n\n\n </div>\n\n <div mat-dialog-actions>\n <button mat-button (click)=\"ok()\" color=\"primary\">{{confirm_mgs}}</button>\n <button mat-button (click)=\"dialogRef.close(false)\" color=\"warn\">{{annulla_mgs}}</button>\n </div>\n ",
906
+ template: "\n\n <h1 mat-dialog-title>{{title}}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{msg}}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><FHTextArea label=\"Commento\" required [(ngModel)]=\"commento\" ></FHTextArea></div>\n </div>\n\n\n </div>\n\n <div mat-dialog-actions>\n <button mat-raised-button (click)=\"ok()\" color=\"primary\">{{confirm_mgs}}</button>\n <button mat-raised-button (click)=\"dialogRef.close(false)\" color=\"warn\">{{annulla_mgs}}</button>\n </div>\n ",
901
907
  styles: ["\n "]
902
908
  }),
903
909
  __param(2, Inject(MAT_DIALOG_DATA)),