@fluxhub/fluxhub-lib 9.0.29 → 9.0.30
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 +5 -2
- 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 +11 -6
- package/esm2015/lib/controls/win_ask_textbig.js +8 -6
- package/esm5/lib/controls/win_ask_text.js +5 -2
- package/esm5/lib/controls/win_ask_textbig.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +17 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +5 -2
- 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 +1 -0
- package/package.json +1 -1
|
@@ -2849,7 +2849,7 @@ var WinAskTextBigComponent = /** @class */ (function () {
|
|
|
2849
2849
|
WinAskTextBigComponent = __decorate([
|
|
2850
2850
|
Component({
|
|
2851
2851
|
selector: 'app-win_ask_text',
|
|
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: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" style=\"width:100%\"><mat-label>{{label}}</mat-label>\n <textarea matInput [readonly]=\"readonly\" [(ngModel)]=\"valore\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\">\n
|
|
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: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" style=\"width:100%\"><mat-label>{{label}}</mat-label>\n <textarea matInput [readonly]=\"readonly\" [(ngModel)]=\"valore\" rows=\"15\"\n required></textarea>\n </mat-form-field>\n </mat-dialog-content>\n <mat-dialog-actions>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\" [hidden]=\"readonly\">\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 <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\" [hidden]=\"!readonly\">\n <button *ngIf=\"show_annulla\" mat-flat-button color=\"warn\" (click)=\"chiudi()\">CHIUDI</button>\n </div>\n</mat-dialog-actions>\n "
|
|
2853
2853
|
}),
|
|
2854
2854
|
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
2855
2855
|
__metadata("design:paramtypes", [MatDialogRef, ToastrService, Object])
|
|
@@ -3314,6 +3314,7 @@ var WinAskTextComponent = /** @class */ (function () {
|
|
|
3314
3314
|
this.valore = "";
|
|
3315
3315
|
this.min_chars = 3;
|
|
3316
3316
|
this.max_chars = 50;
|
|
3317
|
+
this.readonly = false;
|
|
3317
3318
|
if (data != null) {
|
|
3318
3319
|
if (data.title != null)
|
|
3319
3320
|
this.title = data.title;
|
|
@@ -3321,6 +3322,8 @@ var WinAskTextComponent = /** @class */ (function () {
|
|
|
3321
3322
|
this.label = data.label;
|
|
3322
3323
|
if (data.valore != null)
|
|
3323
3324
|
this.valore = data.valore;
|
|
3325
|
+
if (data.readonly != null)
|
|
3326
|
+
this.readonly = data.readonly;
|
|
3324
3327
|
if (data.min_chars != null)
|
|
3325
3328
|
this.min_chars = data.min_chars;
|
|
3326
3329
|
if (data.max_chars != null)
|
|
@@ -3353,7 +3356,7 @@ var WinAskTextComponent = /** @class */ (function () {
|
|
|
3353
3356
|
WinAskTextComponent = __decorate([
|
|
3354
3357
|
Component({
|
|
3355
3358
|
selector: 'app-win_ask_text',
|
|
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: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" style=\"width:100%\"><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 <
|
|
3359
|
+
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: 15px;\">\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" style=\"width:100%\"><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\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\" [hidden]=\"readonly\">\n <button mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button> \n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </div>\n <div fxLayout=\"row\" fxLayoutAlign=\"center center\" style=\"width: 100%\" [hidden]=\"!readonly\">\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">CHIUDI</button>\n </div>\n\n "
|
|
3357
3360
|
}),
|
|
3358
3361
|
__param(2, Inject(MAT_DIALOG_DATA)),
|
|
3359
3362
|
__metadata("design:paramtypes", [MatDialogRef, ToastrService, Object])
|