@fluxhub/fluxhub-lib 10.0.640 → 10.0.643

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.
@@ -7401,31 +7401,26 @@
7401
7401
  this.setByValue(desc_val);
7402
7402
  };
7403
7403
  FHComboboxComponent.prototype.update_dis = function () {
7404
- var _this = this;
7405
- setTimeout(function () {
7406
- _this.dis_value = "";
7407
- try {
7408
- _this.descri_val = _this.getDescri();
7409
- /* if (this.descri_val != null)
7410
- if (this.descri_val != "") {
7411
- this.dis_value = this._tsr.instant(this.descri_val);
7412
-
7413
- return;
7414
- }
7415
- if (this.valDef == null) this.dis_value = "";
7416
- else {
7417
- if(this.valDef.split("-1").join("")!='')
7418
- this.dis_value = this._tsr.instant(this.valDef.split("-1").join(""));
7419
- else
7420
- this.dis_value = "";
7421
-
7422
- }*/
7423
- }
7424
- catch (e) {
7425
- _this.dis_value = _this.selval;
7426
- //console.log("errore split -> this.valDef ", this.valDef);
7404
+ this.dis_value = "";
7405
+ try {
7406
+ if (this.descri_val != null)
7407
+ if (this.descri_val != "") {
7408
+ this.dis_value = this._tsr.instant(this.descri_val);
7409
+ return;
7410
+ }
7411
+ if (this.valDef == null)
7412
+ this.dis_value = "";
7413
+ else {
7414
+ if (this.valDef.split("-1").join("") != '')
7415
+ this.dis_value = this._tsr.instant(this.valDef.split("-1").join(""));
7416
+ else
7417
+ this.dis_value = "";
7427
7418
  }
7428
- }, 100);
7419
+ }
7420
+ catch (e) {
7421
+ this.dis_value = this.selval;
7422
+ //console.log("errore split -> this.valDef ", this.valDef);
7423
+ }
7429
7424
  };
7430
7425
  FHComboboxComponent.prototype.resetValue = function () {
7431
7426
  this.selval = "-1";
@@ -7724,6 +7719,7 @@
7724
7719
  descrizione_valore: _this.getDescri(),
7725
7720
  });
7726
7721
  _this.update_dis();
7722
+ _this.dis_value = _this.getDescri();
7727
7723
  });
7728
7724
  };
7729
7725
  FHComboboxComponent.prototype.getModelValue = function () {
@@ -16053,7 +16049,7 @@
16053
16049
  }());
16054
16050
  win_riassegna_select_level_v2.decorators = [
16055
16051
  { type: i0.Component, args: [{
16056
- template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content\n ><br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Seleziona Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.step }}\" *ngFor=\"let app of myData\">\n {{app.description | translate }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON | translate }}</button\n >&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
16052
+ template: "\n <div fxLayout=\"column\">\n\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{title | translate}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n <div mat-dialog-content style=\"font-size: 15px;\">\n\n <mat-dialog-content\n ><br /><br />\n <mat-form-field\n style=\"width:100%\"\n appearance=\"outline\"\n floatLabel=\"always\"\n ><mat-label>{{'Seleziona Step' | translate}}:</mat-label>\n <mat-select #cmb [(ngModel)]=\"selval\" (change)=\"sc()\">\n <mat-option value=\"-1\">Seleziona</mat-option>\n <mat-option value=\"{{ app.step }}\" *ngFor=\"let app of myData\">\n {{app.v | translate }}\n </mat-option>\n </mat-select>\n </mat-form-field>\n\n <br /><br /><br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"primary\" (click)=\"ok()\">\n {{ OK_BUTTON | translate }}</button\n >&nbsp;&nbsp;&nbsp;\n <button\n mat-flat-button\n style=\"background-color: #F5F5F5\"\n (click)=\"close()\"\n >\n {{'ANNULLA' | translate }}\n </button>\n </div>\n <br /><br />\n </mat-dialog-content>\n <p style=\"color:#CC0000;font-size:9px;\" *ngIf=\"errorMsg != ''\">\n {{ errorMsg }}\n </p>\n </div>\n </div>\n "
16057
16053
  },] }
16058
16054
  ];
16059
16055
  win_riassegna_select_level_v2.ctorParameters = function () { return [