@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.js
CHANGED
|
@@ -18348,8 +18348,13 @@ function PTRDocument(_ref2) {
|
|
|
18348
18348
|
}
|
|
18349
18349
|
}), /*#__PURE__*/React__default.createElement("p", {
|
|
18350
18350
|
style: {
|
|
18351
|
-
marginTop: "8px"
|
|
18352
|
-
|
|
18351
|
+
marginTop: "8px",
|
|
18352
|
+
maxWidth: "150px",
|
|
18353
|
+
whiteSpace: "nowrap",
|
|
18354
|
+
overflow: "hidden",
|
|
18355
|
+
textOverflow: "ellipsis"
|
|
18356
|
+
},
|
|
18357
|
+
title: t("PT_" + (document === null || document === void 0 ? void 0 : document.documentType.replace(".", "_")))
|
|
18353
18358
|
}, t("PT_" + (document === null || document === void 0 ? void 0 : document.documentType.replace(".", "_")))));
|
|
18354
18359
|
})))));
|
|
18355
18360
|
}
|
|
@@ -19161,7 +19166,7 @@ const PTRApplicationDetails = () => {
|
|
|
19161
19166
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
19162
19167
|
className: "border-none",
|
|
19163
19168
|
label: t("PTR_VACCINATED_DATE"),
|
|
19164
|
-
text:
|
|
19169
|
+
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")
|
|
19165
19170
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
19166
19171
|
className: "border-none",
|
|
19167
19172
|
label: t("PTR_VACCINATION_NUMBER"),
|
|
@@ -21241,7 +21246,7 @@ const ApplicationDetails = () => {
|
|
|
21241
21246
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
21242
21247
|
className: "border-none",
|
|
21243
21248
|
label: t("PTR_VACCINATED_DATE"),
|
|
21244
|
-
text:
|
|
21249
|
+
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")
|
|
21245
21250
|
}), /*#__PURE__*/React__default.createElement(digitUiReactComponents.Row, {
|
|
21246
21251
|
className: "border-none",
|
|
21247
21252
|
label: t("PTR_VACCINATION_NUMBER"),
|