@fluxhub/fluxhub-lib 9.0.99 → 9.0.101
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +6 -4
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhautocomplete.js +5 -4
- package/esm2015/lib/controls/fhformtoolbar.js +5 -5
- package/esm2015/lib/services/utility.service.js +1 -1
- package/esm5/lib/controls/fhautocomplete.js +6 -4
- package/esm5/lib/controls/fhformtoolbar.js +2 -2
- package/esm5/lib/services/utility.service.js +1 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -7
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +6 -4
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhautocomplete.d.ts +1 -1
- package/lib/services/utility.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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> \n <button mat-flat-button color=\"primary\" [hidden]=\"!editable\" (click)=\"edit()\"
|
|
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> \n <button mat-flat-button color=\"primary\" [hidden]=\"!editable\" (click)=\"edit()\"><mat-icon>save</mat-icon>{{mgs_edit}}</button>\n <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> \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 <button mat-flat-button *ngIf=\"App!=''\" color=\"accent\" (click)=\"logs()\"><mat-icon>assignment</mat-icon>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
|
-
|
|
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;
|