@mseva/digit-ui-module-sv 1.1.49-dev.1.1 → 1.1.49-dev.1.2
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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -16
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -19300,7 +19300,6 @@ const getTimelineAcknowledgementData = (workflowDetails, tenantInfo, pdfFiles =
|
|
|
19300
19300
|
const formats = (downloadLink === null || downloadLink === void 0 ? void 0 : (_downloadLink$split = downloadLink.split(",")) === null || _downloadLink$split === void 0 ? void 0 : _downloadLink$split.filter(Boolean)) || [];
|
|
19301
19301
|
return (formats === null || formats === void 0 ? void 0 : formats.find(link => !(link !== null && link !== void 0 && link.includes("large")) && !(link !== null && link !== void 0 && link.includes("medium")) && !(link !== null && link !== void 0 && link.includes("small")))) || (formats === null || formats === void 0 ? void 0 : formats[0]) || "";
|
|
19302
19302
|
};
|
|
19303
|
-
const pattern = /\[#\?.*?\*\*\]/;
|
|
19304
19303
|
const timelineRows = timeline.map((item, index) => {
|
|
19305
19304
|
var _item$auditDetails, _item$auditDetails2, _item$assigner, _item$assigner2, _item$assigner3, _item$wfComment;
|
|
19306
19305
|
const createdDate = (item === null || item === void 0 ? void 0 : (_item$auditDetails = item.auditDetails) === null || _item$auditDetails === void 0 ? void 0 : _item$auditDetails.created) || "N/A";
|
|
@@ -19310,8 +19309,7 @@ const getTimelineAcknowledgementData = (workflowDetails, tenantInfo, pdfFiles =
|
|
|
19310
19309
|
const mobileNumber = (item === null || item === void 0 ? void 0 : (_item$assigner3 = item.assigner) === null || _item$assigner3 === void 0 ? void 0 : _item$assigner3.mobileNumber) || "N/A";
|
|
19311
19310
|
const action = (item === null || item === void 0 ? void 0 : item.performedAction) || "N/A";
|
|
19312
19311
|
const status = (item === null || item === void 0 ? void 0 : item.status) || (item === null || item === void 0 ? void 0 : item.state) || "N/A";
|
|
19313
|
-
const
|
|
19314
|
-
const comment = typeof rawComment === "string" ? rawComment.split(pattern)[0] : rawComment;
|
|
19312
|
+
const comment = (item === null || item === void 0 ? void 0 : (_item$wfComment = item.wfComment) === null || _item$wfComment === void 0 ? void 0 : _item$wfComment[0]) || "-";
|
|
19315
19313
|
const documents = (item === null || item === void 0 ? void 0 : item.wfDocuments) || [];
|
|
19316
19314
|
const sla = (item === null || item === void 0 ? void 0 : item.sla) || "N/A";
|
|
19317
19315
|
const assignedTo = Array.isArray(item === null || item === void 0 ? void 0 : item.assignes) ? item.assignes.map(a => a === null || a === void 0 ? void 0 : a.name).filter(Boolean).join(", ") : "";
|
|
@@ -19674,13 +19672,13 @@ function NewApplicationTimeline({
|
|
|
19674
19672
|
className: "custom-officer-info"
|
|
19675
19673
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19676
19674
|
className: "custom-officer-name"
|
|
19677
|
-
}, (item === null || item === void 0 ? void 0 : (_item$assigner2 = item.assigner) === null || _item$assigner2 === void 0 ? void 0 : _item$assigner2.name) || t("CS_COMMON_NA"),
|
|
19678
|
-
className: "custom-officer-name"
|
|
19679
|
-
}, "- ", t(deptMap[item === null || item === void 0 ? void 0 : (_item$assigner4 = item.assigner) === null || _item$assigner4 === void 0 ? void 0 : _item$assigner4.userName]))), (item === null || item === void 0 ? void 0 : (_item$assigner5 = item.assigner) === null || _item$assigner5 === void 0 ? void 0 : _item$assigner5.emailId) && /*#__PURE__*/React.createElement("div", {
|
|
19675
|
+
}, (item === null || item === void 0 ? void 0 : (_item$assigner2 = item.assigner) === null || _item$assigner2 === void 0 ? void 0 : _item$assigner2.name) || t("CS_COMMON_NA")), (item === null || item === void 0 ? void 0 : (_item$assigner3 = item.assigner) === null || _item$assigner3 === void 0 ? void 0 : _item$assigner3.emailId) && /*#__PURE__*/React.createElement("div", {
|
|
19680
19676
|
className: "custom-officer-email"
|
|
19681
19677
|
}, /*#__PURE__*/React.createElement("span", {
|
|
19682
19678
|
className: "custom-email-label"
|
|
19683
|
-
}, t("Email")), " ", item === null || item === void 0 ? void 0 : (_item$
|
|
19679
|
+
}, t("Email")), " ", item === null || item === void 0 ? void 0 : (_item$assigner4 = item.assigner) === null || _item$assigner4 === void 0 ? void 0 : _item$assigner4.emailId), deptMap[item === null || item === void 0 ? void 0 : (_item$assigner5 = item.assigner) === null || _item$assigner5 === void 0 ? void 0 : _item$assigner5.userName] && /*#__PURE__*/React.createElement("div", {
|
|
19680
|
+
className: "custom-officer-name"
|
|
19681
|
+
}, t(deptMap[item === null || item === void 0 ? void 0 : (_item$assigner6 = item.assigner) === null || _item$assigner6 === void 0 ? void 0 : _item$assigner6.userName])))), /*#__PURE__*/React.createElement("div", {
|
|
19684
19682
|
className: "custom-card-column custom-card-column-mid"
|
|
19685
19683
|
}, (item === null || item === void 0 ? void 0 : item.sla) && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("h3", {
|
|
19686
19684
|
className: "custom-action-title"
|
|
@@ -19702,13 +19700,9 @@ function NewApplicationTimeline({
|
|
|
19702
19700
|
className: "custom-comments-title"
|
|
19703
19701
|
}, t("Officer Comments")), /*#__PURE__*/React.createElement("div", {
|
|
19704
19702
|
className: "custom-comment-text"
|
|
19705
|
-
}, item === null || item === void 0 ? void 0 : (_item$wfComment3 = item.wfComment) === null || _item$wfComment3 === void 0 ? void 0 : _item$wfComment3.map((comment, idx) => {
|
|
19706
|
-
|
|
19707
|
-
|
|
19708
|
-
return /*#__PURE__*/React.createElement("p", {
|
|
19709
|
-
key: idx
|
|
19710
|
-
}, truncatedComment);
|
|
19711
|
-
}))), (item === null || item === void 0 ? void 0 : (_item$assignes = item.assignes) === null || _item$assignes === void 0 ? void 0 : _item$assignes.length) > 0 && /*#__PURE__*/React.createElement("div", {
|
|
19703
|
+
}, item === null || item === void 0 ? void 0 : (_item$wfComment3 = item.wfComment) === null || _item$wfComment3 === void 0 ? void 0 : _item$wfComment3.map((comment, idx) => /*#__PURE__*/React.createElement("p", {
|
|
19704
|
+
key: idx
|
|
19705
|
+
}, comment)))), (item === null || item === void 0 ? void 0 : (_item$assignes = item.assignes) === null || _item$assignes === void 0 ? void 0 : _item$assignes.length) > 0 && /*#__PURE__*/React.createElement("div", {
|
|
19712
19706
|
className: "custom-assigned-to-footer"
|
|
19713
19707
|
}, /*#__PURE__*/React.createElement("h3", {
|
|
19714
19708
|
className: "custom-comments-title"
|
|
@@ -19716,9 +19710,9 @@ function NewApplicationTimeline({
|
|
|
19716
19710
|
className: "custom-officer-info"
|
|
19717
19711
|
}, /*#__PURE__*/React.createElement("div", {
|
|
19718
19712
|
className: "custom-officer-name"
|
|
19719
|
-
}, (_item$assignes$ = item.assignes[0]) === null || _item$assignes$ === void 0 ? void 0 : _item$assignes$.name, deptMap[(_item$assignes$2 = item.assignes[0]) === null || _item$assignes$2 === void 0 ? void 0 : _item$assignes$2.userName] && /*#__PURE__*/React.createElement("
|
|
19713
|
+
}, (_item$assignes$ = item.assignes[0]) === null || _item$assignes$ === void 0 ? void 0 : _item$assignes$.name), deptMap[(_item$assignes$2 = item.assignes[0]) === null || _item$assignes$2 === void 0 ? void 0 : _item$assignes$2.userName] && /*#__PURE__*/React.createElement("div", {
|
|
19720
19714
|
className: "custom-officer-email"
|
|
19721
|
-
},
|
|
19715
|
+
}, t(deptMap[(_item$assignes$3 = item.assignes[0]) === null || _item$assignes$3 === void 0 ? void 0 : _item$assignes$3.userName]))))), (item === null || item === void 0 ? void 0 : item.wfDocuments) && (item === null || item === void 0 ? void 0 : (_item$wfDocuments = item.wfDocuments) === null || _item$wfDocuments === void 0 ? void 0 : _item$wfDocuments.length) > 0 && /*#__PURE__*/React.createElement("div", {
|
|
19722
19716
|
className: "custom-comments-section-no-border"
|
|
19723
19717
|
}, /*#__PURE__*/React.createElement("h4", {
|
|
19724
19718
|
className: "custom-comments-title"
|