@fluxhub/fluxhub-lib 1.0.362 → 1.0.364

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.
@@ -3206,8 +3206,6 @@ var FHUploadComponent = /** @class */ (function () {
3206
3206
  this.toastr.error(this.inserire_descrizione);
3207
3207
  return;
3208
3208
  }
3209
- console.log('this.lista_allegati ', this.lista_allegati);
3210
- console.log('fileItem ', fileItem);
3211
3209
  for (var i = 0; i < this.lista_allegati.length; i++) {
3212
3210
  if (this.lista_allegati[i].Filename.toLowerCase() == fileItem.file.name.toLowerCase()) {
3213
3211
  this.toastr.error('File già presente (cancellarlo per aggiornarlo)');
@@ -3306,11 +3304,6 @@ var FHUploadComponent = /** @class */ (function () {
3306
3304
  _this.b_edit_loaded = true;
3307
3305
  }
3308
3306
  }
3309
- }), (/**
3310
- * @param {?} err
3311
- * @return {?}
3312
- */
3313
- function (err) {
3314
3307
  }));
3315
3308
  };
3316
3309
  FHUploadComponent.decorators = [
@@ -3403,6 +3396,7 @@ var AuthenticationService = /** @class */ (function () {
3403
3396
  function (username, password, displayError) {
3404
3397
  var _this = this;
3405
3398
  if (displayError === void 0) { displayError = true; }
3399
+ console.log(' this.app_s ', this.app_s);
3406
3400
  this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
3407
3401
  /** @type {?} */
3408
3402
  var post_v = JSON.stringify({ username: username, password: password });
@@ -9293,10 +9287,13 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
9293
9287
  if (arr[0].length == 1)
9294
9288
  arr[0] = "0" + arr[0];
9295
9289
  if (parseInt(arr[2]) < 3000 && parseInt(arr[0]) > 0 && parseInt(arr[0]) <= 31 && parseInt(arr[1]) > 0 && parseInt(arr[1]) <= 12) {
9296
- console.log('arr ', arr);
9297
9290
  /** @type {?} */
9298
9291
  var dtp = new MomentDateAdapter();
9299
- this.date_sel = dtp.createDate(parseInt(arr[2]), parseInt(arr[1]) - 1, parseInt(arr[0]));
9292
+ /** @type {?} */
9293
+ var yy = parseInt(arr[2]);
9294
+ if (yy < 100)
9295
+ yy += 2000;
9296
+ this.date_sel = dtp.createDate(yy, parseInt(arr[1]) - 1, parseInt(arr[0]));
9300
9297
  console.log('dare s', this.date_sel);
9301
9298
  }
9302
9299
  else