@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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +11 -53
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhcurrencyfield.js +1 -2
- package/esm2015/lib/controls/fhdatepicker.js +1 -8
- package/esm2015/lib/controls/fhgrid.js +1 -6
- package/esm2015/lib/controls/fhgrid_json.js +1 -2
- package/esm2015/lib/controls/fhlist.js +1 -4
- package/esm2015/lib/controls/grid_editors/dt_pick.js +1 -5
- package/esm2015/lib/services/login.service.js +1 -2
- package/esm2015/lib/services/office_automator.service.js +1 -4
- package/esm2015/lib/services/utility.service.js +12 -26
- package/esm2015/lib/wkf_engine/win_uploads.js +1 -4
- package/esm5/lib/controls/fhcurrencyfield.js +1 -2
- package/esm5/lib/controls/fhdatepicker.js +1 -8
- package/esm5/lib/controls/fhgrid.js +1 -6
- package/esm5/lib/controls/fhgrid_json.js +1 -2
- package/esm5/lib/controls/fhlist.js +1 -4
- package/esm5/lib/controls/grid_editors/dt_pick.js +1 -5
- package/esm5/lib/services/login.service.js +1 -2
- package/esm5/lib/services/office_automator.service.js +1 -4
- package/esm5/lib/services/utility.service.js +12 -26
- package/esm5/lib/wkf_engine/win_uploads.js +1 -4
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -53
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +11 -53
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/package.json +1 -1
|
@@ -568,7 +568,6 @@
|
|
|
568
568
|
* @return {?}
|
|
569
569
|
*/
|
|
570
570
|
function (obj_value, combo_value) {
|
|
571
|
-
console.log('check_value_combo(obj_value,combo_value) ', obj_value, ' ', combo_value);
|
|
572
571
|
if (combo_value != null)
|
|
573
572
|
if (combo_value != '-1')
|
|
574
573
|
return combo_value;
|
|
@@ -856,30 +855,17 @@
|
|
|
856
855
|
// getMonth() is zero-based
|
|
857
856
|
/** @type {?} */
|
|
858
857
|
var dd = dt.getDate();
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
'
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
'
|
|
869
|
-
|
|
870
|
-
].join('');
|
|
871
|
-
if (this.app_s.SQL_SERVER_LANG == 'uk')
|
|
872
|
-
return [
|
|
873
|
-
dt.getFullYear(),
|
|
874
|
-
'-',
|
|
875
|
-
(mm > 9
|
|
876
|
-
? ''
|
|
877
|
-
: '0') + mm,
|
|
878
|
-
'-',
|
|
879
|
-
(dd > 9
|
|
880
|
-
? ''
|
|
881
|
-
: '0') + dd
|
|
882
|
-
].join('');
|
|
858
|
+
return 'CONVERT(DATETIME,\'' + [
|
|
859
|
+
dt.getFullYear(),
|
|
860
|
+
'-',
|
|
861
|
+
(mm > 9
|
|
862
|
+
? ''
|
|
863
|
+
: '0') + mm,
|
|
864
|
+
'-',
|
|
865
|
+
(dd > 9
|
|
866
|
+
? ''
|
|
867
|
+
: '0') + dd
|
|
868
|
+
].join('') + '\',127)';
|
|
883
869
|
return "Parametro SQL_SERVER_LANG non corretto";
|
|
884
870
|
};
|
|
885
871
|
/**
|
|
@@ -2797,11 +2783,9 @@
|
|
|
2797
2783
|
return;
|
|
2798
2784
|
/** @type {?} */
|
|
2799
2785
|
var arr_val = desc_val.split(',');
|
|
2800
|
-
console.log("arr_val ", arr_val);
|
|
2801
2786
|
for (var j = 0; j < this.myData.length; j++)
|
|
2802
2787
|
for (var j1 = 0; j1 < arr_val.length; j1++) {
|
|
2803
2788
|
if (this.myData[j].descrizione_valore == arr_val[j1]) {
|
|
2804
|
-
console.log('this.myData[j].checked ', this.myData[j].checked);
|
|
2805
2789
|
this.myData[j].checked = true;
|
|
2806
2790
|
}
|
|
2807
2791
|
}
|
|
@@ -2854,7 +2838,6 @@
|
|
|
2854
2838
|
var arr_val = desc_val.split(',');
|
|
2855
2839
|
for (var j = 0; j < this.myData.length; j++)
|
|
2856
2840
|
for (var j1 = 0; j1 < arr_val.length; j1++) {
|
|
2857
|
-
console.log(this.myData[j].valore + ' ' + arr_val[j1]);
|
|
2858
2841
|
if (this.myData[j].valore == arr_val[j1]) {
|
|
2859
2842
|
this.myData[j].checked = true;
|
|
2860
2843
|
//console.log("selval: "+this.selval);
|
|
@@ -3504,7 +3487,6 @@
|
|
|
3504
3487
|
function (username, password, displayError) {
|
|
3505
3488
|
var _this = this;
|
|
3506
3489
|
if (displayError === void 0) { displayError = true; }
|
|
3507
|
-
console.log(' this.app_s ', this.app_s);
|
|
3508
3490
|
this.url = this.app_s.API_ENDPOINT + this.app_s.LOGIN_ENDPOINT;
|
|
3509
3491
|
/** @type {?} */
|
|
3510
3492
|
var post_v = JSON.stringify({ username: username, password: password });
|
|
@@ -6468,7 +6450,6 @@
|
|
|
6468
6450
|
if (left.ord > right.ord)
|
|
6469
6451
|
return 1;
|
|
6470
6452
|
}));
|
|
6471
|
-
console.log('commands ', commands);
|
|
6472
6453
|
p.values = [uiid, JSON.stringify(commands)];
|
|
6473
6454
|
return this.dataService.doQuery(p).pipe(operators.flatMap((/**
|
|
6474
6455
|
* @param {?} data
|
|
@@ -6532,7 +6513,6 @@
|
|
|
6532
6513
|
/** @type {?} */
|
|
6533
6514
|
var chunkInfo = data.result_data;
|
|
6534
6515
|
if (chunkInfo.length == 1) {
|
|
6535
|
-
console.log('COMPLETE!');
|
|
6536
6516
|
subscriber.next({ message: chunkInfo[0].result_message, result: chunkInfo[0].result });
|
|
6537
6517
|
subscriber.complete();
|
|
6538
6518
|
}
|
|
@@ -6546,7 +6526,6 @@
|
|
|
6546
6526
|
}), 3000); // 3 sec default check interval
|
|
6547
6527
|
}
|
|
6548
6528
|
else {
|
|
6549
|
-
console.log('Timeout');
|
|
6550
6529
|
subscriber.error('Timeout');
|
|
6551
6530
|
self.toastr.error('Timeout');
|
|
6552
6531
|
}
|
|
@@ -6690,7 +6669,6 @@
|
|
|
6690
6669
|
}
|
|
6691
6670
|
p.system_dest = _this.system_dest;
|
|
6692
6671
|
p.field = _this.fields;
|
|
6693
|
-
console.log('filterModel ', params.filterModel);
|
|
6694
6672
|
if (_this.filters != null)
|
|
6695
6673
|
p.filter = _this.filters;
|
|
6696
6674
|
if (_this.fix_flt != "") {
|
|
@@ -6724,12 +6702,9 @@
|
|
|
6724
6702
|
p.filter += " and ";
|
|
6725
6703
|
p.filter += " (";
|
|
6726
6704
|
p.filter += _this.calcola_filtro(params.filterModel[key].condition1, '', key, false);
|
|
6727
|
-
console.log('After chiamata1: ', p.filter);
|
|
6728
6705
|
p.filter += ' ' + obj_filtro_test.operator + ' ';
|
|
6729
6706
|
p.filter += _this.calcola_filtro(params.filterModel[key].condition2, '', key, false);
|
|
6730
|
-
console.log('After chiamata2: ', p.filter);
|
|
6731
6707
|
p.filter += ")";
|
|
6732
|
-
console.log('After chiamata2: ', p.filter);
|
|
6733
6708
|
}
|
|
6734
6709
|
// }
|
|
6735
6710
|
}
|
|
@@ -7211,7 +7186,6 @@
|
|
|
7211
7186
|
*/
|
|
7212
7187
|
function (obj_filtro, filter_v, key, add_end) {
|
|
7213
7188
|
if (add_end === void 0) { add_end = true; }
|
|
7214
|
-
console.log('calcola_filtro ', obj_filtro, filter_v, key);
|
|
7215
7189
|
/** @type {?} */
|
|
7216
7190
|
var b_filter = false;
|
|
7217
7191
|
if (obj_filtro.type != null) {
|
|
@@ -9447,8 +9421,6 @@
|
|
|
9447
9421
|
* @return {?}
|
|
9448
9422
|
*/
|
|
9449
9423
|
function (ob) {
|
|
9450
|
-
console.log('ob ', ob);
|
|
9451
|
-
console.log('date_sel ', this.date_sel);
|
|
9452
9424
|
/* if(ob.key=='-')
|
|
9453
9425
|
{
|
|
9454
9426
|
ob.preventDefault();
|
|
@@ -9474,13 +9446,10 @@
|
|
|
9474
9446
|
* @return {?}
|
|
9475
9447
|
*/
|
|
9476
9448
|
function (event) {
|
|
9477
|
-
console.log('event ', event);
|
|
9478
9449
|
/** @type {?} */
|
|
9479
9450
|
var s = event.target.value;
|
|
9480
|
-
console.log('s -> ', s);
|
|
9481
9451
|
/** @type {?} */
|
|
9482
9452
|
var arr = s.split('-').join('/').split('/');
|
|
9483
|
-
console.log('arr ', arr);
|
|
9484
9453
|
if (arr.length == 3) {
|
|
9485
9454
|
if (arr[1].length == 1)
|
|
9486
9455
|
arr[1] = "0" + arr[1];
|
|
@@ -9494,7 +9463,6 @@
|
|
|
9494
9463
|
if (yy < 100)
|
|
9495
9464
|
yy += 2000;
|
|
9496
9465
|
this.date_sel = dtp.createDate(yy, parseInt(arr[1]) - 1, parseInt(arr[0]));
|
|
9497
|
-
console.log('dare s', this.date_sel);
|
|
9498
9466
|
}
|
|
9499
9467
|
else
|
|
9500
9468
|
console.log('data non valida! ', arr);
|
|
@@ -9661,7 +9629,6 @@
|
|
|
9661
9629
|
* @return {?}
|
|
9662
9630
|
*/
|
|
9663
9631
|
function (d) {
|
|
9664
|
-
console.log('d ', d);
|
|
9665
9632
|
this.dateAdapter.setLocale('it-IT');
|
|
9666
9633
|
if (d == null) {
|
|
9667
9634
|
this.date_sel = null;
|
|
@@ -10414,7 +10381,6 @@
|
|
|
10414
10381
|
* @return {?}
|
|
10415
10382
|
*/
|
|
10416
10383
|
function () {
|
|
10417
|
-
console.log('set focus');
|
|
10418
10384
|
this.dtc.setFocusToInputBox();
|
|
10419
10385
|
};
|
|
10420
10386
|
/**
|
|
@@ -10425,13 +10391,10 @@
|
|
|
10425
10391
|
*/
|
|
10426
10392
|
function () {
|
|
10427
10393
|
var _this = this;
|
|
10428
|
-
console.log('dt_ch!!');
|
|
10429
|
-
console.log(this.dtc);
|
|
10430
10394
|
setTimeout((/**
|
|
10431
10395
|
* @return {?}
|
|
10432
10396
|
*/
|
|
10433
10397
|
function () {
|
|
10434
|
-
console.log(_this.date_sel);
|
|
10435
10398
|
_this.change.emit();
|
|
10436
10399
|
}), 50);
|
|
10437
10400
|
};
|
|
@@ -11191,7 +11154,6 @@
|
|
|
11191
11154
|
* @return {?}
|
|
11192
11155
|
*/
|
|
11193
11156
|
function (event) {
|
|
11194
|
-
console.log('event.code ', event.code);
|
|
11195
11157
|
if (event.code == "Enter") {
|
|
11196
11158
|
this.enter_pressed.emit();
|
|
11197
11159
|
}
|
|
@@ -12810,8 +12772,6 @@
|
|
|
12810
12772
|
*/
|
|
12811
12773
|
function (fileItem) {
|
|
12812
12774
|
var _this = this;
|
|
12813
|
-
console.log('this.arr_g ', this.arr_g);
|
|
12814
|
-
console.log('fileItem ', fileItem);
|
|
12815
12775
|
for (var i = 0; i < this.arr_g.length; i++) {
|
|
12816
12776
|
if (this.arr_g[i].Filename.toLowerCase() == fileItem.file.name.toLowerCase()) {
|
|
12817
12777
|
this.toastr.error('File già presente (cancellarlo per aggiornarlo)');
|
|
@@ -12897,7 +12857,6 @@
|
|
|
12897
12857
|
* @return {?}
|
|
12898
12858
|
*/
|
|
12899
12859
|
function (fileItem) {
|
|
12900
|
-
console.log('onAfterAddingFile');
|
|
12901
12860
|
_this.ch(fileItem);
|
|
12902
12861
|
});
|
|
12903
12862
|
this.init(this.App, this.K);
|
|
@@ -14464,7 +14423,6 @@
|
|
|
14464
14423
|
result = new Array('autoSizeAll', 'expandAll', 'contractAll', 'copy', 'copyWithHeaders', 'paste',
|
|
14465
14424
|
// 'resetColumns',
|
|
14466
14425
|
'toolPanel');
|
|
14467
|
-
console.log(result);
|
|
14468
14426
|
return result;
|
|
14469
14427
|
};
|
|
14470
14428
|
/**
|