@esfaenza/extensions 11.2.29 → 11.2.30
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/esfaenza-extensions.umd.js +5 -5
- package/bundles/esfaenza-extensions.umd.js.map +1 -1
- package/bundles/esfaenza-extensions.umd.min.js +1 -1
- package/bundles/esfaenza-extensions.umd.min.js.map +1 -1
- package/esm2015/lib/services/extensions.exports.service.js +6 -6
- package/fesm2015/esfaenza-extensions.js +5 -5
- package/fesm2015/esfaenza-extensions.js.map +1 -1
- package/package.json +1 -1
|
@@ -1043,14 +1043,14 @@
|
|
|
1043
1043
|
ExportService.prototype.parseAndGetHeaders = function (obj) {
|
|
1044
1044
|
var headers = [];
|
|
1045
1045
|
// Miracle incoming
|
|
1046
|
-
for (var prop in obj) {
|
|
1046
|
+
for (var prop in Object.getOwnPropertyNames(Object.getPrototypeOf(obj))) {
|
|
1047
1047
|
var toCall = void 0;
|
|
1048
|
-
if (
|
|
1048
|
+
if (prop.endsWith(listCsvHdrPrefix))
|
|
1049
1049
|
toCall = this.parseList.bind(this);
|
|
1050
|
-
else if (
|
|
1050
|
+
else if (prop.endsWith(dictionaryCsvHdrPrefix))
|
|
1051
1051
|
toCall = this.parseDictionary.bind(this);
|
|
1052
|
-
else if (
|
|
1053
|
-
if (typeof obj[prop + csvValueNavigator] !== "undefined")
|
|
1052
|
+
else if (prop.endsWith(csvVisPrefix)) {
|
|
1053
|
+
if (typeof obj[prop.replace(csvVisPrefix, '') + csvValueNavigator] !== "undefined")
|
|
1054
1054
|
toCall = this.parseObject.bind(this);
|
|
1055
1055
|
else
|
|
1056
1056
|
toCall = this.parseProperty.bind(this);
|