@fluxhub/fluxhub-lib 10.0.494 → 10.0.496
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 +26 -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/fhnumeric.js +11 -3
- 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/public_api.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +19 -11
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/fhnumeric.d.ts +4 -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;
|
|
@@ -9505,6 +9505,7 @@
|
|
|
9505
9505
|
this.enabled = true;
|
|
9506
9506
|
this.hidden = false;
|
|
9507
9507
|
this.m_color = "";
|
|
9508
|
+
this.m_bkcolor = "";
|
|
9508
9509
|
this.pattern = "[-+]?[0-9]*[.,]?[0-9]+";
|
|
9509
9510
|
this.change = new i0.EventEmitter();
|
|
9510
9511
|
this.focus_out = new i0.EventEmitter();
|
|
@@ -9524,10 +9525,16 @@
|
|
|
9524
9525
|
this.enter_key_pressed.emit();
|
|
9525
9526
|
}
|
|
9526
9527
|
};
|
|
9527
|
-
FHNumericFieldComponent.prototype.
|
|
9528
|
+
FHNumericFieldComponent.prototype.getStyle_Color = function () {
|
|
9528
9529
|
return this.m_color;
|
|
9529
9530
|
};
|
|
9531
|
+
FHNumericFieldComponent.prototype.getStyle_BkColor = function () {
|
|
9532
|
+
return this.m_bkcolor;
|
|
9533
|
+
};
|
|
9530
9534
|
FHNumericFieldComponent.prototype.set_backcolor = function (color) {
|
|
9535
|
+
this.m_bkcolor = color;
|
|
9536
|
+
};
|
|
9537
|
+
FHNumericFieldComponent.prototype.set_color = function (color) {
|
|
9531
9538
|
this.m_color = color;
|
|
9532
9539
|
};
|
|
9533
9540
|
FHNumericFieldComponent.prototype.chg = function () {
|
|
@@ -9631,7 +9638,7 @@
|
|
|
9631
9638
|
{ type: i0.Component, args: [{
|
|
9632
9639
|
selector: "FHNumericField",
|
|
9633
9640
|
providers: [CUSTOM_INPUT_CONTROL_VALUE_ACCESSOR_NUMERIC],
|
|
9634
|
-
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"
|
|
9641
|
+
template: "\n <mat-form-field [hidden]=\"hidden\" appearance=\"outline\" floatLabel=\"always\" [class.fh_field]=\"enabled\" [class.fh_field_dis]=\"!enabled\"\n ><mat-label>{{ label }}</mat-label>\n <input\n type=\"text\"\n [style.text-align]=\"text_align\"\n [style.background-color]=\"getStyle_BkColor()\"\n [style.color]=\"getStyle_Color()\"\n #el\n matInput\n [required]=\"required\"\n [disabled]=\"!enabled\"\n [(ngModel)]=\"formattedAmount\"\n formnovalidate\n (blur)=\"chg();focus_out.emit(value)\"\n (click)=\"click_select_allf($event)\"\n (focus)=\"removeCurrencyPipeFormat($event); select_allf($event)\"\n (keydown)=\"keyDownFunctioncl($event)\"\n />\n <mat-hint [hidden]=\"hint==''\">{{hint}}</mat-hint>\n </mat-form-field>\n ",
|
|
9635
9642
|
styles: ["\n\n "]
|
|
9636
9643
|
},] }
|
|
9637
9644
|
];
|
|
@@ -16317,7 +16324,7 @@
|
|
|
16317
16324
|
fh_win_ask_number,
|
|
16318
16325
|
FHMdReader,
|
|
16319
16326
|
FHLogPanelComponent,
|
|
16320
|
-
|
|
16327
|
+
fh_win_ask_big_text,
|
|
16321
16328
|
fh_win_ask_richtext,
|
|
16322
16329
|
FHRichText,
|
|
16323
16330
|
fh_win_output,
|
|
@@ -16384,7 +16391,7 @@
|
|
|
16384
16391
|
fh_win_ask_number,
|
|
16385
16392
|
FHMdReader,
|
|
16386
16393
|
FHLogPanelComponent,
|
|
16387
|
-
|
|
16394
|
+
fh_win_ask_big_text,
|
|
16388
16395
|
fh_win_ask_richtext,
|
|
16389
16396
|
FHRichText,
|
|
16390
16397
|
fh_win_output,
|
|
@@ -21990,7 +21997,7 @@
|
|
|
21990
21997
|
exports.dati_aggiuntivi = dati_aggiuntivi;
|
|
21991
21998
|
exports.dati_aggiuntivi_v2 = dati_aggiuntivi_v2;
|
|
21992
21999
|
exports.fh_win_app_logs = fh_win_app_logs;
|
|
21993
|
-
exports.
|
|
22000
|
+
exports.fh_win_ask_big_text = fh_win_ask_big_text;
|
|
21994
22001
|
exports.fh_win_ask_buttons = fh_win_ask_buttons;
|
|
21995
22002
|
exports.fh_win_ask_number = fh_win_ask_number;
|
|
21996
22003
|
exports.fh_win_ask_richtext = fh_win_ask_richtext;
|