@undp/carbon-library 1.0.274-CARBON-359.7 → 1.0.274-CARBON-338.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -21725,7 +21725,7 @@ var NdcActionViewComponent = function (props) {
21725
21725
  (reportData === null || reportData === void 0 ? void 0 : reportData.status) === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
21726
21726
  (reportData === null || reportData === void 0 ? void 0 : reportData.status) === exports.DocumentStatus.REJECTED && (React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
21727
21727
  React.createElement("div", { className: "link mg-left-1" }, (reportData === null || reportData === void 0 ? void 0 : reportData.url) && linkDocVisible(reportData === null || reportData === void 0 ? void 0 : reportData.status) && (React.createElement("a", { href: reportData === null || reportData === void 0 ? void 0 : reportData.url, target: "_blank", rel: "noopener noreferrer", download: true },
21728
- React.createElement(icons.BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } })))),
21728
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
21729
21729
  (reportData === null || reportData === void 0 ? void 0 : reportData.txTime) && (React.createElement("div", { className: "time" },
21730
21730
  moment(parseInt(reportData === null || reportData === void 0 ? void 0 : reportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
21731
21731
  " ~ " + reportVersion))));
@@ -21882,15 +21882,13 @@ var NdcActionViewComponent = function (props) {
21882
21882
  ((_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _b === void 0 ? void 0 : _b.landAreaUnit);
21883
21883
  }
21884
21884
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.AGRICULTURE &&
21885
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) ===
21886
- exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR &&
21885
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR &&
21887
21886
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
21888
21887
  mitigationDetails[t("ndcAction:viewMitigationWeight")] =
21889
- addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _c === void 0 ? void 0 : _c.weight) + "t";
21888
+ addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _c === void 0 ? void 0 : _c.weight) + 't';
21890
21889
  }
21891
21890
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.SOLAR &&
21892
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) ===
21893
- exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV &&
21891
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV &&
21894
21892
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties)) {
21895
21893
  mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
21896
21894
  addCommSep((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGeneration) +
@@ -21899,17 +21897,15 @@ var NdcActionViewComponent = function (props) {
21899
21897
  (_f = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _f === void 0 ? void 0 : _f.consumerGroup;
21900
21898
  }
21901
21899
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.SOLAR &&
21902
- ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) ===
21903
- exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
21904
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) ===
21905
- exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) &&
21900
+ ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
21901
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) &&
21906
21902
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
21907
21903
  mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
