@fluxhub/fluxhub-lib 1.0.424 → 1.0.425

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.
@@ -546,7 +546,6 @@ var UtilityService = /** @class */ (function () {
546
546
  * @return {?}
547
547
  */
548
548
  function (obj_value, combo_value) {
549
- console.log('check_value_combo(obj_value,combo_value) ', obj_value, ' ', combo_value);
550
549
  if (combo_value != null)
551
550
  if (combo_value != '-1')
552
551
  return combo_value;
@@ -834,30 +833,17 @@ var UtilityService = /** @class */ (function () {
834
833
  // getMonth() is zero-based
835
834
  /** @type {?} */
836
835
  var dd = dt.getDate();
837
- if (this.app_s.SQL_SERVER_LANG == 'it')
838
- return [
839
- (dd > 9
840
- ? ''
841
- : '0') + dd,
842
- '-',
843
- (mm > 9
844
- ? ''
845
- : '0') + mm,
846
- '-',
847
- dt.getFullYear()
848
- ].join('');
849
- if (this.app_s.SQL_SERVER_LANG == 'uk')
850
- return [
851
- dt.getFullYear(),
852
- '-',
853
- (mm > 9
854
- ? ''
855
- : '0') + mm,
856
- '-',
857
- (dd > 9
858
- ? ''
859
- : '0') + dd
860
- ].join('');
836
+ return 'CONVERT(DATETIME,\'' + [
837
+ dt.getFullYear(),
838
+ '-',
839
+ (mm > 9
840
+ ? ''
841
+ : '0') + mm,
842
+ '-',
843
+ (dd > 9
844
+ ? ''
845
+ : '0') + dd
846
+ ].join('') + '\',127)';
861
847
  return "Parametro SQL_SERVER_LANG non corretto";
862
848
  };
863
849
  /**
@@ -2775,11 +2761,9 @@ var FHListComponent = /** @class */ (function () {
2775
2761
  return;
2776
2762
  /** @type {?} */
2777
2763
  var arr_val = desc_val.split(',');
2778
- console.log("arr_val ", arr_val);
2779
2764
  for (var j = 0; j < this.myData.length; j++)
2780
2765
  for (var j1 = 0; j1 < arr_val.length; j1++) {
2781
2766
  if (this.myData[j].descrizione_valore == arr_val[j1]) {
2782
- console.log('this.myData[j].checked ', this.myData[j].checked);
2783
2767
  this.myData[j].checked = true;
2784
2768
  }
2785
2769
  }
@@ -2832,7 +2816,6 @@ var FHListComponent = /** @class */ (function () {
2832
2816
  var arr_val = desc_val.split(',');
2833
2817
  for (var j = 0; j < this.myData.length; j++)
2834
2818
  for (var j1 = 0; j1 < arr_val.length; j1++) {
2835
- console.log(this.myData[j].valore + ' ' + arr_val[j1]);
2836
2819
  if (this.myData[j].valore == arr_val[j1]) {
2837
2820
  this.myData[j].checked = true;
2838
2821
  //console.log("selval: "+this.selval);
@@ -3482,7 +3465,6 @@ var AuthenticationService = /** @class */ (function () {
3482
3465
  function (username, password, displayError) {
3483
3466
  var _this = this;
3484
3467
  if (displayError === void 0) { displayError = true; }
3485
- console.log(' this.app_s ', this.app_s);
3486
3468
  this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
3487
3469
  /** @type {?} */
3488
3470
  var post_v = JSON.stringify({ username: username, password: password });
@@ -6446,7 +6428,6 @@ var OfficeAutomatorService = /** @class */ (function () {
6446
6428
  if (left.ord > right.ord)
6447
6429
  return 1;
6448
6430
  }));
6449
- console.log('commands ', commands);
6450
6431
  p.values = [uiid, JSON.stringify(commands)];
6451
6432
  return this.dataService.doQuery(p).pipe(flatMap((/**
6452
6433
  * @param {?} data
@@ -6510,7 +6491,6 @@ var OfficeAutomatorService = /** @class */ (function () {
6510
6491
  /** @type {?} */
6511
6492
  var chunkInfo = data.result_data;
6512
6493
  if (chunkInfo.length == 1) {
6513
- console.log('COMPLETE!');
6514
6494
  subscriber.next({ message: chunkInfo[0].result_message, result: chunkInfo[0].result });
6515
6495
  subscriber.complete();
6516
6496
  }
@@ -6524,7 +6504,6 @@ var OfficeAutomatorService = /** @class */ (function () {
6524
6504
  }), 3000); // 3 sec default check interval
6525
6505
  }
6526
6506
  else {
6527
- console.log('Timeout');
6528
6507
  subscriber.error('Timeout');
6529
6508
  self.toastr.error('Timeout');
6530
6509
  }
@@ -6668,7 +6647,6 @@ var FHGridComponent = /** @class */ (function () {
6668
6647
  }
6669
6648
  p.system_dest = _this.system_dest;
6670
6649
  p.field = _this.fields;
6671
- console.log('filterModel ', params.filterModel);
6672
6650
  if (_this.filters != null)
6673
6651
  p.filter = _this.filters;
6674
6652
  if (_this.fix_flt != "") {
@@ -6702,12 +6680,9 @@ var FHGridComponent = /** @class */ (function () {
6702
6680
  p.filter += " and ";
6703
6681
  p.filter += " (";
6704
6682
  p.filter += _this.calcola_filtro(params.filterModel[key].condition1, '', key, false);
6705
- console.log('After chiamata1: ', p.filter);
6706
6683
  p.filter += ' ' + obj_filtro_test.operator + ' ';
6707
6684
  p.filter += _this.calcola_filtro(params.filterModel[key].condition2, '', key, false);
6708
- console.log('After chiamata2: ', p.filter);
6709
6685
  p.filter += ")";
6710
- console.log('After chiamata2: ', p.filter);
6711
6686
  }
6712
6687
  // }
6713
6688
  }
@@ -7189,7 +7164,6 @@ var FHGridComponent = /** @class */ (function () {
7189
7164
  */
7190
7165
  function (obj_filtro, filter_v, key, add_end) {
7191
7166
  if (add_end === void 0) { add_end = true; }
7192
- console.log('calcola_filtro ', obj_filtro, filter_v, key);
7193
7167
  /** @type {?} */
7194
7168
  var b_filter = false;
7195
7169
  if (obj_filtro.type != null) {
@@ -9425,8 +9399,6 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
9425
9399
  * @return {?}
9426
9400
  */
9427
9401
  function (ob) {
9428
- console.log('ob ', ob);
9429
- console.log('date_sel ', this.date_sel);
9430
9402
  /* if(ob.key=='-')
9431
9403
  {
9432
9404
  ob.preventDefault();
@@ -9452,13 +9424,10 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
9452
9424
  * @return {?}
9453
9425
  */
9454
9426
  function (event) {
9455
- console.log('event ', event);
9456
9427
  /** @type {?} */
9457
9428
  var s = event.target.value;
9458
- console.log('s -> ', s);
9459
9429
  /** @type {?} */
9460
9430
  var arr = s.split('-').join('/').split('/');
9461
- console.log('arr ', arr);
9462
9431
  if (arr.length == 3) {
9463
9432
  if (arr[1].length == 1)
9464
9433
  arr[1] = "0" + arr[1];
@@ -9472,7 +9441,6 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
9472
9441
  if (yy < 100)
9473
9442
  yy += 2000;
9474
9443
  this.date_sel = dtp.createDate(yy, parseInt(arr[1]) - 1, parseInt(arr[0]));
9475
- console.log('dare s', this.date_sel);
9476
9444
  }
9477
9445
  else
9478
9446
  console.log('data non valida! ', arr);
@@ -9639,7 +9607,6 @@ var FHDatePickerComponent = /** @class */ (function (_super) {
9639
9607
  * @return {?}
9640
9608
  */
9641
9609
  function (d) {
9642
- console.log('d ', d);
9643
9610
  this.dateAdapter.setLocale('it-IT');
9644
9611
  if (d == null) {
9645
9612
  this.date_sel = null;
@@ -10392,7 +10359,6 @@ var DtPick = /** @class */ (function () {
10392
10359
  * @return {?}
10393
10360
  */
10394
10361
  function () {
10395
- console.log('set focus');
10396
10362
  this.dtc.setFocusToInputBox();
10397
10363
  };
10398
10364
  /**
@@ -10403,13 +10369,10 @@ var DtPick = /** @class */ (function () {
10403
10369
  */
10404
10370
  function () {
10405
10371
  var _this = this;
10406
- console.log('dt_ch!!');
10407
- console.log(this.dtc);
10408
10372
  setTimeout((/**
10409
10373
  * @return {?}
10410
10374
  */
10411
10375
  function () {
10412
- console.log(_this.date_sel);
10413
10376
  _this.change.emit();
10414
10377
  }), 50);
10415
10378
  };
@@ -11169,7 +11132,6 @@ var FHCurrencyFieldComponent = /** @class */ (function () {
11169
11132
  * @return {?}
11170
11133
  */
11171
11134
  function (event) {
11172
- console.log('event.code ', event.code);
11173
11135
  if (event.code == "Enter") {
11174
11136
  this.enter_pressed.emit();
11175
11137
  }
@@ -12788,8 +12750,6 @@ var win_uploads = /** @class */ (function () {
12788
12750
  */
12789
12751
  function (fileItem) {
12790
12752
  var _this = this;
12791
- console.log('this.arr_g ', this.arr_g);
12792
- console.log('fileItem ', fileItem);
12793
12753
  for (var i = 0; i < this.arr_g.length; i++) {
12794
12754
  if (this.arr_g[i].Filename.toLowerCase() == fileItem.file.name.toLowerCase()) {
12795
12755
  this.toastr.error('File già presente (cancellarlo per aggiornarlo)');
@@ -12875,7 +12835,6 @@ var win_uploads = /** @class */ (function () {
12875
12835
  * @return {?}
12876
12836
  */
12877
12837
  function (fileItem) {
12878
- console.log('onAfterAddingFile');
12879
12838
  _this.ch(fileItem);
12880
12839
  });
12881
12840
  this.init(this.App, this.K);
@@ -14442,7 +14401,6 @@ var FHGridJSONComponent = /** @class */ (function () {
14442
14401
  result = new Array('autoSizeAll', 'expandAll', 'contractAll', 'copy', 'copyWithHeaders', 'paste',
14443
14402
  // 'resetColumns',
14444
14403
  'toolPanel');
14445
- console.log(result);
14446
14404
  return result;
14447
14405
  };
14448
14406
  /**