@fluxhub/fluxhub-lib 10.0.491 → 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 +20 -5
- 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/esm2015/lib/controls/win_mappa.js +5 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -6
- 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
|
@@ -8640,6 +8640,9 @@
|
|
|
8640
8640
|
this.infoWindowOpened = null;
|
|
8641
8641
|
this.markers = [];
|
|
8642
8642
|
this.height = "600px";
|
|
8643
|
+
if (data != null)
|
|
8644
|
+
if (data.height != null)
|
|
8645
|
+
this.height = data.height;
|
|
8643
8646
|
if (this.m_appService.getState().appo_dialog != null) {
|
|
8644
8647
|
if (this.m_appService.getState().appo_dialog.zoom != null)
|
|
8645
8648
|
this.zoom = this.m_appService.getState().appo_dialog.zoom;
|
|
@@ -8673,7 +8676,7 @@
|
|
|
8673
8676
|
}());
|
|
8674
8677
|
fh_win_mappa.decorators = [
|
|
8675
8678
|
{ type: i0.Component, args: [{
|
|
8676
|
-
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-dialog-content\n [style.height]=\"height\"\n >\n
|
|
8679
|
+
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\" />\n\n <mat-dialog-content\n [style.height]=\"height\"\n >\n\n <agm-map\n [zoom]=\"zoom\"\n width=\"100%\"\n [style.height]=\"height\"\n [latitude]=\"lat\"\n [longitude]=\"long\"\n >\n <agm-marker\n *ngFor=\"let m of markers; let i = index\"\n (markerClick)=\"clickedMarker(m.labelx, infoWindow, i)\"\n [latitude]=\"m.lat\"\n [longitude]=\"m.lng\"\n [label]=\"m.label\"\n >\n <agm-info-window #infoWindow>\n <strong>{{ m.labelx }}</strong\n ><br />\n <button\n *ngIf=\"m.url_scheda != null\"\n (click)=\"apri_Scheda(m.url_scheda)\"\n >\n APRI SCHEDA\n </button>\n </agm-info-window>\n </agm-marker>\n </agm-map>\n </mat-dialog-content>\n\n ",
|
|
8677
8680
|
styles: ["\n agm-map {\n\n width: 100%;\n }\n .mat-dialog-content { max-height: unset !important; }\n "]
|
|
8678
8681
|
},] }
|
|
8679
8682
|
];
|
|
@@ -12819,10 +12822,20 @@
|
|
|
12819
12822
|
};
|
|
12820
12823
|
|
|
12821
12824
|
var fh_win_ask_buttons = /** @class */ (function () {
|
|
12822
|
-
function fh_win_ask_buttons(dialogRef) {
|
|
12825
|
+
function fh_win_ask_buttons(dialogRef, data) {
|
|
12823
12826
|
this.dialogRef = dialogRef;
|
|
12827
|
+
this.data = data;
|
|
12824
12828
|
this.title = "";
|
|
12825
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
|
+
}
|
|
12826
12839
|
}
|
|
12827
12840
|
fh_win_ask_buttons.prototype.ngAfterViewInit = function () { };
|
|
12828
12841
|
fh_win_ask_buttons.prototype.open = function (o) {
|
|
@@ -12836,15 +12849,17 @@
|
|
|
12836
12849
|
fh_win_ask_buttons.decorators = [
|
|
12837
12850
|
{ type: i0.Component, args: [{
|
|
12838
12851
|
selector: "app-win_ask_buttons",
|
|
12839
|
-
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 "
|
|
12840
12853
|
},] }
|
|
12841
12854
|
];
|
|
12842
12855
|
fh_win_ask_buttons.ctorParameters = function () { return [
|
|
12843
|
-
{ type: dialog.MatDialogRef }
|
|
12856
|
+
{ type: dialog.MatDialogRef },
|
|
12857
|
+
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
12844
12858
|
]; };
|
|
12845
12859
|
fh_win_ask_buttons.propDecorators = {
|
|
12846
12860
|
title: [{ type: i0.Input }],
|
|
12847
|
-
button_config: [{ type: i0.Input }]
|
|
12861
|
+
button_config: [{ type: i0.Input }],
|
|
12862
|
+
show_close: [{ type: i0.Input }]
|
|
12848
12863
|
};
|
|
12849
12864
|
/*
|
|
12850
12865
|
esempio utilizzo
|