@fluxhub/fluxhub-lib 10.0.492 → 10.0.493
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 +16 -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/win_ask_buttons.js +20 -8
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -5
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_buttons.d.ts +3 -1
- package/package.json +1 -1
|
@@ -12822,10 +12822,20 @@
|
|
|
12822
12822
|
};
|
|
12823
12823
|
|
|
12824
12824
|
var fh_win_ask_buttons = /** @class */ (function () {
|
|
12825
|
-
function fh_win_ask_buttons(dialogRef) {
|
|
12825
|
+
function fh_win_ask_buttons(dialogRef, data) {
|
|
12826
12826
|
this.dialogRef = dialogRef;
|
|
12827
|
+
this.data = data;
|
|
12827
12828
|
this.title = "";
|
|
12828
12829
|
this.button_config = [];
|
|
12830
|
+
this.show_close = true;
|
|
12831
|
+
if (data != null) {
|
|
12832
|
+
if (data.button_config != null)
|
|
12833
|
+
this.button_config = data.button_config;
|
|
12834
|
+
if (data.title != null)
|
|
12835
|
+
this.title = data.title;
|
|
12836
|
+
if (data.show_close != null)
|
|
12837
|
+
this.show_close = data.show_close;
|
|
12838
|
+
}
|
|
12829
12839
|
}
|
|
12830
12840
|
fh_win_ask_buttons.prototype.ngAfterViewInit = function () { };
|
|
12831
12841
|
fh_win_ask_buttons.prototype.open = function (o) {
|
|
@@ -12839,15 +12849,17 @@
|
|
|
12839
12849
|
fh_win_ask_buttons.decorators = [
|
|
12840
12850
|
{ type: i0.Component, args: [{
|
|
12841
12851
|
selector: "app-win_ask_buttons",
|
|
12842
|
-
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content style=\"font-size: 15px;\">\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button\n mat-flat-button\n style=\"font-size: 18px;color:#FFFFFF;\"\n *ngFor=\"let app of button_config\"\n (click)=\"open(app)\"\n [style.background-color]=\"app.color\"\n >\n {{ app.label }}</button\n > \n </div>\n </mat-dialog-content>\n <br /><br />\n <div style=\"width:100%;text-align:center;\">\n <button mat-flat-button color=\"accent\" (click)=\"close()\">CHIUDI</button>\n </div>\n</div>\n "
|
|
12852
|
+
template: "\n <div\u00A0 \u00A0fxLayout=\"column\" fxLayoutGap=\"5px\">\n \u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0<div\u00A0 fxFlex=\"100\"\u00A0fxLayout=\"row\"\u00A0 \u00A0class=\"dialog_header\">\n\t<div fxLayout=\"row\"\u00A0fxLayoutAlign=\"start\u00A0center\" style=\"width:50%\">{{\u00A0title\u00A0}}</div>\n <div style=\"width:50%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\u00A0\u00A0\u00A0\u00A0src=\"assets/icons/x.png\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0style=\"cursor:\u00A0pointer;\"\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0\u00A0(click)=\"close()\"\u00A0/>\n</div>\n</div>\n\t\t<hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n <mat-dialog-content style=\"font-size: 15px;\">\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\">\n <button\n mat-flat-button\n style=\"font-size: 18px;color:#FFFFFF;\"\n *ngFor=\"let app of button_config\"\n (click)=\"open(app)\"\n [style.background-color]=\"app.color\"\n >\n {{ app.label }}</button\n > \n </div>\n </mat-dialog-content>\n <br *ngIf=\"show_close\" /><br *ngIf=\"show_close\" />\n <div style=\"width:100%;text-align:center;\" *ngIf=\"show_close\">\n <button mat-flat-button color=\"accent\" (click)=\"close()\">CHIUDI</button>\n </div>\n</div>\n "
|
|
12843
12853
|
},] }
|
|
12844
12854
|
];
|
|
12845
12855
|
fh_win_ask_buttons.ctorParameters = function () { return [
|
|
12846
|
-
{ type: dialog.MatDialogRef }
|
|
12856
|
+
{ type: dialog.MatDialogRef },
|
|
12857
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
12847
12858
|
]; };
|
|
12848
12859
|
fh_win_ask_buttons.propDecorators = {
|
|
12849
12860
|
title: [{ type: i0.Input }],
|
|
12850
|
-
button_config: [{ type: i0.Input }]
|
|
12861
|
+
button_config: [{ type: i0.Input }],
|
|
12862
|
+
show_close: [{ type: i0.Input }]
|
|
12851
12863
|
};
|
|
12852
12864
|
/*
|
|
12853
12865
|
esempio utilizzo
|