primary_care_admin_binder 0.1.106 → 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 +9 -3
- 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
|
});
|
|
@@ -26972,6 +26974,8 @@ var generateJson$8 = {
|
|
|
26972
26974
|
state: val === null || val === void 0 ? void 0 : (_val$state = val.state) === null || _val$state === void 0 ? void 0 : _val$state.value,
|
|
26973
26975
|
postalCode: val === null || val === void 0 ? void 0 : (_val$pincode = val.pincode) === null || _val$pincode === void 0 ? void 0 : _val$pincode.value,
|
|
26974
26976
|
country: val === null || val === void 0 ? void 0 : (_val$country = val.country) === null || _val$country === void 0 ? void 0 : _val$country.value,
|
|
26977
|
+
longitude: parseFloat(val === null || val === void 0 ? void 0 : val.longitude),
|
|
26978
|
+
latitude: parseFloat(val === null || val === void 0 ? void 0 : val.latitude),
|
|
26975
26979
|
Type: val === null || val === void 0 ? void 0 : (_val$type = val.type) === null || _val$type === void 0 ? void 0 : _val$type.value,
|
|
26976
26980
|
id: 0
|
|
26977
26981
|
};
|
|
@@ -27171,7 +27175,9 @@ var generateReadJson$2 = {
|
|
|
27171
27175
|
pincode: {
|
|
27172
27176
|
title: v === null || v === void 0 ? void 0 : (_v$postalCode = v.postalCode) === null || _v$postalCode === void 0 ? void 0 : _v$postalCode.geogLevelName,
|
|
27173
27177
|
value: v === null || v === void 0 ? void 0 : (_v$postalCode2 = v.postalCode) === null || _v$postalCode2 === void 0 ? void 0 : _v$postalCode2._id
|
|
27174
|
-
}
|
|
27178
|
+
},
|
|
27179
|
+
latitude: v === null || v === void 0 ? void 0 : v.latitude,
|
|
27180
|
+
longitude: v === null || v === void 0 ? void 0 : v.longitude
|
|
27175
27181
|
};
|
|
27176
27182
|
});
|
|
27177
27183
|
var ContactArr = data === null || data === void 0 ? void 0 : (_data$telecom = data.telecom) === null || _data$telecom === void 0 ? void 0 : _data$telecom.map(function (v, i) {
|