@fluxhub/fluxhub-lib 9.0.63 → 9.0.64
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 +7 -1
- 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 -5
- package/esm2015/lib/models/FHConfirmValues.js +3 -1
- package/esm5/lib/controls/fhconfirm.js +6 -2
- package/esm5/lib/models/FHConfirmValues.js +3 -1
- package/fesm2015/fluxhub-fluxhub-lib.js +10 -4
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +7 -1
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/models/FHConfirmValues.d.ts +2 -0
- package/package.json +1 -1
|
@@ -976,6 +976,8 @@
|
|
|
976
976
|
this.title_dialog = "";
|
|
977
977
|
this.b_commento = false;
|
|
978
978
|
this.msg_dialog = "";
|
|
979
|
+
this.confirm_mgs = "CONFERMA";
|
|
980
|
+
this.annulla_mgs = "ANNULLA";
|
|
979
981
|
}
|
|
980
982
|
return FHConfirmValues;
|
|
981
983
|
}());
|
|
@@ -1004,6 +1006,10 @@
|
|
|
1004
1006
|
this.msg = conf.msg_dialog;
|
|
1005
1007
|
if (conf.b_commento != null)
|
|
1006
1008
|
this.b_commento = conf.b_commento;
|
|
1009
|
+
if (conf.confirm_mgs != null)
|
|
1010
|
+
this.confirm_mgs = conf.confirm_mgs;
|
|
1011
|
+
if (conf.annulla_mgs != null)
|
|
1012
|
+
this.annulla_mgs = conf.annulla_mgs;
|
|
1007
1013
|
}
|
|
1008
1014
|
FHConfirmComponent.prototype.ok = function () {
|
|
1009
1015
|
if (this.b_commento && this.commento == '') {
|
|
@@ -1030,7 +1036,7 @@
|
|
|
1030
1036
|
]; };
|
|
1031
1037
|
FHConfirmComponent = __decorate([
|
|
1032
1038
|
core.Component({
|
|
1033
|
-
template: "\n\n <h1 mat-dialog-title>{{title}}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{msg}}\n\n <
|
|
1039
|
+
template: "\n\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\"><FHTextArea label=\"Commento\" required [(ngModel)]=\"commento\" ></FHTextArea></div>\n </div>\n\n\n </div>\n\n <div mat-dialog-actions>\n <button mat-raised-button (click)=\"ok()\" color=\"primary\">{{confirm_mgs}}</button>\n <button mat-raised-button (click)=\"dialogRef.close(false)\" color=\"warn\">{{annulla_mgs}}</button>\n </div>\n ",
|
|
1034
1040
|
styles: ["\n "]
|
|
1035
1041
|
}),
|
|
1036
1042
|
__param(2, core.Inject(dialog.MAT_DIALOG_DATA)),
|