21908
- addCommSep((_g = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _g === void 0 ? void 0 : _g.energyGeneration) + ((_h = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _h === void 0 ? void 0 : _h.energyGenerationUnit);
21904
+ addCommSep((_g = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _g === void 0 ? void 0 : _g.energyGeneration) +
21905
+ ((_h = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _h === void 0 ? void 0 : _h.energyGenerationUnit);
21909
21906
  }
21910
21907
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.EE_HOUSEHOLDS &&
21911
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) ===
21912
- exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA &&
21908
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA &&
21913
21909
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
21914
21910
  mitigationDetails[t("ndcAction:viewMitigationNoOfDays")] =
21915
21911
  (_j = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _j === void 0 ? void 0 : _j.numberOfDays;
@@ -22092,24 +22088,23 @@ var NdcActionViewComponent = function (props) {
22092
22088
  : "empty" }, t("programme:monitoringReport")),
22093
22089
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime) && (React.createElement("div", { className: "time" },
22094
22090
  moment(parseInt(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
22095
- " ~ " + monitoringReportversion)))),
22096
- React.createElement(antd.Row, null,
22091
+ " ~ " + monitoringReportversion))),
22097
22092
  React.createElement("div", { className: "icon" }, !(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
22098
22093
  ? t("programme:notAuthToUploadDoc")
22099
22094
  : uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId)
22100
22095
  ? !canUploadMonitorReport &&
22101
22096
  t("programme:programmeNotAuth")
22102
22097
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
22103
- React.createElement(icons.FileAddOutlined, null)))),
22104
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(React.Fragment, null,
22105
- React.createElement("div", { className: "icon" },
22106
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
22107
- exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
22108
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
22109
- exports.DocumentStatus.REJECTED && (React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
22110
- React.createElement("div", { className: "link mg-left-1" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) &&
22111
- 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 },
22112
- React.createElement(icons.BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } })))))))),
22098
+ React.createElement(icons.FileAddOutlined, null))))),
22099
+ (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(antd.Row, null,
22100
+ React.createElement("div", { className: "icon" },
22101
+ (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
22102
+ exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
22103
+ (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
22104
+ exports.DocumentStatus.REJECTED && (React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
22105
+ React.createElement("div", { className: "link mg-left-1" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) &&
22106
+ 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 },
22107
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))))))),
22113
22108
  React.createElement("div", { className: "report-details" },
22114
22109
  React.createElement("div", { className: "report-type" },
22115
22110
  React.createElement("div", { className: "name-time-container" },
@@ -22118,24 +22113,23 @@ var NdcActionViewComponent = function (props) {
22118
22113
  : "empty" }, t("programme:verificationReport")),
22119
22114
  (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.txTime) && (React.createElement("div", { className: "time" },
22120
22115
  moment(parseInt(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
22121
- " ~ " + verificationReportVersion)))),
22122
- React.createElement(antd.Row, null,
22116
+ " ~ " + verificationReportVersion))),
22123
22117
  React.createElement("div", { className: "icon" }, !(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
22124
22118
  ? t("programme:notAuthToUploadDoc")
22125
22119
  : uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId)
22126
22120
  ? !monitoringReportAccepted &&
22127
22121
  t("programme:monitoringRepNotApproved")
22128
22122
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
22129
- React.createElement(icons.FileAddOutlined, null)))),
22130
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement(React.Fragment, null,
22131
- React.createElement("div", { className: "icon" },
22132
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) ===
22133
- exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
22134
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) ===
22135
- exports.DocumentStatus.REJECTED && (React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
22136
- React.createElement("div", { className: "link mg-left-1" }, (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) &&
22137
- 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 },
22138
- React.createElement(icons.BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))))))))))))),
22123
+ React.createElement(icons.FileAddOutlined, null))))),
22124
+ (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement(antd.Row, null,
22125
+ React.createElement("div", { className: "icon" },
22126
+ (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) ===
22127
+ exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
22128
+ (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) ===
22129
+ exports.DocumentStatus.REJECTED && (React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
22130
+ React.createElement("div", { className: "link mg-left-1" }, (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) &&
22131
+ 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 },
22132
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))))))))))),
22139
22133
  ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action) === exports.NdcActionTypes.Mitigation ||
22140
22134
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action) === exports.NdcActionTypes.CrossCutting) && (React.createElement(antd.Row, null,
22141
22135
  React.createElement(antd.Col, { lg: 24, className: "gutter-row" },
@@ -27869,8 +27863,8 @@ var ProgrammeTransferForm = function (props) {
27869
27863
  },
27870
27864
  {
27871
27865
  key: "companyRole",
27872
- operation: "!=",
27873
- value: "Certifier",
27866
+ operation: "=",
27867
+ value: exports.CompanyRole.PROGRAMME_DEVELOPER,
27874
27868
  },
27875
27869
  ],
27876
27870
  sort: {
@@ -28071,7 +28065,7 @@ var RejectDocumentationConfirmationModel = function (props) {
28071
28065
  React.createElement(antd.Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
28072
28066
  };
28073
28067
 
28074
- 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 align-items: flex-start;\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: flex-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";
28068
+ 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 align-items: flex-start;\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: flex-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 align-items: center;\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 align-items: center;\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";
28075
28069
  styleInject(css_248z$2);
28076
28070
 
28077
28071
  var NdcActionBody = function (props) {
@@ -28337,7 +28331,7 @@ var NdcActionBody = function (props) {
28337
28331
  React.createElement("div", { className: "icon" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) ? (monitoringReportPending ? ((companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28338
28332
  React.createElement(icons.LikeOutlined, { onClick: function () {
28339
28333
  return docAction(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id, exports.DocumentStatus.ACCEPTED, monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.actionId, monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.type);
28340
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
28334
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28341
28335
  React.createElement(icons.DislikeOutlined, { onClick: function () {
28342
28336
  setRejectDocData({
28343
28337
  id: monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.id,
@@ -28352,8 +28346,8 @@ var NdcActionBody = function (props) {
28352
28346
  icon: React.createElement(icons.DislikeOutlined, null),
28353
28347
  });
28354
28348
  setOpenRejectDocConfirmationModal(true);
28355
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } })))) : monitoringReportAccepted ? (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })) : (monitoringReportRejected && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28356
- React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70", paddingTop: '3px' } }))))) : (React.createElement(React.Fragment, null,
28349
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } })))) : monitoringReportAccepted ? (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })) : (monitoringReportRejected && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28350
+ React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
28357
28351
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
28358
28352
  ? t("programme:notAuthToUploadDoc")
28359
28353
  : uploadDocUserPermission(userInfoState, exports.DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
@@ -28384,7 +28378,7 @@ var NdcActionBody = function (props) {
28384
28378
  } }))))),
