@mseva/digit-ui-module-ptr 1.0.93 → 1.0.95
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.js +9 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +9 -4
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -18220,8 +18220,13 @@ function PTRDocument({
|
|
|
18220
18220
|
}
|
|
18221
18221
|
}), /*#__PURE__*/React.createElement("p", {
|
|
18222
18222
|
style: {
|
|
18223
|
-
marginTop: "8px"
|
|
18224
|
-
|
|
18223
|
+
marginTop: "8px",
|
|
18224
|
+
maxWidth: "150px",
|
|
18225
|
+
whiteSpace: "nowrap",
|
|
18226
|
+
overflow: "hidden",
|
|
18227
|
+
textOverflow: "ellipsis"
|
|
18228
|
+
},
|
|
18229
|
+
title: t(`PT_${document === null || document === void 0 ? void 0 : document.documentType.replace(".", "_")}`)
|
|
18225
18230
|
}, t(`PT_${document === null || document === void 0 ? void 0 : document.documentType.replace(".", "_")}`)));
|
|
18226
18231
|
})))));
|
|
18227
18232
|
}
|
|
@@ -19384,7 +19389,7 @@ const PTRApplicationDetails = () => {
|
|
|
19384
19389
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
19385
19390
|
className: "border-none",
|
|
19386
19391
|
label: t("PTR_VACCINATED_DATE"),
|
|
19387
|
-
text:
|
|
19392
|
+
text: pet_details !== null && pet_details !== void 0 && (_pet_details$petDetai5 = pet_details.petDetails) !== null && _pet_details$petDetai5 !== void 0 && _pet_details$petDetai5.lastVaccineDate ? new Date(Number(pet_details.petDetails.lastVaccineDate)).toLocaleDateString("en-GB") : t("CS_NA")
|
|
19388
19393
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
19389
19394
|
className: "border-none",
|
|
19390
19395
|
label: t("PTR_VACCINATION_NUMBER"),
|
|
@@ -21462,7 +21467,7 @@ const ApplicationDetails = () => {
|
|
|
21462
21467
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
21463
21468
|
className: "border-none",
|
|
21464
21469
|
label: t("PTR_VACCINATED_DATE"),
|
|
21465
|
-
text:
|
|
21470
|
+
text: pet_details !== null && pet_details !== void 0 && (_pet_details$petDetai5 = pet_details.petDetails) !== null && _pet_details$petDetai5 !== void 0 && _pet_details$petDetai5.lastVaccineDate ? new Date(Number(pet_details.petDetails.lastVaccineDate)).toLocaleDateString("en-GB") : t("CS_NA")
|
|
21466
21471
|
}), /*#__PURE__*/React.createElement(Row, {
|
|
21467
21472
|
className: "border-none",
|
|
21468
21473
|
label: t("PTR_VACCINATION_NUMBER"),
|