@fluxhub/fluxhub-lib 1.0.625 → 1.0.627

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.
@@ -6976,13 +6976,14 @@ wkfapp = /** @class */ (function () {
6976
6976
  var _this = this;
6977
6977
  if (this.app_s.user_ori != null)
6978
6978
  this.imp = 'ANN. IMP: ' + this.app_s.user_name + ' ' + this.app_s.user_surname;
6979
- if (this.app_s.getState().wkf_obj != null)
6980
- if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
6979
+ /*
6980
+ if (this.app_s.getState().wkf_obj != null)
6981
+ if (this.app_s.getState().wkf_obj.codice_app == this.m_cod_documento) {
6981
6982
  this.restore_state_wkf();
6982
6983
  this.self_ok();
6983
6984
  this.run_grid();
6984
6985
  return;
6985
- }
6986
+ }*/
6986
6987
  this.user_idp = this.app_s.user;
6987
6988
  if (this.user_idp == null) {
6988
6989
  setTimeout((/**
@@ -7069,8 +7070,6 @@ wkfapp = /** @class */ (function () {
7069
7070
  function (data) {
7070
7071
  if (data != null)
7071
7072
  if (data.result_msg == "OK") {
7072
- _this.run_grid();
7073
- _this.ok_conf_s(data.result_data);
7074
7073
  /** @type {?} */
7075
7074
  var p_5 = new QParam();
7076
7075
  p_5.sql = "SELECT_ROLES_VISORI";
@@ -7093,6 +7092,8 @@ wkfapp = /** @class */ (function () {
7093
7092
  break;
7094
7093
  }
7095
7094
  }
7095
+ _this.run_grid();
7096
+ _this.ok_conf_s(data.result_data);
7096
7097
  _this.self_ok();
7097
7098
  }
7098
7099
  }));
@@ -7439,6 +7440,7 @@ var FHGridComponent = /** @class */ (function () {
7439
7440
  this.header_h = 35;
7440
7441
  this.init_fill = true;
7441
7442
  this.no_pref = false;
7443
+ this.autosize_at_ini = true;
7442
7444
  this.label_elementi = " Elementi";
7443
7445
  this.trova_label = "TROVA";
7444
7446
  this.mantieni_impostazioni = "Mantieni Imp.";
@@ -7608,7 +7610,7 @@ var FHGridComponent = /** @class */ (function () {
7608
7610
  this.first_ref = false;
7609
7611
 
7610
7612
 
7611
- } else*/ if (localStorage.getItem(_this.grid_key + '_COLS') == null)
7613
+ } else*/ if (localStorage.getItem(_this.grid_key + '_COLS') == null && _this.autosize_at_ini)
7612
7614
  setTimeout((/**
7613
7615
  * @return {?}
7614
7616
  */
@@ -9373,6 +9375,7 @@ var FHGridComponent = /** @class */ (function () {
9373
9375
  header_h: [{ type: Input }],
9374
9376
  init_fill: [{ type: Input }],
9375
9377
  no_pref: [{ type: Input }],
9378
+ autosize_at_ini: [{ type: Input }],
9376
9379
  label_elementi: [{ type: Input }],
9377
9380
  trova_label: [{ type: Input }],
9378
9381
  mantieni_impostazioni: [{ type: Input }],