@undp/carbon-library 1.0.166-CARBON-359.6 → 1.0.166-CARBON-359.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +80 -32
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +80 -32
- 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 justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60
|
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 align-items: start; }\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 align-items: start; }\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 1.5px 0px" }
|
26014
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26013
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }
|
26014
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }, 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 1.5px 0px" }
|
26038
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26037
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }
|
26038
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }, 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 1.5px 0px" }
|
26088
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26087
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }
|
26088
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }, 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 1.5px 0px" }
|
26112
|
-
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px" }, onClick: function () {
|
26111
|
+
? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }
|
26112
|
+
: { color: "#cacaca", cursor: "default", margin: "0px 0px 1.5px 0px", paddingTop: '3px' }, onClick: function () {
|
26113
26113
|
if (monitoringReportAccepted &&
|
26114
26114
|
uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
26115
26115
|
handleFileUploadVerification();
|
@@ -26123,7 +26123,7 @@ var NdcActionBody = function (props) {
|
|
26123
26123
|
React.createElement(RejectDocumentationConfirmationModel, { actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openRejectDocConfirmationModal, errorMsg: "", loading: loading, translator: translator })));
|
26124
26124
|
};
|
26125
26125
|
|
26126
|
-
var css_248z$1 = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-view .title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.info-view .title {\n margin-bottom: 5px; }\n\n.info-view .field-key {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-key .label-container {\n display: flex;\n flex-direction: row; }\n .info-view .field-key .label {\n width: 70%; }\n .info-view .field-key .label-uploaded {\n color: rgba(58, 53, 65, 0.8);\n width: 70%; }\n\n.info-view .field-value {\n color: rgba(58, 53, 65, 0.6);\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-value .link {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
|
26126
|
+
var css_248z$1 = ".info-view .title-icon {\n padding-right: 10px; }\n\n.info-view .title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.info-view .title {\n margin-bottom: 5px; }\n\n.info-view .field-key {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 500;\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-key .label-container {\n display: flex;\n flex-direction: row;\n align-items: start; }\n .info-view .field-key .label {\n width: 70%; }\n .info-view .field-key .label-uploaded {\n color: rgba(58, 53, 65, 0.8);\n width: 70%; }\n\n.info-view .field-value {\n color: rgba(58, 53, 65, 0.6);\n text-overflow: ellipsis;\n overflow: hidden; }\n .info-view .field-value .link {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: flex-start;\n gap: 20px; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
|
26127
26127
|
styleInject(css_248z$1);
|
26128
26128
|
|
26129
26129
|
var ProgrammeDocuments = function (props) {
|
@@ -26370,7 +26370,7 @@ var ProgrammeDocuments = function (props) {
|
|
26370
26370
|
(designDocActionPermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
|
26371
26371
|
React.createElement(icons.LikeOutlined, { onClick: function () {
|
26372
26372
|
return docAction(designDocId, exports.DocumentStatus.ACCEPTED);
|
26373
|
-
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop:
|
26373
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
|
26374
26374
|
React.createElement(icons.DislikeOutlined, { onClick: function () {
|
26375
26375
|
setRejectDocData({ id: designDocId });
|
26376
26376
|
setActionInfo({
|
@@ -26381,8 +26381,8 @@ var ProgrammeDocuments = function (props) {
|
|
26381
26381
|
icon: React.createElement(icons.DislikeOutlined, null),
|
26382
26382
|
});
|
26383
26383
|
setOpenRejectDocConfirmationModal(true);
|
26384
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop:
|
26385
|
-
designDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop:
|
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", 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" },
|
@@ -26397,8 +26397,16 @@ var ProgrammeDocuments = function (props) {
|
|
26397
26397
|
? t("programme:notAuthToUploadDoc")
|
26398
26398
|
: !uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26399
26399
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
|
26400
|
-
? {
|
26401
|
-
|
26400
|
+
? {
|
26401
|
+
color: "#3F3A47",
|
26402
|
+
cursor: "pointer",
|
26403
|
+
margin: "0px 0px 1.5px 0px",
|
26404
|
+
}
|
26405
|
+
: {
|
26406
|
+
color: "#cacaca",
|
26407
|
+
cursor: "default",
|
26408
|
+
margin: "0px 0px 1.5px 0px",
|
26409
|
+
}, onClick: function () {
|
26402
26410
|
return uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
|
26403
26411
|
} })),
|
26404
26412
|
React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
|
@@ -26411,8 +26419,16 @@ var ProgrammeDocuments = function (props) {
|
|
26411
26419
|
? t("programme:notAuthToUploadDoc")
|
26412
26420
|
: !uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26413
26421
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
|
26414
|
-
? {
|
26415
|
-
|
26422
|
+
? {
|
26423
|
+
color: "#3F3A47",
|
26424
|
+
cursor: "pointer",
|
26425
|
+
margin: "0px 0px 1.5px 0px",
|
26426
|
+
}
|
26427
|
+
: {
|
26428
|
+
color: "#cacaca",
|
26429
|
+
cursor: "default",
|
26430
|
+
margin: "0px 0px 1.5px 0px",
|
26431
|
+
}, onClick: function () {
|
26416
26432
|
return uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
|
26417
26433
|
} })),
|
26418
26434
|
React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
|
@@ -26438,7 +26454,7 @@ var ProgrammeDocuments = function (props) {
|
|
26438
26454
|
(companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
|
26439
26455
|
React.createElement(icons.LikeOutlined, { onClick: function () {
|
26440
26456
|
return docAction(methDocId, exports.DocumentStatus.ACCEPTED);
|
26441
|
-
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop:
|
26457
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
|
26442
26458
|
React.createElement(icons.DislikeOutlined, { onClick: function () {
|
26443
26459
|
setRejectDocData({ id: methDocId });
|
26444
26460
|
setActionInfo({
|
@@ -26449,8 +26465,8 @@ var ProgrammeDocuments = function (props) {
|
|
26449
26465
|
icon: React.createElement(icons.DislikeOutlined, null),
|
26450
26466
|
});
|
26451
26467
|
setOpenRejectDocConfirmationModal(true);
|
26452
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop:
|
26453
|
-
methodDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop:
|
26468
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
|
26469
|
+
methodDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
|
26454
26470
|
methodDocStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26455
26471
|
React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26456
26472
|
methodologyDocUrl !== "" && (React.createElement("div", { className: "time" },
|
@@ -26465,8 +26481,15 @@ var ProgrammeDocuments = function (props) {
|
|
26465
26481
|
: !uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26466
26482
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === exports.DocumentStatus.ACCEPTED &&
|
26467
26483
|
uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
|
26468
|
-
? {
|
26469
|
-
|
26484
|
+
? {
|
26485
|
+
color: "#3F3A47",
|
26486
|
+
cursor: "pointer",
|
26487
|
+
margin: "0px 0px 1.5px 0px",
|
26488
|
+
}
|
26489
|
+
: {
|
26490
|
+
color: "#cacaca",
|
26491
|
+
margin: "0px 0px 1.5px 0px",
|
26492
|
+
}, onClick: function () {
|
26470
26493
|
return designDocStatus === exports.DocumentStatus.ACCEPTED &&
|
26471
26494
|
uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
|
26472
26495
|
handleMethodologyFileUpload();
|
@@ -26485,8 +26508,16 @@ var ProgrammeDocuments = function (props) {
|
|
26485
26508
|
: t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
|
26486
26509
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === exports.DocumentStatus.ACCEPTED &&
|
26487
26510
|
uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
|
26488
|
-
? {
|
26489
|
-
|
26511
|
+
? {
|
26512
|
+
color: "#3F3A47",
|
26513
|
+
cursor: "pointer",
|
26514
|
+
margin: "0px 0px 1.5px 0px",
|
26515
|
+
}
|
26516
|
+
: {
|
26517
|
+
color: "#cacaca",
|
26518
|
+
cursor: "default",
|
26519
|
+
margin: "0px 0px 1.5px 0px",
|
26520
|
+
}, onClick: function () {
|
26490
26521
|
return designDocStatus === exports.DocumentStatus.ACCEPTED &&
|
26491
26522
|
uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
|
26492
26523
|
handleMethodologyFileUpload();
|
@@ -26515,7 +26546,7 @@ var ProgrammeDocuments = function (props) {
|
|
26515
26546
|
(ministryLevelPermission || companyRolePermission) && (React.createElement(React.Fragment, null,
|
26516
26547
|
React.createElement(icons.LikeOutlined, { onClick: function () {
|
26517
26548
|
return docAction(impactAssessmentId, exports.DocumentStatus.ACCEPTED);
|
26518
|
-
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop:
|
26549
|
+
}, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
|
26519
26550
|
React.createElement(icons.DislikeOutlined, { onClick: function () {
|
26520
26551
|
setRejectDocData({ id: impactAssessmentId });
|
26521
26552
|
setActionInfo({
|
@@ -26526,8 +26557,8 @@ var ProgrammeDocuments = function (props) {
|
|
26526
26557
|
icon: React.createElement(icons.DislikeOutlined, null),
|
26527
26558
|
});
|
26528
26559
|
setOpenRejectDocConfirmationModal(true);
|
26529
|
-
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop:
|
26530
|
-
impactAssessmentStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop:
|
26560
|
+
}, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
|
26561
|
+
impactAssessmentStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
|
26531
26562
|
impactAssessmentStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
|
26532
26563
|
React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
|
26533
26564
|
impactAssessmentUrl !== "" && (React.createElement("div", { className: "time" },
|
@@ -26535,13 +26566,22 @@ var ProgrammeDocuments = function (props) {
|
|
26535
26566
|
" ~ " + impactAssessmentversion))),
|
26536
26567
|
React.createElement(antd.Col, { span: 6, className: "field-value" }, impactAssessmentUrl !== "" ? (React.createElement("div", { className: "link" },
|
26537
26568
|
linkDocVisible(impactAssessmentStatus) && (React.createElement("a", { href: impactAssessmentUrl, target: "_blank", rel: "noopener noreferrer", download: true },
|
26538
|
-
React.createElement(
|
26569
|
+
React.createElement("div", null,
|
26570
|
+
React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
|
26539
26571
|
impactAssessmentStatus !== exports.DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
|
26540
26572
|
React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
|
26541
26573
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
|
26542
26574
|
!isProjectRejected
|
26543
|
-
? {
|
26544
|
-
|
26575
|
+
? {
|
26576
|
+
color: "#3F3A47",
|
26577
|
+
cursor: "pointer",
|
26578
|
+
margin: "0px 0px 1.5px 0px",
|
26579
|
+
}
|
26580
|
+
: {
|
26581
|
+
color: "#cacaca",
|
26582
|
+
cursor: "default",
|
26583
|
+
margin: "0px 0px 1.5px 0px",
|
26584
|
+
}, onClick: function () {
|
26545
26585
|
return uploadImpactAssessmentDocUserPermission &&
|
26546
26586
|
!isProjectRejected &&
|
26547
26587
|
handleImpactAssessmentFileUpload();
|
@@ -26554,8 +26594,16 @@ var ProgrammeDocuments = function (props) {
|
|
26554
26594
|
React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
|
26555
26595
|
React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
|
26556
26596
|
!isProjectRejected
|
26557
|
-
? {
|
26558
|
-
|
26597
|
+
? {
|
26598
|
+
color: "#3F3A47",
|
26599
|
+
cursor: "pointer",
|
26600
|
+
margin: "0px 0px 1.5px 0px",
|
26601
|
+
}
|
26602
|
+
: {
|
26603
|
+
color: "#cacaca",
|
26604
|
+
cursor: "default",
|
26605
|
+
margin: "0px 0px 1.5px 0px",
|
26606
|
+
}, onClick: function () {
|
26559
26607
|
return uploadImpactAssessmentDocUserPermission &&
|
26560
26608
|
!isProjectRejected &&
|
26561
26609
|
handleImpactAssessmentFileUpload();
|