@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.
@@ -8919,6 +8919,8 @@ var FHListPick = /** @class */ (function () {
8919
8919
  this.separator = ",";
8920
8920
  this.title = "";
8921
8921
  this.sql = "";
8922
+ this.types = [];
8923
+ this.values = [];
8922
8924
  this.single_sel = false;
8923
8925
  this.sel_values = "";
8924
8926
  if (data != null) {
@@ -8944,6 +8946,11 @@ var FHListPick = /** @class */ (function () {
8944
8946
  }
8945
8947
  FHListPick.prototype.close = function () { this.dialogRef.close(null); };
8946
8948
  FHListPick.prototype.doFill = function () {
8949
+ var _this = this;
8950
+ if (this.cmb_sel == null) {
8951
+ setTimeout(function () { _this.doFill(); }, 500);
8952
+ return;
8953
+ }
8947
8954
  if (!this.single_sel)
8948
8955
  this.cmb_sel.setByDescri(this.sel_values);
8949
8956
  this.cmb_sel.sql = this.sql;
@@ -8978,7 +8985,7 @@ var FHListPick = /** @class */ (function () {
8978
8985
  FHListPick = __decorate([
8979
8986
  Component({
8980
8987
  selector: 'fhlistpick',
8981
- 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 "
8988
+ 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 "
8982
8989
  }),
8983
8990
  __param(3, Inject(MAT_DIALOG_DATA)),
8984
8991
  __metadata("design:paramtypes", [MatDialogRef, ToastrService, AppService, Object])