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