28385
28379
  (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement("div", { className: "report-link" },
28386
28380
  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 },
28387
- React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
28381
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
28388
28382
  !monitoringReportAccepted && (React.createElement(React.Fragment, null,
28389
28383
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
28390
28384
  ? t("programme:notAuthToUploadDoc")
@@ -28427,7 +28421,7 @@ var NdcActionBody = function (props) {
28427
28421
  ministryLevelPermission) && (React.createElement(React.Fragment, null,
28428
28422
  React.createElement(icons.LikeOutlined, { onClick: function () {
28429
28423
  return docAction(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id, exports.DocumentStatus.ACCEPTED, verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.actionId, verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.type);
28430
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: '3px' } }),
28424
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28431
28425
  React.createElement(icons.DislikeOutlined, { onClick: function () {
28432
28426
  setRejectDocData({
28433
28427
  id: verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.id,
@@ -28442,8 +28436,8 @@ var NdcActionBody = function (props) {
28442
28436
  icon: React.createElement(icons.DislikeOutlined, null),
28443
28437
  });
28444
28438
  setOpenRejectDocConfirmationModal(true);
28445
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: '3px' } })))) : verificationReportAccepted ? (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: '3px' } })) : (verifcationReportRejected && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28446
- React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70", paddingTop: '3px' } }))))) : (React.createElement(React.Fragment, null,
28439
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } })))) : verificationReportAccepted ? (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })) : (verifcationReportRejected && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28440
+ React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))))) : (React.createElement(React.Fragment, null,
28447
28441
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
28448
28442
  ? t("programme:notAuthToUploadDoc")
28449
28443
  : uploadDocUserPermission(userInfoState, exports.DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
@@ -28474,7 +28468,7 @@ var NdcActionBody = function (props) {
28474
28468
  } })))))),
