@undp/carbon-library 1.0.150-CARBON-320.2 → 1.0.150-CARBON-350.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/esm/index.js CHANGED
@@ -16956,7 +16956,7 @@ var NdcActionDetails = function (props) {
16956
16956
  var css_248z$f = ".add-ndc-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-ndc-main-container .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n .add-ndc-main-container .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #ff4d4f !important; }\n .add-ndc-main-container .step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .add-ndc-main-container .step-title-container .step-count {\n font-size: 2.2rem;\n font-weight: 800;\n margin-right: 0.4rem;\n color: rgba(58, 53, 65, 0.8); }\n .add-ndc-main-container .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541;\n white-space: nowrap; }\n .add-ndc-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-ndc-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #6642eb; }\n .add-ndc-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-ndc-main-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .add-ndc-main-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .add-ndc-main-container .adding-section {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n margin: 1rem 0 1rem 0;\n border-radius: 10px;\n padding: 2.5rem 1.5rem 2.5rem 1.5rem; }\n .add-ndc-main-container .adding-section .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: start;\n align-items: start;\n width: 100%; }\n .add-ndc-main-container .adding-section .design-upload-section .icon-color {\n color: #9155fd !important; }\n .add-ndc-main-container .adding-section .design-upload-section .ant-upload {\n width: 130px; }\n .add-ndc-main-container .adding-section .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 300px; }\n .add-ndc-main-container .adding-section .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .add-ndc-main-container .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: start;\n margin-left: 10px; }\n .add-ndc-main-container .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n .add-ndc-main-container .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n";
16957
16957
  styleInject(css_248z$f);
16958
16958
 
16959
- var css_248z$e = ".co-benifits-container {\n width: 100%; }\n .co-benifits-container .ant-form-item-label > label::after {\n content: none; }\n .co-benifits-container .ant-radio-button-wrapper {\n border-radius: 4px !important;\n color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:first-child,\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:hover {\n color: rgba(140, 140, 140, 0.7);\n background-color: #ffffff;\n border-color: rgba(140, 140, 140, 0.7); }\n .co-benifits-container .view-section .ant-input[disabled] {\n color: rgba(140, 140, 140, 0.7) !important;\n background-color: #ffffff !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .co-benifits-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .co-benifits-container .co-sub-title-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 600;\n line-height: 22px; }\n .co-benifits-container .co-view-label-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 400;\n line-height: 18.5px; }\n .co-benifits-container .benifits-tabs {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item {\n width: 100%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-form-item-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container {\n width: 35%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img:hover {\n box-shadow: 0 0 11px rgba(33, 33, 33, 0.2); }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .row .col {\n display: flex;\n flex-direction: column !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .assesment-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: start;\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n max-width: 500px;\n margin-left: 5px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .social-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .social-tab-item Input {\n height: 40px; }\n";
16959
+ var css_248z$e = ".co-benifits-container {\n width: 100%; }\n .co-benifits-container .ant-form-item-label > label::after {\n content: none; }\n .co-benifits-container .ant-radio-button-wrapper {\n border-radius: 4px !important;\n color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:first-child,\n .co-benifits-container .view-section .ant-radio-button-wrapper-disabled:hover {\n color: rgba(140, 140, 140, 0.7);\n background-color: #ffffff;\n border-color: rgba(140, 140, 140, 0.7); }\n .co-benifits-container .view-section .ant-input[disabled] {\n color: rgba(140, 140, 140, 0.7) !important;\n background-color: #ffffff !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n .co-benifits-container .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .co-benifits-container .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .co-benifits-container .co-sub-title-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 600;\n line-height: 22px; }\n .co-benifits-container .co-sub-header-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 16px;\n font-family: Inter;\n font-weight: 600;\n line-height: 22px; }\n .co-benifits-container .co-view-label-text {\n color: rgba(58, 53, 65, 0.5);\n font-size: 14px;\n font-family: Inter;\n font-weight: 400;\n line-height: 18.5px; }\n .co-benifits-container .benifits-tabs {\n width: 100%; }\n .co-benifits-container .benifits-tabs .unfcccSdTool-section-title {\n text-align: center;\n margin-bottom: 5px;\n margin-top: 10px;\n font-weight: 700;\n color: rgba(58, 53, 65, 0.5); }\n .co-benifits-container .benifits-tabs .unfccSdTool-section-wrapper {\n display: flex;\n justify-content: center;\n align-items: center; }\n .co-benifits-container .benifits-tabs .unfccSdTool-section-divider {\n border-bottom: 1px solid rgba(58, 53, 65, 0.5) !important;\n width: 100% !important; }\n .co-benifits-container .benifits-tabs .undpSesp-section-title {\n text-align: center;\n margin-bottom: 5px;\n margin-top: 5px;\n font-weight: 700;\n color: rgba(58, 53, 65, 0.5); }\n .co-benifits-container .benifits-tabs .undpSesp-section-wrapper {\n display: flex;\n justify-content: center;\n align-items: center; }\n .co-benifits-container .benifits-tabs .undpSesp-section-divider {\n border-bottom: 1px solid rgba(58, 53, 65, 0.5) !important;\n width: 100% !important;\n margin-bottom: 20px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item {\n width: 100%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-form-item-label {\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container {\n width: 35%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-gender-parity .part-one .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container img:hover {\n box-shadow: 0 0 11px rgba(33, 33, 33, 0.2); }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data {\n display: flex;\n width: 88%;\n align-items: center;\n justify-content: center;\n padding-top: 1.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data .images {\n display: flex;\n border: 1px solid black;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-sdg-goals .row .col .img-container-data img {\n width: 100%;\n height: auto;\n border: 1px solid #e4e4e4;\n border-radius: 5px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-environmental .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic {\n width: 95%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section {\n width: 100%;\n display: flex;\n flex-direction: column; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .title {\n width: 100%;\n color: rgba(58, 53, 65, 0.5);\n font-weight: 600; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .field-margin {\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item {\n width: 100%;\n padding-left: 2rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-form-item-label {\n width: 100%;\n display: flex;\n flex-direction: row;\n align-items: center;\n text-align: left;\n justify-content: flex-start;\n white-space: initial; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group {\n width: 95%;\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:first-child {\n margin-right: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-group .yes-no-radio-container:last-child {\n margin-left: 1rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container {\n width: 25%;\n text-align: center;\n max-width: 90px; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .anticon {\n margin-right: 0.5rem; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .benifits-details-economic .section .form-item .yes-no-radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .co-benifits-tab-item .row .col {\n display: flex;\n flex-direction: column !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .assesment-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: start;\n width: 100%; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .icon-color {\n color: #16b1ff !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n max-width: 500px;\n margin-left: 5px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .design-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .upload-doc {\n height: 40px !important;\n margin-right: 240px; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-upload-list-item {\n border-radius: 5px !important;\n height: 40px !important; }\n .co-benifits-container .benifits-tabs .assesment-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .safeguard-tab-item .ant-form-item-label-left {\n padding-right: 5px; }\n .co-benifits-container .benifits-tabs .social-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container-view {\n margin-right: 2rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container-view .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container-view .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container-view-child {\n margin-right: 2rem;\n width: 28%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container-view-child .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio-container-view-child .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .social-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .social-tab-item Input {\n height: 40px; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item {\n width: 95%;\n margin-left: 3rem; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .ant-radio-group {\n text-align: center;\n align-items: center;\n justify-content: flex-end; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .ant-radio-group .radio-container {\n margin-right: 1rem;\n width: 35%;\n max-width: 90px;\n text-align: center; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .ant-radio-group .radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffffff !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .ant-radio-group .radio {\n width: 100%; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .ant-radio-group .radio .ant-radio-button-checked {\n background: #9155fd;\n color: #ffffff; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .social-environment-risk-title-section {\n display: flex;\n justify-content: center;\n align-items: center;\n border-top: 1px solid rgba(58, 53, 65, 0.5) !important;\n margin-bottom: 15px;\n margin-top: 5px; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .social-environment-risk-title-section:first-child {\n border-bottom: 1px solid rgba(58, 53, 65, 0.5) !important; }\n .co-benifits-container .benifits-tabs .social-environment-tab-item .social-environment-risk-title {\n text-align: center;\n margin-bottom: 5px;\n margin-top: 10px;\n font-weight: 700;\n color: rgba(58, 53, 65, 0.5); }\n";
16960
16960
  styleInject(css_248z$e);
16961
16961
 
16962
16962
  var GenderParity = function (props) {
@@ -18058,6 +18058,12 @@ var Safeguards = function (props) {
18058
18058
  return (React.createElement(React.Fragment, null,
18059
18059
  viewOnly && !safeGuardViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
18060
18060
  ((viewOnly && safeGuardViewData) || !viewOnly) && (React.createElement("div", { className: "safeguard-tab-item" },
18061
+ React.createElement("div", { className: "undpSesp-section-wrapper" },
18062
+ React.createElement(Row, { justify: "center", align: "middle", style: { width: '100%' } },
18063
+ React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
18064
+ React.createElement("span", null, t("undpSespTitle"))),
18065
+ React.createElement(Col, { span: 24 },
18066
+ React.createElement("div", { className: "undpSesp-section-divider" })))),
18061
18067
  React.createElement(Form, { onValuesChange: onSafeguardValuesChanged, name: "safeguardDetails", labelWrap: true, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", form: form }, updatedFormElementList.map(function (sectionItem) {
18062
18068
  return (React.createElement(React.Fragment, null,
18063
18069
  (sectionItem.isVisible || !viewOnly) && (React.createElement("div", { style: { marginBottom: "15px" } },
@@ -18124,7 +18130,7 @@ var Safeguards = function (props) {
18124
18130
 
18125
18131
  var Environmental = function (props) {
18126
18132
  var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
18127
- translator.setDefaultNamespace('environment');
18133
+ translator.setDefaultNamespace('unfcccSdTool');
18128
18134
  var t = translator.t;
18129
18135
  var environmentalDetailsInitial = [
18130
18136
  {
@@ -18409,39 +18415,50 @@ var Environmental = function (props) {
18409
18415
  }, []);
18410
18416
  return (React.createElement("div", { className: "co-benifits-tab-item" },
18411
18417
  React.createElement(Form, { name: "environmental-details", className: "benifits-details-environmental", labelCol: { md: 16, lg: 19, xl: 17 }, wrapperCol: { md: 8, lg: 5, xl: 7 }, layout: "horizontal", requiredMark: true, form: formOne, onFieldsChange: onFieldsChange, onValuesChange: onEnvironmentalValuesChanged },
18412
- (environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
18413
- React.createElement("div", { className: environmentalViewData ? "section view-section" : "section" }, environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.map(function (environmentalDetail) {
18414
- var _a;
18415
- return (React.createElement(React.Fragment, null,
18416
- React.createElement("div", { className: "title" }, environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.section), (_a = environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.fields) === null || _a === void 0 ? void 0 :
18417
- _a.map(function (field, index) {
18418
- return !(field === null || field === void 0 ? void 0 : field.hide) && (React.createElement(Form.Item, { label: field === null || field === void 0 ? void 0 : field.label, className: "form-item ".concat(index !== 0 ? "field-margin" : ""), name: field === null || field === void 0 ? void 0 : field.name, rules: [
18419
- {
18420
- required: field === null || field === void 0 ? void 0 : field.required,
18421
- message: (field === null || field === void 0 ? void 0 : field.required) &&
18422
- "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
18423
- },
18424
- ] },
18425
- React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
18426
- (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
18427
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
18428
- (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
18429
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
18430
- (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
18431
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
18432
- React.createElement("div", { className: "yes-no-radio-container" },
18433
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
18434
- React.createElement("div", { className: "yes-no-radio-container" },
18435
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
18436
- React.createElement("div", { className: "yes-no-radio-container" },
18437
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
18438
- })));
18439
- })))));
18418
+ React.createElement("div", { className: environmentalViewData ? "section view-section" : "section" },
18419
+ React.createElement("div", { className: "unfccSdTool-section-wrapper" },
18420
+ React.createElement(Row, { justify: "center", align: "middle", style: { width: '100%' } },
18421
+ React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
18422
+ React.createElement("span", null, t("unfcccSdToolTitle"))),
18423
+ React.createElement(Col, { span: 24 },
18424
+ React.createElement("div", { className: "unfccSdTool-section-divider" })),
18425
+ React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
18426
+ React.createElement("span", null, t("environmental"))),
18427
+ React.createElement(Col, { span: 24 },
18428
+ React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: '20px' } })))),
18429
+ (environmentalDetails === null || environmentalDetails === void 0 ? void 0 : environmentalDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), environmentalDetails === null || environmentalDetails === void 0 ? void 0 :
18430
+ environmentalDetails.map(function (environmentalDetail) {
18431
+ var _a;
18432
+ return (React.createElement(React.Fragment, null,
18433
+ React.createElement("div", { className: "title" }, environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.section), (_a = environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.fields) === null || _a === void 0 ? void 0 :
18434
+ _a.map(function (field, index) {
18435
+ return !(field === null || field === void 0 ? void 0 : field.hide) && (React.createElement(Form.Item, { label: field === null || field === void 0 ? void 0 : field.label, className: "form-item ".concat(index !== 0 ? "field-margin" : ""), name: field === null || field === void 0 ? void 0 : field.name, rules: [
18436
+ {
18437
+ required: field === null || field === void 0 ? void 0 : field.required,
18438
+ message: (field === null || field === void 0 ? void 0 : field.required) &&
18439
+ "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
18440
+ },
18441
+ ] },
18442
+ React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
18443
+ (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
18444
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
18445
+ (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
18446
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
18447
+ (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
18448
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
18449
+ React.createElement("div", { className: "yes-no-radio-container" },
18450
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
18451
+ React.createElement("div", { className: "yes-no-radio-container" },
18452
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
18453
+ React.createElement("div", { className: "yes-no-radio-container" },
18454
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
18455
+ })));
18456
+ })))));
18440
18457
  };
18441
18458
 
18442
18459
  var Economic = function (props) {
18443
18460
  var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
18444
- translator.setDefaultNamespace("economic");
18461
+ translator.setDefaultNamespace("unfcccSdTool");
18445
18462
  var t = translator.t;
18446
18463
  var economicDetailsInitial = [
18447
18464
  {
@@ -18694,39 +18711,46 @@ var Economic = function (props) {
18694
18711
  }, []);
18695
18712
  return (React.createElement("div", { className: "co-benifits-tab-item" },
18696
18713
  React.createElement(Form, { name: "economic-details", className: "benifits-details-economic", labelCol: { md: 16, lg: 19, xl: 17 }, wrapperCol: { md: 8, lg: 5, xl: 7 }, layout: "horizontal", requiredMark: true, form: formOne, onFieldsChange: onFieldsChange, onValuesChange: onEconomicValuesChanged },
18697
- (economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
18698
- React.createElement("div", { className: economicViewData ? "section view-section" : "section" }, economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.map(function (environmentalDetail) {
18699
- var _a;
18700
- return (React.createElement(React.Fragment, null,
18701
- React.createElement("div", { className: "title" }, environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.section), (_a = environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.fields) === null || _a === void 0 ? void 0 :
18702
- _a.map(function (field, index) {
18703
- return !(field === null || field === void 0 ? void 0 : field.hide) && (React.createElement(Form.Item, { label: field === null || field === void 0 ? void 0 : field.label, className: "form-item ".concat(index !== 0 ? "field-margin" : ""), name: field === null || field === void 0 ? void 0 : field.name, rules: [
18704
- {
18705
- required: field === null || field === void 0 ? void 0 : field.required,
18706
- message: (field === null || field === void 0 ? void 0 : field.required) &&
18707
- "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
18708
- },
18709
- ] },
18710
- React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
18711
- (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
18712
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
18713
- (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
18714
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
18715
- (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
18716
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
18717
- React.createElement("div", { className: "yes-no-radio-container" },
18718
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
18719
- React.createElement("div", { className: "yes-no-radio-container" },
18720
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
18721
- React.createElement("div", { className: "yes-no-radio-container" },
18722
- React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
18723
- })));
18724
- })))));
18714
+ React.createElement("div", { className: economicViewData ? "section view-section" : "section" },
18715
+ React.createElement("div", { className: "unfccSdTool-section-wrapper" },
18716
+ React.createElement(Row, { justify: "center", align: "middle", style: { width: '100%' } },
18717
+ React.createElement(Col, { span: 24 },
18718
+ React.createElement("div", { className: "unfccSdTool-section-divider" })),
18719
+ React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
18720
+ React.createElement("span", null, t("economic"))))),
18721
+ (economicDetails === null || economicDetails === void 0 ? void 0 : economicDetails.length) === 0 && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })), economicDetails === null || economicDetails === void 0 ? void 0 :
18722
+ economicDetails.map(function (environmentalDetail) {
18723
+ var _a;
18724
+ return (React.createElement(React.Fragment, null,
18725
+ React.createElement("div", { className: "title" }, environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.section), (_a = environmentalDetail === null || environmentalDetail === void 0 ? void 0 : environmentalDetail.fields) === null || _a === void 0 ? void 0 :
18726
+ _a.map(function (field, index) {
18727
+ return !(field === null || field === void 0 ? void 0 : field.hide) && (React.createElement(Form.Item, { label: field === null || field === void 0 ? void 0 : field.label, className: "form-item ".concat(index !== 0 ? "field-margin" : ""), name: field === null || field === void 0 ? void 0 : field.name, rules: [
18728
+ {
18729
+ required: field === null || field === void 0 ? void 0 : field.required,
18730
+ message: (field === null || field === void 0 ? void 0 : field.required) &&
18731
+ "".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
18732
+ },
18733
+ ] },
18734
+ React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
18735
+ (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
18736
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
18737
+ (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
18738
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
18739
+ (field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
18740
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
18741
+ React.createElement("div", { className: "yes-no-radio-container" },
18742
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
18743
+ React.createElement("div", { className: "yes-no-radio-container" },
18744
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
18745
+ React.createElement("div", { className: "yes-no-radio-container" },
18746
+ React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
18747
+ })));
18748
+ })))));
18725
18749
  };
18726
18750
 
18727
18751
  var Social = function (props) {
18728
18752
  var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
18729
- translator.setDefaultNamespace("social");
18753
+ translator.setDefaultNamespace("unfcccSdTool");
18730
18754
  var t = translator.t;
18731
18755
  var form = Form.useForm()[0];
18732
18756
  var _a = useState(0); _a[0]; var setRefreshCounter = _a[1];
@@ -18945,6 +18969,12 @@ var Social = function (props) {
18945
18969
  validateForm();
18946
18970
  });
18947
18971
  return (React.createElement("div", { className: "social-tab-item" },
18972
+ React.createElement("div", { className: "unfccSdTool-section-wrapper" },
18973
+ React.createElement(Row, { justify: "center", align: "middle", style: { width: '100%' } },
18974
+ React.createElement(Col, { span: 24 },
18975
+ React.createElement("div", { className: "unfccSdTool-section-divider" })),
18976
+ React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
18977
+ React.createElement("span", null, t("social"))))),
18948
18978
  viewOnly && !socialViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
18949
18979
  ((viewOnly && socialViewData) || !viewOnly) && (React.createElement(Form, { name: "socialDetails", labelWrap: true, form: form, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", onValuesChange: onSocialValuesChanged }, SocialElementDetails.map(function (element) {
18950
18980
  return (React.createElement(React.Fragment, null,
@@ -18987,7 +19017,7 @@ var Social = function (props) {
18987
19017
  socialViewData.hasOwnProperty(element === null || element === void 0 ? void 0 : element.name) && (React.createElement("div", { className: "view-section" },
18988
19018
  React.createElement(Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
18989
19019
  React.createElement(Radio.Group, { size: "middle", disabled: true },
18990
- React.createElement("div", { className: "radio-container" },
19020
+ React.createElement("div", { className: "radio-container-view" },
18991
19021
  React.createElement(Radio.Button, { className: "radio" }, socialViewData[element.name])))))),
18992
19022
  socialViewData[element.name] === RadioButtonStatus.YES &&
18993
19023
  element.subItems.map(function (elementItem) {
@@ -18995,7 +19025,7 @@ var Social = function (props) {
18995
19025
  return (React.createElement(React.Fragment, null, socialViewData.hasOwnProperty(elementItem === null || elementItem === void 0 ? void 0 : elementItem.name) && (React.createElement("div", { className: "view-section" },
18996
19026
  React.createElement(Form.Item, { label: elementItem.label, name: elementItem.name, className: "mg-left-4" },
18997
19027
  React.createElement(Radio.Group, { size: "middle", disabled: true },
18998
- React.createElement("div", { className: "radio-container" },
19028
+ React.createElement("div", { className: "radio-container-view-child" },
18999
19029
  React.createElement(Radio.Button, { className: "radio" }, socialViewData[elementItem.name]))))))));
19000
19030
  }
19001
19031
  else if (elementItem.type === FormElementType.Input) {
@@ -19010,12 +19040,462 @@ var Social = function (props) {
19010
19040
  })))));
19011
19041
  };
19012
19042
 
19043
+ var SocialEnvironmentalRisk = function (props) {
19044
+ var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
19045
+ translator.setDefaultNamespace("socialEnvironmentalRisk");
19046
+ var t = translator.t;
19047
+ var form = Form.useForm()[0];
19048
+ var _a = useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
19049
+ var _b = useState([
19050
+ {
19051
+ title: t("humanRightsSubHeader"),
19052
+ isTitleVisible: true,
19053
+ subItems: [
19054
+ {
19055
+ title: t("humanRights"),
19056
+ isTitleVisible: true,
19057
+ subItems: [
19058
+ {
19059
+ label: t("humanRightsQ1"),
19060
+ name: "humanRightsQ1",
19061
+ },
19062
+ {
19063
+ label: t("humanRightsQ2"),
19064
+ name: "humanRightsQ2",
19065
+ },
19066
+ {
19067
+ label: t("humanRightsQ3"),
19068
+ name: "humanRightsQ3",
19069
+ },
19070
+ {
19071
+ label: t("humanRightsQ4"),
19072
+ name: "humanRightsQ4",
19073
+ },
19074
+ {
19075
+ label: t("humanRightsQ5"),
19076
+ name: "humanRightsQ5",
19077
+ },
19078
+ {
19079
+ label: t("humanRightsQ6"),
19080
+ name: "humanRightsQ6",
19081
+ },
19082
+ {
19083
+ label: t("humanRightsQ7"),
19084
+ name: "humanRightsQ7",
19085
+ },
19086
+ ],
19087
+ },
19088
+ {
19089
+ title: t("genderEqalityWomenEmpower"),
19090
+ isTitleVisible: true,
19091
+ subItems: [
19092
+ {
19093
+ label: t("genderEqalityWomenEmpowerQ1"),
19094
+ name: "genderEqalityWomenEmpowerQ1",
19095
+ },
19096
+ {
19097
+ label: t("genderEqalityWomenEmpowerQ2"),
19098
+ name: "genderEqalityWomenEmpowerQ2",
19099
+ },
19100
+ {
19101
+ label: t("genderEqalityWomenEmpowerQ3"),
19102
+ name: "genderEqalityWomenEmpowerQ3",
19103
+ },
19104
+ {
19105
+ label: t("genderEqalityWomenEmpowerQ4"),
19106
+ name: "genderEqalityWomenEmpowerQ4",
19107
+ },
19108
+ {
19109
+ label: t("genderEqalityWomenEmpowerQ5"),
19110
+ name: "genderEqalityWomenEmpowerQ5",
19111
+ },
19112
+ ],
19113
+ },
19114
+ {
19115
+ title: t("accountability"),
19116
+ isTitleVisible: true,
19117
+ subItems: [
19118
+ {
19119
+ label: t("accountabilityQ1"),
19120
+ name: "accountabilityQ1",
19121
+ },
19122
+ {
19123
+ label: t("accountabilityQ2"),
19124
+ name: "AccountabilityQ2",
19125
+ },
19126
+ {
19127
+ label: t("accountabilityQ3"),
19128
+ name: "accountabilityQ3",
19129
+ },
19130
+ ],
19131
+ },
19132
+ ],
19133
+ },
19134
+ {
19135
+ title: t("standardSubHeader"),
19136
+ isTitleVisible: true,
19137
+ subItems: [
19138
+ {
19139
+ title: t("standard1"),
19140
+ isTitleVisible: true,
19141
+ subItems: [
19142
+ {
19143
+ label: t("standard1Q1"),
19144
+ name: "standard1Q1",
19145
+ },
19146
+ {
19147
+ label: t("standard1Q2"),
19148
+ name: "standard1Q2",
19149
+ },
19150
+ {
19151
+ label: t("standard1Q3"),
19152
+ name: "standard1Q3",
19153
+ },
19154
+ {
19155
+ label: t("standard1Q4"),
19156
+ name: "standard1Q4",
19157
+ },
19158
+ {
19159
+ label: t("standard1Q5"),
19160
+ name: "standard1Q5",
19161
+ },
19162
+ {
19163
+ label: t("standard1Q6"),
19164
+ name: "standard1Q6",
19165
+ },
19166
+ {
19167
+ label: t("standard1Q7"),
19168
+ name: "standard1Q7",
19169
+ },
19170
+ {
19171
+ label: t("standard1Q8"),
19172
+ name: "standard1Q8",
19173
+ },
19174
+ {
19175
+ label: t("standard1Q9"),
19176
+ name: "standard1Q9",
19177
+ },
19178
+ {
19179
+ label: t("standard1Q10"),
19180
+ name: "standard1Q10",
19181
+ },
19182
+ {
19183
+ label: t("standard1Q11"),
19184
+ name: "standard1Q11",
19185
+ },
19186
+ {
19187
+ label: t("standard1Q12"),
19188
+ name: "standard1Q12",
19189
+ },
19190
+ {
19191
+ label: t("standard1Q13"),
19192
+ name: "standard1Q13",
19193
+ },
19194
+ {
19195
+ label: t("standard1Q14"),
19196
+ name: "standard1Q14",
19197
+ },
19198
+ ],
19199
+ },
19200
+ {
19201
+ title: t("standard2"),
19202
+ isTitleVisible: true,
19203
+ subItems: [
19204
+ {
19205
+ label: t("standard2Q1"),
19206
+ name: "standard2Q1",
19207
+ },
19208
+ {
19209
+ label: t("standard2Q2"),
19210
+ name: "standard2Q2",
19211
+ },
19212
+ {
19213
+ label: t("standard2Q3"),
19214
+ name: "standard2Q3",
19215
+ },
19216
+ {
19217
+ label: t("standard2Q4"),
19218
+ name: "standard2Q4",
19219
+ },
19220
+ ],
19221
+ },
19222
+ {
19223
+ title: t("standard3"),
19224
+ isTitleVisible: true,
19225
+ subItems: [
19226
+ {
19227
+ label: t("standard3Q1"),
19228
+ name: "standard3Q1",
19229
+ },
19230
+ {
19231
+ label: t("standard3Q2"),
19232
+ name: "standard3Q2",
19233
+ },
19234
+ {
19235
+ label: t("standard3Q3"),
19236
+ name: "standard3Q3",
19237
+ },
19238
+ {
19239
+ label: t("standard3Q4"),
19240
+ name: "standard3Q4",
19241
+ },
19242
+ {
19243
+ label: t("standard3Q5"),
19244
+ name: "standard3Q5",
19245
+ },
19246
+ {
19247
+ label: t("standard3Q6"),
19248
+ name: "standard3Q6",
19249
+ },
19250
+ {
19251
+ label: t("standard3Q7"),
19252
+ name: "standard3Q7",
19253
+ },
19254
+ {
19255
+ label: t("standard3Q8"),
19256
+ name: "standard3Q8",
19257
+ },
19258
+ ],
19259
+ },
19260
+ {
19261
+ title: t("standard4"),
19262
+ isTitleVisible: true,
19263
+ subItems: [
19264
+ {
19265
+ label: t("standard4Q1"),
19266
+ name: "standard4Q1",
19267
+ },
19268
+ {
19269
+ label: t("standard4Q2"),
19270
+ name: "standard4Q2",
19271
+ },
19272
+ {
19273
+ label: t("standard4Q3"),
19274
+ name: "standard4Q3",
19275
+ },
19276
+ {
19277
+ label: t("standard4Q4"),
19278
+ name: "standard4Q4",
19279
+ },
19280
+ {
19281
+ label: t("standard4Q5"),
19282
+ name: "standard4Q5",
19283
+ },
19284
+ ],
19285
+ },
19286
+ {
19287
+ title: t("standard5"),
19288
+ isTitleVisible: true,
19289
+ subItems: [
19290
+ {
19291
+ label: t("standard5Q1"),
19292
+ name: "standard5Q1",
19293
+ },
19294
+ {
19295
+ label: t("standard5Q2"),
19296
+ name: "standard5Q2",
19297
+ },
19298
+ {
19299
+ label: t("standard5Q3"),
19300
+ name: "standard5Q3",
19301
+ },
19302
+ {
19303
+ label: t("standard5Q4"),
19304
+ name: "standard5Q4",
19305
+ },
19306
+ ],
19307
+ },
19308
+ {
19309
+ title: t("standard6"),
19310
+ isTitleVisible: true,
19311
+ subItems: [
19312
+ {
19313
+ label: t("standard6Q1"),
19314
+ name: "standard6Q1",
19315
+ },
19316
+ {
19317
+ label: t("standard6Q2"),
19318
+ name: "standard6Q2",
19319
+ },
19320
+ {
19321
+ label: t("standard6Q3"),
19322
+ name: "standard6Q3",
19323
+ },
19324
+ {
19325
+ label: t("standard6Q4"),
19326
+ name: "standard6Q4",
19327
+ },
19328
+ {
19329
+ label: t("standard6Q5"),
19330
+ name: "standard6Q5",
19331
+ },
19332
+ {
19333
+ label: t("standard6Q6"),
19334
+ name: "standard6Q6",
19335
+ },
19336
+ {
19337
+ label: t("standard6Q7"),
19338
+ name: "standard6Q7",
19339
+ },
19340
+ {
19341
+ label: t("standard6Q8"),
19342
+ name: "standard6Q8",
19343
+ },
19344
+ {
19345
+ label: t("standard6Q9"),
19346
+ name: "standard6Q9",
19347
+ },
19348
+ ],
19349
+ },
19350
+ {
19351
+ title: t("standard7"),
19352
+ isTitleVisible: true,
19353
+ subItems: [
19354
+ {
19355
+ label: t("standard7Q1"),
19356
+ name: "standard7Q1",
19357
+ },
19358
+ {
19359
+ label: t("standard7Q2"),
19360
+ name: "standard7Q2",
19361
+ },
19362
+ {
19363
+ label: t("standard7Q3"),
19364
+ name: "standard7Q3",
19365
+ },
19366
+ {
19367
+ label: t("standard7Q4"),
19368
+ name: "standard7Q4",
19369
+ },
19370
+ {
19371
+ label: t("standard7Q5"),
19372
+ name: "standard7Q5",
19373
+ },
19374
+ {
19375
+ label: t("standard7Q6"),
19376
+ name: "standard7Q6",
19377
+ },
19378
+ ],
19379
+ },
19380
+ {
19381
+ title: t("standard8"),
19382
+ isTitleVisible: true,
19383
+ subItems: [
19384
+ {
19385
+ label: t("standard8Q1"),
19386
+ name: "standard8Q1",
19387
+ },
19388
+ {
19389
+ label: t("standard8Q2"),
19390
+ name: "standard8Q2",
19391
+ },
19392
+ {
19393
+ label: t("standard8Q3"),
19394
+ name: "standard8Q3",
19395
+ },
19396
+ {
19397
+ label: t("standard8Q4"),
19398
+ name: "standard8Q4",
19399
+ },
19400
+ {
19401
+ label: t("standard8Q5"),
19402
+ name: "standard8Q5",
19403
+ },
19404
+ {
19405
+ label: t("standard8Q6"),
19406
+ name: "standard8Q6",
19407
+ },
19408
+ ],
19409
+ },
19410
+ ],
19411
+ },
19412
+ ]), socialEnvironmentalDetails = _b[0], setSocialEnvironmentalDetails = _b[1];
19413
+ useEffect(function () {
19414
+ onFormSubmit(socialEnvironmentalFormDetails);
19415
+ }, [socialEnvironmentalFormDetails]);
19416
+ useEffect(function () {
19417
+ if (SocialEnvironmentalRiskData && !viewOnly) {
19418
+ setSocialEnvironmentalFormDetails(SocialEnvironmentalRiskData);
19419
+ form.setFieldsValue(SocialEnvironmentalRiskData);
19420
+ }
19421
+ else if (SocialEnvironmentalRiskData && viewOnly) {
19422
+ checkHeaderAvailability();
19423
+ }
19424
+ }, [SocialEnvironmentalRiskData]);
19425
+ var checkHeaderAvailability = function () {
19426
+ socialEnvironmentalDetails.forEach(function (section) {
19427
+ section.isTitleVisible = false;
19428
+ section.subItems.forEach(function (subSection) {
19429
+ subSection.isTitleVisible = false;
19430
+ subSection.subItems.forEach(function (element) {
19431
+ if (SocialEnvironmentalRiskData.hasOwnProperty(element === null || element === void 0 ? void 0 : element.name)) {
19432
+ subSection.isTitleVisible = true;
19433
+ }
19434
+ });
19435
+ if (subSection.isTitleVisible) {
19436
+ section.isTitleVisible = true;
19437
+ }
19438
+ });
19439
+ });
19440
+ setSocialEnvironmentalDetails(socialEnvironmentalDetails);
19441
+ };
19442
+ var SocialEnvironmentalDetailsChanged = function (changedValues) { return __awaiter(void 0, void 0, void 0, function () {
19443
+ return __generator(this, function (_a) {
19444
+ setSocialEnvironmentalFormDetails(function (pre) { return (__assign(__assign({}, pre), changedValues)); });
19445
+ return [2 /*return*/];
19446
+ });
19447
+ }); };
19448
+ return (React.createElement("div", { className: "social-environment-tab-item" },
19449
+ viewOnly && !SocialEnvironmentalRiskData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
19450
+ ((viewOnly && SocialEnvironmentalRiskData) || !viewOnly) && (React.createElement(Form, { name: "SocialEnvironmentalDetails", labelWrap: true, form: form, labelAlign: "left", labelCol: { md: 16, lg: 18, xl: 18 }, wrapperCol: { md: 8, lg: 6, xl: 6 }, layout: "horizontal", onValuesChange: SocialEnvironmentalDetailsChanged },
19451
+ !viewOnly &&
19452
+ socialEnvironmentalDetails.map(function (section) {
19453
+ return (React.createElement(React.Fragment, null,
19454
+ React.createElement("div", { className: "social-environment-risk-title-section" },
19455
+ React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
19456
+ React.createElement(Col, { span: 24, className: "social-environment-risk-title" },
19457
+ React.createElement("span", null, section.title)))),
19458
+ section.subItems.map(function (subSection) {
19459
+ return (React.createElement(React.Fragment, null,
19460
+ React.createElement("div", { style: { marginBottom: "15px" } },
19461
+ React.createElement("label", { className: "co-sub-title-text" }, subSection.title)),
19462
+ subSection.subItems.map(function (element) {
19463
+ return (React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
19464
+ React.createElement(Radio.Group, { size: "middle" },
19465
+ React.createElement("div", { className: "radio-container" },
19466
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
19467
+ React.createElement("div", { className: "radio-container" },
19468
+ React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))))));
19469
+ })));
19470
+ })));
19471
+ }),
19472
+ viewOnly &&
19473
+ SocialEnvironmentalRiskData &&
19474
+ socialEnvironmentalDetails.map(function (section) {
19475
+ return (React.createElement(React.Fragment, null,
19476
+ section.isTitleVisible && (React.createElement("div", { style: { marginBottom: "15px" } },
19477
+ React.createElement("label", { className: "co-sub-header-text" }, section.title))),
19478
+ section.subItems.map(function (subSection) {
19479
+ return (React.createElement(React.Fragment, null,
19480
+ subSection.isTitleVisible && (React.createElement("div", { style: { marginBottom: "15px" } },
19481
+ React.createElement("label", { className: "co-sub-title-text" }, subSection.title))),
19482
+ subSection.subItems.map(function (element) {
19483
+ return (React.createElement(React.Fragment, null, SocialEnvironmentalRiskData.hasOwnProperty(element === null || element === void 0 ? void 0 : element.name) && (React.createElement("div", { className: "view-section" },
19484
+ React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
19485
+ React.createElement(Radio.Group, { size: "middle", disabled: true },
19486
+ React.createElement("div", { className: "radio-container" },
19487
+ React.createElement(Radio.Button, { className: "radio" }, SocialEnvironmentalRiskData[element.name]))))))));
19488
+ })));
19489
+ })));
19490
+ })))));
19491
+ };
19492
+
19013
19493
  var CoBenifitsComponent = function (props) {
19014
19494
  var onClickedBackBtn = props.onClickedBackBtn, onFormSubmit = props.onFormSubmit, coBenefitsDetails = props.coBenefitsDetails, submitButtonText = props.submitButtonText, viewOnly = props.viewOnly, coBenifitsViewDetails = props.coBenifitsViewDetails, _a = props.loading, loading = _a === void 0 ? false : _a, sdgGoalImages = props.sdgGoalImages, translator = props.translator, useConnection = props.useConnection;
19015
19495
  var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
19016
19496
  var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
19017
19497
  var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
19018
- translator.setDefaultNamespace('coBenifits');
19498
+ translator.setDefaultNamespace("coBenifits");
19019
19499
  var t = translator.t;
19020
19500
  var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
19021
19501
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
@@ -19040,6 +19520,9 @@ var CoBenifitsComponent = function (props) {
19040
19520
  setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { socialValueDetails: socialValueDetails })); });
19041
19521
  setIsSocialFormValid(isFormValid);
19042
19522
  };
19523
+ var onSocialEnvironmentalFormSubmit = function (socialEnvironmentDetails) {
19524
+ setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { socialEnvironmentDetails: socialEnvironmentDetails })); });
19525
+ };
19043
19526
  var tabItems = [
19044
19527
  {
19045
19528
  label: t("coBenifits:sdgGoals"),
@@ -19056,34 +19539,27 @@ var CoBenifitsComponent = function (props) {
19056
19539
  children: (React.createElement(GenderParity, { onFormSubmit: onGenderParityFormSubmit, genderParityViewData: viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.genderPariy), viewOnly: viewOnly || false, translator: translator })),
19057
19540
  },
19058
19541
  {
19059
- label: t("coBenifits:safeguards"),
19542
+ label: t("coBenifits:undpSesp"),
19060
19543
  key: "3",
19061
19544
  children: (React.createElement(Safeguards, { safeGuardViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.safeguardDetails)) ||
19062
19545
  (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.safeguardDetails)), viewOnly: viewOnly || false, onFormSubmit: onSafeguardFormSubmit, translator: translator })),
19063
19546
  },
19064
19547
  {
19065
- label: t("coBenifits:environmental"),
19548
+ label: t("coBenifits:unfcccSdTool"),
19066
19549
  key: "4",
19067
- children: (React.createElement(Environmental, { onFormSubmit: onEnvironmentalFormSubmit, environmentalViewData: viewOnly
19068
- ? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental)
19069
- ? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental
19070
- : {}
19071
- : undefined, viewOnly: viewOnly || false, translator: translator })),
19072
- },
19073
- {
19074
- label: t("coBenifits:social"),
19075
- key: "5",
19076
- children: (React.createElement(Social, { onFormSubmit: onSocialFormSubmit, socialViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.socialValueDetails)) ||
19077
- (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialValueDetails)), viewOnly: viewOnly || false, translator: translator })),
19078
- },
19079
- {
19080
- label: t("coBenifits:economic"),
19081
- key: "6",
19082
- children: (React.createElement(Economic, { onFormSubmit: onEconomicFormSubmit, economicViewData: viewOnly
19083
- ? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic)
19084
- ? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic
19085
- : {}
19086
- : undefined, viewOnly: viewOnly || false, translator: translator })),
19550
+ children: (React.createElement(React.Fragment, null,
19551
+ React.createElement(Environmental, { onFormSubmit: onEnvironmentalFormSubmit, environmentalViewData: viewOnly
19552
+ ? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental)
19553
+ ? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.environmental
19554
+ : {}
19555
+ : undefined, viewOnly: viewOnly || false, translator: translator }),
19556
+ React.createElement(Social, { onFormSubmit: onSocialFormSubmit, socialViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.socialValueDetails)) ||
19557
+ (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialValueDetails)), viewOnly: viewOnly || false, translator: translator }),
19558
+ React.createElement(Economic, { onFormSubmit: onEconomicFormSubmit, economicViewData: viewOnly
19559
+ ? (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic)
19560
+ ? coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.economic
19561
+ : {}
19562
+ : undefined, viewOnly: viewOnly || false, translator: translator }))),
19087
19563
  },
19088
19564
  {
19089
19565
  label: t("coBenifits:assessment"),
@@ -19091,6 +19567,12 @@ var CoBenifitsComponent = function (props) {
19091
19567
  children: (React.createElement(Assessment, { onFormSubmit: onAssessmentFormSubmit, assessmentViewData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.assessmentDetails)) ||
19092
19568
  (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.assessmentDetails)), viewOnly: viewOnly || false, useConnection: useConnection, translator: translator })),
19093
19569
  },
19570
+ {
19571
+ label: t("coBenifits:socialEnvironmentalRisk"),
19572
+ key: "8",
19573
+ children: (React.createElement(SocialEnvironmentalRisk, { onFormSubmit: onSocialEnvironmentalFormSubmit, SocialEnvironmentalRiskData: (viewOnly && (coBenifitsViewDetails === null || coBenifitsViewDetails === void 0 ? void 0 : coBenifitsViewDetails.socialEnvironmentDetails)) ||
19574
+ (!viewOnly && (coBenefitsDetails === null || coBenefitsDetails === void 0 ? void 0 : coBenefitsDetails.socialEnvironmentDetails)), viewOnly: viewOnly || false, translator: translator })),
19575
+ },
19094
19576
  ];
19095
19577
  var onCoBenefitSubmit = function () {
19096
19578
  var economicOverallValidation = true;
@@ -19205,7 +19687,7 @@ var CoBenifitsComponent = function (props) {
19205
19687
  if (environmentalOverallValidation !== true) {
19206
19688
  message.open({
19207
19689
  type: "error",
19208
- content: "Fill the required fields in Co-benifits Environmental section",
19690
+ content: "Fill the required fields in Co-benefits UNFCCC SD Tool section",
19209
19691
  duration: 4,
19210
19692
  style: { textAlign: "right", marginRight: 15, marginTop: 10 },
19211
19693
  });
@@ -19214,7 +19696,7 @@ var CoBenifitsComponent = function (props) {
19214
19696
  if (!isSocialFormValid) {
19215
19697
  message.open({
19216
19698
  type: "error",
19217
- content: "Fill the required fields in Co-benifits Social section",
19699
+ content: "Fill the required fields in Co-benefits UNFCCC SD Tool section",
19218
19700
  duration: 4,
19219
19701
  style: { textAlign: "right", marginRight: 15, marginTop: 10 },
19220
19702
  });
@@ -19223,7 +19705,7 @@ var CoBenifitsComponent = function (props) {
19223
19705
  if (economicOverallValidation !== true) {
19224
19706
  message.open({
19225
19707
  type: "error",
19226
- content: "Fill the required fields in Co-benifits Economic section",
19708
+ content: "Fill the required fields in Co-benefits UNFCCC SD Tool section",
19227
19709
  duration: 4,
19228
19710
  style: { textAlign: "right", marginRight: 15, marginTop: 10 },
19229
19711
  });
@@ -19232,7 +19714,7 @@ var CoBenifitsComponent = function (props) {
19232
19714
  if (!isAssessmentFormValid) {
19233
19715
  message.open({
19234
19716
  type: "error",
19235
- content: "Fill the required fields in Co-benifits Assessment section",
19717
+ content: "Fill the required fields in Co-benefits Assessment section",
19236
19718
  duration: 4,
19237
19719
  style: { textAlign: "right", marginRight: 15, marginTop: 10 },
19238
19720
  });
@@ -19444,7 +19926,7 @@ var AddNdcActionComponent = function (props) {
19444
19926
  React.createElement(Steps, { progressDot: true, direction: "vertical", current: current, items: stepItems })))));
19445
19927
  };
19446
19928
 
19447
- var css_248z$d = ".ndc-details-view .card-container {\n margin-bottom: 16px;\n width: 100%;\n border-radius: 10px; }\n .ndc-details-view .card-container .co-benifits-view .title {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n margin-left: 0.5rem; }\n .ndc-details-view .card-container .action-btns {\n margin-top: 25px;\n margin-bottom: -15px;\n justify-content: end; }\n\n.ndc-details-view .fix-height {\n height: 350px; }\n\n.title-icon {\n padding-right: 10px; }\n\n.title-text {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600; }\n\n.title {\n margin-bottom: 5px; }\n\n.ndc-action-report-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-report-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin: 5px 25px;\n font-size: 0.8rem; }\n .ndc-action-report-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%; }\n .ndc-action-report-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-report-body .report-details .report-type .name {\n font-weight: 500;\n color: rgba(58, 53, 65, 0.6); }\n .ndc-action-report-body .report-details .report-type .time {\n color: rgba(58, 53, 65, 0.5);\n width: max-content; }\n .ndc-action-report-body .report-details .report-type .icon {\n display: flex;\n align-items: center;\n width: 30%;\n color: rgba(58, 53, 65, 0.6); }\n .ndc-action-report-body .report-details .report-type .empty {\n font-weight: 500;\n color: rgba(58, 53, 65, 0.6); }\n .ndc-action-report-body .report-details .ant-row {\n margin: 0px 30px auto; }\n .ndc-action-report-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%; }\n .ndc-action-report-body .report-details .report-link .version {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-report-body .report-details .report-link .link {\n margin-left: 1rem; }\n";
19929
+ var css_248z$d = ".ndc-details-view .card-container {\n margin-bottom: 16px;\n width: 100%;\n border-radius: 10px; }\n .ndc-details-view .card-container .co-benifits-view .title {\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n margin-left: 0.5rem; }\n .ndc-details-view .card-container .action-btns {\n margin-top: 25px;\n margin-bottom: -15px;\n justify-content: end; }\n\n.ndc-details-view .fix-height {\n height: 350px; }\n";
19448
19930
  styleInject(css_248z$d);
19449
19931
 
19450
19932
  var css_248z$c = ".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\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 .row {\n display: flex;\n width: 40%;\n align-items: center;\n justify-content: space-between; }\n .info-view .field-value .row .key {\n display: flex;\n width: 50%;\n align-items: center;\n justify-content: flex-start; }\n .info-view .field-value .row .data {\n display: flex;\n width: 50%;\n align-items: center;\n justify-content: flex-start; }\n\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
@@ -19542,19 +20024,15 @@ var NdcActionViewComponent = function (props) {
19542
20024
  var userInfoState = useUserContext().userInfoState;
19543
20025
  var post = useConnection().post;
19544
20026
  var state = useLocation().state;
19545
- var _d = useState({}); _d[0]; var setNdcActionReportDetails = _d[1];
20027
+ var _d = useState({}), ndcActionReportDetails = _d[0], setNdcActionReportDetails = _d[1];
19546
20028
  var _e = useState(false), isLoading = _e[0], setIsLoading = _e[1];
19547
- var _f = useState(), monitoringReportData = _f[0], setMonitoringReportData = _f[1];
19548
- var _g = useState(""), monitoringReportversion = _g[0], setMonitoringReportversion = _g[1];
19549
- var _h = useState(), verificationReportData = _h[0], setVerificationReportData = _h[1];
19550
- var _j = useState(""), verificationReportVersion = _j[0], setVerificationReportversion = _j[1];
19551
- var _k = useState(), ndcActionDetails = _k[0], setNdcActionDetails = _k[1];
19552
- var _l = useState(); _l[0]; var setCoBenifitsComponentnDetails = _l[1];
19553
- var _m = useState(0), emissionsReductionExpected = _m[0], setEmissionsReductionExpected = _m[1];
19554
- var _o = useState(0), emissionsReductionAchieved = _o[0], setEmissionsReductionAchieved = _o[1];
19555
- var _p = useState([]), programmeOwnerId = _p[0], setProgrammeOwnerId = _p[1];
19556
- var _q = useState(false), canUploadMonitorReport = _q[0], setCanUploadMonitorReport = _q[1];
19557
- var _r = useState(false), monitoringReportAccepted = _r[0], setMonitoringReportAccepted = _r[1];
20029
+ var _f = useState(), ndcActionDetails = _f[0], setNdcActionDetails = _f[1];
20030
+ var _g = useState(); _g[0]; var setCoBenifitsComponentnDetails = _g[1];
20031
+ var _h = useState(0), emissionsReductionExpected = _h[0], setEmissionsReductionExpected = _h[1];
20032
+ var _j = useState(0), emissionsReductionAchieved = _j[0], setEmissionsReductionAchieved = _j[1];
20033
+ var _k = useState([]), programmeOwnerId = _k[0], setProgrammeOwnerId = _k[1];
20034
+ var _l = useState(false), canUploadMonitorReport = _l[0], setCanUploadMonitorReport = _l[1];
20035
+ var _m = useState(false), monitoringReportAccepted = _m[0], setMonitoringReportAccepted = _m[1];
19558
20036
  var getProgrammeById = function (programmeId) { return __awaiter(void 0, void 0, void 0, function () {
19559
20037
  var response, error_1;
19560
20038
  var _a, _b, _c;
@@ -19596,16 +20074,13 @@ var NdcActionViewComponent = function (props) {
19596
20074
  }
19597
20075
  });
19598
20076
  }); };
19599
- var getProjectReportActions = function (reportData, reportVersion) {
20077
+ var getProjectReportActions = function (reportData) {
19600
20078
  return (React.createElement(Row, null,
19601
20079
  React.createElement("div", { className: "icon" },
19602
20080
  (reportData === null || reportData === void 0 ? void 0 : reportData.status) === DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
19603
20081
  (reportData === null || reportData === void 0 ? void 0 : reportData.status) === DocumentStatus.REJECTED && (React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
19604
20082
  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 },
19605
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))),
19606
- (reportData === null || reportData === void 0 ? void 0 : reportData.txTime) && (React.createElement("div", { className: "time" },
19607
- moment(parseInt(reportData === null || reportData === void 0 ? void 0 : reportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
19608
- " ~ " + reportVersion))));
20083
+ React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))))));
19609
20084
  };
19610
20085
  var getProjectReports = function () { return __awaiter(void 0, void 0, void 0, function () {
19611
20086
  var reportDetails, response, exception_1;
@@ -19653,24 +20128,12 @@ var NdcActionViewComponent = function (props) {
19653
20128
  if ((item === null || item === void 0 ? void 0 : item.status) === DocumentStatus.ACCEPTED) {
19654
20129
  setMonitoringReportAccepted(true);
19655
20130
  }
19656
- var versionfull = (item === null || item === void 0 ? void 0 : item.url).split("_")[(item === null || item === void 0 ? void 0 : item.url).split("_").length - 1];
19657
- var version = versionfull ? versionfull.split(".")[0] : "1";
19658
- var moniteringVersion = version.startsWith("V") ? version : "V1";
19659
20131
  reportDetails[t("ndcAction:viewMoniteringReport")] =
19660
- getProjectReportActions(item, moniteringVersion);
19661
- setMonitoringReportData(item);
19662
- setMonitoringReportversion(moniteringVersion);
20132
+ getProjectReportActions(item);
19663
20133
  }
19664
20134
  else if ((_b = item === null || item === void 0 ? void 0 : item.url) === null || _b === void 0 ? void 0 : _b.includes("VERIFICATION_REPORT")) {
19665
- var versionfull = (item === null || item === void 0 ? void 0 : item.url).split("_")[(item === null || item === void 0 ? void 0 : item.url).split("_").length - 1];
19666
- var version = versionfull ? versionfull.split(".")[0] : "1";
19667
- var verificationVersion = version.startsWith("V")
19668
- ? version
19669
- : "V1";
19670
20135
  reportDetails[t("ndcAction:viewVerificationReport")] =
19671
- getProjectReportActions(item, verificationVersion);
19672
- setVerificationReportData(item);
19673
- setVerificationReportversion(verificationVersion);
20136
+ getProjectReportActions(item);
19674
20137
  }
19675
20138
  });
19676
20139
  }
@@ -19924,60 +20387,8 @@ var NdcActionViewComponent = function (props) {
19924
20387
  React.createElement(Col, { lg: 8, md: 24 },
19925
20388
  React.createElement(Skeleton, { loading: isLoading, active: true },
19926
20389
  React.createElement(Card, { className: "card-container fix-height" },
19927
- React.createElement("div", { className: "title" },
19928
- React.createElement("span", { className: "title-icon" }, React.createElement(Icon.FileEarmarkText, null)),
19929
- React.createElement("span", { className: "title-text" }, t("ndcAction:viewReportsTitle"))),
19930
- React.createElement("div", { className: "ndc-action-report-body" },
19931
- React.createElement("div", { className: "report-details" },
19932
- React.createElement("div", { className: "report-type" },
19933
- React.createElement("div", { className: "name-time-container" },
19934
- React.createElement("div", { className: canUploadMonitorReport && monitoringReportAccepted
19935
- ? "name"
19936
- : "empty" }, t("programme:monitoringReport")),
19937
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime) && (React.createElement("div", { className: "time" },
19938
- moment(parseInt(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
19939
- " ~ " + monitoringReportversion))),
19940
- React.createElement("div", { className: "icon" }, !(monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
19941
- ? t("programme:notAuthToUploadDoc")
19942
- : uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId)
19943
- ? !canUploadMonitorReport &&
19944
- t("programme:programmeNotAuth")
19945
- : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
19946
- React.createElement(FileAddOutlined, null))))),
19947
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) && (React.createElement(Row, null,
19948
- React.createElement("div", { className: "icon" },
19949
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
19950
- DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
19951
- (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.status) ===
19952
- DocumentStatus.REJECTED && (React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
19953
- React.createElement("div", { className: "link mg-left-1" }, (monitoringReportData === null || monitoringReportData === void 0 ? void 0 : monitoringReportData.url) &&
19954
- 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 },
19955
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } }))))))),
19956
- React.createElement("div", { className: "report-details" },
19957
- React.createElement("div", { className: "report-type" },
19958
- React.createElement("div", { className: "name-time-container" },
19959
- React.createElement("div", { className: canUploadMonitorReport && monitoringReportAccepted
19960
- ? "name"
19961
- : "empty" }, t("programme:verificationReport")),
19962
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.txTime) && (React.createElement("div", { className: "time" },
19963
- moment(parseInt(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.txTime)).format("DD MMMM YYYY @ HH:mm"),
19964
- " ~ " + verificationReportVersion))),
19965
- React.createElement("div", { className: "icon" }, !(verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement(Tooltip, { arrowPointAtCenter: true, placement: "top", trigger: "hover", title: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.userRole) === Role.ViewOnly
19966
- ? t("programme:notAuthToUploadDoc")
19967
- : uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId)
19968
- ? !monitoringReportAccepted &&
19969
- t("programme:monitoringRepNotApproved")
19970
- : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
19971
- React.createElement(FileAddOutlined, null))))),
19972
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) && (React.createElement(Row, null,
19973
- React.createElement("div", { className: "icon" },
19974
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) ===
19975
- DocumentStatus.ACCEPTED && (React.createElement(CheckCircleOutlined, { className: "common-progress-icon", style: { color: "#5DC380" } })),
19976
- (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.status) ===
19977
- DocumentStatus.REJECTED && (React.createElement(ExclamationCircleOutlined, { className: "common-progress-icon", style: { color: "#FD6F70" } }))),
19978
- React.createElement("div", { className: "link mg-left-1" }, (verificationReportData === null || verificationReportData === void 0 ? void 0 : verificationReportData.url) &&
19979
- 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 },
19980
- React.createElement(BookOutlined, { className: "common-progress-icon margin-right-1", style: { color: "#3F3A47" } })))))))))))),
20390
+ React.createElement("div", null,
20391
+ React.createElement(InfoView, { data: ndcActionReportDetails, title: t("ndcAction:viewReportsTitle"), icon: React.createElement(Icon.FileEarmarkText, null) })))))),
19981
20392
  ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action) === NdcActionTypes.Mitigation ||
