@fluxhub/fluxhub-lib 10.0.493 → 10.0.495
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 +21 -19
- 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/fhuploadpanel.js +3 -3
- package/esm2015/lib/controls/fhuploadpanel_s3.js +3 -3
- package/esm2015/lib/controls/win_ask_textbig.js +4 -4
- package/esm2015/lib/controls/win_show_logs.js +3 -3
- package/esm2015/lib/fluxhub-lib.module.js +4 -4
- package/esm2015/lib/wkf_engine/wkfdatiaggiuntivi.js +3 -2
- package/esm2015/lib/wkf_engine_v2/wkfdatiaggiuntivi.js +3 -2
- package/esm2015/public_api.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +13 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_textbig.d.ts +2 -2
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
cmb_sel: [{ type: i0.ViewChild, args: ["cmb_sel",] }]
|
|
90
90
|
};
|
|
91
91
|
|
|
92
|
-
var
|
|
93
|
-
function
|
|
92
|
+
var fh_win_ask_big_text = /** @class */ (function () {
|
|
93
|
+
function fh_win_ask_big_text(dialogRef, toastr, data) {
|
|
94
94
|
this.dialogRef = dialogRef;
|
|
95
95
|
this.toastr = toastr;
|
|
96
96
|
this.data = data;
|
|
@@ -118,33 +118,33 @@
|
|
|
118
118
|
this.min_chars = data.min_chars;
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
fh_win_ask_big_text.prototype.ngAfterViewInit = function () { };
|
|
122
|
+
fh_win_ask_big_text.prototype.close = function () {
|
|
123
123
|
this.dialogRef.close(null);
|
|
124
124
|
};
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
fh_win_ask_big_text.prototype.show = function () { };
|
|
126
|
+
fh_win_ask_big_text.prototype.hide = function () {
|
|
127
127
|
this.dialogRef.close(null);
|
|
128
128
|
};
|
|
129
|
-
|
|
129
|
+
fh_win_ask_big_text.prototype.do_check = function () {
|
|
130
130
|
if (this.valore.length < this.min_chars) {
|
|
131
131
|
this.toastr.error("Il valore deve contenere almeno " + this.min_chars + " caratteri");
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
this.dialogRef.close(this.valore);
|
|
135
135
|
};
|
|
136
|
-
|
|
136
|
+
fh_win_ask_big_text.prototype.chiudi = function () {
|
|
137
137
|
this.dialogRef.close(null);
|
|
138
138
|
};
|
|
139
|
-
return
|
|
139
|
+
return fh_win_ask_big_text;
|
|
140
140
|
}());
|
|
141
|
-
|
|
141
|
+
fh_win_ask_big_text.decorators = [
|
|
142
142
|
{ type: i0.Component, args: [{
|
|
143
143
|
selector: "app-win_ask_text",
|
|
144
144
|
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=\"width:630px;font-size: 15px;\">\n <mat-form-field\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label>{{ label }}</mat-label>\n <textarea\n matInput\n [readonly]=\"readonly\"\n [(ngModel)]=\"valore\"\n rows=\"15\"\n required\n ></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"readonly\"\n >\n <button\n *ngIf=\"show_ok\"\n mat-flat-button\n color=\"primary\"\n (click)=\"do_check()\"\n >\n OK</button\n > \n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n ANNULLA\n </button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button\n *ngIf=\"show_annulla\"\n mat-flat-button\n color=\"warn\"\n (click)=\"chiudi()\"\n >\n CHIUDI\n </button>\n </div>\n </mat-dialog-actions>\n</div>\n "
|
|
145
145
|
},] }
|
|
146
146
|
];
|
|
147
|
-
|
|
147
|
+
fh_win_ask_big_text.ctorParameters = function () { return [
|
|
148
148
|
{ type: dialog.MatDialogRef },
|
|
149
149
|
{ type: i3.ToastrService },
|
|
150
150
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
@@ -1719,7 +1719,7 @@
|
|
|
1719
1719
|
};
|
|
1720
1720
|
FHUploadPanelS3Component.prototype.edit_descri = function (ax) {
|
|
1721
1721
|
var _this = this;
|
|
1722
|
-
var dialogRef = this.dialog.open(
|
|
1722
|
+
var dialogRef = this.dialog.open(fh_win_ask_big_text);
|
|
1723
1723
|
setTimeout(function () {
|
|
1724
1724
|
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
1725
1725
|
dialogRef.componentInstance.valore = ax.description;
|
|
@@ -2745,7 +2745,7 @@
|
|
|
2745
2745
|
dialogRef.afterClosed().subscribe();
|
|
2746
2746
|
}
|
|
2747
2747
|
if (event.colDef.field == "descr_all") {
|
|
2748
|
-
var dialogRef = this.dialog.open(
|
|
2748
|
+
var dialogRef = this.dialog.open(fh_win_ask_big_text, {
|
|
2749
2749
|
disableClose: true, data: { valore: event.data.descr_all, readonly: true, title: 'Descrizione' }
|
|
2750
2750
|
});
|
|
2751
2751
|
dialogRef.afterClosed().subscribe(function (result) {
|
|
@@ -4487,7 +4487,7 @@
|
|
|
4487
4487
|
};
|
|
4488
4488
|
FHUploadPanelComponent.prototype.edit_descri = function (ax) {
|
|
4489
4489
|
var _this = this;
|
|
4490
|
-
var dialogRef = this.dialog.open(
|
|
4490
|
+
var dialogRef = this.dialog.open(fh_win_ask_big_text);
|
|
4491
4491
|
setTimeout(function () {
|
|
4492
4492
|
dialogRef.componentInstance.label = "Descrizione Allegato";
|
|
4493
4493
|
dialogRef.componentInstance.valore = ax.descrizione;
|
|
@@ -16317,7 +16317,7 @@
|
|
|
16317
16317
|
fh_win_ask_number,
|
|
16318
16318
|
FHMdReader,
|
|
16319
16319
|
FHLogPanelComponent,
|
|
16320
|
-
|
|
16320
|
+
fh_win_ask_big_text,
|
|
16321
16321
|
fh_win_ask_richtext,
|
|
16322
16322
|
FHRichText,
|
|
16323
16323
|
fh_win_output,
|
|
@@ -16384,7 +16384,7 @@
|
|
|
16384
16384
|
fh_win_ask_number,
|
|
16385
16385
|
FHMdReader,
|
|
16386
16386
|
FHLogPanelComponent,
|
|
16387
|
-
|
|
16387
|
+
fh_win_ask_big_text,
|
|
16388
16388
|
fh_win_ask_richtext,
|
|
16389
16389
|
FHRichText,
|
|
16390
16390
|
fh_win_output,
|
|
@@ -18656,7 +18656,6 @@
|
|
|
18656
18656
|
dati_aggiuntivi.prototype.ok_load_document = function (o) {
|
|
18657
18657
|
var _this = this;
|
|
18658
18658
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
18659
|
-
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
18660
18659
|
this.edit_b(false, false);
|
|
18661
18660
|
this.save_to_app_state();
|
|
18662
18661
|
var p = new QParam();
|
|
@@ -19110,6 +19109,7 @@
|
|
|
19110
19109
|
this.btnRespingi_label = "RESPINGI";
|
|
19111
19110
|
this.uti_s.set_home_title(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
19112
19111
|
this.reset_form(this.app_info.descrizione_breve + " - Nuova Richiesta");
|
|
19112
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
19113
19113
|
this.reset_counters_int(0, 0);
|
|
19114
19114
|
/*
|
|
19115
19115
|
dati_aggiuntivi.id_doc=id_documento;
|
|
@@ -19211,6 +19211,7 @@
|
|
|
19211
19211
|
this.m_obj.codice +
|
|
19212
19212
|
" - " +
|
|
19213
19213
|
this.m_obj.stat_stato); //+' ('+s_uto+')');
|
|
19214
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
19214
19215
|
};
|
|
19215
19216
|
dati_aggiuntivi.prototype.onResize = function (event) { };
|
|
19216
19217
|
dati_aggiuntivi.prototype.init_engine = function () {
|
|
@@ -21227,7 +21228,6 @@
|
|
|
21227
21228
|
dati_aggiuntivi_v2.prototype.ok_load_document = function (o) {
|
|
21228
21229
|
var _this = this;
|
|
21229
21230
|
this.m_obj = (JSON.parse(JSON.stringify(o)));
|
|
21230
|
-
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
21231
21231
|
this.edit_b(false);
|
|
21232
21232
|
this.save_to_app_state();
|
|
21233
21233
|
var p = new QParam();
|
|
@@ -21788,6 +21788,7 @@
|
|
|
21788
21788
|
this.m_obj.codice +
|
|
21789
21789
|
" - " +
|
|
21790
21790
|
this.m_obj.stat_stato);
|
|
21791
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
21791
21792
|
//+' ('+s_uto+')');
|
|
21792
21793
|
};
|
|
21793
21794
|
dati_aggiuntivi_v2.prototype.reset_form_v = function (t) {
|
|
@@ -21798,6 +21799,7 @@
|
|
|
21798
21799
|
return;
|
|
21799
21800
|
}
|
|
21800
21801
|
this.reset_form(t);
|
|
21802
|
+
this.old_doc = (JSON.parse(JSON.stringify(this.getfieldvalues())));
|
|
21801
21803
|
};
|
|
21802
21804
|
dati_aggiuntivi_v2.prototype.revisione = function () {
|
|
21803
21805
|
var _this = this;
|
|
@@ -21988,7 +21990,7 @@
|
|
|
21988
21990
|
exports.dati_aggiuntivi = dati_aggiuntivi;
|
|
21989
21991
|
exports.dati_aggiuntivi_v2 = dati_aggiuntivi_v2;
|
|
21990
21992
|
exports.fh_win_app_logs = fh_win_app_logs;
|
|
21991
|
-
exports.
|
|
21993
|
+
exports.fh_win_ask_big_text = fh_win_ask_big_text;
|
|
21992
21994
|
exports.fh_win_ask_buttons = fh_win_ask_buttons;
|
|
21993
21995
|
exports.fh_win_ask_number = fh_win_ask_number;
|
|
21994
21996
|
exports.fh_win_ask_richtext = fh_win_ask_richtext;
|