@fluxhub/fluxhub-lib 11.0.84 → 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.
@@ -5031,6 +5031,7 @@
5031
5031
  this.username = '';
5032
5032
  this.b_edit_loaded = false;
5033
5033
  this.tipo = '';
5034
+ this.direct_type = false;
5034
5035
  this.b_ini = false;
5035
5036
  this.dialogRef = null;
5036
5037
  this.last_result = {};
@@ -5232,8 +5233,8 @@
5232
5233
  form.append('single', _this.single);
5233
5234
  form.append('username', _this.app_s.user);
5234
5235
  form.append('ver', _this.ver);
5235
- console.log('this.app_s.user ', _this.app_s.user);
5236
- 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)
5237
5238
  if (_this.cmb_tipo)
5238
5239
  form.append('tipo', (_this.cmb_tipo.getDescri() || '').split('-1').join(''));
5239
5240
  else
@@ -5255,17 +5256,19 @@
5255
5256
  }
5256
5257
  this.uploader.uploadAll();
5257
5258
  };
5258
- 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) {
5259
5260
  if (p_tipo === void 0) { p_tipo = ''; }
5260
5261
  if (programma_da_eseguire === void 0) { programma_da_eseguire = ''; }
5261
5262
  if (allow_delete === void 0) { allow_delete = false; }
5262
5263
  if (all_g === void 0) { all_g = false; }
5263
5264
  if (show_upload === void 0) { show_upload = true; }
5264
5265
  if (current_v === void 0) { current_v = -1; }
5266
+ if (direct_type === void 0) { direct_type = false; }
5265
5267
  this.App = p_app;
5266
5268
  this.K = p_k;
5267
5269
  this.label = p_label;
5268
5270
  this.tipo = p_tipo;
5271
+ this.direct_type = direct_type;
5269
5272
  this.ver = current_v;
5270
5273
  this.b_ini = true;
5271
5274
  this.b_edit_loaded = false;