@undp/carbon-library 1.0.133-CARBON-325.1 → 1.0.133-NAM-17.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -524,7 +524,6 @@ var CompanyManagementComponent = function (props) {
524
524
  var _j = React.useState("All"), filterByOrganisationType = _j[0], setFilterByOrganisationType = _j[1];
525
525
  var _k = React.useState(""), sortOrder = _k[0], setSortOrder = _k[1];
526
526
  var _l = React.useState(""), sortField = _l[0], setSortField = _l[1];
527
- var _m = React.useState(), dataQuery = _m[0], setDataQuery = _m[1];
528
527
  var ability = useAbilityContext();
529
528
  document.addEventListener("mousedown", function (event) {
530
529
  var organisationFilterArea1 = document.querySelector(".filter-bar");
@@ -730,11 +729,6 @@ var CompanyManagementComponent = function (props) {
730
729
  setTableData(availableCompanies);
731
730
  setTotalCompany((_b = (_a = response === null || response === void 0 ? void 0 : response.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.total);
732
731
  }
733
- setDataQuery({
734
- filterAnd: filterAnd(),
735
- filterOr: filterOr(),
736
- sort: sort(),
737
- });
738
732
  setLoading(false);
739
733
  return [3 /*break*/, 4];
740
734
  case 3:
@@ -751,44 +745,6 @@ var CompanyManagementComponent = function (props) {
751
745
  }
752
746
  });
753
747
  }); };
