@undp/carbon-library 1.0.166-CARBON-359.3 → 1.0.166-CARBON-359.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +12 -12
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +12 -12
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
@@ -25792,7 +25792,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
25792
25792
|
React.createElement(antd.Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
25793
25793
|
};
|
25794
25794
|
|
25795
|
-
var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n
|
25795
|
+
var css_248z$2 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px; }\n .ndc-action-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
|
25796
25796
|
styleInject(css_248z$2);
|
25797
25797
|
|
25798
25798
|
var NdcActionBody = function (props) {
|
@@ -26010,8 +26010,8 @@ var NdcActionBody = function (props) {
|
|
26010
26010
|
: t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26011
26011
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
|
26012
26012
|
uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
|
26013
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26014
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26013
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26014
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26015
26015
|
if (canUploadMonitorReport &&
|
26016
26016
|
uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26017
26017
|
handleFileUploadMonitor();
|
@@ -26034,8 +26034,8 @@ var NdcActionBody = function (props) {
|
|
26034
26034
|
: t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26035
26035
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
|
26036
26036
|
uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
|
26037
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26038
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26037
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26038
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26039
26039
|
if (canUploadMonitorReport &&
|
26040
26040
|
uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26041
26041
|
handleFileUploadMonitor();
|
@@ -26084,8 +26084,8 @@ var NdcActionBody = function (props) {
|
|
26084
26084
|
: t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
|
26085
26085
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
|
26086
26086
|
uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
|
26087
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26088
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26087
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26088
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26089
26089
|
if (monitoringReportAccepted &&
|
26090
26090
|
uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26091
26091
|
handleFileUploadVerification();
|
@@ -26108,8 +26108,8 @@ var NdcActionBody = function (props) {
|
|
26108
26108
|
: t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
|
26109
26109
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
|
26110
26110
|
uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
|
26111
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26112
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26111
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26112
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26113
26113
|
if (monitoringReportAccepted &&
|
26114
26114
|
uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26115
26115
|
handleFileUploadVerification();
|
@@ -26382,7 +26382,7 @@ var ProgrammeDocuments = function (props) {
|
|
26382
26382
|
});
|
26383
26383
|
setOpenRejectDocConfirmationModal(true);
|
26384
26384
|
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26385
|
-
designDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26385
|
+
designDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })),
|
26386
26386
|
designDocStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26387
26387
|
React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26388
26388
|
designDocUrl !== "" && (React.createElement("div", { className: "time" },
|
@@ -26450,7 +26450,7 @@ var ProgrammeDocuments = function (props) {
|
|
26450
26450
|
});
|
26451
26451
|
setOpenRejectDocConfirmationModal(true);
|
26452
26452
|
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26453
|
-
methodDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26453
|
+
methodDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })),
|
26454
26454
|
methodDocStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26455
26455
|
React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26456
26456
|
methodologyDocUrl !== "" && (React.createElement("div", { className: "time" },
|
@@ -26527,7 +26527,7 @@ var ProgrammeDocuments = function (props) {
|
|
26527
26527
|
});
|
26528
26528
|
setOpenRejectDocConfirmationModal(true);
|
26529
26529
|
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26530
|
-
impactAssessmentStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26530
|
+
impactAssessmentStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })),
|
26531
26531
|
impactAssessmentStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26532
26532
|
React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26533
26533
|
impactAssessmentUrl !== "" && (React.createElement("div", { className: "time" },
|