@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/esm/index.js
CHANGED
@@ -25772,7 +25772,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
25772
25772
|
React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
25773
25773
|
};
|
25774
25774
|
|
25775
|
-
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
|
25775
|
+
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";
|
25776
25776
|
styleInject(css_248z$2);
|
25777
25777
|
|
25778
25778
|
var NdcActionBody = function (props) {
|
@@ -25990,8 +25990,8 @@ var NdcActionBody = function (props) {
|
|
25990
25990
|
: t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
25991
25991
|
React.createElement(FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
|
25992
25992
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
|
25993
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
25994
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
25993
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
25994
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
25995
25995
|
if (canUploadMonitorReport &&
|
25996
25996
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
25997
25997
|
handleFileUploadMonitor();
|
@@ -26014,8 +26014,8 @@ var NdcActionBody = function (props) {
|
|
26014
26014
|
: t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26015
26015
|
React.createElement(FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
|
26016
26016
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
|
26017
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26018
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26017
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26018
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26019
26019
|
if (canUploadMonitorReport &&
|
26020
26020
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26021
26021
|
handleFileUploadMonitor();
|
@@ -26064,8 +26064,8 @@ var NdcActionBody = function (props) {
|
|
26064
26064
|
: t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
|
26065
26065
|
React.createElement(FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
|
26066
26066
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
|
26067
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26068
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26067
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26068
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26069
26069
|
if (monitoringReportAccepted &&
|
26070
26070
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26071
26071
|
handleFileUploadVerification();
|
@@ -26088,8 +26088,8 @@ var NdcActionBody = function (props) {
|
|
26088
26088
|
: t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
|
26089
26089
|
React.createElement(FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
|
26090
26090
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
|
26091
|
-
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px
|
26092
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px
|
26091
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px" }
|
26092
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26093
26093
|
if (monitoringReportAccepted &&
|
26094
26094
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26095
26095
|
handleFileUploadVerification();
|
@@ -26362,7 +26362,7 @@ var ProgrammeDocuments = function (props) {
|
|
26362
26362
|
});
|
26363
26363
|
setOpenRejectDocConfirmationModal(true);
|
26364
26364
|
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26365
|
-
designDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26365
|
+
designDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })),
|
26366
26366
|
designDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26367
26367
|
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26368
26368
|
designDocUrl !== "" && (React.createElement("div", { className: "time" },
|
@@ -26430,7 +26430,7 @@ var ProgrammeDocuments = function (props) {
|
|
26430
26430
|
});
|
26431
26431
|
setOpenRejectDocConfirmationModal(true);
|
26432
26432
|
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26433
|
-
methodDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26433
|
+
methodDocStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })),
|
26434
26434
|
methodDocStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26435
26435
|
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26436
26436
|
methodologyDocUrl !== "" && (React.createElement("div", { className: "time" },
|
@@ -26507,7 +26507,7 @@ var ProgrammeDocuments = function (props) {
|
|
26507
26507
|
});
|
26508
26508
|
setOpenRejectDocConfirmationModal(true);
|
26509
26509
|
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } }))),
|
26510
|
-
impactAssessmentStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
|
26510
|
+
impactAssessmentStatus === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })),
|
26511
26511
|
impactAssessmentStatus === DocumentStatus.REJECTED && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26512
26512
|
React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26513
26513
|
impactAssessmentUrl !== "" && (React.createElement("div", { className: "time" },
|