@esfaenza/extensions 11.2.31 → 11.2.33
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 +12 -4
- 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 +13 -5
- package/fesm2015/esfaenza-extensions.js +12 -4
- package/fesm2015/esfaenza-extensions.js.map +1 -1
- package/package.json +1 -1
|
@@ -1045,20 +1045,28 @@
|
|
|
1045
1045
|
// Miracle incoming
|
|
1046
1046
|
var propsDictionary = Object.getOwnPropertyNames(Object.getPrototypeOf(obj));
|
|
1047
1047
|
for (var propId in propsDictionary) {
|
|
1048
|
+
if (!propsDictionary.hasOwnProperty(propId))
|
|
1049
|
+
continue;
|
|
1048
1050
|
var prop = propsDictionary[propId];
|
|
1051
|
+
var propBase = "";
|
|
1049
1052
|
var toCall = void 0;
|
|
1050
|
-
if (prop.endsWith(listCsvHdrPrefix))
|
|
1053
|
+
if (prop.endsWith(listCsvHdrPrefix)) {
|
|
1054
|
+
propBase = prop.replace(listCsvHdrPrefix, '');
|
|
1051
1055
|
toCall = this.parseList.bind(this);
|
|
1052
|
-
|
|
1056
|
+
}
|
|
1057
|
+
else if (prop.endsWith(dictionaryCsvHdrPrefix)) {
|
|
1053
1058
|
toCall = this.parseDictionary.bind(this);
|
|
1059
|
+
propBase = prop.replace(dictionaryCsvHdrPrefix, '');
|
|
1060
|
+
}
|
|
1054
1061
|
else if (prop.endsWith(csvVisPrefix)) {
|
|
1055
|
-
|
|
1062
|
+
propBase = prop.replace(csvVisPrefix, '');
|
|
1063
|
+
if (typeof obj[propBase + csvValueNavigator] !== "undefined")
|
|
1056
1064
|
toCall = this.parseObject.bind(this);
|
|
1057
1065
|
else
|
|
1058
1066
|
toCall = this.parseProperty.bind(this);
|
|
1059
1067
|
}
|
|
1060
1068
|
if (toCall)
|
|
1061
|
-
toCall(obj,
|
|
1069
|
+
toCall(obj, propBase, headers);
|
|
1062
1070
|
}
|
|
1063
1071
|
return headers;
|
|
1064
1072
|
};
|