@fluxhub/fluxhub-lib 10.0.173 → 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.
@@ -4233,13 +4233,9 @@
4233
4233
  }
4234
4234
  });
4235
4235
  };
4236
- FHUploadPanelComponent.prototype.ngAfterViewInit = function () {
4236
+ FHUploadPanelComponent.prototype.load_component = function () {
4237
4237
  var _this = this;
4238
4238
  setTimeout(function () {
4239
- setTimeout(function () {
4240
- _this.b_initt = true;
4241
- _this.init_end.emit();
4242
- }, 700);
4243
4239
  _this.upc.single = false;
4244
4240
  _this.b_mobile = _this._appservice.getState().pageFullscreen;
4245
4241
  if (_this.force_en)
@@ -4254,6 +4250,14 @@
4254
4250
  if (this.ruolo_supervisore != "[ZZZ_DIS_CC]")
4255
4251
  this.access_control = true;
4256
4252
  };
4253
+ FHUploadPanelComponent.prototype.ngAfterViewInit = function () {
4254
+ var _this = this;
4255
+ setTimeout(function () {
4256
+ _this.b_initt = true;
4257
+ _this.init_end.emit();
4258
+ }, 700);
4259
+ this.load_component();
4260
+ };
4257
4261
  FHUploadPanelComponent.prototype.init = function (p_app, p_k, p_tipo, programma_da_eseguire) {
4258
4262
  if (p_tipo === void 0) { p_tipo = ""; }
4259
4263
  if (programma_da_eseguire === void 0) { programma_da_eseguire = ""; }
@@ -4263,7 +4267,7 @@
4263
4267
  this.b_edit_loaded = false;
4264
4268
  this.m_p_tipo = p_tipo;
4265
4269
  this.m_programma_da_eseguire = programma_da_eseguire;
4266
- this.ngAfterViewInit();
4270
+ this.load_component();
4267
4271
  };
4268
4272
  FHUploadPanelComponent.prototype.do_upload = function (App, K, descri_all, m_p_tipo, m_programma_da_eseguire) {
4269
4273
  this
@@ -4846,8 +4850,8 @@
4846
4850
  { type: AppService }
4847
4851
  ]; };
4848
4852
 
4849
- var fh_win_ask_test = /** @class */ (function () {
4850
- function fh_win_ask_test(dialogRef, toastr, data) {
4853
+ var fh_win_ask_text = /** @class */ (function () {
4854
+ function fh_win_ask_text(dialogRef, toastr, data) {
4851
4855
  this.dialogRef = dialogRef;
4852
4856
  this.toastr = toastr;
4853
4857
  this.data = data;
@@ -4875,15 +4879,15 @@
4875
4879
  this.password_mode = data.password_mode;
4876
4880
  }
4877
4881
  }
4878
- fh_win_ask_test.prototype.ngAfterViewInit = function () { };
4879
- fh_win_ask_test.prototype.close = function () {
4882
+ fh_win_ask_text.prototype.ngAfterViewInit = function () { };
4883
+ fh_win_ask_text.prototype.close = function () {
4880
4884
  this.dialogRef.close(null);
4881
4885
  };
4882
- fh_win_ask_test.prototype.show = function () { };
4883
- fh_win_ask_test.prototype.hide = function () {
4886
+ fh_win_ask_text.prototype.show = function () { };
4887
+ fh_win_ask_text.prototype.hide = function () {
4884
4888
  this.dialogRef.close(null);
4885
4889
  };
4886
- fh_win_ask_test.prototype.do_check = function () {
4890
+ fh_win_ask_text.prototype.do_check = function () {
4887
4891
  if (this.valore.length < this.min_chars ||
4888
4892
  this.valore.length > this.max_chars) {
4889
4893
  this.toastr.error("Il valore deve avere un numero di caratteri compreso tra " +
@@ -4894,18 +4898,18 @@
4894
4898
  }
4895
4899
  this.dialogRef.close(this.valore);
4896
4900
  };
4897
- fh_win_ask_test.prototype.chiudi = function () {
4901
+ fh_win_ask_text.prototype.chiudi = function () {
4898
4902
  this.dialogRef.close(null);
4899
4903
  };
4900
- return fh_win_ask_test;
4904
+ return fh_win_ask_text;
4901
4905
  }());
4902
- fh_win_ask_test.decorators = [
4906
+ fh_win_ask_text.decorators = [
4903
4907
  { type: i0.Component, args: [{
4904
4908
  selector: "app-win_ask_text",
4905
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 >&nbsp;&nbsp;&nbsp;\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 "
4906
4910
  },] }
4907
4911
  ];
4908
- fh_win_ask_test.ctorParameters = function () { return [
4912
+ fh_win_ask_text.ctorParameters = function () { return [
4909
4913
  { type: dialog.MatDialogRef },
4910
4914
  { type: i3.ToastrService },
4911
4915
  { type: undefined, decorators: [{ type: i0.Inject, args: [dialog.MAT_DIALOG_DATA,] }] }
@@ -5562,7 +5566,7 @@
5562
5566
  };
5563
5567
  FHGridComponent.prototype.insert_config = function () {
5564
5568
  var _this = this;
5565
- this.win_opt = this.m_dialog.open(fh_win_ask_test, {
5569
+ this.win_opt = this.m_dialog.open(fh_win_ask_text, {
5566
5570
  disableClose: true,
5567
5571
  });
5568
5572
  setTimeout(function () {
@@ -11350,7 +11354,7 @@
11350
11354
  };
11351
11355
  FHGridJSONComponent.prototype.insert_config = function () {
11352
11356
  var _this = this;
11353
- this.win_opt = this.m_dialog.open(fh_win_ask_test, {
11357
+ this.win_opt = this.m_dialog.open(fh_win_ask_text, {
11354
11358
  disableClose: true,
11355
11359
  });
11356
11360
  setTimeout(function () {
@@ -14097,7 +14101,7 @@
14097
14101
  FHListComponent,
14098
14102
  fh_win_combo,
14099
14103
  ReplaceLineBreaks,
14100
- fh_win_ask_test,
14104
+ fh_win_ask_text,
14101
14105
  FHPickListComponent,
14102
14106
  fh_win_ask_number,
14103
14107
  FHMdReader,
@@ -14160,7 +14164,7 @@
14160
14164
  FHListComponent,
14161
14165
  fh_win_combo,
14162
14166
  ReplaceLineBreaks,
14163
- fh_win_ask_test,
14167
+ fh_win_ask_text,
14164
14168
  FHPickListComponent,
14165
14169
  fh_win_ask_number,
14166
14170
  FHMdReader,
@@ -14230,7 +14234,7 @@
14230
14234
  TextAreaEditor,
14231
14235
  ComboBoxEditor,
14232
14236
  fh_win_combo,
14233
- fh_win_ask_test,
14237
+ fh_win_ask_text,
14234
14238
  fh_win_ask_number,
14235
14239
  fh_win_ask_big_test,
14236
14240
  fh_win_output,
@@ -17050,7 +17054,7 @@
17050
17054
  exports.fh_win_ask_big_test = fh_win_ask_big_test;
17051
17055
  exports.fh_win_ask_buttons = fh_win_ask_buttons;
17052
17056
  exports.fh_win_ask_number = fh_win_ask_number;
17053
- exports.fh_win_ask_test = fh_win_ask_test;
17057
+ exports.fh_win_ask_text = fh_win_ask_text;
17054
17058
  exports.fh_win_combo = fh_win_combo;
17055
17059
  exports.fh_win_confirm = fh_win_confirm;
17056
17060
  exports.fh_win_list = fh_win_list;