@fluxhub/fluxhub-lib 9.0.100 → 9.0.102

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.
@@ -6418,7 +6418,7 @@
6418
6418
  ], FHFormToolBarComponent.prototype, "command", void 0);
6419
6419
  FHFormToolBarComponent = __decorate([
6420
6420
  core.Component({
6421
- selector: 'FHFormToolBar', template: "\n <div fxLayout.xs=\"column\" fxLayoutGap=\"3px\">\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" [hidden]=\"is_editing\" fxLayoutAlign=\"start center\">\n <button mat-flat-button (click)=\"back()\">{{mgs_back}}</button>&nbsp;&nbsp;\n <button mat-flat-button color=\"primary\" [hidden]=\"!editable\" (click)=\"edit()\"><mat-icon>save</mat-icon>{{mgs_edit}}</button>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button [hidden]=\"!editable\" mat-flat-button *ngIf=\"App!=''\" color=\"accent\" (click)=\"logs()\"><mat-icon>assignment</mat-icon>Logs</button>\n</div>\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" [hidden]=\"!is_editing\" fxLayoutAlign=\"start center\">\n <button mat-flat-button (click)=\"back_ask_save()\">{{mgs_back}}</button>&nbsp;&nbsp;\n <button mat-flat-button color=\"primary\" [hidden]=\"!show_save\" (click)=\"save()\"><mat-icon>save</mat-icon>{{mgs_save}}</button>\n <div *ngIf=\"custom_commands.length>0\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n\n <div *ngFor=\"let app of custom_commands\">\n\n <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon>{{app.label}}</button>\n </div>\n</div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button mat-flat-button *ngIf=\"App!=''\" color=\"accent\" (click)=\"logs()\"><mat-icon>assignment</mat-icon>Logs</button>\n\n</div>\n</div>\n ",
6421
+ selector: 'FHFormToolBar', template: "\n <div fxLayout.xs=\"column\" fxLayoutGap=\"3px\">\n <div fxLayout=\"row\" fxLayoutGap=\"3px\" [hidden]=\"is_editing\" fxLayoutAlign=\"start center\">\n <button mat-flat-button (click)=\"back()\">{{mgs_back}}</button>&nbsp;&nbsp;\n <button mat-flat-button color=\"primary\" [hidden]=\"!editable\" (click)=\"edit()\"><mat-icon>save</mat-icon>&nbsp;&nbsp;{{mgs_edit}}</button>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button [hidden]=\"!editable\" mat-flat-button *ngIf=\"App!=''\" color=\"accent\" (click)=\"logs()\"><mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs</button>\n</div>\n<div fxLayout=\"row\" fxLayoutGap=\"3px\" [hidden]=\"!is_editing\" fxLayoutAlign=\"start center\">\n <button mat-flat-button (click)=\"back_ask_save()\">{{mgs_back}}</button>&nbsp;&nbsp;\n <button mat-flat-button color=\"primary\" [hidden]=\"!show_save\" (click)=\"save()\"><mat-icon>save</mat-icon>&nbsp;&nbsp;{{mgs_save}}</button>\n <div *ngIf=\"custom_commands.length>0\" fxLayoutGap=\"3px\" fxLayout=\"row\" fxLayoutAlign=\"end center\">\n\n <div *ngFor=\"let app of custom_commands\">\n\n <button mat-flat-button [color]=\"app.color\" (click)=\"exec_command(app.command)\"><mat-icon *ngIf=\"app.icon!=null\">{{app.icon}}</mat-icon>{{app.label}}</button>\n </div>\n</div>\n &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<button mat-flat-button *ngIf=\"App!=''\" color=\"accent\" (click)=\"logs()\"><mat-icon>assignment</mat-icon>&nbsp;&nbsp;Logs</button>\n\n</div>\n</div>\n ",
6422
6422
  styles: ["\n\n "]
6423
6423
  }),
6424
6424
  __metadata("design:paramtypes", [dialog.MatDialog])
@@ -7211,10 +7211,12 @@
7211
7211
  FHAutoCompleteComponent.prototype.myListFormatter = function (data) {
7212
7212
  return data['descrizione_valore'];
7213
7213
  };
7214
- FHAutoCompleteComponent.prototype.resetValue = function () {
7214
+ FHAutoCompleteComponent.prototype.resetValue = function (b_res_valdef) {
7215
+ if (b_res_valdef === void 0) { b_res_valdef = true; }
7215
7216
  console.log('>>>resetValue<<<');
7216
7217
  this.selval = '';
7217
- // this.valDef = '';
7218
+ if (b_res_valdef)
7219
+ this.valDef = '';
7218
7220
  this.sItem = '';
7219
7221
  this.selval = null;
7220
7222
  };
@@ -7328,7 +7330,7 @@
7328
7330
  }
7329
7331
  }
7330
7332
  if (!b_found && this.only_from_list)
7331
- this.resetValue();
7333
+ this.resetValue(false);
7332
7334
  }
7333
7335
  if (!this.only_from_list) {
7334
7336
  this.sItem = this.selval;