@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
|
@@ -7017,43 +7017,42 @@
|
|
|
7017
7017
|
* @return {?}
|
|
7018
7018
|
*/
|
|
7019
7019
|
function () {
|
|
7020
|
-
|
|
7021
|
-
|
|
7020
|
+
this.export_excel();
|
|
7021
|
+
/*
|
|
7022
7022
|
var params = {
|
|
7023
|
-
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
7038
|
-
|
|
7039
|
-
|
|
7040
|
-
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
|
|
7045
|
-
|
|
7046
|
-
|
|
7047
|
-
|
|
7048
|
-
|
|
7049
|
-
|
|
7050
|
-
|
|
7051
|
-
|
|
7052
|
-
|
|
7053
|
-
|
|
7054
|
-
|
|
7055
|
-
|
|
7056
|
-
this.gridOptions.api.exportDataAsExcel(params);
|
|
7023
|
+
skipHeader: false,
|
|
7024
|
+
columnGroups: false,
|
|
7025
|
+
skipFooters: true,
|
|
7026
|
+
skipGroups: true,
|
|
7027
|
+
skipPinnedTop: true,
|
|
7028
|
+
skipPinnedBottom: true,
|
|
7029
|
+
allColumns: true,
|
|
7030
|
+
onlySelected: false,
|
|
7031
|
+
suppressQuotes: false,
|
|
7032
|
+
processCellCallback: (params) => {
|
|
7033
|
+
if (params.value) {
|
|
7034
|
+
// console.log(params.value);
|
|
7035
|
+
if (params.value == null) return '';
|
|
7036
|
+
if (typeof params.value.getMonth === 'function') {
|
|
7037
|
+
|
|
7038
|
+
return this.uti_s.pad(params.value.getDate(), 2) + '/' + this.uti_s.pad(params.value.getMonth() + 1, 2) + '/' + params.value.getFullYear();
|
|
7039
|
+
} else if (params.value.length == 24 && params.value.indexOf(':00.000Z') > -1) {
|
|
7040
|
+
// console.log( new Date(params.value));
|
|
7041
|
+
let arrdt: Date = new Date(params.value);
|
|
7042
|
+
|
|
7043
|
+
// let arrdt2=arrdt[1].split(':');
|
|
7044
|
+
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);
|
|
7045
|
+
|
|
7046
|
+
|
|
7047
|
+
}
|
|
7048
|
+
else
|
|
7049
|
+
return params.value;
|
|
7050
|
+
}
|
|
7051
|
+
|
|
7052
|
+
}
|
|
7053
|
+
}
|
|
7054
|
+
|
|
7055
|
+
this.gridOptions.api.exportDataAsExcel(params);*/
|
|
7057
7056
|
};
|
|
7058
7057
|
/**
|
|
7059
7058
|
* @param {?} n
|
|
@@ -7359,7 +7358,7 @@
|
|
|
7359
7358
|
if (data.msg == "N")
|
|
7360
7359
|
_this._toast.error(data.result_msg);
|
|
7361
7360
|
else {
|
|
7362
|
-
window.open(_this.m_appService.COMPANY_SITE_ROOT + "/
|
|
7361
|
+
window.open(_this.m_appService.COMPANY_SITE_ROOT + "/grid_reports/" +
|
|
7363
7362
|
_this.uiid_stampa + "_" + _this.m_appService.user +
|
|
7364
7363
|
".xlsx");
|
|
7365
7364
|
}
|