@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
|
@@ -843,6 +843,8 @@ var FHConfirmValues = /** @class */ (function () {
|
|
|
843
843
|
this.title_dialog = "";
|
|
844
844
|
this.b_commento = false;
|
|
845
845
|
this.msg_dialog = "";
|
|
846
|
+
this.confirm_mgs = "CONFERMA";
|
|
847
|
+
this.annulla_mgs = "ANNULLA";
|
|
846
848
|
}
|
|
847
849
|
return FHConfirmValues;
|
|
848
850
|
}());
|
|
@@ -871,6 +873,10 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
871
873
|
this.msg = conf.msg_dialog;
|
|
872
874
|
if (conf.b_commento != null)
|
|
873
875
|
this.b_commento = conf.b_commento;
|
|
876
|
+
if (conf.confirm_mgs != null)
|
|
877
|
+
this.confirm_mgs = conf.confirm_mgs;
|
|
878
|
+
if (conf.annulla_mgs != null)
|
|
879
|
+
this.annulla_mgs = conf.annulla_mgs;
|
|
874
880
|
}
|
|
875
881
|
FHConfirmComponent.prototype.ok = function () {
|
|
876
882
|
if (this.b_commento && this.commento == '') {
|
|
@@ -897,7 +903,7 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
897
903
|
]; };
|
|
898
904
|
FHConfirmComponent = __decorate([
|
|
899
905
|
Component({
|
|
900
|
-
template: "\n\n <h1 mat-dialog-title>{{title}}</h1>\n <div mat-dialog-content>\n <div fxLayout=\"column\" fxLayoutGap=\"15px\">\n {{msg}}\n\n <
|
|
906
|
+
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 ",
|
|
901
907
|
styles: ["\n "]
|
|
902
908
|
}),
|
|
903
909
|
__param(2, Inject(MAT_DIALOG_DATA)),
|