@fluxhub/fluxhub-lib 1.0.332 → 1.0.334
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 +36 -37
- 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/docs/js/search/search_index.js +1 -1
- package/docs/miscellaneous/variables.html +2 -2
- package/esm2015/lib/controls/fhgrid.js +37 -37
- package/esm5/lib/controls/fhgrid.js +37 -38
- package/fesm2015/fluxhub-fluxhub-lib.js +36 -36
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fesm5/fluxhub-fluxhub-lib.js +36 -37
- package/fesm5/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6641,42 +6641,42 @@ class FHGridComponent {
|
|
|
6641
6641
|
* @return {?}
|
|
6642
6642
|
*/
|
|
6643
6643
|
onBtExport() {
|
|
6644
|
-
|
|
6644
|
+
this.export_excel();
|
|
6645
|
+
/*
|
|
6645
6646
|
var params = {
|
|
6646
|
-
|
|
6647
|
-
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6654
|
-
|
|
6655
|
-
|
|
6656
|
-
|
|
6657
|
-
|
|
6658
|
-
|
|
6659
|
-
|
|
6660
|
-
|
|
6661
|
-
|
|
6662
|
-
|
|
6663
|
-
|
|
6664
|
-
|
|
6665
|
-
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
6672
|
-
|
|
6673
|
-
|
|
6674
|
-
|
|
6675
|
-
|
|
6676
|
-
|
|
6677
|
-
|
|
6678
|
-
|
|
6679
|
-
this.gridOptions.api.exportDataAsExcel(params);
|
|
6647
|
+
skipHeader: false,
|
|
6648
|
+
columnGroups: false,
|
|
6649
|
+
skipFooters: true,
|
|
6650
|
+
skipGroups: true,
|
|
6651
|
+
skipPinnedTop: true,
|
|
6652
|
+
skipPinnedBottom: true,
|
|
6653
|
+
allColumns: true,
|
|
6654
|
+
onlySelected: false,
|
|
6655
|
+
suppressQuotes: false,
|
|
6656
|
+
processCellCallback: (params) => {
|
|
6657
|
+
if (params.value) {
|
|
6658
|
+
// console.log(params.value);
|
|
6659
|
+
if (params.value == null) return '';
|
|
6660
|
+
if (typeof params.value.getMonth === 'function') {
|
|
6661
|
+
|
|
6662
|
+
return this.uti_s.pad(params.value.getDate(), 2) + '/' + this.uti_s.pad(params.value.getMonth() + 1, 2) + '/' + params.value.getFullYear();
|
|
6663
|
+
} else if (params.value.length == 24 && params.value.indexOf(':00.000Z') > -1) {
|
|
6664
|
+
// console.log( new Date(params.value));
|
|
6665
|
+
let arrdt: Date = new Date(params.value);
|
|
6666
|
+
|
|
6667
|
+
// let arrdt2=arrdt[1].split(':');
|
|
6668
|
+
return this.uti_s.pad(arrdt.getDate(), 2) + '/' + this.uti_s.pad(arrdt.getMonth() + 1, 2) + '/' + arrdt.getFullYear() + ' ' + this.uti_s.pad(arrdt.getHours(), 2) + ':' + this.uti_s.pad(arrdt.getMinutes(), 2);
|
|
6669
|
+
|
|
6670
|
+
|
|
6671
|
+
}
|
|
6672
|
+
else
|
|
6673
|
+
return params.value;
|
|
6674
|
+
}
|
|
6675
|
+
|
|
6676
|
+
}
|
|
6677
|
+
}
|
|
6678
|
+
|
|
6679
|
+
this.gridOptions.api.exportDataAsExcel(params);*/
|
|
6680
6680
|
}
|
|
6681
6681
|
/**
|
|
6682
6682
|
* @param {?} n
|
|
@@ -6928,7 +6928,7 @@ class FHGridComponent {
|
|
|
6928
6928
|
if (data.msg == "N")
|
|
6929
6929
|
this._toast.error(data.result_msg);
|
|
6930
6930
|
else {
|
|
6931
|
-
window.open(this.m_appService.COMPANY_SITE_ROOT + "/
|
|
6931
|
+
window.open(this.m_appService.COMPANY_SITE_ROOT + "/grid_reports/" +
|
|
6932
6932
|
this.uiid_stampa + "_" + this.m_appService.user +
|
|
6933
6933
|
".xlsx");
|
|
6934
6934
|
}
|