@fluxhub/fluxhub-lib 10.0.492 → 10.0.494
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 -6
- 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/wkf_engine/wkfdatiaggiuntivi.js +3 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +21 -7
- 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
|
|
@@ -18644,7 +18656,6 @@
|
|
|
18644
18656
|
dati_aggiuntivi.prototype.ok_load_document = function (o) {
|
|
18645
18657
|
var _this = this;
|
|
18646
18658
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
18647
|
-
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
18648
18659
|
this.edit_b(false, false);
|
|
18649
18660
|
this.save_to_app_state();
|
|
18650
18661
|
var p = new QParam();
|
|
@@ -19098,6 +19109,7 @@
|
|
|
19098
19109
|
this.btnRespingi_label = "RESPINGI";
|
|
19099
19110
|
this.uti_s.set_home_title(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
19100
19111
|
this.reset_form(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
19112
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
19101
19113
|
this.reset_counters_int(0, 0);
|
|
19102
19114
|
/*
|
|
19103
19115
|
dati_aggiuntivi.id_doc=id_documento;
|
|
@@ -19199,6 +19211,7 @@
|
|
|
19199
19211
|
this.m_obj.codice +
|
|
19200
19212
|
" - " +
|
|
19201
19213
|
this.m_obj.stat_stato); //+' ('+s_uto+')');
|
|
19214
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
19202
19215
|
};
|
|
19203
19216
|
dati_aggiuntivi.prototype.onResize = function (event) { };
|
|
19204
19217
|
dati_aggiuntivi.prototype.init_engine = function () {
|
|
@@ -21215,7 +21228,6 @@
|
|
|
21215
21228
|
dati_aggiuntivi_v2.prototype.ok_load_document = function (o) {
|
|
21216
21229
|
var _this = this;
|
|
21217
21230
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
21218
|
-
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
21219
21231
|
this.edit_b(false);
|
|
21220
21232
|
this.save_to_app_state();
|
|
21221
21233
|
var p = new QParam();
|
|
@@ -21776,6 +21788,7 @@
|
|
|
21776
21788
|
this.m_obj.codice +
|
|
21777
21789
|
" - " +
|
|
21778
21790
|
this.m_obj.stat_stato);
|
|
21791
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
21779
21792
|
//+' ('+s_uto+')');
|
|
21780
21793
|
};
|
|
21781
21794
|
dati_aggiuntivi_v2.prototype.reset_form_v = function (t) {
|
|
@@ -21786,6 +21799,7 @@
|
|
|
21786
21799
|
return;
|
|
21787
21800
|
}
|
|
21788
21801
|
this.reset_form(t);
|
|
21802
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
21789
21803
|
};
|
|
21790
21804
|
dati_aggiuntivi_v2.prototype.revisione = function () {
|
|
21791
21805
|
var _this = this;
|