@fluxhub/fluxhub-lib 10.0.174 → 10.0.175
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 +17 -17
- 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/fhgrid.js +3 -3
- package/esm2015/lib/controls/fhgrid_json.js +3 -3
- package/esm2015/lib/controls/win_ask_text.js +4 -4
- package/esm2015/lib/fluxhub-lib.module.js +5 -5
- package/esm2015/public_api.js +2 -2
- package/fesm2015/fluxhub-fluxhub-lib.js +9 -9
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/lib/controls/win_ask_text.d.ts +2 -2
- package/package.json +1 -1
- package/public_api.d.ts +1 -1
|
@@ -4850,8 +4850,8 @@
|
|
|
4850
4850
|
{ type: AppService }
|
|
4851
4851
|
]; };
|
|
4852
4852
|
|
|
4853
|
-
var
|
|
4854
|
-
function
|
|
4853
|
+
var fh_win_ask_text = /** @class */ (function () {
|
|
4854
|
+
function fh_win_ask_text(dialogRef, toastr, data) {
|
|
4855
4855
|
this.dialogRef = dialogRef;
|
|
4856
4856
|
this.toastr = toastr;
|
|
4857
4857
|
this.data = data;
|
|
@@ -4879,15 +4879,15 @@
|
|
|
4879
4879
|
this.password_mode = data.password_mode;
|
|
4880
4880
|
}
|
|
4881
4881
|
}
|
|
4882
|
-
|
|
4883
|
-
|
|
4882
|
+
fh_win_ask_text.prototype.ngAfterViewInit = function () { };
|
|
4883
|
+
fh_win_ask_text.prototype.close = function () {
|
|
4884
4884
|
this.dialogRef.close(null);
|
|
4885
4885
|
};
|
|
4886
|
-
|
|
4887
|
-
|
|
4886
|
+
fh_win_ask_text.prototype.show = function () { };
|
|
4887
|
+
fh_win_ask_text.prototype.hide = function () {
|
|
4888
4888
|
this.dialogRef.close(null);
|
|
4889
4889
|
};
|
|
4890
|
-
|
|
4890
|
+
fh_win_ask_text.prototype.do_check = function () {
|
|
4891
4891
|
if (this.valore.length < this.min_chars ||
|
|
4892
4892
|
this.valore.length > this.max_chars) {
|
|
4893
4893
|
this.toastr.error("Il valore deve avere un numero di caratteri compreso tra " +
|
|
@@ -4898,18 +4898,18 @@
|
|
|
4898
4898
|
}
|
|
4899
4899
|
this.dialogRef.close(this.valore);
|
|
4900
4900
|
};
|
|
4901
|
-
|
|
4901
|
+
fh_win_ask_text.prototype.chiudi = function () {
|
|
4902
4902
|
this.dialogRef.close(null);
|
|
4903
4903
|
};
|
|
4904
|
-
return
|
|
4904
|
+
return fh_win_ask_text;
|
|
4905
4905
|
}());
|
|
4906
|
-
|
|
4906
|
+
fh_win_ask_text.decorators = [
|
|
4907
4907
|
{ type: i0.Component, args: [{
|
|
4908
4908
|
selector: "app-win_ask_text",
|
|
4909
4909
|
template: "\n <div style=\"width:100%\" fxLayout=\"row\" fxLayoutAlign=\"end start\">\n <img\n src=\"assets/icons/x.png\"\n style=\"cursor: pointer;\"\n (click)=\"close()\"\n />\n </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 *ngIf=\"!password_mode\"\n appearance=\"outline\"\n floatLabel=\"always\"\n style=\"width:100%\"\n ><mat-label\n >{{ label }}</mat-label\n >\n <input matInput type=\"text\" [(ngModel)]=\"valore\" required />\n </mat-form-field>\n <mat-form-field appearance=\"outline\" floatLabel=\"always\" *ngIf=\"password_mode\"\n ><mat-label>{{ label }}</mat-label>\n\n <input\n autocomplete=\"new-password\"\n matInput\n type=\"password\"\n [(ngModel)]=\"valore\"\n\n />\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 mat-flat-button color=\"primary\" (click)=\"do_check()\">OK</button\n > \n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">ANNULLA</button>\n </div>\n <div\n fxLayout=\"row\"\n fxLayoutAlign=\"center center\"\n style=\"width: 100%\"\n [hidden]=\"!readonly\"\n >\n <button mat-flat-button color=\"warn\" (click)=\"chiudi()\">CHIUDI</button>\n </div>\n </mat-dialog-actions>\n "
|
|
4910
4910
|
},] }
|
|
4911
4911
|
];
|
|
4912
|
-
|
|
4912
|
+
fh_win_ask_text.ctorParameters = function () { return [
|
|
4913
4913
|
{ type: dialog.MatDialogRef },
|
|
4914
4914
|
{ type: i3.ToastrService },
|
|
4915
4915
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
|
|
@@ -5566,7 +5566,7 @@
|
|
|
5566
5566
|
};
|
|
5567
5567
|
FHGridComponent.prototype.insert_config = function () {
|
|
5568
5568
|
var _this = this;
|
|
5569
|
-
this.win_opt = this.m_dialog.open(
|
|
5569
|
+
this.win_opt = this.m_dialog.open(fh_win_ask_text, {
|
|
5570
5570
|
disableClose: true,
|
|
5571
5571
|
});
|
|
5572
5572
|
setTimeout(function () {
|
|
@@ -11354,7 +11354,7 @@
|
|
|
11354
11354
|
};
|
|
11355
11355
|
FHGridJSONComponent.prototype.insert_config = function () {
|
|
11356
11356
|
var _this = this;
|
|
11357
|
-
this.win_opt = this.m_dialog.open(
|
|
11357
|
+
this.win_opt = this.m_dialog.open(fh_win_ask_text, {
|
|
11358
11358
|
disableClose: true,
|
|
11359
11359
|
});
|
|
11360
11360
|
setTimeout(function () {
|
|
@@ -14101,7 +14101,7 @@
|
|
|
14101
14101
|
FHListComponent,
|
|
14102
14102
|
fh_win_combo,
|
|
14103
14103
|
ReplaceLineBreaks,
|
|
14104
|
-
|
|
14104
|
+
fh_win_ask_text,
|
|
14105
14105
|
FHPickListComponent,
|
|
14106
14106
|
fh_win_ask_number,
|
|
14107
14107
|
FHMdReader,
|
|
@@ -14164,7 +14164,7 @@
|
|
|
14164
14164
|
FHListComponent,
|
|
14165
14165
|
fh_win_combo,
|
|
14166
14166
|
ReplaceLineBreaks,
|
|
14167
|
-
|
|
14167
|
+
fh_win_ask_text,
|
|
14168
14168
|
FHPickListComponent,
|
|
14169
14169
|
fh_win_ask_number,
|
|
14170
14170
|
FHMdReader,
|
|
@@ -14234,7 +14234,7 @@
|
|
|
14234
14234
|
TextAreaEditor,
|
|
14235
14235
|
ComboBoxEditor,
|
|
14236
14236
|
fh_win_combo,
|
|
14237
|
-
|
|
14237
|
+
fh_win_ask_text,
|
|
14238
14238
|
fh_win_ask_number,
|
|
14239
14239
|
fh_win_ask_big_test,
|
|
14240
14240
|
fh_win_output,
|
|
@@ -17054,7 +17054,7 @@
|
|
|
17054
17054
|
exports.fh_win_ask_big_test = fh_win_ask_big_test;
|
|
17055
17055
|
exports.fh_win_ask_buttons = fh_win_ask_buttons;
|
|
17056
17056
|
exports.fh_win_ask_number = fh_win_ask_number;
|
|
17057
|
-
exports.
|
|
17057
|
+
exports.fh_win_ask_text = fh_win_ask_text;
|
|
17058
17058
|
exports.fh_win_combo = fh_win_combo;
|
|
17059
17059
|
exports.fh_win_confirm = fh_win_confirm;
|
|
17060
17060
|
exports.fh_win_list = fh_win_list;
|