@fluxhub/fluxhub-lib 9.0.76 → 9.0.78

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.
@@ -9052,6 +9052,8 @@
9052
9052
  this.separator = ",";
9053
9053
  this.title = "";
9054
9054
  this.sql = "";
9055
+ this.types = [];
9056
+ this.values = [];
9055
9057
  this.single_sel = false;
9056
9058
  this.sel_values = "";
9057
9059
  if (data != null) {
@@ -9077,6 +9079,11 @@
9077
9079
  }
9078
9080
  FHListPick.prototype.close = function () { this.dialogRef.close(null); };
9079
9081
  FHListPick.prototype.doFill = function () {
9082
+ var _this = this;
9083
+ if (this.cmb_sel == null) {
9084
+ setTimeout(function () { _this.doFill(); }, 500);
9085
+ return;
9086
+ }
9080
9087
  if (!this.single_sel)
9081
9088
  this.cmb_sel.setByDescri(this.sel_values);
9082
9089
  this.cmb_sel.sql = this.sql;
@@ -9111,7 +9118,7 @@
9111
9118
  FHListPick = __decorate([
9112
9119
  core.Component({
9113
9120
  selector: 'fhlistpick',
9114
- template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px;font-size: 12px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [separator]=\"separator\" style=\"width:100%;height:100%\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button mat-flat-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
9121
+ template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"min-width:700px;min-height:500px\">\n <FHList #cmb_sel [label]=\"label\" [single_sel]=\"single_sel\" [separator]=\"separator\" style=\"width:100%;height:100%\" init_fill=\"false\" (selchange)=\"ok_single()\"></FHList>\n\n </mat-dialog-content>\n\n\n <mat-dialog-actions>\n<div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button mat-flat-button color=\"primary\" *ngIf=\"!single_sel\" (click)=\"ok()\">OK</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n <button mat-flat-button style=\"background-color: #F5F5F5\" (click)=\"dialogRef.close('')\">ANNULLA</button>\n</div>\n </mat-dialog-actions>\n "
9115
9122
  }),
9116
9123
  __param(3, core.Inject(dialog.MAT_DIALOG_DATA)),
9117
9124
  __metadata("design:paramtypes", [dialog.MatDialogRef, ngxToastr.ToastrService, AppService, Object])