@fluxhub/fluxhub-lib 9.0.25 → 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 +40 -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/win_ask_text.js +22 -19
- package/esm2015/lib/controls/win_ask_textbig.js +26 -31
- 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 +40 -42
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +40 -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
|
@@ -2795,9 +2795,10 @@ var AuthenticationService = /** @class */ (function () {
|
|
|
2795
2795
|
}());
|
|
2796
2796
|
|
|
2797
2797
|
var WinAskTextBigComponent = /** @class */ (function () {
|
|
2798
|
-
function WinAskTextBigComponent(dialogRef, toastr) {
|
|
2798
|
+
function WinAskTextBigComponent(dialogRef, toastr, data) {
|
|
2799
2799
|
this.dialogRef = dialogRef;
|
|
2800
2800
|
this.toastr = toastr;
|
|
2801
|
+
this.data = data;
|
|
2801
2802
|
this.title = "";
|
|
2802
2803
|
this.label = "";
|
|
2803
2804
|
this.valore = "";
|
|
@@ -2805,6 +2806,22 @@ var WinAskTextBigComponent = /** @class */ (function () {
|
|
|
2805
2806
|
this.show_annulla = true;
|
|
2806
2807
|
this.show_ok = true;
|
|
2807
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
|
+
}
|
|
2808
2825
|
}
|
|
2809
2826
|
WinAskTextBigComponent.prototype.ngAfterViewInit = function () {
|
|
2810
2827
|
};
|
|
@@ -2826,38 +2843,16 @@ var WinAskTextBigComponent = /** @class */ (function () {
|
|
|
2826
2843
|
};
|
|
2827
2844
|
WinAskTextBigComponent.ctorParameters = function () { return [
|
|
2828
2845
|
{ type: MatDialogRef },
|
|
2829
|
-
{ type: ToastrService }
|
|
2846
|
+
{ type: ToastrService },
|
|
2847
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
2830
2848
|
]; };
|
|
2831
|
-
__decorate([
|
|
2832
|
-
Input(),
|
|
2833
|
-
__metadata("design:type", String)
|
|
2834
|
-
], WinAskTextBigComponent.prototype, "title", void 0);
|
|
2835
|
-
__decorate([
|
|
2836
|
-
Input(),
|
|
2837
|
-
__metadata("design:type", String)
|
|
2838
|
-
], WinAskTextBigComponent.prototype, "label", void 0);
|
|
2839
|
-
__decorate([
|
|
2840
|
-
Input(),
|
|
2841
|
-
__metadata("design:type", String)
|
|
2842
|
-
], WinAskTextBigComponent.prototype, "valore", void 0);
|
|
2843
|
-
__decorate([
|
|
2844
|
-
Input(),
|
|
2845
|
-
__metadata("design:type", Boolean)
|
|
2846
|
-
], WinAskTextBigComponent.prototype, "readonly", void 0);
|
|
2847
|
-
__decorate([
|
|
2848
|
-
Input(),
|
|
2849
|
-
__metadata("design:type", Boolean)
|
|
2850
|
-
], WinAskTextBigComponent.prototype, "show_annulla", void 0);
|
|
2851
|
-
__decorate([
|
|
2852
|
-
Input(),
|
|
2853
|
-
__metadata("design:type", Boolean)
|
|
2854
|
-
], WinAskTextBigComponent.prototype, "show_ok", void 0);
|
|
2855
2849
|
WinAskTextBigComponent = __decorate([
|
|
2856
2850
|
Component({
|
|
2857
2851
|
selector: 'app-win_ask_text',
|
|
2858
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 "
|
|
2859
2853
|
}),
|
|
2860
|
-
|
|
2854
|
+
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
2855
|
+
__metadata("design:paramtypes", [MatDialogRef, ToastrService, Object])
|
|
2861
2856
|
], WinAskTextBigComponent);
|
|
2862
2857
|
return WinAskTextBigComponent;
|
|
2863
2858
|
}());
|
|
@@ -3310,14 +3305,27 @@ var win_grid_help = /** @class */ (function () {
|
|
|
3310
3305
|
}());
|
|
3311
3306
|
|
|
3312
3307
|
var WinAskTextComponent = /** @class */ (function () {
|
|
3313
|
-
function WinAskTextComponent(dialogRef, toastr) {
|
|
3308
|
+
function WinAskTextComponent(dialogRef, toastr, data) {
|
|
3314
3309
|
this.dialogRef = dialogRef;
|
|
3315
3310
|
this.toastr = toastr;
|
|
3311
|
+
this.data = data;
|
|
3316
3312
|
this.title = "";
|
|
3317
3313
|
this.label = "";
|
|
3318
3314
|
this.valore = "";
|
|
3319
3315
|
this.min_chars = 3;
|
|
3320
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
|
+
}
|
|
3321
3329
|
}
|
|
3322
3330
|
WinAskTextComponent.prototype.ngAfterViewInit = function () {
|
|
3323
3331
|
};
|
|
@@ -3339,26 +3347,16 @@ var WinAskTextComponent = /** @class */ (function () {
|
|
|
3339
3347
|
};
|
|
3340
3348
|
WinAskTextComponent.ctorParameters = function () { return [
|
|
3341
3349
|
{ type: MatDialogRef },
|
|
3342
|
-
{ type: ToastrService }
|
|
3350
|
+
{ type: ToastrService },
|
|
3351
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] }
|
|
3343
3352
|
]; };
|
|
3344
|
-
__decorate([
|
|
3345
|
-
Input(),
|
|
3346
|
-
__metadata("design:type", String)
|
|
3347
|
-
], WinAskTextComponent.prototype, "title", void 0);
|
|
3348
|
-
__decorate([
|
|
3349
|
-
Input(),
|
|
3350
|
-
__metadata("design:type", String)
|
|
3351
|
-
], WinAskTextComponent.prototype, "label", void 0);
|
|
3352
|
-
__decorate([
|
|
3353
|
-
Input(),
|
|
3354
|
-
__metadata("design:type", String)
|
|
3355
|
-
], WinAskTextComponent.prototype, "valore", void 0);
|
|
3356
3353
|
WinAskTextComponent = __decorate([
|
|
3357
3354
|
Component({
|
|
3358
3355
|
selector: 'app-win_ask_text',
|
|
3359
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 "
|
|
3360
3357
|
}),
|
|
3361
|
-
|
|
3358
|
+
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
3359
|
+
__metadata("design:paramtypes", [MatDialogRef, ToastrService, Object])
|
|
3362
3360
|
], WinAskTextComponent);
|
|
3363
3361
|
return WinAskTextComponent;
|
|
3364
3362
|
}());
|