28475
28469
  (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement("div", { className: "report-link" },
28476
28470
  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 },
28477
- React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47", paddingTop: '3px' } })))),
28471
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
28478
28472
  !verificationReportAccepted && monitoringReportAccepted && (React.createElement(React.Fragment, null,
28479
28473
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
28480
28474
  ? t("programme:notAuthToUploadDoc")
@@ -28507,7 +28501,7 @@ var NdcActionBody = function (props) {
28507
28501
  React.createElement(RejectDocumentationConfirmationModel, { actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openRejectDocConfirmationModal, errorMsg: "", loading: loading, translator: translator })));
28508
28502
  };
28509
28503
 
28510
- 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";
28504
+ 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";
28511
28505
  styleInject(css_248z$1);
28512
28506
 
28513
28507
  var ProgrammeDocuments = function (props) {
@@ -28754,7 +28748,7 @@ var ProgrammeDocuments = function (props) {
28754
28748
  (designDocActionPermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28755
28749
  React.createElement(icons.LikeOutlined, { onClick: function () {
28756
28750
  return docAction(designDocId, exports.DocumentStatus.ACCEPTED);
28757
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
28751
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28758
28752
  React.createElement(icons.DislikeOutlined, { onClick: function () {
28759
28753
  setRejectDocData({ id: designDocId });
28760
28754
  setActionInfo({
@@ -28765,8 +28759,8 @@ var ProgrammeDocuments = function (props) {
28765
28759
  icon: React.createElement(icons.DislikeOutlined, null),
28766
28760
  });
28767
28761
  setOpenRejectDocConfirmationModal(true);
28768
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
28769
- designDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
28762
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
28763
+ designDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28770
28764
  designDocStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28771
28765
  React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
28772
28766
  designDocUrl !== "" && (React.createElement("div", { className: "time" },
@@ -28774,23 +28768,15 @@ var ProgrammeDocuments = function (props) {
28774
28768
  " ~ " + designDocversion))),
28775
28769
  React.createElement(antd.Col, { span: 6, className: "field-value" }, designDocUrl !== "" ? (React.createElement("div", { className: "link" },
28776
28770
  linkDocVisible(designDocStatus) && (React.createElement("a", { href: designDocUrl, target: "_blank", rel: "noopener noreferrer", download: true },
28777
- React.createElement(icons.BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))),
28771
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28778
28772
  designDocStatus !== exports.DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
28779
28773
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly ||
28780
28774
  (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.CERTIFIER
28781
28775
  ? t("programme:notAuthToUploadDoc")
28782
28776
  : !uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28783
28777
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
28784
- ? {
28785
- color: "#3F3A47",
28786
- cursor: "pointer",
28787
- margin: "0px 0px 1.5px 0px",
28788
- }
28789
- : {
28790
- color: "#cacaca",
28791
- cursor: "default",
28792
- margin: "0px 0px 1.5px 0px",
28793
- }, onClick: function () {
28778
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28779
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28794
28780
  return uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
28795
28781
  } })),
28796
28782
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -28803,16 +28789,8 @@ var ProgrammeDocuments = function (props) {
28803
28789
  ? t("programme:notAuthToUploadDoc")
28804
28790
  : !uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28805
28791
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission)
28806
- ? {
28807
- color: "#3F3A47",
28808
- cursor: "pointer",
28809
- margin: "0px 0px 1.5px 0px",
28810
- }
28811
- : {
28812
- color: "#cacaca",
28813
- cursor: "default",
28814
- margin: "0px 0px 1.5px 0px",
28815
- }, onClick: function () {
28792
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28793
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28816
28794
  return uploadDocUserPermission(userInfoState, exports.DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission) && handleDesignDocFileUpload();
28817
28795
  } })),
28818
28796
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -28838,7 +28816,7 @@ var ProgrammeDocuments = function (props) {
28838
28816
  (companyRolePermission || ministryLevelPermission) && (React.createElement(React.Fragment, null,
28839
28817
  React.createElement(icons.LikeOutlined, { onClick: function () {
28840
28818
  return docAction(methDocId, exports.DocumentStatus.ACCEPTED);
28841
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
28819
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28842
28820
  React.createElement(icons.DislikeOutlined, { onClick: function () {
28843
28821
  setRejectDocData({ id: methDocId });
28844
28822
  setActionInfo({
@@ -28849,8 +28827,8 @@ var ProgrammeDocuments = function (props) {
28849
28827
  icon: React.createElement(icons.DislikeOutlined, null),
28850
28828
  });
28851
28829
  setOpenRejectDocConfirmationModal(true);
28852
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
28853
- methodDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
28830
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
28831
+ methodDocStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28854
28832
  methodDocStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28855
28833
  React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
28856
28834
  methodologyDocUrl !== "" && (React.createElement("div", { className: "time" },
@@ -28858,22 +28836,15 @@ var ProgrammeDocuments = function (props) {
28858
28836
  " ~ " + methDocversion))),
28859
28837
  React.createElement(antd.Col, { span: 6, className: "field-value" }, methodologyDocUrl !== "" ? (React.createElement("div", { className: "link" },
28860
28838
  linkDocVisible(methodDocStatus) && (React.createElement("a", { href: methodologyDocUrl, target: "_blank", rel: "noopener noreferrer", download: true },
28861
- React.createElement(icons.BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } }))),
28839
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28862
28840
  methodDocStatus !== exports.DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
28863
28841
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === exports.Role.ViewOnly
28864
28842
  ? t("programme:notAuthToUploadDoc")
28865
28843
  : !uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28866
28844
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === exports.DocumentStatus.ACCEPTED &&
28867
28845
  uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
28868
- ? {
28869
- color: "#3F3A47",
28870
- cursor: "pointer",
28871
- margin: "0px 0px 1.5px 0px",
28872
- }
28873
- : {
28874
- color: "#cacaca",
28875
- margin: "0px 0px 1.5px 0px",
28876
- }, onClick: function () {
28846
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28847
+ : { color: "#cacaca", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28877
28848
  return designDocStatus === exports.DocumentStatus.ACCEPTED &&
28878
28849
  uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
28879
28850
  handleMethodologyFileUpload();
@@ -28892,16 +28863,8 @@ var ProgrammeDocuments = function (props) {
28892
28863
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
28893
28864
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === exports.DocumentStatus.ACCEPTED &&
28894
28865
  uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission)
28895
- ? {
28896
- color: "#3F3A47",
28897
- cursor: "pointer",
28898
- margin: "0px 0px 1.5px 0px",
28899
- }
28900
- : {
28901
- color: "#cacaca",
28902
- cursor: "default",
28903
- margin: "0px 0px 1.5px 0px",
28904
- }, onClick: function () {
28866
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28867
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28905
28868
  return designDocStatus === exports.DocumentStatus.ACCEPTED &&
28906
28869
  uploadDocUserPermission(userInfoState, exports.DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission) &&
28907
28870
  handleMethodologyFileUpload();
@@ -28930,7 +28893,7 @@ var ProgrammeDocuments = function (props) {
28930
28893
  (ministryLevelPermission || companyRolePermission) && (React.createElement(React.Fragment, null,
28931
28894
  React.createElement(icons.LikeOutlined, { onClick: function () {
28932
28895
  return docAction(impactAssessmentId, exports.DocumentStatus.ACCEPTED);
28933
- }, className: "common-progress-icon", style: { color: "#976ED7", paddingTop: "3px" } }),
28896
+ }, className: "common-progress-icon", style: { color: "#976ED7" } }),
28934
28897
  React.createElement(icons.DislikeOutlined, { onClick: function () {
28935
28898
  setRejectDocData({ id: impactAssessmentId });
28936
28899
  setActionInfo({
@@ -28941,8 +28904,8 @@ var ProgrammeDocuments = function (props) {
28941
28904
  icon: React.createElement(icons.DislikeOutlined, null),
28942
28905
  });
28943
28906
  setOpenRejectDocConfirmationModal(true);
28944
- }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70", paddingTop: "3px" } }))),
28945
- impactAssessmentStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380", paddingTop: "3px" } })),
28907
+ }, className: "common-progress-icon margin-left-1", style: { color: "#FD6F70" } }))),
28908
+ impactAssessmentStatus === exports.DocumentStatus.ACCEPTED && (React.createElement(icons.CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
28946
28909
  impactAssessmentStatus === exports.DocumentStatus.REJECTED && (React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: t("programme:rejectTip"), overlayClassName: "custom-tooltip" },
28947
28910
  React.createElement(icons.ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } })))),
28948
28911
  impactAssessmentUrl !== "" && (React.createElement("div", { className: "time" },
@@ -28950,22 +28913,13 @@ var ProgrammeDocuments = function (props) {
28950
28913
  " ~ " + impactAssessmentversion))),
28951
28914
  React.createElement(antd.Col, { span: 6, className: "field-value" }, impactAssessmentUrl !== "" ? (React.createElement("div", { className: "link" },
28952
28915
  linkDocVisible(impactAssessmentStatus) && (React.createElement("a", { href: impactAssessmentUrl, target: "_blank", rel: "noopener noreferrer", download: true },
28953
- React.createElement("div", null,
28954
- React.createElement(icons.BookOutlined, { className: "common-progress-icon", style: { color: "#3F3A47" } })))),
28916
+ React.createElement(icons.BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))),
28955
28917
  impactAssessmentStatus !== exports.DocumentStatus.ACCEPTED && (React.createElement(React.Fragment, null,
28956
28918
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
28957
28919
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
28958
28920
  !isProjectRejected
28959
- ? {
28960
- color: "#3F3A47",
28961
- cursor: "pointer",
28962
- margin: "0px 0px 1.5px 0px",
28963
- }
28964
- : {
28965
- color: "#cacaca",
28966
- cursor: "default",
28967
- margin: "0px 0px 1.5px 0px",
28968
- }, onClick: function () {
28921
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28922
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28969
28923
  return uploadImpactAssessmentDocUserPermission &&
28970
28924
  !isProjectRejected &&
28971
28925
  handleImpactAssessmentFileUpload();
@@ -28978,16 +28932,8 @@ var ProgrammeDocuments = function (props) {
28978
28932
  React.createElement(antd.Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: impactAssessmentToolTipTitle, overlayClassName: "custom-tooltip" },
28979
28933
  React.createElement(icons.FileAddOutlined, { className: "common-progress-icon", style: uploadImpactAssessmentDocUserPermission &&
28980
28934
  !isProjectRejected
28981
- ? {
28982
- color: "#3F3A47",
28983
- cursor: "pointer",
28984
- margin: "0px 0px 1.5px 0px",
28985
- }
28986
- : {
28987
- color: "#cacaca",
28988
- cursor: "default",
28989
- margin: "0px 0px 1.5px 0px",
28990
- }, onClick: function () {
28935
+ ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
28936
+ : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
28991
28937
  return uploadImpactAssessmentDocUserPermission &&
28992
28938
  !isProjectRejected &&
28993
28939
  handleImpactAssessmentFileUpload();