19982
20393
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action) === NdcActionTypes.CrossCutting) && (React.createElement(Row, null,
19983
20394
  React.createElement(Col, { lg: 24, className: "gutter-row" },
@@ -25484,7 +25895,7 @@ var RejectDocumentationConfirmationModel = function (props) {
25484
25895
  React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
25485
25896
  };
25486
25897
 
25487
- 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: center;\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 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";
25898
+ 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: center;\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 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 .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";
25488
25899
  styleInject(css_248z$2);
25489
25900
 
25490
25901
  var NdcActionBody = function (props) {
@@ -25702,8 +26113,8 @@ var NdcActionBody = function (props) {
25702
26113
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
25703
26114
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
25704
26115
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
25705
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
25706
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26116
+ ? { color: "#3F3A47", cursor: "pointer" }
26117
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
25707
26118
  if (canUploadMonitorReport &&
25708
26119
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
25709
26120
  handleFileUploadMonitor();
@@ -25726,8 +26137,8 @@ var NdcActionBody = function (props) {
25726
26137
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
25727
26138
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: canUploadMonitorReport &&
25728
26139
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)
25729
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
25730
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26140
+ ? { color: "#3F3A47", cursor: "pointer" }
26141
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
25731
26142
  if (canUploadMonitorReport &&
25732
26143
  uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
25733
26144
  handleFileUploadMonitor();
@@ -25776,8 +26187,8 @@ var NdcActionBody = function (props) {
25776
26187
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
25777
26188
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
25778
26189
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
25779
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
25780
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26190
+ ? { color: "#3F3A47", cursor: "pointer" }
26191
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
25781
26192
  if (monitoringReportAccepted &&
25782
26193
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
25783
26194
  handleFileUploadVerification();
@@ -25800,8 +26211,8 @@ var NdcActionBody = function (props) {
25800
26211
  : t("programme:notAuthToUploadDoc"), overlayClassName: "custom-tooltip" },
25801
26212
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: monitoringReportAccepted &&
25802
26213
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)
25803
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
25804
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26214
+ ? { color: "#3F3A47", cursor: "pointer" }
26215
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
25805
26216
  if (monitoringReportAccepted &&
25806
26217
  uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
25807
26218
  handleFileUploadVerification();
@@ -25815,7 +26226,7 @@ var NdcActionBody = function (props) {
25815
26226
  React.createElement(RejectDocumentationConfirmationModel, { actionInfo: actionInfo, onActionConfirmed: handleOk, onActionCanceled: handleCancel, openModal: openRejectDocConfirmationModal, errorMsg: "", loading: loading, translator: translator })));
25816
26227
  };
25817
26228
 
25818
- 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";
26229
+ 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\n.info-view .field {\n margin: 15px 25px;\n font-size: 0.8rem; }\n";
25819
26230
  styleInject(css_248z$1);
25820
26231
 
25821
26232
  var ProgrammeDocuments = function (props) {
@@ -26082,8 +26493,8 @@ var ProgrammeDocuments = function (props) {
26082
26493
  ? t("programme:notAuthToUploadDoc")
26083
26494
  : !uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
26084
26495
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus)
26085
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
26086
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26496
+ ? { color: "#3F3A47", cursor: "pointer" }
26497
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
26087
26498
  return uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && handleDesignDocFileUpload();
26088
26499
  } })),
26089
26500
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -26096,8 +26507,8 @@ var ProgrammeDocuments = function (props) {
26096
26507
  ? t("programme:notAuthToUploadDoc")
26097
26508
  : !uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
26098
26509
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus)
26099
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
26100
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26510
+ ? { color: "#3F3A47", cursor: "pointer" }
26511
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
26101
26512
  return uploadDocUserPermission(userInfoState, DocType.DESIGN_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && handleDesignDocFileUpload();
26102
26513
  } })),
26103
26514
  React.createElement("input", { type: "file", ref: fileInputRef, style: { display: "none" }, accept: ".xls, .xlsx, .ppt, .pptx, .csv, .doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -26150,8 +26561,8 @@ var ProgrammeDocuments = function (props) {
26150
26561
  : !uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
26151
26562
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === DocumentStatus.ACCEPTED &&
26152
26563
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus)
26153
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
26154
- : { color: "#cacaca", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26564
+ ? { color: "#3F3A47", cursor: "pointer" }
26565
+ : { color: "#cacaca" }, onClick: function () {
26155
26566
  return designDocStatus === DocumentStatus.ACCEPTED &&
26156
26567
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) &&
26157
26568
  handleMethodologyFileUpload();
@@ -26170,8 +26581,8 @@ var ProgrammeDocuments = function (props) {
26170
26581
  : t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
26171
26582
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: designDocStatus === DocumentStatus.ACCEPTED &&
26172
26583
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus)
26173
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
26174
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26584
+ ? { color: "#3F3A47", cursor: "pointer" }
26585
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
26175
26586
  return designDocStatus === DocumentStatus.ACCEPTED &&
26176
26587
  uploadDocUserPermission(userInfoState, DocType.METHODOLOGY_DOCUMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) &&
26177
26588
  handleMethodologyFileUpload();
@@ -26225,8 +26636,8 @@ var ProgrammeDocuments = function (props) {
26225
26636
  ? t("programme:notAuthToUploadDoc")
26226
26637
  : !uploadDocUserPermission(userInfoState, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
26227
26638
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT, programmeOwnerId, ministryLevelPermission, programmeStatus)
26228
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
26229
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26639
+ ? { color: "#3F3A47", cursor: "pointer" }
26640
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
26230
26641
  return uploadDocUserPermission(userInfoState, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && handleImpactAssessmentFileUpload();
26231
26642
  } })),
26232
26643
  React.createElement("input", { type: "file", ref: fileInputRefImpactAssessment, style: { display: "none" }, accept: ".doc, .docx, .pdf, .png, .jpg", onChange: function (e) {
@@ -26238,8 +26649,8 @@ var ProgrammeDocuments = function (props) {
26238
26649
  ? t("programme:notAuthToUploadDoc")
26239
26650
  : !uploadDocUserPermission(userInfoState, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && t("programme:orgNotAuth"), overlayClassName: "custom-tooltip" },
26240
26651
  React.createElement(FileAddOutlined, { className: "common-progress-icon", style: uploadDocUserPermission(userInfoState, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT, programmeOwnerId, ministryLevelPermission, programmeStatus)
26241
- ? { color: "#3F3A47", cursor: "pointer", margin: "0px 0px 2.5px 0px" }
26242
- : { color: "#cacaca", cursor: "default", margin: "0px 0px 2.5px 0px" }, onClick: function () {
26652
+ ? { color: "#3F3A47", cursor: "pointer" }
26653
+ : { color: "#cacaca", cursor: "default" }, onClick: function () {
26243
26654
  return uploadDocUserPermission(userInfoState, DocType.ENVIRONMENTAL_IMPACT_ASSESSMENT, programmeOwnerId, ministryLevelPermission, programmeStatus) && handleImpactAssessmentFileUpload();
26244
26655
  } })),
26245
26656
  React.createElement("input", { type: "file", ref: fileInputRefImpactAssessment, style: { display: "none" }, accept: ".doc, .docx, .pdf, .png, .jpg", onChange: function (e) {