754
- var downloadCompanyData = function () { return __awaiter(void 0, void 0, void 0, function () {
755
- var response, url, a, error_2;
756
- var _a;
757
- return __generator(this, function (_b) {
758
- switch (_b.label) {
759
- case 0:
760
- setLoading(true);
761
- _b.label = 1;
762
- case 1:
763
- _b.trys.push([1, 3, , 4]);
764
- return [4 /*yield*/, post("national/organisation/download", {
765
- filterAnd: dataQuery.filterAnd,
766
- filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
767
- sort: dataQuery.sort,
768
- })];
769
- case 2:
770
- response = _b.sent();
771
- if (response && response.data) {
772
- url = response.data.url;
773
- a = document.createElement('a');
774
- a.href = url;
775
- a.download = response.data.csvFile; // Specify the filename for the downloaded file
776
- document.body.appendChild(a);
777
- a.click();
778
- document.body.removeChild(a); // Clean up the created <a> element
779
- window.URL.revokeObjectURL(url);
780
- }
781
- setLoading(false);
782
- return [3 /*break*/, 4];
783
- case 3:
784
- error_2 = _b.sent();
785
- console.log("Error in downloading company data", error_2);
786
- setLoading(false);
787
- return [3 /*break*/, 4];
788
- case 4: return [2 /*return*/];
789
- }
790
- });
791
- }); };
792
748
  React.useEffect(function () {
793
749
  getAllCompany();
794
750
  }, [
@@ -876,13 +832,7 @@ var CompanyManagementComponent = function (props) {
876
832
  React.createElement(icons.FilterOutlined, { style: {
877
833
  color: "rgba(58, 53, 65, 0.3)",
878
834
  fontSize: "20px",
879
- } })))),
880
- React.createElement("div", { className: "download-data-btn" },
881
- React.createElement("a", { onClick: downloadCompanyData },
882
- React.createElement(icons.DownloadOutlined, { style: {
883
- color: "rgba(58, 53, 65, 0.3)",
884
- fontSize: "20px",
885
- } })))))),
835
+ } }))))))),
886
836
  React.createElement(antd.Row, null,
887
837
  React.createElement(antd.Col, { span: 24 },
888
838
  React.createElement("div", { className: "userManagement-table-container" },
@@ -907,7 +857,7 @@ var CompanyManagementComponent = function (props) {
907
857
  var css_248z$q = ".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-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\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";
908
858
  styleInject(css_248z$q);
909
859
 
910
- var css_248z$p = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n\n.ant-menu {\n background-color: #f4f5fa; }\n\n.ant-layout-header {\n background-color: #f4f5fa; }\n\n.ant-layout {\n background-color: #f4f5fa; }\n\n.ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n\n.ant-menu-item {\n background-color: #f4f5fa; }\n\n.ant-menu-sub {\n background-color: #f4f5fa; }\n\n.ant-table-content {\n font-family: \"Inter\"; }\n\n.ant-input {\n border-radius: 5px !important; }\n\n.ant-btn {\n border-radius: 5px !important; }\n\n.ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n\n.ant-input-group .ant-input {\n width: 99% !important; }\n\n.ant-tooltip-inner {\n border-radius: 5px !important;\n background-color: #16b1ff !important; }\n\n.ant-tooltip-arrow-content {\n --antd-arrow-background-color: linear-gradient(to right bottom, #16b1ff, #16b1ff) !important; }\n\n.ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n\n.ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n\n.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n\n.ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n\n.ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n\n.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\n.ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n\n.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\n.ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n\n.PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n\n.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\n.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\n.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\n.ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n\n.PhoneInput .PhoneInputInput:focus-visible,\n.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\n.layout-content-container {\n padding-bottom: 100px; }\n .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n .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 .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n\n.content-container {\n padding: 0px 20px; }\n .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n\n.content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n .content-card .action-bar button {\n width: fit-content; }\n .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 .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n .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\n.layout-content-container .ant-btn {\n min-width: 50px !important; }\n\n.table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n\n.action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n .action-menu .anticon-edit {\n color: #16b1ff; }\n .action-menu .anticon-delete {\n color: #f25a29; }\n\n.ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n\n.ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n\n.ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n\n.ant-tag {\n border-radius: 20px; }\n\n.clickable {\n cursor: pointer; }\n\n.text-center {\n text-align: center; }\n\n.float-left {\n float: left; }\n\n.float-right {\n float: right; }\n\n.apexcharts-canvas {\n font-family: \"Inter\" !important; }\n\n.apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n\n.ant-tag {\n padding: 1px 10px; }\n\n.flex-display {\n display: flex; }\n\n.ant-modal-footer {\n border-top: none;\n text-align: center; }\n .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n\n.ant-modal-header {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-content {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-header {\n border: none; }\n\n.ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n .ant-modal-body .form-label {\n text-align: left; }\n .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n\n.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 .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n .popup-header img {\n height: 100px; }\n\n.popup-success .icon {\n color: #5dc380; }\n\n.popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-primary .icon {\n color: #16b1ff; }\n\n.popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n\n.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\n.popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n\n.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\n.ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n\n.filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n\n.pull-right {\n float: right; }\n\n.disabled {\n opacity: 0.5; }\n\n.mg-left-3 {\n margin-left: 3rem; }\n\n.mg-left-2 {\n margin-left: 2rem !important; }\n\n.mg-left-1 {\n margin-left: 1rem; }\n\n.mg-top-1 {\n margin-top: 1rem; }\n\n.mg-top-2 {\n margin-top: 2rem; }\n\n.mg-bottom-1 {\n margin-bottom: 1rem !important; }\n\n.transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n .transfer-form .ant-row {\n align-items: unset; }\n .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n .transfer-form label {\n font-size: 0.8rem; }\n .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n\n.color-error {\n color: rgba(255, 77, 79, 0.8); }\n\n.color-primary {\n color: #16b1ff; }\n\n.ant-input-number-input {\n text-align: right; }\n\n.text-left {\n text-align: left; }\n\n.ant-form-item .ant-radio-group {\n text-align: left; }\n\n.loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n\n.ant-tag-purple {\n color: #976ed7; }\n\n.ant-tag-orange {\n color: #ff8f56; }\n\n.ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-popover-inner {\n border-radius: 4px; }\n\n.ant-input-number {\n border-radius: 5px; }\n\n.ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n\n.flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n\n.b-icon {\n vertical-align: middle; }\n\n.ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n .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 .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n\n.ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n\n.sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n\n.search-filter {\n margin-right: 15px; }\n\n.download-data-btn {\n margin-left: 15px; }\n\n.mg-bottom-0 {\n margin-bottom: 0px; }\n\n.padding-bottom-0 {\n padding-bottom: 0px; }\n\n.ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n\n.nextline-overflow {\n overflow-wrap: break-word; }\n\n.ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n";
860
+ var css_248z$p = "body {\n background-color: #f4f5fa;\n font-family: \"Inter\";\n font-weight: 400; }\n\n.ant-menu {\n background-color: #f4f5fa; }\n\n.ant-layout-header {\n background-color: #f4f5fa; }\n\n.ant-layout {\n background-color: #f4f5fa; }\n\n.ant-menu-submenu .ant-menu {\n background-color: #f4f5fa; }\n\n.ant-menu-item {\n background-color: #f4f5fa; }\n\n.ant-menu-sub {\n background-color: #f4f5fa; }\n\n.ant-table-content {\n font-family: \"Inter\"; }\n\n.ant-input {\n border-radius: 5px !important; }\n\n.ant-btn {\n border-radius: 5px !important; }\n\n.ant-input-group-addon:first-child {\n border-radius: 5px !important; }\n\n.ant-input-group .ant-input {\n width: 99% !important; }\n\n.ant-tooltip-inner {\n border-radius: 5px !important;\n background-color: #16b1ff !important; }\n\n.ant-tooltip-arrow-content {\n --antd-arrow-background-color: linear-gradient(to right bottom, #16b1ff, #16b1ff) !important; }\n\n.ant-radio-group {\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: space-between; }\n\n.ant-radio-group-large .ant-radio-button-wrapper {\n font-size: 0.8rem;\n width: 25%;\n border-radius: 5px !important; }\n\n.ant-upload-list-picture .ant-upload-list-item-error,\n.ant-upload-list-picture-card .ant-upload-list-item-error {\n border-color: #40a9ff;\n border-radius: 5px;\n height: 40px; }\n .ant-upload-list-picture .ant-upload-list-item-error .ant-upload-list-item-name,\n .ant-upload-list-picture-card .ant-upload-list-item-error .ant-upload-list-item-name {\n color: #40a9ff !important; }\n\n.ant-upload-list-item-error .ant-upload-list-item-card-actions .anticon {\n color: #40a9ff; }\n\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input,\n.ant-input-status-error:not(.ant-input-disabled):not(.ant-input-borderless).ant-input:hover {\n border-color: #d9d9d9 !important; }\n\n.ant-input-group-wrapper-status-error .ant-input-group-addon {\n border-color: #d9d9d9 !important; }\n\n.ant-form-item-explain-error {\n font-size: 13px;\n color: rgba(255, 77, 79, 0.8); }\n\n.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\n.ant-form-item-label > label {\n flex-direction: row-reverse !important;\n color: rgba(58, 53, 65, 0.5); }\n\n.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\n.ant-picker {\n border-radius: 5px !important;\n height: 35px !important; }\n\n.PhoneInput .PhoneInputCountry {\n border: 1px solid #d9d9d9 !important;\n border-radius: 5px !important;\n padding: 0 1rem 0 1rem; }\n\n.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\n.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\n.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\n.ant-list-item {\n color: rgba(58, 53, 65, 0.8); }\n\n.PhoneInput .PhoneInputInput:focus-visible,\n.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\n.layout-content-container {\n padding-bottom: 100px; }\n .layout-content-container .ant-btn-primary {\n background-color: #16b1ff;\n color: #ffffff;\n border: none; }\n .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 .layout-content-container .ant-btn span {\n text-transform: uppercase; }\n\n.content-container {\n padding: 0px 20px; }\n .content-container .title-bar {\n padding: 0px 0px 30px 0px; }\n .content-container .body-title {\n color: #16b1ff;\n font-weight: 500;\n font-size: 1.2rem; }\n .content-container .body-sub-title {\n color: rgba(58, 53, 65, 0.6);\n font-weight: 400;\n font-size: 0.8rem; }\n\n.content-card {\n background-color: #ffffff;\n border-radius: 10px;\n width: 100%; }\n .content-card .action-bar {\n padding: 1.6rem 1.3rem 1.6rem 1.3rem; }\n .content-card .action-bar button {\n width: fit-content; }\n .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 .content-card .filter-section .search-bar {\n display: flex;\n flex-direction: row-reverse; }\n .content-card .filter-section .filter-bar {\n display: flex;\n flex-direction: row-reverse;\n margin-top: 0.8rem;\n width: 5%; }\n .content-card .filter-section .ant-input-affix-wrapper {\n border-radius: 0.313rem 0 0 0.313rem !important; }\n .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\n.layout-content-container .ant-btn {\n min-width: 50px !important; }\n\n.table-actions-section {\n width: 100%;\n margin-bottom: 1rem; }\n\n.action-menu {\n min-width: 120px;\n color: rgba(58, 53, 65, 0.6); }\n .action-menu .action-icon {\n margin-right: 12px;\n display: flex; }\n .action-menu .anticon-edit {\n color: #16b1ff; }\n .action-menu .anticon-delete {\n color: #f25a29; }\n\n.ant-dropdown-menu {\n padding: 1rem 2rem 1rem 1rem !important;\n border-radius: 5px; }\n\n.ant-dropdown-menu-item-active {\n background-color: transparent !important; }\n\n.ant-popover-inner-content .action-menu {\n margin: -12px -16px; }\n .ant-popover-inner-content .action-menu .ant-list-item {\n padding: 11px 16px;\n justify-content: flex-start;\n cursor: pointer; }\n\n.ant-tag {\n border-radius: 20px; }\n\n.clickable {\n cursor: pointer; }\n\n.text-center {\n text-align: center; }\n\n.float-left {\n float: left; }\n\n.float-right {\n float: right; }\n\n.apexcharts-canvas {\n font-family: \"Inter\" !important; }\n\n.apexcharts-legend-text {\n font-family: \"Inter\" !important; }\n\n.ant-tag {\n padding: 1px 10px; }\n\n.flex-display {\n display: flex; }\n\n.ant-modal-footer {\n border-top: none;\n text-align: center; }\n .ant-modal-footer button {\n margin: 10px 20px;\n text-transform: uppercase;\n font-size: 0.8rem; }\n\n.ant-modal-header {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-content {\n border-radius: 15px;\n border: none; }\n\n.ant-modal-header {\n border: none; }\n\n.ant-modal-body {\n text-align: center;\n color: rgba(58, 53, 65, 0.6);\n font-size: 0.8rem; }\n .ant-modal-body .ant-select-selector {\n text-align: left;\n border-radius: 5px !important;\n height: 32px; }\n .ant-modal-body .form-label {\n text-align: left; }\n .ant-modal-body .form-label .req-ast {\n color: rgba(255, 77, 79, 0.8);\n padding-left: 5px; }\n .ant-modal-body .ant-form .ant-input-password {\n padding: 6.5px 11px;\n font-size: 16px; }\n .ant-modal-body .ant-form .ant-form-item-explain-error {\n text-align: start; }\n\n.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 .popup-header .icon {\n font-size: 4rem;\n margin-bottom: 15px;\n font-weight: 400; }\n .popup-header img {\n height: 100px; }\n\n.popup-success .icon {\n color: #5dc380; }\n\n.popup-success .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-success .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-success .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-primary .icon {\n color: #16b1ff; }\n\n.popup-primary .ant-btn-primary {\n background: #16b1ff;\n border-radius: #16b1ff;\n border: none; }\n\n.popup-primary .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.popup-primary .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .icon {\n color: rgba(255, 77, 79, 0.8); }\n\n.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\n.popup-danger .ant-btn-primary[disabled] {\n border-color: #d9d9d9;\n background: #f5f5f5; }\n\n.popup-danger .ant-btn-default {\n color: rgba(58, 53, 65, 0.6);\n border-color: rgba(58, 53, 65, 0.6); }\n\n.ant-modal-footer .ant-btn {\n height: 32px;\n border-radius: 4px;\n padding: 6px 16px;\n font-weight: 500; }\n\n.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\n.ant-tag-processing {\n color: #16b1ff;\n background: rgba(185, 226, 244, 0.4); }\n\n.filter-section input {\n font-family: 'Inter';\n font-size: 0.8rem !important; }\n\n.pull-right {\n float: right; }\n\n.disabled {\n opacity: 0.5; }\n\n.mg-left-3 {\n margin-left: 3rem; }\n\n.mg-left-2 {\n margin-left: 2rem !important; }\n\n.mg-left-1 {\n margin-left: 1rem; }\n\n.mg-top-1 {\n margin-top: 1rem; }\n\n.mg-top-2 {\n margin-top: 2rem; }\n\n.mg-bottom-1 {\n margin-bottom: 1rem !important; }\n\n.transfer-form {\n padding: 0px 15px;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .popup-credit-input .ant-form-item-explain-error {\n width: 200px; }\n .transfer-form .ant-row {\n align-items: unset; }\n .transfer-form .sub-text {\n margin-bottom: 35px;\n font-size: 0.9rem;\n font-weight: 500; }\n .transfer-form .label {\n text-align: left;\n font-size: 0.9rem;\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form .seperator {\n font-size: 1.2rem;\n color: #d9d9d9; }\n .transfer-form .footer {\n margin-bottom: 0px;\n margin-top: 15px; }\n .transfer-form label {\n font-size: 0.8rem; }\n .transfer-form .ant-radio-wrapper {\n font-size: 0.9rem; }\n .transfer-form input {\n color: rgba(58, 53, 65, 0.6); }\n .transfer-form button {\n text-transform: uppercase;\n font-weight: 500; }\n\n.color-error {\n color: rgba(255, 77, 79, 0.8); }\n\n.color-primary {\n color: #16b1ff; }\n\n.ant-input-number-input {\n text-align: right; }\n\n.text-left {\n text-align: left; }\n\n.ant-form-item .ant-radio-group {\n text-align: left; }\n\n.loading-center {\n margin: auto;\n text-align: center;\n position: absolute;\n top: 50%;\n left: 50%; }\n\n.ant-tag-purple {\n color: #976ed7; }\n\n.ant-tag-orange {\n color: #ff8f56; }\n\n.ant-tag-default {\n color: rgba(58, 53, 65, 0.5); }\n\n.ant-popover-inner {\n border-radius: 4px; }\n\n.ant-input-number {\n border-radius: 5px; }\n\n.ret-icon {\n background-color: rgba(254, 241, 173, 0.5);\n color: #ff8f56; }\n\n.flag-ret-icon {\n display: flex !important;\n background-color: #f4f5fa;\n font-size: 1.1rem !important;\n padding: 7px; }\n\n.b-icon {\n vertical-align: middle; }\n\n.ant-message-notice-content {\n padding: 0px;\n border-radius: 5px; }\n .ant-message-notice-content .ant-message-custom-content {\n font-size: 0.8rem;\n border-radius: 5px;\n padding: 17px 24px; }\n .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 .ant-message-notice-content .ant-message-success {\n color: #5bce00;\n border: 1px solid #5bce00; }\n\n.ant-select-selection-item {\n color: rgba(58, 53, 65, 0.6); }\n\n.sub-text {\n font-size: 0.9rem;\n font-weight: 500; }\n\n.search-filter {\n margin-right: 15px; }\n\n.mg-bottom-0 {\n margin-bottom: 0px; }\n\n.padding-bottom-0 {\n padding-bottom: 0px; }\n\n.ellipsis-overflow {\n overflow: hidden;\n text-overflow: ellipsis;\n display: -webkit-box;\n -webkit-line-clamp: 1;\n -webkit-box-orient: vertical; }\n\n.nextline-overflow {\n overflow-wrap: break-word; }\n\n.ant-message {\n width: 50%;\n right: 0px;\n left: auto;\n min-width: 400px; }\n";
911
861
  styleInject(css_248z$p);
912
862
 
913
863
  exports.UserManagementColumns = void 0;
@@ -1006,7 +956,172 @@ exports.MitigationTypes = void 0;
1006
956
  MitigationTypes["SOLAR"] = "Solar";
1007
957
  MitigationTypes["TRANSPORT"] = "Transport";
1008
958
  MitigationTypes["WIND"] = "Wind";
959
+ MitigationTypes["CO2_USAGE"] = "CO2Usage";
960
+ MitigationTypes["TIDAL"] = "Tidal";
1009
961
  })(exports.MitigationTypes || (exports.MitigationTypes = {}));
962
+ exports.MitigationSubTypes = void 0;
963
+ (function (MitigationSubTypes) {
964
+ MitigationSubTypes["IRRIGATION"] = "Irrigation";
965
+ MitigationSubTypes["ENERGY_EFFICIENCY"] = "EnergyEfficiency";
966
+ MitigationSubTypes["ALTERNATIVE_FERTILISER"] = "AlternativeFertilisers";
967
+ MitigationSubTypes["NO_TILLAGE"] = "NoTillage";
968
+ MitigationSubTypes["SOIL_ENRICHMENT_BIOCHAR"] = "SoilEnrichmentBiochar";
969
+ MitigationSubTypes["RICE_CROPS"] = "RiceCrops";
970
+ MitigationSubTypes["BAGASSE_POWER"] = "BagassePower";
971
+ MitigationSubTypes["PALM_OIL_SOLID_WASTE"] = "Palm oil solid waste";
972
+ MitigationSubTypes["AGRICULTURAL_RESIDUES_OTHER_KINDS"] = "AgriculturalResiduesOtherKinds";
973
+ MitigationSubTypes["AGRICULTURAL_RESIDUES_RICE_HUSK"] = "AgriculturalResiduesRiceHusk";
974
+ MitigationSubTypes["AGRICULTURAL_RESIDUES_MUSTARD_CROP"] = "AgriculturalResiduesMustardCrop";
975
+ MitigationSubTypes["AGRICULTURAL_RESIDUES_POULTRY_LITTER"] = "AgriculturalResiduesPoultryLitter";
976
+ MitigationSubTypes["BLACK_LIQUOR"] = "BlackLiquor";
977
+ MitigationSubTypes["FOREST_RESIDUES_SAWMILL_WASTE"] = "ForestResiduesSawmillWaste";
978
+ MitigationSubTypes["FOREST_RESIDUES_OTHER"] = "ForestResiduesOther";
979
+ MitigationSubTypes["FOREST_BIOMASS"] = "ForestBiomass";
980
+ MitigationSubTypes["INDUSTRIAL_WASTE"] = "IndustrialWaste";
981
+ MitigationSubTypes["GASIFICATION_OF_BIOMASS"] = "GasificationOfBiomass";
982
+ MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS"] = "SwitchFromFossilFuelToPipedBiogas";
983
+ MitigationSubTypes["BIOMASS_BRIQUETTES_OR_PELLETS"] = "BiomassBriquettesOrPellets";
984
+ MitigationSubTypes["BIODIESEL"] = "Biodiesel";
985
+ MitigationSubTypes["BIODIESEL_FROM_WASTE_OIL"] = "BiodieselFromWasteOil";
986
+ MitigationSubTypes["ETHANOL"] = "Ethanol";
987
+ MitigationSubTypes["CLINKER_REPLACEMENT"] = "ClinkerReplacement";
988
+ MitigationSubTypes["COAL_MINE_METHANE"] = "CoalMineMethane";
989
+ MitigationSubTypes["COAL_BED_METHANE"] = "CoalBedMethane";
990
+ MitigationSubTypes["CMM_VENTILATION_AIR_METHANE"] = "CMMVentilationAirMethane";
991
+ MitigationSubTypes["VENTILATION_AIR_METHANE"] = "VentilationAirMethane";
992
+ MitigationSubTypes["LIGHTING"] = "Lighting";
993
+ MitigationSubTypes["SOLAR_LAMPS"] = "SolarLamps";
994
+ MitigationSubTypes["STOVES"] = "Stoves";
995
+ MitigationSubTypes["STOVES_SCHOOL_IN_GHANA"] = "StovesSchoolInGhana";
996
+ MitigationSubTypes["STOVES_HOUSES_IN_NAMIBIA"] = "StovesHousesInNamibia";
997
+ MitigationSubTypes["LIGHTING_INSULATION_SOLAR"] = "LightingInsulationSolar";
998
+ MitigationSubTypes["APPLIANCES"] = "Appliances";
999
+ MitigationSubTypes["CHEMICALS"] = "Chemicals";
1000
+ MitigationSubTypes["PETROCHEMICALS"] = "Petrochemicals";
1001
+ MitigationSubTypes["PAPER"] = "Paper";
1002
+ MitigationSubTypes["CEMENT"] = "Cement";
1003
+ MitigationSubTypes["IRON_STEEL"] = "IronSteel";
1004
+ MitigationSubTypes["MACHINERY"] = "Machinery";
1005
+ MitigationSubTypes["TEXTILES"] = "Textiles";
1006
+ MitigationSubTypes["ELECTRONICS"] = "Electronics";
1007
+ MitigationSubTypes["FOOD"] = "Food";
1008
+ MitigationSubTypes["BUILDING_MATERIALS"] = "BuildingMaterials";
1009
+ MitigationSubTypes["GLASS"] = "Glass";
1010
+ MitigationSubTypes["NON_FERROUS_METALS"] = "NonFerrousMetals";
1011
+ MitigationSubTypes["COKE_OVEN"] = "CokeOven";
1012
+ MitigationSubTypes["Mining"] = "Mining";
1013
+ MitigationSubTypes["CONSTRUCTION"] = "Construction";
1014
+ MitigationSubTypes["METAL_PRODUCTS"] = "MetalProducts";
1015
+ MitigationSubTypes["WOOD"] = "Wood";
1016
+ MitigationSubTypes["RECYCLING"] = "Recycling";
1017
+ MitigationSubTypes["CHEMICALS_HEAT"] = "ChemicalsHeat";
1018
+ MitigationSubTypes["PETROCHEMICALS_HEAT"] = "PetrochemicalsHeat";
1019
+ MitigationSubTypes["CARBON_BLACK_GAS"] = "CarbonBlackGas";
1020
+ MitigationSubTypes["CEMENT_HEAT"] = "CementHeat";
1021
+ MitigationSubTypes["IRON_STEEL_HEAT"] = "IronSteelHeat";
1022
+ MitigationSubTypes["BUILDING_MATERIALS_HEAT"] = "BuildingMaterialsHeat";
1023
+ MitigationSubTypes["GLASS_HEAT"] = "GlassHeat";
1024
+ MitigationSubTypes["NON_FERROUS_METALS_HEAT"] = "NonFerrousMetalsHeat";
1025
+ MitigationSubTypes["COKE_OVEN_GAS"] = "CokeOvenGas";
1026
+ MitigationSubTypes["HVAC_LIGHTING"] = "HvacLighting";
1027
+ MitigationSubTypes["AIR_CONDITIONING"] = "AirConditioning";
1028
+ MitigationSubTypes["EE_NEW_BUILDINGS"] = "EeNewBuildings";
1029
+ MitigationSubTypes["STREET_LIGHTING"] = "StreetLighting";
1030
+ MitigationSubTypes["LIGHTING_IN_SERVICE"] = "LightingInService";
1031
+ MitigationSubTypes["WATER_PUMPING"] = "WaterPumping";
1032
+ MitigationSubTypes["WATER_PURIFICATION"] = "WaterPurification";
1033
+ MitigationSubTypes["EE_PUBLIC_STOVES"] = "EePublicStoves";
1034
+ MitigationSubTypes["EE_PUBLIC_BUILDINGS"] = "EePublicBuildings";
1035
+ MitigationSubTypes["EE_COMMERCIAL_BUILDINGS"] = "EeCommercialBuildings";
1036
+ MitigationSubTypes["SINGLE_CYCLE_TO_COMBINED_CYCLE"] = "SingleCycleToCombinedCycle";
1037
+ MitigationSubTypes["COGENERATION"] = "Cogeneration";
1038
+ MitigationSubTypes["CO_FIRING_WITH_BIOMASS"] = "CoFiringWithBiomass";
1039
+ MitigationSubTypes["HIGHER_EFFICIENCY_COAL_POWER"] = "HigherEfficiencyCoalPower";
1040
+ MitigationSubTypes["HIGHER_EFFICIENCY_OIL_POWER"] = "HigherEfficiencyOilPower";
1041
+ MitigationSubTypes["HIGHER_EFFICIENCY_USING_WASTE_HEAT"] = "HigherEfficiencyUsingWasteHeat";
1042
+ MitigationSubTypes["POWER_PLANT_REHABILITATION"] = "PowerPlantRehabilitation";
1043
+ MitigationSubTypes["HIGHER_EFFICIENCY_STEAM_BOILER"] = "HigherEfficiencySteamBoiler";
1044
+ MitigationSubTypes["DISTRICT_HEATING"] = "DistrictHeating";
1045
+ MitigationSubTypes["REPLACEMENT_OF_DISTRICT_HEATING_BOILERS"] = "ReplacementOfDistrictHeatingBoilers";
1046
+ MitigationSubTypes["CONNECTION_OF_ISOLATED_GRID"] = "ConnectionOfIsolatedGrid";
1047
+ MitigationSubTypes["DISTRICT_COOLING"] = "DistrictCooling";
1048
+ MitigationSubTypes["EFFICIENT_ELECTRICITY_DISTRIBUTION"] = "EfficientElectricityDistribution";
1049
+ MitigationSubTypes["AFFORESTATION"] = "Afforestation";
1050
+ MitigationSubTypes["MANGROVES"] = "Mangroves";
1051
+ MitigationSubTypes["AGROFORESTRY"] = "Agroforestry";
1052
+ MitigationSubTypes["REFORESTATION"] = "Reforestation";
1053
+ MitigationSubTypes["COAL_TO_NATURAL_GAS"] = "CoalToNaturalGas";
1054
+ MitigationSubTypes["COAL_TO_OIL"] = "CoalToOil";
1055
+ MitigationSubTypes["LIGNITE_TO_NATURAL_GAS"] = "LigniteToNaturalGas";
1056
+ MitigationSubTypes["NEW_NATURAL_GAS_PLANT"] = "NewNaturalGasPlant";
1057
+ MitigationSubTypes["NEW_NATURAL_GAS_PLANT_USING_LNG"] = "NewNaturalGasPlantUsingLng";
1058
+ MitigationSubTypes["OIL_TO_ELECTRICITY"] = "OilToElectricity";
1059
+ MitigationSubTypes["OIL_TO_LPG"] = "OilToLpg";
1060
+ MitigationSubTypes["OIL_TO_NATURAL_GAS"] = "OilToNaturalGas";
1061
+ MitigationSubTypes["OIL_FIELD_FLARING_REDUCTION"] = "OilFieldFlaringReduction";
1062
+ MitigationSubTypes["OIL_AND_GAS_PROCESSING_FLARING"] = "OilAndGasProcessingFlaring";
1063
+ MitigationSubTypes["NATURAL_GAS_PIPELINES"] = "NaturalGasPipelines";
1064
+ MitigationSubTypes["NON_HYDROCARBON_MINING"] = "NonHydrocarbonMining";
1065
+ MitigationSubTypes["SPONTANEOUSLY_IGNITION_OF_COAL_PILES"] = "SpontaneouslyIgnitionOfCoalPiles";
1066
+ MitigationSubTypes["CHARCOAL_PRODUCTION"] = "CharcoalProduction";
1067
+ MitigationSubTypes["GEOTHERMAL_ELECTRICITY"] = "GeothermalElectricity";
1068
+ MitigationSubTypes["GEOTHERMAL_HEATING"] = "GeothermalHeating";
1069
+ MitigationSubTypes["HFC23"] = "Hfc23";
1070
+ MitigationSubTypes["HFC134A"] = "Hfc134A";
1071
+ MitigationSubTypes["PFCS"] = "Pfcs";
1072
+ MitigationSubTypes["SF6"] = "Sf6";
1073
+ MitigationSubTypes["RUN_OF_RIVER"] = "RunOfRiver";
1074
+ MitigationSubTypes["EXISTING_DAM"] = "ExistingDam";
1075
+ MitigationSubTypes["HIGHER_EFFICIENCY_HYDRO_POWER"] = "HigherEfficiencyHydroPower";
1076
+ MitigationSubTypes["NEW_DAM"] = "NewDam";
1077
+ MitigationSubTypes["LANDFILL_FLARING"] = "LandfillFlaring";
1078
+ MitigationSubTypes["LANDFILL_POWER"] = "LandfillPower";
1079
+ MitigationSubTypes["COMBUSTION_OF_MSW"] = "CombustionOfMsw";
1080
+ MitigationSubTypes["GASIFICATION_OF_MSW"] = "GasificationOfMsw";
1081
+ MitigationSubTypes["BIOGAS_FROM_MSW"] = "BiogasFromMsw";
1082
+ MitigationSubTypes["LANDFILL_AERATION"] = "LandfillAeration";
1083
+ MitigationSubTypes["INTEGRATED_SOLID_WASTE_MANAGEMENT"] = "IntegratedSolidWasteManagement";
1084
+ MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS"] = "SwitchFromFossilFuelToPipedLandfillGas";
1085
+ MitigationSubTypes["LANDFILL_COMPOSTING"] = "LandfillComposting";
1086
+ MitigationSubTypes["MANURE"] = "Manure";
1087
+ MitigationSubTypes["DOMESTIC_MANURE"] = "DomesticManure";
1088
+ MitigationSubTypes["WASTE_WATER"] = "WasteWater";
1089
+ MitigationSubTypes["INDUSTRIAL_SOLID_WASTE"] = "IndustrialSolidWaste";
1090
+ MitigationSubTypes["PALM_OIL_WASTE"] = "PalmOilWaste";
1091
+ MitigationSubTypes["AEROBIC_TREATMENT_OF_WASTE_WATER"] = "AerobicTreatmentOfWasteWater";
1092
+ MitigationSubTypes["COMPOSTING"] = "Composting";
1093
+ MitigationSubTypes["ADIPIC_ACID"] = "AdipicAcid";
1094
+ MitigationSubTypes["NITRIC_ACID"] = "NitricAcid";
1095
+ MitigationSubTypes["CAPROLACTAM"] = "Caprolactam";
1096
+ MitigationSubTypes["SOLAR_PHOTOVOLTAICS_PV"] = "SolarPhotovoltaicsPV";
1097
+ MitigationSubTypes["SOLAR_WATER_PUMPING_OFF_GRID"] = "SolarWaterPumpingOffGrid";
1098
+ MitigationSubTypes["SOLAR_WATER_PUMPING_ON_GRID"] = "SolarWaterPumpingOnGrid";
1099
+ MitigationSubTypes["SOLAR_PV_WATER_DISINFECTION"] = "SolarPVWaterDisinfection";
1100
+ MitigationSubTypes["SOLAR_THERMAL_POWER"] = "SolarThermalPower";
1101
+ MitigationSubTypes["SOLAR_THERMAL_HEAT"] = "SolarThermalHeat";
1102
+ MitigationSubTypes["SOLAR_WATER_HEATING"] = "SolarWaterHeating";
1103
+ MitigationSubTypes["SOLAR_COOKING"] = "SolarCooking";
1104
+ MitigationSubTypes["BUS_RAPID_TRANSIT"] = "BusRapidTransit";
1105
+ MitigationSubTypes["BUS_RAPID_TRANSIT_GREEN_HYDROGEN"] = "BusRapidTransitGreenHydrogen";
1106
+ MitigationSubTypes["MOTORBIKES"] = "Motorbikes";
1107
+ MitigationSubTypes["MODE_SHIFT_ROAD_TO_RAIL"] = "ModeShiftRoadToRail";
1108
+ MitigationSubTypes["MORE_EFFICIENT_TRAIN_SYSTEM"] = "MoreEfficientTrainSystem";
1109
+ MitigationSubTypes["MORE_EFFICIENT_VEHICLES"] = "MoreEfficientVehicles";
1110
+ MitigationSubTypes["RAIL_REGENERATIVE_BRAKING"] = "RailRegenerativeBraking";
1111
+ MitigationSubTypes["RAIL_GREEN_HYDROGEN"] = "RailGreenHydrogen";
1112
+ MitigationSubTypes["RAIL_EFFICIENT_OPERATION"] = "RailEfficientOperation";
1113
+ MitigationSubTypes["METRO_EFFICIENT_OPERATION"] = "MetroEfficientOperation";
1114
+ MitigationSubTypes["CARS_GREEN_HYDROGEN"] = "CarsGreenHydrogen";
1115
+ MitigationSubTypes["CARS_EFFICIENT_OPERATION"] = "CarsEfficientOperation";
1116
+ MitigationSubTypes["SCRAPPING_OLD_VEHICLES"] = "ScrappingOldVehicles";
1117
+ MitigationSubTypes["BIODIESEL_FOR_TRANSPORT"] = "BiodieselForTransport";
1118
+ MitigationSubTypes["CABLE_CARS"] = "CableCars";
1119
+ MitigationSubTypes["WIND"] = "Wind";
1120
+ MitigationSubTypes["OFFSHORE_WIND"] = "OffshoreWind";
1121
+ MitigationSubTypes["CO2_RECYCLING"] = "CO2Recycling";
1122
+ MitigationSubTypes["CO2_REPLACEMENT"] = "CO2Replacement";
1123
+ MitigationSubTypes["TIDAL"] = "Tidal";
1124
+ })(exports.MitigationSubTypes || (exports.MitigationSubTypes = {}));
1010
1125
  var mitigationTypeList = [
1011
1126
  { value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
1012
1127
  { value: exports.MitigationTypes.SOLAR.valueOf(), label: "Solar" },
@@ -1103,13 +1218,791 @@ var sectorMitigationTypesListMapped = {
1103
1218
  },
1104
1219
  ],
1105
1220
  Agriculture: [
1106
- { value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
1221
+ { value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" }
1107
1222
  ],
1108
1223
  Other: [
1109
1224
  { value: exports.MitigationTypes.MARINE.valueOf(), label: "Marine" },
1110
1225
  { value: exports.MitigationTypes.N20.valueOf(), label: "N2O" },
1111
1226
  ],
1112
1227
  };
1228
+ var mitigationSubTypeList = [
1229
+ { label: "Irrigation", value: exports.MitigationSubTypes.IRRIGATION.valueOf() },
1230
+ { label: "Energy efficiency", value: exports.MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
1231
+ { label: "Alternative fertilisers", value: exports.MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
1232
+ { label: "No tillage", value: exports.MitigationSubTypes.NO_TILLAGE.valueOf() },
1233
+ { label: "Soil Enrichment / Biochar", value: exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
1234
+ { label: "Rice crops", value: exports.MitigationSubTypes.RICE_CROPS.valueOf() },
1235
+ { label: "Bagasse power", value: exports.MitigationSubTypes.BAGASSE_POWER.valueOf() },
1236
+ { label: "Palm oil solid waste", value: exports.MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
1237
+ { label: "Agricultural residues: other kinds", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
1238
+ { label: "Agricultural residues: rice husk", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
1239
+ { label: "Agricultural residues: mustard crop", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
1240
+ { label: "Agricultural residues: poultry litter", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
1241
+ { label: "Black liquor", value: exports.MitigationSubTypes.BLACK_LIQUOR.valueOf() },
1242
+ { label: "Forest residues: sawmill waste", value: exports.MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
1243
+ { label: "Forest residues: other", value: exports.MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
1244
+ { label: "Forest biomass", value: exports.MitigationSubTypes.FOREST_BIOMASS.valueOf() },
1245
+ { label: "Industrial waste", value: exports.MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
1246
+ { label: "Gasification of biomass", value: exports.MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
1247
+ { label: "Switch from fossil fuel to piped biogas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
1248
+ { label: "Biomass briquettes or pellets", value: exports.MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
1249
+ { label: "Biodiesel", value: exports.MitigationSubTypes.BIODIESEL.valueOf() },
1250
+ { label: "Biodiesel from waste oil", value: exports.MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
1251
+ { label: "Ethanol", value: exports.MitigationSubTypes.ETHANOL.valueOf() },
1252
+ { label: "Cement", value: exports.MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
1253
+ { label: "Coal Mine Methane", value: exports.MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
1254
+ { label: "Coal Bed Methane", value: exports.MitigationSubTypes.COAL_BED_METHANE.valueOf() },
1255
+ { label: "CMM & Ventilation Air Methane", value: exports.MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
1256
+ { label: "Ventilation Air Methane", value: exports.MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
1257
+ { label: "Lighting", value: exports.MitigationSubTypes.LIGHTING.valueOf() },
1258
+ { label: "Solar lamps", value: exports.MitigationSubTypes.SOLAR_LAMPS.valueOf() },
1259
+ { label: "Stoves", value: exports.MitigationSubTypes.STOVES.valueOf() },
1260
+ { label: "Stoves (School in Ghana)", value: exports.MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
1261
+ { label: "Stoves (Houses in Namibia)", value: exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
1262
+ { label: "Lighting & Insulation & Solar", value: exports.MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
1263
+ { label: "Appliances", value: exports.MitigationSubTypes.APPLIANCES.valueOf() },
1264
+ { label: "Chemicals", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
1265
+ { label: "Petrochemicals", value: exports.MitigationSubTypes.PETROCHEMICALS.valueOf() },
1266
+ { label: "Paper", value: exports.MitigationSubTypes.PAPER.valueOf() },
1267
+ { label: "Cement", value: exports.MitigationSubTypes.CEMENT.valueOf() },
1268
+ { label: "Iron & steel ", value: exports.MitigationSubTypes.IRON_STEEL.valueOf() },
1269
+ { label: "Machinery", value: exports.MitigationSubTypes.MACHINERY.valueOf() },
1270
+ { label: "Textiles", value: exports.MitigationSubTypes.TEXTILES.valueOf() },
1271
+ { label: "Electronics", value: exports.MitigationSubTypes.ELECTRONICS.valueOf() },
1272
+ { label: "Food", value: exports.MitigationSubTypes.FOOD.valueOf() },
1273
+ { label: "Building materials", value: exports.MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
1274
+ { label: "Glass", value: exports.MitigationSubTypes.GLASS.valueOf() },
1275
+ { label: "Non-ferrous metals", value: exports.MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
1276
+ { label: "Coke oven", value: exports.MitigationSubTypes.COKE_OVEN.valueOf() },
1277
+ { label: "Mining", value: exports.MitigationSubTypes.Mining.valueOf() },
1278
+ { label: "Construction", value: exports.MitigationSubTypes.CONSTRUCTION.valueOf() },
1279
+ { label: "Metal products", value: exports.MitigationSubTypes.METAL_PRODUCTS.valueOf() },
1280
+ { label: "Wood", value: exports.MitigationSubTypes.WOOD.valueOf() },
1281
+ { label: "Recycling", value: exports.MitigationSubTypes.RECYCLING.valueOf() },
1282
+ { label: "Chemicals heat", value: exports.MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
1283
+ { label: "Petrochemicals heat", value: exports.MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
1284
+ { label: "Carbon black gas", value: exports.MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
1285
+ { label: "Cement heat", value: exports.MitigationSubTypes.CEMENT_HEAT.valueOf() },
1286
+ { label: "Iron & steel heat", value: exports.MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
1287
+ { label: "Building materials heat", value: exports.MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
1288
+ { label: "Glass heat", value: exports.MitigationSubTypes.GLASS_HEAT.valueOf() },
1289
+ { label: "Non-ferrous metals heat", value: exports.MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
1290
+ { label: "Coke oven gas", value: exports.MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
1291
+ { label: "HVAC & lighting", value: exports.MitigationSubTypes.HVAC_LIGHTING.valueOf() },
1292
+ { label: "Air conditioning", value: exports.MitigationSubTypes.AIR_CONDITIONING.valueOf() },
1293
+ { label: "EE new buildings", value: exports.MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
1294
+ { label: "Street lighting", value: exports.MitigationSubTypes.STREET_LIGHTING.valueOf() },
1295
+ { label: "Lighting in service", value: exports.MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
1296
+ { label: "Water pumping", value: exports.MitigationSubTypes.WATER_PUMPING.valueOf() },
1297
+ { label: "Water purification", value: exports.MitigationSubTypes.WATER_PURIFICATION.valueOf() },
1298
+ { label: "EE public stoves", value: exports.MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
1299
+ { label: "EE public buildings", value: exports.MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
1300
+ { label: "EE commercial buildings", value: exports.MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
1301
+ { label: "Single cycle to combined cycle", value: exports.MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
1302
+ { label: "Cogeneration", value: exports.MitigationSubTypes.COGENERATION.valueOf() },
1303
+ { label: "Co-firing with biomass", value: exports.MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
1304
+ { label: "Higher efficiency coal power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
1305
+ { label: "Higher efficiency oil power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
1306
+ { label: "Higher efficiency using waste heat", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
1307
+ { label: "Power plant rehabilitation", value: exports.MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
1308
+ { label: "Higher efficiency steam boiler", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
1309
+ { label: "District heating", value: exports.MitigationSubTypes.DISTRICT_HEATING.valueOf() },
1310
+ { label: "Replacement of district heating boilers", value: exports.MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
1311
+ { label: "Connection of Isolated grid", value: exports.MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
1312
+ { label: "District cooling", value: exports.MitigationSubTypes.DISTRICT_COOLING.valueOf() },
1313
+ { label: "Efficient electricity distribution", value: exports.MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
1314
+ { label: "Afforestation", value: exports.MitigationSubTypes.AFFORESTATION.valueOf() },
1315
+ { label: "Mangroves", value: exports.MitigationSubTypes.MANGROVES.valueOf() },
1316
+ { label: "Agroforestry", value: exports.MitigationSubTypes.AGROFORESTRY.valueOf() },
1317
+ { label: "Reforestation", value: exports.MitigationSubTypes.REFORESTATION.valueOf() },
1318
+ { label: "Coal to natural gas", value: exports.MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
1319
+ { label: "Coal to oil", value: exports.MitigationSubTypes.COAL_TO_OIL.valueOf() },
1320
+ { label: "Lignite to natural gas", value: exports.MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
1321
+ { label: "New natural gas plant", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
1322
+ { label: "New natural gas plant using LNG", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
1323
+ { label: "Oil to electricity", value: exports.MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
1324
+ { label: "Oil to LPG", value: exports.MitigationSubTypes.OIL_TO_LPG.valueOf() },
1325
+ { label: "Oil to natural gas", value: exports.MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
1326
+ { label: "Oil field flaring reduction", value: exports.MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
1327
+ { label: "Oil and gas processing flaring", value: exports.MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
1328
+ { label: "Natural gas pipelines", value: exports.MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
1329
+ { label: "Non-hydrocarbon mining", value: exports.MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
1330
+ { label: "Spontaneously ignition of coal piles", value: exports.MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
1331
+ { label: "Charcoal production", value: exports.MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
1332
+ { label: "Geothermal electricity", value: exports.MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
1333
+ { label: "Geothermal heating", value: exports.MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
1334
+ { label: "HFC23", value: exports.MitigationSubTypes.HFC23.valueOf() },
1335
+ { label: "HFC134a", value: exports.MitigationSubTypes.HFC134A.valueOf() },
1336
+ { label: "PFCs", value: exports.MitigationSubTypes.PFCS.valueOf() },
1337
+ { label: "SF6", value: exports.MitigationSubTypes.SF6.valueOf() },
1338
+ { label: "Run of river", value: exports.MitigationSubTypes.RUN_OF_RIVER.valueOf() },
1339
+ { label: "Existing dam", value: exports.MitigationSubTypes.EXISTING_DAM.valueOf() },
1340
+ { label: "Higher efficiency hydro power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
1341
+ { label: "New dam", value: exports.MitigationSubTypes.NEW_DAM.valueOf() },
1342
+ { label: "Landfill flaring", value: exports.MitigationSubTypes.LANDFILL_FLARING.valueOf() },
1343
+ { label: "Landfill power", value: exports.MitigationSubTypes.LANDFILL_POWER.valueOf() },
1344
+ { label: "Combustion of MSW", value: exports.MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
1345
+ { label: "Gasification of MSW", value: exports.MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
1346
+ { label: "Biogas from MSW", value: exports.MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
1347
+ { label: "Landfill aeration", value: exports.MitigationSubTypes.LANDFILL_AERATION.valueOf() },
1348
+ { label: "Integrated solid waste management", value: exports.MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
1349
+ { label: "Switch from fossil fuel to piped landfill gas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
1350
+ { label: "Landfill composting", value: exports.MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
1351
+ { label: "Manure", value: exports.MitigationSubTypes.MANURE.valueOf() },
1352
+ { label: "Domestic manure", value: exports.MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
1353
+ { label: "Waste water", value: exports.MitigationSubTypes.WASTE_WATER.valueOf() },
1354
+ { label: "Industrial solid waste", value: exports.MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
1355
+ { label: "Palm oil waste", value: exports.MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
1356
+ { label: "Aerobic treatment of waste water", value: exports.MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
1357
+ { label: "Composting", value: exports.MitigationSubTypes.COMPOSTING.valueOf() },
1358
+ { label: "Adipic acid", value: exports.MitigationSubTypes.ADIPIC_ACID.valueOf() },
1359
+ { label: "Nitric acid", value: exports.MitigationSubTypes.NITRIC_ACID.valueOf() },
1360
+ { label: "Caprolactam", value: exports.MitigationSubTypes.CAPROLACTAM.valueOf() },
1361
+ { label: "Solar Photovoltaics(PV)", value: exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
1362
+ { label: "Solar Water pumping (off-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
1363
+ { label: "Solar Water pumping (on-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
1364
+ { label: "Solar PV water disinfection", value: exports.MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
1365
+ { label: "Solar thermal power", value: exports.MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
1366
+ { label: "Solar thermal heat", value: exports.MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
1367
+ { label: "Solar water heating", value: exports.MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
1368
+ { label: "Solar cooking", value: exports.MitigationSubTypes.SOLAR_COOKING.valueOf() },
1369
+ { label: "Bus Rapid Transit", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
1370
+ { label: "Bus Rapid Transit: Green hydrogen", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
1371
+ { label: "Motorbikes", value: exports.MitigationSubTypes.MOTORBIKES.valueOf() },
1372
+ { label: "Mode shift: Road to rail", value: exports.MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
1373
+ { label: "More efficient train system", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1374
+ { label: "More efficient vehicles", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1375
+ { label: "Rail: regenerative braking", value: exports.MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
1376
+ { label: "Rail: Green hydrogen", value: exports.MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
1377
+ { label: "Rail: efficient operation", value: exports.MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
1378
+ { label: "Metro: efficient operation", value: exports.MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
1379
+ { label: "Cars: Green hydrogen", value: exports.MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
1380
+ { label: "Cars: efficient operation", value: exports.MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
1381
+ { label: "Scrapping old vehicles", value: exports.MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
1382
+ { label: "Biodiesel for transport", value: exports.MitigationSubTypes.CABLE_CARS.valueOf() },
1383
+ { label: "Cable cars", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
1384
+ { label: "Wind", value: exports.MitigationSubTypes.WIND.valueOf() },
1385
+ { label: "Offshore wind", value: exports.MitigationSubTypes.OFFSHORE_WIND.valueOf() },
1386
+ { label: "CO2 recycling", value: exports.MitigationSubTypes.CO2_RECYCLING.valueOf() },
1387
+ { label: "CO2 replacement", value: exports.MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
1388
+ { label: "Tidal", value: exports.MitigationSubTypes.TIDAL.valueOf() },
1389
+ ];
1390
+ var mitigationSubTypesListMapped = {
1391
+ Agriculture: [
1392
+ { label: "Irrigation", value: exports.MitigationSubTypes.IRRIGATION.valueOf() },
1393
+ { label: "Energy efficiency", value: exports.MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
1394
+ { label: "Alternative fertilisers", value: exports.MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
1395
+ { label: "No tillage", value: exports.MitigationSubTypes.NO_TILLAGE.valueOf() },
1396
+ { label: "Soil Enrichment / Biochar", value: exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
1397
+ { label: "Rice crops", value: exports.MitigationSubTypes.RICE_CROPS.valueOf() },
1398
+ ],
1399
+ BiomassEnergy: [
1400
+ { label: "Bagasse power", value: exports.MitigationSubTypes.BAGASSE_POWER.valueOf() },
1401
+ { label: "Palm oil solid waste", value: exports.MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
1402
+ { label: "Agricultural residues: other kinds", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
1403
+ { label: "Agricultural residues: rice husk", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
1404
+ { label: "Agricultural residues: mustard crop", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
1405
+ { label: "Agricultural residues: poultry litter", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
1406
+ { label: "Black liquor", value: exports.MitigationSubTypes.BLACK_LIQUOR.valueOf() },
1407
+ { label: "Forest residues: sawmill waste", value: exports.MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
1408
+ { label: "Forest residues: other", value: exports.MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
1409
+ { label: "Forest biomass", value: exports.MitigationSubTypes.FOREST_BIOMASS.valueOf() },
1410
+ { label: "Industrial waste", value: exports.MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
1411
+ { label: "Gasification of biomass", value: exports.MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
1412
+ { label: "Switch from fossil fuel to piped biogas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
1413
+ { label: "Biomass briquettes or pellets", value: exports.MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
1414
+ { label: "Biodiesel", value: exports.MitigationSubTypes.BIODIESEL.valueOf() },
1415
+ { label: "Biodiesel from waste oil", value: exports.MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
1416
+ { label: "Ethanol", value: exports.MitigationSubTypes.ETHANOL.valueOf() },
1417
+ ],
1418
+ Cement: [
1419
+ { label: "Cement", value: exports.MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
1420
+ ],
1421
+ "Coal/Mine": [
1422
+ { label: "Coal Mine Methane", value: exports.MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
1423
+ { label: "Coal Bed Methane", value: exports.MitigationSubTypes.COAL_BED_METHANE.valueOf() },
1424
+ { label: "CMM & Ventilation Air Methane", value: exports.MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
1425
+ { label: "Ventilation Air Methane", value: exports.MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
1426
+ ],
1427
+ EEHouseholds: [
1428
+ { label: "Lighting", value: exports.MitigationSubTypes.LIGHTING.valueOf() },
1429
+ { label: "Solar lamps", value: exports.MitigationSubTypes.SOLAR_LAMPS.valueOf() },
1430
+ { label: "Stoves", value: exports.MitigationSubTypes.STOVES.valueOf() },
1431
+ { label: "Stoves (School in Ghana)", value: exports.MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
1432
+ { label: "Stoves (Houses in Namibia)", value: exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
1433
+ { label: "Lighting & Insulation & Solar", value: exports.MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
1434
+ { label: "Appliances", value: exports.MitigationSubTypes.APPLIANCES.valueOf() },
1435
+ ],
1436
+ EEIndustry: [
1437
+ { label: "Chemicals", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
1438
+ { label: "Petrochemicals", value: exports.MitigationSubTypes.PETROCHEMICALS.valueOf() },
1439
+ { label: "Paper", value: exports.MitigationSubTypes.PAPER.valueOf() },
1440
+ { label: "Cement", value: exports.MitigationSubTypes.CEMENT.valueOf() },
1441
+ { label: "Iron & steel ", value: exports.MitigationSubTypes.IRON_STEEL.valueOf() },
1442
+ { label: "Machinery", value: exports.MitigationSubTypes.MACHINERY.valueOf() },
1443
+ { label: "Textiles", value: exports.MitigationSubTypes.TEXTILES.valueOf() },
1444
+ { label: "Electronics", value: exports.MitigationSubTypes.ELECTRONICS.valueOf() },
1445
+ { label: "Food", value: exports.MitigationSubTypes.FOOD.valueOf() },
1446
+ { label: "Building materials", value: exports.MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
1447
+ { label: "Glass", value: exports.MitigationSubTypes.GLASS.valueOf() },
1448
+ { label: "Non-ferrous metals", value: exports.MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
1449
+ { label: "Coke oven", value: exports.MitigationSubTypes.COKE_OVEN.valueOf() },
1450
+ { label: "Mining", value: exports.MitigationSubTypes.Mining.valueOf() },
1451
+ { label: "Construction", value: exports.MitigationSubTypes.CONSTRUCTION.valueOf() },
1452
+ { label: "Metal products", value: exports.MitigationSubTypes.METAL_PRODUCTS.valueOf() },
1453
+ { label: "Wood", value: exports.MitigationSubTypes.WOOD.valueOf() },
1454
+ { label: "Recycling", value: exports.MitigationSubTypes.RECYCLING.valueOf() },
1455
+ ],
1456
+ EEOwnGeneration: [
1457
+ { label: "Chemicals heat", value: exports.MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
1458
+ { label: "Petrochemicals heat", value: exports.MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
1459
+ { label: "Carbon black gas", value: exports.MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
1460
+ { label: "Cement heat", value: exports.MitigationSubTypes.CEMENT_HEAT.valueOf() },
1461
+ { label: "Iron & steel heat", value: exports.MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
1462
+ { label: "Building materials heat", value: exports.MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
1463
+ { label: "Glass heat", value: exports.MitigationSubTypes.GLASS_HEAT.valueOf() },
1464
+ { label: "Non-ferrous metals heat", value: exports.MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
1465
+ { label: "Coke oven gas", value: exports.MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
1466
+ ],
1467
+ EEService: [
1468
+ { label: "HVAC & lighting", value: exports.MitigationSubTypes.HVAC_LIGHTING.valueOf() },
1469
+ { label: "Air conditioning", value: exports.MitigationSubTypes.AIR_CONDITIONING.valueOf() },
1470
+ { label: "EE new buildings", value: exports.MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
1471
+ { label: "Street lighting", value: exports.MitigationSubTypes.STREET_LIGHTING.valueOf() },
1472
+ { label: "Lighting in service", value: exports.MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
1473
+ { label: "Water pumping", value: exports.MitigationSubTypes.WATER_PUMPING.valueOf() },
1474
+ { label: "Water purification", value: exports.MitigationSubTypes.WATER_PURIFICATION.valueOf() },
1475
+ { label: "EE public stoves", value: exports.MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
1476
+ { label: "EE public buildings", value: exports.MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
1477
+ { label: "EE commercial buildings", value: exports.MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
1478
+ ],
1479
+ EESupplySide: [
1480
+ { label: "Single cycle to combined cycle", value: exports.MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
1481
+ { label: "Cogeneration", value: exports.MitigationSubTypes.COGENERATION.valueOf() },
1482
+ { label: "Co-firing with biomass", value: exports.MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
1483
+ { label: "Higher efficiency coal power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
1484
+ { label: "Higher efficiency oil power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
1485
+ { label: "Higher efficiency using waste heat", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
1486
+ { label: "Power plant rehabilitation", value: exports.MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
1487
+ { label: "Higher efficiency steam boiler", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
1488
+ ],
1489
+ EnergyDistribution: [
1490
+ { label: "District heating", value: exports.MitigationSubTypes.DISTRICT_HEATING.valueOf() },
1491
+ { label: "Replacement of district heating boilers", value: exports.MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
1492
+ { label: "Connection of Isolated grid", value: exports.MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
1493
+ { label: "District cooling", value: exports.MitigationSubTypes.DISTRICT_COOLING.valueOf() },
1494
+ { label: "Efficient electricity distribution", value: exports.MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
1495
+ ],
1496
+ Forestry: [
1497
+ { label: "Afforestation", value: exports.MitigationSubTypes.AFFORESTATION.valueOf() },
1498
+ { label: "Mangroves", value: exports.MitigationSubTypes.MANGROVES.valueOf() },
1499
+ { label: "Agroforestry", value: exports.MitigationSubTypes.AGROFORESTRY.valueOf() },
1500
+ { label: "Reforestation", value: exports.MitigationSubTypes.REFORESTATION.valueOf() },
1501
+ ],
1502
+ FossilFuel: [
1503
+ { label: "Coal to natural gas", value: exports.MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
1504
+ { label: "Coal to oil", value: exports.MitigationSubTypes.COAL_TO_OIL.valueOf() },
1505
+ { label: "Lignite to natural gas", value: exports.MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
1506
+ { label: "New natural gas plant", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
1507
+ { label: "New natural gas plant using LNG", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
1508
+ { label: "Oil to electricity", value: exports.MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
1509
+ { label: "Oil to LPG", value: exports.MitigationSubTypes.OIL_TO_LPG.valueOf() },
1510
+ { label: "Oil to natural gas", value: exports.MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
1511
+ ],
1512
+ Fugitive: [
1513
+ { label: "Oil field flaring reduction", value: exports.MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
1514
+ { label: "Oil and gas processing flaring", value: exports.MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
1515
+ { label: "Natural gas pipelines", value: exports.MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
1516
+ { label: "Non-hydrocarbon mining", value: exports.MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
1517
+ { label: "Spontaneously ignition of coal piles", value: exports.MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
1518
+ { label: "Charcoal production", value: exports.MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
1519
+ ],
1520
+ Geothermal: [
1521
+ { label: "Geothermal electricity", value: exports.MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
1522
+ { label: "Geothermal heating", value: exports.MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
1523
+ ],
1524
+ HFC_PFCs_SF6: [
1525
+ { label: "HFC23", value: exports.MitigationSubTypes.HFC23.valueOf() },
1526
+ { label: "HFC134a", value: exports.MitigationSubTypes.HFC134A.valueOf() },
1527
+ { label: "PFCs", value: exports.MitigationSubTypes.PFCS.valueOf() },
1528
+ { label: "SF6", value: exports.MitigationSubTypes.SF6.valueOf() },
1529
+ ],
1530
+ Hydro: [
1531
+ { label: "Run of river", value: exports.MitigationSubTypes.RUN_OF_RIVER.valueOf() },
1532
+ { label: "Existing dam", value: exports.MitigationSubTypes.EXISTING_DAM.valueOf() },
1533
+ { label: "Higher efficiency hydro power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
1534
+ { label: "New dam", value: exports.MitigationSubTypes.NEW_DAM.valueOf() },
1535
+ ],
1536
+ Landfills: [
1537
+ { label: "Landfill flaring", value: exports.MitigationSubTypes.LANDFILL_FLARING.valueOf() },
1538
+ { label: "Landfill power", value: exports.MitigationSubTypes.LANDFILL_POWER.valueOf() },
1539
+ { label: "Combustion of MSW", value: exports.MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
1540
+ { label: "Gasification of MSW", value: exports.MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
1541
+ { label: "Biogas from MSW", value: exports.MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
1542
+ { label: "Landfill aeration", value: exports.MitigationSubTypes.LANDFILL_AERATION.valueOf() },
1543
+ { label: "Integrated solid waste management", value: exports.MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
1544
+ { label: "Switch from fossil fuel to piped landfill gas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
1545
+ { label: "Landfill composting", value: exports.MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
1546
+ ],
1547
+ MethaneAvoidance: [
1548
+ { label: "Manure", value: exports.MitigationSubTypes.MANURE.valueOf() },
1549
+ { label: "Domestic manure", value: exports.MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
1550
+ { label: "Waste water", value: exports.MitigationSubTypes.WASTE_WATER.valueOf() },
1551
+ { label: "Industrial solid waste", value: exports.MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
1552
+ { label: "Palm oil waste", value: exports.MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
1553
+ { label: "Aerobic treatment of waste water", value: exports.MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
1554
+ { label: "Composting", value: exports.MitigationSubTypes.COMPOSTING.valueOf() },
1555
+ ],
1556
+ N20: [
1557
+ { label: "Adipic acid", value: exports.MitigationSubTypes.ADIPIC_ACID.valueOf() },
1558
+ { label: "Nitric acid", value: exports.MitigationSubTypes.NITRIC_ACID.valueOf() },
1559
+ { label: "Caprolactam", value: exports.MitigationSubTypes.CAPROLACTAM.valueOf() },
1560
+ ],
1561
+ Solar: [
1562
+ { label: "Solar Photovoltaics(PV)", value: exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
1563
+ { label: "Solar Water pumping (off-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
1564
+ { label: "Solar Water pumping (on-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
1565
+ { label: "Solar PV water disinfection", value: exports.MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
1566
+ { label: "Solar thermal power", value: exports.MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
1567
+ { label: "Solar thermal heat", value: exports.MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
1568
+ { label: "Solar water heating", value: exports.MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
1569
+ { label: "Solar cooking", value: exports.MitigationSubTypes.SOLAR_COOKING.valueOf() },
1570
+ ],
1571
+ Transport: [
1572
+ { label: "Bus Rapid Transit", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
1573
+ { label: "Bus Rapid Transit: Green hydrogen", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
1574
+ { label: "Motorbikes", value: exports.MitigationSubTypes.MOTORBIKES.valueOf() },
1575
+ { label: "Mode shift: Road to rail", value: exports.MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
1576
+ { label: "More efficient train system", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1577
+ { label: "More efficient vehicles", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1578
+ { label: "Rail: regenerative braking", value: exports.MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
1579
+ { label: "Rail: Green hydrogen", value: exports.MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
1580
+ { label: "Rail: efficient operation", value: exports.MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
1581
+ { label: "Metro: efficient operation", value: exports.MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
1582
+ { label: "Cars: Green hydrogen", value: exports.MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
1583
+ { label: "Cars: efficient operation", value: exports.MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
1584
+ { label: "Scrapping old vehicles", value: exports.MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
1585
+ { label: "Biodiesel for transport", value: exports.MitigationSubTypes.CABLE_CARS.valueOf() },
1586
+ { label: "Cable cars", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
1587
+ ],
1588
+ Wind: [
1589
+ { label: "Wind", value: exports.MitigationSubTypes.WIND.valueOf() },
1590
+ { label: "Offshore wind", value: exports.MitigationSubTypes.OFFSHORE_WIND.valueOf() },
1591
+ ],
1592
+ CO2Usage: [
1593
+ { label: "CO2 recycling", value: exports.MitigationSubTypes.CO2_RECYCLING.valueOf() },
1594
+ { label: "CO2 replacement", value: exports.MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
1595
+ ],
1596
+ Tidal: [
1597
+ { label: "Tidal", value: exports.MitigationSubTypes.TIDAL.valueOf() },
1598
+ ],
1599
+ };
1600
+ var methodologyOptions = [
1601
+ "ACR - Truck Stop Electrification",
1602
+ "ACR - Advanced Refrigeration Systems",
1603
+ "ACR - Certified Reclaimed HFC Refrigerants, Propellants, and Fire Suppressants",
1604
+ "ACR - Destruction of Ozone Depleting Substances and High-GWP Foam",
1605
+ "ACR - Destruction of Ozone Depleting Substances from International Sources",
1606
+ "ACR - Transition to Advanced Formulation Blowing Agents in Foam Manufacturing and Use",
1607
+ "ACR - Afforestation and Reforestation of Degraded Lands",
1608
+ "ACR - Avoided Conversion of Grasslands and Shrublands to Crop Production",
1609
+ "ACR - Improved Forest Management (IFM) on Canadian Forestlands",
1610
+ "ACR - Improved Forest Management (IFM) on Non-Federal U.S. Forestlands",
1611
+ "ACR - Improved Forest Management (IFM) on Small Non-Industrial Private Forestlands",
1612
+ "ACR - Restoration of California Deltaic and Coastal Wetlands",
1613
+ "ACR - Restoration of Pocosin Wetlands",
1614
+ "ACR - Carbon Capture and Storage Projects",
1615
+ "ACR - Landfill Gas Destruction and Beneficial Use Projects",
1616
+ "CAR - Adipic Acid Production",
1617
+ "CAR - Biochar",
1618
+ "CAR - Canada Grassland",
1619
+ "CAR - Coal Mine Methane",
1620
+ "CAR - Forest",
1621
+ "CAR - Grassland",
1622
+ "CAR - Mexico Boiler Efficiency",
1623
+ "CAR - Mexico Forest",
1624
+ "CAR - Mexico Halocarbon",
1625
+ "CAR - Mexico Landfill",
1626
+ "CAR - Mexico Livestock",
1627
+ "CAR - Mexico Ozone Depleting Substances",
1628
+ "CAR - Nitric Acid Production",
1629
+ "CAR - Nitrogen Management",
1630
+ "CAR - Organic Waste Composting",
1631
+ "CAR - Organic Waste Digestion",
1632
+ "CAR - Ozone Depleting Substances",
1633
+ "CAR - Rice Cultivation",
1634
+ "CAR - Soil Enrichment",
1635
+ "CAR - Urban Forest Management",
1636
+ "CAR - Urban Tree Planting",
1637
+ "CAR - U.S. Landfill",
1638
+ "CAR - U.S. Livestock",
1639
+ "CDM - AM0001",
1640
+ "CDM - AM0007",
1641
+ "CDM - AM0009",
1642
+ "CDM - AM0017",
1643
+ "CDM - AM0018",
1644
+ "CDM - AM0019",
1645
+ "CDM - AM0020",
1646
+ "CDM - AM0021",
1647
+ "CDM - AM0023",
1648
+ "CDM - AM0026",
1649
+ "CDM - AM0027",
1650
+ "CDM - AM0028",
1651
+ "CDM - AM0030",
1652
+ "CDM - AM0031",
1653
+ "CDM - AM0035",
1654
+ "CDM - AM0036",
1655
+ "CDM - AM0037",
1656
+ "CDM - AM0038",
1657
+ "CDM - AM0043",
1658
+ "CDM - AM0044",
1659
+ "CDM - AM0045",
1660
+ "CDM - AM0046",
1661
+ "CDM - AM0048",
1662
+ "CDM - AM0049",
1663
+ "CDM - AM0050",
1664
+ "CDM - AM0052",
1665
+ "CDM - AM0053",
1666
+ "CDM - AM0055",
1667
+ "CDM - AM0056",
1668
+ "CDM - AM0057",
1669
+ "CDM - AM0058",
1670
+ "CDM - AM0059",
1671
+ "CDM - AM0060",
1672
+ "CDM - AM0061",
1673
+ "CDM - AM0062",
1674
+ "CDM - AM0063",
1675
+ "CDM - AM0064",
1676
+ "CDM - AM0065",
1677
+ "CDM - AM0066",
1678
+ "CDM - AM0067",
1679
+ "CDM - AM0068",
1680
+ "CDM - AM0069",
1681
+ "CDM - AM0070",
1682
+ "CDM - AM0071",
1683
+ "CDM - AM0072",
1684
+ "CDM - AM0073",
1685
+ "CDM - AM0074",
1686
+ "CDM - AM0075",
1687
+ "CDM - AM0076",
1688
+ "CDM - AM0077",
1689
+ "CDM - AM0078",
1690
+ "CDM - AM0079",
1691
+ "CDM - AM0080",
1692
+ "CDM - AM0081",
1693
+ "CDM - AM0082",
1694
+ "CDM - AM0083",
1695
+ "CDM - AM0084",
1696
+ "CDM - AM0086",
1697
+ "CDM - AM0088",
1698
+ "CDM - AM0089",
1699
+ "CDM - AM0090",
1700
+ "CDM - AM0091",
1701
+ "CDM - AM0092",
1702
+ "CDM - AM0093",
1703
+ "CDM - AM0094",
1704
+ "CDM - AM0095",
1705
+ "CDM - AM0096",
1706
+ "CDM - AM0097",
1707
+ "CDM - AM0098",
1708
+ "CDM - AM0099",
1709
+ "CDM - AM0100",
1710
+ "CDM - AM0101",
1711
+ "CDM - AM0103",
1712
+ "CDM - AM0104",
1713
+ "CDM - AM0105",
1714
+ "CDM - AM0106",
1715
+ "CDM - AM0107",
1716
+ "CDM - AM0108",
1717
+ "CDM - AM0109",
1718
+ "CDM - AM0110",
1719
+ "CDM - AM0111",
1720
+ "CDM - AM0112",
1721
+ "CDM - AM0113",
1722
+ "CDM - AM0114",
1723
+ "CDM - AM0115",
1724
+ "CDM - AM0116",
1725
+ "CDM - AM0117",
1726
+ "CDM - AM0118",
1727
+ "CDM - AM0119",
1728
+ "CDM - AM0120",
1729
+ "CDM - AM0121",
1730
+ "CDM - AM0122",
1731
+ "CDM - AMS-I.A.",
1732
+ "CDM - AMS-I.B.",
1733
+ "CDM - AMS-I.C.",
1734
+ "CDM - AMS-I.D.",
1735
+ "CDM - AMS-I.E.",
1736
+ "CDM - AMS-I.F.",
1737
+ "CDM - AMS-I.G.",
1738
+ "CDM - AMS-I.H.",
1739
+ "CDM - AMS-I.I.",
1740
+ "CDM - AMS-I.J.",
1741
+ "CDM - AMS-I.K.",
1742
+ "CDM - AMS-I.L.",
1743
+ "CDM - AMS-I.M.",
1744
+ "CDM - AMS-II.A.",
1745
+ "CDM - AMS-II.B.",
1746
+ "CDM - AMS-II.C.",
1747
+ "CDM - AMS-II.D.",
1748
+ "CDM - AMS-II.E.",
1749
+ "CDM - AMS-II.F.",
1750
+ "CDM - AMS-II.G.",
1751
+ "CDM - AMS-II.H.",
1752
+ "CDM - AMS-II.I.",
1753
+ "CDM - AMS-II.J.",
1754
+ "CDM - AMS-II.K.",
1755
+ "CDM - AMS-II.L.",
1756
+ "CDM - AMS-II.M.",
1757
+ "CDM - AMS-II.N.",
1758
+ "CDM - AMS-II.O.",
1759
+ "CDM - AMS-II.P.",
1760
+ "CDM - AMS-II.Q.",
1761
+ "CDM - AMS-II.R.",
1762
+ "CDM - AMS-II.S.",
1763
+ "CDM - AMS-II.T.",
1764
+ "CDM - AMS-III.A.",
1765
+ "CDM - AMS-III.B.",
1766
+ "CDM - AMS-III.C.",
1767
+ "CDM - AMS-III.D.",
1768
+ "CDM - AMS-III.E.",
1769
+ "CDM - AMS-III.F.",
1770
+ "CDM - AMS-III.G.",
1771
+ "CDM - AMS-III.H.",
1772
+ "CDM - AMS-III.I.",
1773
+ "CDM - AMS-III.J.",
1774
+ "CDM - AMS-III.K.",
1775
+ "CDM - AMS-III.L.",
1776
+ "CDM - AMS-III.M.",
1777
+ "CDM - AMS-III.N.",
1778
+ "CDM - AMS-III.O.",
1779
+ "CDM - AMS-III.P.",
1780
+ "CDM - AMS-III.Q.",
1781
+ "CDM - AMS-III.R.",
1782
+ "CDM - AMS-III.S.",
1783
+ "CDM - AMS-III.T.",
1784
+ "CDM - AMS-III.U.",
1785
+ "CDM - AMS-III.V.",
1786
+ "CDM - AMS-III.W.",
1787
+ "CDM - AMS-III.X.",
1788
+ "CDM - AMS-III.Y.",
1789
+ "CDM - AMS-III.Z.",
1790
+ "CDM - AMS-III.AA.",
1791
+ "CDM - AMS-III.AB.",
1792
+ "CDM - AMS-III.AC.",
1793
+ "CDM - AMS-III.AD.",
1794
+ "CDM - AMS-III.AE.",
1795
+ "CDM - AMS-III.AF.",
1796
+ "CDM - AMS-III.AG.",
1797
+ "CDM - AMS-III.AH.",
1798
+ "CDM - AMS-III.AI.",
1799
+ "CDM - AMS-III.AJ.",
1800
+ "CDM - AMS-III.AK.",
1801
+ "CDM - AMS-III.AL.",
1802
+ "CDM - AMS-III.AM.",
1803
+ "CDM - AMS-III.AN.",
1804
+ "CDM - AMS-III.AO.",
1805
+ "CDM - AMS-III.AP.",
1806
+ "CDM - AMS-III.AQ.",
1807
+ "CDM - AMS-III.AR.",
1808
+ "CDM - AMS-III.AS.",
1809
+ "CDM - AMS-III.AT.",
1810
+ "CDM - AMS-III.AU.",
1811
+ "CDM - AMS-III.AV.",
1812
+ "CDM - AMS-III.AW.",
1813
+ "CDM - AMS-III.AX.",
1814
+ "CDM - AMS-III.AY.",
1815
+ "CDM - AMS-III.BA.",
1816
+ "CDM - AMS-III.BB.",
1817
+ "CDM - AMS-III.BC.",
1818
+ "CDM - AMS-III.BD.",
1819
+ "CDM - AMS-III.BE.",
1820
+ "CDM - AMS-III.BF.",
1821
+ "CDM - AMS-III.BG.",
1822
+ "CDM - AMS-III.BH.",
1823
+ "CDM - AMS-III.BI.",
1824
+ "CDM - AMS-III.BJ.",
1825
+ "CDM - AMS-III.BK.",
1826
+ "CDM - AMS-III.BL.",
1827
+ "CDM - AMS-III.BM.",
1828
+ "CDM - AMS-III.BN.",
1829
+ "CDM - AMS-III.BO.",
1830
+ "CDM - AMS-III.BP.",
1831
+ "CDM - AR-AM0014",
1832
+ "CDM - AR-AMS0003",
1833
+ "CDM - AR-AMS0007",
1834
+ "GS - METHODOLOGY FOR METERED & MEASURED ENERGY COOKING DEVICES",
1835
+ "GS - METHODOLOGY FOR RETROFIT ENERGY EFFICIENCY MEASURES IN SHIPPING ",
1836
+ "GS - SOIL ORGANIC CARBON ACTIVITY MODULE FOR APPLICATION OF ORGANIC SOIL IMPROVERS FROM PULP AND PAPER MILL SLUDGES",
1837
+ "GS - REDUCED EMISSIONS FROM COOKING AND HEATING – TECHNOLOGIES AND PRACTICES TO DISPLACE DECENTRALIZED THERMAL ENERGY CONSUMPTION (TPDDTEC)",
1838
+ "GS - CARBON SEQUESTRATION THROUGH ACCELERATED CARBONATION OF CONCRETE AGGREGATE ",
1839
+ "VCS - VM0001",
1840
+ "VCS - VM0002",
1841
+ "VCS - VM0003",
1842
+ "VCS - VM0004",
1843
+ "VCS - VM0005",
1844
+ "VCS - VM0006",
1845
+ "VCS - VM0007",
1846
+ "VCS - VM0008",
1847
+ "VCS - VM0009",
1848
+ "VCS - VM0010",
1849
+ "VCS - VM0011",
1850
+ "VCS - VM0012",
1851
+ "VCS - VM0013",
1852
+ "VCS - VM0014",
1853
+ "VCS - VM0015",
1854
+ "VCS - VM0016",
1855
+ "VCS - VM0017",
1856
+ "VCS - VM0018",
1857
+ "VCS - VM0019",
1858
+ "VCS - VM0020",
1859
+ "VCS - VM0021",
1860
+ "VCS - VM0022",
1861
+ "VCS - VM0023",
1862
+ "VCS - VM0024",
1863
+ "VCS - VM0025",
1864
+ "VCS - VM0026",
1865
+ "VCS - VM0027",
1866
+ "VCS - VM0028",
1867
+ "VCS - VM0029",
1868
+ "VCS - VM0030",
1869
+ "VCS - VM0031",
1870
+ "VCS - VM0032",
1871
+ "VCS - VM0033",
1872
+ "VCS - VM0034",
1873
+ "VCS - VM0035",
1874
+ "VCS - VM0036",
1875
+ "VCS - VM0037",
1876
+ "VCS - VM0038",
1877
+ "VCS - VM0039",
1878
+ "VCS - VM0040",
1879
+ "VCS - VM0041",
1880
+ "VCS - VM0042",
1881
+ "VCS - VM0043",
1882
+ "VCS - VMR000",
1883
+ "VCS - VMR006",
1884
+ "ID_PM044",
1885
+ "ID_PM043",
1886
+ "ID_PM042",
1887
+ "ID_PM041",
1888
+ "ID_PM040",
1889
+ "ID_PM039",
1890
+ "ID_AM028",
1891
+ "ID_AM027",
1892
+ "ID_AM026",
1893
+ "ID_AM025",
1894
+ "ID_AM024",
1895
+ "ID_AM023",
1896
+ "ID_AM022",
1897
+ "ID_AM021",
1898
+ "ID_AM020",
1899
+ "ID_AM006",
1900
+ "VN_PM028",
1901
+ "ID_AM019",
1902
+ "VN_PM027",
1903
+ "ID_AM018",
1904
+ "ID_AM007",
1905
+ "TH_PM026",
1906
+ "VN_PM026",
1907
+ "VN_PM025",
1908
+ "TH_PM025",
1909
+ "ID_AM009",
1910
+ "VN_PM024",
1911
+ "ID_AM017",
1912
+ "TH_PM024",
1913
+ "ID_AM016",
1914
+ "VN_PM023",
1915
+ "TH_PM023",
1916
+ "ID_AM015",
1917
+ "TH_PM022",
1918
+ "VN_AM015",
1919
+ "VN_AM009",
1920
+ "ID_AM014",
1921
+ "TH_PM021",
1922
+ "TH_AM017",
1923
+ "ID_AM013",
1924
+ "VN_AM014",
1925
+ "VN_AM013",
1926
+ "TH_AM016",
1927
+ "VN_AM012",
1928
+ "TH_AM015",
1929
+ "ID_AM011",
1930
+ "TH_AM001",
1931
+ "VN_AM011",
1932
+ "ID_AM012",
1933
+ "VN_AM010",
1934
+ "TH_AM014",
1935
+ "ID_AM008",
1936
+ "VN_AM006",
1937
+ "TH_AM013",
1938
+ "TH_AM012",
1939
+ "VN_AM004",
1940
+ "ID_AM005",
1941
+ "ID_AM004",
1942
+ "TH_AM011",
1943
+ "VN_AM003",
1944
+ "ID_AM003",
1945
+ "VN_AM002",
1946
+ "TH_AM010",
1947
+ "ID_AM002",
1948
+ "TH_AM009",
1949
+ "ID_AM010",
1950
+ "VN_AM008",
1951
+ "TH_AM008",
1952
+ "TH_AM005",
1953
+ "VN_AM007",
1954
+ "TH_AM007",
1955
+ "VN_AM001",
1956
+ "MM_PM007",
1957
+ "TH_AM006",
1958
+ "MM_PM006",
1959
+ "VN_AM005",
1960
+ "KH_AM004",
1961
+ "TH_AM002",
1962
+ "KH_AM005",
1963
+ "BD_PM005",
1964
+ "MM_AM005",
1965
+ "TH_AM004",
1966
+ "LA_AM004",
1967
+ "BD_AM001",
1968
+ "MN_AM003",
1969
+ "MM_AM004",
1970
+ "KE_AM003",
1971
+ "LA_AM003",
1972
+ "MM_AM003",
1973
+ "CR_AM003",
1974
+ "KH_AM003",
1975
+ "PH_PM003",
1976
+ "TH_AM003",
1977
+ "CL_AM001",
1978
+ "ET_AM003",
1979
+ "BD_AM003",
1980
+ "BD_AM002",
1981
+ "ET_AM002",
1982
+ "KE_AM002",
1983
+ "CR_AM002",
1984
+ "LA_AM002",
1985
+ "KH_AM002",
1986
+ "MV_AM002",
1987
+ "MM_AM002",
1988
+ "PH_AM002",
1989
+ "MN_AM002",
1990
+ "CL_AM002",
1991
+ "PW_AM001",
1992
+ "PH_AM001",
1993
+ "KE_AM001",
1994
+ "KH_AM001",
1995
+ "SA_AM001",
1996
+ "MN_AM001",
1997
+ "MM_AM001",
1998
+ "CR_AM001",
1999
+ "ID_AM001",
2000
+ "MX_AM001",
2001
+ "ET_AM001",
2002
+ "LA_AM001",
2003
+ "MV_AM001",
2004
+ "Puro - BIO CHAR",
2005
+ ];
1113
2006
 
1114
2007
  exports.ESGType = void 0;
1115
2008
  (function (ESGType) {
@@ -4238,6 +5131,26 @@ function requireAgricultureCal () {
4238
5131
  return agricultureCal;
4239
5132
  }
4240
5133
 
5134
+ var soilEnrichmentCal = {};
5135
+
5136
+ var hasRequiredSoilEnrichmentCal;
5137
+
5138
+ function requireSoilEnrichmentCal () {
5139
+ if (hasRequiredSoilEnrichmentCal) return soilEnrichmentCal;
5140
+ hasRequiredSoilEnrichmentCal = 1;
5141
+ Object.defineProperty(soilEnrichmentCal, "__esModule", { value: true });
5142
+ soilEnrichmentCal.SoilEnrichmentCal = void 0;
5143
+ const calculator_1 = requireCalculator();
5144
+ class SoilEnrichmentCal {
5145
+ static calculate(req) {
5146
+ const constants = req.soilEnrichmentConstants;
5147
+ return Number((constants.emissionFactor * req.weight).toFixed(calculator_1.PRECISION));
5148
+ }
5149
+ }
5150
+ soilEnrichmentCal.SoilEnrichmentCal = SoilEnrichmentCal;
5151
+ return soilEnrichmentCal;
5152
+ }
5153
+
4241
5154
  var solarCal = {};
4242
5155
 
4243
5156
  var hasRequiredSolarCal;
@@ -4314,6 +5227,53 @@ class AgricultureCreationRequest {
4314
5227
  }
4315
5228
  agricultureCreationRequest.AgricultureCreationRequest = AgricultureCreationRequest;
4316
5229
 
5230
+ var soilEnrichmentCreationRequest = {};
5231
+
5232
+ var soilEnrichmentConstants = {};
5233
+
5234
+ Object.defineProperty(soilEnrichmentConstants, "__esModule", { value: true });
5235
+ soilEnrichmentConstants.SoilEnrichmentConstants = void 0;
5236
+ class SoilEnrichmentConstants {
5237
+ constructor() {
5238
+ this.emissionFactor = 3.66;
5239
+ this.emissionFactorUnit = "tCO2e"; // emission factor
5240
+ }
5241
+ }
5242
+ soilEnrichmentConstants.SoilEnrichmentConstants = SoilEnrichmentConstants;
5243
+
5244
+ Object.defineProperty(soilEnrichmentCreationRequest, "__esModule", { value: true });
5245
+ soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = void 0;
5246
+ const soilEnrichmentConstants_1 = soilEnrichmentConstants;
5247
+ class SoilEnrichmentCreationRequest {
5248
+ constructor() {
5249
+ this.soilEnrichmentConstants = new soilEnrichmentConstants_1.SoilEnrichmentConstants();
5250
+ }
5251
+ }
5252
+ soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = SoilEnrichmentCreationRequest;
5253
+
5254
+ var stovesHousesNamibiaCreationRequest = {};
5255
+
5256
+ var stovesHousesNamibiaConstants = {};
5257
+
5258
+ Object.defineProperty(stovesHousesNamibiaConstants, "__esModule", { value: true });
5259
+ stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = void 0;
5260
+ class StovesHousesNamibiaConstants {
5261
+ constructor() {
5262
+ this.emissionFactor = 0.1;
5263
+ }
5264
+ }
5265
+ stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = StovesHousesNamibiaConstants;
5266
+
5267
+ Object.defineProperty(stovesHousesNamibiaCreationRequest, "__esModule", { value: true });
5268
+ stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = void 0;
5269
+ const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
5270
+ class StovesHousesNamibiaCreationRequest {
5271
+ constructor() {
5272
+ this.stovesHousesNamibiaConstants = new stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants();
5273
+ }
5274
+ }
5275
+ stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = StovesHousesNamibiaCreationRequest;
5276
+
4317
5277
  var solarCreationRequest = {};
4318
5278
 
4319
5279
  var solarConstants = {};
@@ -4351,6 +5311,134 @@ class SolarCreationRequest {
4351
5311
  }
4352
5312
  solarCreationRequest.SolarCreationRequest = SolarCreationRequest;
4353
5313
 
5314
+ var stovesHousesNamibiaCal = {};
5315
+
5316
+ var hasRequiredStovesHousesNamibiaCal;
5317
+
5318
+ function requireStovesHousesNamibiaCal () {
5319
+ if (hasRequiredStovesHousesNamibiaCal) return stovesHousesNamibiaCal;
5320
+ hasRequiredStovesHousesNamibiaCal = 1;
5321
+ Object.defineProperty(stovesHousesNamibiaCal, "__esModule", { value: true });
5322
+ stovesHousesNamibiaCal.StovesHousesNamibiaCal = void 0;
5323
+ const calculator_1 = requireCalculator();
5324
+ class StovesHousesNamibiaCal {
5325
+ static calculate(req) {
5326
+ const constants = req.stovesHousesNamibiaConstants;
5327
+ return Number((constants.emissionFactor * req.numberOfDays * req.numberOfPeopleInHousehold).toFixed(calculator_1.PRECISION));
5328
+ }
5329
+ }
5330
+ stovesHousesNamibiaCal.StovesHousesNamibiaCal = StovesHousesNamibiaCal;
5331
+ return stovesHousesNamibiaCal;
5332
+ }
5333
+
5334
+ var solarWaterPumpingOffGridCreationRequest = {};
5335
+
5336
+ var solarWaterPumpingOffGridConstants = {};
5337
+
5338
+ Object.defineProperty(solarWaterPumpingOffGridConstants, "__esModule", { value: true });
5339
+ solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = void 0;
5340
+ class SolarWaterPumpingOffGridConstants {
5341
+ constructor() {
5342
+ this.emissionFactor = 1.3;
5343
+ this.emissionFactorUnit = "kWh/year";
5344
+ }
5345
+ }
5346
+ solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = SolarWaterPumpingOffGridConstants;
5347
+
5348
+ Object.defineProperty(solarWaterPumpingOffGridCreationRequest, "__esModule", { value: true });
5349
+ solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = void 0;
5350
+ const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
5351
+ class SolarWaterPumpingOffGridCreationRequest {
5352
+ constructor() {
5353
+ this.solarWaterPumpingOffGridConstants = new solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants();
5354
+ }
5355
+ }
5356
+ solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = SolarWaterPumpingOffGridCreationRequest;
5357
+
5358
+ var solarWaterPumpingOffGridCal = {};
5359
+
5360
+ var hasRequiredSolarWaterPumpingOffGridCal;
5361
+
5362
+ function requireSolarWaterPumpingOffGridCal () {
5363
+ if (hasRequiredSolarWaterPumpingOffGridCal) return solarWaterPumpingOffGridCal;
5364
+ hasRequiredSolarWaterPumpingOffGridCal = 1;
5365
+ Object.defineProperty(solarWaterPumpingOffGridCal, "__esModule", { value: true });
5366
+ solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = void 0;
5367
+ const calculator_1 = requireCalculator();
5368
+ var convert = lib;
5369
+ let solarWaterPumpingOffGridCal$1 = class solarWaterPumpingOffGridCal {
5370
+ static calculate(req) {
5371
+ const constants = req.solarWaterPumpingOffGridConstants;
5372
+ const emissionUnitParts = constants.emissionFactorUnit.split('/');
5373
+ if (emissionUnitParts.length != 2) {
5374
+ throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
5375
+ }
5376
+ const measuredUnitParts = req.energyGenerationUnit.split('/');
5377
+ if (measuredUnitParts.length != 3) {
5378
+ throw Error("Invalid measured unit " + req.energyGenerationUnit);
5379
+ }
5380
+ const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
5381
+ return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
5382
+ }
5383
+ };
5384
+ solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = solarWaterPumpingOffGridCal$1;
5385
+ return solarWaterPumpingOffGridCal;
5386
+ }
5387
+
5388
+ var solarWaterPumpingOnGridCreationRequest = {};
5389
+
5390
+ var solarWaterPumpingOnGridConstants = {};
5391
+
5392
+ Object.defineProperty(solarWaterPumpingOnGridConstants, "__esModule", { value: true });
5393
+ solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = void 0;
5394
+ class SolarWaterPumpingOnGridConstants {
5395
+ constructor() {
5396
+ this.emissionFactor = 1.06;
5397
+ this.emissionFactorUnit = "kWh/year";
5398
+ }
5399
+ }
5400
+ solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = SolarWaterPumpingOnGridConstants;
5401
+
5402
+ Object.defineProperty(solarWaterPumpingOnGridCreationRequest, "__esModule", { value: true });
5403
+ solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = void 0;
5404
+ const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
5405
+ class SolarWaterPumpingOnGridCreationRequest {
5406
+ constructor() {
5407
+ this.solarWaterPumpingOnGridConstants = new solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants();
5408
+ }
5409
+ }
5410
+ solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = SolarWaterPumpingOnGridCreationRequest;
5411
+
5412
+ var solarWaterPumpingOnGridCal = {};
5413
+
5414
+ var hasRequiredSolarWaterPumpingOnGridCal;
5415
+
5416
+ function requireSolarWaterPumpingOnGridCal () {
5417
+ if (hasRequiredSolarWaterPumpingOnGridCal) return solarWaterPumpingOnGridCal;
5418
+ hasRequiredSolarWaterPumpingOnGridCal = 1;
5419
+ Object.defineProperty(solarWaterPumpingOnGridCal, "__esModule", { value: true });
5420
+ solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = void 0;
5421
+ const calculator_1 = requireCalculator();
5422
+ var convert = lib;
5423
+ let solarWaterPumpingOnGridCal$1 = class solarWaterPumpingOnGridCal {
5424
+ static calculate(req) {
5425
+ const constants = req.solarWaterPumpingOnGridConstants;
5426
+ const emissionUnitParts = constants.emissionFactorUnit.split('/');
5427
+ if (emissionUnitParts.length != 2) {
5428
+ throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
5429
+ }
5430
+ const measuredUnitParts = req.energyGenerationUnit.split('/');
5431
+ if (measuredUnitParts.length != 3) {
5432
+ throw Error("Invalid measured unit " + req.energyGenerationUnit);
5433
+ }
5434
+ const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
5435
+ return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
5436
+ }
5437
+ };
5438
+ solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = solarWaterPumpingOnGridCal$1;
5439
+ return solarWaterPumpingOnGridCal;
5440
+ }
5441
+
4354
5442
  var hasRequiredCalculator;
4355
5443
 
4356
5444
  function requireCalculator () {
@@ -4359,9 +5447,17 @@ function requireCalculator () {
4359
5447
  Object.defineProperty(calculator, "__esModule", { value: true });
4360
5448
  calculator.calculateCredit = calculator.PRECISION = void 0;
4361
5449
  const agricultureCal_1 = requireAgricultureCal();
5450
+ const soilEnrichmentCal_1 = requireSoilEnrichmentCal();
4362
5451
  const solarCal_1 = requireSolarCal();
4363
5452
  const agricultureCreationRequest_1 = agricultureCreationRequest;
5453
+ const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
5454
+ const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
4364
5455
  const solarCreationRequest_1 = solarCreationRequest;
5456
+ const stovesHousesNamibiaCal_1 = requireStovesHousesNamibiaCal();
5457
+ const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
5458
+ const solarWaterPumpingOffGridCal_1 = requireSolarWaterPumpingOffGridCal();
5459
+ const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
5460
+ const solarWaterPumpingOnGridCal_1 = requireSolarWaterPumpingOnGridCal();
4365
5461
  calculator.PRECISION = 2;
4366
5462
  const calculateCredit = (request) => {
4367
5463
  if (request instanceof agricultureCreationRequest_1.AgricultureCreationRequest) {
@@ -4370,6 +5466,18 @@ function requireCalculator () {
4370
5466
  else if (request instanceof solarCreationRequest_1.SolarCreationRequest) {
4371
5467
  return solarCal_1.SolarCal.calculate(request);
4372
5468
  }
5469
+ else if (request instanceof soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest) {
5470
+ return soilEnrichmentCal_1.SoilEnrichmentCal.calculate(request);
5471
+ }
5472
+ else if (request instanceof stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest) {
5473
+ return stovesHousesNamibiaCal_1.StovesHousesNamibiaCal.calculate(request);
5474
+ }
5475
+ else if (request instanceof solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest) {
5476
+ return solarWaterPumpingOffGridCal_1.solarWaterPumpingOffGridCal.calculate(request);
5477
+ }
5478
+ else if (request instanceof solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest) {
5479
+ return solarWaterPumpingOnGridCal_1.solarWaterPumpingOnGridCal.calculate(request);
5480
+ }
4373
5481
  else {
4374
5482
  throw Error("Not implemented");
4375
5483
  }
@@ -4380,25 +5488,24 @@ function requireCalculator () {
4380
5488
 
4381
5489
  var building_type_enum = {};
4382
5490
 
4383
- (function (exports) {
4384
- Object.defineProperty(exports, "__esModule", { value: true });
4385
- exports.BuildingType = void 0;
4386
- (function (BuildingType) {
4387
- BuildingType["Household"] = "Household";
4388
- BuildingType["HealthCenter"] = "HealthCenter";
4389
- BuildingType["Dispensary"] = "Dispensary";
4390
- BuildingType["School"] = "School";
4391
- BuildingType["PrimarySchool"] = "PrimarySchool";
4392
- BuildingType["SecondarySchool"] = "SecondarySchool";
4393
- BuildingType["PublicAdministration"] = "PublicAdministration";
4394
- BuildingType["TradingPlace"] = "TradingPlace";
4395
- BuildingType["BusStop"] = "BusStop";
4396
- })(exports.BuildingType || (exports.BuildingType = {}));
4397
- } (building_type_enum));
5491
+ Object.defineProperty(building_type_enum, "__esModule", { value: true });
5492
+ building_type_enum.BuildingType = void 0;
5493
+ var BuildingType;
5494
+ (function (BuildingType) {
5495
+ BuildingType["Household"] = "Household";
5496
+ BuildingType["HealthCenter"] = "HealthCenter";
5497
+ BuildingType["Dispensary"] = "Dispensary";
5498
+ BuildingType["School"] = "School";
5499
+ BuildingType["PrimarySchool"] = "PrimarySchool";
5500
+ BuildingType["SecondarySchool"] = "SecondarySchool";
5501
+ BuildingType["PublicAdministration"] = "PublicAdministration";
5502
+ BuildingType["TradingPlace"] = "TradingPlace";
5503
+ BuildingType["BusStop"] = "BusStop";
5504
+ })(BuildingType || (building_type_enum.BuildingType = BuildingType = {}));
4398
5505
 
4399
5506
  (function (exports) {
4400
5507
  Object.defineProperty(exports, "__esModule", { value: true });
4401
- exports.BuildingType = exports.SolarConstants = exports.AgricultureConstants = exports.AgricultureCreationRequest = exports.SolarCreationRequest = exports.calculateCredit = void 0;
5508
+ exports.SolarWaterPumpingOnGridCreationRequest = exports.SolarWaterPumpingOnGridConstants = exports.SolarWaterPumpingOffGridCreationRequest = exports.SolarWaterPumpingOffGridConstants = exports.StovesHousesNamibiaCreationRequest = exports.StovesHousesNamibiaConstants = exports.SoilEnrichmentCreationRequest = exports.SoilEnrichmentConstants = exports.BuildingType = exports.SolarConstants = exports.AgricultureConstants = exports.AgricultureCreationRequest = exports.SolarCreationRequest = exports.calculateCredit = void 0;
4402
5509
  const calculator_1 = requireCalculator();
4403
5510
  Object.defineProperty(exports, "calculateCredit", { enumerable: true, get: function () { return calculator_1.calculateCredit; } });
4404
5511
  const agricultureConstants_1 = agricultureConstants;
@@ -4410,7 +5517,23 @@ var building_type_enum = {};
4410
5517
  const agricultureCreationRequest_1 = agricultureCreationRequest;
4411
5518
  Object.defineProperty(exports, "AgricultureCreationRequest", { enumerable: true, get: function () { return agricultureCreationRequest_1.AgricultureCreationRequest; } });
4412
5519
  const solarCreationRequest_1 = solarCreationRequest;
4413
- Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
5520
+ Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
5521
+ const soilEnrichmentConstants_1 = soilEnrichmentConstants;
5522
+ Object.defineProperty(exports, "SoilEnrichmentConstants", { enumerable: true, get: function () { return soilEnrichmentConstants_1.SoilEnrichmentConstants; } });
5523
+ const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
5524
+ Object.defineProperty(exports, "SoilEnrichmentCreationRequest", { enumerable: true, get: function () { return soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest; } });
5525
+ const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
5526
+ Object.defineProperty(exports, "StovesHousesNamibiaConstants", { enumerable: true, get: function () { return stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants; } });
5527
+ const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
5528
+ Object.defineProperty(exports, "StovesHousesNamibiaCreationRequest", { enumerable: true, get: function () { return stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest; } });
5529
+ const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
5530
+ Object.defineProperty(exports, "SolarWaterPumpingOffGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants; } });
5531
+ const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
5532
+ Object.defineProperty(exports, "SolarWaterPumpingOffGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest; } });
5533
+ const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
5534
+ Object.defineProperty(exports, "SolarWaterPumpingOnGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants; } });
5535
+ const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
5536
+ Object.defineProperty(exports, "SolarWaterPumpingOnGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest; } });
4414
5537
  } (cjs));
4415
5538
 
4416
5539
  var consumerGroupList = [
@@ -5785,15 +6908,14 @@ var ProgrammeManagementComponent = function (props) {
5785
6908
  var _p = React.useState(false), ministryLevelFilter = _p[0], setMinistryLevelFilter = _p[1];
5786
6909
  var userInfoState = useUserContext().userInfoState;
5787
6910
  var ability = useAbilityContext();
5788
- var _q = React.useState(), dataQuery = _q[0], setDataQuery = _q[1];
5789
6911
  var stageObject = enableAddProgramme ? exports.ProgrammeStageMRV : exports.ProgrammeStageR;
5790
6912
  var statusOptions = Object.keys(stageObject).map(function (k, index) { return ({
5791
6913
  label: Object.values(stageObject)[index],
5792
6914
  value: k,
5793
6915
  }); });
5794
- var _r = React.useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _r[0], setSelectedStatus = _r[1];
5795
- var _s = React.useState(false), indeterminate = _s[0], setIndeterminate = _s[1];
5796
- var _t = React.useState(true), checkAll = _t[0], setCheckAll = _t[1];
6916
+ var _q = React.useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _q[0], setSelectedStatus = _q[1];
6917
+ var _r = React.useState(false), indeterminate = _r[0], setIndeterminate = _r[1];
6918
+ var _s = React.useState(true), checkAll = _s[0], setCheckAll = _s[1];
5797
6919
  var onStatusQuery = function (checkedValues) { return __awaiter(void 0, void 0, void 0, function () {
5798
6920
  return __generator(this, function (_a) {
5799
6921
  console.log(checkedValues);
@@ -6036,11 +7158,6 @@ var ProgrammeManagementComponent = function (props) {
6036
7158
  setTableData(response.data);
6037
7159
  setTotalProgramme(response.response.data.total);
6038
7160
  setLoading(false);
6039
- setDataQuery({
6040
- filterAnd: filter,
6041
- filterOr: (filterOr === null || filterOr === void 0 ? void 0 : filterOr.length) > 0 ? filterOr : undefined,
6042
- sort: sort,
6043
- });
6044
7161
  return [3 /*break*/, 4];
6045
7162
  case 3:
6046
7163
  error_1 = _a.sent();
@@ -6098,44 +7215,6 @@ var ProgrammeManagementComponent = function (props) {
6098
7215
  }
6099
7216
  });
6100
7217
  }); };
6101
- var downloadProgrammeData = function () { return __awaiter(void 0, void 0, void 0, function () {
6102
- var response, url, a, error_3;
6103
- var _a;
6104
- return __generator(this, function (_b) {
6105
- switch (_b.label) {
6106
- case 0:
6107
- setLoading(true);
6108
- _b.label = 1;
6109
- case 1:
6110
- _b.trys.push([1, 3, , 4]);
6111
- return [4 /*yield*/, post("national/programme/download", {
6112
- filterAnd: dataQuery.filterAnd,
6113
- filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
6114
- sort: dataQuery.sort,
6115
- })];
6116
- case 2:
6117
- response = _b.sent();
6118
- if (response && response.data) {
6119
- url = response.data.url;
6120
- a = document.createElement('a');
6121
- a.href = url;
6122
- a.download = response.data.csvFile; // Specify the filename for the downloaded file
6123
- document.body.appendChild(a);
6124
- a.click();
6125
- document.body.removeChild(a); // Clean up the created <a> element
6126
- window.URL.revokeObjectURL(url);
6127
- }
6128
- setLoading(false);
6129
- return [3 /*break*/, 4];
6130
- case 3:
6131
- error_3 = _b.sent();
6132
- console.log("Error in downloading programme data", error_3);
6133
- setLoading(false);
6134
- return [3 /*break*/, 4];
6135
- case 4: return [2 /*return*/];
6136
- }
6137
- });
6138
- }); };
6139
7218
  var onSearch = function () { return __awaiter(void 0, void 0, void 0, function () {
6140
7219
  return __generator(this, function (_a) {
6141
7220
  setSearch(searchText);
@@ -6224,10 +7303,7 @@ var ProgrammeManagementComponent = function (props) {
6224
7303
  return e.target.value === ""
6225
7304
  ? setSearch(e.target.value)
6226
7305
  : setSearchText(e.target.value);
6227
- }, onSearch: setSearch, style: { width: 265 } })),
6228
- React.createElement("div", { className: "download-data-btn" },
6229
- React.createElement("a", { onClick: downloadProgrammeData },
6230
- React.createElement(icons.DownloadOutlined, null)))))),
7306
+ }, onSearch: setSearch, style: { width: 265 } }))))),
6231
7307
  React.createElement(antd.Row, null,
6232
7308
  React.createElement(antd.Col, { span: 24 },
6233
7309
  React.createElement("div", { className: "programmeManagement-table-container" },
@@ -13575,7 +14651,6 @@ var UserManagementComponent = function (props) {
13575
14651
  var _r = React.useState({}), actionInfo = _r[0], setActionInfo = _r[1];
13576
14652
  var _s = React.useState(""), errorMsg = _s[0], setErrorMsg = _s[1];
13577
14653
  var _t = React.useState(false), openDeleteConfirmationModal = _t[0], setOpenDeleteConfirmationModal = _t[1];
13578
- var _u = React.useState(), dataQuery = _u[0], setDataQuery = _u[1];
13579
14654
  var ability = useAbilityContext();
13580
14655
  document.addEventListener("mousedown", function (event) {
13581
14656
  var userFilterArea1 = document.querySelector(".filter-bar");
@@ -13931,11 +15006,6 @@ var UserManagementComponent = function (props) {
13931
15006
  setTableData(availableUsers);
13932
15007
  setTotalUser((_b = (_a = response === null || response === void 0 ? void 0 : response.response) === null || _a === void 0 ? void 0 : _a.data) === null || _b === void 0 ? void 0 : _b.total);
13933
15008
  }
13934
- setDataQuery({
13935
- filterAnd: filterAnd(),
13936
- filterOr: filterOr(),
13937
- sort: sort(),
13938
- });
13939
15009
  setLoading(false);
13940
15010
  return [3 /*break*/, 4];
13941
15011
  case 3:
@@ -13953,44 +15023,6 @@ var UserManagementComponent = function (props) {
13953
15023
  }
13954
15024
  });
13955
15025
  }); };
13956
- var downloadUserData = function () { return __awaiter(void 0, void 0, void 0, function () {
13957
- var response, url, a, error_3;
13958
- var _a;
13959
- return __generator(this, function (_b) {
13960
- switch (_b.label) {
13961
- case 0:
13962
- setLoading(true);
13963
- _b.label = 1;
13964
- case 1:
13965
- _b.trys.push([1, 3, , 4]);
13966
- return [4 /*yield*/, post("national/user/download", {
13967
- filterAnd: dataQuery.filterAnd,
13968
- filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
13969
- sort: dataQuery.sort,
13970
- })];
13971
- case 2:
13972
- response = _b.sent();
13973
- if (response && response.data) {
13974
- url = response.data.url;
13975
- a = document.createElement('a');
13976
- a.href = url;
13977
- a.download = response.data.csvFile; // Specify the filename for the downloaded file
13978
- document.body.appendChild(a);
13979
- a.click();
13980
- document.body.removeChild(a); // Clean up the created <a> element
13981
- window.URL.revokeObjectURL(url);
13982
- }
13983
- setLoading(false);
13984
- return [3 /*break*/, 4];
13985
- case 3:
13986
- error_3 = _b.sent();
13987
- console.log("Error in downloading user data", error_3);
13988
- setLoading(false);
13989
- return [3 /*break*/, 4];
13990
- case 4: return [2 /*return*/];
13991
- }
13992
- });
13993
- }); };
13994
15026
  React.useEffect(function () {
13995
15027
  getAllUser();
13996
15028
  }, [
@@ -14113,13 +15145,7 @@ var UserManagementComponent = function (props) {
14113
15145
  React.createElement(icons.FilterOutlined, { style: {
14114
15146
  color: "rgba(58, 53, 65, 0.3)",
14115
15147
  fontSize: "20px",
14116
- } })))),
14117
- React.createElement("div", { className: "download-data-btn" },
14118
- React.createElement("a", { onClick: downloadUserData },
14119
- React.createElement(icons.DownloadOutlined, { style: {
14120
- color: "rgba(58, 53, 65, 0.3)",
14121
- fontSize: "20px",
14122
- } })))))),
15148
+ } }))))))),
14123
15149
  React.createElement(antd.Row, null,
14124
15150
  React.createElement(antd.Col, { span: 24 },
14125
15151
  React.createElement("div", { className: "userManagement-table-container" },
@@ -14736,7 +15762,6 @@ var InvestmentManagementComponent = function (props) {
14736
15762
  var _u = useSettingsContext(), isTransferFrozen = _u.isTransferFrozen; _u.setTransferFrozen;
14737
15763
  var _v = React.useState([]), ministrySectoralScope = _v[0], setMinistrySectoralScope = _v[1];
14738
15764
  var _w = React.useState(false), ministryLevelFilter = _w[0], setMinistryLevelFilter = _w[1];
14739
- var _x = React.useState(), dataQuery = _x[0], setDataQuery = _x[1];
14740
15765
  var onStatusQuery = function (checkedValues) { return __awaiter(void 0, void 0, void 0, function () {
14741
15766
  return __generator(this, function (_a) {
14742
15767
  console.log(checkedValues);
@@ -14833,12 +15858,6 @@ var InvestmentManagementComponent = function (props) {
14833
15858
  console.log(response);
14834
15859
  setTableData(response.data);
14835
15860
  setTotalProgramme(response.response.data.total);
14836
- setDataQuery({
14837
- filterAnd: filter,
14838
- filterOr: dataFilter,
14839
- sort: sort,
14840
- filterBy: filterBy,
14841
- });
14842
15861
  setLoading(false);
14843
15862
  return [3 /*break*/, 4];
14844
15863
  case 3:
@@ -14856,47 +15875,8 @@ var InvestmentManagementComponent = function (props) {
14856
15875
  }
14857
15876
  });
14858
15877
  }); };
14859
- var downloadInvestmentData = function () { return __awaiter(void 0, void 0, void 0, function () {
14860
- var response, url, a, error_2;
14861
- var _a;
14862
- return __generator(this, function (_b) {
14863
- switch (_b.label) {
14864
- case 0:
14865
- setLoading(true);
14866
- _b.label = 1;
14867
- case 1:
14868
- _b.trys.push([1, 3, , 4]);
14869
- return [4 /*yield*/, post("national/programme/investments/download", {
14870
- filterAnd: dataQuery.filterAnd,
14871
- filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
14872
- sort: dataQuery.sort,
14873
- filterBy: dataQuery.filterBy,
14874
- })];
14875
- case 2:
14876
- response = _b.sent();
14877
- if (response && response.data) {
14878
- url = response.data.url;
14879
- a = document.createElement('a');
14880
- a.href = url;
14881
- a.download = response.data.csvFile; // Specify the filename for the downloaded file
14882
- document.body.appendChild(a);
14883
- a.click();
14884
- document.body.removeChild(a); // Clean up the created <a> element
14885
- window.URL.revokeObjectURL(url);
14886
- }
14887
- setLoading(false);
14888
- return [3 /*break*/, 4];
14889
- case 3:
14890
- error_2 = _b.sent();
14891
- console.log("Error in downloading investment data", error_2);
14892
- setLoading(false);
14893
- return [3 /*break*/, 4];
14894
- case 4: return [2 /*return*/];
14895
- }
14896
- });
14897
- }); };
14898
15878
  var getUserDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
14899
- var response, error_3;
15879
+ var response, error_2;
14900
15880
  var _a, _b, _c, _d, _e, _f;
14901
15881
  return __generator(this, function (_g) {
14902
15882
  switch (_g.label) {
@@ -14928,8 +15908,8 @@ var InvestmentManagementComponent = function (props) {
14928
15908
  setLoading(false);
14929
15909
  return [3 /*break*/, 4];
14930
15910
  case 3:
14931
- error_3 = _g.sent();
14932
- console.log("Error in getting users", error_3);
15911
+ error_2 = _g.sent();
15912
+ console.log("Error in getting users", error_2);
14933
15913
  setLoading(false);
14934
15914
  return [3 /*break*/, 4];
14935
15915
  case 4: return [2 /*return*/];
@@ -14960,7 +15940,7 @@ var InvestmentManagementComponent = function (props) {
14960
15940
  ministryLevelFilter,
14961
15941
  ]);
14962
15942
  var handleRequestOk = function (reqId, remarks, endpoint, successText, isRetire) { return __awaiter(void 0, void 0, void 0, function () {
14963
- var response, successMsg, error_4;
15943
+ var response, successMsg, error_3;
14964
15944
  return __generator(this, function (_a) {
14965
15945
  switch (_a.label) {
14966
15946
  case 0:
@@ -14990,10 +15970,10 @@ var InvestmentManagementComponent = function (props) {
14990
15970
  setModalVisible(false);
14991
15971
  return [3 /*break*/, 4];
14992
15972
  case 3:
14993
- error_4 = _a.sent();
14994
- console.log("Error in Cancelling transfer request", error_4);
15973
+ error_3 = _a.sent();
15974
+ console.log("Error in Cancelling transfer request", error_3);
14995
15975
  setLoading(false);
14996
- return [2 /*return*/, error_4.message];
15976
+ return [2 /*return*/, error_3.message];
14997
15977
  case 4: return [2 /*return*/];
14998
15978
  }
14999
15979
  });
@@ -15258,13 +16238,7 @@ var InvestmentManagementComponent = function (props) {
15258
16238
  return e.target.value === ""
15259
16239
  ? setSearch(e.target.value)
15260
16240
  : setSearchText(e.target.value);
15261
- }, onSearch: setSearch, style: { width: 265 } })),
15262
- React.createElement("div", { className: "download-data-btn" },
15263
- React.createElement("a", { onClick: downloadInvestmentData },
15264
- React.createElement(icons.DownloadOutlined, { style: {
15265
- color: "rgba(58, 53, 65, 0.3)",
15266
- fontSize: "20px",
15267
- } })))))),
16241
+ }, onSearch: setSearch, style: { width: 265 } }))))),
15268
16242
  React.createElement(antd.Row, null,
15269
16243
  React.createElement(antd.Col, { span: 24 },
15270
16244
  React.createElement("div", { className: "programmeManagement-table-container" },
@@ -15307,7 +16281,6 @@ var NdcActionManagementComponent = function (props) {
15307
16281
  var _m = React.useState(), dataFilter = _m[0]; _m[1];
15308
16282
  var _o = React.useState([]), ministrySectoralScope = _o[0], setMinistrySectoralScope = _o[1];
15309
16283
  var _p = React.useState(false), ministryLevelFilter = _p[0], setMinistryLevelFilter = _p[1];
15310
- var _q = React.useState(), dataQuery = _q[0], setDataQuery = _q[1];
15311
16284
  var Search = antd.Input.Search;
15312
16285
  var post = useConnection().post;
15313
16286
  var userInfoState = useUserContext().userInfoState;
@@ -15315,7 +16288,7 @@ var NdcActionManagementComponent = function (props) {
15315
16288
  label: addSpaces(Object.values(exports.NdcActionStatus)[index]),
15316
16289
  value: Object.values(exports.NdcActionStatus)[index],
15317
16290
  }); });
15318
- var _r = React.useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _r[0], setSelectedStatus = _r[1];
16291
+ var _q = React.useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _q[0], setSelectedStatus = _q[1];
15319
16292
  var getNdcActionNames = function (action) {
15320
16293
  switch (action) {
15321
16294
  case exports.NdcActionTypes.Adaptation:
@@ -15497,11 +16470,6 @@ var NdcActionManagementComponent = function (props) {
15497
16470
  response = _a.sent();
15498
16471
  setTableData(response.data);
15499
16472
  setTotalProgramme(response.response.data.total);
15500
- setDataQuery({
15501
- filterAnd: filter,
15502
- filterBy: filterBy,
15503
- sort: sort,
15504
- });
15505
16473
  setLoading(false);
15506
16474
  return [3 /*break*/, 4];
15507
16475
  case 3:
@@ -15560,43 +16528,6 @@ var NdcActionManagementComponent = function (props) {
15560
16528
  }
15561
16529
  });
15562
16530
  }); };
15563
- var downloadNdcData = function () { return __awaiter(void 0, void 0, void 0, function () {
15564
- var response, url, a, error_3;
15565
- return __generator(this, function (_a) {
15566
- switch (_a.label) {
15567
- case 0:
15568
- setLoading(true);
15569
- _a.label = 1;
15570
- case 1:
15571
- _a.trys.push([1, 3, , 4]);
15572
- return [4 /*yield*/, post("national/programme/queryNdcActions/download", {
15573
- filterAnd: dataQuery.filterAnd,
15574
- filterBy: dataQuery.filterBy,
15575
- sort: dataQuery.sort,
15576
- })];
15577
- case 2:
15578
- response = _a.sent();
15579
- if (response && response.data) {
15580
- url = response.data.url;
15581
- a = document.createElement('a');
15582
- a.href = url;
15583
- a.download = response.data.csvFile; // Specify the filename for the downloaded file
15584
- document.body.appendChild(a);
15585
- a.click();
15586
- document.body.removeChild(a); // Clean up the created <a> element
15587
- window.URL.revokeObjectURL(url);
15588
- }
15589
- setLoading(false);
15590
- return [3 /*break*/, 4];
15591
- case 3:
15592
- error_3 = _a.sent();
15593
- console.log("Error in downloading NDC Action data", error_3);
15594
- setLoading(false);
15595
- return [3 /*break*/, 4];
15596
- case 4: return [2 /*return*/];
15597
- }
15598
- });
15599
- }); };
15600
16531
  React.useEffect(function () {
15601
16532
  if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === exports.CompanyRole.MINISTRY) {
15602
16533
  getUserDetails();
@@ -15692,13 +16623,7 @@ var NdcActionManagementComponent = function (props) {
15692
16623
  return e.target.value === ""
15693
16624
  ? setSearch(e.target.value)
15694
16625
  : setSearchText(e.target.value);
15695
- }, onSearch: setSearch, style: { width: 265 } })),
15696
- React.createElement("div", { className: "download-data-btn" },
15697
- React.createElement("a", { onClick: downloadNdcData },
15698
- React.createElement(icons.DownloadOutlined, { style: {
15699
- color: "rgba(58, 53, 65, 0.3)",
15700
- fontSize: "20px",
15701
- } })))))),
16626
+ }, onSearch: setSearch, style: { width: 265 } }))))),
15702
16627
  React.createElement(antd.Row, null,
15703
16628
  React.createElement(antd.Col, { span: 24 },
15704
16629
  React.createElement("div", { className: "programmeManagement-table-container" },
@@ -15743,14 +16668,16 @@ var NdcActionDetails = function (props) {
15743
16668
  translator.setDefaultNamespace("ndcAction");
15744
16669
  var t = translator.t;
15745
16670
  var _a = React.useState(), ndcActionType = _a[0], setNdcActionType = _a[1];
15746
- var _b = React.useState(), mitigationType = _b[0], setmitigationType = _b[1];
15747
- var _c = React.useState(""), sector = _c[0], setSector = _c[1];
15748
- var _d = React.useState(ndcActionTypeList), ndcActionTypeListFiltered = _d[0]; _d[1];
15749
- var _e = React.useState([]), checkedOptionsGhgReduced = _e[0], setCheckedOptionsGhgReduced = _e[1];
15750
- var _f = React.useState([]), checkedOptionsGhgAvoided = _f[0], setCheckedOptionsGhgAvoided = _f[1];
15751
- var _g = React.useState(), inputNumberValueGhgAvoidedGas = _g[0], setInputNumberValueGhgAvoidedGas = _g[1];
15752
- var _h = React.useState(), inputNumberValueGhgReducedGas = _h[0], setInputNumberValueGhgReducedGas = _h[1];
15753
- var _j = React.useState(), includedInNAP = _j[0], setIncludedInNAP = _j[1];
16671
+ var _b = React.useState(), methodology = _b[0], setMethodology = _b[1];
16672
+ var _c = React.useState(), mitigationType = _c[0], setmitigationType = _c[1];
16673
+ var _d = React.useState(""), mitigationSubType = _d[0], setMitigationSubType = _d[1];
16674
+ var _e = React.useState(""), sector = _e[0], setSector = _e[1];
16675
+ var _f = React.useState(ndcActionTypeList), ndcActionTypeListFiltered = _f[0]; _f[1];
16676
+ var _g = React.useState([]), checkedOptionsGhgReduced = _g[0], setCheckedOptionsGhgReduced = _g[1];
16677
+ var _h = React.useState([]), checkedOptionsGhgAvoided = _h[0], setCheckedOptionsGhgAvoided = _h[1];
16678
+ var _j = React.useState(), inputNumberValueGhgAvoidedGas = _j[0], setInputNumberValueGhgAvoidedGas = _j[1];
16679
+ var _k = React.useState(), inputNumberValueGhgReducedGas = _k[0], setInputNumberValueGhgReducedGas = _k[1];
16680
+ var _l = React.useState(), includedInNAP = _l[0], setIncludedInNAP = _l[1];
15754
16681
  var form = antd.Form.useForm()[0];
15755
16682
  var maximumImageSize = process.env.REACT_APP_MAXIMUM_FILE_SIZE
15756
16683
  ? parseInt(process.env.REACT_APP_MAXIMUM_FILE_SIZE)
@@ -15770,6 +16697,9 @@ var NdcActionDetails = function (props) {
15770
16697
  if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) {
15771
16698
  setmitigationType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation);
15772
16699
  }
16700
+ if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) {
16701
+ setMitigationSubType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation);
16702
+ }
15773
16703
  if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP) {
15774
16704
  setIncludedInNAP(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP);
15775
16705
  }
@@ -15782,6 +16712,7 @@ var NdcActionDetails = function (props) {
15782
16712
  form.setFieldsValue({
15783
16713
  ndcActionType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action,
15784
16714
  mitigationType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation,
16715
+ mitigationSubType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation,
15785
16716
  energyGeneration: (_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _a === void 0 ? void 0 : _a.energyGeneration,
15786
16717
  energyGenerationUnit: (_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _b === void 0 ? void 0 : _b.energyGenerationUnit,
15787
16718
  consumerGroup: (_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.consumerGroup,
@@ -15859,18 +16790,42 @@ var NdcActionDetails = function (props) {
15859
16790
  if (formValues.ndcActionType === exports.NdcActionTypes.Mitigation ||
15860
16791
  formValues.ndcActionType === exports.NdcActionTypes.CrossCutting) {
15861
16792
  if (formValues.mitigationType === exports.MitigationTypes.AGRICULTURE) {
15862
- creditRequest = new cjs.AgricultureCreationRequest();
15863
- creditRequest.landArea = formValues.eligibleLandArea;
15864
- creditRequest.landAreaUnit = formValues.landAreaUnit;
15865
- creditRequest.duration =
15866
- programmeDetails.endTime - programmeDetails.startTime;
15867
- creditRequest.durationUnit = "s";
16793
+ if (formValues.mitigationSubType === exports.MitigationSubTypes.RICE_CROPS) {
16794
+ creditRequest = new cjs.AgricultureCreationRequest();
16795
+ creditRequest.landArea = formValues.eligibleLandArea;
16796
+ creditRequest.landAreaUnit = formValues.landAreaUnit;
16797
+ creditRequest.duration =
16798
+ programmeDetails.endTime - programmeDetails.startTime;
16799
+ creditRequest.durationUnit = "s";
16800
+ }
16801
+ else if (formValues.mitigationSubType === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
16802
+ creditRequest = new cjs.SoilEnrichmentCreationRequest();
16803
+ creditRequest.weight = formValues.tonnesOnDryBasis;
16804
+ }
15868
16805
  }
15869
16806
  else if (formValues.mitigationType === exports.MitigationTypes.SOLAR) {
15870
- creditRequest = new cjs.SolarCreationRequest();
15871
- creditRequest.buildingType = formValues.consumerGroup;
15872
- creditRequest.energyGeneration = formValues.energyGeneration;
15873
- creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16807
+ if (formValues.mitigationSubType === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
16808
+ creditRequest = new cjs.SolarCreationRequest();
16809
+ creditRequest.buildingType = formValues.consumerGroup;
16810
+ creditRequest.energyGeneration = formValues.energyGeneration;
16811
+ creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16812
+ }
16813
+ else if (formValues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
16814
+ creditRequest = new cjs.SolarWaterPumpingOffGridCreationRequest();
16815
+ creditRequest.energyGeneration = formValues.energyGeneration;
16816
+ creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16817
+ }
16818
+ else if (formValues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
16819
+ creditRequest = new cjs.SolarWaterPumpingOnGridCreationRequest();
16820
+ creditRequest.energyGeneration = formValues.energyGeneration;
16821
+ creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16822
+ }
16823
+ }
16824
+ else if (formValues.mitigationType === exports.MitigationTypes.EE_HOUSEHOLDS
16825
+ && formValues.mitigationSubType === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
16826
+ creditRequest = new cjs.StovesHousesNamibiaCreationRequest();
16827
+ creditRequest.numberOfDays = formValues.numberOfDays;
16828
+ creditRequest.numberOfPeopleInHousehold = formValues.numberOfPeople;
15874
16829
  }
15875
16830
  }
15876
16831
  var creditResponse = cjs.calculateCredit(creditRequest);
@@ -15897,8 +16852,37 @@ var NdcActionDetails = function (props) {
15897
16852
  };
15898
16853
  var handleMitigationTypeChange = function (selectedMitigationType) {
15899
16854
  setmitigationType(selectedMitigationType);
16855
+ form.setFieldsValue({
16856
+ mitigationSubType: "",
16857
+ tonnesOnDryBasis: "",
16858
+ numberOfPeople: "",
16859
+ numberOfDays: "",
16860
+ landAreaUnit: "",
16861
+ eligibleLandArea: "",
16862
+ consumerGroup: "",
16863
+ energyGenerationUnit: "",
16864
+ energyGeneration: "",
16865
+ methodologyEstimatedCredits: 0,
16866
+ });
15900
16867
  calculateMethodologyEstimatedCredits();
15901
16868
  };
16869
+ var handleMitigationSubTypeChange = function (selectedSubMitigationType) {
16870
+ setMitigationSubType(selectedSubMitigationType);
16871
+ form.setFieldsValue({
16872
+ tonnesOnDryBasis: "",
16873
+ numberOfPeople: "",
16874
+ numberOfDays: "",
16875
+ landAreaUnit: "",
16876
+ eligibleLandArea: "",
16877
+ consumerGroup: "",
16878
+ energyGenerationUnit: "",
16879
+ energyGeneration: "",
16880
+ methodologyEstimatedCredits: 0,
16881
+ });
16882
+ };
16883
+ var handleMethodologyChange = function (selectedMethodology) {
16884
+ setMethodology(selectedMethodology);
16885
+ };
15902
16886
  var onNdcActionDetailsFormSubmit = function (ndcActionFormvalues) { return __awaiter(void 0, void 0, void 0, function () {
15903
16887
  var ndcActionDetailObj, enablementReport;
15904
16888
  var _a;
@@ -15909,17 +16893,28 @@ var NdcActionDetails = function (props) {
15909
16893
  ndcActionDetailObj.action = ndcActionFormvalues.ndcActionType;
15910
16894
  if (ndcActionFormvalues.ndcActionType === exports.NdcActionTypes.Mitigation ||
15911
16895
  ndcActionFormvalues.ndcActionType === exports.NdcActionTypes.CrossCutting) {
15912
- ndcActionDetailObj.methodology = t("ndcAction:goldStandard");
16896
+ ndcActionDetailObj.methodology = ndcActionFormvalues.methodology;
15913
16897
  ndcActionDetailObj.typeOfMitigation = ndcActionFormvalues.mitigationType;
15914
- if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE) {
16898
+ ndcActionDetailObj.subTypeOfMitigation = ndcActionFormvalues.mitigationSubType;
16899
+ if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE
16900
+ && ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.RICE_CROPS) {
15915
16901
  ndcActionDetailObj.agricultureProperties = {
15916
16902
  landArea: ndcActionFormvalues.eligibleLandArea
15917
16903
  ? ndcActionFormvalues.eligibleLandArea
15918
16904
  : 0,
15919
16905
  landAreaUnit: ndcActionFormvalues.landAreaUnit,
15920
16906
  };
16907
+ ndcActionDetailObj.creditCalculationProperties = {
16908
+ typeOfMitigation: ndcActionFormvalues.mitigationType,
16909
+ subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16910
+ landArea: ndcActionFormvalues.eligibleLandArea
16911
+ ? ndcActionFormvalues.eligibleLandArea
16912
+ : 0,
16913
+ landAreaUnit: ndcActionFormvalues.landAreaUnit,
16914
+ };
15921
16915
  }
15922
- else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR) {
16916
+ else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR
16917
+ && ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
15923
16918
  ndcActionDetailObj.solarProperties = {
15924
16919
  energyGeneration: ndcActionFormvalues.energyGeneration
15925
16920
  ? ndcActionFormvalues.energyGeneration
@@ -15927,18 +16922,54 @@ var NdcActionDetails = function (props) {
15927
16922
  energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
15928
16923
  consumerGroup: ndcActionFormvalues.consumerGroup,
15929
16924
  };
16925
+ ndcActionDetailObj.creditCalculationProperties = {
16926
+ typeOfMitigation: ndcActionFormvalues.mitigationType,
16927
+ subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16928
+ energyGeneration: ndcActionFormvalues.energyGeneration
16929
+ ? ndcActionFormvalues.energyGeneration
16930
+ : 0,
16931
+ energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16932
+ consumerGroup: ndcActionFormvalues.consumerGroup,
16933
+ };
15930
16934
  }
15931
- if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR ||
15932
- ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE) {
15933
- if (parseFloat(ndcActionFormvalues.methodologyEstimatedCredits) <= 0) {
15934
- antd.message.open({
15935
- type: "error",
15936
- content: t("methodologyEstimatedCreditsInvalid"),
15937
- duration: 4,
15938
- style: { textAlign: "right", marginRight: 15, marginTop: 10 },
15939
- });
15940
- return [2 /*return*/];
15941
- }
16935
+ else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR
16936
+ && ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
16937
+ ndcActionDetailObj.creditCalculationProperties = {
16938
+ typeOfMitigation: ndcActionFormvalues.mitigationType,
16939
+ subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16940
+ energyGeneration: ndcActionFormvalues.energyGeneration
16941
+ ? ndcActionFormvalues.energyGeneration
16942
+ : 0,
16943
+ energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16944
+ };
16945
+ }
16946
+ else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR
16947
+ && ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
16948
+ ndcActionDetailObj.creditCalculationProperties = {
16949
+ typeOfMitigation: ndcActionFormvalues.mitigationType,
16950
+ subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16951
+ energyGeneration: ndcActionFormvalues.energyGeneration
16952
+ ? ndcActionFormvalues.energyGeneration
16953
+ : 0,
16954
+ energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16955
+ };
16956
+ }
16957
+ else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.EE_HOUSEHOLDS
16958
+ && ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
16959
+ ndcActionDetailObj.creditCalculationProperties = {
16960
+ typeOfMitigation: ndcActionFormvalues.mitigationType,
16961
+ subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16962
+ numberOfDays: ndcActionFormvalues.numberOfDays,
16963
+ numberOfPeopleInHousehold: ndcActionFormvalues.numberOfPeople,
16964
+ };
16965
+ }
16966
+ else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE
16967
+ && ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
16968
+ ndcActionDetailObj.creditCalculationProperties = {
16969
+ typeOfMitigation: ndcActionFormvalues.mitigationType,
16970
+ subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16971
+ weight: ndcActionFormvalues.tonnesOnDryBasis,
16972
+ };
15942
16973
  }
15943
16974
  if (ndcActionFormvalues.userEstimatedCredits > programmeDetails.creditEst) {
15944
16975
  antd.message.open({
@@ -16060,24 +17091,36 @@ var NdcActionDetails = function (props) {
16060
17091
  (programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sector) === exports.Sector.Hospitality
16061
17092
  ? mitigationTypeList
16062
17093
  : sectorMitigationTypesListMapped[sector] }))),
16063
- React.createElement(antd.Col, { style: { marginLeft: "38px" } },
16064
- React.createElement(antd.Form.Item, { label: t("ndcAction:methodology"), name: "methodology" },
16065
- React.createElement("span", { style: {
16066
- display: "inline-block",
16067
- border: "1px solid #D9D9D9",
16068
- width: "154px",
16069
- height: "38px",
17094
+ (ndcActionType === exports.NdcActionTypes.Mitigation ||
17095
+ ndcActionType === exports.NdcActionTypes.CrossCutting) &&
17096
+ mitigationType && mitigationSubTypesListMapped[mitigationType] && (React.createElement(antd.Col, { style: { marginLeft: "38px" } },
17097
+ React.createElement(antd.Form.Item, { label: t("ndcAction:mitigationSubType"), name: "mitigationSubType", rules: [
17098
+ {
17099
+ required: true,
17100
+ message: "".concat(t("ndcAction:mitigationSubType"), " ").concat(t("ndcAction:isRequired")),
17101
+ },
17102
+ ] },
17103
+ React.createElement(antd.Select, { size: "large", onChange: handleMitigationSubTypeChange, style: {
17104
+ width: "249px",
16070
17105
  borderRadius: "4px",
16071
- padding: "7px 8px",
16072
- fontSize: "14px",
16073
- backgroundColor: "#F0F0F0",
16074
- color: "#8C8C8C",
16075
- } },
16076
- " ",
16077
- t("ndcAction:goldStandard"))))))),
17106
+ }, options: mitigationSubTypesListMapped[mitigationType], value: mitigationSubType }))))),
17107
+ React.createElement(antd.Row, { justify: "start", align: "middle" },
17108
+ React.createElement(antd.Col, { span: 20 },
17109
+ React.createElement(antd.Form.Item, { label: t("ndcAction:methodology"), name: "methodology", rules: [
17110
+ {
17111
+ required: true,
17112
+ message: "".concat(t("ndcAction:methodology"), " ").concat(t("ndcAction:isRequired")),
17113
+ },
17114
+ ] },
17115
+ React.createElement(antd.Select, { size: "large", onChange: handleMethodologyChange, style: {
17116
+ borderRadius: "4px",
17117
+ }, value: methodology }, methodologyOptions.map(function (option) { return (React.createElement(antd.Select.Option, { key: option, value: option }, option)); }))))))),
16078
17118
  (ndcActionType === exports.NdcActionTypes.Mitigation ||
16079
17119
  ndcActionType === exports.NdcActionTypes.CrossCutting) &&
16080
- mitigationType === exports.MitigationTypes.SOLAR && (React.createElement(React.Fragment, null,
17120
+ mitigationType === exports.MitigationTypes.SOLAR &&
17121
+ (mitigationSubType === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV ||
17122
+ mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
17123
+ mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) && (React.createElement(React.Fragment, null,
16081
17124
  React.createElement(antd.Row, { justify: "start", align: "middle" },
16082
17125
  React.createElement(antd.Col, null,
16083
17126
  React.createElement(antd.Form.Item, { label: t("ndcAction:energyGeneration"), rules: [
@@ -16108,16 +17151,17 @@ var NdcActionDetails = function (props) {
16108
17151
  },
16109
17152
  ] },
16110
17153
  React.createElement(antd.Select, { size: "large", style: { width: 442 }, options: energyGenerationUnitList, onChange: calculateMethodologyEstimatedCredits })))),
16111
- React.createElement(antd.Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
17154
+ mitigationSubType === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV && (React.createElement(antd.Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
16112
17155
  {
16113
17156
  required: true,
16114
17157
  message: "".concat(t("ndcAction:consumerGroup"), " ").concat(t("ndcAction:isRequired")),
16115
17158
  },
16116
17159
  ] },
16117
- React.createElement(antd.Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList })))),
17160
+ React.createElement(antd.Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList }))))),
16118
17161
  (ndcActionType === exports.NdcActionTypes.Mitigation ||
16119
17162
  ndcActionType === exports.NdcActionTypes.CrossCutting) &&
16120
- mitigationType === exports.MitigationTypes.AGRICULTURE && (React.createElement(antd.Row, { justify: "start", align: "middle" },
17163
+ mitigationType === exports.MitigationTypes.AGRICULTURE &&
17164
+ mitigationSubType === exports.MitigationSubTypes.RICE_CROPS && (React.createElement(antd.Row, { justify: "start", align: "middle" },
16121
17165
  React.createElement(antd.Col, null,
16122
17166
  React.createElement(antd.Form.Item, { label: t("ndcAction:eligibleLandArea"), name: "eligibleLandArea", rules: [
16123
17167
  {
@@ -16147,6 +17191,78 @@ var NdcActionDetails = function (props) {
16147
17191
  },
16148
17192
  ] },
16149
17193
  React.createElement(antd.Select, { onChange: calculateMethodologyEstimatedCredits, size: "large", style: { width: 442 }, options: landAreaUnitList }))))),
17194
+ (ndcActionType === exports.NdcActionTypes.Mitigation ||
17195
+ ndcActionType === exports.NdcActionTypes.CrossCutting) &&
17196
+ mitigationType === exports.MitigationTypes.AGRICULTURE &&
17197
+ mitigationSubType === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR && (React.createElement(antd.Row, { justify: "start", align: "middle" },
17198
+ React.createElement(antd.Col, null,
17199
+ React.createElement(antd.Form.Item, { label: t("ndcAction:tonnesOnDryBasis"), name: "tonnesOnDryBasis", rules: [
17200
+ {
17201
+ required: true,
17202
+ message: "",
17203
+ },
17204
+ {
17205
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
17206
+ return __generator(this, function (_a) {
17207
+ if (String(value).trim() === "" ||
17208
+ String(value).trim() === undefined ||
17209
+ value === null ||
17210
+ value === undefined) {
17211
+ throw new Error("".concat(t("ndcAction:tonnesOnDryBasis"), " ").concat(t("ndcAction:isRequired")));
17212
+ }
17213
+ return [2 /*return*/];
17214
+ });
17215
+ }); },
17216
+ },
17217
+ ] },
17218
+ React.createElement(antd.InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))))),
17219
+ (ndcActionType === exports.NdcActionTypes.Mitigation ||
17220
+ ndcActionType === exports.NdcActionTypes.CrossCutting) &&
17221
+ mitigationType === exports.MitigationTypes.EE_HOUSEHOLDS &&
17222
+ mitigationSubType === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA && (React.createElement(React.Fragment, null,
17223
+ React.createElement(antd.Row, { justify: "start", align: "middle" },
17224
+ React.createElement(antd.Col, null,
17225
+ React.createElement(antd.Form.Item, { label: t("ndcAction:numberOfDays"), rules: [
17226
+ {
17227
+ required: true,
17228
+ message: "",
17229
+ },
17230
+ {
17231
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
17232
+ return __generator(this, function (_a) {
17233
+ if (String(value).trim() === "" ||
17234
+ String(value).trim() === undefined ||
17235
+ value === null ||
17236
+ value === undefined) {
17237
+ throw new Error("".concat(t("ndcAction:numberOfDays"), " ").concat(t("ndcAction:isRequired")));
17238
+ }
17239
+ return [2 /*return*/];
17240
+ });
17241
+ }); },
17242
+ },
17243
+ ], name: "numberOfDays" },
17244
+ React.createElement(antd.InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))),
17245
+ React.createElement(antd.Col, { style: { marginLeft: "38px" } },
17246
+ React.createElement(antd.Form.Item, { label: t("ndcAction:numberOfPeople"), rules: [
17247
+ {
17248
+ required: true,
17249
+ message: "",
17250
+ },
17251
+ {
17252
+ validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
17253
+ return __generator(this, function (_a) {
17254
+ if (String(value).trim() === "" ||
17255
+ String(value).trim() === undefined ||
17256
+ value === null ||
17257
+ value === undefined) {
17258
+ throw new Error("".concat(t("ndcAction:numberOfPeople"), " ").concat(t("ndcAction:isRequired")));
17259
+ }
17260
+ return [2 /*return*/];
17261
+ });
17262
+ }); },
17263
+ },
17264
+ ], name: "numberOfPeople" },
17265
+ React.createElement(antd.InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits })))))),
16150
17266
  (ndcActionType === exports.NdcActionTypes.Mitigation ||
16151
17267
  ndcActionType === exports.NdcActionTypes.CrossCutting) && (React.createElement(antd.Row, { justify: "start", align: "middle" },
16152
17268
  React.createElement(antd.Col, null,
@@ -19093,26 +20209,55 @@ var NdcActionViewComponent = function (props) {
19093
20209
  _a[t("ndcAction:viewCurrentStatus")] = (React.createElement(antd.Tag, { className: "clickable", color: getNdcStatusTagType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status) }, addSpaces(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status))),
19094
20210
  _a);
19095
20211
  var getNdcActionMitigationDetails = function () {
19096
- var _a, _b, _c, _d, _e;
20212
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
19097
20213
  var mitigationDetails = {};
19098
20214
  mitigationTypeList === null || mitigationTypeList === void 0 ? void 0 : mitigationTypeList.map(function (type) {
19099
20215
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === type.value) {
19100
20216
  mitigationDetails[t("ndcAction:viewMitigationType")] = type.label;
19101
20217
  }
19102
20218
  });
20219
+ mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.map(function (type) {
20220
+ if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === type.value) {
20221
+ mitigationDetails[t("ndcAction:viewMitigationSubType")] = type.label;
20222
+ }
20223
+ });
19103
20224
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.AGRICULTURE &&
20225
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.RICE_CROPS &&
19104
20226
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties)) {
19105
20227
  mitigationDetails[t("ndcAction:viewMitigationLandArea")] =
19106
20228
  addCommSep((_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _a === void 0 ? void 0 : _a.landArea) +
19107
20229
  ((_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _b === void 0 ? void 0 : _b.landAreaUnit);
19108
20230
  }
20231
+ if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.AGRICULTURE &&
20232
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR &&
20233
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
20234
+ mitigationDetails[t("ndcAction:viewMitigationWeight")] =
20235
+ addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _c === void 0 ? void 0 : _c.weight) + 't';
20236
+ }
19109
20237
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.SOLAR &&
20238
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV &&
19110
20239
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties)) {
19111
20240
  mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
19112
- addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.energyGeneration) +
19113
- ((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGenerationUnit);
20241
+ addCommSep((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGeneration) +
20242
+ ((_e = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _e === void 0 ? void 0 : _e.energyGenerationUnit);
19114
20243
  mitigationDetails[t("ndcAction:viewMitigationConsumerGroup")] =
19115
- (_e = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _e === void 0 ? void 0 : _e.consumerGroup;
20244
+ (_f = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _f === void 0 ? void 0 : _f.consumerGroup;
20245
+ }
20246
+ if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.SOLAR &&
20247
+ ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
20248
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) &&
20249
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
20250
+ mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
20251
+ addCommSep((_g = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _g === void 0 ? void 0 : _g.energyGeneration) +
20252
+ ((_h = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _h === void 0 ? void 0 : _h.energyGenerationUnit);
20253
+ }
20254
+ if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.EE_HOUSEHOLDS &&
20255
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA &&
20256
+ (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
20257
+ mitigationDetails[t("ndcAction:viewMitigationNoOfDays")] =
20258
+ (_j = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _j === void 0 ? void 0 : _j.numberOfDays;
20259
+ mitigationDetails[t("ndcAction:viewMitigationNoOfPeople")] =
20260
+ (_k = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _k === void 0 ? void 0 : _k.numberOfPeopleInHousehold;
19116
20261
  }
19117
20262
  if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.ndcFinancing) {
19118
20263
  mitigationDetails[t("ndcAction:viewMitigationUserEstimatedCredits")] =
@@ -25300,6 +26445,9 @@ exports.getStatusTagType = getStatusTagType;
25300
26445
  exports.getTransferStageTagType = getTransferStageTagType;
25301
26446
  exports.isBase64 = isBase64;
25302
26447
  exports.landAreaUnitList = landAreaUnitList;
26448
+ exports.methodologyOptions = methodologyOptions;
26449
+ exports.mitigationSubTypeList = mitigationSubTypeList;
26450
+ exports.mitigationSubTypesListMapped = mitigationSubTypesListMapped;
25303
26451
  exports.mitigationTypeList = mitigationTypeList;
25304
26452
  exports.ndcActionTypeList = ndcActionTypeList;
25305
26453
  exports.sectorMitigationTypesListMapped = sectorMitigationTypesListMapped;