@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 +1485 -337
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/ndcAction.definitions.d.ts +15 -0
- package/dist/cjs/types/Definitions/Enums/mitigation.types.enum.d.ts +171 -1
- package/dist/esm/index.js +1484 -339
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/ndcAction.definitions.d.ts +15 -0
- package/dist/esm/types/Definitions/Enums/mitigation.types.enum.d.ts +171 -1
- package/dist/index.d.ts +186 -2
- package/package.json +2 -2
package/dist/esm/index.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PlusOutlined, FilterOutlined,
|
1
|
+
import { PlusOutlined, FilterOutlined, BankOutlined, SafetyOutlined, AuditOutlined, ExperimentOutlined, UploadOutlined, UserOutlined, MinusCircleOutlined, StarOutlined, ToolOutlined, EyeOutlined, SearchOutlined, EllipsisOutlined, EditOutlined, DeleteOutlined, FileAddOutlined, CheckCircleOutlined, ExclamationCircleOutlined, LinkOutlined, CaretDownOutlined, EyeInvisibleOutlined, GlobalOutlined, FlagOutlined, LineChartOutlined, LikeOutlined, DislikeOutlined } from '@ant-design/icons';
|
2
2
|
import { Input, Radio, Space, Row, Col, Button, Dropdown, Table, Empty, message, Form, Steps, Upload, Tooltip, Select, Modal, Alert, Skeleton, Card, Tag, Checkbox, DatePicker, InputNumber, Popover, List, Typography, Spin, Tabs, Progress } from 'antd';
|
3
3
|
import React, { useState, useEffect, useRef } from 'react';
|
4
4
|
import { DateTime } from 'luxon';
|
@@ -504,7 +504,6 @@ var CompanyManagementComponent = function (props) {
|
|
504
504
|
var _j = useState("All"), filterByOrganisationType = _j[0], setFilterByOrganisationType = _j[1];
|
505
505
|
var _k = useState(""), sortOrder = _k[0], setSortOrder = _k[1];
|
506
506
|
var _l = useState(""), sortField = _l[0], setSortField = _l[1];
|
507
|
-
var _m = useState(), dataQuery = _m[0], setDataQuery = _m[1];
|
508
507
|
var ability = useAbilityContext();
|
509
508
|
document.addEventListener("mousedown", function (event) {
|
510
509
|
var organisationFilterArea1 = document.querySelector(".filter-bar");
|
@@ -710,11 +709,6 @@ var CompanyManagementComponent = function (props) {
|
|
710
709
|
setTableData(availableCompanies);
|
711
710
|
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);
|
712
711
|
}
|
713
|
-
setDataQuery({
|
714
|
-
filterAnd: filterAnd(),
|
715
|
-
filterOr: filterOr(),
|
716
|
-
sort: sort(),
|
717
|
-
});
|
718
712
|
setLoading(false);
|
719
713
|
return [3 /*break*/, 4];
|
720
714
|
case 3:
|
@@ -731,44 +725,6 @@ var CompanyManagementComponent = function (props) {
|
|
731
725
|
}
|
732
726
|
});
|
733
727
|
}); };
|
734
|
-
var downloadCompanyData = function () { return __awaiter(void 0, void 0, void 0, function () {
|
735
|
-
var response, url, a, error_2;
|
736
|
-
var _a;
|
737
|
-
return __generator(this, function (_b) {
|
738
|
-
switch (_b.label) {
|
739
|
-
case 0:
|
740
|
-
setLoading(true);
|
741
|
-
_b.label = 1;
|
742
|
-
case 1:
|
743
|
-
_b.trys.push([1, 3, , 4]);
|
744
|
-
return [4 /*yield*/, post("national/organisation/download", {
|
745
|
-
filterAnd: dataQuery.filterAnd,
|
746
|
-
filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
|
747
|
-
sort: dataQuery.sort,
|
748
|
-
})];
|
749
|
-
case 2:
|
750
|
-
response = _b.sent();
|
751
|
-
if (response && response.data) {
|
752
|
-
url = response.data.url;
|
753
|
-
a = document.createElement('a');
|
754
|
-
a.href = url;
|
755
|
-
a.download = response.data.csvFile; // Specify the filename for the downloaded file
|
756
|
-
document.body.appendChild(a);
|
757
|
-
a.click();
|
758
|
-
document.body.removeChild(a); // Clean up the created <a> element
|
759
|
-
window.URL.revokeObjectURL(url);
|
760
|
-
}
|
761
|
-
setLoading(false);
|
762
|
-
return [3 /*break*/, 4];
|
763
|
-
case 3:
|
764
|
-
error_2 = _b.sent();
|
765
|
-
console.log("Error in downloading company data", error_2);
|
766
|
-
setLoading(false);
|
767
|
-
return [3 /*break*/, 4];
|
768
|
-
case 4: return [2 /*return*/];
|
769
|
-
}
|
770
|
-
});
|
771
|
-
}); };
|
772
728
|
useEffect(function () {
|
773
729
|
getAllCompany();
|
774
730
|
}, [
|
@@ -856,13 +812,7 @@ var CompanyManagementComponent = function (props) {
|
|
856
812
|
React.createElement(FilterOutlined, { style: {
|
857
813
|
color: "rgba(58, 53, 65, 0.3)",
|
858
814
|
fontSize: "20px",
|
859
|
-
} })))),
|
860
|
-
React.createElement("div", { className: "download-data-btn" },
|
861
|
-
React.createElement("a", { onClick: downloadCompanyData },
|
862
|
-
React.createElement(DownloadOutlined, { style: {
|
863
|
-
color: "rgba(58, 53, 65, 0.3)",
|
864
|
-
fontSize: "20px",
|
865
|
-
} })))))),
|
815
|
+
} }))))))),
|
866
816
|
React.createElement(Row, null,
|
867
817
|
React.createElement(Col, { span: 24 },
|
868
818
|
React.createElement("div", { className: "userManagement-table-container" },
|
@@ -887,7 +837,7 @@ var CompanyManagementComponent = function (props) {
|
|
887
837
|
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";
|
888
838
|
styleInject(css_248z$q);
|
889
839
|
|
890
|
-
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";
|
840
|
+
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";
|
891
841
|
styleInject(css_248z$p);
|
892
842
|
|
893
843
|
var UserManagementColumns;
|
@@ -986,7 +936,172 @@ var MitigationTypes;
|
|
986
936
|
MitigationTypes["SOLAR"] = "Solar";
|
987
937
|
MitigationTypes["TRANSPORT"] = "Transport";
|
988
938
|
MitigationTypes["WIND"] = "Wind";
|
939
|
+
MitigationTypes["CO2_USAGE"] = "CO2Usage";
|
940
|
+
MitigationTypes["TIDAL"] = "Tidal";
|
989
941
|
})(MitigationTypes || (MitigationTypes = {}));
|
942
|
+
var MitigationSubTypes;
|
943
|
+
(function (MitigationSubTypes) {
|
944
|
+
MitigationSubTypes["IRRIGATION"] = "Irrigation";
|
945
|
+
MitigationSubTypes["ENERGY_EFFICIENCY"] = "EnergyEfficiency";
|
946
|
+
MitigationSubTypes["ALTERNATIVE_FERTILISER"] = "AlternativeFertilisers";
|
947
|
+
MitigationSubTypes["NO_TILLAGE"] = "NoTillage";
|
948
|
+
MitigationSubTypes["SOIL_ENRICHMENT_BIOCHAR"] = "SoilEnrichmentBiochar";
|
949
|
+
MitigationSubTypes["RICE_CROPS"] = "RiceCrops";
|
950
|
+
MitigationSubTypes["BAGASSE_POWER"] = "BagassePower";
|
951
|
+
MitigationSubTypes["PALM_OIL_SOLID_WASTE"] = "Palm oil solid waste";
|
952
|
+
MitigationSubTypes["AGRICULTURAL_RESIDUES_OTHER_KINDS"] = "AgriculturalResiduesOtherKinds";
|
953
|
+
MitigationSubTypes["AGRICULTURAL_RESIDUES_RICE_HUSK"] = "AgriculturalResiduesRiceHusk";
|
954
|
+
MitigationSubTypes["AGRICULTURAL_RESIDUES_MUSTARD_CROP"] = "AgriculturalResiduesMustardCrop";
|
955
|
+
MitigationSubTypes["AGRICULTURAL_RESIDUES_POULTRY_LITTER"] = "AgriculturalResiduesPoultryLitter";
|
956
|
+
MitigationSubTypes["BLACK_LIQUOR"] = "BlackLiquor";
|
957
|
+
MitigationSubTypes["FOREST_RESIDUES_SAWMILL_WASTE"] = "ForestResiduesSawmillWaste";
|
958
|
+
MitigationSubTypes["FOREST_RESIDUES_OTHER"] = "ForestResiduesOther";
|
959
|
+
MitigationSubTypes["FOREST_BIOMASS"] = "ForestBiomass";
|
960
|
+
MitigationSubTypes["INDUSTRIAL_WASTE"] = "IndustrialWaste";
|
961
|
+
MitigationSubTypes["GASIFICATION_OF_BIOMASS"] = "GasificationOfBiomass";
|
962
|
+
MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS"] = "SwitchFromFossilFuelToPipedBiogas";
|
963
|
+
MitigationSubTypes["BIOMASS_BRIQUETTES_OR_PELLETS"] = "BiomassBriquettesOrPellets";
|
964
|
+
MitigationSubTypes["BIODIESEL"] = "Biodiesel";
|
965
|
+
MitigationSubTypes["BIODIESEL_FROM_WASTE_OIL"] = "BiodieselFromWasteOil";
|
966
|
+
MitigationSubTypes["ETHANOL"] = "Ethanol";
|
967
|
+
MitigationSubTypes["CLINKER_REPLACEMENT"] = "ClinkerReplacement";
|
968
|
+
MitigationSubTypes["COAL_MINE_METHANE"] = "CoalMineMethane";
|
969
|
+
MitigationSubTypes["COAL_BED_METHANE"] = "CoalBedMethane";
|
970
|
+
MitigationSubTypes["CMM_VENTILATION_AIR_METHANE"] = "CMMVentilationAirMethane";
|
971
|
+
MitigationSubTypes["VENTILATION_AIR_METHANE"] = "VentilationAirMethane";
|
972
|
+
MitigationSubTypes["LIGHTING"] = "Lighting";
|
973
|
+
MitigationSubTypes["SOLAR_LAMPS"] = "SolarLamps";
|
974
|
+
MitigationSubTypes["STOVES"] = "Stoves";
|
975
|
+
MitigationSubTypes["STOVES_SCHOOL_IN_GHANA"] = "StovesSchoolInGhana";
|
976
|
+
MitigationSubTypes["STOVES_HOUSES_IN_NAMIBIA"] = "StovesHousesInNamibia";
|
977
|
+
MitigationSubTypes["LIGHTING_INSULATION_SOLAR"] = "LightingInsulationSolar";
|
978
|
+
MitigationSubTypes["APPLIANCES"] = "Appliances";
|
979
|
+
MitigationSubTypes["CHEMICALS"] = "Chemicals";
|
980
|
+
MitigationSubTypes["PETROCHEMICALS"] = "Petrochemicals";
|
981
|
+
MitigationSubTypes["PAPER"] = "Paper";
|
982
|
+
MitigationSubTypes["CEMENT"] = "Cement";
|
983
|
+
MitigationSubTypes["IRON_STEEL"] = "IronSteel";
|
984
|
+
MitigationSubTypes["MACHINERY"] = "Machinery";
|
985
|
+
MitigationSubTypes["TEXTILES"] = "Textiles";
|
986
|
+
MitigationSubTypes["ELECTRONICS"] = "Electronics";
|
987
|
+
MitigationSubTypes["FOOD"] = "Food";
|
988
|
+
MitigationSubTypes["BUILDING_MATERIALS"] = "BuildingMaterials";
|
989
|
+
MitigationSubTypes["GLASS"] = "Glass";
|
990
|
+
MitigationSubTypes["NON_FERROUS_METALS"] = "NonFerrousMetals";
|
991
|
+
MitigationSubTypes["COKE_OVEN"] = "CokeOven";
|
992
|
+
MitigationSubTypes["Mining"] = "Mining";
|
993
|
+
MitigationSubTypes["CONSTRUCTION"] = "Construction";
|
994
|
+
MitigationSubTypes["METAL_PRODUCTS"] = "MetalProducts";
|
995
|
+
MitigationSubTypes["WOOD"] = "Wood";
|
996
|
+
MitigationSubTypes["RECYCLING"] = "Recycling";
|
997
|
+
MitigationSubTypes["CHEMICALS_HEAT"] = "ChemicalsHeat";
|
998
|
+
MitigationSubTypes["PETROCHEMICALS_HEAT"] = "PetrochemicalsHeat";
|
999
|
+
MitigationSubTypes["CARBON_BLACK_GAS"] = "CarbonBlackGas";
|
1000
|
+
MitigationSubTypes["CEMENT_HEAT"] = "CementHeat";
|
1001
|
+
MitigationSubTypes["IRON_STEEL_HEAT"] = "IronSteelHeat";
|
1002
|
+
MitigationSubTypes["BUILDING_MATERIALS_HEAT"] = "BuildingMaterialsHeat";
|
1003
|
+
MitigationSubTypes["GLASS_HEAT"] = "GlassHeat";
|
1004
|
+
MitigationSubTypes["NON_FERROUS_METALS_HEAT"] = "NonFerrousMetalsHeat";
|
1005
|
+
MitigationSubTypes["COKE_OVEN_GAS"] = "CokeOvenGas";
|
1006
|
+
MitigationSubTypes["HVAC_LIGHTING"] = "HvacLighting";
|
1007
|
+
MitigationSubTypes["AIR_CONDITIONING"] = "AirConditioning";
|
1008
|
+
MitigationSubTypes["EE_NEW_BUILDINGS"] = "EeNewBuildings";
|
1009
|
+
MitigationSubTypes["STREET_LIGHTING"] = "StreetLighting";
|
1010
|
+
MitigationSubTypes["LIGHTING_IN_SERVICE"] = "LightingInService";
|
1011
|
+
MitigationSubTypes["WATER_PUMPING"] = "WaterPumping";
|
1012
|
+
MitigationSubTypes["WATER_PURIFICATION"] = "WaterPurification";
|
1013
|
+
MitigationSubTypes["EE_PUBLIC_STOVES"] = "EePublicStoves";
|
1014
|
+
MitigationSubTypes["EE_PUBLIC_BUILDINGS"] = "EePublicBuildings";
|
1015
|
+
MitigationSubTypes["EE_COMMERCIAL_BUILDINGS"] = "EeCommercialBuildings";
|
1016
|
+
MitigationSubTypes["SINGLE_CYCLE_TO_COMBINED_CYCLE"] = "SingleCycleToCombinedCycle";
|
1017
|
+
MitigationSubTypes["COGENERATION"] = "Cogeneration";
|
1018
|
+
MitigationSubTypes["CO_FIRING_WITH_BIOMASS"] = "CoFiringWithBiomass";
|
1019
|
+
MitigationSubTypes["HIGHER_EFFICIENCY_COAL_POWER"] = "HigherEfficiencyCoalPower";
|
1020
|
+
MitigationSubTypes["HIGHER_EFFICIENCY_OIL_POWER"] = "HigherEfficiencyOilPower";
|
1021
|
+
MitigationSubTypes["HIGHER_EFFICIENCY_USING_WASTE_HEAT"] = "HigherEfficiencyUsingWasteHeat";
|
1022
|
+
MitigationSubTypes["POWER_PLANT_REHABILITATION"] = "PowerPlantRehabilitation";
|
1023
|
+
MitigationSubTypes["HIGHER_EFFICIENCY_STEAM_BOILER"] = "HigherEfficiencySteamBoiler";
|
1024
|
+
MitigationSubTypes["DISTRICT_HEATING"] = "DistrictHeating";
|
1025
|
+
MitigationSubTypes["REPLACEMENT_OF_DISTRICT_HEATING_BOILERS"] = "ReplacementOfDistrictHeatingBoilers";
|
1026
|
+
MitigationSubTypes["CONNECTION_OF_ISOLATED_GRID"] = "ConnectionOfIsolatedGrid";
|
1027
|
+
MitigationSubTypes["DISTRICT_COOLING"] = "DistrictCooling";
|
1028
|
+
MitigationSubTypes["EFFICIENT_ELECTRICITY_DISTRIBUTION"] = "EfficientElectricityDistribution";
|
1029
|
+
MitigationSubTypes["AFFORESTATION"] = "Afforestation";
|
1030
|
+
MitigationSubTypes["MANGROVES"] = "Mangroves";
|
1031
|
+
MitigationSubTypes["AGROFORESTRY"] = "Agroforestry";
|
1032
|
+
MitigationSubTypes["REFORESTATION"] = "Reforestation";
|
1033
|
+
MitigationSubTypes["COAL_TO_NATURAL_GAS"] = "CoalToNaturalGas";
|
1034
|
+
MitigationSubTypes["COAL_TO_OIL"] = "CoalToOil";
|
1035
|
+
MitigationSubTypes["LIGNITE_TO_NATURAL_GAS"] = "LigniteToNaturalGas";
|
1036
|
+
MitigationSubTypes["NEW_NATURAL_GAS_PLANT"] = "NewNaturalGasPlant";
|
1037
|
+
MitigationSubTypes["NEW_NATURAL_GAS_PLANT_USING_LNG"] = "NewNaturalGasPlantUsingLng";
|
1038
|
+
MitigationSubTypes["OIL_TO_ELECTRICITY"] = "OilToElectricity";
|
1039
|
+
MitigationSubTypes["OIL_TO_LPG"] = "OilToLpg";
|
1040
|
+
MitigationSubTypes["OIL_TO_NATURAL_GAS"] = "OilToNaturalGas";
|
1041
|
+
MitigationSubTypes["OIL_FIELD_FLARING_REDUCTION"] = "OilFieldFlaringReduction";
|
1042
|
+
MitigationSubTypes["OIL_AND_GAS_PROCESSING_FLARING"] = "OilAndGasProcessingFlaring";
|
1043
|
+
MitigationSubTypes["NATURAL_GAS_PIPELINES"] = "NaturalGasPipelines";
|
1044
|
+
MitigationSubTypes["NON_HYDROCARBON_MINING"] = "NonHydrocarbonMining";
|
1045
|
+
MitigationSubTypes["SPONTANEOUSLY_IGNITION_OF_COAL_PILES"] = "SpontaneouslyIgnitionOfCoalPiles";
|
1046
|
+
MitigationSubTypes["CHARCOAL_PRODUCTION"] = "CharcoalProduction";
|
1047
|
+
MitigationSubTypes["GEOTHERMAL_ELECTRICITY"] = "GeothermalElectricity";
|
1048
|
+
MitigationSubTypes["GEOTHERMAL_HEATING"] = "GeothermalHeating";
|
1049
|
+
MitigationSubTypes["HFC23"] = "Hfc23";
|
1050
|
+
MitigationSubTypes["HFC134A"] = "Hfc134A";
|
1051
|
+
MitigationSubTypes["PFCS"] = "Pfcs";
|
1052
|
+
MitigationSubTypes["SF6"] = "Sf6";
|
1053
|
+
MitigationSubTypes["RUN_OF_RIVER"] = "RunOfRiver";
|
1054
|
+
MitigationSubTypes["EXISTING_DAM"] = "ExistingDam";
|
1055
|
+
MitigationSubTypes["HIGHER_EFFICIENCY_HYDRO_POWER"] = "HigherEfficiencyHydroPower";
|
1056
|
+
MitigationSubTypes["NEW_DAM"] = "NewDam";
|
1057
|
+
MitigationSubTypes["LANDFILL_FLARING"] = "LandfillFlaring";
|
1058
|
+
MitigationSubTypes["LANDFILL_POWER"] = "LandfillPower";
|
1059
|
+
MitigationSubTypes["COMBUSTION_OF_MSW"] = "CombustionOfMsw";
|
1060
|
+
MitigationSubTypes["GASIFICATION_OF_MSW"] = "GasificationOfMsw";
|
1061
|
+
MitigationSubTypes["BIOGAS_FROM_MSW"] = "BiogasFromMsw";
|
1062
|
+
MitigationSubTypes["LANDFILL_AERATION"] = "LandfillAeration";
|
1063
|
+
MitigationSubTypes["INTEGRATED_SOLID_WASTE_MANAGEMENT"] = "IntegratedSolidWasteManagement";
|
1064
|
+
MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS"] = "SwitchFromFossilFuelToPipedLandfillGas";
|
1065
|
+
MitigationSubTypes["LANDFILL_COMPOSTING"] = "LandfillComposting";
|
1066
|
+
MitigationSubTypes["MANURE"] = "Manure";
|
1067
|
+
MitigationSubTypes["DOMESTIC_MANURE"] = "DomesticManure";
|
1068
|
+
MitigationSubTypes["WASTE_WATER"] = "WasteWater";
|
1069
|
+
MitigationSubTypes["INDUSTRIAL_SOLID_WASTE"] = "IndustrialSolidWaste";
|
1070
|
+
MitigationSubTypes["PALM_OIL_WASTE"] = "PalmOilWaste";
|
1071
|
+
MitigationSubTypes["AEROBIC_TREATMENT_OF_WASTE_WATER"] = "AerobicTreatmentOfWasteWater";
|
1072
|
+
MitigationSubTypes["COMPOSTING"] = "Composting";
|
1073
|
+
MitigationSubTypes["ADIPIC_ACID"] = "AdipicAcid";
|
1074
|
+
MitigationSubTypes["NITRIC_ACID"] = "NitricAcid";
|
1075
|
+
MitigationSubTypes["CAPROLACTAM"] = "Caprolactam";
|
1076
|
+
MitigationSubTypes["SOLAR_PHOTOVOLTAICS_PV"] = "SolarPhotovoltaicsPV";
|
1077
|
+
MitigationSubTypes["SOLAR_WATER_PUMPING_OFF_GRID"] = "SolarWaterPumpingOffGrid";
|
1078
|
+
MitigationSubTypes["SOLAR_WATER_PUMPING_ON_GRID"] = "SolarWaterPumpingOnGrid";
|
1079
|
+
MitigationSubTypes["SOLAR_PV_WATER_DISINFECTION"] = "SolarPVWaterDisinfection";
|
1080
|
+
MitigationSubTypes["SOLAR_THERMAL_POWER"] = "SolarThermalPower";
|
1081
|
+
MitigationSubTypes["SOLAR_THERMAL_HEAT"] = "SolarThermalHeat";
|
1082
|
+
MitigationSubTypes["SOLAR_WATER_HEATING"] = "SolarWaterHeating";
|
1083
|
+
MitigationSubTypes["SOLAR_COOKING"] = "SolarCooking";
|
1084
|
+
MitigationSubTypes["BUS_RAPID_TRANSIT"] = "BusRapidTransit";
|
1085
|
+
MitigationSubTypes["BUS_RAPID_TRANSIT_GREEN_HYDROGEN"] = "BusRapidTransitGreenHydrogen";
|
1086
|
+
MitigationSubTypes["MOTORBIKES"] = "Motorbikes";
|
1087
|
+
MitigationSubTypes["MODE_SHIFT_ROAD_TO_RAIL"] = "ModeShiftRoadToRail";
|
1088
|
+
MitigationSubTypes["MORE_EFFICIENT_TRAIN_SYSTEM"] = "MoreEfficientTrainSystem";
|
1089
|
+
MitigationSubTypes["MORE_EFFICIENT_VEHICLES"] = "MoreEfficientVehicles";
|
1090
|
+
MitigationSubTypes["RAIL_REGENERATIVE_BRAKING"] = "RailRegenerativeBraking";
|
1091
|
+
MitigationSubTypes["RAIL_GREEN_HYDROGEN"] = "RailGreenHydrogen";
|
1092
|
+
MitigationSubTypes["RAIL_EFFICIENT_OPERATION"] = "RailEfficientOperation";
|
1093
|
+
MitigationSubTypes["METRO_EFFICIENT_OPERATION"] = "MetroEfficientOperation";
|
1094
|
+
MitigationSubTypes["CARS_GREEN_HYDROGEN"] = "CarsGreenHydrogen";
|
1095
|
+
MitigationSubTypes["CARS_EFFICIENT_OPERATION"] = "CarsEfficientOperation";
|
1096
|
+
MitigationSubTypes["SCRAPPING_OLD_VEHICLES"] = "ScrappingOldVehicles";
|
1097
|
+
MitigationSubTypes["BIODIESEL_FOR_TRANSPORT"] = "BiodieselForTransport";
|
1098
|
+
MitigationSubTypes["CABLE_CARS"] = "CableCars";
|
1099
|
+
MitigationSubTypes["WIND"] = "Wind";
|
1100
|
+
MitigationSubTypes["OFFSHORE_WIND"] = "OffshoreWind";
|
1101
|
+
MitigationSubTypes["CO2_RECYCLING"] = "CO2Recycling";
|
1102
|
+
MitigationSubTypes["CO2_REPLACEMENT"] = "CO2Replacement";
|
1103
|
+
MitigationSubTypes["TIDAL"] = "Tidal";
|
1104
|
+
})(MitigationSubTypes || (MitigationSubTypes = {}));
|
990
1105
|
var mitigationTypeList = [
|
991
1106
|
{ value: MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
|
992
1107
|
{ value: MitigationTypes.SOLAR.valueOf(), label: "Solar" },
|
@@ -1083,13 +1198,791 @@ var sectorMitigationTypesListMapped = {
|
|
1083
1198
|
},
|
1084
1199
|
],
|
1085
1200
|
Agriculture: [
|
1086
|
-
{ value: MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" }
|
1201
|
+
{ value: MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" }
|
1087
1202
|
],
|
1088
1203
|
Other: [
|
1089
1204
|
{ value: MitigationTypes.MARINE.valueOf(), label: "Marine" },
|
1090
1205
|
{ value: MitigationTypes.N20.valueOf(), label: "N2O" },
|
1091
1206
|
],
|
1092
1207
|
};
|
1208
|
+
var mitigationSubTypeList = [
|
1209
|
+
{ label: "Irrigation", value: MitigationSubTypes.IRRIGATION.valueOf() },
|
1210
|
+
{ label: "Energy efficiency", value: MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
|
1211
|
+
{ label: "Alternative fertilisers", value: MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
|
1212
|
+
{ label: "No tillage", value: MitigationSubTypes.NO_TILLAGE.valueOf() },
|
1213
|
+
{ label: "Soil Enrichment / Biochar", value: MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
|
1214
|
+
{ label: "Rice crops", value: MitigationSubTypes.RICE_CROPS.valueOf() },
|
1215
|
+
{ label: "Bagasse power", value: MitigationSubTypes.BAGASSE_POWER.valueOf() },
|
1216
|
+
{ label: "Palm oil solid waste", value: MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
|
1217
|
+
{ label: "Agricultural residues: other kinds", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
|
1218
|
+
{ label: "Agricultural residues: rice husk", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
|
1219
|
+
{ label: "Agricultural residues: mustard crop", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
|
1220
|
+
{ label: "Agricultural residues: poultry litter", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
|
1221
|
+
{ label: "Black liquor", value: MitigationSubTypes.BLACK_LIQUOR.valueOf() },
|
1222
|
+
{ label: "Forest residues: sawmill waste", value: MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
|
1223
|
+
{ label: "Forest residues: other", value: MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
|
1224
|
+
{ label: "Forest biomass", value: MitigationSubTypes.FOREST_BIOMASS.valueOf() },
|
1225
|
+
{ label: "Industrial waste", value: MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
|
1226
|
+
{ label: "Gasification of biomass", value: MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
|
1227
|
+
{ label: "Switch from fossil fuel to piped biogas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
|
1228
|
+
{ label: "Biomass briquettes or pellets", value: MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
|
1229
|
+
{ label: "Biodiesel", value: MitigationSubTypes.BIODIESEL.valueOf() },
|
1230
|
+
{ label: "Biodiesel from waste oil", value: MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
|
1231
|
+
{ label: "Ethanol", value: MitigationSubTypes.ETHANOL.valueOf() },
|
1232
|
+
{ label: "Cement", value: MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
|
1233
|
+
{ label: "Coal Mine Methane", value: MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
|
1234
|
+
{ label: "Coal Bed Methane", value: MitigationSubTypes.COAL_BED_METHANE.valueOf() },
|
1235
|
+
{ label: "CMM & Ventilation Air Methane", value: MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
|
1236
|
+
{ label: "Ventilation Air Methane", value: MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
|
1237
|
+
{ label: "Lighting", value: MitigationSubTypes.LIGHTING.valueOf() },
|
1238
|
+
{ label: "Solar lamps", value: MitigationSubTypes.SOLAR_LAMPS.valueOf() },
|
1239
|
+
{ label: "Stoves", value: MitigationSubTypes.STOVES.valueOf() },
|
1240
|
+
{ label: "Stoves (School in Ghana)", value: MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
|
1241
|
+
{ label: "Stoves (Houses in Namibia)", value: MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
|
1242
|
+
{ label: "Lighting & Insulation & Solar", value: MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
|
1243
|
+
{ label: "Appliances", value: MitigationSubTypes.APPLIANCES.valueOf() },
|
1244
|
+
{ label: "Chemicals", value: MitigationSubTypes.CHEMICALS.valueOf() },
|
1245
|
+
{ label: "Petrochemicals", value: MitigationSubTypes.PETROCHEMICALS.valueOf() },
|
1246
|
+
{ label: "Paper", value: MitigationSubTypes.PAPER.valueOf() },
|
1247
|
+
{ label: "Cement", value: MitigationSubTypes.CEMENT.valueOf() },
|
1248
|
+
{ label: "Iron & steel ", value: MitigationSubTypes.IRON_STEEL.valueOf() },
|
1249
|
+
{ label: "Machinery", value: MitigationSubTypes.MACHINERY.valueOf() },
|
1250
|
+
{ label: "Textiles", value: MitigationSubTypes.TEXTILES.valueOf() },
|
1251
|
+
{ label: "Electronics", value: MitigationSubTypes.ELECTRONICS.valueOf() },
|
1252
|
+
{ label: "Food", value: MitigationSubTypes.FOOD.valueOf() },
|
1253
|
+
{ label: "Building materials", value: MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
|
1254
|
+
{ label: "Glass", value: MitigationSubTypes.GLASS.valueOf() },
|
1255
|
+
{ label: "Non-ferrous metals", value: MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
|
1256
|
+
{ label: "Coke oven", value: MitigationSubTypes.COKE_OVEN.valueOf() },
|
1257
|
+
{ label: "Mining", value: MitigationSubTypes.Mining.valueOf() },
|
1258
|
+
{ label: "Construction", value: MitigationSubTypes.CONSTRUCTION.valueOf() },
|
1259
|
+
{ label: "Metal products", value: MitigationSubTypes.METAL_PRODUCTS.valueOf() },
|
1260
|
+
{ label: "Wood", value: MitigationSubTypes.WOOD.valueOf() },
|
1261
|
+
{ label: "Recycling", value: MitigationSubTypes.RECYCLING.valueOf() },
|
1262
|
+
{ label: "Chemicals heat", value: MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
|
1263
|
+
{ label: "Petrochemicals heat", value: MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
|
1264
|
+
{ label: "Carbon black gas", value: MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
|
1265
|
+
{ label: "Cement heat", value: MitigationSubTypes.CEMENT_HEAT.valueOf() },
|
1266
|
+
{ label: "Iron & steel heat", value: MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
|
1267
|
+
{ label: "Building materials heat", value: MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
|
1268
|
+
{ label: "Glass heat", value: MitigationSubTypes.GLASS_HEAT.valueOf() },
|
1269
|
+
{ label: "Non-ferrous metals heat", value: MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
|
1270
|
+
{ label: "Coke oven gas", value: MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
|
1271
|
+
{ label: "HVAC & lighting", value: MitigationSubTypes.HVAC_LIGHTING.valueOf() },
|
1272
|
+
{ label: "Air conditioning", value: MitigationSubTypes.AIR_CONDITIONING.valueOf() },
|
1273
|
+
{ label: "EE new buildings", value: MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
|
1274
|
+
{ label: "Street lighting", value: MitigationSubTypes.STREET_LIGHTING.valueOf() },
|
1275
|
+
{ label: "Lighting in service", value: MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
|
1276
|
+
{ label: "Water pumping", value: MitigationSubTypes.WATER_PUMPING.valueOf() },
|
1277
|
+
{ label: "Water purification", value: MitigationSubTypes.WATER_PURIFICATION.valueOf() },
|
1278
|
+
{ label: "EE public stoves", value: MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
|
1279
|
+
{ label: "EE public buildings", value: MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
|
1280
|
+
{ label: "EE commercial buildings", value: MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
|
1281
|
+
{ label: "Single cycle to combined cycle", value: MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
|
1282
|
+
{ label: "Cogeneration", value: MitigationSubTypes.COGENERATION.valueOf() },
|
1283
|
+
{ label: "Co-firing with biomass", value: MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
|
1284
|
+
{ label: "Higher efficiency coal power", value: MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
|
1285
|
+
{ label: "Higher efficiency oil power", value: MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
|
1286
|
+
{ label: "Higher efficiency using waste heat", value: MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
|
1287
|
+
{ label: "Power plant rehabilitation", value: MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
|
1288
|
+
{ label: "Higher efficiency steam boiler", value: MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
|
1289
|
+
{ label: "District heating", value: MitigationSubTypes.DISTRICT_HEATING.valueOf() },
|
1290
|
+
{ label: "Replacement of district heating boilers", value: MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
|
1291
|
+
{ label: "Connection of Isolated grid", value: MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
|
1292
|
+
{ label: "District cooling", value: MitigationSubTypes.DISTRICT_COOLING.valueOf() },
|
1293
|
+
{ label: "Efficient electricity distribution", value: MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
|
1294
|
+
{ label: "Afforestation", value: MitigationSubTypes.AFFORESTATION.valueOf() },
|
1295
|
+
{ label: "Mangroves", value: MitigationSubTypes.MANGROVES.valueOf() },
|
1296
|
+
{ label: "Agroforestry", value: MitigationSubTypes.AGROFORESTRY.valueOf() },
|
1297
|
+
{ label: "Reforestation", value: MitigationSubTypes.REFORESTATION.valueOf() },
|
1298
|
+
{ label: "Coal to natural gas", value: MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
|
1299
|
+
{ label: "Coal to oil", value: MitigationSubTypes.COAL_TO_OIL.valueOf() },
|
1300
|
+
{ label: "Lignite to natural gas", value: MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
|
1301
|
+
{ label: "New natural gas plant", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
|
1302
|
+
{ label: "New natural gas plant using LNG", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
|
1303
|
+
{ label: "Oil to electricity", value: MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
|
1304
|
+
{ label: "Oil to LPG", value: MitigationSubTypes.OIL_TO_LPG.valueOf() },
|
1305
|
+
{ label: "Oil to natural gas", value: MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
|
1306
|
+
{ label: "Oil field flaring reduction", value: MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
|
1307
|
+
{ label: "Oil and gas processing flaring", value: MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
|
1308
|
+
{ label: "Natural gas pipelines", value: MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
|
1309
|
+
{ label: "Non-hydrocarbon mining", value: MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
|
1310
|
+
{ label: "Spontaneously ignition of coal piles", value: MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
|
1311
|
+
{ label: "Charcoal production", value: MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
|
1312
|
+
{ label: "Geothermal electricity", value: MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
|
1313
|
+
{ label: "Geothermal heating", value: MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
|
1314
|
+
{ label: "HFC23", value: MitigationSubTypes.HFC23.valueOf() },
|
1315
|
+
{ label: "HFC134a", value: MitigationSubTypes.HFC134A.valueOf() },
|
1316
|
+
{ label: "PFCs", value: MitigationSubTypes.PFCS.valueOf() },
|
1317
|
+
{ label: "SF6", value: MitigationSubTypes.SF6.valueOf() },
|
1318
|
+
{ label: "Run of river", value: MitigationSubTypes.RUN_OF_RIVER.valueOf() },
|
1319
|
+
{ label: "Existing dam", value: MitigationSubTypes.EXISTING_DAM.valueOf() },
|
1320
|
+
{ label: "Higher efficiency hydro power", value: MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
|
1321
|
+
{ label: "New dam", value: MitigationSubTypes.NEW_DAM.valueOf() },
|
1322
|
+
{ label: "Landfill flaring", value: MitigationSubTypes.LANDFILL_FLARING.valueOf() },
|
1323
|
+
{ label: "Landfill power", value: MitigationSubTypes.LANDFILL_POWER.valueOf() },
|
1324
|
+
{ label: "Combustion of MSW", value: MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
|
1325
|
+
{ label: "Gasification of MSW", value: MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
|
1326
|
+
{ label: "Biogas from MSW", value: MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
|
1327
|
+
{ label: "Landfill aeration", value: MitigationSubTypes.LANDFILL_AERATION.valueOf() },
|
1328
|
+
{ label: "Integrated solid waste management", value: MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
|
1329
|
+
{ label: "Switch from fossil fuel to piped landfill gas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
|
1330
|
+
{ label: "Landfill composting", value: MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
|
1331
|
+
{ label: "Manure", value: MitigationSubTypes.MANURE.valueOf() },
|
1332
|
+
{ label: "Domestic manure", value: MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
|
1333
|
+
{ label: "Waste water", value: MitigationSubTypes.WASTE_WATER.valueOf() },
|
1334
|
+
{ label: "Industrial solid waste", value: MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
|
1335
|
+
{ label: "Palm oil waste", value: MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
|
1336
|
+
{ label: "Aerobic treatment of waste water", value: MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
|
1337
|
+
{ label: "Composting", value: MitigationSubTypes.COMPOSTING.valueOf() },
|
1338
|
+
{ label: "Adipic acid", value: MitigationSubTypes.ADIPIC_ACID.valueOf() },
|
1339
|
+
{ label: "Nitric acid", value: MitigationSubTypes.NITRIC_ACID.valueOf() },
|
1340
|
+
{ label: "Caprolactam", value: MitigationSubTypes.CAPROLACTAM.valueOf() },
|
1341
|
+
{ label: "Solar Photovoltaics(PV)", value: MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
|
1342
|
+
{ label: "Solar Water pumping (off-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
|
1343
|
+
{ label: "Solar Water pumping (on-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
|
1344
|
+
{ label: "Solar PV water disinfection", value: MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
|
1345
|
+
{ label: "Solar thermal power", value: MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
|
1346
|
+
{ label: "Solar thermal heat", value: MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
|
1347
|
+
{ label: "Solar water heating", value: MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
|
1348
|
+
{ label: "Solar cooking", value: MitigationSubTypes.SOLAR_COOKING.valueOf() },
|
1349
|
+
{ label: "Bus Rapid Transit", value: MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
|
1350
|
+
{ label: "Bus Rapid Transit: Green hydrogen", value: MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
|
1351
|
+
{ label: "Motorbikes", value: MitigationSubTypes.MOTORBIKES.valueOf() },
|
1352
|
+
{ label: "Mode shift: Road to rail", value: MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
|
1353
|
+
{ label: "More efficient train system", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1354
|
+
{ label: "More efficient vehicles", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1355
|
+
{ label: "Rail: regenerative braking", value: MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
|
1356
|
+
{ label: "Rail: Green hydrogen", value: MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
|
1357
|
+
{ label: "Rail: efficient operation", value: MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
|
1358
|
+
{ label: "Metro: efficient operation", value: MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
|
1359
|
+
{ label: "Cars: Green hydrogen", value: MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
|
1360
|
+
{ label: "Cars: efficient operation", value: MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
|
1361
|
+
{ label: "Scrapping old vehicles", value: MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
|
1362
|
+
{ label: "Biodiesel for transport", value: MitigationSubTypes.CABLE_CARS.valueOf() },
|
1363
|
+
{ label: "Cable cars", value: MitigationSubTypes.CHEMICALS.valueOf() },
|
1364
|
+
{ label: "Wind", value: MitigationSubTypes.WIND.valueOf() },
|
1365
|
+
{ label: "Offshore wind", value: MitigationSubTypes.OFFSHORE_WIND.valueOf() },
|
1366
|
+
{ label: "CO2 recycling", value: MitigationSubTypes.CO2_RECYCLING.valueOf() },
|
1367
|
+
{ label: "CO2 replacement", value: MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
|
1368
|
+
{ label: "Tidal", value: MitigationSubTypes.TIDAL.valueOf() },
|
1369
|
+
];
|
1370
|
+
var mitigationSubTypesListMapped = {
|
1371
|
+
Agriculture: [
|
1372
|
+
{ label: "Irrigation", value: MitigationSubTypes.IRRIGATION.valueOf() },
|
1373
|
+
{ label: "Energy efficiency", value: MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
|
1374
|
+
{ label: "Alternative fertilisers", value: MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
|
1375
|
+
{ label: "No tillage", value: MitigationSubTypes.NO_TILLAGE.valueOf() },
|
1376
|
+
{ label: "Soil Enrichment / Biochar", value: MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
|
1377
|
+
{ label: "Rice crops", value: MitigationSubTypes.RICE_CROPS.valueOf() },
|
1378
|
+
],
|
1379
|
+
BiomassEnergy: [
|
1380
|
+
{ label: "Bagasse power", value: MitigationSubTypes.BAGASSE_POWER.valueOf() },
|
1381
|
+
{ label: "Palm oil solid waste", value: MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
|
1382
|
+
{ label: "Agricultural residues: other kinds", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
|
1383
|
+
{ label: "Agricultural residues: rice husk", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
|
1384
|
+
{ label: "Agricultural residues: mustard crop", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
|
1385
|
+
{ label: "Agricultural residues: poultry litter", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
|
1386
|
+
{ label: "Black liquor", value: MitigationSubTypes.BLACK_LIQUOR.valueOf() },
|
1387
|
+
{ label: "Forest residues: sawmill waste", value: MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
|
1388
|
+
{ label: "Forest residues: other", value: MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
|
1389
|
+
{ label: "Forest biomass", value: MitigationSubTypes.FOREST_BIOMASS.valueOf() },
|
1390
|
+
{ label: "Industrial waste", value: MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
|
1391
|
+
{ label: "Gasification of biomass", value: MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
|
1392
|
+
{ label: "Switch from fossil fuel to piped biogas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
|
1393
|
+
{ label: "Biomass briquettes or pellets", value: MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
|
1394
|
+
{ label: "Biodiesel", value: MitigationSubTypes.BIODIESEL.valueOf() },
|
1395
|
+
{ label: "Biodiesel from waste oil", value: MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
|
1396
|
+
{ label: "Ethanol", value: MitigationSubTypes.ETHANOL.valueOf() },
|
1397
|
+
],
|
1398
|
+
Cement: [
|
1399
|
+
{ label: "Cement", value: MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
|
1400
|
+
],
|
1401
|
+
"Coal/Mine": [
|
1402
|
+
{ label: "Coal Mine Methane", value: MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
|
1403
|
+
{ label: "Coal Bed Methane", value: MitigationSubTypes.COAL_BED_METHANE.valueOf() },
|
1404
|
+
{ label: "CMM & Ventilation Air Methane", value: MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
|
1405
|
+
{ label: "Ventilation Air Methane", value: MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
|
1406
|
+
],
|
1407
|
+
EEHouseholds: [
|
1408
|
+
{ label: "Lighting", value: MitigationSubTypes.LIGHTING.valueOf() },
|
1409
|
+
{ label: "Solar lamps", value: MitigationSubTypes.SOLAR_LAMPS.valueOf() },
|
1410
|
+
{ label: "Stoves", value: MitigationSubTypes.STOVES.valueOf() },
|
1411
|
+
{ label: "Stoves (School in Ghana)", value: MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
|
1412
|
+
{ label: "Stoves (Houses in Namibia)", value: MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
|
1413
|
+
{ label: "Lighting & Insulation & Solar", value: MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
|
1414
|
+
{ label: "Appliances", value: MitigationSubTypes.APPLIANCES.valueOf() },
|
1415
|
+
],
|
1416
|
+
EEIndustry: [
|
1417
|
+
{ label: "Chemicals", value: MitigationSubTypes.CHEMICALS.valueOf() },
|
1418
|
+
{ label: "Petrochemicals", value: MitigationSubTypes.PETROCHEMICALS.valueOf() },
|
1419
|
+
{ label: "Paper", value: MitigationSubTypes.PAPER.valueOf() },
|
1420
|
+
{ label: "Cement", value: MitigationSubTypes.CEMENT.valueOf() },
|
1421
|
+
{ label: "Iron & steel ", value: MitigationSubTypes.IRON_STEEL.valueOf() },
|
1422
|
+
{ label: "Machinery", value: MitigationSubTypes.MACHINERY.valueOf() },
|
1423
|
+
{ label: "Textiles", value: MitigationSubTypes.TEXTILES.valueOf() },
|
1424
|
+
{ label: "Electronics", value: MitigationSubTypes.ELECTRONICS.valueOf() },
|
1425
|
+
{ label: "Food", value: MitigationSubTypes.FOOD.valueOf() },
|
1426
|
+
{ label: "Building materials", value: MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
|
1427
|
+
{ label: "Glass", value: MitigationSubTypes.GLASS.valueOf() },
|
1428
|
+
{ label: "Non-ferrous metals", value: MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
|
1429
|
+
{ label: "Coke oven", value: MitigationSubTypes.COKE_OVEN.valueOf() },
|
1430
|
+
{ label: "Mining", value: MitigationSubTypes.Mining.valueOf() },
|
1431
|
+
{ label: "Construction", value: MitigationSubTypes.CONSTRUCTION.valueOf() },
|
1432
|
+
{ label: "Metal products", value: MitigationSubTypes.METAL_PRODUCTS.valueOf() },
|
1433
|
+
{ label: "Wood", value: MitigationSubTypes.WOOD.valueOf() },
|
1434
|
+
{ label: "Recycling", value: MitigationSubTypes.RECYCLING.valueOf() },
|
1435
|
+
],
|
1436
|
+
EEOwnGeneration: [
|
1437
|
+
{ label: "Chemicals heat", value: MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
|
1438
|
+
{ label: "Petrochemicals heat", value: MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
|
1439
|
+
{ label: "Carbon black gas", value: MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
|
1440
|
+
{ label: "Cement heat", value: MitigationSubTypes.CEMENT_HEAT.valueOf() },
|
1441
|
+
{ label: "Iron & steel heat", value: MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
|
1442
|
+
{ label: "Building materials heat", value: MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
|
1443
|
+
{ label: "Glass heat", value: MitigationSubTypes.GLASS_HEAT.valueOf() },
|
1444
|
+
{ label: "Non-ferrous metals heat", value: MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
|
1445
|
+
{ label: "Coke oven gas", value: MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
|
1446
|
+
],
|
1447
|
+
EEService: [
|
1448
|
+
{ label: "HVAC & lighting", value: MitigationSubTypes.HVAC_LIGHTING.valueOf() },
|
1449
|
+
{ label: "Air conditioning", value: MitigationSubTypes.AIR_CONDITIONING.valueOf() },
|
1450
|
+
{ label: "EE new buildings", value: MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
|
1451
|
+
{ label: "Street lighting", value: MitigationSubTypes.STREET_LIGHTING.valueOf() },
|
1452
|
+
{ label: "Lighting in service", value: MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
|
1453
|
+
{ label: "Water pumping", value: MitigationSubTypes.WATER_PUMPING.valueOf() },
|
1454
|
+
{ label: "Water purification", value: MitigationSubTypes.WATER_PURIFICATION.valueOf() },
|
1455
|
+
{ label: "EE public stoves", value: MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
|
1456
|
+
{ label: "EE public buildings", value: MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
|
1457
|
+
{ label: "EE commercial buildings", value: MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
|
1458
|
+
],
|
1459
|
+
EESupplySide: [
|
1460
|
+
{ label: "Single cycle to combined cycle", value: MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
|
1461
|
+
{ label: "Cogeneration", value: MitigationSubTypes.COGENERATION.valueOf() },
|
1462
|
+
{ label: "Co-firing with biomass", value: MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
|
1463
|
+
{ label: "Higher efficiency coal power", value: MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
|
1464
|
+
{ label: "Higher efficiency oil power", value: MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
|
1465
|
+
{ label: "Higher efficiency using waste heat", value: MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
|
1466
|
+
{ label: "Power plant rehabilitation", value: MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
|
1467
|
+
{ label: "Higher efficiency steam boiler", value: MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
|
1468
|
+
],
|
1469
|
+
EnergyDistribution: [
|
1470
|
+
{ label: "District heating", value: MitigationSubTypes.DISTRICT_HEATING.valueOf() },
|
1471
|
+
{ label: "Replacement of district heating boilers", value: MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
|
1472
|
+
{ label: "Connection of Isolated grid", value: MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
|
1473
|
+
{ label: "District cooling", value: MitigationSubTypes.DISTRICT_COOLING.valueOf() },
|
1474
|
+
{ label: "Efficient electricity distribution", value: MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
|
1475
|
+
],
|
1476
|
+
Forestry: [
|
1477
|
+
{ label: "Afforestation", value: MitigationSubTypes.AFFORESTATION.valueOf() },
|
1478
|
+
{ label: "Mangroves", value: MitigationSubTypes.MANGROVES.valueOf() },
|
1479
|
+
{ label: "Agroforestry", value: MitigationSubTypes.AGROFORESTRY.valueOf() },
|
1480
|
+
{ label: "Reforestation", value: MitigationSubTypes.REFORESTATION.valueOf() },
|
1481
|
+
],
|
1482
|
+
FossilFuel: [
|
1483
|
+
{ label: "Coal to natural gas", value: MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
|
1484
|
+
{ label: "Coal to oil", value: MitigationSubTypes.COAL_TO_OIL.valueOf() },
|
1485
|
+
{ label: "Lignite to natural gas", value: MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
|
1486
|
+
{ label: "New natural gas plant", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
|
1487
|
+
{ label: "New natural gas plant using LNG", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
|
1488
|
+
{ label: "Oil to electricity", value: MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
|
1489
|
+
{ label: "Oil to LPG", value: MitigationSubTypes.OIL_TO_LPG.valueOf() },
|
1490
|
+
{ label: "Oil to natural gas", value: MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
|
1491
|
+
],
|
1492
|
+
Fugitive: [
|
1493
|
+
{ label: "Oil field flaring reduction", value: MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
|
1494
|
+
{ label: "Oil and gas processing flaring", value: MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
|
1495
|
+
{ label: "Natural gas pipelines", value: MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
|
1496
|
+
{ label: "Non-hydrocarbon mining", value: MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
|
1497
|
+
{ label: "Spontaneously ignition of coal piles", value: MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
|
1498
|
+
{ label: "Charcoal production", value: MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
|
1499
|
+
],
|
1500
|
+
Geothermal: [
|
1501
|
+
{ label: "Geothermal electricity", value: MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
|
1502
|
+
{ label: "Geothermal heating", value: MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
|
1503
|
+
],
|
1504
|
+
HFC_PFCs_SF6: [
|
1505
|
+
{ label: "HFC23", value: MitigationSubTypes.HFC23.valueOf() },
|
1506
|
+
{ label: "HFC134a", value: MitigationSubTypes.HFC134A.valueOf() },
|
1507
|
+
{ label: "PFCs", value: MitigationSubTypes.PFCS.valueOf() },
|
1508
|
+
{ label: "SF6", value: MitigationSubTypes.SF6.valueOf() },
|
1509
|
+
],
|
1510
|
+
Hydro: [
|
1511
|
+
{ label: "Run of river", value: MitigationSubTypes.RUN_OF_RIVER.valueOf() },
|
1512
|
+
{ label: "Existing dam", value: MitigationSubTypes.EXISTING_DAM.valueOf() },
|
1513
|
+
{ label: "Higher efficiency hydro power", value: MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
|
1514
|
+
{ label: "New dam", value: MitigationSubTypes.NEW_DAM.valueOf() },
|
1515
|
+
],
|
1516
|
+
Landfills: [
|
1517
|
+
{ label: "Landfill flaring", value: MitigationSubTypes.LANDFILL_FLARING.valueOf() },
|
1518
|
+
{ label: "Landfill power", value: MitigationSubTypes.LANDFILL_POWER.valueOf() },
|
1519
|
+
{ label: "Combustion of MSW", value: MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
|
1520
|
+
{ label: "Gasification of MSW", value: MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
|
1521
|
+
{ label: "Biogas from MSW", value: MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
|
1522
|
+
{ label: "Landfill aeration", value: MitigationSubTypes.LANDFILL_AERATION.valueOf() },
|
1523
|
+
{ label: "Integrated solid waste management", value: MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
|
1524
|
+
{ label: "Switch from fossil fuel to piped landfill gas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
|
1525
|
+
{ label: "Landfill composting", value: MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
|
1526
|
+
],
|
1527
|
+
MethaneAvoidance: [
|
1528
|
+
{ label: "Manure", value: MitigationSubTypes.MANURE.valueOf() },
|
1529
|
+
{ label: "Domestic manure", value: MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
|
1530
|
+
{ label: "Waste water", value: MitigationSubTypes.WASTE_WATER.valueOf() },
|
1531
|
+
{ label: "Industrial solid waste", value: MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
|
1532
|
+
{ label: "Palm oil waste", value: MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
|
1533
|
+
{ label: "Aerobic treatment of waste water", value: MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
|
1534
|
+
{ label: "Composting", value: MitigationSubTypes.COMPOSTING.valueOf() },
|
1535
|
+
],
|
1536
|
+
N20: [
|
1537
|
+
{ label: "Adipic acid", value: MitigationSubTypes.ADIPIC_ACID.valueOf() },
|
1538
|
+
{ label: "Nitric acid", value: MitigationSubTypes.NITRIC_ACID.valueOf() },
|
1539
|
+
{ label: "Caprolactam", value: MitigationSubTypes.CAPROLACTAM.valueOf() },
|
1540
|
+
],
|
1541
|
+
Solar: [
|
1542
|
+
{ label: "Solar Photovoltaics(PV)", value: MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
|
1543
|
+
{ label: "Solar Water pumping (off-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
|
1544
|
+
{ label: "Solar Water pumping (on-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
|
1545
|
+
{ label: "Solar PV water disinfection", value: MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
|
1546
|
+
{ label: "Solar thermal power", value: MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
|
1547
|
+
{ label: "Solar thermal heat", value: MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
|
1548
|
+
{ label: "Solar water heating", value: MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
|
1549
|
+
{ label: "Solar cooking", value: MitigationSubTypes.SOLAR_COOKING.valueOf() },
|
1550
|
+
],
|
1551
|
+
Transport: [
|
1552
|
+
{ label: "Bus Rapid Transit", value: MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
|
1553
|
+
{ label: "Bus Rapid Transit: Green hydrogen", value: MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
|
1554
|
+
{ label: "Motorbikes", value: MitigationSubTypes.MOTORBIKES.valueOf() },
|
1555
|
+
{ label: "Mode shift: Road to rail", value: MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
|
1556
|
+
{ label: "More efficient train system", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1557
|
+
{ label: "More efficient vehicles", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1558
|
+
{ label: "Rail: regenerative braking", value: MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
|
1559
|
+
{ label: "Rail: Green hydrogen", value: MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
|
1560
|
+
{ label: "Rail: efficient operation", value: MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
|
1561
|
+
{ label: "Metro: efficient operation", value: MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
|
1562
|
+
{ label: "Cars: Green hydrogen", value: MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
|
1563
|
+
{ label: "Cars: efficient operation", value: MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
|
1564
|
+
{ label: "Scrapping old vehicles", value: MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
|
1565
|
+
{ label: "Biodiesel for transport", value: MitigationSubTypes.CABLE_CARS.valueOf() },
|
1566
|
+
{ label: "Cable cars", value: MitigationSubTypes.CHEMICALS.valueOf() },
|
1567
|
+
],
|
1568
|
+
Wind: [
|
1569
|
+
{ label: "Wind", value: MitigationSubTypes.WIND.valueOf() },
|
1570
|
+
{ label: "Offshore wind", value: MitigationSubTypes.OFFSHORE_WIND.valueOf() },
|
1571
|
+
],
|
1572
|
+
CO2Usage: [
|
1573
|
+
{ label: "CO2 recycling", value: MitigationSubTypes.CO2_RECYCLING.valueOf() },
|
1574
|
+
{ label: "CO2 replacement", value: MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
|
1575
|
+
],
|
1576
|
+
Tidal: [
|
1577
|
+
{ label: "Tidal", value: MitigationSubTypes.TIDAL.valueOf() },
|
1578
|
+
],
|
1579
|
+
};
|
1580
|
+
var methodologyOptions = [
|
1581
|
+
"ACR - Truck Stop Electrification",
|
1582
|
+
"ACR - Advanced Refrigeration Systems",
|
1583
|
+
"ACR - Certified Reclaimed HFC Refrigerants, Propellants, and Fire Suppressants",
|
1584
|
+
"ACR - Destruction of Ozone Depleting Substances and High-GWP Foam",
|
1585
|
+
"ACR - Destruction of Ozone Depleting Substances from International Sources",
|
1586
|
+
"ACR - Transition to Advanced Formulation Blowing Agents in Foam Manufacturing and Use",
|
1587
|
+
"ACR - Afforestation and Reforestation of Degraded Lands",
|
1588
|
+
"ACR - Avoided Conversion of Grasslands and Shrublands to Crop Production",
|
1589
|
+
"ACR - Improved Forest Management (IFM) on Canadian Forestlands",
|
1590
|
+
"ACR - Improved Forest Management (IFM) on Non-Federal U.S. Forestlands",
|
1591
|
+
"ACR - Improved Forest Management (IFM) on Small Non-Industrial Private Forestlands",
|
1592
|
+
"ACR - Restoration of California Deltaic and Coastal Wetlands",
|
1593
|
+
"ACR - Restoration of Pocosin Wetlands",
|
1594
|
+
"ACR - Carbon Capture and Storage Projects",
|
1595
|
+
"ACR - Landfill Gas Destruction and Beneficial Use Projects",
|
1596
|
+
"CAR - Adipic Acid Production",
|
1597
|
+
"CAR - Biochar",
|
1598
|
+
"CAR - Canada Grassland",
|
1599
|
+
"CAR - Coal Mine Methane",
|
1600
|
+
"CAR - Forest",
|
1601
|
+
"CAR - Grassland",
|
1602
|
+
"CAR - Mexico Boiler Efficiency",
|
1603
|
+
"CAR - Mexico Forest",
|
1604
|
+
"CAR - Mexico Halocarbon",
|
1605
|
+
"CAR - Mexico Landfill",
|
1606
|
+
"CAR - Mexico Livestock",
|
1607
|
+
"CAR - Mexico Ozone Depleting Substances",
|
1608
|
+
"CAR - Nitric Acid Production",
|
1609
|
+
"CAR - Nitrogen Management",
|
1610
|
+
"CAR - Organic Waste Composting",
|
1611
|
+
"CAR - Organic Waste Digestion",
|
1612
|
+
"CAR - Ozone Depleting Substances",
|
1613
|
+
"CAR - Rice Cultivation",
|
1614
|
+
"CAR - Soil Enrichment",
|
1615
|
+
"CAR - Urban Forest Management",
|
1616
|
+
"CAR - Urban Tree Planting",
|
1617
|
+
"CAR - U.S. Landfill",
|
1618
|
+
"CAR - U.S. Livestock",
|
1619
|
+
"CDM - AM0001",
|
1620
|
+
"CDM - AM0007",
|
1621
|
+
"CDM - AM0009",
|
1622
|
+
"CDM - AM0017",
|
1623
|
+
"CDM - AM0018",
|
1624
|
+
"CDM - AM0019",
|
1625
|
+
"CDM - AM0020",
|
1626
|
+
"CDM - AM0021",
|
1627
|
+
"CDM - AM0023",
|
1628
|
+
"CDM - AM0026",
|
1629
|
+
"CDM - AM0027",
|
1630
|
+
"CDM - AM0028",
|
1631
|
+
"CDM - AM0030",
|
1632
|
+
"CDM - AM0031",
|
1633
|
+
"CDM - AM0035",
|
1634
|
+
"CDM - AM0036",
|
1635
|
+
"CDM - AM0037",
|
1636
|
+
"CDM - AM0038",
|
1637
|
+
"CDM - AM0043",
|
1638
|
+
"CDM - AM0044",
|
1639
|
+
"CDM - AM0045",
|
1640
|
+
"CDM - AM0046",
|
1641
|
+
"CDM - AM0048",
|
1642
|
+
"CDM - AM0049",
|
1643
|
+
"CDM - AM0050",
|
1644
|
+
"CDM - AM0052",
|
1645
|
+
"CDM - AM0053",
|
1646
|
+
"CDM - AM0055",
|
1647
|
+
"CDM - AM0056",
|
1648
|
+
"CDM - AM0057",
|
1649
|
+
"CDM - AM0058",
|
1650
|
+
"CDM - AM0059",
|
1651
|
+
"CDM - AM0060",
|
1652
|
+
"CDM - AM0061",
|
1653
|
+
"CDM - AM0062",
|
1654
|
+
"CDM - AM0063",
|
1655
|
+
"CDM - AM0064",
|
1656
|
+
"CDM - AM0065",
|
1657
|
+
"CDM - AM0066",
|
1658
|
+
"CDM - AM0067",
|
1659
|
+
"CDM - AM0068",
|
1660
|
+
"CDM - AM0069",
|
1661
|
+
"CDM - AM0070",
|
1662
|
+
"CDM - AM0071",
|
1663
|
+
"CDM - AM0072",
|
1664
|
+
"CDM - AM0073",
|
1665
|
+
"CDM - AM0074",
|
1666
|
+
"CDM - AM0075",
|
1667
|
+
"CDM - AM0076",
|
1668
|
+
"CDM - AM0077",
|
1669
|
+
"CDM - AM0078",
|
1670
|
+
"CDM - AM0079",
|
1671
|
+
"CDM - AM0080",
|
1672
|
+
"CDM - AM0081",
|
1673
|
+
"CDM - AM0082",
|
1674
|
+
"CDM - AM0083",
|
1675
|
+
"CDM - AM0084",
|
1676
|
+
"CDM - AM0086",
|
1677
|
+
"CDM - AM0088",
|
1678
|
+
"CDM - AM0089",
|
1679
|
+
"CDM - AM0090",
|
1680
|
+
"CDM - AM0091",
|
1681
|
+
"CDM - AM0092",
|
1682
|
+
"CDM - AM0093",
|
1683
|
+
"CDM - AM0094",
|
1684
|
+
"CDM - AM0095",
|
1685
|
+
"CDM - AM0096",
|
1686
|
+
"CDM - AM0097",
|
1687
|
+
"CDM - AM0098",
|
1688
|
+
"CDM - AM0099",
|
1689
|
+
"CDM - AM0100",
|
1690
|
+
"CDM - AM0101",
|
1691
|
+
"CDM - AM0103",
|
1692
|
+
"CDM - AM0104",
|
1693
|
+
"CDM - AM0105",
|
1694
|
+
"CDM - AM0106",
|
1695
|
+
"CDM - AM0107",
|
1696
|
+
"CDM - AM0108",
|
1697
|
+
"CDM - AM0109",
|
1698
|
+
"CDM - AM0110",
|
1699
|
+
"CDM - AM0111",
|
1700
|
+
"CDM - AM0112",
|
1701
|
+
"CDM - AM0113",
|
1702
|
+
"CDM - AM0114",
|
1703
|
+
"CDM - AM0115",
|
1704
|
+
"CDM - AM0116",
|
1705
|
+
"CDM - AM0117",
|
1706
|
+
"CDM - AM0118",
|
1707
|
+
"CDM - AM0119",
|
1708
|
+
"CDM - AM0120",
|
1709
|
+
"CDM - AM0121",
|
1710
|
+
"CDM - AM0122",
|
1711
|
+
"CDM - AMS-I.A.",
|
1712
|
+
"CDM - AMS-I.B.",
|
1713
|
+
"CDM - AMS-I.C.",
|
1714
|
+
"CDM - AMS-I.D.",
|
1715
|
+
"CDM - AMS-I.E.",
|
1716
|
+
"CDM - AMS-I.F.",
|
1717
|
+
"CDM - AMS-I.G.",
|
1718
|
+
"CDM - AMS-I.H.",
|
1719
|
+
"CDM - AMS-I.I.",
|
1720
|
+
"CDM - AMS-I.J.",
|
1721
|
+
"CDM - AMS-I.K.",
|
1722
|
+
"CDM - AMS-I.L.",
|
1723
|
+
"CDM - AMS-I.M.",
|
1724
|
+
"CDM - AMS-II.A.",
|
1725
|
+
"CDM - AMS-II.B.",
|
1726
|
+
"CDM - AMS-II.C.",
|
1727
|
+
"CDM - AMS-II.D.",
|
1728
|
+
"CDM - AMS-II.E.",
|
1729
|
+
"CDM - AMS-II.F.",
|
1730
|
+
"CDM - AMS-II.G.",
|
1731
|
+
"CDM - AMS-II.H.",
|
1732
|
+
"CDM - AMS-II.I.",
|
1733
|
+
"CDM - AMS-II.J.",
|
1734
|
+
"CDM - AMS-II.K.",
|
1735
|
+
"CDM - AMS-II.L.",
|
1736
|
+
"CDM - AMS-II.M.",
|
1737
|
+
"CDM - AMS-II.N.",
|
1738
|
+
"CDM - AMS-II.O.",
|
1739
|
+
"CDM - AMS-II.P.",
|
1740
|
+
"CDM - AMS-II.Q.",
|
1741
|
+
"CDM - AMS-II.R.",
|
1742
|
+
"CDM - AMS-II.S.",
|
1743
|
+
"CDM - AMS-II.T.",
|
1744
|
+
"CDM - AMS-III.A.",
|
1745
|
+
"CDM - AMS-III.B.",
|
1746
|
+
"CDM - AMS-III.C.",
|
1747
|
+
"CDM - AMS-III.D.",
|
1748
|
+
"CDM - AMS-III.E.",
|
1749
|
+
"CDM - AMS-III.F.",
|
1750
|
+
"CDM - AMS-III.G.",
|
1751
|
+
"CDM - AMS-III.H.",
|
1752
|
+
"CDM - AMS-III.I.",
|
1753
|
+
"CDM - AMS-III.J.",
|
1754
|
+
"CDM - AMS-III.K.",
|
1755
|
+
"CDM - AMS-III.L.",
|
1756
|
+
"CDM - AMS-III.M.",
|
1757
|
+
"CDM - AMS-III.N.",
|
1758
|
+
"CDM - AMS-III.O.",
|
1759
|
+
"CDM - AMS-III.P.",
|
1760
|
+
"CDM - AMS-III.Q.",
|
1761
|
+
"CDM - AMS-III.R.",
|
1762
|
+
"CDM - AMS-III.S.",
|
1763
|
+
"CDM - AMS-III.T.",
|
1764
|
+
"CDM - AMS-III.U.",
|
1765
|
+
"CDM - AMS-III.V.",
|
1766
|
+
"CDM - AMS-III.W.",
|
1767
|
+
"CDM - AMS-III.X.",
|
1768
|
+
"CDM - AMS-III.Y.",
|
1769
|
+
"CDM - AMS-III.Z.",
|
1770
|
+
"CDM - AMS-III.AA.",
|
1771
|
+
"CDM - AMS-III.AB.",
|
1772
|
+
"CDM - AMS-III.AC.",
|
1773
|
+
"CDM - AMS-III.AD.",
|
1774
|
+
"CDM - AMS-III.AE.",
|
1775
|
+
"CDM - AMS-III.AF.",
|
1776
|
+
"CDM - AMS-III.AG.",
|
1777
|
+
"CDM - AMS-III.AH.",
|
1778
|
+
"CDM - AMS-III.AI.",
|
1779
|
+
"CDM - AMS-III.AJ.",
|
1780
|
+
"CDM - AMS-III.AK.",
|
1781
|
+
"CDM - AMS-III.AL.",
|
1782
|
+
"CDM - AMS-III.AM.",
|
1783
|
+
"CDM - AMS-III.AN.",
|
1784
|
+
"CDM - AMS-III.AO.",
|
1785
|
+
"CDM - AMS-III.AP.",
|
1786
|
+
"CDM - AMS-III.AQ.",
|
1787
|
+
"CDM - AMS-III.AR.",
|
1788
|
+
"CDM - AMS-III.AS.",
|
1789
|
+
"CDM - AMS-III.AT.",
|
1790
|
+
"CDM - AMS-III.AU.",
|
1791
|
+
"CDM - AMS-III.AV.",
|
1792
|
+
"CDM - AMS-III.AW.",
|
1793
|
+
"CDM - AMS-III.AX.",
|
1794
|
+
"CDM - AMS-III.AY.",
|
1795
|
+
"CDM - AMS-III.BA.",
|
1796
|
+
"CDM - AMS-III.BB.",
|
1797
|
+
"CDM - AMS-III.BC.",
|
1798
|
+
"CDM - AMS-III.BD.",
|
1799
|
+
"CDM - AMS-III.BE.",
|
1800
|
+
"CDM - AMS-III.BF.",
|
1801
|
+
"CDM - AMS-III.BG.",
|
1802
|
+
"CDM - AMS-III.BH.",
|
1803
|
+
"CDM - AMS-III.BI.",
|
1804
|
+
"CDM - AMS-III.BJ.",
|
1805
|
+
"CDM - AMS-III.BK.",
|
1806
|
+
"CDM - AMS-III.BL.",
|
1807
|
+
"CDM - AMS-III.BM.",
|
1808
|
+
"CDM - AMS-III.BN.",
|
1809
|
+
"CDM - AMS-III.BO.",
|
1810
|
+
"CDM - AMS-III.BP.",
|
1811
|
+
"CDM - AR-AM0014",
|
1812
|
+
"CDM - AR-AMS0003",
|
1813
|
+
"CDM - AR-AMS0007",
|
1814
|
+
"GS - METHODOLOGY FOR METERED & MEASURED ENERGY COOKING DEVICES",
|
1815
|
+
"GS - METHODOLOGY FOR RETROFIT ENERGY EFFICIENCY MEASURES IN SHIPPING ",
|
1816
|
+
"GS - SOIL ORGANIC CARBON ACTIVITY MODULE FOR APPLICATION OF ORGANIC SOIL IMPROVERS FROM PULP AND PAPER MILL SLUDGES",
|
1817
|
+
"GS - REDUCED EMISSIONS FROM COOKING AND HEATING – TECHNOLOGIES AND PRACTICES TO DISPLACE DECENTRALIZED THERMAL ENERGY CONSUMPTION (TPDDTEC)",
|
1818
|
+
"GS - CARBON SEQUESTRATION THROUGH ACCELERATED CARBONATION OF CONCRETE AGGREGATE ",
|
1819
|
+
"VCS - VM0001",
|
1820
|
+
"VCS - VM0002",
|
1821
|
+
"VCS - VM0003",
|
1822
|
+
"VCS - VM0004",
|
1823
|
+
"VCS - VM0005",
|
1824
|
+
"VCS - VM0006",
|
1825
|
+
"VCS - VM0007",
|
1826
|
+
"VCS - VM0008",
|
1827
|
+
"VCS - VM0009",
|
1828
|
+
"VCS - VM0010",
|
1829
|
+
"VCS - VM0011",
|
1830
|
+
"VCS - VM0012",
|
1831
|
+
"VCS - VM0013",
|
1832
|
+
"VCS - VM0014",
|
1833
|
+
"VCS - VM0015",
|
1834
|
+
"VCS - VM0016",
|
1835
|
+
"VCS - VM0017",
|
1836
|
+
"VCS - VM0018",
|
1837
|
+
"VCS - VM0019",
|
1838
|
+
"VCS - VM0020",
|
1839
|
+
"VCS - VM0021",
|
1840
|
+
"VCS - VM0022",
|
1841
|
+
"VCS - VM0023",
|
1842
|
+
"VCS - VM0024",
|
1843
|
+
"VCS - VM0025",
|
1844
|
+
"VCS - VM0026",
|
1845
|
+
"VCS - VM0027",
|
1846
|
+
"VCS - VM0028",
|
1847
|
+
"VCS - VM0029",
|
1848
|
+
"VCS - VM0030",
|
1849
|
+
"VCS - VM0031",
|
1850
|
+
"VCS - VM0032",
|
1851
|
+
"VCS - VM0033",
|
1852
|
+
"VCS - VM0034",
|
1853
|
+
"VCS - VM0035",
|
1854
|
+
"VCS - VM0036",
|
1855
|
+
"VCS - VM0037",
|
1856
|
+
"VCS - VM0038",
|
1857
|
+
"VCS - VM0039",
|
1858
|
+
"VCS - VM0040",
|
1859
|
+
"VCS - VM0041",
|
1860
|
+
"VCS - VM0042",
|
1861
|
+
"VCS - VM0043",
|
1862
|
+
"VCS - VMR000",
|
1863
|
+
"VCS - VMR006",
|
1864
|
+
"ID_PM044",
|
1865
|
+
"ID_PM043",
|
1866
|
+
"ID_PM042",
|
1867
|
+
"ID_PM041",
|
1868
|
+
"ID_PM040",
|
1869
|
+
"ID_PM039",
|
1870
|
+
"ID_AM028",
|
1871
|
+
"ID_AM027",
|
1872
|
+
"ID_AM026",
|
1873
|
+
"ID_AM025",
|
1874
|
+
"ID_AM024",
|
1875
|
+
"ID_AM023",
|
1876
|
+
"ID_AM022",
|
1877
|
+
"ID_AM021",
|
1878
|
+
"ID_AM020",
|
1879
|
+
"ID_AM006",
|
1880
|
+
"VN_PM028",
|
1881
|
+
"ID_AM019",
|
1882
|
+
"VN_PM027",
|
1883
|
+
"ID_AM018",
|
1884
|
+
"ID_AM007",
|
1885
|
+
"TH_PM026",
|
1886
|
+
"VN_PM026",
|
1887
|
+
"VN_PM025",
|
1888
|
+
"TH_PM025",
|
1889
|
+
"ID_AM009",
|
1890
|
+
"VN_PM024",
|
1891
|
+
"ID_AM017",
|
1892
|
+
"TH_PM024",
|
1893
|
+
"ID_AM016",
|
1894
|
+
"VN_PM023",
|
1895
|
+
"TH_PM023",
|
1896
|
+
"ID_AM015",
|
1897
|
+
"TH_PM022",
|
1898
|
+
"VN_AM015",
|
1899
|
+
"VN_AM009",
|
1900
|
+
"ID_AM014",
|
1901
|
+
"TH_PM021",
|
1902
|
+
"TH_AM017",
|
1903
|
+
"ID_AM013",
|
1904
|
+
"VN_AM014",
|
1905
|
+
"VN_AM013",
|
1906
|
+
"TH_AM016",
|
1907
|
+
"VN_AM012",
|
1908
|
+
"TH_AM015",
|
1909
|
+
"ID_AM011",
|
1910
|
+
"TH_AM001",
|
1911
|
+
"VN_AM011",
|
1912
|
+
"ID_AM012",
|
1913
|
+
"VN_AM010",
|
1914
|
+
"TH_AM014",
|
1915
|
+
"ID_AM008",
|
1916
|
+
"VN_AM006",
|
1917
|
+
"TH_AM013",
|
1918
|
+
"TH_AM012",
|
1919
|
+
"VN_AM004",
|
1920
|
+
"ID_AM005",
|
1921
|
+
"ID_AM004",
|
1922
|
+
"TH_AM011",
|
1923
|
+
"VN_AM003",
|
1924
|
+
"ID_AM003",
|
1925
|
+
"VN_AM002",
|
1926
|
+
"TH_AM010",
|
1927
|
+
"ID_AM002",
|
1928
|
+
"TH_AM009",
|
1929
|
+
"ID_AM010",
|
1930
|
+
"VN_AM008",
|
1931
|
+
"TH_AM008",
|
1932
|
+
"TH_AM005",
|
1933
|
+
"VN_AM007",
|
1934
|
+
"TH_AM007",
|
1935
|
+
"VN_AM001",
|
1936
|
+
"MM_PM007",
|
1937
|
+
"TH_AM006",
|
1938
|
+
"MM_PM006",
|
1939
|
+
"VN_AM005",
|
1940
|
+
"KH_AM004",
|
1941
|
+
"TH_AM002",
|
1942
|
+
"KH_AM005",
|
1943
|
+
"BD_PM005",
|
1944
|
+
"MM_AM005",
|
1945
|
+
"TH_AM004",
|
1946
|
+
"LA_AM004",
|
1947
|
+
"BD_AM001",
|
1948
|
+
"MN_AM003",
|
1949
|
+
"MM_AM004",
|
1950
|
+
"KE_AM003",
|
1951
|
+
"LA_AM003",
|
1952
|
+
"MM_AM003",
|
1953
|
+
"CR_AM003",
|
1954
|
+
"KH_AM003",
|
1955
|
+
"PH_PM003",
|
1956
|
+
"TH_AM003",
|
1957
|
+
"CL_AM001",
|
1958
|
+
"ET_AM003",
|
1959
|
+
"BD_AM003",
|
1960
|
+
"BD_AM002",
|
1961
|
+
"ET_AM002",
|
1962
|
+
"KE_AM002",
|
1963
|
+
"CR_AM002",
|
1964
|
+
"LA_AM002",
|
1965
|
+
"KH_AM002",
|
1966
|
+
"MV_AM002",
|
1967
|
+
"MM_AM002",
|
1968
|
+
"PH_AM002",
|
1969
|
+
"MN_AM002",
|
1970
|
+
"CL_AM002",
|
1971
|
+
"PW_AM001",
|
1972
|
+
"PH_AM001",
|
1973
|
+
"KE_AM001",
|
1974
|
+
"KH_AM001",
|
1975
|
+
"SA_AM001",
|
1976
|
+
"MN_AM001",
|
1977
|
+
"MM_AM001",
|
1978
|
+
"CR_AM001",
|
1979
|
+
"ID_AM001",
|
1980
|
+
"MX_AM001",
|
1981
|
+
"ET_AM001",
|
1982
|
+
"LA_AM001",
|
1983
|
+
"MV_AM001",
|
1984
|
+
"Puro - BIO CHAR",
|
1985
|
+
];
|
1093
1986
|
|
1094
1987
|
var ESGType;
|
1095
1988
|
(function (ESGType) {
|
@@ -4218,6 +5111,26 @@ function requireAgricultureCal () {
|
|
4218
5111
|
return agricultureCal;
|
4219
5112
|
}
|
4220
5113
|
|
5114
|
+
var soilEnrichmentCal = {};
|
5115
|
+
|
5116
|
+
var hasRequiredSoilEnrichmentCal;
|
5117
|
+
|
5118
|
+
function requireSoilEnrichmentCal () {
|
5119
|
+
if (hasRequiredSoilEnrichmentCal) return soilEnrichmentCal;
|
5120
|
+
hasRequiredSoilEnrichmentCal = 1;
|
5121
|
+
Object.defineProperty(soilEnrichmentCal, "__esModule", { value: true });
|
5122
|
+
soilEnrichmentCal.SoilEnrichmentCal = void 0;
|
5123
|
+
const calculator_1 = requireCalculator();
|
5124
|
+
class SoilEnrichmentCal {
|
5125
|
+
static calculate(req) {
|
5126
|
+
const constants = req.soilEnrichmentConstants;
|
5127
|
+
return Number((constants.emissionFactor * req.weight).toFixed(calculator_1.PRECISION));
|
5128
|
+
}
|
5129
|
+
}
|
5130
|
+
soilEnrichmentCal.SoilEnrichmentCal = SoilEnrichmentCal;
|
5131
|
+
return soilEnrichmentCal;
|
5132
|
+
}
|
5133
|
+
|
4221
5134
|
var solarCal = {};
|
4222
5135
|
|
4223
5136
|
var hasRequiredSolarCal;
|
@@ -4294,6 +5207,53 @@ class AgricultureCreationRequest {
|
|
4294
5207
|
}
|
4295
5208
|
agricultureCreationRequest.AgricultureCreationRequest = AgricultureCreationRequest;
|
4296
5209
|
|
5210
|
+
var soilEnrichmentCreationRequest = {};
|
5211
|
+
|
5212
|
+
var soilEnrichmentConstants = {};
|
5213
|
+
|
5214
|
+
Object.defineProperty(soilEnrichmentConstants, "__esModule", { value: true });
|
5215
|
+
soilEnrichmentConstants.SoilEnrichmentConstants = void 0;
|
5216
|
+
class SoilEnrichmentConstants {
|
5217
|
+
constructor() {
|
5218
|
+
this.emissionFactor = 3.66;
|
5219
|
+
this.emissionFactorUnit = "tCO2e"; // emission factor
|
5220
|
+
}
|
5221
|
+
}
|
5222
|
+
soilEnrichmentConstants.SoilEnrichmentConstants = SoilEnrichmentConstants;
|
5223
|
+
|
5224
|
+
Object.defineProperty(soilEnrichmentCreationRequest, "__esModule", { value: true });
|
5225
|
+
soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = void 0;
|
5226
|
+
const soilEnrichmentConstants_1 = soilEnrichmentConstants;
|
5227
|
+
class SoilEnrichmentCreationRequest {
|
5228
|
+
constructor() {
|
5229
|
+
this.soilEnrichmentConstants = new soilEnrichmentConstants_1.SoilEnrichmentConstants();
|
5230
|
+
}
|
5231
|
+
}
|
5232
|
+
soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = SoilEnrichmentCreationRequest;
|
5233
|
+
|
5234
|
+
var stovesHousesNamibiaCreationRequest = {};
|
5235
|
+
|
5236
|
+
var stovesHousesNamibiaConstants = {};
|
5237
|
+
|
5238
|
+
Object.defineProperty(stovesHousesNamibiaConstants, "__esModule", { value: true });
|
5239
|
+
stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = void 0;
|
5240
|
+
class StovesHousesNamibiaConstants {
|
5241
|
+
constructor() {
|
5242
|
+
this.emissionFactor = 0.1;
|
5243
|
+
}
|
5244
|
+
}
|
5245
|
+
stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = StovesHousesNamibiaConstants;
|
5246
|
+
|
5247
|
+
Object.defineProperty(stovesHousesNamibiaCreationRequest, "__esModule", { value: true });
|
5248
|
+
stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = void 0;
|
5249
|
+
const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
|
5250
|
+
class StovesHousesNamibiaCreationRequest {
|
5251
|
+
constructor() {
|
5252
|
+
this.stovesHousesNamibiaConstants = new stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants();
|
5253
|
+
}
|
5254
|
+
}
|
5255
|
+
stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = StovesHousesNamibiaCreationRequest;
|
5256
|
+
|
4297
5257
|
var solarCreationRequest = {};
|
4298
5258
|
|
4299
5259
|
var solarConstants = {};
|
@@ -4331,6 +5291,134 @@ class SolarCreationRequest {
|
|
4331
5291
|
}
|
4332
5292
|
solarCreationRequest.SolarCreationRequest = SolarCreationRequest;
|
4333
5293
|
|
5294
|
+
var stovesHousesNamibiaCal = {};
|
5295
|
+
|
5296
|
+
var hasRequiredStovesHousesNamibiaCal;
|
5297
|
+
|
5298
|
+
function requireStovesHousesNamibiaCal () {
|
5299
|
+
if (hasRequiredStovesHousesNamibiaCal) return stovesHousesNamibiaCal;
|
5300
|
+
hasRequiredStovesHousesNamibiaCal = 1;
|
5301
|
+
Object.defineProperty(stovesHousesNamibiaCal, "__esModule", { value: true });
|
5302
|
+
stovesHousesNamibiaCal.StovesHousesNamibiaCal = void 0;
|
5303
|
+
const calculator_1 = requireCalculator();
|
5304
|
+
class StovesHousesNamibiaCal {
|
5305
|
+
static calculate(req) {
|
5306
|
+
const constants = req.stovesHousesNamibiaConstants;
|
5307
|
+
return Number((constants.emissionFactor * req.numberOfDays * req.numberOfPeopleInHousehold).toFixed(calculator_1.PRECISION));
|
5308
|
+
}
|
5309
|
+
}
|
5310
|
+
stovesHousesNamibiaCal.StovesHousesNamibiaCal = StovesHousesNamibiaCal;
|
5311
|
+
return stovesHousesNamibiaCal;
|
5312
|
+
}
|
5313
|
+
|
5314
|
+
var solarWaterPumpingOffGridCreationRequest = {};
|
5315
|
+
|
5316
|
+
var solarWaterPumpingOffGridConstants = {};
|
5317
|
+
|
5318
|
+
Object.defineProperty(solarWaterPumpingOffGridConstants, "__esModule", { value: true });
|
5319
|
+
solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = void 0;
|
5320
|
+
class SolarWaterPumpingOffGridConstants {
|
5321
|
+
constructor() {
|
5322
|
+
this.emissionFactor = 1.3;
|
5323
|
+
this.emissionFactorUnit = "kWh/year";
|
5324
|
+
}
|
5325
|
+
}
|
5326
|
+
solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = SolarWaterPumpingOffGridConstants;
|
5327
|
+
|
5328
|
+
Object.defineProperty(solarWaterPumpingOffGridCreationRequest, "__esModule", { value: true });
|
5329
|
+
solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = void 0;
|
5330
|
+
const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
|
5331
|
+
class SolarWaterPumpingOffGridCreationRequest {
|
5332
|
+
constructor() {
|
5333
|
+
this.solarWaterPumpingOffGridConstants = new solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants();
|
5334
|
+
}
|
5335
|
+
}
|
5336
|
+
solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = SolarWaterPumpingOffGridCreationRequest;
|
5337
|
+
|
5338
|
+
var solarWaterPumpingOffGridCal = {};
|
5339
|
+
|
5340
|
+
var hasRequiredSolarWaterPumpingOffGridCal;
|
5341
|
+
|
5342
|
+
function requireSolarWaterPumpingOffGridCal () {
|
5343
|
+
if (hasRequiredSolarWaterPumpingOffGridCal) return solarWaterPumpingOffGridCal;
|
5344
|
+
hasRequiredSolarWaterPumpingOffGridCal = 1;
|
5345
|
+
Object.defineProperty(solarWaterPumpingOffGridCal, "__esModule", { value: true });
|
5346
|
+
solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = void 0;
|
5347
|
+
const calculator_1 = requireCalculator();
|
5348
|
+
var convert = lib;
|
5349
|
+
let solarWaterPumpingOffGridCal$1 = class solarWaterPumpingOffGridCal {
|
5350
|
+
static calculate(req) {
|
5351
|
+
const constants = req.solarWaterPumpingOffGridConstants;
|
5352
|
+
const emissionUnitParts = constants.emissionFactorUnit.split('/');
|
5353
|
+
if (emissionUnitParts.length != 2) {
|
5354
|
+
throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
|
5355
|
+
}
|
5356
|
+
const measuredUnitParts = req.energyGenerationUnit.split('/');
|
5357
|
+
if (measuredUnitParts.length != 3) {
|
5358
|
+
throw Error("Invalid measured unit " + req.energyGenerationUnit);
|
5359
|
+
}
|
5360
|
+
const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
|
5361
|
+
return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
|
5362
|
+
}
|
5363
|
+
};
|
5364
|
+
solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = solarWaterPumpingOffGridCal$1;
|
5365
|
+
return solarWaterPumpingOffGridCal;
|
5366
|
+
}
|
5367
|
+
|
5368
|
+
var solarWaterPumpingOnGridCreationRequest = {};
|
5369
|
+
|
5370
|
+
var solarWaterPumpingOnGridConstants = {};
|
5371
|
+
|
5372
|
+
Object.defineProperty(solarWaterPumpingOnGridConstants, "__esModule", { value: true });
|
5373
|
+
solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = void 0;
|
5374
|
+
class SolarWaterPumpingOnGridConstants {
|
5375
|
+
constructor() {
|
5376
|
+
this.emissionFactor = 1.06;
|
5377
|
+
this.emissionFactorUnit = "kWh/year";
|
5378
|
+
}
|
5379
|
+
}
|
5380
|
+
solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = SolarWaterPumpingOnGridConstants;
|
5381
|
+
|
5382
|
+
Object.defineProperty(solarWaterPumpingOnGridCreationRequest, "__esModule", { value: true });
|
5383
|
+
solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = void 0;
|
5384
|
+
const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
|
5385
|
+
class SolarWaterPumpingOnGridCreationRequest {
|
5386
|
+
constructor() {
|
5387
|
+
this.solarWaterPumpingOnGridConstants = new solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants();
|
5388
|
+
}
|
5389
|
+
}
|
5390
|
+
solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = SolarWaterPumpingOnGridCreationRequest;
|
5391
|
+
|
5392
|
+
var solarWaterPumpingOnGridCal = {};
|
5393
|
+
|
5394
|
+
var hasRequiredSolarWaterPumpingOnGridCal;
|
5395
|
+
|
5396
|
+
function requireSolarWaterPumpingOnGridCal () {
|
5397
|
+
if (hasRequiredSolarWaterPumpingOnGridCal) return solarWaterPumpingOnGridCal;
|
5398
|
+
hasRequiredSolarWaterPumpingOnGridCal = 1;
|
5399
|
+
Object.defineProperty(solarWaterPumpingOnGridCal, "__esModule", { value: true });
|
5400
|
+
solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = void 0;
|
5401
|
+
const calculator_1 = requireCalculator();
|
5402
|
+
var convert = lib;
|
5403
|
+
let solarWaterPumpingOnGridCal$1 = class solarWaterPumpingOnGridCal {
|
5404
|
+
static calculate(req) {
|
5405
|
+
const constants = req.solarWaterPumpingOnGridConstants;
|
5406
|
+
const emissionUnitParts = constants.emissionFactorUnit.split('/');
|
5407
|
+
if (emissionUnitParts.length != 2) {
|
5408
|
+
throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
|
5409
|
+
}
|
5410
|
+
const measuredUnitParts = req.energyGenerationUnit.split('/');
|
5411
|
+
if (measuredUnitParts.length != 3) {
|
5412
|
+
throw Error("Invalid measured unit " + req.energyGenerationUnit);
|
5413
|
+
}
|
5414
|
+
const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
|
5415
|
+
return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
|
5416
|
+
}
|
5417
|
+
};
|
5418
|
+
solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = solarWaterPumpingOnGridCal$1;
|
5419
|
+
return solarWaterPumpingOnGridCal;
|
5420
|
+
}
|
5421
|
+
|
4334
5422
|
var hasRequiredCalculator;
|
4335
5423
|
|
4336
5424
|
function requireCalculator () {
|
@@ -4339,9 +5427,17 @@ function requireCalculator () {
|
|
4339
5427
|
Object.defineProperty(calculator, "__esModule", { value: true });
|
4340
5428
|
calculator.calculateCredit = calculator.PRECISION = void 0;
|
4341
5429
|
const agricultureCal_1 = requireAgricultureCal();
|
5430
|
+
const soilEnrichmentCal_1 = requireSoilEnrichmentCal();
|
4342
5431
|
const solarCal_1 = requireSolarCal();
|
4343
5432
|
const agricultureCreationRequest_1 = agricultureCreationRequest;
|
5433
|
+
const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
|
5434
|
+
const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
|
4344
5435
|
const solarCreationRequest_1 = solarCreationRequest;
|
5436
|
+
const stovesHousesNamibiaCal_1 = requireStovesHousesNamibiaCal();
|
5437
|
+
const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
|
5438
|
+
const solarWaterPumpingOffGridCal_1 = requireSolarWaterPumpingOffGridCal();
|
5439
|
+
const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
|
5440
|
+
const solarWaterPumpingOnGridCal_1 = requireSolarWaterPumpingOnGridCal();
|
4345
5441
|
calculator.PRECISION = 2;
|
4346
5442
|
const calculateCredit = (request) => {
|
4347
5443
|
if (request instanceof agricultureCreationRequest_1.AgricultureCreationRequest) {
|
@@ -4350,6 +5446,18 @@ function requireCalculator () {
|
|
4350
5446
|
else if (request instanceof solarCreationRequest_1.SolarCreationRequest) {
|
4351
5447
|
return solarCal_1.SolarCal.calculate(request);
|
4352
5448
|
}
|
5449
|
+
else if (request instanceof soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest) {
|
5450
|
+
return soilEnrichmentCal_1.SoilEnrichmentCal.calculate(request);
|
5451
|
+
}
|
5452
|
+
else if (request instanceof stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest) {
|
5453
|
+
return stovesHousesNamibiaCal_1.StovesHousesNamibiaCal.calculate(request);
|
5454
|
+
}
|
5455
|
+
else if (request instanceof solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest) {
|
5456
|
+
return solarWaterPumpingOffGridCal_1.solarWaterPumpingOffGridCal.calculate(request);
|
5457
|
+
}
|
5458
|
+
else if (request instanceof solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest) {
|
5459
|
+
return solarWaterPumpingOnGridCal_1.solarWaterPumpingOnGridCal.calculate(request);
|
5460
|
+
}
|
4353
5461
|
else {
|
4354
5462
|
throw Error("Not implemented");
|
4355
5463
|
}
|
@@ -4360,25 +5468,24 @@ function requireCalculator () {
|
|
4360
5468
|
|
4361
5469
|
var building_type_enum = {};
|
4362
5470
|
|
4363
|
-
(
|
4364
|
-
|
4365
|
-
|
4366
|
-
|
4367
|
-
|
4368
|
-
|
4369
|
-
|
4370
|
-
|
4371
|
-
|
4372
|
-
|
4373
|
-
|
4374
|
-
|
4375
|
-
|
4376
|
-
|
4377
|
-
} (building_type_enum));
|
5471
|
+
Object.defineProperty(building_type_enum, "__esModule", { value: true });
|
5472
|
+
building_type_enum.BuildingType = void 0;
|
5473
|
+
var BuildingType;
|
5474
|
+
(function (BuildingType) {
|
5475
|
+
BuildingType["Household"] = "Household";
|
5476
|
+
BuildingType["HealthCenter"] = "HealthCenter";
|
5477
|
+
BuildingType["Dispensary"] = "Dispensary";
|
5478
|
+
BuildingType["School"] = "School";
|
5479
|
+
BuildingType["PrimarySchool"] = "PrimarySchool";
|
5480
|
+
BuildingType["SecondarySchool"] = "SecondarySchool";
|
5481
|
+
BuildingType["PublicAdministration"] = "PublicAdministration";
|
5482
|
+
BuildingType["TradingPlace"] = "TradingPlace";
|
5483
|
+
BuildingType["BusStop"] = "BusStop";
|
5484
|
+
})(BuildingType || (building_type_enum.BuildingType = BuildingType = {}));
|
4378
5485
|
|
4379
5486
|
(function (exports) {
|
4380
5487
|
Object.defineProperty(exports, "__esModule", { value: true });
|
4381
|
-
exports.BuildingType = exports.SolarConstants = exports.AgricultureConstants = exports.AgricultureCreationRequest = exports.SolarCreationRequest = exports.calculateCredit = void 0;
|
5488
|
+
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;
|
4382
5489
|
const calculator_1 = requireCalculator();
|
4383
5490
|
Object.defineProperty(exports, "calculateCredit", { enumerable: true, get: function () { return calculator_1.calculateCredit; } });
|
4384
5491
|
const agricultureConstants_1 = agricultureConstants;
|
@@ -4390,7 +5497,23 @@ var building_type_enum = {};
|
|
4390
5497
|
const agricultureCreationRequest_1 = agricultureCreationRequest;
|
4391
5498
|
Object.defineProperty(exports, "AgricultureCreationRequest", { enumerable: true, get: function () { return agricultureCreationRequest_1.AgricultureCreationRequest; } });
|
4392
5499
|
const solarCreationRequest_1 = solarCreationRequest;
|
4393
|
-
Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
|
5500
|
+
Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
|
5501
|
+
const soilEnrichmentConstants_1 = soilEnrichmentConstants;
|
5502
|
+
Object.defineProperty(exports, "SoilEnrichmentConstants", { enumerable: true, get: function () { return soilEnrichmentConstants_1.SoilEnrichmentConstants; } });
|
5503
|
+
const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
|
5504
|
+
Object.defineProperty(exports, "SoilEnrichmentCreationRequest", { enumerable: true, get: function () { return soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest; } });
|
5505
|
+
const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
|
5506
|
+
Object.defineProperty(exports, "StovesHousesNamibiaConstants", { enumerable: true, get: function () { return stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants; } });
|
5507
|
+
const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
|
5508
|
+
Object.defineProperty(exports, "StovesHousesNamibiaCreationRequest", { enumerable: true, get: function () { return stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest; } });
|
5509
|
+
const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
|
5510
|
+
Object.defineProperty(exports, "SolarWaterPumpingOffGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants; } });
|
5511
|
+
const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
|
5512
|
+
Object.defineProperty(exports, "SolarWaterPumpingOffGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest; } });
|
5513
|
+
const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
|
5514
|
+
Object.defineProperty(exports, "SolarWaterPumpingOnGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants; } });
|
5515
|
+
const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
|
5516
|
+
Object.defineProperty(exports, "SolarWaterPumpingOnGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest; } });
|
4394
5517
|
} (cjs));
|
4395
5518
|
|
4396
5519
|
var consumerGroupList = [
|
@@ -5765,15 +6888,14 @@ var ProgrammeManagementComponent = function (props) {
|
|
5765
6888
|
var _p = useState(false), ministryLevelFilter = _p[0], setMinistryLevelFilter = _p[1];
|
5766
6889
|
var userInfoState = useUserContext().userInfoState;
|
5767
6890
|
var ability = useAbilityContext();
|
5768
|
-
var _q = useState(), dataQuery = _q[0], setDataQuery = _q[1];
|
5769
6891
|
var stageObject = enableAddProgramme ? ProgrammeStageMRV : ProgrammeStageR;
|
5770
6892
|
var statusOptions = Object.keys(stageObject).map(function (k, index) { return ({
|
5771
6893
|
label: Object.values(stageObject)[index],
|
5772
6894
|
value: k,
|
5773
6895
|
}); });
|
5774
|
-
var
|
5775
|
-
var
|
5776
|
-
var
|
6896
|
+
var _q = useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _q[0], setSelectedStatus = _q[1];
|
6897
|
+
var _r = useState(false), indeterminate = _r[0], setIndeterminate = _r[1];
|
6898
|
+
var _s = useState(true), checkAll = _s[0], setCheckAll = _s[1];
|
5777
6899
|
var onStatusQuery = function (checkedValues) { return __awaiter(void 0, void 0, void 0, function () {
|
5778
6900
|
return __generator(this, function (_a) {
|
5779
6901
|
console.log(checkedValues);
|
@@ -6016,11 +7138,6 @@ var ProgrammeManagementComponent = function (props) {
|
|
6016
7138
|
setTableData(response.data);
|
6017
7139
|
setTotalProgramme(response.response.data.total);
|
6018
7140
|
setLoading(false);
|
6019
|
-
setDataQuery({
|
6020
|
-
filterAnd: filter,
|
6021
|
-
filterOr: (filterOr === null || filterOr === void 0 ? void 0 : filterOr.length) > 0 ? filterOr : undefined,
|
6022
|
-
sort: sort,
|
6023
|
-
});
|
6024
7141
|
return [3 /*break*/, 4];
|
6025
7142
|
case 3:
|
6026
7143
|
error_1 = _a.sent();
|
@@ -6078,44 +7195,6 @@ var ProgrammeManagementComponent = function (props) {
|
|
6078
7195
|
}
|
6079
7196
|
});
|
6080
7197
|
}); };
|
6081
|
-
var downloadProgrammeData = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6082
|
-
var response, url, a, error_3;
|
6083
|
-
var _a;
|
6084
|
-
return __generator(this, function (_b) {
|
6085
|
-
switch (_b.label) {
|
6086
|
-
case 0:
|
6087
|
-
setLoading(true);
|
6088
|
-
_b.label = 1;
|
6089
|
-
case 1:
|
6090
|
-
_b.trys.push([1, 3, , 4]);
|
6091
|
-
return [4 /*yield*/, post("national/programme/download", {
|
6092
|
-
filterAnd: dataQuery.filterAnd,
|
6093
|
-
filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
|
6094
|
-
sort: dataQuery.sort,
|
6095
|
-
})];
|
6096
|
-
case 2:
|
6097
|
-
response = _b.sent();
|
6098
|
-
if (response && response.data) {
|
6099
|
-
url = response.data.url;
|
6100
|
-
a = document.createElement('a');
|
6101
|
-
a.href = url;
|
6102
|
-
a.download = response.data.csvFile; // Specify the filename for the downloaded file
|
6103
|
-
document.body.appendChild(a);
|
6104
|
-
a.click();
|
6105
|
-
document.body.removeChild(a); // Clean up the created <a> element
|
6106
|
-
window.URL.revokeObjectURL(url);
|
6107
|
-
}
|
6108
|
-
setLoading(false);
|
6109
|
-
return [3 /*break*/, 4];
|
6110
|
-
case 3:
|
6111
|
-
error_3 = _b.sent();
|
6112
|
-
console.log("Error in downloading programme data", error_3);
|
6113
|
-
setLoading(false);
|
6114
|
-
return [3 /*break*/, 4];
|
6115
|
-
case 4: return [2 /*return*/];
|
6116
|
-
}
|
6117
|
-
});
|
6118
|
-
}); };
|
6119
7198
|
var onSearch = function () { return __awaiter(void 0, void 0, void 0, function () {
|
6120
7199
|
return __generator(this, function (_a) {
|
6121
7200
|
setSearch(searchText);
|
@@ -6204,10 +7283,7 @@ var ProgrammeManagementComponent = function (props) {
|
|
6204
7283
|
return e.target.value === ""
|
6205
7284
|
? setSearch(e.target.value)
|
6206
7285
|
: setSearchText(e.target.value);
|
6207
|
-
}, onSearch: setSearch, style: { width: 265 } })),
|
6208
|
-
React.createElement("div", { className: "download-data-btn" },
|
6209
|
-
React.createElement("a", { onClick: downloadProgrammeData },
|
6210
|
-
React.createElement(DownloadOutlined, null)))))),
|
7286
|
+
}, onSearch: setSearch, style: { width: 265 } }))))),
|
6211
7287
|
React.createElement(Row, null,
|
6212
7288
|
React.createElement(Col, { span: 24 },
|
6213
7289
|
React.createElement("div", { className: "programmeManagement-table-container" },
|
@@ -13555,7 +14631,6 @@ var UserManagementComponent = function (props) {
|
|
13555
14631
|
var _r = useState({}), actionInfo = _r[0], setActionInfo = _r[1];
|
13556
14632
|
var _s = useState(""), errorMsg = _s[0], setErrorMsg = _s[1];
|
13557
14633
|
var _t = useState(false), openDeleteConfirmationModal = _t[0], setOpenDeleteConfirmationModal = _t[1];
|
13558
|
-
var _u = useState(), dataQuery = _u[0], setDataQuery = _u[1];
|
13559
14634
|
var ability = useAbilityContext();
|
13560
14635
|
document.addEventListener("mousedown", function (event) {
|
13561
14636
|
var userFilterArea1 = document.querySelector(".filter-bar");
|
@@ -13911,11 +14986,6 @@ var UserManagementComponent = function (props) {
|
|
13911
14986
|
setTableData(availableUsers);
|
13912
14987
|
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);
|
13913
14988
|
}
|
13914
|
-
setDataQuery({
|
13915
|
-
filterAnd: filterAnd(),
|
13916
|
-
filterOr: filterOr(),
|
13917
|
-
sort: sort(),
|
13918
|
-
});
|
13919
14989
|
setLoading(false);
|
13920
14990
|
return [3 /*break*/, 4];
|
13921
14991
|
case 3:
|
@@ -13933,44 +15003,6 @@ var UserManagementComponent = function (props) {
|
|
13933
15003
|
}
|
13934
15004
|
});
|
13935
15005
|
}); };
|
13936
|
-
var downloadUserData = function () { return __awaiter(void 0, void 0, void 0, function () {
|
13937
|
-
var response, url, a, error_3;
|
13938
|
-
var _a;
|
13939
|
-
return __generator(this, function (_b) {
|
13940
|
-
switch (_b.label) {
|
13941
|
-
case 0:
|
13942
|
-
setLoading(true);
|
13943
|
-
_b.label = 1;
|
13944
|
-
case 1:
|
13945
|
-
_b.trys.push([1, 3, , 4]);
|
13946
|
-
return [4 /*yield*/, post("national/user/download", {
|
13947
|
-
filterAnd: dataQuery.filterAnd,
|
13948
|
-
filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
|
13949
|
-
sort: dataQuery.sort,
|
13950
|
-
})];
|
13951
|
-
case 2:
|
13952
|
-
response = _b.sent();
|
13953
|
-
if (response && response.data) {
|
13954
|
-
url = response.data.url;
|
13955
|
-
a = document.createElement('a');
|
13956
|
-
a.href = url;
|
13957
|
-
a.download = response.data.csvFile; // Specify the filename for the downloaded file
|
13958
|
-
document.body.appendChild(a);
|
13959
|
-
a.click();
|
13960
|
-
document.body.removeChild(a); // Clean up the created <a> element
|
13961
|
-
window.URL.revokeObjectURL(url);
|
13962
|
-
}
|
13963
|
-
setLoading(false);
|
13964
|
-
return [3 /*break*/, 4];
|
13965
|
-
case 3:
|
13966
|
-
error_3 = _b.sent();
|
13967
|
-
console.log("Error in downloading user data", error_3);
|
13968
|
-
setLoading(false);
|
13969
|
-
return [3 /*break*/, 4];
|
13970
|
-
case 4: return [2 /*return*/];
|
13971
|
-
}
|
13972
|
-
});
|
13973
|
-
}); };
|
13974
15006
|
useEffect(function () {
|
13975
15007
|
getAllUser();
|
13976
15008
|
}, [
|
@@ -14093,13 +15125,7 @@ var UserManagementComponent = function (props) {
|
|
14093
15125
|
React.createElement(FilterOutlined, { style: {
|
14094
15126
|
color: "rgba(58, 53, 65, 0.3)",
|
14095
15127
|
fontSize: "20px",
|
14096
|
-
} })))),
|
14097
|
-
React.createElement("div", { className: "download-data-btn" },
|
14098
|
-
React.createElement("a", { onClick: downloadUserData },
|
14099
|
-
React.createElement(DownloadOutlined, { style: {
|
14100
|
-
color: "rgba(58, 53, 65, 0.3)",
|
14101
|
-
fontSize: "20px",
|
14102
|
-
} })))))),
|
15128
|
+
} }))))))),
|
14103
15129
|
React.createElement(Row, null,
|
14104
15130
|
React.createElement(Col, { span: 24 },
|
14105
15131
|
React.createElement("div", { className: "userManagement-table-container" },
|
@@ -14716,7 +15742,6 @@ var InvestmentManagementComponent = function (props) {
|
|
14716
15742
|
var _u = useSettingsContext(), isTransferFrozen = _u.isTransferFrozen; _u.setTransferFrozen;
|
14717
15743
|
var _v = useState([]), ministrySectoralScope = _v[0], setMinistrySectoralScope = _v[1];
|
14718
15744
|
var _w = useState(false), ministryLevelFilter = _w[0], setMinistryLevelFilter = _w[1];
|
14719
|
-
var _x = useState(), dataQuery = _x[0], setDataQuery = _x[1];
|
14720
15745
|
var onStatusQuery = function (checkedValues) { return __awaiter(void 0, void 0, void 0, function () {
|
14721
15746
|
return __generator(this, function (_a) {
|
14722
15747
|
console.log(checkedValues);
|
@@ -14813,12 +15838,6 @@ var InvestmentManagementComponent = function (props) {
|
|
14813
15838
|
console.log(response);
|
14814
15839
|
setTableData(response.data);
|
14815
15840
|
setTotalProgramme(response.response.data.total);
|
14816
|
-
setDataQuery({
|
14817
|
-
filterAnd: filter,
|
14818
|
-
filterOr: dataFilter,
|
14819
|
-
sort: sort,
|
14820
|
-
filterBy: filterBy,
|
14821
|
-
});
|
14822
15841
|
setLoading(false);
|
14823
15842
|
return [3 /*break*/, 4];
|
14824
15843
|
case 3:
|
@@ -14836,47 +15855,8 @@ var InvestmentManagementComponent = function (props) {
|
|
14836
15855
|
}
|
14837
15856
|
});
|
14838
15857
|
}); };
|
14839
|
-
var downloadInvestmentData = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14840
|
-
var response, url, a, error_2;
|
14841
|
-
var _a;
|
14842
|
-
return __generator(this, function (_b) {
|
14843
|
-
switch (_b.label) {
|
14844
|
-
case 0:
|
14845
|
-
setLoading(true);
|
14846
|
-
_b.label = 1;
|
14847
|
-
case 1:
|
14848
|
-
_b.trys.push([1, 3, , 4]);
|
14849
|
-
return [4 /*yield*/, post("national/programme/investments/download", {
|
14850
|
-
filterAnd: dataQuery.filterAnd,
|
14851
|
-
filterOr: ((_a = dataQuery.filterOr) === null || _a === void 0 ? void 0 : _a.length) > 0 ? dataQuery.filterOr : undefined,
|
14852
|
-
sort: dataQuery.sort,
|
14853
|
-
filterBy: dataQuery.filterBy,
|
14854
|
-
})];
|
14855
|
-
case 2:
|
14856
|
-
response = _b.sent();
|
14857
|
-
if (response && response.data) {
|
14858
|
-
url = response.data.url;
|
14859
|
-
a = document.createElement('a');
|
14860
|
-
a.href = url;
|
14861
|
-
a.download = response.data.csvFile; // Specify the filename for the downloaded file
|
14862
|
-
document.body.appendChild(a);
|
14863
|
-
a.click();
|
14864
|
-
document.body.removeChild(a); // Clean up the created <a> element
|
14865
|
-
window.URL.revokeObjectURL(url);
|
14866
|
-
}
|
14867
|
-
setLoading(false);
|
14868
|
-
return [3 /*break*/, 4];
|
14869
|
-
case 3:
|
14870
|
-
error_2 = _b.sent();
|
14871
|
-
console.log("Error in downloading investment data", error_2);
|
14872
|
-
setLoading(false);
|
14873
|
-
return [3 /*break*/, 4];
|
14874
|
-
case 4: return [2 /*return*/];
|
14875
|
-
}
|
14876
|
-
});
|
14877
|
-
}); };
|
14878
15858
|
var getUserDetails = function () { return __awaiter(void 0, void 0, void 0, function () {
|
14879
|
-
var response,
|
15859
|
+
var response, error_2;
|
14880
15860
|
var _a, _b, _c, _d, _e, _f;
|
14881
15861
|
return __generator(this, function (_g) {
|
14882
15862
|
switch (_g.label) {
|
@@ -14908,8 +15888,8 @@ var InvestmentManagementComponent = function (props) {
|
|
14908
15888
|
setLoading(false);
|
14909
15889
|
return [3 /*break*/, 4];
|
14910
15890
|
case 3:
|
14911
|
-
|
14912
|
-
console.log("Error in getting users",
|
15891
|
+
error_2 = _g.sent();
|
15892
|
+
console.log("Error in getting users", error_2);
|
14913
15893
|
setLoading(false);
|
14914
15894
|
return [3 /*break*/, 4];
|
14915
15895
|
case 4: return [2 /*return*/];
|
@@ -14940,7 +15920,7 @@ var InvestmentManagementComponent = function (props) {
|
|
14940
15920
|
ministryLevelFilter,
|
14941
15921
|
]);
|
14942
15922
|
var handleRequestOk = function (reqId, remarks, endpoint, successText, isRetire) { return __awaiter(void 0, void 0, void 0, function () {
|
14943
|
-
var response, successMsg,
|
15923
|
+
var response, successMsg, error_3;
|
14944
15924
|
return __generator(this, function (_a) {
|
14945
15925
|
switch (_a.label) {
|
14946
15926
|
case 0:
|
@@ -14970,10 +15950,10 @@ var InvestmentManagementComponent = function (props) {
|
|
14970
15950
|
setModalVisible(false);
|
14971
15951
|
return [3 /*break*/, 4];
|
14972
15952
|
case 3:
|
14973
|
-
|
14974
|
-
console.log("Error in Cancelling transfer request",
|
15953
|
+
error_3 = _a.sent();
|
15954
|
+
console.log("Error in Cancelling transfer request", error_3);
|
14975
15955
|
setLoading(false);
|
14976
|
-
return [2 /*return*/,
|
15956
|
+
return [2 /*return*/, error_3.message];
|
14977
15957
|
case 4: return [2 /*return*/];
|
14978
15958
|
}
|
14979
15959
|
});
|
@@ -15238,13 +16218,7 @@ var InvestmentManagementComponent = function (props) {
|
|
15238
16218
|
return e.target.value === ""
|
15239
16219
|
? setSearch(e.target.value)
|
15240
16220
|
: setSearchText(e.target.value);
|
15241
|
-
}, onSearch: setSearch, style: { width: 265 } })),
|
15242
|
-
React.createElement("div", { className: "download-data-btn" },
|
15243
|
-
React.createElement("a", { onClick: downloadInvestmentData },
|
15244
|
-
React.createElement(DownloadOutlined, { style: {
|
15245
|
-
color: "rgba(58, 53, 65, 0.3)",
|
15246
|
-
fontSize: "20px",
|
15247
|
-
} })))))),
|
16221
|
+
}, onSearch: setSearch, style: { width: 265 } }))))),
|
15248
16222
|
React.createElement(Row, null,
|
15249
16223
|
React.createElement(Col, { span: 24 },
|
15250
16224
|
React.createElement("div", { className: "programmeManagement-table-container" },
|
@@ -15287,7 +16261,6 @@ var NdcActionManagementComponent = function (props) {
|
|
15287
16261
|
var _m = useState(), dataFilter = _m[0]; _m[1];
|
15288
16262
|
var _o = useState([]), ministrySectoralScope = _o[0], setMinistrySectoralScope = _o[1];
|
15289
16263
|
var _p = useState(false), ministryLevelFilter = _p[0], setMinistryLevelFilter = _p[1];
|
15290
|
-
var _q = useState(), dataQuery = _q[0], setDataQuery = _q[1];
|
15291
16264
|
var Search = Input.Search;
|
15292
16265
|
var post = useConnection().post;
|
15293
16266
|
var userInfoState = useUserContext().userInfoState;
|
@@ -15295,7 +16268,7 @@ var NdcActionManagementComponent = function (props) {
|
|
15295
16268
|
label: addSpaces(Object.values(NdcActionStatus)[index]),
|
15296
16269
|
value: Object.values(NdcActionStatus)[index],
|
15297
16270
|
}); });
|
15298
|
-
var
|
16271
|
+
var _q = useState(statusOptions.map(function (e) { return e.value; })), selectedStatus = _q[0], setSelectedStatus = _q[1];
|
15299
16272
|
var getNdcActionNames = function (action) {
|
15300
16273
|
switch (action) {
|
15301
16274
|
case NdcActionTypes.Adaptation:
|
@@ -15477,11 +16450,6 @@ var NdcActionManagementComponent = function (props) {
|
|
15477
16450
|
response = _a.sent();
|
15478
16451
|
setTableData(response.data);
|
15479
16452
|
setTotalProgramme(response.response.data.total);
|
15480
|
-
setDataQuery({
|
15481
|
-
filterAnd: filter,
|
15482
|
-
filterBy: filterBy,
|
15483
|
-
sort: sort,
|
15484
|
-
});
|
15485
16453
|
setLoading(false);
|
15486
16454
|
return [3 /*break*/, 4];
|
15487
16455
|
case 3:
|
@@ -15540,43 +16508,6 @@ var NdcActionManagementComponent = function (props) {
|
|
15540
16508
|
}
|
15541
16509
|
});
|
15542
16510
|
}); };
|
15543
|
-
var downloadNdcData = function () { return __awaiter(void 0, void 0, void 0, function () {
|
15544
|
-
var response, url, a, error_3;
|
15545
|
-
return __generator(this, function (_a) {
|
15546
|
-
switch (_a.label) {
|
15547
|
-
case 0:
|
15548
|
-
setLoading(true);
|
15549
|
-
_a.label = 1;
|
15550
|
-
case 1:
|
15551
|
-
_a.trys.push([1, 3, , 4]);
|
15552
|
-
return [4 /*yield*/, post("national/programme/queryNdcActions/download", {
|
15553
|
-
filterAnd: dataQuery.filterAnd,
|
15554
|
-
filterBy: dataQuery.filterBy,
|
15555
|
-
sort: dataQuery.sort,
|
15556
|
-
})];
|
15557
|
-
case 2:
|
15558
|
-
response = _a.sent();
|
15559
|
-
if (response && response.data) {
|
15560
|
-
url = response.data.url;
|
15561
|
-
a = document.createElement('a');
|
15562
|
-
a.href = url;
|
15563
|
-
a.download = response.data.csvFile; // Specify the filename for the downloaded file
|
15564
|
-
document.body.appendChild(a);
|
15565
|
-
a.click();
|
15566
|
-
document.body.removeChild(a); // Clean up the created <a> element
|
15567
|
-
window.URL.revokeObjectURL(url);
|
15568
|
-
}
|
15569
|
-
setLoading(false);
|
15570
|
-
return [3 /*break*/, 4];
|
15571
|
-
case 3:
|
15572
|
-
error_3 = _a.sent();
|
15573
|
-
console.log("Error in downloading NDC Action data", error_3);
|
15574
|
-
setLoading(false);
|
15575
|
-
return [3 /*break*/, 4];
|
15576
|
-
case 4: return [2 /*return*/];
|
15577
|
-
}
|
15578
|
-
});
|
15579
|
-
}); };
|
15580
16511
|
useEffect(function () {
|
15581
16512
|
if ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) === CompanyRole.MINISTRY) {
|
15582
16513
|
getUserDetails();
|
@@ -15672,13 +16603,7 @@ var NdcActionManagementComponent = function (props) {
|
|
15672
16603
|
return e.target.value === ""
|
15673
16604
|
? setSearch(e.target.value)
|
15674
16605
|
: setSearchText(e.target.value);
|
15675
|
-
}, onSearch: setSearch, style: { width: 265 } })),
|
15676
|
-
React.createElement("div", { className: "download-data-btn" },
|
15677
|
-
React.createElement("a", { onClick: downloadNdcData },
|
15678
|
-
React.createElement(DownloadOutlined, { style: {
|
15679
|
-
color: "rgba(58, 53, 65, 0.3)",
|
15680
|
-
fontSize: "20px",
|
15681
|
-
} })))))),
|
16606
|
+
}, onSearch: setSearch, style: { width: 265 } }))))),
|
15682
16607
|
React.createElement(Row, null,
|
15683
16608
|
React.createElement(Col, { span: 24 },
|
15684
16609
|
React.createElement("div", { className: "programmeManagement-table-container" },
|
@@ -15723,14 +16648,16 @@ var NdcActionDetails = function (props) {
|
|
15723
16648
|
translator.setDefaultNamespace("ndcAction");
|
15724
16649
|
var t = translator.t;
|
15725
16650
|
var _a = useState(), ndcActionType = _a[0], setNdcActionType = _a[1];
|
15726
|
-
var _b = useState(),
|
15727
|
-
var _c = useState(
|
15728
|
-
var _d = useState(
|
15729
|
-
var _e = useState(
|
15730
|
-
var _f = useState(
|
15731
|
-
var _g = useState(),
|
15732
|
-
var _h = useState(),
|
15733
|
-
var _j = useState(),
|
16651
|
+
var _b = useState(), methodology = _b[0], setMethodology = _b[1];
|
16652
|
+
var _c = useState(), mitigationType = _c[0], setmitigationType = _c[1];
|
16653
|
+
var _d = useState(""), mitigationSubType = _d[0], setMitigationSubType = _d[1];
|
16654
|
+
var _e = useState(""), sector = _e[0], setSector = _e[1];
|
16655
|
+
var _f = useState(ndcActionTypeList), ndcActionTypeListFiltered = _f[0]; _f[1];
|
16656
|
+
var _g = useState([]), checkedOptionsGhgReduced = _g[0], setCheckedOptionsGhgReduced = _g[1];
|
16657
|
+
var _h = useState([]), checkedOptionsGhgAvoided = _h[0], setCheckedOptionsGhgAvoided = _h[1];
|
16658
|
+
var _j = useState(), inputNumberValueGhgAvoidedGas = _j[0], setInputNumberValueGhgAvoidedGas = _j[1];
|
16659
|
+
var _k = useState(), inputNumberValueGhgReducedGas = _k[0], setInputNumberValueGhgReducedGas = _k[1];
|
16660
|
+
var _l = useState(), includedInNAP = _l[0], setIncludedInNAP = _l[1];
|
15734
16661
|
var form = Form.useForm()[0];
|
15735
16662
|
var maximumImageSize = process.env.REACT_APP_MAXIMUM_FILE_SIZE
|
15736
16663
|
? parseInt(process.env.REACT_APP_MAXIMUM_FILE_SIZE)
|
@@ -15750,6 +16677,9 @@ var NdcActionDetails = function (props) {
|
|
15750
16677
|
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) {
|
15751
16678
|
setmitigationType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation);
|
15752
16679
|
}
|
16680
|
+
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) {
|
16681
|
+
setMitigationSubType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation);
|
16682
|
+
}
|
15753
16683
|
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP) {
|
15754
16684
|
setIncludedInNAP(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP);
|
15755
16685
|
}
|
@@ -15762,6 +16692,7 @@ var NdcActionDetails = function (props) {
|
|
15762
16692
|
form.setFieldsValue({
|
15763
16693
|
ndcActionType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action,
|
15764
16694
|
mitigationType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation,
|
16695
|
+
mitigationSubType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation,
|
15765
16696
|
energyGeneration: (_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _a === void 0 ? void 0 : _a.energyGeneration,
|
15766
16697
|
energyGenerationUnit: (_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _b === void 0 ? void 0 : _b.energyGenerationUnit,
|
15767
16698
|
consumerGroup: (_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.consumerGroup,
|
@@ -15839,18 +16770,42 @@ var NdcActionDetails = function (props) {
|
|
15839
16770
|
if (formValues.ndcActionType === NdcActionTypes.Mitigation ||
|
15840
16771
|
formValues.ndcActionType === NdcActionTypes.CrossCutting) {
|
15841
16772
|
if (formValues.mitigationType === MitigationTypes.AGRICULTURE) {
|
15842
|
-
|
15843
|
-
|
15844
|
-
|
15845
|
-
|
15846
|
-
|
15847
|
-
|
16773
|
+
if (formValues.mitigationSubType === MitigationSubTypes.RICE_CROPS) {
|
16774
|
+
creditRequest = new cjs.AgricultureCreationRequest();
|
16775
|
+
creditRequest.landArea = formValues.eligibleLandArea;
|
16776
|
+
creditRequest.landAreaUnit = formValues.landAreaUnit;
|
16777
|
+
creditRequest.duration =
|
16778
|
+
programmeDetails.endTime - programmeDetails.startTime;
|
16779
|
+
creditRequest.durationUnit = "s";
|
16780
|
+
}
|
16781
|
+
else if (formValues.mitigationSubType === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
|
16782
|
+
creditRequest = new cjs.SoilEnrichmentCreationRequest();
|
16783
|
+
creditRequest.weight = formValues.tonnesOnDryBasis;
|
16784
|
+
}
|
15848
16785
|
}
|
15849
16786
|
else if (formValues.mitigationType === MitigationTypes.SOLAR) {
|
15850
|
-
|
15851
|
-
|
15852
|
-
|
15853
|
-
|
16787
|
+
if (formValues.mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
|
16788
|
+
creditRequest = new cjs.SolarCreationRequest();
|
16789
|
+
creditRequest.buildingType = formValues.consumerGroup;
|
16790
|
+
creditRequest.energyGeneration = formValues.energyGeneration;
|
16791
|
+
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16792
|
+
}
|
16793
|
+
else if (formValues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
|
16794
|
+
creditRequest = new cjs.SolarWaterPumpingOffGridCreationRequest();
|
16795
|
+
creditRequest.energyGeneration = formValues.energyGeneration;
|
16796
|
+
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16797
|
+
}
|
16798
|
+
else if (formValues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
|
16799
|
+
creditRequest = new cjs.SolarWaterPumpingOnGridCreationRequest();
|
16800
|
+
creditRequest.energyGeneration = formValues.energyGeneration;
|
16801
|
+
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16802
|
+
}
|
16803
|
+
}
|
16804
|
+
else if (formValues.mitigationType === MitigationTypes.EE_HOUSEHOLDS
|
16805
|
+
&& formValues.mitigationSubType === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
|
16806
|
+
creditRequest = new cjs.StovesHousesNamibiaCreationRequest();
|
16807
|
+
creditRequest.numberOfDays = formValues.numberOfDays;
|
16808
|
+
creditRequest.numberOfPeopleInHousehold = formValues.numberOfPeople;
|
15854
16809
|
}
|
15855
16810
|
}
|
15856
16811
|
var creditResponse = cjs.calculateCredit(creditRequest);
|
@@ -15877,8 +16832,37 @@ var NdcActionDetails = function (props) {
|
|
15877
16832
|
};
|
15878
16833
|
var handleMitigationTypeChange = function (selectedMitigationType) {
|
15879
16834
|
setmitigationType(selectedMitigationType);
|
16835
|
+
form.setFieldsValue({
|
16836
|
+
mitigationSubType: "",
|
16837
|
+
tonnesOnDryBasis: "",
|
16838
|
+
numberOfPeople: "",
|
16839
|
+
numberOfDays: "",
|
16840
|
+
landAreaUnit: "",
|
16841
|
+
eligibleLandArea: "",
|
16842
|
+
consumerGroup: "",
|
16843
|
+
energyGenerationUnit: "",
|
16844
|
+
energyGeneration: "",
|
16845
|
+
methodologyEstimatedCredits: 0,
|
16846
|
+
});
|
15880
16847
|
calculateMethodologyEstimatedCredits();
|
15881
16848
|
};
|
16849
|
+
var handleMitigationSubTypeChange = function (selectedSubMitigationType) {
|
16850
|
+
setMitigationSubType(selectedSubMitigationType);
|
16851
|
+
form.setFieldsValue({
|
16852
|
+
tonnesOnDryBasis: "",
|
16853
|
+
numberOfPeople: "",
|
16854
|
+
numberOfDays: "",
|
16855
|
+
landAreaUnit: "",
|
16856
|
+
eligibleLandArea: "",
|
16857
|
+
consumerGroup: "",
|
16858
|
+
energyGenerationUnit: "",
|
16859
|
+
energyGeneration: "",
|
16860
|
+
methodologyEstimatedCredits: 0,
|
16861
|
+
});
|
16862
|
+
};
|
16863
|
+
var handleMethodologyChange = function (selectedMethodology) {
|
16864
|
+
setMethodology(selectedMethodology);
|
16865
|
+
};
|
15882
16866
|
var onNdcActionDetailsFormSubmit = function (ndcActionFormvalues) { return __awaiter(void 0, void 0, void 0, function () {
|
15883
16867
|
var ndcActionDetailObj, enablementReport;
|
15884
16868
|
var _a;
|
@@ -15889,17 +16873,28 @@ var NdcActionDetails = function (props) {
|
|
15889
16873
|
ndcActionDetailObj.action = ndcActionFormvalues.ndcActionType;
|
15890
16874
|
if (ndcActionFormvalues.ndcActionType === NdcActionTypes.Mitigation ||
|
15891
16875
|
ndcActionFormvalues.ndcActionType === NdcActionTypes.CrossCutting) {
|
15892
|
-
ndcActionDetailObj.methodology =
|
16876
|
+
ndcActionDetailObj.methodology = ndcActionFormvalues.methodology;
|
15893
16877
|
ndcActionDetailObj.typeOfMitigation = ndcActionFormvalues.mitigationType;
|
15894
|
-
|
16878
|
+
ndcActionDetailObj.subTypeOfMitigation = ndcActionFormvalues.mitigationSubType;
|
16879
|
+
if (ndcActionFormvalues.mitigationType === MitigationTypes.AGRICULTURE
|
16880
|
+
&& ndcActionFormvalues.mitigationSubType === MitigationSubTypes.RICE_CROPS) {
|
15895
16881
|
ndcActionDetailObj.agricultureProperties = {
|
15896
16882
|
landArea: ndcActionFormvalues.eligibleLandArea
|
15897
16883
|
? ndcActionFormvalues.eligibleLandArea
|
15898
16884
|
: 0,
|
15899
16885
|
landAreaUnit: ndcActionFormvalues.landAreaUnit,
|
15900
16886
|
};
|
16887
|
+
ndcActionDetailObj.creditCalculationProperties = {
|
16888
|
+
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16889
|
+
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16890
|
+
landArea: ndcActionFormvalues.eligibleLandArea
|
16891
|
+
? ndcActionFormvalues.eligibleLandArea
|
16892
|
+
: 0,
|
16893
|
+
landAreaUnit: ndcActionFormvalues.landAreaUnit,
|
16894
|
+
};
|
15901
16895
|
}
|
15902
|
-
else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
|
16896
|
+
else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
|
16897
|
+
&& ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
|
15903
16898
|
ndcActionDetailObj.solarProperties = {
|
15904
16899
|
energyGeneration: ndcActionFormvalues.energyGeneration
|
15905
16900
|
? ndcActionFormvalues.energyGeneration
|
@@ -15907,18 +16902,54 @@ var NdcActionDetails = function (props) {
|
|
15907
16902
|
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
15908
16903
|
consumerGroup: ndcActionFormvalues.consumerGroup,
|
15909
16904
|
};
|
16905
|
+
ndcActionDetailObj.creditCalculationProperties = {
|
16906
|
+
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16907
|
+
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16908
|
+
energyGeneration: ndcActionFormvalues.energyGeneration
|
16909
|
+
? ndcActionFormvalues.energyGeneration
|
16910
|
+
: 0,
|
16911
|
+
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
16912
|
+
consumerGroup: ndcActionFormvalues.consumerGroup,
|
16913
|
+
};
|
15910
16914
|
}
|
15911
|
-
if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
|
15912
|
-
ndcActionFormvalues.
|
15913
|
-
|
15914
|
-
|
15915
|
-
|
15916
|
-
|
15917
|
-
|
15918
|
-
|
15919
|
-
|
15920
|
-
|
15921
|
-
|
16915
|
+
else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
|
16916
|
+
&& ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
|
16917
|
+
ndcActionDetailObj.creditCalculationProperties = {
|
16918
|
+
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16919
|
+
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16920
|
+
energyGeneration: ndcActionFormvalues.energyGeneration
|
16921
|
+
? ndcActionFormvalues.energyGeneration
|
16922
|
+
: 0,
|
16923
|
+
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
16924
|
+
};
|
16925
|
+
}
|
16926
|
+
else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
|
16927
|
+
&& ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
|
16928
|
+
ndcActionDetailObj.creditCalculationProperties = {
|
16929
|
+
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16930
|
+
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16931
|
+
energyGeneration: ndcActionFormvalues.energyGeneration
|
16932
|
+
? ndcActionFormvalues.energyGeneration
|
16933
|
+
: 0,
|
16934
|
+
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
16935
|
+
};
|
16936
|
+
}
|
16937
|
+
else if (ndcActionFormvalues.mitigationType === MitigationTypes.EE_HOUSEHOLDS
|
16938
|
+
&& ndcActionFormvalues.mitigationSubType === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
|
16939
|
+
ndcActionDetailObj.creditCalculationProperties = {
|
16940
|
+
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16941
|
+
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16942
|
+
numberOfDays: ndcActionFormvalues.numberOfDays,
|
16943
|
+
numberOfPeopleInHousehold: ndcActionFormvalues.numberOfPeople,
|
16944
|
+
};
|
16945
|
+
}
|
16946
|
+
else if (ndcActionFormvalues.mitigationType === MitigationTypes.AGRICULTURE
|
16947
|
+
&& ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
|
16948
|
+
ndcActionDetailObj.creditCalculationProperties = {
|
16949
|
+
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16950
|
+
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16951
|
+
weight: ndcActionFormvalues.tonnesOnDryBasis,
|
16952
|
+
};
|
15922
16953
|
}
|
15923
16954
|
if (ndcActionFormvalues.userEstimatedCredits > programmeDetails.creditEst) {
|
15924
16955
|
message.open({
|
@@ -16040,24 +17071,36 @@ var NdcActionDetails = function (props) {
|
|
16040
17071
|
(programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sector) === Sector.Hospitality
|
16041
17072
|
? mitigationTypeList
|
16042
17073
|
: sectorMitigationTypesListMapped[sector] }))),
|
16043
|
-
|
16044
|
-
|
16045
|
-
|
16046
|
-
|
16047
|
-
|
16048
|
-
|
16049
|
-
|
17074
|
+
(ndcActionType === NdcActionTypes.Mitigation ||
|
17075
|
+
ndcActionType === NdcActionTypes.CrossCutting) &&
|
17076
|
+
mitigationType && mitigationSubTypesListMapped[mitigationType] && (React.createElement(Col, { style: { marginLeft: "38px" } },
|
17077
|
+
React.createElement(Form.Item, { label: t("ndcAction:mitigationSubType"), name: "mitigationSubType", rules: [
|
17078
|
+
{
|
17079
|
+
required: true,
|
17080
|
+
message: "".concat(t("ndcAction:mitigationSubType"), " ").concat(t("ndcAction:isRequired")),
|
17081
|
+
},
|
17082
|
+
] },
|
17083
|
+
React.createElement(Select, { size: "large", onChange: handleMitigationSubTypeChange, style: {
|
17084
|
+
width: "249px",
|
16050
17085
|
borderRadius: "4px",
|
16051
|
-
|
16052
|
-
|
16053
|
-
|
16054
|
-
|
16055
|
-
|
16056
|
-
|
16057
|
-
|
17086
|
+
}, options: mitigationSubTypesListMapped[mitigationType], value: mitigationSubType }))))),
|
17087
|
+
React.createElement(Row, { justify: "start", align: "middle" },
|
17088
|
+
React.createElement(Col, { span: 20 },
|
17089
|
+
React.createElement(Form.Item, { label: t("ndcAction:methodology"), name: "methodology", rules: [
|
17090
|
+
{
|
17091
|
+
required: true,
|
17092
|
+
message: "".concat(t("ndcAction:methodology"), " ").concat(t("ndcAction:isRequired")),
|
17093
|
+
},
|
17094
|
+
] },
|
17095
|
+
React.createElement(Select, { size: "large", onChange: handleMethodologyChange, style: {
|
17096
|
+
borderRadius: "4px",
|
17097
|
+
}, value: methodology }, methodologyOptions.map(function (option) { return (React.createElement(Select.Option, { key: option, value: option }, option)); }))))))),
|
16058
17098
|
(ndcActionType === NdcActionTypes.Mitigation ||
|
16059
17099
|
ndcActionType === NdcActionTypes.CrossCutting) &&
|
16060
|
-
mitigationType === MitigationTypes.SOLAR &&
|
17100
|
+
mitigationType === MitigationTypes.SOLAR &&
|
17101
|
+
(mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV ||
|
17102
|
+
mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
|
17103
|
+
mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) && (React.createElement(React.Fragment, null,
|
16061
17104
|
React.createElement(Row, { justify: "start", align: "middle" },
|
16062
17105
|
React.createElement(Col, null,
|
16063
17106
|
React.createElement(Form.Item, { label: t("ndcAction:energyGeneration"), rules: [
|
@@ -16088,16 +17131,17 @@ var NdcActionDetails = function (props) {
|
|
16088
17131
|
},
|
16089
17132
|
] },
|
16090
17133
|
React.createElement(Select, { size: "large", style: { width: 442 }, options: energyGenerationUnitList, onChange: calculateMethodologyEstimatedCredits })))),
|
16091
|
-
React.createElement(Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
|
17134
|
+
mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV && (React.createElement(Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
|
16092
17135
|
{
|
16093
17136
|
required: true,
|
16094
17137
|
message: "".concat(t("ndcAction:consumerGroup"), " ").concat(t("ndcAction:isRequired")),
|
16095
17138
|
},
|
16096
17139
|
] },
|
16097
|
-
React.createElement(Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList })))),
|
17140
|
+
React.createElement(Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList }))))),
|
16098
17141
|
(ndcActionType === NdcActionTypes.Mitigation ||
|
16099
17142
|
ndcActionType === NdcActionTypes.CrossCutting) &&
|
16100
|
-
mitigationType === MitigationTypes.AGRICULTURE &&
|
17143
|
+
mitigationType === MitigationTypes.AGRICULTURE &&
|
17144
|
+
mitigationSubType === MitigationSubTypes.RICE_CROPS && (React.createElement(Row, { justify: "start", align: "middle" },
|
16101
17145
|
React.createElement(Col, null,
|
16102
17146
|
React.createElement(Form.Item, { label: t("ndcAction:eligibleLandArea"), name: "eligibleLandArea", rules: [
|
16103
17147
|
{
|
@@ -16127,6 +17171,78 @@ var NdcActionDetails = function (props) {
|
|
16127
17171
|
},
|
16128
17172
|
] },
|
16129
17173
|
React.createElement(Select, { onChange: calculateMethodologyEstimatedCredits, size: "large", style: { width: 442 }, options: landAreaUnitList }))))),
|
17174
|
+
(ndcActionType === NdcActionTypes.Mitigation ||
|
17175
|
+
ndcActionType === NdcActionTypes.CrossCutting) &&
|
17176
|
+
mitigationType === MitigationTypes.AGRICULTURE &&
|
17177
|
+
mitigationSubType === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR && (React.createElement(Row, { justify: "start", align: "middle" },
|
17178
|
+
React.createElement(Col, null,
|
17179
|
+
React.createElement(Form.Item, { label: t("ndcAction:tonnesOnDryBasis"), name: "tonnesOnDryBasis", rules: [
|
17180
|
+
{
|
17181
|
+
required: true,
|
17182
|
+
message: "",
|
17183
|
+
},
|
17184
|
+
{
|
17185
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
17186
|
+
return __generator(this, function (_a) {
|
17187
|
+
if (String(value).trim() === "" ||
|
17188
|
+
String(value).trim() === undefined ||
|
17189
|
+
value === null ||
|
17190
|
+
value === undefined) {
|
17191
|
+
throw new Error("".concat(t("ndcAction:tonnesOnDryBasis"), " ").concat(t("ndcAction:isRequired")));
|
17192
|
+
}
|
17193
|
+
return [2 /*return*/];
|
17194
|
+
});
|
17195
|
+
}); },
|
17196
|
+
},
|
17197
|
+
] },
|
17198
|
+
React.createElement(InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))))),
|
17199
|
+
(ndcActionType === NdcActionTypes.Mitigation ||
|
17200
|
+
ndcActionType === NdcActionTypes.CrossCutting) &&
|
17201
|
+
mitigationType === MitigationTypes.EE_HOUSEHOLDS &&
|
17202
|
+
mitigationSubType === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA && (React.createElement(React.Fragment, null,
|
17203
|
+
React.createElement(Row, { justify: "start", align: "middle" },
|
17204
|
+
React.createElement(Col, null,
|
17205
|
+
React.createElement(Form.Item, { label: t("ndcAction:numberOfDays"), rules: [
|
17206
|
+
{
|
17207
|
+
required: true,
|
17208
|
+
message: "",
|
17209
|
+
},
|
17210
|
+
{
|
17211
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
17212
|
+
return __generator(this, function (_a) {
|
17213
|
+
if (String(value).trim() === "" ||
|
17214
|
+
String(value).trim() === undefined ||
|
17215
|
+
value === null ||
|
17216
|
+
value === undefined) {
|
17217
|
+
throw new Error("".concat(t("ndcAction:numberOfDays"), " ").concat(t("ndcAction:isRequired")));
|
17218
|
+
}
|
17219
|
+
return [2 /*return*/];
|
17220
|
+
});
|
17221
|
+
}); },
|
17222
|
+
},
|
17223
|
+
], name: "numberOfDays" },
|
17224
|
+
React.createElement(InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))),
|
17225
|
+
React.createElement(Col, { style: { marginLeft: "38px" } },
|
17226
|
+
React.createElement(Form.Item, { label: t("ndcAction:numberOfPeople"), rules: [
|
17227
|
+
{
|
17228
|
+
required: true,
|
17229
|
+
message: "",
|
17230
|
+
},
|
17231
|
+
{
|
17232
|
+
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
17233
|
+
return __generator(this, function (_a) {
|
17234
|
+
if (String(value).trim() === "" ||
|
17235
|
+
String(value).trim() === undefined ||
|
17236
|
+
value === null ||
|
17237
|
+
value === undefined) {
|
17238
|
+
throw new Error("".concat(t("ndcAction:numberOfPeople"), " ").concat(t("ndcAction:isRequired")));
|
17239
|
+
}
|
17240
|
+
return [2 /*return*/];
|
17241
|
+
});
|
17242
|
+
}); },
|
17243
|
+
},
|
17244
|
+
], name: "numberOfPeople" },
|
17245
|
+
React.createElement(InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits })))))),
|
16130
17246
|
(ndcActionType === NdcActionTypes.Mitigation ||
|
16131
17247
|
ndcActionType === NdcActionTypes.CrossCutting) && (React.createElement(Row, { justify: "start", align: "middle" },
|
16132
17248
|
React.createElement(Col, null,
|
@@ -19073,26 +20189,55 @@ var NdcActionViewComponent = function (props) {
|
|
19073
20189
|
_a[t("ndcAction:viewCurrentStatus")] = (React.createElement(Tag, { className: "clickable", color: getNdcStatusTagType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status) }, addSpaces(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status))),
|
19074
20190
|
_a);
|
19075
20191
|
var getNdcActionMitigationDetails = function () {
|
19076
|
-
var _a, _b, _c, _d, _e;
|
20192
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
19077
20193
|
var mitigationDetails = {};
|
19078
20194
|
mitigationTypeList === null || mitigationTypeList === void 0 ? void 0 : mitigationTypeList.map(function (type) {
|
19079
20195
|
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === type.value) {
|
19080
20196
|
mitigationDetails[t("ndcAction:viewMitigationType")] = type.label;
|
19081
20197
|
}
|
19082
20198
|
});
|
20199
|
+
mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.map(function (type) {
|
20200
|
+
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === type.value) {
|
20201
|
+
mitigationDetails[t("ndcAction:viewMitigationSubType")] = type.label;
|
20202
|
+
}
|
20203
|
+
});
|
19083
20204
|
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.AGRICULTURE &&
|
20205
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.RICE_CROPS &&
|
19084
20206
|
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties)) {
|
19085
20207
|
mitigationDetails[t("ndcAction:viewMitigationLandArea")] =
|
19086
20208
|
addCommSep((_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _a === void 0 ? void 0 : _a.landArea) +
|
19087
20209
|
((_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _b === void 0 ? void 0 : _b.landAreaUnit);
|
19088
20210
|
}
|
20211
|
+
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.AGRICULTURE &&
|
20212
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR &&
|
20213
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
|
20214
|
+
mitigationDetails[t("ndcAction:viewMitigationWeight")] =
|
20215
|
+
addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _c === void 0 ? void 0 : _c.weight) + 't';
|
20216
|
+
}
|
19089
20217
|
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.SOLAR &&
|
20218
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV &&
|
19090
20219
|
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties)) {
|
19091
20220
|
mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
|
19092
|
-
addCommSep((
|
19093
|
-
((
|
20221
|
+
addCommSep((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGeneration) +
|
20222
|
+
((_e = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _e === void 0 ? void 0 : _e.energyGenerationUnit);
|
19094
20223
|
mitigationDetails[t("ndcAction:viewMitigationConsumerGroup")] =
|
19095
|
-
(
|
20224
|
+
(_f = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _f === void 0 ? void 0 : _f.consumerGroup;
|
20225
|
+
}
|
20226
|
+
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.SOLAR &&
|
20227
|
+
((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
|
20228
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) &&
|
20229
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
|
20230
|
+
mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
|
20231
|
+
addCommSep((_g = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _g === void 0 ? void 0 : _g.energyGeneration) +
|
20232
|
+
((_h = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _h === void 0 ? void 0 : _h.energyGenerationUnit);
|
20233
|
+
}
|
20234
|
+
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.EE_HOUSEHOLDS &&
|
20235
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA &&
|
20236
|
+
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
|
20237
|
+
mitigationDetails[t("ndcAction:viewMitigationNoOfDays")] =
|
20238
|
+
(_j = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _j === void 0 ? void 0 : _j.numberOfDays;
|
20239
|
+
mitigationDetails[t("ndcAction:viewMitigationNoOfPeople")] =
|
20240
|
+
(_k = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _k === void 0 ? void 0 : _k.numberOfPeopleInHousehold;
|
19096
20241
|
}
|
19097
20242
|
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.ndcFinancing) {
|
19098
20243
|
mitigationDetails[t("ndcAction:viewMitigationUserEstimatedCredits")] =
|
@@ -25190,5 +26335,5 @@ var TimelineBody = function (props) {
|
|
25190
26335
|
React.createElement("div", { className: "remark-body" }, remark)))));
|
25191
26336
|
};
|
25192
26337
|
|
25193
|
-
export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcActionBody, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, OrganisationStatus, ProfileIcon, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDocuments, ProgrammeEntity, ProgrammeIssueForm, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeRetireForm, ProgrammeRevokeForm, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeTransfer, ProgrammeTransferForm, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, StasticCard, StatsCardsTypes, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList };
|
26338
|
+
export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, MitigationSubTypes, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcActionBody, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, OrganisationStatus, ProfileIcon, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDocuments, ProgrammeEntity, ProgrammeIssueForm, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeRetireForm, ProgrammeRevokeForm, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeTransfer, ProgrammeTransferForm, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, StasticCard, StatsCardsTypes, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList };
|
25194
26339
|
//# sourceMappingURL=index.js.map
|