@undp/carbon-library 1.0.302-CARBON-433.1 → 1.0.302-gayanath-merge-patch.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +484 -419
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +484 -419
- package/dist/esm/index.js.map +1 -1
- package/dist/locales/i18n/coBenifits/en.json +104 -1
- package/dist/locales/i18n/creditTransfer/en.json +2 -1
- package/dist/locales/i18n/ndc/en.json +4 -3
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
@@ -1205,7 +1205,7 @@ var CompanyManagementComponent = function (props) {
|
|
1205
1205
|
var css_248z$w = ".company-details-form-container {\n width: 100%; }\n .company-details-form-container .company-details-form .steps-actions {\n display: flex;\n flex-direction: row-reverse; }\n .company-details-form-container .company-details-form .steps-actions .mg-left-1 {\n margin-left: 1rem; }\n .company-details-form-container .company-details-form .row .website .ant-input {\n margin-left: 0.3rem; }\n .company-details-form-container .company-details-form .row .website .ant-input-group-addon {\n border: 1px solid #d9d9d9; }\n .company-details-form-container .company-details-form .row .logo-upload-section {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: start;\n width: 100%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload {\n width: 20%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload-list {\n align-items: center;\n justify-content: center;\n width: 75%; }\n .company-details-form-container .company-details-form .row .logo-upload-section .ant-upload-list .ant-upload-list-item {\n margin-top: 0; }\n .company-details-form-container .company-details-form .row .details-part-one .space-container {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-one .space-container .ant-space-item {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #519e4f !important;\n border-color: #519e4f !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #519e4f; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #ffa070 !important;\n border-color: #ffa070 !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #ffa070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container {\n width: 30%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #9155fd !important;\n border-color: #9155fd !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #9155fd; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container {\n width: 45%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #16b1ff !important;\n border-color: #16b1ff !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #16b1ff; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container {\n width: 25%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n) {\n color: #707070 !important;\n border-color: #707070 !important;\n box-shadow: none; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer-radio-container .anticon {\n background: #eeeeee;\n border-radius: 50px;\n padding: 0.2rem;\n color: #707070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .ant-radio-button-wrapper::before {\n background-color: transparent; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .ant-radio-button-wrapper {\n border: 1px solid #d9d9d9; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .anticon {\n margin-right: 0.5rem; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .certifier .ant-radio-button-checked {\n background: rgba(128, 255, 0, 0.12);\n color: #519e4f; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .dev .ant-radio-button-checked {\n background: rgba(254, 241, 173, 0.5);\n color: #ffa070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .gov .ant-radio-button-checked {\n background: rgba(185, 226, 244, 0.56);\n color: #16b1ff; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .minister .ant-radio-button-checked {\n background: rgba(198, 144, 251, 0.12);\n color: #9155fd; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .observer .ant-radio-button-checked {\n background: rgba(176, 190, 197, 0.23);\n color: #707070; }\n .company-details-form-container .company-details-form .row .details-part-two .role-group .role-icons {\n margin-right: 5px; }\n .company-details-form-container .company-details-form .row .details-part-two .space-container {\n width: 100%; }\n .company-details-form-container .company-details-form .row .details-part-two .space-container .ant-space-item {\n width: 100%; }\n\n.step-title-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n margin-bottom: 1rem; }\n .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 .step-title-container .title {\n font-size: 1rem;\n font-weight: 600;\n color: #3a3541; }\n\n.add-company-main-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 50px; }\n .add-company-main-container .title-container {\n display: flex;\n flex-direction: column;\n border-radius: 5px; }\n .add-company-main-container .title-container .main {\n font-size: 1.25rem;\n font-weight: 500;\n color: #16b1ff; }\n .add-company-main-container .title-container .sub {\n font-size: 0.8rem;\n color: #555657; }\n .add-company-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-company-main-container .adding-section .form-section {\n display: flex;\n margin-bottom: 2rem; }\n .add-company-main-container .adding-section .form-section .form-one {\n width: 100%; }\n .add-company-main-container .adding-section .form-section .steps {\n width: 15%; }\n .add-company-main-container .adding-section .form-section .steps-content {\n width: 85%; }\n .add-company-main-container .adding-section .steps-action {\n display: flex;\n flex-direction: row-reverse; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n height: auto;\n max-height: 200px; }\n\n.hide {\n display: none !important; }\n";
|
1206
1206
|
styleInject(css_248z$w);
|
1207
1207
|
|
1208
|
-
var css_248z$v = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n body .ant-menu {\n background-color: #f4f5fa; }\n body .ant-layout-header {\n background-color: #f4f5fa; }\n body .ant-layout {\n background-color: #f4f5fa; }\n body .ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n body .ant-menu-item {\n background-color: #f4f5fa; }\n body .ant-menu-sub {\n background-color: #f4f5fa; }\n body .ant-table-content {\n font-family: \"Inter\"; }\n body .ant-input {\n border-radius: 5px !important; }\n body .ant-btn {\n border-radius: 5px !important; }\n body .ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n body .ant-input-group .ant-input {\n width: 99% !important; }\n body .ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n body .ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n body .ant-upload-list-picture .ant-upload-list-item-error,\n body .ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n body .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n body .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n body .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n body .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n body .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n body .ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n body .ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n body .ant-table-thead\n> tr\n> th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: transparent !important; }\n body .ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n body .ant-form-item-label\n> label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n margin-left: 0.2rem !important;\n color: rgba(255, 77, 79, 0.8) !important; }\n body .ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n body .space-container {\n width: 100%; }\n body .space-container .ant-space-item {\n width: 100%; }\n body .PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n body .PhoneInput .PhoneInputInput {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border: 1px solid #d9d9d9 !important;\n outline: none; }\n body .filter-title {\n color: rgba(58, 53, 65, 0.8);\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.875rem; }\n body .ant-radio-wrapper {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.8); }\n body .ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n body .PhoneInput .PhoneInputInput:focus-visible,\n body .PhoneInput .PhoneInputInput:hover {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border-right: 1px solid #40a9ff !important;\n outline: 1px solid #40a9ff; }\n body .layout-content-container {\n padding-bottom: 100px; }\n body .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n body .layout-content-container .ant-btn {\n height: 32px;\n font-weight: 500;\n font-size: 0.8rem;\n border-radius: 0.3rem;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);\n min-width: 80px;\n box-shadow: none; }\n body .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n body .content-container {\n padding: 0px 20px; }\n body .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n body .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n body .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n body .content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n body .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n body .content-card .action-bar button {\n width: fit-content; }\n body .content-card .filter-section {\n padding: 1.4rem 1.3rem 1.6rem 1.3rem;\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: end; }\n body .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n body .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n body .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n body .content-card .filter-section .ant-input-search\n> .ant-input-group\n> .ant-input-group-addon:last-child\n.ant-input-search-button {\n padding-top: 0;\n padding-bottom: 0;\n border-radius: 0 0.313rem 0.313rem 0 !important; }\n body .layout-content-container .ant-btn {\n min-width: 50px !important; }\n body .table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n body .action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n body .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n body .action-menu .anticon-edit {\n color: #16b1ff; }\n body .action-menu .anticon-delete {\n color: #f25a29; }\n body .ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n body .ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n body .ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n body .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n body .ant-tag {\n border-radius: 20px; }\n body .clickable {\n cursor: pointer; }\n body .text-center {\n text-align: center; }\n body .float-left {\n float: left; }\n body .float-right {\n float: right; }\n body .apexcharts-canvas {\n font-family: \"Inter\" !important; }\n body .apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n body .ant-tag {\n padding: 1px 10px; }\n body .flex-display {\n display: flex; }\n body .ant-modal-footer {\n border-top: none;\n text-align: center; }\n body .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n body .ant-modal-header {\n border-radius: 15px;\n border: none; }\n body .ant-modal-content {\n border-radius: 15px;\n border: none; }\n body .ant-modal-header {\n border: none; }\n body .ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n body .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n body .ant-modal-body .form-label {\n text-align: left; }\n body .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n body .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n body .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n body .popup-header {\n text-align: center;\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n font-family: \"Inter\";\n font-size: 0.9rem;\n margin: 25px 20px -20px 20px; }\n body .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n body .popup-header img {\n height: 100px; }\n body .popup-success .icon {\n color: #5dc380; }\n body .popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n body .popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-primary .icon {\n color: #16b1ff; }\n body .popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n body .popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n body .popup-danger .ant-btn-primary {\n background: rgba(255, 77, 79, 0.8);\n border-radius: rgba(255, 77, 79, 0.8);\n border: none; }\n body .popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n body .ant-modal-footer .ant-btn-default {\n color: rgba(140, 140, 140, 0.7) !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n body .ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n body .filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n body .pull-right {\n float: right; }\n body .disabled {\n opacity: 0.5; }\n body .mg-left-3 {\n margin-left: 3rem; }\n body .mg-left-2 {\n margin-left: 2rem !important; }\n body .mg-left-1 {\n margin-left: 1rem; }\n body .mg-top-1 {\n margin-top: 1rem; }\n body .mg-top-2 {\n margin-top: 2rem; }\n body .mg-bottom-1 {\n margin-bottom: 1rem !important; }\n body .transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n body .transfer-form .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 20px;\n align-items: center;\n justify-content: start;\n margin-left: 5px; }\n body .transfer-form .ant-row {\n align-items: unset; }\n body .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n body .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n body .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n body .transfer-form label {\n font-size: 0.8rem; }\n body .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n body .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n body .color-error {\n color: rgba(255, 77, 79, 0.8); }\n body .color-primary {\n color: #16b1ff; }\n body .ant-input-number-input {\n text-align: right; }\n body .text-left {\n text-align: left; }\n body .ant-form-item .ant-radio-group {\n text-align: left; }\n body .loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n body .ant-tag-purple {\n color: #976ed7; }\n body .ant-tag-orange {\n color: #ff8f56; }\n body .ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n body .ant-popover-inner {\n border-radius: 4px; }\n body .ant-input-number {\n border-radius: 5px; }\n body .ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n body .flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n body .b-icon {\n vertical-align: middle; }\n body .ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n body .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n body .ant-message-notice-content .ant-message-error {\n color: rgba(255, 77, 79, 0.8);\n border: 1px solid rgba(255, 77, 79, 0.8); }\n body .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n body .ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n body .sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n body .search-filter {\n margin-right: 15px; }\n body .mg-bottom-0 {\n margin-bottom: 0px; }\n body .padding-bottom-0 {\n padding-bottom: 0px; }\n body .ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n body .nextline-overflow {\n overflow-wrap: break-word; }\n body .ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n body .download-data-btn {\n margin-left: 15px; }\n";
|
1208
|
+
var css_248z$v = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n body .ant-menu {\n background-color: #f4f5fa; }\n body .ant-layout-header {\n background-color: #f4f5fa; }\n body .ant-layout {\n background-color: #f4f5fa; }\n body .ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n body .ant-menu-item {\n background-color: #f4f5fa; }\n body .ant-menu-sub {\n background-color: #f4f5fa; }\n body .ant-table-content {\n font-family: \"Inter\"; }\n body .ant-input {\n border-radius: 5px !important; }\n body .ant-btn {\n border-radius: 5px !important; }\n body .ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n body .ant-input-group .ant-input {\n width: 99% !important; }\n body .ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n body .ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n body .ant-upload-list-picture .ant-upload-list-item-error,\n body .ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n body .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n body .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n body .ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n body .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n body .ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n body .ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n body .ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n body .ant-table-thead\n> tr\n> th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {\n background-color: transparent !important; }\n body .ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n body .ant-form-item-label\n> label.ant-form-item-required:not(.ant-form-item-required-mark-optional)::before {\n margin-left: 0.2rem !important;\n color: rgba(255, 77, 79, 0.8) !important; }\n body .ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n body .space-container {\n width: 100%; }\n body .space-container .ant-space-item {\n width: 100%; }\n body .PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n body .PhoneInput .PhoneInputInput {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border: 1px solid #d9d9d9 !important;\n outline: none; }\n body .filter-title {\n color: rgba(58, 53, 65, 0.8);\n font-family: 'Inter';\n font-style: normal;\n font-weight: 600;\n font-size: 0.875rem; }\n body .ant-radio-wrapper {\n font-family: 'Inter';\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 22px;\n color: rgba(58, 53, 65, 0.8); }\n body .ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n body .PhoneInput .PhoneInputInput:focus-visible,\n body .PhoneInput .PhoneInputInput:hover {\n flex: 1 1;\n min-width: 0;\n border-radius: 5px !important;\n height: 40px;\n border-right: 1px solid #40a9ff !important;\n outline: 1px solid #40a9ff; }\n body .layout-content-container {\n padding-bottom: 100px; }\n body .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n body .layout-content-container .ant-btn {\n height: 32px;\n font-weight: 500;\n font-size: 0.8rem;\n border-radius: 0.3rem;\n box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.25);\n min-width: 80px;\n box-shadow: none; }\n body .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n body .content-container {\n padding: 0px 20px; }\n body .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n body .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n body .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n body .content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n body .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n body .content-card .action-bar button {\n width: fit-content; }\n body .content-card .filter-section {\n padding: 1.4rem 1.3rem 1.6rem 1.3rem;\n display: flex;\n width: 100%;\n flex-direction: row;\n align-items: center;\n justify-content: end; }\n body .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n body .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n body .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n body .content-card .filter-section .ant-input-search\n> .ant-input-group\n> .ant-input-group-addon:last-child\n.ant-input-search-button {\n padding-top: 0;\n padding-bottom: 0;\n border-radius: 0 0.313rem 0.313rem 0 !important; }\n body .layout-content-container .ant-btn {\n min-width: 50px !important; }\n body .table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n body .action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n body .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n body .action-menu .anticon-edit {\n color: #16b1ff; }\n body .action-menu .anticon-delete {\n color: #f25a29; }\n body .ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n body .ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n body .ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n body .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n body .ant-popover-placement-bottomRight {\n z-index: 999; }\n body .ant-tag {\n border-radius: 20px; }\n body .clickable {\n cursor: pointer; }\n body .text-center {\n text-align: center; }\n body .float-left {\n float: left; }\n body .float-right {\n float: right; }\n body .apexcharts-canvas {\n font-family: \"Inter\" !important; }\n body .apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n body .ant-tag {\n padding: 1px 10px; }\n body .flex-display {\n display: flex; }\n body .ant-modal-footer {\n border-top: none;\n text-align: center; }\n body .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n body .ant-modal-header {\n border-radius: 15px;\n border: none; }\n body .ant-modal-content {\n border-radius: 15px;\n border: none; }\n body .ant-modal-header {\n border: none; }\n body .ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n body .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n body .ant-modal-body .form-label {\n text-align: left; }\n body .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n body .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n body .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n body .popup-header {\n text-align: center;\n color: rgba(58, 53, 65, 0.8);\n font-weight: 600;\n font-family: \"Inter\";\n font-size: 0.9rem;\n margin: 25px 20px -20px 20px; }\n body .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n body .popup-header img {\n height: 100px; }\n body .popup-success .icon {\n color: #5dc380; }\n body .popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n body .popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-primary .icon {\n color: #16b1ff; }\n body .popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n body .popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n body .popup-danger .ant-btn-primary {\n background: rgba(255, 77, 79, 0.8);\n border-radius: rgba(255, 77, 79, 0.8);\n border: none; }\n body .popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n body .popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n body .ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n body .ant-modal-footer .ant-btn-default {\n color: rgba(140, 140, 140, 0.7) !important;\n border-color: rgba(140, 140, 140, 0.7) !important; }\n body .ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n body .filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n body .pull-right {\n float: right; }\n body .disabled {\n opacity: 0.5; }\n body .mg-left-3 {\n margin-left: 3rem; }\n body .mg-left-2 {\n margin-left: 2rem !important; }\n body .mg-left-1 {\n margin-left: 1rem; }\n body .mg-top-1 {\n margin-top: 1rem; }\n body .mg-top-2 {\n margin-top: 2rem; }\n body .mg-bottom-1 {\n margin-bottom: 1rem !important; }\n body .transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n body .transfer-form .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 20px;\n align-items: center;\n justify-content: start;\n margin-left: 5px; }\n body .transfer-form .ant-row {\n align-items: unset; }\n body .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n body .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n body .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n body .transfer-form label {\n font-size: 0.8rem; }\n body .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n body .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n body .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n body .color-error {\n color: rgba(255, 77, 79, 0.8); }\n body .color-primary {\n color: #16b1ff; }\n body .ant-input-number-input {\n text-align: right; }\n body .text-left {\n text-align: left; }\n body .ant-form-item .ant-radio-group {\n text-align: left; }\n body .loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n body .ant-tag-purple {\n color: #976ed7; }\n body .ant-tag-orange {\n color: #ff8f56; }\n body .ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n body .ant-popover-inner {\n border-radius: 4px; }\n body .ant-input-number {\n border-radius: 5px; }\n body .ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n body .flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n body .b-icon {\n vertical-align: middle; }\n body .ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n body .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n body .ant-message-notice-content .ant-message-error {\n color: rgba(255, 77, 79, 0.8);\n border: 1px solid rgba(255, 77, 79, 0.8); }\n body .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n body .ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n body .sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n body .search-filter {\n margin-right: 15px; }\n body .mg-bottom-0 {\n margin-bottom: 0px; }\n body .padding-bottom-0 {\n padding-bottom: 0px; }\n body .ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n body .nextline-overflow {\n overflow-wrap: break-word; }\n body .ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n body .download-data-btn {\n margin-left: 15px; }\n";
|
1209
1209
|
styleInject(css_248z$v);
|
1210
1210
|
|
1211
1211
|
var UserManagementColumns;
|
@@ -6698,7 +6698,7 @@ var AddNewCompanyComponent = function (props) {
|
|
6698
6698
|
React.createElement(Radio.Button, { className: companyRoleClassName, value: companyRole },
|
6699
6699
|
companyRole === CompanyRole.CERTIFIER ? (React.createElement(SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
6700
6700
|
CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(ExperimentOutlined, { className: "role-icons" })) : companyRole === CompanyRole.MINISTRY ? (React.createElement(AuditOutlined, { className: "role-icons" })) : (React.createElement(BankOutlined, { className: "role-icons" })),
|
6701
|
-
companyRole))) : (React.createElement(React.Fragment, null,
|
6701
|
+
(companyRole === CompanyRole.PROGRAMME_DEVELOPER) ? "Developer" : companyRole))) : (React.createElement(React.Fragment, null,
|
6702
6702
|
React.createElement("div", { className: "certifier-radio-container", style: (userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) ===
|
6703
6703
|
CompanyRole.MINISTRY
|
6704
6704
|
? {
|
@@ -6966,7 +6966,7 @@ styleInject(css_248z$u);
|
|
6966
6966
|
var CompanyRoleIcon = function (props) {
|
6967
6967
|
var role = props.role;
|
6968
6968
|
return (React.createElement("div", { style: { display: 'flex', alignItems: 'center' } },
|
6969
|
-
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : (React.createElement(RoleIcon, { icon: React.createElement(ExperimentOutlined, null), bg: DevBGColor, color: DevColor })),
|
6969
|
+
role === 'Government' ? (React.createElement(RoleIcon, { icon: React.createElement(BankOutlined, null), bg: GovBGColor, color: GovColor })) : role === 'Certifier' ? (React.createElement(RoleIcon, { icon: React.createElement(SafetyOutlined, null), bg: CertBGColor, color: CertColor })) : role === 'ProgrammeDeveloper' ? (React.createElement(RoleIcon, { icon: React.createElement(ExperimentOutlined, null), bg: DevBGColor, color: DevColor })) : React.createElement(RoleIcon, { icon: React.createElement(AuditOutlined, null), bg: MinBGColor, color: MinColor }),
|
6970
6970
|
role === 'ProgrammeDeveloper' ? React.createElement("div", null, 'Developer') : React.createElement("div", null, role)));
|
6971
6971
|
};
|
6972
6972
|
|
@@ -17437,7 +17437,7 @@ var InvestmentManagementComponent = function (props) {
|
|
17437
17437
|
style: "color-primary",
|
17438
17438
|
click: function () {
|
17439
17439
|
showModalOnAction(record, {
|
17440
|
-
title: t("creditTransfer:
|
17440
|
+
title: t("creditTransfer:acceptFinancingTitle"),
|
17441
17441
|
icon: React.createElement(Icon.ClipboardCheck, null),
|
17442
17442
|
actionBtnText: t("creditTransfer:proceed"),
|
17443
17443
|
okAction: function (requestId, comment) {
|
@@ -19852,60 +19852,59 @@ var GenderParity = function (props) {
|
|
19852
19852
|
var onFormSubmit = props.onFormSubmit, genderParityViewData = props.genderParityViewData, viewOnly = props.viewOnly, translator = props.translator;
|
19853
19853
|
var formOne = Form.useForm()[0];
|
19854
19854
|
var formTwo = Form.useForm()[0];
|
19855
|
-
translator.setDefaultNamespace("genderParity");
|
19856
19855
|
var t = translator.t;
|
19857
19856
|
var _a = useState(), genderParityDetails = _a[0], setGenderParityDetails = _a[1];
|
19858
19857
|
var genderParityDetailsOne = [
|
19859
19858
|
{
|
19860
|
-
label: t("benifit1"),
|
19859
|
+
label: t("genderParity:benifit1"),
|
19861
19860
|
name: "descriminationAgainstGirls",
|
19862
19861
|
value: true,
|
19863
19862
|
},
|
19864
19863
|
{
|
19865
|
-
label: t("benifit2"),
|
19864
|
+
label: t("genderParity:benifit2"),
|
19866
19865
|
name: "violationAgainstGirls",
|
19867
19866
|
value: true,
|
19868
19867
|
},
|
19869
19868
|
{
|
19870
|
-
label: t("benifit3"),
|
19869
|
+
label: t("genderParity:benifit3"),
|
19871
19870
|
name: "harmfulPracticesAgainstGirls",
|
19872
19871
|
value: true,
|
19873
19872
|
},
|
19874
19873
|
{
|
19875
|
-
label: t("benifit4"),
|
19874
|
+
label: t("genderParity:benifit4"),
|
19876
19875
|
name: "equealRightsToGirls",
|
19877
19876
|
value: true,
|
19878
19877
|
},
|
19879
19878
|
{
|
19880
|
-
label: t("benifit5"),
|
19879
|
+
label: t("genderParity:benifit5"),
|
19881
19880
|
name: "equealRightsToHealthToGirls",
|
19882
19881
|
value: true,
|
19883
19882
|
},
|
19884
19883
|
];
|
19885
19884
|
var genderParityDetailsTwo = [
|
19886
19885
|
{
|
19887
|
-
label: t("benifit6"),
|
19886
|
+
label: t("genderParity:benifit6"),
|
19888
19887
|
name: "numberOfWomenEmpoyed",
|
19889
19888
|
col: { md: 18, lg: 10 },
|
19890
19889
|
labelCol: 24,
|
19891
19890
|
wrapperCol: 18,
|
19892
19891
|
},
|
19893
19892
|
{
|
19894
|
-
label: t("benifit7"),
|
19893
|
+
label: t("genderParity:benifit7"),
|
19895
19894
|
name: "numberOfWomenTrained",
|
19896
19895
|
col: { md: 18, lg: 10 },
|
19897
19896
|
labelCol: 24,
|
19898
19897
|
wrapperCol: 18,
|
19899
19898
|
},
|
19900
19899
|
{
|
19901
|
-
label: t("benifit8"),
|
19900
|
+
label: t("genderParity:benifit8"),
|
19902
19901
|
name: "numberOfWomenSelectedForDecisionMaking",
|
19903
19902
|
col: { md: 18, lg: 16 },
|
19904
19903
|
labelCol: 24,
|
19905
19904
|
wrapperCol: 11,
|
19906
19905
|
},
|
19907
19906
|
{
|
19908
|
-
label: t("benifit9"),
|
19907
|
+
label: t("genderParity:benifit9"),
|
19909
19908
|
name: "numberOfWomenProvidedAccessForTech",
|
19910
19909
|
col: { md: 18, lg: 16 },
|
19911
19910
|
labelCol: 24,
|
@@ -19932,9 +19931,12 @@ var GenderParity = function (props) {
|
|
19932
19931
|
var updatedGenderParityFormOneFields = genderParityFormOneFields
|
19933
19932
|
.filter(function (field) { return genderParityViewData.hasOwnProperty(field.name); })
|
19934
19933
|
.map(function (field) { return (__assign(__assign({}, field), { value: genderParityViewData[field.name] })); });
|
19935
|
-
var updatedGenderParityFormTwoFields = genderParityFormTwoFields
|
19936
|
-
|
19937
|
-
|
19934
|
+
var updatedGenderParityFormTwoFields = genderParityFormTwoFields.map(function (field) {
|
19935
|
+
var _a;
|
19936
|
+
return (__assign(__assign({}, field), { value: ((_a = genderParityViewData[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0
|
19937
|
+
? genderParityViewData[field.name]
|
19938
|
+
: "-" }));
|
19939
|
+
});
|
19938
19940
|
setGenderParityFormOneFields(updatedGenderParityFormOneFields);
|
19939
19941
|
setGenderParityFormTwoFields(updatedGenderParityFormTwoFields);
|
19940
19942
|
if ((updatedGenderParityFormTwoFields === null || updatedGenderParityFormTwoFields === void 0 ? void 0 : updatedGenderParityFormTwoFields.length) > 0) {
|
@@ -19957,30 +19959,36 @@ var GenderParity = function (props) {
|
|
19957
19959
|
React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: true },
|
19958
19960
|
React.createElement("div", { className: "yes-no-radio-container" },
|
19959
19961
|
React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, (genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) === true
|
19960
|
-
? t("yes")
|
19961
|
-
: t("no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
|
19962
|
+
? t("genderParity:yes")
|
19963
|
+
: t("genderParity:no")))))) : (React.createElement(Radio.Group, { size: "middle", onChange: function () { } },
|
19962
19964
|
React.createElement("div", { className: "yes-no-radio-container" },
|
19963
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("yes"))),
|
19965
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value }, t("genderParity:yes"))),
|
19964
19966
|
React.createElement("div", { className: "yes-no-radio-container" },
|
19965
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("no")))))));
|
19967
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: !(genderParityItem === null || genderParityItem === void 0 ? void 0 : genderParityItem.value) }, t("genderParity:no")))))));
|
19966
19968
|
})),
|
19967
19969
|
React.createElement("div", { className: "part-two" },
|
19968
19970
|
React.createElement(Form, { name: "additional-details", layout: "vertical", form: formTwo, onValuesChange: onGenderParityValuesChangedSub },
|
19969
19971
|
React.createElement(Row, { gutter: [16, 16] }, genderParityFormTwoFields === null || genderParityFormTwoFields === void 0 ? void 0 : genderParityFormTwoFields.map(function (genderDetail) {
|
19970
19972
|
var _a, _b;
|
19971
19973
|
return (React.createElement(Col, { md: (_a = genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.col) === null || _a === void 0 ? void 0 : _a.md, lg: (_b = genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.col) === null || _b === void 0 ? void 0 : _b.lg },
|
19972
|
-
React.createElement(Form.Item, { labelCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.labelCol }, wrapperCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.wrapperCol }, label: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.label, className: "form-item", name: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.name,
|
19974
|
+
React.createElement(Form.Item, { labelCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.labelCol }, wrapperCol: { span: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.wrapperCol }, label: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.label, className: "form-item", name: genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.name, rules: [
|
19973
19975
|
{
|
19974
19976
|
required: false,
|
19975
19977
|
},
|
19976
|
-
] },
|
19977
|
-
|
19978
|
+
] }, genderParityViewData ? (React.createElement(Input, { disabled: genderParityViewData && true, size: "large", defaultValue: (genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value)
|
19979
|
+
? genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value
|
19980
|
+
: !genderParityViewData
|
19981
|
+
? undefined
|
19982
|
+
: undefined })) : (React.createElement(Input, { disabled: genderParityViewData && true, size: "large", defaultValue: (genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value)
|
19983
|
+
? genderDetail === null || genderDetail === void 0 ? void 0 : genderDetail.value
|
19984
|
+
: !genderParityViewData
|
19985
|
+
? undefined
|
19986
|
+
: undefined })))));
|
19978
19987
|
})))))));
|
19979
19988
|
};
|
19980
19989
|
|
19981
19990
|
var Assessment = function (props) {
|
19982
19991
|
var onFormSubmit = props.onFormSubmit, assessmentViewData = props.assessmentViewData, viewOnly = props.viewOnly, translator = props.translator;
|
19983
|
-
translator.setDefaultNamespace("coBenifits");
|
19984
19992
|
var t = translator.t;
|
19985
19993
|
var form1 = Form.useForm()[0];
|
19986
19994
|
var form2 = Form.useForm()[0];
|
@@ -20075,11 +20083,29 @@ var Assessment = function (props) {
|
|
20075
20083
|
changedValues = {};
|
20076
20084
|
if (info.changedFields && info.changedFields.length > 0) {
|
20077
20085
|
info.changedFields.map(function (changedField) { return __awaiter(void 0, void 0, void 0, function () {
|
20078
|
-
|
20079
|
-
|
20080
|
-
|
20086
|
+
var base64Value, values_1;
|
20087
|
+
var _a;
|
20088
|
+
return __generator(this, function (_b) {
|
20089
|
+
switch (_b.label) {
|
20090
|
+
case 0:
|
20091
|
+
if (!(changedField.name[0] === "document")) return [3 /*break*/, 2];
|
20092
|
+
return [4 /*yield*/, getBase64(changedField.value[0].originFileObj)];
|
20093
|
+
case 1:
|
20094
|
+
base64Value = _b.sent();
|
20095
|
+
console.log("FEAsibility document : ", base64Value);
|
20096
|
+
values_1 = base64Value;
|
20097
|
+
setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document: values_1 })); });
|
20098
|
+
return [3 /*break*/, 3];
|
20099
|
+
case 2:
|
20100
|
+
if (changedField.value && ((_a = changedField.value) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
20101
|
+
changedValues[changedField.name[0]] = changedField.value;
|
20102
|
+
}
|
20103
|
+
else {
|
20104
|
+
changedValues[changedField.name[0]] = undefined;
|
20105
|
+
}
|
20106
|
+
_b.label = 3;
|
20107
|
+
case 3: return [2 /*return*/];
|
20081
20108
|
}
|
20082
|
-
return [2 /*return*/];
|
20083
20109
|
});
|
20084
20110
|
}); });
|
20085
20111
|
setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), changedValues)); });
|
@@ -20115,7 +20141,7 @@ var Assessment = function (props) {
|
|
20115
20141
|
}
|
20116
20142
|
};
|
20117
20143
|
var onAssesmentDocument = function (e) { return __awaiter(void 0, void 0, void 0, function () {
|
20118
|
-
var base64Value,
|
20144
|
+
var base64Value, values_2;
|
20119
20145
|
var _a;
|
20120
20146
|
return __generator(this, function (_b) {
|
20121
20147
|
switch (_b.label) {
|
@@ -20124,8 +20150,8 @@ var Assessment = function (props) {
|
|
20124
20150
|
return [4 /*yield*/, getBase64(e.fileList[0].originFileObj)];
|
20125
20151
|
case 1:
|
20126
20152
|
base64Value = _b.sent();
|
20127
|
-
|
20128
|
-
setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document:
|
20153
|
+
values_2 = base64Value;
|
20154
|
+
setCobenefitsAssessmentDetails(function (pre) { return (__assign(__assign({}, pre), { document: values_2 })); });
|
20129
20155
|
return [3 /*break*/, 3];
|
20130
20156
|
case 2:
|
20131
20157
|
setCobenefitsAssessmentDetails(function (pre) {
|
@@ -20154,105 +20180,105 @@ var Assessment = function (props) {
|
|
20154
20180
|
React.createElement(Row, null,
|
20155
20181
|
React.createElement(Form, { name: "from1", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form1, onValuesChange: function () { return validateForms(); } },
|
20156
20182
|
!viewOnly && (React.createElement("div", { className: "radio-content" },
|
20157
|
-
React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified", {
|
20183
|
+
React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified", {
|
20158
20184
|
ns: "coBenifits",
|
20159
20185
|
}), className: "form-item", name: "IsThirdPartyVerified" },
|
20160
20186
|
React.createElement(Radio.Group, { size: "middle", onChange: onIsThirdPartyVerifiedChanged },
|
20161
20187
|
React.createElement("div", { className: "radio-container" },
|
20162
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
20188
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
|
20163
20189
|
React.createElement("div", { className: "radio-container" },
|
20164
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
20190
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
|
20165
20191
|
React.createElement("div", { className: "radio-container" },
|
20166
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
|
20167
|
-
isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
|
20192
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
|
20193
|
+
isVerifyingOrgVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName", rules: [
|
20168
20194
|
{
|
20169
20195
|
required: true,
|
20170
20196
|
message: "",
|
20171
20197
|
},
|
20172
20198
|
] },
|
20173
20199
|
React.createElement(Input, { style: { width: 303 } }))),
|
20174
|
-
React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20200
|
+
React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20175
20201
|
React.createElement(Radio.Group, { size: "middle", onChange: onIsWillingToVerifiedChanged },
|
20176
20202
|
React.createElement("div", { className: "radio-container" },
|
20177
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
20203
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
|
20178
20204
|
React.createElement("div", { className: "radio-container" },
|
20179
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
20205
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
|
20180
20206
|
React.createElement("div", { className: "radio-container" },
|
20181
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
|
20182
|
-
isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20207
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
|
20208
|
+
isVerifyingDetailsVisible === true && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20183
20209
|
React.createElement(Input, { style: { width: 303 } }))))),
|
20184
20210
|
viewOnly && (React.createElement("div", { className: "radio-content view-section" },
|
20185
|
-
assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
|
20211
|
+
assessmentViewData.hasOwnProperty("IsThirdPartyVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assessmentIsThirdPartyVerified"), className: "form-item", name: "IsThirdPartyVerified" },
|
20186
20212
|
React.createElement(Radio.Group, { size: "middle", disabled: true },
|
20187
20213
|
React.createElement("div", { className: "radio-container" },
|
20188
20214
|
React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsThirdPartyVerified))))),
|
20189
20215
|
assessmentViewData.IsThirdPartyVerified ===
|
20190
|
-
RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("verifyingOrgNamelbl"), name: "verifyingOrgName" },
|
20216
|
+
RadioButtonStatus.YES && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:verifyingOrgNamelbl"), name: "verifyingOrgName" },
|
20191
20217
|
React.createElement(Input, { disabled: true, style: { width: 303 }, defaultValue: assessmentViewData.verifyingOrgName
|
20192
20218
|
? assessmentViewData.verifyingOrgName
|
20193
20219
|
: "-" }))),
|
20194
|
-
assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20220
|
+
assessmentViewData.hasOwnProperty("IsWillingToVerified") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsWillingToVerified"), className: "form-item", name: "IsWillingToVerified" },
|
20195
20221
|
React.createElement(Radio.Group, { size: "middle", disabled: true },
|
20196
20222
|
React.createElement("div", { className: "radio-container" },
|
20197
20223
|
React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.IsWillingToVerified))))),
|
20198
20224
|
assessmentViewData.IsWillingToVerified ===
|
20199
|
-
RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20225
|
+
RadioButtonStatus.YES && (React.createElement(Form.Item, { label: t("coBenifits:verifyingDetailslbl"), name: "verifyingDetails", labelCol: { span: 24 }, wrapperCol: { span: 24 } },
|
20200
20226
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.verifyingDetails
|
20201
20227
|
? assessmentViewData.verifyingDetails
|
20202
20228
|
: "-", style: { width: 303 } }))))))),
|
20203
20229
|
React.createElement(Row, null,
|
20204
20230
|
React.createElement(Form, { name: "form2", labelCol: { span: 14 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 8 }, layout: "vertical", requiredMark: true, form: form2, className: "view-section" },
|
20205
20231
|
React.createElement(Row, { className: "mg-bottom-1" },
|
20206
|
-
React.createElement("label", { className: "co-sub-title-text" }, t("contactInformation"))),
|
20232
|
+
React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:contactInformation"))),
|
20207
20233
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20208
20234
|
React.createElement(Col, { flex: "139px" },
|
20209
20235
|
React.createElement(React.Fragment, null,
|
20210
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
|
20236
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
|
20211
20237
|
React.createElement(Select, { size: "large", style: {
|
20212
20238
|
width: "139px",
|
20213
20239
|
borderRadius: "4px",
|
20214
20240
|
}, options: titleList }))),
|
20215
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentTitle"), name: "title" },
|
20241
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTitle"), name: "title" },
|
20216
20242
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.title
|
20217
20243
|
? assessmentViewData.title
|
20218
20244
|
: "-", style: { width: 303 } }))))),
|
20219
20245
|
React.createElement(Col, { flex: "303px" },
|
20220
20246
|
React.createElement(React.Fragment, null,
|
20221
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
|
20247
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
|
20222
20248
|
React.createElement(Input, { style: { width: 303 } }))),
|
20223
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentFirstName"), name: "firstName" },
|
20249
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFirstName"), name: "firstName" },
|
20224
20250
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.firstName
|
20225
20251
|
? assessmentViewData.firstName
|
20226
20252
|
: "-", style: { width: 303 } }))))),
|
20227
20253
|
React.createElement(Col, { flex: "303px" },
|
20228
20254
|
React.createElement(React.Fragment, null,
|
20229
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
|
20255
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
|
20230
20256
|
React.createElement(Input, { style: { width: 303 } }))),
|
20231
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentLastName"), name: "lastName" },
|
20257
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentLastName"), name: "lastName" },
|
20232
20258
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.lastName
|
20233
20259
|
? assessmentViewData.lastName
|
20234
20260
|
: "-", style: { width: 303 } })))))),
|
20235
20261
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20236
20262
|
React.createElement(Col, { flex: "462px" },
|
20237
20263
|
React.createElement(React.Fragment, null,
|
20238
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
|
20264
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
|
20239
20265
|
React.createElement(Input, { style: { width: 462 } }))),
|
20240
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentOrganisation"), name: "organisation" },
|
20266
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentOrganisation"), name: "organisation" },
|
20241
20267
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.organisation
|
20242
20268
|
? assessmentViewData.organisation
|
20243
20269
|
: "-", style: { width: 462 } }))))),
|
20244
20270
|
React.createElement(Col, { flex: "303px" },
|
20245
20271
|
React.createElement(React.Fragment, null,
|
20246
|
-
React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
|
20272
|
+
React.createElement(Skeleton, { loading: isCountryListLoading, active: true }, !viewOnly && countries.length > 0 && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
|
20247
20273
|
React.createElement(PhoneInput, { style: { width: 303 }, international: true, defaultCountry: "LK", countryCallingCodeEditable: false, onChange: function (v) { }, countries: countries })))),
|
20248
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentTelephone"), name: "telephone" },
|
20274
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentTelephone"), name: "telephone" },
|
20249
20275
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.telephone
|
20250
20276
|
? assessmentViewData.telephone
|
20251
20277
|
: "-", style: { width: 303 } })))))),
|
20252
20278
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20253
20279
|
React.createElement(Col, { flex: "303px" },
|
20254
20280
|
React.createElement(React.Fragment, null,
|
20255
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email", rules: [
|
20281
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email", rules: [
|
20256
20282
|
{
|
20257
20283
|
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
20258
20284
|
var val, reg, matches;
|
@@ -20273,15 +20299,15 @@ var Assessment = function (props) {
|
|
20273
20299
|
},
|
20274
20300
|
] },
|
20275
20301
|
React.createElement(Input, { style: { width: 303 } }))),
|
20276
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentEmail"), name: "email" },
|
20302
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentEmail"), name: "email" },
|
20277
20303
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.email
|
20278
20304
|
? assessmentViewData.email
|
20279
20305
|
: "-", style: { width: 303 } }))))),
|
20280
20306
|
React.createElement(Col, { flex: "462px" },
|
20281
20307
|
React.createElement(React.Fragment, null,
|
20282
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20308
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20283
20309
|
React.createElement(Input, { style: { width: 462 } }))),
|
20284
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20310
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentAffiliationCDM"), name: "affiliationCDM" },
|
20285
20311
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.affiliationCDM
|
20286
20312
|
? assessmentViewData.affiliationCDM
|
20287
20313
|
: "-", style: { width: 462 } })))))))),
|
@@ -20289,15 +20315,15 @@ var Assessment = function (props) {
|
|
20289
20315
|
React.createElement(Col, { span: 24 },
|
20290
20316
|
React.createElement(Form, { name: "form3", labelCol: { span: 18 }, labelWrap: true, labelAlign: "left", wrapperCol: { span: 6 }, layout: "horizontal", requiredMark: true, form: form3, onValuesChange: function () { return validateForms(); } },
|
20291
20317
|
!viewOnly && (React.createElement("div", { className: "radio-content" },
|
20292
|
-
React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20318
|
+
React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20293
20319
|
React.createElement(Radio.Group, { size: "middle", onChange: onIsThePersonListedChanged },
|
20294
20320
|
React.createElement("div", { className: "radio-container" },
|
20295
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
20321
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("coBenifits:yes"))),
|
20296
20322
|
React.createElement("div", { className: "radio-container" },
|
20297
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
20323
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("coBenifits:no"))),
|
20298
20324
|
React.createElement("div", { className: "radio-container" },
|
20299
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("n/a"))))),
|
20300
|
-
isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails", rules: [
|
20325
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("coBenifits:n/a"))))),
|
20326
|
+
isPersonListedDetailsVisible === true && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails", rules: [
|
20301
20327
|
{
|
20302
20328
|
required: true,
|
20303
20329
|
message: "",
|
@@ -20305,45 +20331,45 @@ var Assessment = function (props) {
|
|
20305
20331
|
] },
|
20306
20332
|
React.createElement(Input, { style: { width: 303 } }))))),
|
20307
20333
|
viewOnly && (React.createElement("div", { className: "radio-content view-section" },
|
20308
|
-
assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20334
|
+
assessmentViewData.hasOwnProperty("isThePersonListed") && (React.createElement(Form.Item, { label: t("coBenifits:assesmentIsThePersonListed"), className: "form-item", name: "isThePersonListed" },
|
20309
20335
|
React.createElement(Radio.Group, { size: "middle", disabled: true },
|
20310
20336
|
React.createElement("div", { className: "radio-container" },
|
20311
20337
|
React.createElement(Radio.Button, { className: "radio" }, assessmentViewData.isThePersonListed))))),
|
20312
20338
|
assessmentViewData.isThePersonListed ===
|
20313
|
-
RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("specify"), name: "personListedDetails" },
|
20339
|
+
RadioButtonStatus.NO && (React.createElement(Form.Item, { labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: t("coBenifits:specify"), name: "personListedDetails" },
|
20314
20340
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.personListedDetails
|
20315
20341
|
? assessmentViewData.personListedDetails
|
20316
20342
|
: "-", style: { width: 303 } })))))))),
|
20317
20343
|
React.createElement(Row, null,
|
20318
20344
|
React.createElement(Form, { layout: "vertical", name: "form4", form: form4, className: "view-section" },
|
20319
20345
|
React.createElement(Row, { className: "mg-bottom-1" },
|
20320
|
-
React.createElement("label", { className: "co-sub-title-text" }, t("feasibilityReport"))),
|
20346
|
+
React.createElement("label", { className: "co-sub-title-text" }, t("coBenifits:feasibilityReport"))),
|
20321
20347
|
React.createElement(Row, { justify: "start", gutter: 16 },
|
20322
20348
|
React.createElement(Col, { flex: "303px" },
|
20323
20349
|
React.createElement(React.Fragment, null,
|
20324
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
|
20350
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
|
20325
20351
|
React.createElement(Input, { style: { width: 303 } }))),
|
20326
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentStudyName"), name: "studyName" },
|
20352
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentStudyName"), name: "studyName" },
|
20327
20353
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.studyName
|
20328
20354
|
? assessmentViewData.studyName
|
20329
20355
|
: "-", style: { width: 303 } }))))),
|
20330
20356
|
React.createElement(Col, { flex: "303px" },
|
20331
20357
|
React.createElement(React.Fragment, null,
|
20332
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
|
20358
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
|
20333
20359
|
React.createElement(Input, { style: { width: 303 } }))),
|
20334
|
-
viewOnly && (React.createElement(Form.Item, { label: t("assessmentFunder"), name: "funder" },
|
20360
|
+
viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentFunder"), name: "funder" },
|
20335
20361
|
React.createElement(Input, { disabled: true, defaultValue: assessmentViewData.funder
|
20336
20362
|
? assessmentViewData.funder
|
20337
20363
|
: "-", style: { width: 303 } })))))),
|
20338
20364
|
React.createElement(Row, null,
|
20339
|
-
!viewOnly && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
|
20365
|
+
!viewOnly && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "document", valuePropName: "fileList", getValueFromEvent: normFile, required: false, rules: [
|
20340
20366
|
{
|
20341
20367
|
validator: function (rule, file) { return __awaiter(void 0, void 0, void 0, function () {
|
20342
20368
|
var _a, _b;
|
20343
20369
|
return __generator(this, function (_c) {
|
20344
20370
|
if ((file === null || file === void 0 ? void 0 : file.length) > 0) {
|
20345
20371
|
if (!isValidateFileType((_a = file[0]) === null || _a === void 0 ? void 0 : _a.type)) {
|
20346
|
-
throw new Error("".concat(t("invalidFileFormat")));
|
20372
|
+
throw new Error("".concat(t("coBenifits:invalidFileFormat")));
|
20347
20373
|
}
|
20348
20374
|
else if (((_b = file[0]) === null || _b === void 0 ? void 0 : _b.size) > maximumFileSize) {
|
20349
20375
|
throw new Error("".concat(t("common:maxSizeVal")));
|
@@ -20358,7 +20384,7 @@ var Assessment = function (props) {
|
|
20358
20384
|
return false;
|
20359
20385
|
}, className: "design-upload-section", name: "document", listType: "picture", multiple: false, maxCount: 1, onChange: onAssesmentDocument },
|
20360
20386
|
React.createElement(Button, { className: "upload-doc", size: "large", icon: React.createElement(UploadOutlined, null) }, "Upload")))),
|
20361
|
-
viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("assessmentDocuments"), name: "assessmentDocuments" },
|
20387
|
+
viewOnly && assessmentViewData.document && (React.createElement(Form.Item, { label: t("coBenifits:assessmentDocuments"), name: "assessmentDocuments" },
|
20362
20388
|
React.createElement("a", { href: assessmentViewData.document, target: "_blank", rel: "noopener noreferrer", download: true }, assessmentViewData.document))))))))));
|
20363
20389
|
};
|
20364
20390
|
|
@@ -20534,176 +20560,175 @@ var SdgGoals = function (props) {
|
|
20534
20560
|
|
20535
20561
|
var Safeguards = function (props) {
|
20536
20562
|
var onFormSubmit = props.onFormSubmit, safeGuardViewData = props.safeGuardViewData, viewOnly = props.viewOnly, translator = props.translator;
|
20537
|
-
translator.setDefaultNamespace("safeguards");
|
20538
20563
|
var t = translator.t;
|
20539
20564
|
var _a = useState(), safeguardDetails = _a[0], setSafeguardDetails = _a[1];
|
20540
20565
|
var form = Form.useForm()[0];
|
20541
20566
|
var initialFormElementList = [
|
20542
20567
|
{
|
20543
20568
|
type: FormElementType.Label,
|
20544
|
-
label: t("humanRights"),
|
20569
|
+
label: t("safeguards:humanRights"),
|
20545
20570
|
items: [
|
20546
20571
|
{
|
20547
20572
|
type: FormElementType.Radio,
|
20548
|
-
label: t("isRespectHumanRights"),
|
20573
|
+
label: t("safeguards:isRespectHumanRights"),
|
20549
20574
|
name: "isRespectHumanRights",
|
20550
20575
|
},
|
20551
20576
|
{
|
20552
20577
|
type: FormElementType.Radio,
|
20553
|
-
label: t("isProjectdiscriminate"),
|
20578
|
+
label: t("safeguards:isProjectdiscriminate"),
|
20554
20579
|
name: "isProjectdiscriminate",
|
20555
20580
|
},
|
20556
20581
|
],
|
20557
20582
|
},
|
20558
20583
|
{
|
20559
20584
|
type: FormElementType.Label,
|
20560
|
-
label: t("genderEquality"),
|
20585
|
+
label: t("safeguards:genderEquality"),
|
20561
20586
|
items: [
|
20562
20587
|
{
|
20563
20588
|
type: FormElementType.Radio,
|
20564
|
-
label: t("genderEqualityQ1"),
|
20589
|
+
label: t("safeguards:genderEqualityQ1"),
|
20565
20590
|
name: "genderEqualityQ1",
|
20566
20591
|
},
|
20567
20592
|
{
|
20568
20593
|
type: FormElementType.Radio,
|
20569
|
-
label: t("genderEqualityQ2"),
|
20594
|
+
label: t("safeguards:genderEqualityQ2"),
|
20570
20595
|
name: "genderEqualityQ2",
|
20571
20596
|
},
|
20572
20597
|
{
|
20573
20598
|
type: FormElementType.Radio,
|
20574
|
-
label: t("genderEqualityQ3"),
|
20599
|
+
label: t("safeguards:genderEqualityQ3"),
|
20575
20600
|
name: "genderEqualityQ3",
|
20576
20601
|
},
|
20577
20602
|
{
|
20578
20603
|
type: FormElementType.Radio,
|
20579
|
-
label: t("genderEqualityQ4"),
|
20604
|
+
label: t("safeguards:genderEqualityQ4"),
|
20580
20605
|
name: "genderEqualityQ4",
|
20581
20606
|
},
|
20582
20607
|
],
|
20583
20608
|
},
|
20584
20609
|
{
|
20585
20610
|
type: FormElementType.Label,
|
20586
|
-
label: t("communityHealth"),
|
20611
|
+
label: t("safeguards:communityHealth"),
|
20587
20612
|
items: [
|
20588
20613
|
{
|
20589
20614
|
type: FormElementType.Radio,
|
20590
|
-
label: t("communityHealthQ1"),
|
20615
|
+
label: t("safeguards:communityHealthQ1"),
|
20591
20616
|
name: "communityHealthQ1",
|
20592
20617
|
},
|
20593
20618
|
],
|
20594
20619
|
},
|
20595
20620
|
{
|
20596
20621
|
type: FormElementType.Label,
|
20597
|
-
label: t("historicHeritage"),
|
20622
|
+
label: t("safeguards:historicHeritage"),
|
20598
20623
|
items: [
|
20599
20624
|
{
|
20600
20625
|
type: FormElementType.Radio,
|
20601
|
-
label: t("historicHeritageQ1"),
|
20626
|
+
label: t("safeguards:historicHeritageQ1"),
|
20602
20627
|
name: "historicHeritageQ1",
|
20603
20628
|
},
|
20604
20629
|
],
|
20605
20630
|
},
|
20606
20631
|
{
|
20607
20632
|
type: FormElementType.Label,
|
20608
|
-
label: t("forcedEviction"),
|
20633
|
+
label: t("safeguards:forcedEviction"),
|
20609
20634
|
items: [
|
20610
20635
|
{
|
20611
20636
|
type: FormElementType.Radio,
|
20612
|
-
label: t("forcedEvictionQ1"),
|
20637
|
+
label: t("safeguards:forcedEvictionQ1"),
|
20613
20638
|
name: "forcedEvictionQ1",
|
20614
20639
|
},
|
20615
20640
|
],
|
20616
20641
|
},
|
20617
20642
|
{
|
20618
20643
|
type: FormElementType.Label,
|
20619
|
-
label: t("landTenure"),
|
20644
|
+
label: t("safeguards:landTenure"),
|
20620
20645
|
items: [
|
20621
20646
|
{
|
20622
20647
|
type: FormElementType.Radio,
|
20623
|
-
label: t("landTenureQ1"),
|
20648
|
+
label: t("safeguards:landTenureQ1"),
|
20624
20649
|
name: "landTenureQ1",
|
20625
20650
|
},
|
20626
20651
|
{
|
20627
20652
|
type: FormElementType.Radio,
|
20628
|
-
label: t("landTenureQ2"),
|
20653
|
+
label: t("safeguards:landTenureQ2"),
|
20629
20654
|
name: "landTenureQ2",
|
20630
20655
|
},
|
20631
20656
|
],
|
20632
20657
|
},
|
20633
20658
|
{
|
20634
20659
|
type: FormElementType.Label,
|
20635
|
-
label: t("indegenousPeople"),
|
20660
|
+
label: t("safeguards:indegenousPeople"),
|
20636
20661
|
items: [
|
20637
20662
|
{
|
20638
20663
|
type: FormElementType.Radio,
|
20639
|
-
label: t("indegenousPeopleQ1"),
|
20664
|
+
label: t("safeguards:indegenousPeopleQ1"),
|
20640
20665
|
name: "indegenousPeopleQ1",
|
20641
20666
|
},
|
20642
20667
|
],
|
20643
20668
|
},
|
20644
20669
|
{
|
20645
20670
|
type: FormElementType.Label,
|
20646
|
-
label: t("corruption"),
|
20671
|
+
label: t("safeguards:corruption"),
|
20647
20672
|
items: [
|
20648
20673
|
{
|
20649
20674
|
type: FormElementType.Radio,
|
20650
|
-
label: t("corruptionQ1"),
|
20675
|
+
label: t("safeguards:corruptionQ1"),
|
20651
20676
|
name: "corruptionQ1",
|
20652
20677
|
},
|
20653
20678
|
],
|
20654
20679
|
},
|
20655
20680
|
{
|
20656
20681
|
type: FormElementType.Label,
|
20657
|
-
label: t("labourRights"),
|
20682
|
+
label: t("safeguards:labourRights"),
|
20658
20683
|
items: [
|
20659
20684
|
{
|
20660
20685
|
type: FormElementType.Radio,
|
20661
|
-
label: t("labourRightsQ1"),
|
20686
|
+
label: t("safeguards:labourRightsQ1"),
|
20662
20687
|
name: "labourRightsQ1",
|
20663
20688
|
},
|
20664
20689
|
{
|
20665
20690
|
type: FormElementType.Radio,
|
20666
|
-
label: t("labourRightsQ2"),
|
20691
|
+
label: t("safeguards:labourRightsQ2"),
|
20667
20692
|
name: "labourRightsQ2",
|
20668
20693
|
},
|
20669
20694
|
{
|
20670
20695
|
type: FormElementType.Label,
|
20671
|
-
label: t("labourRightsSubLabel"),
|
20696
|
+
label: t("safeguards:labourRightsSubLabel"),
|
20672
20697
|
className: "mg-left-2",
|
20673
20698
|
items: [
|
20674
20699
|
{
|
20675
20700
|
type: FormElementType.Radio,
|
20676
|
-
label: t("labourRightsSubQ1"),
|
20701
|
+
label: t("safeguards:labourRightsSubQ1"),
|
20677
20702
|
name: "labourRightsSubQ1",
|
20678
20703
|
className: "mg-left-4",
|
20679
20704
|
},
|
20680
20705
|
{
|
20681
20706
|
type: FormElementType.Radio,
|
20682
|
-
label: t("labourRightsSubQ2"),
|
20707
|
+
label: t("safeguards:labourRightsSubQ2"),
|
20683
20708
|
name: "labourRightsSubQ2",
|
20684
20709
|
className: "mg-left-4",
|
20685
20710
|
},
|
20686
20711
|
{
|
20687
20712
|
type: FormElementType.Radio,
|
20688
|
-
label: t("labourRightsSubQ3"),
|
20713
|
+
label: t("safeguards:labourRightsSubQ3"),
|
20689
20714
|
name: "labourRightsSubQ3",
|
20690
20715
|
className: "mg-left-4",
|
20691
20716
|
},
|
20692
20717
|
{
|
20693
20718
|
type: FormElementType.Radio,
|
20694
|
-
label: t("labourRightsSubQ4"),
|
20719
|
+
label: t("safeguards:labourRightsSubQ4"),
|
20695
20720
|
name: "labourRightsSubQ4",
|
20696
20721
|
className: "mg-left-4",
|
20697
20722
|
},
|
20698
20723
|
{
|
20699
20724
|
type: FormElementType.Radio,
|
20700
|
-
label: t("labourRightsSubQ5"),
|
20725
|
+
label: t("safeguards:labourRightsSubQ5"),
|
20701
20726
|
name: "labourRightsSubQ5",
|
20702
20727
|
className: "mg-left-4",
|
20703
20728
|
},
|
20704
20729
|
{
|
20705
20730
|
type: FormElementType.Radio,
|
20706
|
-
label: t("labourRightsSubQ6"),
|
20731
|
+
label: t("safeguards:labourRightsSubQ6"),
|
20707
20732
|
name: "labourRightsSubQ6",
|
20708
20733
|
className: "mg-left-4",
|
20709
20734
|
},
|
@@ -20711,198 +20736,198 @@ var Safeguards = function (props) {
|
|
20711
20736
|
},
|
20712
20737
|
{
|
20713
20738
|
type: FormElementType.Radio,
|
20714
|
-
label: t("labourRightsQ3"),
|
20739
|
+
label: t("safeguards:labourRightsQ3"),
|
20715
20740
|
name: "labourRightsQ3",
|
20716
20741
|
},
|
20717
20742
|
{
|
20718
20743
|
type: FormElementType.Radio,
|
20719
|
-
label: t("labourRightsQ4"),
|
20744
|
+
label: t("safeguards:labourRightsQ4"),
|
20720
20745
|
name: "labourRightsQ4",
|
20721
20746
|
},
|
20722
20747
|
],
|
20723
20748
|
},
|
20724
20749
|
{
|
20725
20750
|
type: FormElementType.Label,
|
20726
|
-
label: t("economicConsequences"),
|
20751
|
+
label: t("safeguards:economicConsequences"),
|
20727
20752
|
items: [
|
20728
20753
|
{
|
20729
20754
|
type: FormElementType.Radio,
|
20730
|
-
label: t("economicConsequencesQ1"),
|
20755
|
+
label: t("safeguards:economicConsequencesQ1"),
|
20731
20756
|
name: "economicConsequencesQ1",
|
20732
20757
|
},
|
20733
20758
|
],
|
20734
20759
|
},
|
20735
20760
|
{
|
20736
20761
|
type: FormElementType.Label,
|
20737
|
-
label: t("emissions"),
|
20762
|
+
label: t("safeguards:emissions"),
|
20738
20763
|
items: [
|
20739
20764
|
{
|
20740
20765
|
type: FormElementType.Radio,
|
20741
|
-
label: t("emissionsQ1"),
|
20766
|
+
label: t("safeguards:emissionsQ1"),
|
20742
20767
|
name: "emissionsQ1",
|
20743
20768
|
},
|
20744
20769
|
],
|
20745
20770
|
},
|
20746
20771
|
{
|
20747
20772
|
type: FormElementType.Label,
|
20748
|
-
label: t("energySupply"),
|
20773
|
+
label: t("safeguards:energySupply"),
|
20749
20774
|
items: [
|
20750
20775
|
{
|
20751
20776
|
type: FormElementType.Radio,
|
20752
|
-
label: t("energySupplyQ1"),
|
20777
|
+
label: t("safeguards:energySupplyQ1"),
|
20753
20778
|
name: "energySupplyQ1",
|
20754
20779
|
},
|
20755
20780
|
],
|
20756
20781
|
},
|
20757
20782
|
{
|
20758
20783
|
type: FormElementType.Label,
|
20759
|
-
label: t("waterPattern"),
|
20784
|
+
label: t("safeguards:waterPattern"),
|
20760
20785
|
items: [
|
20761
20786
|
{
|
20762
20787
|
type: FormElementType.Radio,
|
20763
|
-
label: t("waterPatternQ1"),
|
20788
|
+
label: t("safeguards:waterPatternQ1"),
|
20764
20789
|
name: "waterPatternQ1",
|
20765
20790
|
},
|
20766
20791
|
],
|
20767
20792
|
},
|
20768
20793
|
{
|
20769
20794
|
type: FormElementType.Label,
|
20770
|
-
label: t("erosoin"),
|
20795
|
+
label: t("safeguards:erosoin"),
|
20771
20796
|
items: [
|
20772
20797
|
{
|
20773
20798
|
type: FormElementType.Radio,
|
20774
|
-
label: t("erosoinQ1"),
|
20799
|
+
label: t("safeguards:erosoinQ1"),
|
20775
20800
|
name: "erosoinQ1",
|
20776
20801
|
},
|
20777
20802
|
{
|
20778
20803
|
type: FormElementType.Radio,
|
20779
|
-
label: t("erosoinQ2"),
|
20804
|
+
label: t("safeguards:erosoinQ2"),
|
20780
20805
|
name: "erosoinQ2",
|
20781
20806
|
},
|
20782
20807
|
],
|
20783
20808
|
},
|
20784
20809
|
{
|
20785
20810
|
type: FormElementType.Label,
|
20786
|
-
label: t("landscape"),
|
20811
|
+
label: t("safeguards:landscape"),
|
20787
20812
|
items: [
|
20788
20813
|
{
|
20789
20814
|
type: FormElementType.Radio,
|
20790
|
-
label: t("landscapeQ1"),
|
20815
|
+
label: t("safeguards:landscapeQ1"),
|
20791
20816
|
name: "landscapeQ1",
|
20792
20817
|
},
|
20793
20818
|
],
|
20794
20819
|
},
|
20795
20820
|
{
|
20796
20821
|
type: FormElementType.Label,
|
20797
|
-
label: t("naturalDisaster"),
|
20822
|
+
label: t("safeguards:naturalDisaster"),
|
20798
20823
|
items: [
|
20799
20824
|
{
|
20800
20825
|
type: FormElementType.Radio,
|
20801
|
-
label: t("naturalDisasterQ1"),
|
20826
|
+
label: t("safeguards:naturalDisasterQ1"),
|
20802
20827
|
name: "naturalDisasterQ1",
|
20803
20828
|
},
|
20804
20829
|
],
|
20805
20830
|
},
|
20806
20831
|
{
|
20807
20832
|
type: FormElementType.Label,
|
20808
|
-
label: t("genetic"),
|
20833
|
+
label: t("safeguards:genetic"),
|
20809
20834
|
items: [
|
20810
20835
|
{
|
20811
20836
|
type: FormElementType.Radio,
|
20812
|
-
label: t("geneticQ1"),
|
20837
|
+
label: t("safeguards:geneticQ1"),
|
20813
20838
|
name: "geneticQ1",
|
20814
20839
|
},
|
20815
20840
|
],
|
20816
20841
|
},
|
20817
20842
|
{
|
20818
20843
|
type: FormElementType.Label,
|
20819
|
-
label: t("pollutants"),
|
20844
|
+
label: t("safeguards:pollutants"),
|
20820
20845
|
items: [
|
20821
20846
|
{
|
20822
20847
|
type: FormElementType.Radio,
|
20823
|
-
label: t("pollutantsQ1"),
|
20848
|
+
label: t("safeguards:pollutantsQ1"),
|
20824
20849
|
name: "pollutantsQ1",
|
20825
20850
|
},
|
20826
20851
|
],
|
20827
20852
|
},
|
20828
20853
|
{
|
20829
20854
|
type: FormElementType.Label,
|
20830
|
-
label: t("hazardousWaste"),
|
20855
|
+
label: t("safeguards:hazardousWaste"),
|
20831
20856
|
items: [
|
20832
20857
|
{
|
20833
20858
|
type: FormElementType.Radio,
|
20834
|
-
label: t("hazardousWasteQ1"),
|
20859
|
+
label: t("safeguards:hazardousWasteQ1"),
|
20835
20860
|
name: "hazardousWasteQ1",
|
20836
20861
|
},
|
20837
20862
|
],
|
20838
20863
|
},
|
20839
20864
|
{
|
20840
20865
|
type: FormElementType.Label,
|
20841
|
-
label: t("pesticides"),
|
20866
|
+
label: t("safeguards:pesticides"),
|
20842
20867
|
items: [
|
20843
20868
|
{
|
20844
20869
|
type: FormElementType.Radio,
|
20845
|
-
label: t("pesticidesQ1"),
|
20870
|
+
label: t("safeguards:pesticidesQ1"),
|
20846
20871
|
name: "pesticidesQ1",
|
20847
20872
|
},
|
20848
20873
|
],
|
20849
20874
|
},
|
20850
20875
|
{
|
20851
20876
|
type: FormElementType.Label,
|
20852
|
-
label: t("harvestForests"),
|
20877
|
+
label: t("safeguards:harvestForests"),
|
20853
20878
|
items: [
|
20854
20879
|
{
|
20855
20880
|
type: FormElementType.Radio,
|
20856
|
-
label: t("harvestForestsQ1"),
|
20881
|
+
label: t("safeguards:harvestForestsQ1"),
|
20857
20882
|
name: "harvestForestsQ1",
|
20858
20883
|
},
|
20859
20884
|
],
|
20860
20885
|
},
|
20861
20886
|
{
|
20862
20887
|
type: FormElementType.Label,
|
20863
|
-
label: t("food"),
|
20888
|
+
label: t("safeguards:food"),
|
20864
20889
|
items: [
|
20865
20890
|
{
|
20866
20891
|
type: FormElementType.Radio,
|
20867
|
-
label: t("foodQ1"),
|
20892
|
+
label: t("safeguards:foodQ1"),
|
20868
20893
|
name: "foodQ1",
|
20869
20894
|
},
|
20870
20895
|
],
|
20871
20896
|
},
|
20872
20897
|
{
|
20873
20898
|
type: FormElementType.Label,
|
20874
|
-
label: t("animalHusbandry"),
|
20899
|
+
label: t("safeguards:animalHusbandry"),
|
20875
20900
|
items: [
|
20876
20901
|
{
|
20877
20902
|
type: FormElementType.Radio,
|
20878
|
-
label: t("animalHusbandryQ1"),
|
20903
|
+
label: t("safeguards:animalHusbandryQ1"),
|
20879
20904
|
name: "animalHusbandryQ1",
|
20880
20905
|
},
|
20881
20906
|
],
|
20882
20907
|
},
|
20883
20908
|
{
|
20884
20909
|
type: FormElementType.Label,
|
20885
|
-
label: t("criticalHabitats"),
|
20910
|
+
label: t("safeguards:criticalHabitats"),
|
20886
20911
|
items: [
|
20887
20912
|
{
|
20888
20913
|
type: FormElementType.Radio,
|
20889
|
-
label: t("criticalHabitatsQ1"),
|
20914
|
+
label: t("safeguards:criticalHabitatsQ1"),
|
20890
20915
|
name: "criticalHabitatsQ1",
|
20891
20916
|
},
|
20892
20917
|
],
|
20893
20918
|
},
|
20894
20919
|
{
|
20895
20920
|
type: FormElementType.Label,
|
20896
|
-
label: t("endangeredSpecies"),
|
20921
|
+
label: t("safeguards:endangeredSpecies"),
|
20897
20922
|
items: [
|
20898
20923
|
{
|
20899
20924
|
type: FormElementType.Radio,
|
20900
|
-
label: t("endangeredSpeciesQ1"),
|
20925
|
+
label: t("safeguards:endangeredSpeciesQ1"),
|
20901
20926
|
name: "endangeredSpeciesQ1",
|
20902
20927
|
},
|
20903
20928
|
{
|
20904
20929
|
type: FormElementType.Radio,
|
20905
|
-
label: t("endangeredSpeciesQ2"),
|
20930
|
+
label: t("safeguards:endangeredSpeciesQ2"),
|
20906
20931
|
name: "endangeredSpeciesQ2",
|
20907
20932
|
},
|
20908
20933
|
],
|
@@ -20967,7 +20992,7 @@ var Safeguards = function (props) {
|
|
20967
20992
|
React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
20968
20993
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
20969
20994
|
React.createElement("span", null,
|
20970
|
-
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("undpSespTitle")))),
|
20995
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("safeguards:undpSespTitle")))),
|
20971
20996
|
React.createElement(Col, { span: 24 },
|
20972
20997
|
React.createElement("div", { className: "undpSesp-section-divider" })))),
|
20973
20998
|
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) {
|
@@ -20986,11 +21011,11 @@ var Safeguards = function (props) {
|
|
20986
21011
|
] },
|
20987
21012
|
React.createElement(Radio.Group, { size: "middle" },
|
20988
21013
|
React.createElement("div", { className: "radio-container" },
|
20989
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
|
21014
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
|
20990
21015
|
React.createElement("div", { className: "radio-container" },
|
20991
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
|
21016
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
|
20992
21017
|
React.createElement("div", { className: "radio-container" },
|
20993
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
|
21018
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
|
20994
21019
|
viewOnly &&
|
20995
21020
|
safeGuardViewData.hasOwnProperty(item === null || item === void 0 ? void 0 : item.name) && (React.createElement("div", { className: "view-section" },
|
20996
21021
|
React.createElement(Form.Item, { label: item === null || item === void 0 ? void 0 : item.label, className: item.className
|
@@ -21015,11 +21040,11 @@ var Safeguards = function (props) {
|
|
21015
21040
|
] },
|
21016
21041
|
React.createElement(Radio.Group, { size: "middle" },
|
21017
21042
|
React.createElement("div", { className: "radio-container" },
|
21018
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("yes"))),
|
21043
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.YES }, t("safeguards:yes"))),
|
21019
21044
|
React.createElement("div", { className: "radio-container" },
|
21020
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("maybe"))),
|
21045
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.MAYBE }, t("safeguards:maybe"))),
|
21021
21046
|
React.createElement("div", { className: "radio-container" },
|
21022
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("no")))))),
|
21047
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus2.NO }, t("safeguards:no")))))),
|
21023
21048
|
viewOnly &&
|
21024
21049
|
safeGuardViewData.hasOwnProperty(subItem === null || subItem === void 0 ? void 0 : subItem.name) && (React.createElement("div", { className: "view-section" },
|
21025
21050
|
React.createElement(Form.Item, { label: subItem === null || subItem === void 0 ? void 0 : subItem.label, className: subItem.className
|
@@ -21036,204 +21061,203 @@ var Safeguards = function (props) {
|
|
21036
21061
|
|
21037
21062
|
var Environmental = function (props) {
|
21038
21063
|
var onFormSubmit = props.onFormSubmit, environmentalViewData = props.environmentalViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21039
|
-
translator.setDefaultNamespace("unfcccSdTool");
|
21040
21064
|
var t = translator.t;
|
21041
21065
|
var environmentalDetailsInitial = [
|
21042
21066
|
{
|
21043
|
-
section: t("air"),
|
21067
|
+
section: t("unfcccSdTool:air"),
|
21044
21068
|
fields: [
|
21045
21069
|
{
|
21046
21070
|
name: "airQ1",
|
21047
|
-
label: t("airQ1"),
|
21071
|
+
label: t("unfcccSdTool:airQ1"),
|
21048
21072
|
hide: false,
|
21049
21073
|
required: false,
|
21050
21074
|
},
|
21051
21075
|
{
|
21052
21076
|
name: "airQ2",
|
21053
|
-
label: t("airQ2"),
|
21077
|
+
label: t("unfcccSdTool:airQ2"),
|
21054
21078
|
hide: true,
|
21055
21079
|
required: true,
|
21056
21080
|
},
|
21057
21081
|
{
|
21058
21082
|
name: "airQ3",
|
21059
|
-
label: t("airQ3"),
|
21083
|
+
label: t("unfcccSdTool:airQ3"),
|
21060
21084
|
hide: true,
|
21061
21085
|
required: true,
|
21062
21086
|
},
|
21063
21087
|
{
|
21064
21088
|
name: "airQ4",
|
21065
|
-
label: t("airQ4"),
|
21089
|
+
label: t("unfcccSdTool:airQ4"),
|
21066
21090
|
hide: true,
|
21067
21091
|
required: true,
|
21068
21092
|
},
|
21069
21093
|
{
|
21070
21094
|
name: "airQ5",
|
21071
|
-
label: t("airQ5"),
|
21095
|
+
label: t("unfcccSdTool:airQ5"),
|
21072
21096
|
hide: true,
|
21073
21097
|
required: true,
|
21074
21098
|
},
|
21075
21099
|
{
|
21076
21100
|
name: "airQ6",
|
21077
|
-
label: t("airQ6"),
|
21101
|
+
label: t("unfcccSdTool:airQ6"),
|
21078
21102
|
hide: true,
|
21079
21103
|
required: true,
|
21080
21104
|
},
|
21081
21105
|
{
|
21082
21106
|
name: "airQ7",
|
21083
|
-
label: t("airQ7"),
|
21107
|
+
label: t("unfcccSdTool:airQ7"),
|
21084
21108
|
hide: true,
|
21085
21109
|
required: true,
|
21086
21110
|
},
|
21087
21111
|
{
|
21088
21112
|
name: "airQ8",
|
21089
|
-
label: t("airQ8"),
|
21113
|
+
label: t("unfcccSdTool:airQ8"),
|
21090
21114
|
hide: true,
|
21091
21115
|
required: true,
|
21092
21116
|
},
|
21093
21117
|
{
|
21094
21118
|
name: "airQ9",
|
21095
|
-
label: t("airQ9"),
|
21119
|
+
label: t("unfcccSdTool:airQ9"),
|
21096
21120
|
hide: true,
|
21097
21121
|
required: true,
|
21098
21122
|
},
|
21099
21123
|
],
|
21100
21124
|
},
|
21101
21125
|
{
|
21102
|
-
section: t("land"),
|
21126
|
+
section: t("unfcccSdTool:land"),
|
21103
21127
|
fields: [
|
21104
21128
|
{
|
21105
21129
|
name: "landQ1",
|
21106
|
-
label: t("landQ1"),
|
21130
|
+
label: t("unfcccSdTool:landQ1"),
|
21107
21131
|
hide: false,
|
21108
21132
|
required: false,
|
21109
21133
|
},
|
21110
21134
|
{
|
21111
21135
|
name: "landQ2",
|
21112
|
-
label: t("landQ2"),
|
21136
|
+
label: t("unfcccSdTool:landQ2"),
|
21113
21137
|
hide: true,
|
21114
21138
|
required: true,
|
21115
21139
|
},
|
21116
21140
|
{
|
21117
21141
|
name: "landQ3",
|
21118
|
-
label: t("landQ3"),
|
21142
|
+
label: t("unfcccSdTool:landQ3"),
|
21119
21143
|
hide: true,
|
21120
21144
|
required: true,
|
21121
21145
|
},
|
21122
21146
|
{
|
21123
21147
|
name: "landQ4",
|
21124
|
-
label: t("landQ4"),
|
21148
|
+
label: t("unfcccSdTool:landQ4"),
|
21125
21149
|
hide: true,
|
21126
21150
|
required: true,
|
21127
21151
|
},
|
21128
21152
|
{
|
21129
21153
|
name: "landQ5",
|
21130
|
-
label: t("landQ5"),
|
21154
|
+
label: t("unfcccSdTool:landQ5"),
|
21131
21155
|
hide: true,
|
21132
21156
|
required: true,
|
21133
21157
|
},
|
21134
21158
|
{
|
21135
21159
|
name: "landQ6",
|
21136
|
-
label: t("landQ6"),
|
21160
|
+
label: t("unfcccSdTool:landQ6"),
|
21137
21161
|
hide: true,
|
21138
21162
|
required: true,
|
21139
21163
|
},
|
21140
21164
|
{
|
21141
21165
|
name: "landQ7",
|
21142
|
-
label: t("landQ7"),
|
21166
|
+
label: t("unfcccSdTool:landQ7"),
|
21143
21167
|
hide: true,
|
21144
21168
|
required: true,
|
21145
21169
|
},
|
21146
21170
|
{
|
21147
21171
|
name: "landQ8",
|
21148
|
-
label: t("landQ8"),
|
21172
|
+
label: t("unfcccSdTool:landQ8"),
|
21149
21173
|
hide: true,
|
21150
21174
|
required: true,
|
21151
21175
|
},
|
21152
21176
|
],
|
21153
21177
|
},
|
21154
21178
|
{
|
21155
|
-
section: t("water"),
|
21179
|
+
section: t("unfcccSdTool:water"),
|
21156
21180
|
fields: [
|
21157
21181
|
{
|
21158
21182
|
name: "waterQ1",
|
21159
|
-
label: t("waterQ1"),
|
21183
|
+
label: t("unfcccSdTool:waterQ1"),
|
21160
21184
|
hide: false,
|
21161
21185
|
required: false,
|
21162
21186
|
},
|
21163
21187
|
{
|
21164
21188
|
name: "waterQ2",
|
21165
|
-
label: t("waterQ2"),
|
21189
|
+
label: t("unfcccSdTool:waterQ2"),
|
21166
21190
|
hide: true,
|
21167
21191
|
required: true,
|
21168
21192
|
},
|
21169
21193
|
{
|
21170
21194
|
name: "waterQ3",
|
21171
|
-
label: t("waterQ3"),
|
21195
|
+
label: t("unfcccSdTool:waterQ3"),
|
21172
21196
|
hide: true,
|
21173
21197
|
required: true,
|
21174
21198
|
},
|
21175
21199
|
{
|
21176
21200
|
name: "waterQ4",
|
21177
|
-
label: t("waterQ4"),
|
21201
|
+
label: t("unfcccSdTool:waterQ4"),
|
21178
21202
|
hide: true,
|
21179
21203
|
required: true,
|
21180
21204
|
},
|
21181
21205
|
{
|
21182
21206
|
name: "waterQ5",
|
21183
|
-
label: t("waterQ5"),
|
21207
|
+
label: t("unfcccSdTool:waterQ5"),
|
21184
21208
|
hide: true,
|
21185
21209
|
required: true,
|
21186
21210
|
},
|
21187
21211
|
{
|
21188
21212
|
name: "waterQ6",
|
21189
|
-
label: t("waterQ6"),
|
21213
|
+
label: t("unfcccSdTool:waterQ6"),
|
21190
21214
|
hide: true,
|
21191
21215
|
required: true,
|
21192
21216
|
},
|
21193
21217
|
{
|
21194
21218
|
name: "waterQ7",
|
21195
|
-
label: t("waterQ7"),
|
21219
|
+
label: t("unfcccSdTool:waterQ7"),
|
21196
21220
|
hide: true,
|
21197
21221
|
required: true,
|
21198
21222
|
},
|
21199
21223
|
],
|
21200
21224
|
},
|
21201
21225
|
{
|
21202
|
-
section: t("naturalResource"),
|
21226
|
+
section: t("unfcccSdTool:naturalResource"),
|
21203
21227
|
fields: [
|
21204
21228
|
{
|
21205
21229
|
name: "naturalResourceQ1",
|
21206
|
-
label: t("naturalResourceQ1"),
|
21230
|
+
label: t("unfcccSdTool:naturalResourceQ1"),
|
21207
21231
|
hide: false,
|
21208
21232
|
required: false,
|
21209
21233
|
},
|
21210
21234
|
{
|
21211
21235
|
name: "naturalResourceQ2",
|
21212
|
-
label: t("naturalResourceQ2"),
|
21236
|
+
label: t("unfcccSdTool:naturalResourceQ2"),
|
21213
21237
|
hide: true,
|
21214
21238
|
required: true,
|
21215
21239
|
},
|
21216
21240
|
{
|
21217
21241
|
name: "naturalResourceQ3",
|
21218
|
-
label: t("naturalResourceQ3"),
|
21242
|
+
label: t("unfcccSdTool:naturalResourceQ3"),
|
21219
21243
|
hide: true,
|
21220
21244
|
required: true,
|
21221
21245
|
},
|
21222
21246
|
{
|
21223
21247
|
name: "naturalResourceQ4",
|
21224
|
-
label: t("naturalResourceQ4"),
|
21248
|
+
label: t("unfcccSdTool:naturalResourceQ4"),
|
21225
21249
|
hide: true,
|
21226
21250
|
required: true,
|
21227
21251
|
},
|
21228
21252
|
{
|
21229
21253
|
name: "naturalResourceQ5",
|
21230
|
-
label: t("naturalResourceQ5"),
|
21254
|
+
label: t("unfcccSdTool:naturalResourceQ5"),
|
21231
21255
|
hide: true,
|
21232
21256
|
required: true,
|
21233
21257
|
},
|
21234
21258
|
{
|
21235
21259
|
name: "naturalResourceQ6",
|
21236
|
-
label: t("naturalResourceQ6"),
|
21260
|
+
label: t("unfcccSdTool:naturalResourceQ6"),
|
21237
21261
|
hide: true,
|
21238
21262
|
required: true,
|
21239
21263
|
},
|
@@ -21251,7 +21275,7 @@ var Environmental = function (props) {
|
|
21251
21275
|
if (changedFieldName.includes("1")) {
|
21252
21276
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21253
21277
|
var updatedEnvironmentalDetails = __spreadArray([], environmentalDetails, true);
|
21254
|
-
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21278
|
+
var sectionIndex = updatedEnvironmentalDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
|
21255
21279
|
updatedEnvironmentalDetails[sectionIndex].fields.forEach(function (field) {
|
21256
21280
|
if (field.name !== changedFieldName) {
|
21257
21281
|
field.hide = changedFieldValue !== RadioButtonStatus.YES;
|
@@ -21270,41 +21294,41 @@ var Environmental = function (props) {
|
|
21270
21294
|
if (environmentalViewData && viewOnly === true) {
|
21271
21295
|
var updatedEnvironmentalData = [
|
21272
21296
|
{
|
21273
|
-
section: t("air"),
|
21297
|
+
section: t("unfcccSdTool:air"),
|
21274
21298
|
fields: [],
|
21275
21299
|
},
|
21276
21300
|
{
|
21277
|
-
section: t("land"),
|
21301
|
+
section: t("unfcccSdTool:land"),
|
21278
21302
|
fields: [],
|
21279
21303
|
},
|
21280
21304
|
{
|
21281
|
-
section: t("water"),
|
21305
|
+
section: t("unfcccSdTool:water"),
|
21282
21306
|
fields: [],
|
21283
21307
|
},
|
21284
21308
|
{
|
21285
|
-
section: t("naturalResource"),
|
21309
|
+
section: t("unfcccSdTool:naturalResource"),
|
21286
21310
|
fields: [],
|
21287
21311
|
},
|
21288
21312
|
];
|
21289
21313
|
var _loop_1 = function (key) {
|
21290
21314
|
var section = "";
|
21291
21315
|
if (String(key).includes("air")) {
|
21292
|
-
section = t("air");
|
21316
|
+
section = t("unfcccSdTool:air");
|
21293
21317
|
}
|
21294
21318
|
else if (String(key).includes("land")) {
|
21295
|
-
section = t("land");
|
21319
|
+
section = t("unfcccSdTool:land");
|
21296
21320
|
}
|
21297
21321
|
else if (String(key).includes("water")) {
|
21298
|
-
section = t("water");
|
21322
|
+
section = t("unfcccSdTool:water");
|
21299
21323
|
}
|
21300
21324
|
else if (String(key).includes("naturalResource")) {
|
21301
|
-
section = t("naturalResource");
|
21325
|
+
section = t("unfcccSdTool:naturalResource");
|
21302
21326
|
}
|
21303
21327
|
var environmentalItem = updatedEnvironmentalData.find(function (item) { return item.section === section; });
|
21304
21328
|
if (environmentalItem) {
|
21305
21329
|
environmentalItem.fields.push({
|
21306
21330
|
name: key,
|
21307
|
-
label: t(key),
|
21331
|
+
label: t("unfcccSdTool:" + key),
|
21308
21332
|
hide: false,
|
21309
21333
|
value: environmentalViewData[key],
|
21310
21334
|
});
|
@@ -21326,11 +21350,11 @@ var Environmental = function (props) {
|
|
21326
21350
|
React.createElement(Row, { justify: "center", align: "middle", style: { width: "100%" } },
|
21327
21351
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21328
21352
|
React.createElement("span", null,
|
21329
|
-
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdToolTitle")))),
|
21353
|
+
React.createElement("a", { target: "_blank", href: "https://www4.unfccc.int/sites/sdcmicrosite/Pages/Create-a-report.aspx" }, t("unfcccSdTool:unfcccSdToolTitle")))),
|
21330
21354
|
React.createElement(Col, { span: 24 },
|
21331
21355
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21332
21356
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21333
|
-
React.createElement("span", null, t("environmental"))),
|
21357
|
+
React.createElement("span", null, t("unfcccSdTool:environmental"))),
|
21334
21358
|
React.createElement(Col, { span: 24 },
|
21335
21359
|
React.createElement("div", { className: "unfccSdTool-section-divider", style: { marginBottom: "20px" } })))),
|
21336
21360
|
(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 :
|
@@ -21343,189 +21367,188 @@ var Environmental = function (props) {
|
|
21343
21367
|
{
|
21344
21368
|
required: field === null || field === void 0 ? void 0 : field.required,
|
21345
21369
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
21346
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
21370
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("unfcccSdTool:isRequired")),
|
21347
21371
|
},
|
21348
21372
|
] },
|
21349
21373
|
React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: environmentalViewData && true }, environmentalViewData ? (React.createElement(React.Fragment, null,
|
21350
21374
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21351
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
|
21375
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
|
21352
21376
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21353
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
|
21377
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
|
21354
21378
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21355
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21379
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
|
21356
21380
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21357
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21381
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21358
21382
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21359
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
|
21383
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21360
21384
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21361
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
|
21385
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
|
21362
21386
|
})));
|
21363
21387
|
})))));
|
21364
21388
|
};
|
21365
21389
|
|
21366
21390
|
var Economic = function (props) {
|
21367
21391
|
var onFormSubmit = props.onFormSubmit, economicViewData = props.economicViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21368
|
-
translator.setDefaultNamespace("unfcccSdTool");
|
21369
21392
|
var t = translator.t;
|
21370
21393
|
var economicDetailsInitial = [
|
21371
21394
|
{
|
21372
|
-
section: t("growth"),
|
21395
|
+
section: t("unfcccSdTool:growth"),
|
21373
21396
|
fields: [
|
21374
21397
|
{
|
21375
21398
|
name: "growthQ1",
|
21376
|
-
label: t("growthQ1"),
|
21399
|
+
label: t("unfcccSdTool:growthQ1"),
|
21377
21400
|
hide: false,
|
21378
21401
|
required: false,
|
21379
21402
|
},
|
21380
21403
|
{
|
21381
21404
|
name: "growthQ2",
|
21382
|
-
label: t("growthQ2"),
|
21405
|
+
label: t("unfcccSdTool:growthQ2"),
|
21383
21406
|
hide: true,
|
21384
21407
|
required: true,
|
21385
21408
|
},
|
21386
21409
|
{
|
21387
21410
|
name: "growthQ3",
|
21388
|
-
label: t("growthQ3"),
|
21411
|
+
label: t("unfcccSdTool:growthQ3"),
|
21389
21412
|
hide: true,
|
21390
21413
|
required: true,
|
21391
21414
|
},
|
21392
21415
|
{
|
21393
21416
|
name: "growthQ4",
|
21394
|
-
label: t("growthQ4"),
|
21417
|
+
label: t("unfcccSdTool:growthQ4"),
|
21395
21418
|
hide: true,
|
21396
21419
|
required: true,
|
21397
21420
|
},
|
21398
21421
|
{
|
21399
21422
|
name: "growthQ5",
|
21400
|
-
label: t("growthQ5"),
|
21423
|
+
label: t("unfcccSdTool:growthQ5"),
|
21401
21424
|
hide: true,
|
21402
21425
|
required: true,
|
21403
21426
|
},
|
21404
21427
|
{
|
21405
21428
|
name: "growthQ6",
|
21406
|
-
label: t("growthQ6"),
|
21429
|
+
label: t("unfcccSdTool:growthQ6"),
|
21407
21430
|
hide: true,
|
21408
21431
|
required: true,
|
21409
21432
|
},
|
21410
21433
|
{
|
21411
21434
|
name: "growthQ7",
|
21412
|
-
label: t("growthQ7"),
|
21435
|
+
label: t("unfcccSdTool:growthQ7"),
|
21413
21436
|
hide: true,
|
21414
21437
|
required: true,
|
21415
21438
|
},
|
21416
21439
|
{
|
21417
21440
|
name: "growthQ8",
|
21418
|
-
label: t("growthQ8"),
|
21441
|
+
label: t("unfcccSdTool:growthQ8"),
|
21419
21442
|
hide: true,
|
21420
21443
|
required: true,
|
21421
21444
|
},
|
21422
21445
|
],
|
21423
21446
|
},
|
21424
21447
|
{
|
21425
|
-
section: t("energy"),
|
21448
|
+
section: t("unfcccSdTool:energy"),
|
21426
21449
|
fields: [
|
21427
21450
|
{
|
21428
21451
|
name: "energyQ1",
|
21429
|
-
label: t("energyQ1"),
|
21452
|
+
label: t("unfcccSdTool:energyQ1"),
|
21430
21453
|
hide: false,
|
21431
21454
|
required: false,
|
21432
21455
|
},
|
21433
21456
|
{
|
21434
21457
|
name: "energyQ2",
|
21435
|
-
label: t("energyQ2"),
|
21458
|
+
label: t("unfcccSdTool:energyQ2"),
|
21436
21459
|
hide: true,
|
21437
21460
|
required: true,
|
21438
21461
|
},
|
21439
21462
|
{
|
21440
21463
|
name: "energyQ3",
|
21441
|
-
label: t("energyQ3"),
|
21464
|
+
label: t("unfcccSdTool:energyQ3"),
|
21442
21465
|
hide: true,
|
21443
21466
|
required: true,
|
21444
21467
|
},
|
21445
21468
|
{
|
21446
21469
|
name: "energyQ4",
|
21447
|
-
label: t("energyQ4"),
|
21470
|
+
label: t("unfcccSdTool:energyQ4"),
|
21448
21471
|
hide: true,
|
21449
21472
|
required: true,
|
21450
21473
|
},
|
21451
21474
|
{
|
21452
21475
|
name: "energyQ5",
|
21453
|
-
label: t("energyQ5"),
|
21476
|
+
label: t("unfcccSdTool:energyQ5"),
|
21454
21477
|
hide: true,
|
21455
21478
|
required: true,
|
21456
21479
|
},
|
21457
21480
|
],
|
21458
21481
|
},
|
21459
21482
|
{
|
21460
|
-
section: t("techTransfer"),
|
21483
|
+
section: t("unfcccSdTool:techTransfer"),
|
21461
21484
|
fields: [
|
21462
21485
|
{
|
21463
21486
|
name: "techTransferQ1",
|
21464
|
-
label: t("techTransferQ1"),
|
21487
|
+
label: t("unfcccSdTool:techTransferQ1"),
|
21465
21488
|
hide: false,
|
21466
21489
|
required: false,
|
21467
21490
|
},
|
21468
21491
|
{
|
21469
21492
|
name: "techTransferQ2",
|
21470
|
-
label: t("techTransferQ2"),
|
21493
|
+
label: t("unfcccSdTool:techTransferQ2"),
|
21471
21494
|
hide: true,
|
21472
21495
|
required: true,
|
21473
21496
|
},
|
21474
21497
|
{
|
21475
21498
|
name: "techTransferQ3",
|
21476
|
-
label: t("techTransferQ3"),
|
21499
|
+
label: t("unfcccSdTool:techTransferQ3"),
|
21477
21500
|
hide: true,
|
21478
21501
|
required: true,
|
21479
21502
|
},
|
21480
21503
|
{
|
21481
21504
|
name: "techTransferQ4",
|
21482
|
-
label: t("techTransferQ4"),
|
21505
|
+
label: t("unfcccSdTool:techTransferQ4"),
|
21483
21506
|
hide: true,
|
21484
21507
|
required: true,
|
21485
21508
|
},
|
21486
21509
|
{
|
21487
21510
|
name: "techTransferQ5",
|
21488
|
-
label: t("techTransferQ5"),
|
21511
|
+
label: t("unfcccSdTool:techTransferQ5"),
|
21489
21512
|
hide: true,
|
21490
21513
|
required: true,
|
21491
21514
|
},
|
21492
21515
|
{
|
21493
21516
|
name: "techTransferQ6",
|
21494
|
-
label: t("techTransferQ6"),
|
21517
|
+
label: t("unfcccSdTool:techTransferQ6"),
|
21495
21518
|
hide: true,
|
21496
21519
|
required: true,
|
21497
21520
|
},
|
21498
21521
|
],
|
21499
21522
|
},
|
21500
21523
|
{
|
21501
|
-
section: t("balanceOfPayments"),
|
21524
|
+
section: t("unfcccSdTool:balanceOfPayments"),
|
21502
21525
|
fields: [
|
21503
21526
|
{
|
21504
21527
|
name: "balanceOfPaymentsQ1",
|
21505
|
-
label: t("balanceOfPaymentsQ1"),
|
21528
|
+
label: t("unfcccSdTool:balanceOfPaymentsQ1"),
|
21506
21529
|
hide: false,
|
21507
21530
|
required: false,
|
21508
21531
|
},
|
21509
21532
|
{
|
21510
21533
|
name: "balanceOfPaymentsQ2",
|
21511
|
-
label: t("balanceOfPaymentsQ2"),
|
21534
|
+
label: t("unfcccSdTool:balanceOfPaymentsQ2"),
|
21512
21535
|
hide: true,
|
21513
21536
|
required: true,
|
21514
21537
|
},
|
21515
21538
|
{
|
21516
21539
|
name: "balanceOfPaymentsQ3",
|
21517
|
-
label: t("balanceOfPaymentsQ3"),
|
21540
|
+
label: t("unfcccSdTool:balanceOfPaymentsQ3"),
|
21518
21541
|
hide: true,
|
21519
21542
|
required: true,
|
21520
21543
|
},
|
21521
21544
|
],
|
21522
21545
|
},
|
21523
21546
|
{
|
21524
|
-
section: t("furtherInfo"),
|
21547
|
+
section: t("unfcccSdTool:furtherInfo"),
|
21525
21548
|
fields: [
|
21526
21549
|
{
|
21527
21550
|
name: "furtherInfoQ1",
|
21528
|
-
label: t("furtherInfoQ1"),
|
21551
|
+
label: t("unfcccSdTool:furtherInfoQ1"),
|
21529
21552
|
hide: false,
|
21530
21553
|
required: false,
|
21531
21554
|
},
|
@@ -21542,7 +21565,7 @@ var Economic = function (props) {
|
|
21542
21565
|
if (changedFieldName.includes("1")) {
|
21543
21566
|
var sectionName_1 = changedFieldName.replace(/\d/g, "").replace("Q", "");
|
21544
21567
|
var updatedEconomicDetails = __spreadArray([], economicDetails, true);
|
21545
|
-
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t(sectionName_1); });
|
21568
|
+
var sectionIndex = updatedEconomicDetails.findIndex(function (section) { return section.section === t("unfcccSdTool:" + sectionName_1); });
|
21546
21569
|
updatedEconomicDetails[sectionIndex].fields.forEach(function (field) {
|
21547
21570
|
if (field.name !== changedFieldName) {
|
21548
21571
|
field.hide = changedFieldValue !== RadioButtonStatus.YES;
|
@@ -21561,48 +21584,48 @@ var Economic = function (props) {
|
|
21561
21584
|
if (economicViewData && viewOnly === true) {
|
21562
21585
|
var updatedEconomicData = [
|
21563
21586
|
{
|
21564
|
-
section: t("growth"),
|
21587
|
+
section: t("unfcccSdTool:growth"),
|
21565
21588
|
fields: [],
|
21566
21589
|
},
|
21567
21590
|
{
|
21568
|
-
section: t("energy"),
|
21591
|
+
section: t("unfcccSdTool:energy"),
|
21569
21592
|
fields: [],
|
21570
21593
|
},
|
21571
21594
|
{
|
21572
|
-
section: t("techTransfer"),
|
21595
|
+
section: t("unfcccSdTool:techTransfer"),
|
21573
21596
|
fields: [],
|
21574
21597
|
},
|
21575
21598
|
{
|
21576
|
-
section: t("balanceOfPayments"),
|
21599
|
+
section: t("unfcccSdTool:balanceOfPayments"),
|
21577
21600
|
fields: [],
|
21578
21601
|
},
|
21579
21602
|
{
|
21580
|
-
section: t("furtherInfo"),
|
21603
|
+
section: t("unfcccSdTool:furtherInfo"),
|
21581
21604
|
fields: [],
|
21582
21605
|
},
|
21583
21606
|
];
|
21584
21607
|
var _loop_1 = function (key) {
|
21585
21608
|
var section = "";
|
21586
21609
|
if (String(key).includes("growth")) {
|
21587
|
-
section = t("growth");
|
21610
|
+
section = t("unfcccSdTool:growth");
|
21588
21611
|
}
|
21589
21612
|
else if (String(key).includes("energy")) {
|
21590
|
-
section = t("energy");
|
21613
|
+
section = t("unfcccSdTool:energy");
|
21591
21614
|
}
|
21592
21615
|
else if (String(key).includes("techTransfer")) {
|
21593
|
-
section = t("techTransfer");
|
21616
|
+
section = t("unfcccSdTool:techTransfer");
|
21594
21617
|
}
|
21595
21618
|
else if (String(key).includes("balanceOfPayments")) {
|
21596
|
-
section = t("balanceOfPayments");
|
21619
|
+
section = t("unfcccSdTool:balanceOfPayments");
|
21597
21620
|
}
|
21598
21621
|
else if (String(key).includes("furtherInfo")) {
|
21599
|
-
section = t("furtherInfo");
|
21622
|
+
section = t("unfcccSdTool:furtherInfo");
|
21600
21623
|
}
|
21601
21624
|
var economicItem = updatedEconomicData.find(function (item) { return item.section === section; });
|
21602
21625
|
if (economicItem) {
|
21603
21626
|
economicItem.fields.push({
|
21604
21627
|
name: key,
|
21605
|
-
label: t(key),
|
21628
|
+
label: t("unfcccSdTool:" + key),
|
21606
21629
|
hide: false,
|
21607
21630
|
value: economicViewData[key],
|
21608
21631
|
});
|
@@ -21624,7 +21647,7 @@ var Economic = function (props) {
|
|
21624
21647
|
React.createElement(Col, { span: 24 },
|
21625
21648
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21626
21649
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21627
|
-
React.createElement("span", null, t("economic"))))),
|
21650
|
+
React.createElement("span", null, t("unfcccSdTool:economic"))))),
|
21628
21651
|
(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 :
|
21629
21652
|
economicDetails.map(function (environmentalDetail) {
|
21630
21653
|
var _a;
|
@@ -21635,29 +21658,28 @@ var Economic = function (props) {
|
|
21635
21658
|
{
|
21636
21659
|
required: field === null || field === void 0 ? void 0 : field.required,
|
21637
21660
|
message: (field === null || field === void 0 ? void 0 : field.required) &&
|
21638
|
-
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("isRequired")),
|
21661
|
+
"".concat(t(field === null || field === void 0 ? void 0 : field.name), " ").concat(t("coBenifits:isRequired")),
|
21639
21662
|
},
|
21640
21663
|
] },
|
21641
21664
|
React.createElement(Radio.Group, { size: "middle", onChange: function () { }, disabled: economicViewData && true }, economicViewData ? (React.createElement(React.Fragment, null,
|
21642
21665
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.YES && (React.createElement("div", { className: "yes-no-radio-container" },
|
21643
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes")))),
|
21666
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes")))),
|
21644
21667
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NO && (React.createElement("div", { className: "yes-no-radio-container" },
|
21645
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no")))),
|
21668
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no")))),
|
21646
21669
|
(field === null || field === void 0 ? void 0 : field.value) === RadioButtonStatus.NA && (React.createElement("div", { className: "yes-no-radio-container" },
|
21647
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na")))))) : (React.createElement(React.Fragment, null,
|
21670
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na")))))) : (React.createElement(React.Fragment, null,
|
21648
21671
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21649
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21672
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21650
21673
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21651
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("no"))),
|
21674
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21652
21675
|
React.createElement("div", { className: "yes-no-radio-container" },
|
21653
|
-
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("na"))))))));
|
21676
|
+
React.createElement(Radio.Button, { className: "yes-no-radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))))));
|
21654
21677
|
})));
|
21655
21678
|
})))));
|
21656
21679
|
};
|
21657
21680
|
|
21658
21681
|
var Social = function (props) {
|
21659
21682
|
var onFormSubmit = props.onFormSubmit, socialViewData = props.socialViewData, viewOnly = props.viewOnly, translator = props.translator;
|
21660
|
-
translator.setDefaultNamespace("unfcccSdTool");
|
21661
21683
|
var t = translator.t;
|
21662
21684
|
var form = Form.useForm()[0];
|
21663
21685
|
var _a = useState(0); _a[0]; var setRefreshCounter = _a[1];
|
@@ -21665,164 +21687,164 @@ var Social = function (props) {
|
|
21665
21687
|
var _c = useState(true), isFormValid = _c[0], setIsFormValid = _c[1];
|
21666
21688
|
var SocialElementDetails = [
|
21667
21689
|
{
|
21668
|
-
title: t("jobs"),
|
21669
|
-
label: t("jobRelatedMainQ"),
|
21690
|
+
title: t("unfcccSdTool:jobs"),
|
21691
|
+
label: t("unfcccSdTool:jobRelatedMainQ"),
|
21670
21692
|
name: "jobRelatedMainQ",
|
21671
21693
|
subItems: [
|
21672
21694
|
{
|
21673
21695
|
type: FormElementType.Radio,
|
21674
|
-
label: t("jobRelatedSubQ1"),
|
21696
|
+
label: t("unfcccSdTool:jobRelatedSubQ1"),
|
21675
21697
|
name: "jobRelatedSubQ1",
|
21676
21698
|
},
|
21677
21699
|
{
|
21678
21700
|
type: FormElementType.Radio,
|
21679
|
-
label: t("jobRelatedSubQ2"),
|
21701
|
+
label: t("unfcccSdTool:jobRelatedSubQ2"),
|
21680
21702
|
name: "jobRelatedSubQ2",
|
21681
21703
|
},
|
21682
21704
|
{
|
21683
21705
|
type: FormElementType.Radio,
|
21684
|
-
label: t("jobRelatedSubQ3"),
|
21706
|
+
label: t("unfcccSdTool:jobRelatedSubQ3"),
|
21685
21707
|
name: "jobRelatedSubQ3",
|
21686
21708
|
},
|
21687
21709
|
{
|
21688
21710
|
type: FormElementType.Radio,
|
21689
|
-
label: t("jobRelatedSubQ4"),
|
21711
|
+
label: t("unfcccSdTool:jobRelatedSubQ4"),
|
21690
21712
|
name: "jobRelatedSubQ4",
|
21691
21713
|
},
|
21692
21714
|
{
|
21693
21715
|
type: FormElementType.Input,
|
21694
|
-
label: t("jobRelatedSubQ5"),
|
21716
|
+
label: t("unfcccSdTool:jobRelatedSubQ5"),
|
21695
21717
|
name: "jobRelatedSubQ5",
|
21696
21718
|
},
|
21697
21719
|
{
|
21698
21720
|
type: FormElementType.Input,
|
21699
|
-
label: t("jobRelatedSubQ6"),
|
21721
|
+
label: t("unfcccSdTool:jobRelatedSubQ6"),
|
21700
21722
|
name: "jobRelatedSubQ6",
|
21701
21723
|
},
|
21702
21724
|
{
|
21703
21725
|
type: FormElementType.Input,
|
21704
|
-
label: t("jobRelatedSubQ7"),
|
21726
|
+
label: t("unfcccSdTool:jobRelatedSubQ7"),
|
21705
21727
|
name: "jobRelatedSubQ7",
|
21706
21728
|
},
|
21707
21729
|
],
|
21708
21730
|
},
|
21709
21731
|
{
|
21710
|
-
title: t("health"),
|
21711
|
-
label: t("healthRelatedMainQ"),
|
21732
|
+
title: t("unfcccSdTool:health"),
|
21733
|
+
label: t("unfcccSdTool:healthRelatedMainQ"),
|
21712
21734
|
name: "healthRelatedMainQ",
|
21713
21735
|
subItems: [
|
21714
21736
|
{
|
21715
21737
|
type: FormElementType.Radio,
|
21716
|
-
label: t("healthRelatedSubQ1"),
|
21738
|
+
label: t("unfcccSdTool:healthRelatedSubQ1"),
|
21717
21739
|
name: "healthRelatedSubQ1",
|
21718
21740
|
},
|
21719
21741
|
{
|
21720
21742
|
type: FormElementType.Radio,
|
21721
|
-
label: t("healthRelatedSubQ2"),
|
21743
|
+
label: t("unfcccSdTool:healthRelatedSubQ2"),
|
21722
21744
|
name: "healthRelatedSubQ2",
|
21723
21745
|
},
|
21724
21746
|
{
|
21725
21747
|
type: FormElementType.Radio,
|
21726
|
-
label: t("healthRelatedSubQ3"),
|
21748
|
+
label: t("unfcccSdTool:healthRelatedSubQ3"),
|
21727
21749
|
name: "healthRelatedSubQ3",
|
21728
21750
|
},
|
21729
21751
|
{
|
21730
21752
|
type: FormElementType.Radio,
|
21731
|
-
label: t("healthRelatedSubQ4"),
|
21753
|
+
label: t("unfcccSdTool:healthRelatedSubQ4"),
|
21732
21754
|
name: "healthRelatedSubQ4",
|
21733
21755
|
},
|
21734
21756
|
{
|
21735
21757
|
type: FormElementType.Radio,
|
21736
|
-
label: t("healthRelatedSubQ5"),
|
21758
|
+
label: t("unfcccSdTool:healthRelatedSubQ5"),
|
21737
21759
|
name: "healthRelatedSubQ5",
|
21738
21760
|
},
|
21739
21761
|
{
|
21740
21762
|
type: FormElementType.Radio,
|
21741
|
-
label: t("healthRelatedSubQ6"),
|
21763
|
+
label: t("unfcccSdTool:healthRelatedSubQ6"),
|
21742
21764
|
name: "healthRelatedSubQ6",
|
21743
21765
|
},
|
21744
21766
|
{
|
21745
21767
|
type: FormElementType.Radio,
|
21746
|
-
label: t("healthRelatedSubQ7"),
|
21768
|
+
label: t("unfcccSdTool:healthRelatedSubQ7"),
|
21747
21769
|
name: "healthRelatedSubQ7",
|
21748
21770
|
},
|
21749
21771
|
{
|
21750
21772
|
type: FormElementType.Radio,
|
21751
|
-
label: t("healthRelatedSubQ8"),
|
21773
|
+
label: t("unfcccSdTool:healthRelatedSubQ8"),
|
21752
21774
|
name: "healthRelatedSubQ8",
|
21753
21775
|
},
|
21754
21776
|
],
|
21755
21777
|
},
|
21756
21778
|
{
|
21757
|
-
title: t("educational"),
|
21758
|
-
label: t("educationRelatedMainQ"),
|
21779
|
+
title: t("unfcccSdTool:educational"),
|
21780
|
+
label: t("unfcccSdTool:educationRelatedMainQ"),
|
21759
21781
|
name: "educationRelatedMainQ",
|
21760
21782
|
subItems: [
|
21761
21783
|
{
|
21762
21784
|
type: FormElementType.Radio,
|
21763
|
-
label: t("educationRelatedSubQ1"),
|
21785
|
+
label: t("unfcccSdTool:educationRelatedSubQ1"),
|
21764
21786
|
name: "educationRelatedSubQ1",
|
21765
21787
|
},
|
21766
21788
|
{
|
21767
21789
|
type: FormElementType.Radio,
|
21768
|
-
label: t("educationRelatedSubQ2"),
|
21790
|
+
label: t("unfcccSdTool:educationRelatedSubQ2"),
|
21769
21791
|
name: "educationRelatedSubQ2",
|
21770
21792
|
},
|
21771
21793
|
{
|
21772
21794
|
type: FormElementType.Radio,
|
21773
|
-
label: t("educationRelatedSubQ3"),
|
21795
|
+
label: t("unfcccSdTool:educationRelatedSubQ3"),
|
21774
21796
|
name: "educationRelatedSubQ3",
|
21775
21797
|
},
|
21776
21798
|
{
|
21777
21799
|
type: FormElementType.Radio,
|
21778
|
-
label: t("educationRelatedSubQ4"),
|
21800
|
+
label: t("unfcccSdTool:educationRelatedSubQ4"),
|
21779
21801
|
name: "educationRelatedSubQ4",
|
21780
21802
|
},
|
21781
21803
|
],
|
21782
21804
|
},
|
21783
21805
|
{
|
21784
|
-
title: t("welfare"),
|
21785
|
-
label: t("welfareRelatedMainQ"),
|
21806
|
+
title: t("unfcccSdTool:welfare"),
|
21807
|
+
label: t("unfcccSdTool:welfareRelatedMainQ"),
|
21786
21808
|
name: "welfareRelatedMainQ",
|
21787
21809
|
subItems: [
|
21788
21810
|
{
|
21789
21811
|
type: FormElementType.Radio,
|
21790
|
-
label: t("welfareRelatedSubQ1"),
|
21812
|
+
label: t("unfcccSdTool:welfareRelatedSubQ1"),
|
21791
21813
|
name: "welfareRelatedSubQ1",
|
21792
21814
|
},
|
21793
21815
|
{
|
21794
21816
|
type: FormElementType.Radio,
|
21795
|
-
label: t("welfareRelatedSubQ2"),
|
21817
|
+
label: t("unfcccSdTool:welfareRelatedSubQ2"),
|
21796
21818
|
name: "welfareRelatedSubQ2",
|
21797
21819
|
},
|
21798
21820
|
{
|
21799
21821
|
type: FormElementType.Radio,
|
21800
|
-
label: t("welfareRelatedSubQ3"),
|
21822
|
+
label: t("unfcccSdTool:welfareRelatedSubQ3"),
|
21801
21823
|
name: "welfareRelatedSubQ3",
|
21802
21824
|
},
|
21803
21825
|
{
|
21804
21826
|
type: FormElementType.Radio,
|
21805
|
-
label: t("welfareRelatedSubQ4"),
|
21827
|
+
label: t("unfcccSdTool:welfareRelatedSubQ4"),
|
21806
21828
|
name: "welfareRelatedSubQ4",
|
21807
21829
|
},
|
21808
21830
|
{
|
21809
21831
|
type: FormElementType.Radio,
|
21810
|
-
label: t("welfareRelatedSubQ5"),
|
21832
|
+
label: t("unfcccSdTool:welfareRelatedSubQ5"),
|
21811
21833
|
name: "welfareRelatedSubQ5",
|
21812
21834
|
},
|
21813
21835
|
{
|
21814
21836
|
type: FormElementType.Radio,
|
21815
|
-
label: t("welfareRelatedSubQ6"),
|
21837
|
+
label: t("unfcccSdTool:welfareRelatedSubQ6"),
|
21816
21838
|
name: "welfareRelatedSubQ6",
|
21817
21839
|
},
|
21818
21840
|
{
|
21819
21841
|
type: FormElementType.Radio,
|
21820
|
-
label: t("welfareRelatedSubQ7"),
|
21842
|
+
label: t("unfcccSdTool:welfareRelatedSubQ7"),
|
21821
21843
|
name: "welfareRelatedSubQ7",
|
21822
21844
|
},
|
21823
21845
|
{
|
21824
21846
|
type: FormElementType.Radio,
|
21825
|
-
label: t("welfareRelatedSubQ8"),
|
21847
|
+
label: t("unfcccSdTool:welfareRelatedSubQ8"),
|
21826
21848
|
name: "welfareRelatedSubQ8",
|
21827
21849
|
},
|
21828
21850
|
],
|
@@ -21881,7 +21903,7 @@ var Social = function (props) {
|
|
21881
21903
|
React.createElement(Col, { span: 24 },
|
21882
21904
|
React.createElement("div", { className: "unfccSdTool-section-divider" })),
|
21883
21905
|
React.createElement(Col, { span: 24, className: "unfcccSdTool-section-title" },
|
21884
|
-
React.createElement("span", null, t("social"))))),
|
21906
|
+
React.createElement("span", null, t("unfcccSdTool:social"))))),
|
21885
21907
|
viewOnly && !socialViewData && (React.createElement(Empty, { image: Empty.PRESENTED_IMAGE_SIMPLE })),
|
21886
21908
|
((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) {
|
21887
21909
|
return (React.createElement(React.Fragment, null,
|
@@ -21892,11 +21914,11 @@ var Social = function (props) {
|
|
21892
21914
|
React.createElement(Form.Item, { className: "mg-left-2", label: element.label, name: element.name },
|
21893
21915
|
React.createElement(Radio.Group, { size: "middle", onChange: onRadioStatusChanged },
|
21894
21916
|
React.createElement("div", { className: "radio-container" },
|
21895
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21917
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21896
21918
|
React.createElement("div", { className: "radio-container" },
|
21897
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
21919
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21898
21920
|
React.createElement("div", { className: "radio-container" },
|
21899
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))),
|
21921
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))),
|
21900
21922
|
form.getFieldValue(element.name) ===
|
21901
21923
|
RadioButtonStatus.YES &&
|
21902
21924
|
element.subItems.map(function (elementItem) {
|
@@ -21909,11 +21931,11 @@ var Social = function (props) {
|
|
21909
21931
|
] },
|
21910
21932
|
React.createElement(Radio.Group, { size: "middle" },
|
21911
21933
|
React.createElement("div", { className: "radio-container" },
|
21912
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
21934
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("unfcccSdTool:yes"))),
|
21913
21935
|
React.createElement("div", { className: "radio-container" },
|
21914
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))),
|
21936
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("unfcccSdTool:no"))),
|
21915
21937
|
React.createElement("div", { className: "radio-container" },
|
21916
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("na"))))));
|
21938
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NA }, t("unfcccSdTool:na"))))));
|
21917
21939
|
}
|
21918
21940
|
else if (elementItem.type === FormElementType.Input) {
|
21919
21941
|
return (React.createElement(Form.Item, { className: "mg-left-4", labelCol: { span: 24 }, wrapperCol: { span: 24 }, label: elementItem.label, name: elementItem.name },
|
@@ -21949,89 +21971,88 @@ var Social = function (props) {
|
|
21949
21971
|
|
21950
21972
|
var SocialEnvironmentalRisk = function (props) {
|
21951
21973
|
var onFormSubmit = props.onFormSubmit, SocialEnvironmentalRiskData = props.SocialEnvironmentalRiskData, viewOnly = props.viewOnly, translator = props.translator;
|
21952
|
-
translator.setDefaultNamespace("socialEnvironmentalRisk");
|
21953
21974
|
var t = translator.t;
|
21954
21975
|
var form = Form.useForm()[0];
|
21955
21976
|
var _a = useState(), socialEnvironmentalFormDetails = _a[0], setSocialEnvironmentalFormDetails = _a[1];
|
21956
21977
|
var _b = useState([
|
21957
21978
|
{
|
21958
|
-
title: t("humanRightsSubHeader"),
|
21979
|
+
title: t("socialEnvironmentalRisk:humanRightsSubHeader"),
|
21959
21980
|
isTitleVisible: true,
|
21960
21981
|
subItems: [
|
21961
21982
|
{
|
21962
|
-
title: t("humanRights"),
|
21983
|
+
title: t("socialEnvironmentalRisk:humanRights"),
|
21963
21984
|
isTitleVisible: true,
|
21964
21985
|
subItems: [
|
21965
21986
|
{
|
21966
|
-
label: t("humanRightsQ1"),
|
21987
|
+
label: t("socialEnvironmentalRisk:humanRightsQ1"),
|
21967
21988
|
name: "humanRightsQ1",
|
21968
21989
|
},
|
21969
21990
|
{
|
21970
|
-
label: t("humanRightsQ2"),
|
21991
|
+
label: t("socialEnvironmentalRisk:humanRightsQ2"),
|
21971
21992
|
name: "humanRightsQ2",
|
21972
21993
|
},
|
21973
21994
|
{
|
21974
|
-
label: t("humanRightsQ3"),
|
21995
|
+
label: t("socialEnvironmentalRisk:humanRightsQ3"),
|
21975
21996
|
name: "humanRightsQ3",
|
21976
21997
|
},
|
21977
21998
|
{
|
21978
|
-
label: t("humanRightsQ4"),
|
21999
|
+
label: t("socialEnvironmentalRisk:humanRightsQ4"),
|
21979
22000
|
name: "humanRightsQ4",
|
21980
22001
|
},
|
21981
22002
|
{
|
21982
|
-
label: t("humanRightsQ5"),
|
22003
|
+
label: t("socialEnvironmentalRisk:humanRightsQ5"),
|
21983
22004
|
name: "humanRightsQ5",
|
21984
22005
|
},
|
21985
22006
|
{
|
21986
|
-
label: t("humanRightsQ6"),
|
22007
|
+
label: t("socialEnvironmentalRisk:humanRightsQ6"),
|
21987
22008
|
name: "humanRightsQ6",
|
21988
22009
|
},
|
21989
22010
|
{
|
21990
|
-
label: t("humanRightsQ7"),
|
22011
|
+
label: t("socialEnvironmentalRisk:humanRightsQ7"),
|
21991
22012
|
name: "humanRightsQ7",
|
21992
22013
|
},
|
21993
22014
|
],
|
21994
22015
|
},
|
21995
22016
|
{
|
21996
|
-
title: t("genderEqalityWomenEmpower"),
|
22017
|
+
title: t("socialEnvironmentalRisk:genderEqalityWomenEmpower"),
|
21997
22018
|
isTitleVisible: true,
|
21998
22019
|
subItems: [
|
21999
22020
|
{
|
22000
|
-
label: t("genderEqalityWomenEmpowerQ1"),
|
22021
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ1"),
|
22001
22022
|
name: "genderEqalityWomenEmpowerQ1",
|
22002
22023
|
},
|
22003
22024
|
{
|
22004
|
-
label: t("genderEqalityWomenEmpowerQ2"),
|
22025
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ2"),
|
22005
22026
|
name: "genderEqalityWomenEmpowerQ2",
|
22006
22027
|
},
|
22007
22028
|
{
|
22008
|
-
label: t("genderEqalityWomenEmpowerQ3"),
|
22029
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ3"),
|
22009
22030
|
name: "genderEqalityWomenEmpowerQ3",
|
22010
22031
|
},
|
22011
22032
|
{
|
22012
|
-
label: t("genderEqalityWomenEmpowerQ4"),
|
22033
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ4"),
|
22013
22034
|
name: "genderEqalityWomenEmpowerQ4",
|
22014
22035
|
},
|
22015
22036
|
{
|
22016
|
-
label: t("genderEqalityWomenEmpowerQ5"),
|
22037
|
+
label: t("socialEnvironmentalRisk:genderEqalityWomenEmpowerQ5"),
|
22017
22038
|
name: "genderEqalityWomenEmpowerQ5",
|
22018
22039
|
},
|
22019
22040
|
],
|
22020
22041
|
},
|
22021
22042
|
{
|
22022
|
-
title: t("accountability"),
|
22043
|
+
title: t("socialEnvironmentalRisk:accountability"),
|
22023
22044
|
isTitleVisible: true,
|
22024
22045
|
subItems: [
|
22025
22046
|
{
|
22026
|
-
label: t("accountabilityQ1"),
|
22047
|
+
label: t("socialEnvironmentalRisk:accountabilityQ1"),
|
22027
22048
|
name: "accountabilityQ1",
|
22028
22049
|
},
|
22029
22050
|
{
|
22030
|
-
label: t("accountabilityQ2"),
|
22051
|
+
label: t("socialEnvironmentalRisk:accountabilityQ2"),
|
22031
22052
|
name: "AccountabilityQ2",
|
22032
22053
|
},
|
22033
22054
|
{
|
22034
|
-
label: t("accountabilityQ3"),
|
22055
|
+
label: t("socialEnvironmentalRisk:accountabilityQ3"),
|
22035
22056
|
name: "accountabilityQ3",
|
22036
22057
|
},
|
22037
22058
|
],
|
@@ -22039,277 +22060,277 @@ var SocialEnvironmentalRisk = function (props) {
|
|
22039
22060
|
],
|
22040
22061
|
},
|
22041
22062
|
{
|
22042
|
-
title: t("standardSubHeader"),
|
22063
|
+
title: t("socialEnvironmentalRisk:standardSubHeader"),
|
22043
22064
|
isTitleVisible: true,
|
22044
22065
|
subItems: [
|
22045
22066
|
{
|
22046
|
-
title: t("standard1"),
|
22067
|
+
title: t("socialEnvironmentalRisk:standard1"),
|
22047
22068
|
isTitleVisible: true,
|
22048
22069
|
subItems: [
|
22049
22070
|
{
|
22050
|
-
label: t("standard1Q1"),
|
22071
|
+
label: t("socialEnvironmentalRisk:standard1Q1"),
|
22051
22072
|
name: "standard1Q1",
|
22052
22073
|
},
|
22053
22074
|
{
|
22054
|
-
label: t("standard1Q2"),
|
22075
|
+
label: t("socialEnvironmentalRisk:standard1Q2"),
|
22055
22076
|
name: "standard1Q2",
|
22056
22077
|
},
|
22057
22078
|
{
|
22058
|
-
label: t("standard1Q3"),
|
22079
|
+
label: t("socialEnvironmentalRisk:standard1Q3"),
|
22059
22080
|
name: "standard1Q3",
|
22060
22081
|
},
|
22061
22082
|
{
|
22062
|
-
label: t("standard1Q4"),
|
22083
|
+
label: t("socialEnvironmentalRisk:standard1Q4"),
|
22063
22084
|
name: "standard1Q4",
|
22064
22085
|
},
|
22065
22086
|
{
|
22066
|
-
label: t("standard1Q5"),
|
22087
|
+
label: t("socialEnvironmentalRisk:standard1Q5"),
|
22067
22088
|
name: "standard1Q5",
|
22068
22089
|
},
|
22069
22090
|
{
|
22070
|
-
label: t("standard1Q6"),
|
22091
|
+
label: t("socialEnvironmentalRisk:standard1Q6"),
|
22071
22092
|
name: "standard1Q6",
|
22072
22093
|
},
|
22073
22094
|
{
|
22074
|
-
label: t("standard1Q7"),
|
22095
|
+
label: t("socialEnvironmentalRisk:standard1Q7"),
|
22075
22096
|
name: "standard1Q7",
|
22076
22097
|
},
|
22077
22098
|
{
|
22078
|
-
label: t("standard1Q8"),
|
22099
|
+
label: t("socialEnvironmentalRisk:standard1Q8"),
|
22079
22100
|
name: "standard1Q8",
|
22080
22101
|
},
|
22081
22102
|
{
|
22082
|
-
label: t("standard1Q9"),
|
22103
|
+
label: t("socialEnvironmentalRisk:standard1Q9"),
|
22083
22104
|
name: "standard1Q9",
|
22084
22105
|
},
|
22085
22106
|
{
|
22086
|
-
label: t("standard1Q10"),
|
22107
|
+
label: t("socialEnvironmentalRisk:standard1Q10"),
|
22087
22108
|
name: "standard1Q10",
|
22088
22109
|
},
|
22089
22110
|
{
|
22090
|
-
label: t("standard1Q11"),
|
22111
|
+
label: t("socialEnvironmentalRisk:standard1Q11"),
|
22091
22112
|
name: "standard1Q11",
|
22092
22113
|
},
|
22093
22114
|
{
|
22094
|
-
label: t("standard1Q12"),
|
22115
|
+
label: t("socialEnvironmentalRisk:standard1Q12"),
|
22095
22116
|
name: "standard1Q12",
|
22096
22117
|
},
|
22097
22118
|
{
|
22098
|
-
label: t("standard1Q13"),
|
22119
|
+
label: t("socialEnvironmentalRisk:standard1Q13"),
|
22099
22120
|
name: "standard1Q13",
|
22100
22121
|
},
|
22101
22122
|
{
|
22102
|
-
label: t("standard1Q14"),
|
22123
|
+
label: t("socialEnvironmentalRisk:standard1Q14"),
|
22103
22124
|
name: "standard1Q14",
|
22104
22125
|
},
|
22105
22126
|
],
|
22106
22127
|
},
|
22107
22128
|
{
|
22108
|
-
title: t("standard2"),
|
22129
|
+
title: t("socialEnvironmentalRisk:standard2"),
|
22109
22130
|
isTitleVisible: true,
|
22110
22131
|
subItems: [
|
22111
22132
|
{
|
22112
|
-
label: t("standard2Q1"),
|
22133
|
+
label: t("socialEnvironmentalRisk:standard2Q1"),
|
22113
22134
|
name: "standard2Q1",
|
22114
22135
|
},
|
22115
22136
|
{
|
22116
|
-
label: t("standard2Q2"),
|
22137
|
+
label: t("socialEnvironmentalRisk:standard2Q2"),
|
22117
22138
|
name: "standard2Q2",
|
22118
22139
|
},
|
22119
22140
|
{
|
22120
|
-
label: t("standard2Q3"),
|
22141
|
+
label: t("socialEnvironmentalRisk:standard2Q3"),
|
22121
22142
|
name: "standard2Q3",
|
22122
22143
|
},
|
22123
22144
|
{
|
22124
|
-
label: t("standard2Q4"),
|
22145
|
+
label: t("socialEnvironmentalRisk:standard2Q4"),
|
22125
22146
|
name: "standard2Q4",
|
22126
22147
|
},
|
22127
22148
|
],
|
22128
22149
|
},
|
22129
22150
|
{
|
22130
|
-
title: t("standard3"),
|
22151
|
+
title: t("socialEnvironmentalRisk:standard3"),
|
22131
22152
|
isTitleVisible: true,
|
22132
22153
|
subItems: [
|
22133
22154
|
{
|
22134
|
-
label: t("standard3Q1"),
|
22155
|
+
label: t("socialEnvironmentalRisk:standard3Q1"),
|
22135
22156
|
name: "standard3Q1",
|
22136
22157
|
},
|
22137
22158
|
{
|
22138
|
-
label: t("standard3Q2"),
|
22159
|
+
label: t("socialEnvironmentalRisk:standard3Q2"),
|
22139
22160
|
name: "standard3Q2",
|
22140
22161
|
},
|
22141
22162
|
{
|
22142
|
-
label: t("standard3Q3"),
|
22163
|
+
label: t("socialEnvironmentalRisk:standard3Q3"),
|
22143
22164
|
name: "standard3Q3",
|
22144
22165
|
},
|
22145
22166
|
{
|
22146
|
-
label: t("standard3Q4"),
|
22167
|
+
label: t("socialEnvironmentalRisk:standard3Q4"),
|
22147
22168
|
name: "standard3Q4",
|
22148
22169
|
},
|
22149
22170
|
{
|
22150
|
-
label: t("standard3Q5"),
|
22171
|
+
label: t("socialEnvironmentalRisk:standard3Q5"),
|
22151
22172
|
name: "standard3Q5",
|
22152
22173
|
},
|
22153
22174
|
{
|
22154
|
-
label: t("standard3Q6"),
|
22175
|
+
label: t("socialEnvironmentalRisk:standard3Q6"),
|
22155
22176
|
name: "standard3Q6",
|
22156
22177
|
},
|
22157
22178
|
{
|
22158
|
-
label: t("standard3Q7"),
|
22179
|
+
label: t("socialEnvironmentalRisk:standard3Q7"),
|
22159
22180
|
name: "standard3Q7",
|
22160
22181
|
},
|
22161
22182
|
{
|
22162
|
-
label: t("standard3Q8"),
|
22183
|
+
label: t("socialEnvironmentalRisk:standard3Q8"),
|
22163
22184
|
name: "standard3Q8",
|
22164
22185
|
},
|
22165
22186
|
],
|
22166
22187
|
},
|
22167
22188
|
{
|
22168
|
-
title: t("standard4"),
|
22189
|
+
title: t("socialEnvironmentalRisk:standard4"),
|
22169
22190
|
isTitleVisible: true,
|
22170
22191
|
subItems: [
|
22171
22192
|
{
|
22172
|
-
label: t("standard4Q1"),
|
22193
|
+
label: t("socialEnvironmentalRisk:standard4Q1"),
|
22173
22194
|
name: "standard4Q1",
|
22174
22195
|
},
|
22175
22196
|
{
|
22176
|
-
label: t("standard4Q2"),
|
22197
|
+
label: t("socialEnvironmentalRisk:standard4Q2"),
|
22177
22198
|
name: "standard4Q2",
|
22178
22199
|
},
|
22179
22200
|
{
|
22180
|
-
label: t("standard4Q3"),
|
22201
|
+
label: t("socialEnvironmentalRisk:standard4Q3"),
|
22181
22202
|
name: "standard4Q3",
|
22182
22203
|
},
|
22183
22204
|
{
|
22184
|
-
label: t("standard4Q4"),
|
22205
|
+
label: t("socialEnvironmentalRisk:standard4Q4"),
|
22185
22206
|
name: "standard4Q4",
|
22186
22207
|
},
|
22187
22208
|
{
|
22188
|
-
label: t("standard4Q5"),
|
22209
|
+
label: t("socialEnvironmentalRisk:standard4Q5"),
|
22189
22210
|
name: "standard4Q5",
|
22190
22211
|
},
|
22191
22212
|
],
|
22192
22213
|
},
|
22193
22214
|
{
|
22194
|
-
title: t("standard5"),
|
22215
|
+
title: t("socialEnvironmentalRisk:standard5"),
|
22195
22216
|
isTitleVisible: true,
|
22196
22217
|
subItems: [
|
22197
22218
|
{
|
22198
|
-
label: t("standard5Q1"),
|
22219
|
+
label: t("socialEnvironmentalRisk:standard5Q1"),
|
22199
22220
|
name: "standard5Q1",
|
22200
22221
|
},
|
22201
22222
|
{
|
22202
|
-
label: t("standard5Q2"),
|
22223
|
+
label: t("socialEnvironmentalRisk:standard5Q2"),
|
22203
22224
|
name: "standard5Q2",
|
22204
22225
|
},
|
22205
22226
|
{
|
22206
|
-
label: t("standard5Q3"),
|
22227
|
+
label: t("socialEnvironmentalRisk:standard5Q3"),
|
22207
22228
|
name: "standard5Q3",
|
22208
22229
|
},
|
22209
22230
|
{
|
22210
|
-
label: t("standard5Q4"),
|
22231
|
+
label: t("socialEnvironmentalRisk:standard5Q4"),
|
22211
22232
|
name: "standard5Q4",
|
22212
22233
|
},
|
22213
22234
|
],
|
22214
22235
|
},
|
22215
22236
|
{
|
22216
|
-
title: t("standard6"),
|
22237
|
+
title: t("socialEnvironmentalRisk:standard6"),
|
22217
22238
|
isTitleVisible: true,
|
22218
22239
|
subItems: [
|
22219
22240
|
{
|
22220
|
-
label: t("standard6Q1"),
|
22241
|
+
label: t("socialEnvironmentalRisk:standard6Q1"),
|
22221
22242
|
name: "standard6Q1",
|
22222
22243
|
},
|
22223
22244
|
{
|
22224
|
-
label: t("standard6Q2"),
|
22245
|
+
label: t("socialEnvironmentalRisk:standard6Q2"),
|
22225
22246
|
name: "standard6Q2",
|
22226
22247
|
},
|
22227
22248
|
{
|
22228
|
-
label: t("standard6Q3"),
|
22249
|
+
label: t("socialEnvironmentalRisk:standard6Q3"),
|
22229
22250
|
name: "standard6Q3",
|
22230
22251
|
},
|
22231
22252
|
{
|
22232
|
-
label: t("standard6Q4"),
|
22253
|
+
label: t("socialEnvironmentalRisk:standard6Q4"),
|
22233
22254
|
name: "standard6Q4",
|
22234
22255
|
},
|
22235
22256
|
{
|
22236
|
-
label: t("standard6Q5"),
|
22257
|
+
label: t("socialEnvironmentalRisk:standard6Q5"),
|
22237
22258
|
name: "standard6Q5",
|
22238
22259
|
},
|
22239
22260
|
{
|
22240
|
-
label: t("standard6Q6"),
|
22261
|
+
label: t("socialEnvironmentalRisk:standard6Q6"),
|
22241
22262
|
name: "standard6Q6",
|
22242
22263
|
},
|
22243
22264
|
{
|
22244
|
-
label: t("standard6Q7"),
|
22265
|
+
label: t("socialEnvironmentalRisk:standard6Q7"),
|
22245
22266
|
name: "standard6Q7",
|
22246
22267
|
},
|
22247
22268
|
{
|
22248
|
-
label: t("standard6Q8"),
|
22269
|
+
label: t("socialEnvironmentalRisk:standard6Q8"),
|
22249
22270
|
name: "standard6Q8",
|
22250
22271
|
},
|
22251
22272
|
{
|
22252
|
-
label: t("standard6Q9"),
|
22273
|
+
label: t("socialEnvironmentalRisk:standard6Q9"),
|
22253
22274
|
name: "standard6Q9",
|
22254
22275
|
},
|
22255
22276
|
],
|
22256
22277
|
},
|
22257
22278
|
{
|
22258
|
-
title: t("standard7"),
|
22279
|
+
title: t("socialEnvironmentalRisk:standard7"),
|
22259
22280
|
isTitleVisible: true,
|
22260
22281
|
subItems: [
|
22261
22282
|
{
|
22262
|
-
label: t("standard7Q1"),
|
22283
|
+
label: t("socialEnvironmentalRisk:standard7Q1"),
|
22263
22284
|
name: "standard7Q1",
|
22264
22285
|
},
|
22265
22286
|
{
|
22266
|
-
label: t("standard7Q2"),
|
22287
|
+
label: t("socialEnvironmentalRisk:standard7Q2"),
|
22267
22288
|
name: "standard7Q2",
|
22268
22289
|
},
|
22269
22290
|
{
|
22270
|
-
label: t("standard7Q3"),
|
22291
|
+
label: t("socialEnvironmentalRisk:standard7Q3"),
|
22271
22292
|
name: "standard7Q3",
|
22272
22293
|
},
|
22273
22294
|
{
|
22274
|
-
label: t("standard7Q4"),
|
22295
|
+
label: t("socialEnvironmentalRisk:standard7Q4"),
|
22275
22296
|
name: "standard7Q4",
|
22276
22297
|
},
|
22277
22298
|
{
|
22278
|
-
label: t("standard7Q5"),
|
22299
|
+
label: t("socialEnvironmentalRisk:standard7Q5"),
|
22279
22300
|
name: "standard7Q5",
|
22280
22301
|
},
|
22281
22302
|
{
|
22282
|
-
label: t("standard7Q6"),
|
22303
|
+
label: t("socialEnvironmentalRisk:standard7Q6"),
|
22283
22304
|
name: "standard7Q6",
|
22284
22305
|
},
|
22285
22306
|
],
|
22286
22307
|
},
|
22287
22308
|
{
|
22288
|
-
title: t("standard8"),
|
22309
|
+
title: t("socialEnvironmentalRisk:standard8"),
|
22289
22310
|
isTitleVisible: true,
|
22290
22311
|
subItems: [
|
22291
22312
|
{
|
22292
|
-
label: t("standard8Q1"),
|
22313
|
+
label: t("socialEnvironmentalRisk:standard8Q1"),
|
22293
22314
|
name: "standard8Q1",
|
22294
22315
|
},
|
22295
22316
|
{
|
22296
|
-
label: t("standard8Q2"),
|
22317
|
+
label: t("socialEnvironmentalRisk:standard8Q2"),
|
22297
22318
|
name: "standard8Q2",
|
22298
22319
|
},
|
22299
22320
|
{
|
22300
|
-
label: t("standard8Q3"),
|
22321
|
+
label: t("socialEnvironmentalRisk:standard8Q3"),
|
22301
22322
|
name: "standard8Q3",
|
22302
22323
|
},
|
22303
22324
|
{
|
22304
|
-
label: t("standard8Q4"),
|
22325
|
+
label: t("socialEnvironmentalRisk:standard8Q4"),
|
22305
22326
|
name: "standard8Q4",
|
22306
22327
|
},
|
22307
22328
|
{
|
22308
|
-
label: t("standard8Q5"),
|
22329
|
+
label: t("socialEnvironmentalRisk:standard8Q5"),
|
22309
22330
|
name: "standard8Q5",
|
22310
22331
|
},
|
22311
22332
|
{
|
22312
|
-
label: t("standard8Q6"),
|
22333
|
+
label: t("socialEnvironmentalRisk:standard8Q6"),
|
22313
22334
|
name: "standard8Q6",
|
22314
22335
|
},
|
22315
22336
|
],
|
@@ -22370,9 +22391,9 @@ var SocialEnvironmentalRisk = function (props) {
|
|
22370
22391
|
return (React.createElement(Form.Item, { className: "mg-left-2 form-item", label: element.label, name: element.name },
|
22371
22392
|
React.createElement(Radio.Group, { size: "middle" },
|
22372
22393
|
React.createElement("div", { className: "radio-container" },
|
22373
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("yes"))),
|
22394
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.YES }, t("socialEnvironmentalRisk:yes"))),
|
22374
22395
|
React.createElement("div", { className: "radio-container" },
|
22375
|
-
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("no"))))));
|
22396
|
+
React.createElement(Radio.Button, { className: "radio", value: RadioButtonStatus.NO }, t("socialEnvironmentalRisk:no"))))));
|
22376
22397
|
})));
|
22377
22398
|
})));
|
22378
22399
|
}),
|
@@ -22404,13 +22425,26 @@ var CoBenifitsComponent = function (props) {
|
|
22404
22425
|
var _b = useState(), coBenefitDetails = _b[0], setCoBenefitDetails = _b[1];
|
22405
22426
|
var _c = useState(true), isSocialFormValid = _c[0], setIsSocialFormValid = _c[1];
|
22406
22427
|
var _d = useState(true), isAssessmentFormValid = _d[0], setIsAssessmentFormValid = _d[1];
|
22407
|
-
translator.setDefaultNamespace("coBenifits");
|
22408
22428
|
var t = translator.t;
|
22409
22429
|
var onSdgGoalsFormSubmit = function (sdgGoalsDetails) {
|
22410
22430
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { sdgGoals: sdgGoalsDetails })); });
|
22411
22431
|
};
|
22412
22432
|
var onGenderParityFormSubmit = function (genderParityDetails) {
|
22413
|
-
|
22433
|
+
if (genderParityDetails) {
|
22434
|
+
var values = Object.values(genderParityDetails).filter(function (val) {
|
22435
|
+
return (val !== undefined &&
|
22436
|
+
typeof val != "boolean" &&
|
22437
|
+
val.trim().length === 0) ||
|
22438
|
+
val === undefined;
|
22439
|
+
});
|
22440
|
+
var keys = Object.keys(genderParityDetails);
|
22441
|
+
if (keys.length === values.length) {
|
22442
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: undefined })); });
|
22443
|
+
}
|
22444
|
+
else {
|
22445
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { genderPariy: genderParityDetails })); });
|
22446
|
+
}
|
22447
|
+
}
|
22414
22448
|
};
|
22415
22449
|
var onEnvironmentalFormSubmit = function (environmentalsDetails) {
|
22416
22450
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { environmental: environmentalsDetails })); });
|
@@ -22419,8 +22453,22 @@ var CoBenifitsComponent = function (props) {
|
|
22419
22453
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { economic: economicDetails })); });
|
22420
22454
|
};
|
22421
22455
|
var onAssessmentFormSubmit = function (coBenefitsAssessmentDetails, isFormValid) {
|
22422
|
-
|
22423
|
-
|
22456
|
+
if (coBenefitsAssessmentDetails) {
|
22457
|
+
var values = Object.values(coBenefitsAssessmentDetails).filter(function (val) {
|
22458
|
+
return (val !== undefined &&
|
22459
|
+
typeof val != "boolean" &&
|
22460
|
+
val.trim().length === 0) ||
|
22461
|
+
val === undefined;
|
22462
|
+
});
|
22463
|
+
var keys = Object.keys(coBenefitsAssessmentDetails);
|
22464
|
+
if (keys.length === values.length) {
|
22465
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: undefined })); });
|
22466
|
+
}
|
22467
|
+
else {
|
22468
|
+
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { assessmentDetails: coBenefitsAssessmentDetails })); });
|
22469
|
+
}
|
22470
|
+
setIsAssessmentFormValid(isFormValid);
|
22471
|
+
}
|
22424
22472
|
};
|
22425
22473
|
var onSafeguardFormSubmit = function (safeguardDetails) {
|
22426
22474
|
setCoBenefitDetails(function (pre) { return (__assign(__assign({}, pre), { safeguardDetails: safeguardDetails })); });
|
@@ -23913,7 +23961,7 @@ var CreditTransferComponent = function (props) {
|
|
23913
23961
|
style: "color-primary",
|
23914
23962
|
click: function () {
|
23915
23963
|
showModalOnAction(record, {
|
23916
|
-
title: t("creditTransfer:
|
23964
|
+
title: t("creditTransfer:acceptCreditTransferTitle"),
|
23917
23965
|
icon: React.createElement(Icon.ClipboardCheck, null),
|
23918
23966
|
actionBtnText: t("creditTransfer:proceed"),
|
23919
23967
|
okAction: function (requestId, comment) {
|
@@ -24261,7 +24309,7 @@ var CreditTransferComponent = function (props) {
|
|
24261
24309
|
}, actionBtnText: popupInfo.actionBtnText, onFinish: popupInfo === null || popupInfo === void 0 ? void 0 : popupInfo.okAction, subText: "", openModal: modalVisible, icon: popupInfo.icon, title: popupInfo.title, type: popupInfo.type, remarkRequired: popupInfo.remarkRequired, translator: translator }))));
|
24262
24310
|
};
|
24263
24311
|
|
24264
|
-
var css_248z$c = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.unit {\n display: flex;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n\n.card-icons {\n color: #16b1ff; }\n\n.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.mapboxgl-popup-close-button,\n.mapboxgl-popup-close-button:hover {\n display: none; }\n\n.total-container {\n display: flex;\n flex-direction: column;\n border: 1px solid gray; }\n\n.margin-top-6 {\n margin-top: 7.5rem; }\n\n.margin-top-2 {\n margin-top: 2rem; }\n\n.margin-top-1 {\n margin-top: 1rem; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvdefault-right {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 0px 0px 0px !important; }\n\n.cards-title {\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n\n.dashboard-main-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 2rem 0 2rem; }\n .dashboard-main-container .header-and-title {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 0 15px 0 15px;\n font-family: \"Inter-Regular\";\n font-size: 1.4rem;\n font-weight: 600; }\n .dashboard-main-container .stastics-cards-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row .stastic-card-col {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center; }\n .dashboard-main-container .filter-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 2rem;\n padding: 0 1.2rem 0 1.2rem; }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper {\n height: 35px !important;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n)::before {\n background-color: transparent !important; }\n .dashboard-main-container .filter-container .radio-selection .overall {\n border-radius: 5px 0 0 5px !important; }\n .dashboard-main-container .filter-container .radio-selection .mine {\n border-radius: 0 5px 5px 0 !important; }\n .dashboard-main-container .center {\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .height-pie-rem {\n height: 26.2rem; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between !important; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend-series {\n display: flex !important;\n width: 42%; }\n .dashboard-main-container .height-bar-rem {\n height: 29rem; }\n .dashboard-main-container .height-map-rem {\n height: 510px; }\n .dashboard-main-container .stastics-and-charts-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-top: 2rem;\n margin-bottom: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n border-radius: 10px;\n padding: 0 1rem 0.7rem 1rem;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .margin-top-2 {\n width: 100%;\n margin-top: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n padding: 1rem 1rem 0 1rem;\n flex-wrap: wrap; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .title {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n width: 90%;\n font-size: 1.15rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: flex-end; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n height: 150px;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .details {\n display: flex;\n flex-direction: column;\n width: 70%;\n padding: 0 1rem 0 0.8rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .details .detail {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 1.375rem;\n padding-left: 0.125rem;\n color: rgba(58, 53, 65, 0.8);\n margin-bottom: 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .details .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n font-size: 1.6rem;\n line-height: 22px;\n padding-left: 0.125rem;\n padding: 0;\n color: #16b1ff; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .icon {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 30%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .icon img {\n height: 80px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n height: 100px;\n width: 100%;\n margin-top: 1rem;\n margin-bottom: 0.5rem;\n padding: 0 0.5rem 0 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon {\n display: flex;\n flex-direction: row;\n width: 20%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .icon-container,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .icon-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n width: 2.813rem;\n height: 2.813rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .reject,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .reject {\n background-color: rgba(255, 166, 166, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .transfer,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .transfer {\n background-color: rgba(254, 241, 173, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .pending,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .pending {\n background-color: rgba(164, 162, 168, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .authorized,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .authorized {\n background-color: rgba(185, 226, 244, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details {\n display: flex;\n flex-direction: column;\n width: 80%;\n height: 3.438rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .label,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .label {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n height: 30px;\n font-size: 1.5rem;\n margin-top: -8px;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .stage-legends {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on {\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: flex-start;\n padding: 0 1rem 0 0.8rem;\n height: 50px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on .updated-moment-container {\n display: flex;\n flex-direction: row;\n font-size: 0.75rem;\n border-radius: 3.125rem;\n padding: 0.05rem 0.8rem 0.05rem 0.8rem;\n color: #16b1ff;\n background-color: rgba(222, 205, 254, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 1rem 0 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title {\n display: flex;\n flex-direction: row;\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title .unit {\n display: flex;\n margin: 0 0 0 0.5rem;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .info-container {\n display: flex;\n flex-direction: row;\n align-items: center; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-section {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-and-pie-card:hover {\n box-shadow: rgba(0, 5, 18, 0.2) 0px 8px 24px; }\n .dashboard-main-container .stastics-charts-container-total-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 60px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .maps-container {\n display: flex;\n flex-direction: row;\n border-radius: 10px;\n margin: 25px 20px 25px 15px;\n height: auto; }\n .dashboard-main-container .maps-container .maps-container-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .maps-container .maps-container-row .maps-container-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n";
|
24312
|
+
var css_248z$c = ".mapboxgl-popup-content {\n background-color: #ffffff !important;\n color: rgba(58, 53, 65, 0.8) !important; }\n\n.unit {\n display: flex;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n\n.card-icons {\n color: #16b1ff; }\n\n.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip {\n border-top-color: #ffffff !important; }\n\n.mapboxgl-popup-close-button,\n.mapboxgl-popup-close-button:hover {\n display: none; }\n\n.total-container {\n display: flex;\n flex-direction: column;\n border: 1px solid gray; }\n\n.margin-top-6 {\n margin-top: 7.5rem; }\n\n.margin-top-2 {\n margin-top: 2rem; }\n\n.margin-top-1 {\n margin-top: 1rem; }\n\n.ant-btn.mrvdefault {\n border-radius: 5px 0px 0px 5px !important; }\n\n.ant-btn.mrvdefault-right {\n border-radius: 0px 5px 5px 0px !important; }\n\n.ant-btn.mrvprimary {\n border-radius: 0px 0px 0px 0px !important; }\n\n.cards-title {\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n\n.dashboard-main-container {\n width: 100%;\n display: flex;\n flex-direction: column;\n border-radius: 5px;\n padding: 0 2rem 0 2rem; }\n .dashboard-main-container .header-and-title {\n display: flex;\n flex-direction: row;\n width: 100%;\n padding: 0 15px 0 15px;\n font-family: \"Inter-Regular\";\n font-size: 1.4rem;\n font-weight: 600; }\n .dashboard-main-container .stastics-cards-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-cards-container .stastic-card-row .stastic-card-col {\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center; }\n .dashboard-main-container .filter-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: center;\n justify-content: space-between;\n margin-top: 2rem;\n padding: 0 1.2rem 0 1.2rem; }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper {\n height: 35px !important;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .filter-container .radio-selection .ant-radio-button-wrapper-checked:not(\n .ant-radio-button-wrapper-disabled\n)::before {\n background-color: transparent !important; }\n .dashboard-main-container .filter-container .radio-selection .overall {\n border-radius: 5px 0 0 5px !important; }\n .dashboard-main-container .filter-container .radio-selection .mine {\n border-radius: 0 5px 5px 0 !important; }\n .dashboard-main-container .center {\n align-items: center;\n justify-content: center; }\n .dashboard-main-container .height-pie-rem {\n height: 26.2rem; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between !important;\n inset: auto 0px 0px 5px !important; }\n .dashboard-main-container .height-pie-rem .apexcharts-legend-series {\n display: flex !important;\n width: 42%; }\n .dashboard-main-container .height-bar-rem {\n height: 29rem; }\n .dashboard-main-container .height-map-rem {\n height: 510px; }\n .dashboard-main-container .stastics-and-charts-container {\n display: flex;\n flex-direction: row;\n width: 100%;\n margin-top: 2rem;\n margin-bottom: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row {\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card {\n display: flex;\n flex-direction: column;\n background-color: #ffffff;\n border-radius: 10px;\n padding: 0 1rem 0.7rem 1rem;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .margin-top-2 {\n width: 100%;\n margin-top: 2rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n width: 100%;\n padding: 1rem 1rem 0 1rem;\n flex-wrap: wrap; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .title {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n width: 90%;\n font-size: 1.15rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .title-section .info-container {\n display: flex;\n flex-direction: row;\n width: 10%;\n height: 30px;\n align-items: center;\n justify-content: flex-end; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n height: 150px;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .details {\n display: flex;\n flex-direction: column;\n width: 70%;\n padding: 0 1rem 0 0.8rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .details .detail {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n line-height: 1.375rem;\n padding-left: 0.125rem;\n color: rgba(58, 53, 65, 0.8);\n margin-bottom: 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .details .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 600;\n font-size: 1.6rem;\n line-height: 22px;\n padding-left: 0.125rem;\n padding: 0;\n color: #16b1ff; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .icon {\n display: flex;\n align-items: center;\n justify-content: flex-end;\n width: 30%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .mrv-total-programme-details .icon img {\n height: 80px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n justify-content: flex-start;\n height: 100px;\n width: 100%;\n margin-top: 1rem;\n margin-bottom: 0.5rem;\n padding: 0 0.5rem 0 0.5rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between;\n width: 100%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon {\n display: flex;\n flex-direction: row;\n width: 20%; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .icon-container,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .icon-container {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n border-radius: 50px;\n width: 2.813rem;\n height: 2.813rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .reject,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .reject {\n background-color: rgba(255, 166, 166, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .transfer,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .transfer {\n background-color: rgba(254, 241, 173, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .pending,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .pending {\n background-color: rgba(164, 162, 168, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .icon .authorized,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .icon .authorized {\n background-color: rgba(185, 226, 244, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details {\n display: flex;\n flex-direction: column;\n width: 80%;\n height: 3.438rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .label,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .label {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n font-size: 0.875rem;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .rejected-details .details .label-and-value .value,\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .total-programme-extra-details .transfered-details .details .label-and-value .value {\n font-family: \"Inter\";\n font-style: normal;\n font-weight: 400;\n height: 30px;\n font-size: 1.5rem;\n margin-top: -8px;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .stage-legends {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n margin-top: 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on {\n display: flex;\n flex-direction: row;\n align-items: flex-end;\n justify-content: flex-start;\n padding: 0 1rem 0 0.8rem;\n height: 50px; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .updated-on .updated-moment-container {\n display: flex;\n flex-direction: row;\n font-size: 0.75rem;\n border-radius: 3.125rem;\n padding: 0.05rem 0.8rem 0.05rem 0.8rem;\n color: #16b1ff;\n background-color: rgba(222, 205, 254, 0.4); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: 0 1rem 0 1rem; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title {\n display: flex;\n flex-direction: row;\n font-family: \"Inter\";\n align-items: flex-start;\n justify-content: flex-start;\n font-style: normal;\n font-weight: 600;\n height: 50px;\n font-size: 1.15rem;\n margin-top: 1rem;\n color: rgba(58, 53, 65, 0.8); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .pie-charts-title .unit {\n display: flex;\n margin: 0 0 0 0.5rem;\n font-family: \"Inter\";\n font-size: 1.15rem;\n font-weight: 500;\n color: rgba(58, 53, 65, 0.5); }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-top .info-container {\n display: flex;\n flex-direction: row;\n align-items: center; }\n .dashboard-main-container .stastics-and-charts-container .stastic-card-row .stastic-card-col .stastics-and-pie-card .pie-charts-section {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-and-pie-card:hover {\n box-shadow: rgba(0, 5, 18, 0.2) 0px 8px 24px; }\n .dashboard-main-container .stastics-charts-container-total-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 60px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-total-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-charts-container-certified-programmes .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container {\n display: flex;\n flex-direction: row;\n width: 98%;\n margin: 5px 10px 25px 15px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n height: 400px;\n background: #f6f6f6;\n box-shadow: rgba(106, 106, 106, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .stastics-pie-charts-container .stastic-charts-row .stastic-charts-col .chart-card:hover {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%;\n background: #f1f1f1;\n box-shadow: rgba(124, 124, 124, 0.2) 0px 8px 24px;\n border-radius: 10px;\n padding: 10px 10px 10px 10px; }\n .dashboard-main-container .maps-container {\n display: flex;\n flex-direction: row;\n border-radius: 10px;\n margin: 25px 20px 25px 15px;\n height: auto; }\n .dashboard-main-container .maps-container .maps-container-row {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n .dashboard-main-container .maps-container .maps-container-row .maps-container-col {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n width: 100%; }\n";
|
24265
24313
|
styleInject(css_248z$c);
|
24266
24314
|
|
24267
24315
|
var MrvPieChartsStatComponent = function (props) {
|
@@ -27883,7 +27931,7 @@ var EditableCell = function (_a) {
|
|
27883
27931
|
React.createElement(Input, { onBlur: function () { return onBlurHandler(record); }, placeholder: t("ndc:kpiPlaceHolder") }))) : (children)));
|
27884
27932
|
};
|
27885
27933
|
|
27886
|
-
var css_248z$7 = ".ndc-steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: center; }\n .ndc-steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .ndc-steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .ndc-steps-actions .mg-left-1 {\n margin-left: 1rem; }\n\n.ndc-details .ant-input-number-input-wrap {\n margin-right: 10px; }\n\n.ndc-details tbody {\n vertical-align: top; }\n\n.ndc-details td .ant-space-item {\n margin-top: 5px; }\n\n.ndc-details .btn-danger {\n color: #ff4d4f !important;\n border-color: #ff8183 !important; }\n";
|
27934
|
+
var css_248z$7 = ".ndc-steps-actions {\n display: flex;\n flex-direction: row-reverse;\n margin-right: 1rem;\n justify-content: center; }\n .ndc-steps-actions .action-btn {\n border: 1px solid #16b1ff;\n color: #16b1ff;\n margin-right: 1rem; }\n .ndc-steps-actions .back-btn {\n border: 1px solid rgba(140, 140, 140, 0.7);\n color: rgba(140, 140, 140, 0.7);\n margin-right: 1rem; }\n .ndc-steps-actions .mg-left-1 {\n margin-left: 1rem; }\n\n.ndc-details .ant-input-number-input-wrap {\n margin-right: 10px; }\n\n.ndc-details tbody {\n vertical-align: top; }\n\n.ndc-details td .ant-space-item {\n margin-top: 5px; }\n\n.ndc-details .ant-table-pagination.ant-pagination {\n margin-top: 16px;\n margin-right: 0px;\n margin-left: 24px;\n margin-bottom: 0px; }\n\n.ndc-details .ndc-button-row {\n margin-top: 16px; }\n\n.ndc-details .btn-danger {\n color: #ff4d4f !important;\n border-color: #ff8183 !important; }\n";
|
27887
27935
|
styleInject(css_248z$7);
|
27888
27936
|
|
27889
27937
|
var NdcDetailsActionType;
|
@@ -28319,7 +28367,7 @@ var NdcDetailsComponent = function (props) {
|
|
28319
28367
|
}
|
28320
28368
|
else {
|
28321
28369
|
setActionInfo({
|
28322
|
-
action: "
|
28370
|
+
action: "Finalise",
|
28323
28371
|
headerText: t("ndc:finalizeApproveTitle"),
|
28324
28372
|
text: t("ndc:finalizeApproveSubTitle"),
|
28325
28373
|
type: "primary",
|
@@ -28390,7 +28438,7 @@ var NdcDetailsComponent = function (props) {
|
|
28390
28438
|
!selectedPeriod.finalized && (React.createElement(Row, { justify: "center" },
|
28391
28439
|
React.createElement(Button, { className: "btnAddNewMainAct", disabled: isMainActionInEditMode(), onClick: onClickedAddNewNdcDetail, type: "default" }, t("ndc:addNdcAction"))));
|
28392
28440
|
} })))),
|
28393
|
-
isGovernmentUser && selectedPeriod && !selectedPeriod.finalized ? (React.createElement(Row, { justify: "end" }, isMainActionInEditMode() ? (React.createElement(React.Fragment, null,
|
28441
|
+
isGovernmentUser && selectedPeriod && !selectedPeriod.finalized ? (React.createElement(Row, { justify: "end", className: "ndc-button-row" }, isMainActionInEditMode() ? (React.createElement(React.Fragment, null,
|
28394
28442
|
React.createElement(Button, { className: "mg-left-1", disabled: true }, t("ndc:delete")),
|
28395
28443
|
React.createElement(Button, { className: "mg-left-1", disabled: true }, t("ndc:finalize")))) : (React.createElement(React.Fragment, null,
|
28396
28444
|
React.createElement(Button, { className: "mg-left-1 btn-danger", onClick: onClickedDeletePeriod, htmlType: "submit", loading: loading }, t("ndc:delete")),
|
@@ -28420,11 +28468,21 @@ var NdcDetailsComponent = function (props) {
|
|
28420
28468
|
return __generator(this, function (_a) {
|
28421
28469
|
switch (_a.label) {
|
28422
28470
|
case 0:
|
28423
|
-
|
28424
|
-
|
28425
|
-
selectedDateRangeRef.current
|
28426
|
-
selectedDateRangeRef.current.
|
28427
|
-
|
28471
|
+
if (!selectedDateRangeRef ||
|
28472
|
+
!selectedDateRangeRef.current ||
|
28473
|
+
!selectedDateRangeRef.current.startYear ||
|
28474
|
+
!selectedDateRangeRef.current.endYear) {
|
28475
|
+
message.open({
|
28476
|
+
type: "error",
|
28477
|
+
content: t("ndc:invalidYearsSelected"),
|
28478
|
+
duration: 3,
|
28479
|
+
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
28480
|
+
});
|
28481
|
+
return [2 /*return*/];
|
28482
|
+
}
|
28483
|
+
_a.label = 1;
|
28484
|
+
case 1:
|
28485
|
+
_a.trys.push([1, 5, , 6]);
|
28428
28486
|
periodItem_1 = {
|
28429
28487
|
startYear: selectedDateRangeRef.current.startYear,
|
28430
28488
|
endYear: selectedDateRangeRef.current.endYear,
|
@@ -28434,27 +28492,28 @@ var NdcDetailsComponent = function (props) {
|
|
28434
28492
|
return inRange(periodItem_1.startYear, item.startYear, item.endYear) ||
|
28435
28493
|
inRange(periodItem_1.endYear, item.startYear, item.endYear);
|
28436
28494
|
});
|
28437
|
-
if (!(existingIndex === -1)) return [3 /*break*/,
|
28495
|
+
if (!(existingIndex === -1)) return [3 /*break*/, 3];
|
28438
28496
|
return [4 /*yield*/, post("national/programme/addNdcDetailsPeriod", __assign({}, periodItem_1))];
|
28439
|
-
case
|
28497
|
+
case 2:
|
28440
28498
|
response = _a.sent();
|
28441
28499
|
if (response && response.data) {
|
28442
28500
|
addedPeriodItem = response.data;
|
28443
28501
|
updatedPeriodItem_1 = __assign(__assign({}, addedPeriodItem), { key: addedPeriodItem.id, label: "".concat(addedPeriodItem.startYear, "-").concat(addedPeriodItem.endYear) });
|
28444
28502
|
setPeriodItems(function (items) { return __spreadArray(__spreadArray([], items, true), [updatedPeriodItem_1], false); });
|
28445
28503
|
setSelectedPeriod(updatedPeriodItem_1);
|
28504
|
+
selectedDateRangeRef.current = null;
|
28446
28505
|
}
|
28447
|
-
return [3 /*break*/,
|
28448
|
-
case
|
28506
|
+
return [3 /*break*/, 4];
|
28507
|
+
case 3:
|
28449
28508
|
message.open({
|
28450
28509
|
type: "error",
|
28451
28510
|
content: t("ndc:rangeAlreadyExists"),
|
28452
28511
|
duration: 3,
|
28453
28512
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
28454
28513
|
});
|
28455
|
-
_a.label =
|
28456
|
-
case
|
28457
|
-
case
|
28514
|
+
_a.label = 4;
|
28515
|
+
case 4: return [3 /*break*/, 6];
|
28516
|
+
case 5:
|
28458
28517
|
exception_3 = _a.sent();
|
28459
28518
|
message.open({
|
28460
28519
|
type: "error",
|
@@ -28462,8 +28521,8 @@ var NdcDetailsComponent = function (props) {
|
|
28462
28521
|
duration: 3,
|
28463
28522
|
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
28464
28523
|
});
|
28465
|
-
return [3 /*break*/,
|
28466
|
-
case
|
28524
|
+
return [3 /*break*/, 6];
|
28525
|
+
case 6: return [2 /*return*/];
|
28467
28526
|
}
|
28468
28527
|
});
|
28469
28528
|
}); };
|
@@ -28485,6 +28544,12 @@ var NdcDetailsComponent = function (props) {
|
|
28485
28544
|
selectedDateRangeRef.current = period;
|
28486
28545
|
}
|
28487
28546
|
}
|
28547
|
+
else {
|
28548
|
+
selectedDateRangeRef.current = {
|
28549
|
+
startYear: range,
|
28550
|
+
endYear: range,
|
28551
|
+
};
|
28552
|
+
}
|
28488
28553
|
};
|
28489
28554
|
var onTabChange = function (key) {
|
28490
28555
|
var selectedPeriod = periodItems.find(function (item) { return item.key === key; });
|
@@ -28517,7 +28582,7 @@ var NdcDetailsComponent = function (props) {
|
|
28517
28582
|
actionResponse = _a.sent();
|
28518
28583
|
return [3 /*break*/, 9];
|
28519
28584
|
case 5:
|
28520
|
-
if (!(actionInfo.action === "
|
28585
|
+
if (!(actionInfo.action === "Finalise")) return [3 /*break*/, 7];
|
28521
28586
|
return [4 /*yield*/, post("national/programme/finalizeNdcDetailsPeriod", {
|
28522
28587
|
id: selectedPeriod.key,
|
28523
28588
|
})];
|
@@ -28553,7 +28618,7 @@ var NdcDetailsComponent = function (props) {
|
|
28553
28618
|
});
|
28554
28619
|
fetchNdcDetailPeriods();
|
28555
28620
|
}
|
28556
|
-
else if (actionInfo.action === "
|
28621
|
+
else if (actionInfo.action === "Finalise") {
|
28557
28622
|
message.open({
|
28558
28623
|
type: "success",
|
28559
28624
|
content: t("ndc:finalizeSuccessMsg"),
|
@@ -29084,7 +29149,7 @@ var ProgrammeRetireForm = function (props) {
|
|
29084
29149
|
// programme.companyId.map((n) => Number(n));
|
29085
29150
|
// d.companyCredit = d.companyCredit.map((n: any) => (n === undefined ? 0 : n));
|
29086
29151
|
d.toCompanyMeta = {
|
29087
|
-
name: d.company,
|
29152
|
+
name: (d.company !== "" && d.company !== null && d.company !== undefined) ? d.company : undefined,
|
29088
29153
|
country: d.country,
|
29089
29154
|
};
|
29090
29155
|
}
|
@@ -29539,7 +29604,7 @@ var RejectDocumentationConfirmationModel = function (props) {
|
|
29539
29604
|
React.createElement(Button, { className: "mg-left-2", type: "primary", danger: true, htmlType: "submit", loading: loading, disabled: actionInfo.type === "reject" && comment === "" }, "REJECT")))));
|
29540
29605
|
};
|
29541
29606
|
|
29542
|
-
var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items:
|
29607
|
+
var css_248z$5 = ".ndc-action-body {\n display: flex;\n flex-direction: column;\n width: 100%; }\n .ndc-action-body .report-details {\n display: flex;\n flex-direction: row;\n width: 100%;\n align-items: flex-start;\n justify-content: space-between; }\n .ndc-action-body .report-details .report-type {\n display: flex;\n flex-direction: row;\n width: 60%;\n align-items: flex-start; }\n .ndc-action-body .report-details .report-type .name-time-container {\n display: flex;\n flex-direction: column;\n width: 70%;\n margin-bottom: 0.5rem; }\n .ndc-action-body .report-details .report-type .name {\n font-weight: 600;\n color: rgba(58, 53, 65, 0.8); }\n .ndc-action-body .report-details .report-type .icon {\n display: flex;\n width: 30%; }\n .ndc-action-body .report-details .report-type .empty {\n font-weight: 600;\n color: #cacaca; }\n .ndc-action-body .report-details .report-link {\n display: flex;\n flex-direction: row;\n width: 40%;\n justify-content: flex-start;\n gap: 20px;\n align-items: center; }\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";
|
29543
29608
|
styleInject(css_248z$5);
|
29544
29609
|
|
29545
29610
|
var NdcActionBody = function (props) {
|
@@ -29833,12 +29898,12 @@ var NdcActionBody = function (props) {
|
|
29833
29898
|
? {
|
29834
29899
|
color: "#3F3A47",
|
29835
29900
|
cursor: "pointer",
|
29836
|
-
margin: "0px 0px
|
29901
|
+
margin: "0px 0px 1.5px 0px",
|
29837
29902
|
}
|
29838
29903
|
: {
|
29839
29904
|
color: "#cacaca",
|
29840
29905
|
cursor: "default",
|
29841
|
-
margin: "0px 0px
|
29906
|
+
margin: "0px 0px 1.5px 0px",
|
29842
29907
|
}, onClick: function () {
|
29843
29908
|
if (canUploadMonitorReport &&
|
29844
29909
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29865,12 +29930,12 @@ var NdcActionBody = function (props) {
|
|
29865
29930
|
? {
|
29866
29931
|
color: "#3F3A47",
|
29867
29932
|
cursor: "pointer",
|
29868
|
-
margin: "0px 0px
|
29933
|
+
margin: "0px 0px 1.5px 0px",
|
29869
29934
|
}
|
29870
29935
|
: {
|
29871
29936
|
color: "#cacaca",
|
29872
29937
|
cursor: "default",
|
29873
|
-
margin: "0px 0px
|
29938
|
+
margin: "0px 0px 1.5px 0px",
|
29874
29939
|
}, onClick: function () {
|
29875
29940
|
if (canUploadMonitorReport &&
|
29876
29941
|
uploadDocUserPermission(userInfoState, DocType.MONITORING_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29923,12 +29988,12 @@ var NdcActionBody = function (props) {
|
|
29923
29988
|
? {
|
29924
29989
|
color: "#3F3A47",
|
29925
29990
|
cursor: "pointer",
|
29926
|
-
margin: "0px 0px
|
29991
|
+
margin: "0px 0px 1.5px 0px",
|
29927
29992
|
}
|
29928
29993
|
: {
|
29929
29994
|
color: "#cacaca",
|
29930
29995
|
cursor: "default",
|
29931
|
-
margin: "0px 0px
|
29996
|
+
margin: "0px 0px 1.5px 0px",
|
29932
29997
|
}, onClick: function () {
|
29933
29998
|
if (monitoringReportAccepted &&
|
29934
29999
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|
@@ -29955,12 +30020,12 @@ var NdcActionBody = function (props) {
|
|
29955
30020
|
? {
|
29956
30021
|
color: "#3F3A47",
|
29957
30022
|
cursor: "pointer",
|
29958
|
-
margin: "0px 0px
|
30023
|
+
margin: "0px 0px 1.5px 0px",
|
29959
30024
|
}
|
29960
30025
|
: {
|
29961
30026
|
color: "#cacaca",
|
29962
30027
|
cursor: "default",
|
29963
|
-
margin: "0px 0px
|
30028
|
+
margin: "0px 0px 1.5px 0px",
|
29964
30029
|
}, onClick: function () {
|
29965
30030
|
if (monitoringReportAccepted &&
|
29966
30031
|
uploadDocUserPermission(userInfoState, DocType.VERIFICATION_REPORT, programmeOwnerId, ministryLevelPermission)) {
|