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