@fluxhub/fluxhub-lib 10.0.522 → 10.0.523
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 +8 -3
- 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/fhconfirm.js +9 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +8 -3
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhconfirm.d.ts +2 -1
- package/package.json +1 -1
|
@@ -309,12 +309,14 @@
|
|
|
309
309
|
fh_win_confirm.prototype.setMsg = function (texto) {
|
|
310
310
|
this.msg = texto;
|
|
311
311
|
};
|
|
312
|
-
fh_win_confirm.prototype.ngAfterViewInit = function () {
|
|
312
|
+
fh_win_confirm.prototype.ngAfterViewInit = function () {
|
|
313
|
+
this.btn_annulla.nativeElement.focus();
|
|
314
|
+
};
|
|
313
315
|
return fh_win_confirm;
|
|
314
316
|
}());
|
|
315
317
|
fh_win_confirm.decorators = [
|
|
316
318
|
{ type: i0.Component, args: [{
|
|
317
|
-
template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button (click)=\"dialogRef.close(false)\"
|
|
319
|
+
template: "\n <h1 mat-dialog-title>{{ title }}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{ msg }}\n <div style=\"width:400px\" [hidden]=\"!b_commento\"><br /></div>\n <div style=\"width:400px\" [hidden]=\"!b_commento\">\n <FHTextArea\n label=\"{{ commento_mgs }}\"\n required\n [(ngModel)]=\"commento\"\n ></FHTextArea>\n </div>\n </div>\n </div>\n\n <div mat-dialog-actions>\n <button mat-flat-button (click)=\"ok()\" color=\"primary\">\n {{ confirm_mgs }}\n </button>\n <button mat-flat-button #btn_annulla (click)=\"dialogRef.close(false)\" color=\"warn\">\n {{ annulla_mgs }}\n </button>\n </div>\n ",
|
|
318
320
|
styles: [""]
|
|
319
321
|
},] }
|
|
320
322
|
];
|
|
@@ -323,7 +325,10 @@
|
|
|
323
325
|
{ type: AppService },
|
|
324
326
|
{ type: FHConfirmValues, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] },
|
|
325
327
|
{ type: i3.ToastrService }
|
|
326
|
-
]; };
|
|
328
|
+
]; };
|
|
329
|
+
fh_win_confirm.propDecorators = {
|
|
330
|
+
btn_annulla: [{ type: i0.ViewChild, args: ['btn_annulla',] }]
|
|
331
|
+
};
|
|
327
332
|
|
|
328
333
|
/*! *****************************************************************************
|
|
329
334
|
Copyright (c) Microsoft Corporation.
|