@fluxhub/fluxhub-lib 9.0.24 → 9.0.26
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 +41 -42
- 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/fhconfirm.js +2 -1
- package/esm2015/lib/controls/win_ask_text.js +22 -19
- package/esm2015/lib/controls/win_ask_textbig.js +26 -31
- package/esm5/lib/controls/fhconfirm.js +2 -1
- package/esm5/lib/controls/win_ask_text.js +22 -19
- package/esm5/lib/controls/win_ask_textbig.js +26 -31
- package/fesm2015/fluxhub-fluxhub-lib.js +41 -42
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +41 -42
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_text.d.ts +2 -1
- package/lib/controls/win_ask_textbig.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1526,6 +1526,7 @@ var FHConfirmComponent = /** @class */ (function () {
|
|
|
1526
1526
|
if (conf == null) {
|
|
1527
1527
|
this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
|
|
1528
1528
|
this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
|
|
1529
|
+
return;
|
|
1529
1530
|
}
|
|
1530
1531
|
this.title = conf.title_dialog;
|
|
1531
1532
|
this.msg = conf.msg_dialog;
|
|
@@ -2794,9 +2795,10 @@ var AuthenticationService = /** @class */ (function () {
|
|
|
2794
2795
|
}());
|
|
2795
2796
|
|
|
2796
2797
|
var WinAskTextBigComponent = /** @class */ (function () {
|
|
2797
|
-
function WinAskTextBigComponent(dialogRef, toastr) {
|
|
2798
|
+
function WinAskTextBigComponent(dialogRef, toastr, data) {
|
|
2798
2799
|
this.dialogRef = dialogRef;
|
|
2799
2800
|
this.toastr = toastr;
|
|
2801
|
+
this.data = data;
|
|
2800
2802
|
this.title = "";
|
|
2801
2803
|
this.label = "";
|
|
2802
2804
|
this.valore = "";
|
|
@@ -2804,6 +2806,22 @@ var WinAskTextBigComponent = /** @class */ (function () {
|
|
|
2804
2806
|
this.show_annulla = true;
|
|
2805
2807
|
this.show_ok = true;
|
|
2806
2808
|
this.min_chars = 3;
|
|
2809
|
+
if (data != null) {
|
|
2810
|
+
if (data.title != null)
|
|
2811
|
+
this.title = data.title;
|
|
2812
|
+
if (data.label != null)
|
|
2813
|
+
this.title = data.label;
|
|
2814
|
+
if (data.valore != null)
|
|
2815
|
+
this.title = data.valore;
|
|
2816
|
+
if (data.readonly != null)
|
|
2817
|
+
this.title = data.readonly;
|
|
2818
|
+
if (data.show_annulla != null)
|
|
2819
|
+
this.title = data.show_annulla;
|
|
2820
|
+
if (data.show_ok != null)
|
|
2821
|
+
this.title = data.show_ok;
|
|
2822
|
+
if (data.min_chars != null)
|
|
2823
|
+
this.title = data.min_chars;
|
|
2824
|
+
}
|
|
2807
2825
|
}
|
|
2808
2826
|
WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
|
|
2809
2827
|
};
|
|
@@ -2825,38 +2843,16 @@ var WinAskTextBigComponent = /** @class */ (function () {
|
|
|
2825
2843
|
};
|
|
2826
2844
|
WinAskTextBigComponent.ctorParameters = function () { return [
|
|
2827
2845
|
{ type: MatDialogRef },
|
|
2828
|
-
{ type: ToastrService }
|
|
2846
|
+
{ type: ToastrService },
|
|
2847
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
2829
2848
|
]; };
|
|
2830
|
-
__decorate([
|
|
2831
|
-
Input(),
|
|
2832
|
-
__metadata("design:type", String)
|
|
2833
|
-
], WinAskTextBigComponent.prototype, "title", void 0);
|
|
2834
|
-
__decorate([
|
|
2835
|
-
Input(),
|
|
2836
|
-
__metadata("design:type", String)
|
|
2837
|
-
], WinAskTextBigComponent.prototype, "label", void 0);
|
|
2838
|
-
__decorate([
|
|
2839
|
-
Input(),
|
|
2840
|
-
__metadata("design:type", String)
|
|
2841
|
-
], WinAskTextBigComponent.prototype, "valore", void 0);
|
|
2842
|
-
__decorate([
|
|
2843
|
-
Input(),
|
|
2844
|
-
__metadata("design:type", Boolean)
|
|
2845
|
-
], WinAskTextBigComponent.prototype, "readonly", void 0);
|
|
2846
|
-
__decorate([
|
|
2847
|
-
Input(),
|
|
2848
|
-
__metadata("design:type", Boolean)
|
|
2849
|
-
], WinAskTextBigComponent.prototype, "show_annulla", void 0);
|
|
2850
|
-
__decorate([
|
|
2851
|
-
Input(),
|
|
2852
|
-
__metadata("design:type", Boolean)
|
|
2853
|
-
], WinAskTextBigComponent.prototype, "show_ok", void 0);
|
|
2854
2849
|
WinAskTextBigComponent = __decorate([
|
|
2855
2850
|
Component({
|
|
2856
2851
|
selector: 'app-win_ask_text',
|
|
2857
2852
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"width:630px;font-size: 12px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}}</mat-label>\n <textarea matInput [readonly]=\"readonly\" [(ngModel)]=\"valore\" style=\"min-width:600px\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n\n <button *ngIf=\"show_ok\" mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button> \n <button *ngIf=\"show_annulla\" mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </div>\n\n\n "
|
|
2858
2853
|
}),
|
|
2859
|
-
|
|
2854
|
+
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
2855
|
+
__metadata("design:paramtypes", [MatDialogRef, ToastrService, Object])
|
|
2860
2856
|
], WinAskTextBigComponent);
|
|
2861
2857
|
return WinAskTextBigComponent;
|
|
2862
2858
|
}());
|
|
@@ -3309,14 +3305,27 @@ var win_grid_help = /** @class */ (function () {
|
|
|
3309
3305
|
}());
|
|
3310
3306
|
|
|
3311
3307
|
var WinAskTextComponent = /** @class */ (function () {
|
|
3312
|
-
function WinAskTextComponent(dialogRef, toastr) {
|
|
3308
|
+
function WinAskTextComponent(dialogRef, toastr, data) {
|
|
3313
3309
|
this.dialogRef = dialogRef;
|
|
3314
3310
|
this.toastr = toastr;
|
|
3311
|
+
this.data = data;
|
|
3315
3312
|
this.title = "";
|
|
3316
3313
|
this.label = "";
|
|
3317
3314
|
this.valore = "";
|
|
3318
3315
|
this.min_chars = 3;
|
|
3319
3316
|
this.max_chars = 50;
|
|
3317
|
+
if (data != null) {
|
|
3318
|
+
if (data.title != null)
|
|
3319
|
+
this.title = data.title;
|
|
3320
|
+
if (data.label != null)
|
|
3321
|
+
this.title = data.label;
|
|
3322
|
+
if (data.valore != null)
|
|
3323
|
+
this.title = data.valore;
|
|
3324
|
+
if (data.min_chars != null)
|
|
3325
|
+
this.title = data.min_chars;
|
|
3326
|
+
if (data.max_chars != null)
|
|
3327
|
+
this.title = data.max_chars;
|
|
3328
|
+
}
|
|
3320
3329
|
}
|
|
3321
3330
|
WinAskTextComponent.prototype.ngAfterViewInit = function () {
|
|
3322
3331
|
};
|
|
@@ -3338,26 +3347,16 @@ var WinAskTextComponent = /** @class */ (function () {
|
|
|
3338
3347
|
};
|
|
3339
3348
|
WinAskTextComponent.ctorParameters = function () { return [
|
|
3340
3349
|
{ type: MatDialogRef },
|
|
3341
|
-
{ type: ToastrService }
|
|
3350
|
+
{ type: ToastrService },
|
|
3351
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
3342
3352
|
]; };
|
|
3343
|
-
__decorate([
|
|
3344
|
-
Input(),
|
|
3345
|
-
__metadata("design:type", String)
|
|
3346
|
-
], WinAskTextComponent.prototype, "title", void 0);
|
|
3347
|
-
__decorate([
|
|
3348
|
-
Input(),
|
|
3349
|
-
__metadata("design:type", String)
|
|
3350
|
-
], WinAskTextComponent.prototype, "label", void 0);
|
|
3351
|
-
__decorate([
|
|
3352
|
-
Input(),
|
|
3353
|
-
__metadata("design:type", String)
|
|
3354
|
-
], WinAskTextComponent.prototype, "valore", void 0);
|
|
3355
3353
|
WinAskTextComponent = __decorate([
|
|
3356
3354
|
Component({
|
|
3357
3355
|
selector: 'app-win_ask_text',
|
|
3358
3356
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\"><img src=\"assets/icons/x.png\" style=\"cursor: pointer;\" (click)=\"close()\" /> </div>\n <hr width=\"100%\" size=\"0.5\" color=\"#DDDDDD\">\n\n <h2 mat-dialog-title>{{title}}</h2>\n <mat-dialog-content style=\"font-size: 12px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\"><mat-label>{{label}} (min {{min_chars}} - max {{max_chars}} caratteri)</mat-label>\n <input matInput type=\"text\"\n [(ngModel)]=\"valore\" required>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button> <button\n mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA\n </button>\n </mat-dialog-actions>\n\n\n "
|
|
3359
3357
|
}),
|
|
3360
|
-
|
|
3358
|
+
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
3359
|
+
__metadata("design:paramtypes", [MatDialogRef, ToastrService, Object])
|
|
3361
3360
|
], WinAskTextComponent);
|
|
3362
3361
|
return WinAskTextComponent;
|
|
3363
3362
|
}());
|