@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
|
@@ -1659,6 +1659,7 @@
|
|
|
1659
1659
|
if (conf == null) {
|
|
1660
1660
|
this.title = localStorage.getItem(this.app_s.COMPANY_KEY + "title_dialog");
|
|
1661
1661
|
this.msg = localStorage.getItem(this.app_s.COMPANY_KEY + "msg_dialog");
|
|
1662
|
+
return;
|
|
1662
1663
|
}
|
|
1663
1664
|
this.title = conf.title_dialog;
|
|
1664
1665
|
this.msg = conf.msg_dialog;
|
|
@@ -2927,9 +2928,10 @@
|
|
|
2927
2928
|
}());
|
|
2928
2929
|
|
|
2929
2930
|
var WinAskTextBigComponent = /** @class */ (function () {
|
|
2930
|
-
function WinAskTextBigComponent(dialogRef, toastr) {
|
|
2931
|
+
function WinAskTextBigComponent(dialogRef, toastr, data) {
|
|
2931
2932
|
this.dialogRef = dialogRef;
|
|
2932
2933
|
this.toastr = toastr;
|
|
2934
|
+
this.data = data;
|
|
2933
2935
|
this.title = "";
|
|
2934
2936
|
this.label = "";
|
|
2935
2937
|
this.valore = "";
|
|
@@ -2937,6 +2939,22 @@
|
|
|
2937
2939
|
this.show_annulla = true;
|
|
2938
2940
|
this.show_ok = true;
|
|
2939
2941
|
this.min_chars = 3;
|
|
2942
|
+
if (data != null) {
|
|
2943
|
+
if (data.title != null)
|
|
2944
|
+
this.title = data.title;
|
|
2945
|
+
if (data.label != null)
|
|
2946
|
+
this.title = data.label;
|
|
2947
|
+
if (data.valore != null)
|
|
2948
|
+
this.title = data.valore;
|
|
2949
|
+
if (data.readonly != null)
|
|
2950
|
+
this.title = data.readonly;
|
|
2951
|
+
if (data.show_annulla != null)
|
|
2952
|
+
this.title = data.show_annulla;
|
|
2953
|
+
if (data.show_ok != null)
|
|
2954
|
+
this.title = data.show_ok;
|
|
2955
|
+
if (data.min_chars != null)
|
|
2956
|
+
this.title = data.min_chars;
|
|
2957
|
+
}
|
|
2940
2958
|
}
|
|
2941
2959
|
WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
|
|
2942
2960
|
};
|
|
@@ -2958,38 +2976,16 @@
|
|
|
2958
2976
|
};
|
|
2959
2977
|
WinAskTextBigComponent.ctorParameters = function () { return [
|
|
2960
2978
|
{ type: dialog.MatDialogRef },
|
|
2961
|
-
{ type: ngxToastr.ToastrService }
|
|
2979
|
+
{ type: ngxToastr.ToastrService },
|
|
2980
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
2962
2981
|
]; };
|
|
2963
|
-
__decorate([
|
|
2964
|
-
core.Input(),
|
|
2965
|
-
__metadata("design:type", String)
|
|
2966
|
-
], WinAskTextBigComponent.prototype, "title", void 0);
|
|
2967
|
-
__decorate([
|
|
2968
|
-
core.Input(),
|
|
2969
|
-
__metadata("design:type", String)
|
|
2970
|
-
], WinAskTextBigComponent.prototype, "label", void 0);
|
|
2971
|
-
__decorate([
|
|
2972
|
-
core.Input(),
|
|
2973
|
-
__metadata("design:type", String)
|
|
2974
|
-
], WinAskTextBigComponent.prototype, "valore", void 0);
|
|
2975
|
-
__decorate([
|
|
2976
|
-
core.Input(),
|
|
2977
|
-
__metadata("design:type", Boolean)
|
|
2978
|
-
], WinAskTextBigComponent.prototype, "readonly", void 0);
|
|
2979
|
-
__decorate([
|
|
2980
|
-
core.Input(),
|
|
2981
|
-
__metadata("design:type", Boolean)
|
|
2982
|
-
], WinAskTextBigComponent.prototype, "show_annulla", void 0);
|
|
2983
|
-
__decorate([
|
|
2984
|
-
core.Input(),
|
|
2985
|
-
__metadata("design:type", Boolean)
|
|
2986
|
-
], WinAskTextBigComponent.prototype, "show_ok", void 0);
|
|
2987
2982
|
WinAskTextBigComponent = __decorate([
|
|
2988
2983
|
core.Component({
|
|
2989
2984
|
selector: 'app-win_ask_text',
|
|
2990
2985
|
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 "
|
|
2991
2986
|
}),
|
|
2992
|
-
|
|
2987
|
+
__param(2, core.Inject(dialog.MAT_DIALOG_DATA)),
|
|
2988
|
+
__metadata("design:paramtypes", [dialog.MatDialogRef, ngxToastr.ToastrService, Object])
|
|
2993
2989
|
], WinAskTextBigComponent);
|
|
2994
2990
|
return WinAskTextBigComponent;
|
|
2995
2991
|
}());
|
|
@@ -3442,14 +3438,27 @@
|
|
|
3442
3438
|
}());
|
|
3443
3439
|
|
|
3444
3440
|
var WinAskTextComponent = /** @class */ (function () {
|
|
3445
|
-
function WinAskTextComponent(dialogRef, toastr) {
|
|
3441
|
+
function WinAskTextComponent(dialogRef, toastr, data) {
|
|
3446
3442
|
this.dialogRef = dialogRef;
|
|
3447
3443
|
this.toastr = toastr;
|
|
3444
|
+
this.data = data;
|
|
3448
3445
|
this.title = "";
|
|
3449
3446
|
this.label = "";
|
|
3450
3447
|
this.valore = "";
|
|
3451
3448
|
this.min_chars = 3;
|
|
3452
3449
|
this.max_chars = 50;
|
|
3450
|
+
if (data != null) {
|
|
3451
|
+
if (data.title != null)
|
|
3452
|
+
this.title = data.title;
|
|
3453
|
+
if (data.label != null)
|
|
3454
|
+
this.title = data.label;
|
|
3455
|
+
if (data.valore != null)
|
|
3456
|
+
this.title = data.valore;
|
|
3457
|
+
if (data.min_chars != null)
|
|
3458
|
+
this.title = data.min_chars;
|
|
3459
|
+
if (data.max_chars != null)
|
|
3460
|
+
this.title = data.max_chars;
|
|
3461
|
+
}
|
|
3453
3462
|
}
|
|
3454
3463
|
WinAskTextComponent.prototype.ngAfterViewInit = function () {
|
|
3455
3464
|
};
|
|
@@ -3471,26 +3480,16 @@
|
|
|
3471
3480
|
};
|
|
3472
3481
|
WinAskTextComponent.ctorParameters = function () { return [
|
|
3473
3482
|
{ type: dialog.MatDialogRef },
|
|
3474
|
-
{ type: ngxToastr.ToastrService }
|
|
3483
|
+
{ type: ngxToastr.ToastrService },
|
|
3484
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
3475
3485
|
]; };
|
|
3476
|
-
__decorate([
|
|
3477
|
-
core.Input(),
|
|
3478
|
-
__metadata("design:type", String)
|
|
3479
|
-
], WinAskTextComponent.prototype, "title", void 0);
|
|
3480
|
-
__decorate([
|
|
3481
|
-
core.Input(),
|
|
3482
|
-
__metadata("design:type", String)
|
|
3483
|
-
], WinAskTextComponent.prototype, "label", void 0);
|
|
3484
|
-
__decorate([
|
|
3485
|
-
core.Input(),
|
|
3486
|
-
__metadata("design:type", String)
|
|
3487
|
-
], WinAskTextComponent.prototype, "valore", void 0);
|
|
3488
3486
|
WinAskTextComponent = __decorate([
|
|
3489
3487
|
core.Component({
|
|
3490
3488
|
selector: 'app-win_ask_text',
|
|
3491
3489
|
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 "
|
|
3492
3490
|
}),
|
|
3493
|
-
|
|
3491
|
+
__param(2, core.Inject(dialog.MAT_DIALOG_DATA)),
|
|
3492
|
+
__metadata("design:paramtypes", [dialog.MatDialogRef, ngxToastr.ToastrService, Object])
|
|
3494
3493
|
], WinAskTextComponent);
|
|
3495
3494
|
return WinAskTextComponent;
|
|
3496
3495
|
}());
|