@fluxhub/fluxhub-lib 11.0.83 → 11.0.85

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.
@@ -64,6 +64,7 @@
64
64
  this.user_isadmin = null;
65
65
  this.user_idp = null;
66
66
  this.user_lang = null;
67
+ this.user_ufficio = null;
67
68
  this.token = null;
68
69
  this.dev_mode = null;
69
70
  this.ambiente_forzato = "";
@@ -5030,6 +5031,7 @@
5030
5031
  this.username = '';
5031
5032
  this.b_edit_loaded = false;
5032
5033
  this.tipo = '';
5034
+ this.direct_type = false;
5033
5035
  this.b_ini = false;
5034
5036
  this.dialogRef = null;
5035
5037
  this.last_result = {};
@@ -5231,8 +5233,8 @@
5231
5233
  form.append('single', _this.single);
5232
5234
  form.append('username', _this.app_s.user);
5233
5235
  form.append('ver', _this.ver);
5234
- console.log('this.app_s.user ', _this.app_s.user);
5235
- if (_this.multi_list && _this.show_upload)
5236
+ // console.log('this.app_s.user ', this.app_s.user);
5237
+ if ((_this.multi_list && _this.show_upload) || _this.direct_type)
5236
5238
  if (_this.cmb_tipo)
5237
5239
  form.append('tipo', (_this.cmb_tipo.getDescri() || '').split('-1').join(''));
5238
5240
  else
@@ -5254,17 +5256,19 @@
5254
5256
  }
5255
5257
  this.uploader.uploadAll();
5256
5258
  };
5257
- FHUploadComponent.prototype.init = function (p_app, p_k, p_label, p_tipo, programma_da_eseguire, allow_delete, all_g, show_upload, current_v) {
5259
+ FHUploadComponent.prototype.init = function (p_app, p_k, p_label, p_tipo, programma_da_eseguire, allow_delete, all_g, show_upload, current_v, direct_type) {
5258
5260
  if (p_tipo === void 0) { p_tipo = ''; }
5259
5261
  if (programma_da_eseguire === void 0) { programma_da_eseguire = ''; }
5260
5262
  if (allow_delete === void 0) { allow_delete = false; }
5261
5263
  if (all_g === void 0) { all_g = false; }
5262
5264
  if (show_upload === void 0) { show_upload = true; }
5263
5265
  if (current_v === void 0) { current_v = -1; }
5266
+ if (direct_type === void 0) { direct_type = false; }
5264
5267
  this.App = p_app;
5265
5268
  this.K = p_k;
5266
5269
  this.label = p_label;
5267
5270
  this.tipo = p_tipo;
5271
+ this.direct_type = direct_type;
5268
5272
  this.ver = current_v;
5269
5273
  this.b_ini = true;
5270
5274
  this.b_edit_loaded = false;