primary_care_admin_binder 0.1.107 → 0.1.108
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/dist/index.cjs.js +4 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -9042,7 +9042,7 @@ var generateReadJSON$5 = function generateReadJSON(data, masters, countryData, s
|
|
|
9042
9042
|
var addresslist = [];
|
|
9043
9043
|
if (data !== null && data !== void 0 && data.address && (data === null || data === void 0 ? void 0 : (_data$address = data.address) === null || _data$address === void 0 ? void 0 : _data$address.length) > 0) {
|
|
9044
9044
|
data.address.map(function (val) {
|
|
9045
|
-
var _val$use5, _val$use6, _val$text2, _val$line2, _val$city, _val$city2, _val$district, _val$district2, _val$state, _val$state2, _val$postalcode, _val$postalcode2, _val$country, _val$country2, _val$type, _val$type2;
|
|
9045
|
+
var _val$use5, _val$use6, _val$text2, _val$line2, _val$city, _val$city2, _val$district, _val$district2, _val$state, _val$state2, _val$postalcode, _val$postalcode2, _val$country, _val$country2, _val$type, _val$type2, _val$latitude, _val$longitude;
|
|
9046
9046
|
var addresslistData = {
|
|
9047
9047
|
use: {
|
|
9048
9048
|
label: val === null || val === void 0 ? void 0 : (_val$use5 = val.use) === null || _val$use5 === void 0 ? void 0 : _val$use5.display,
|
|
@@ -9078,7 +9078,9 @@ var generateReadJSON$5 = function generateReadJSON(data, masters, countryData, s
|
|
|
9078
9078
|
type: {
|
|
9079
9079
|
label: val === null || val === void 0 ? void 0 : (_val$type = val.type) === null || _val$type === void 0 ? void 0 : _val$type.display,
|
|
9080
9080
|
_id: val === null || val === void 0 ? void 0 : (_val$type2 = val.type) === null || _val$type2 === void 0 ? void 0 : _val$type2._id
|
|
9081
|
-
}
|
|
9081
|
+
},
|
|
9082
|
+
latitude: (_val$latitude = val === null || val === void 0 ? void 0 : val.latitude) !== null && _val$latitude !== void 0 ? _val$latitude : "",
|
|
9083
|
+
longitude: (_val$longitude = val === null || val === void 0 ? void 0 : val.longitude) !== null && _val$longitude !== void 0 ? _val$longitude : ""
|
|
9082
9084
|
};
|
|
9083
9085
|
addresslist.push(addresslistData);
|
|
9084
9086
|
});
|