@undp/carbon-library 1.0.166-CARBON-359.5 → 1.0.166-CARBON-359.6
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +8 -8
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -25965,7 +25965,7 @@ var NdcActionBody = function (props) {
|
|
25965
25965
|
React.createElement("div", { className: "icon" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) ? (monitoringReportPending ? ((companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
|
25966
25966
|
React.createElement(LikeOutlined, { onClick: function () {
|
25967
25967
|
return docAction(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id, DocumentStatus.ACCEPTED, monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.actionId, monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.type);
|
25968
|
-
}, className: "common-progress-icon", style: { color: "#976ED7" } }),
|
25968
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
|
25969
25969
|
React.createElement(DislikeOutlined, { onClick: function () {
|
25970
25970
|
setRejectDocData({
|
25971
25971
|
id: monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id,
|
@@ -25980,8 +25980,8 @@ var NdcActionBody = function (props) {
|
|
25980
25980
|
icon: React.createElement(DislikeOutlined, null),
|
25981
25981
|
});
|
25982
25982
|
setOpenRejectDocConfirmationModal(true);
|
25983
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } })))) : monitoringReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })) : (monitoringReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
25984
|
-
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
|
25983
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } })))) : monitoringReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })) : (monitoringReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
25984
|
+
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70", paddingTop: '3px' } }))))) : (React.createElement(React.Fragment, null,
|
25985
25985
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
|
25986
25986
|
? t("programme:notAuthToUploadDoc")
|
25987
25987
|
: uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
|
@@ -26004,7 +26004,7 @@ var NdcActionBody = function (props) {
|
|
26004
26004
|
} }))))),
|
26005
26005
|
(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement("div", { className: "report-link" },
|
26006
26006
|
React.createElement("div", { className: "link" }, linkDocVisible(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) && (React.createElement("a", { href: monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url, target: "_blank", rel: "noopener noreferrer", download: true },
|
26007
|
-
React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
|
26007
|
+
React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
|
26008
26008
|
!monitoringReportAccepted && (React.createElement(React.Fragment, null,
|
26009
26009
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
|
26010
26010
|
? t("programme:notAuthToUploadDoc")
|
@@ -26039,7 +26039,7 @@ var NdcActionBody = function (props) {
|
|
26039
26039
|
ministryLevelPermission) && (React.createElement(React.Fragment, null,
|
26040
26040
|
React.createElement(LikeOutlined, { onClick: function () {
|
26041
26041
|
return docAction(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id, DocumentStatus.ACCEPTED, verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.actionId, verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.type);
|
26042
|
-
}, className: "common-progress-icon", style: { color: "#976ED7" } }),
|
26042
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
|
26043
26043
|
React.createElement(DislikeOutlined, { onClick: function () {
|
26044
26044
|
setRejectDocData({
|
26045
26045
|
id: verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id,
|
@@ -26054,8 +26054,8 @@ var NdcActionBody = function (props) {
|
|
26054
26054
|
icon: React.createElement(DislikeOutlined, null),
|
26055
26055
|
});
|
26056
26056
|
setOpenRejectDocConfirmationModal(true);
|
26057
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } })))) : verificationReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })) : (verifcationReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26058
|
-
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
|
26057
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } })))) : verificationReportAccepted ? (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })) : (verifcationReportRejected && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26058
|
+
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70", paddingTop: '3px' } }))))) : (React.createElement(React.Fragment, null,
|
26059
26059
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
|
26060
26060
|
? t("programme:notAuthToUploadDoc")
|
26061
26061
|
: uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
|
@@ -26078,7 +26078,7 @@ var NdcActionBody = function (props) {
|
|
26078
26078
|
} })))))),
|
26079
26079
|
(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement("div", { className: "report-link" },
|
26080
26080
|
React.createElement("div", { className: "link" }, linkDocVisible(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) && (React.createElement("a", { href: verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url, target: "_blank", rel: "noopener noreferrer", download: true },
|
26081
|
-
React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
|
26081
|
+
React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
|
26082
26082
|
!verificationReportAccepted && monitoringReportAccepted && (React.createElement(React.Fragment, null,
|
26083
26083
|
React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
|
26084
26084
|
? t("programme:notAuthToUploadDoc")
|