@undp/carbon-library 1.0.125-NAM-17.0 → 1.0.126-NAM-1-2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +90 -1082
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Definitions/Definitions/ndcAction.definitions.d.ts +0 -15
- package/dist/cjs/types/Definitions/Enums/company.management.columns.enum.d.ts +1 -1
- package/dist/cjs/types/Definitions/Enums/mitigation.types.enum.d.ts +1 -170
- package/dist/esm/index.js +91 -1081
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Definitions/Definitions/ndcAction.definitions.d.ts +0 -15
- package/dist/esm/types/Definitions/Enums/company.management.columns.enum.d.ts +1 -1
- package/dist/esm/types/Definitions/Enums/mitigation.types.enum.d.ts +1 -170
- package/dist/index.d.ts +3 -186
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
@@ -445,7 +445,7 @@ exports.CompanyManagementColumns = void 0;
|
|
445
445
|
CompanyManagementColumns["companyRole"] = "companyRole";
|
446
446
|
CompanyManagementColumns["programmeCount"] = "programmeCount";
|
447
447
|
CompanyManagementColumns["creditBalance"] = "creditBalance";
|
448
|
-
CompanyManagementColumns["companyState"] = "
|
448
|
+
CompanyManagementColumns["companyState"] = "status";
|
449
449
|
})(exports.CompanyManagementColumns || (exports.CompanyManagementColumns = {}));
|
450
450
|
|
451
451
|
var css_248z$s = ".profile-icon {\n border-radius: 100%;\n margin-right: 15px;\n font-size: 15px;\n width: 40px;\n height: 40px;\n display: flex;\n justify-content: center;\n align-items: center; }\n .profile-icon img {\n width: 26px; }\n";
|
@@ -489,7 +489,7 @@ exports.CompanyRole = void 0;
|
|
489
489
|
CompanyRole["API"] = "API";
|
490
490
|
})(exports.CompanyRole || (exports.CompanyRole = {}));
|
491
491
|
|
492
|
-
var css_248z$r = ".organisation-status-active {\n border-radius: 20px;\n background-color: rgba(185, 226, 244, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #16b1ff;\n margin-left: auto;\n margin-right: auto;\n width: 90px;\n text-align: center; }\n\n.organisation-status-deauthorised {\n border-radius: 20px;\n background-color: rgba(255, 166, 166, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #ff4d4f;\n margin-left: auto;\n margin-right: auto;\n width: 110px;\n text-align: center; }\n\n.organisation-status-pending {\n border-radius: 20px;\n background-color: rgba(176, 137, 244, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #976ed7;\n margin-left: auto;\n margin-right: auto;\n width:
|
492
|
+
var css_248z$r = ".organisation-status-active {\n border-radius: 20px;\n background-color: rgba(185, 226, 244, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #16b1ff;\n margin-left: auto;\n margin-right: auto;\n width: 90px;\n text-align: center; }\n\n.organisation-status-deauthorised {\n border-radius: 20px;\n background-color: rgba(255, 166, 166, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #ff4d4f;\n margin-left: auto;\n margin-right: auto;\n width: 110px;\n text-align: center; }\n\n.organisation-status-pending {\n border-radius: 20px;\n background-color: rgba(176, 137, 244, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #976ed7;\n margin-left: auto;\n margin-right: auto;\n width: 90px;\n text-align: center; }\n\n.organisation-status-rejected {\n border-radius: 20px;\n background-color: rgba(255, 247, 230, 0.4);\n padding: 4px 15px;\n height: 28px;\n color: #ff8f56;\n margin-left: auto;\n margin-right: auto;\n width: 90px;\n text-align: center;\n background: #fff7e6;\n border-color: #ffd591; }\n";
|
493
493
|
styleInject(css_248z$r);
|
494
494
|
|
495
495
|
var OrganisationStatus = function (props) {
|
@@ -634,7 +634,7 @@ var CompanyManagementComponent = function (props) {
|
|
634
634
|
dataIndex: "state",
|
635
635
|
key: exports.CompanyManagementColumns.companyState,
|
636
636
|
sorter: true,
|
637
|
-
align: "
|
637
|
+
align: "center",
|
638
638
|
render: function (item) {
|
639
639
|
return getCompanyStateComponent(item);
|
640
640
|
},
|
@@ -956,172 +956,7 @@ exports.MitigationTypes = void 0;
|
|
956
956
|
MitigationTypes["SOLAR"] = "Solar";
|
957
957
|
MitigationTypes["TRANSPORT"] = "Transport";
|
958
958
|
MitigationTypes["WIND"] = "Wind";
|
959
|
-
MitigationTypes["CO2_USAGE"] = "CO2Usage";
|
960
|
-
MitigationTypes["TIDAL"] = "Tidal";
|
961
959
|
})(exports.MitigationTypes || (exports.MitigationTypes = {}));
|
962
|
-
exports.MitigationSubTypes = void 0;
|
963
|
-
(function (MitigationSubTypes) {
|
964
|
-
MitigationSubTypes["IRRIGATION"] = "Irrigation";
|
965
|
-
MitigationSubTypes["ENERGY_EFFICIENCY"] = "EnergyEfficiency";
|
966
|
-
MitigationSubTypes["ALTERNATIVE_FERTILISER"] = "AlternativeFertilisers";
|
967
|
-
MitigationSubTypes["NO_TILLAGE"] = "NoTillage";
|
968
|
-
MitigationSubTypes["SOIL_ENRICHMENT_BIOCHAR"] = "SoilEnrichmentBiochar";
|
969
|
-
MitigationSubTypes["RICE_CROPS"] = "RiceCrops";
|
970
|
-
MitigationSubTypes["BAGASSE_POWER"] = "BagassePower";
|
971
|
-
MitigationSubTypes["PALM_OIL_SOLID_WASTE"] = "Palm oil solid waste";
|
972
|
-
MitigationSubTypes["AGRICULTURAL_RESIDUES_OTHER_KINDS"] = "AgriculturalResiduesOtherKinds";
|
973
|
-
MitigationSubTypes["AGRICULTURAL_RESIDUES_RICE_HUSK"] = "AgriculturalResiduesRiceHusk";
|
974
|
-
MitigationSubTypes["AGRICULTURAL_RESIDUES_MUSTARD_CROP"] = "AgriculturalResiduesMustardCrop";
|
975
|
-
MitigationSubTypes["AGRICULTURAL_RESIDUES_POULTRY_LITTER"] = "AgriculturalResiduesPoultryLitter";
|
976
|
-
MitigationSubTypes["BLACK_LIQUOR"] = "BlackLiquor";
|
977
|
-
MitigationSubTypes["FOREST_RESIDUES_SAWMILL_WASTE"] = "ForestResiduesSawmillWaste";
|
978
|
-
MitigationSubTypes["FOREST_RESIDUES_OTHER"] = "ForestResiduesOther";
|
979
|
-
MitigationSubTypes["FOREST_BIOMASS"] = "ForestBiomass";
|
980
|
-
MitigationSubTypes["INDUSTRIAL_WASTE"] = "IndustrialWaste";
|
981
|
-
MitigationSubTypes["GASIFICATION_OF_BIOMASS"] = "GasificationOfBiomass";
|
982
|
-
MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS"] = "SwitchFromFossilFuelToPipedBiogas";
|
983
|
-
MitigationSubTypes["BIOMASS_BRIQUETTES_OR_PELLETS"] = "BiomassBriquettesOrPellets";
|
984
|
-
MitigationSubTypes["BIODIESEL"] = "Biodiesel";
|
985
|
-
MitigationSubTypes["BIODIESEL_FROM_WASTE_OIL"] = "BiodieselFromWasteOil";
|
986
|
-
MitigationSubTypes["ETHANOL"] = "Ethanol";
|
987
|
-
MitigationSubTypes["CLINKER_REPLACEMENT"] = "ClinkerReplacement";
|
988
|
-
MitigationSubTypes["COAL_MINE_METHANE"] = "CoalMineMethane";
|
989
|
-
MitigationSubTypes["COAL_BED_METHANE"] = "CoalBedMethane";
|
990
|
-
MitigationSubTypes["CMM_VENTILATION_AIR_METHANE"] = "CMMVentilationAirMethane";
|
991
|
-
MitigationSubTypes["VENTILATION_AIR_METHANE"] = "VentilationAirMethane";
|
992
|
-
MitigationSubTypes["LIGHTING"] = "Lighting";
|
993
|
-
MitigationSubTypes["SOLAR_LAMPS"] = "SolarLamps";
|
994
|
-
MitigationSubTypes["STOVES"] = "Stoves";
|
995
|
-
MitigationSubTypes["STOVES_SCHOOL_IN_GHANA"] = "StovesSchoolInGhana";
|
996
|
-
MitigationSubTypes["STOVES_HOUSES_IN_NAMIBIA"] = "StovesHousesInNamibia";
|
997
|
-
MitigationSubTypes["LIGHTING_INSULATION_SOLAR"] = "LightingInsulationSolar";
|
998
|
-
MitigationSubTypes["APPLIANCES"] = "Appliances";
|
999
|
-
MitigationSubTypes["CHEMICALS"] = "Chemicals";
|
1000
|
-
MitigationSubTypes["PETROCHEMICALS"] = "Petrochemicals";
|
1001
|
-
MitigationSubTypes["PAPER"] = "Paper";
|
1002
|
-
MitigationSubTypes["CEMENT"] = "Cement";
|
1003
|
-
MitigationSubTypes["IRON_STEEL"] = "IronSteel";
|
1004
|
-
MitigationSubTypes["MACHINERY"] = "Machinery";
|
1005
|
-
MitigationSubTypes["TEXTILES"] = "Textiles";
|
1006
|
-
MitigationSubTypes["ELECTRONICS"] = "Electronics";
|
1007
|
-
MitigationSubTypes["FOOD"] = "Food";
|
1008
|
-
MitigationSubTypes["BUILDING_MATERIALS"] = "BuildingMaterials";
|
1009
|
-
MitigationSubTypes["GLASS"] = "Glass";
|
1010
|
-
MitigationSubTypes["NON_FERROUS_METALS"] = "NonFerrousMetals";
|
1011
|
-
MitigationSubTypes["COKE_OVEN"] = "CokeOven";
|
1012
|
-
MitigationSubTypes["Mining"] = "Mining";
|
1013
|
-
MitigationSubTypes["CONSTRUCTION"] = "Construction";
|
1014
|
-
MitigationSubTypes["METAL_PRODUCTS"] = "MetalProducts";
|
1015
|
-
MitigationSubTypes["WOOD"] = "Wood";
|
1016
|
-
MitigationSubTypes["RECYCLING"] = "Recycling";
|
1017
|
-
MitigationSubTypes["CHEMICALS_HEAT"] = "ChemicalsHeat";
|
1018
|
-
MitigationSubTypes["PETROCHEMICALS_HEAT"] = "PetrochemicalsHeat";
|
1019
|
-
MitigationSubTypes["CARBON_BLACK_GAS"] = "CarbonBlackGas";
|
1020
|
-
MitigationSubTypes["CEMENT_HEAT"] = "CementHeat";
|
1021
|
-
MitigationSubTypes["IRON_STEEL_HEAT"] = "IronSteelHeat";
|
1022
|
-
MitigationSubTypes["BUILDING_MATERIALS_HEAT"] = "BuildingMaterialsHeat";
|
1023
|
-
MitigationSubTypes["GLASS_HEAT"] = "GlassHeat";
|
1024
|
-
MitigationSubTypes["NON_FERROUS_METALS_HEAT"] = "NonFerrousMetalsHeat";
|
1025
|
-
MitigationSubTypes["COKE_OVEN_GAS"] = "CokeOvenGas";
|
1026
|
-
MitigationSubTypes["HVAC_LIGHTING"] = "HvacLighting";
|
1027
|
-
MitigationSubTypes["AIR_CONDITIONING"] = "AirConditioning";
|
1028
|
-
MitigationSubTypes["EE_NEW_BUILDINGS"] = "EeNewBuildings";
|
1029
|
-
MitigationSubTypes["STREET_LIGHTING"] = "StreetLighting";
|
1030
|
-
MitigationSubTypes["LIGHTING_IN_SERVICE"] = "LightingInService";
|
1031
|
-
MitigationSubTypes["WATER_PUMPING"] = "WaterPumping";
|
1032
|
-
MitigationSubTypes["WATER_PURIFICATION"] = "WaterPurification";
|
1033
|
-
MitigationSubTypes["EE_PUBLIC_STOVES"] = "EePublicStoves";
|
1034
|
-
MitigationSubTypes["EE_PUBLIC_BUILDINGS"] = "EePublicBuildings";
|
1035
|
-
MitigationSubTypes["EE_COMMERCIAL_BUILDINGS"] = "EeCommercialBuildings";
|
1036
|
-
MitigationSubTypes["SINGLE_CYCLE_TO_COMBINED_CYCLE"] = "SingleCycleToCombinedCycle";
|
1037
|
-
MitigationSubTypes["COGENERATION"] = "Cogeneration";
|
1038
|
-
MitigationSubTypes["CO_FIRING_WITH_BIOMASS"] = "CoFiringWithBiomass";
|
1039
|
-
MitigationSubTypes["HIGHER_EFFICIENCY_COAL_POWER"] = "HigherEfficiencyCoalPower";
|
1040
|
-
MitigationSubTypes["HIGHER_EFFICIENCY_OIL_POWER"] = "HigherEfficiencyOilPower";
|
1041
|
-
MitigationSubTypes["HIGHER_EFFICIENCY_USING_WASTE_HEAT"] = "HigherEfficiencyUsingWasteHeat";
|
1042
|
-
MitigationSubTypes["POWER_PLANT_REHABILITATION"] = "PowerPlantRehabilitation";
|
1043
|
-
MitigationSubTypes["HIGHER_EFFICIENCY_STEAM_BOILER"] = "HigherEfficiencySteamBoiler";
|
1044
|
-
MitigationSubTypes["DISTRICT_HEATING"] = "DistrictHeating";
|
1045
|
-
MitigationSubTypes["REPLACEMENT_OF_DISTRICT_HEATING_BOILERS"] = "ReplacementOfDistrictHeatingBoilers";
|
1046
|
-
MitigationSubTypes["CONNECTION_OF_ISOLATED_GRID"] = "ConnectionOfIsolatedGrid";
|
1047
|
-
MitigationSubTypes["DISTRICT_COOLING"] = "DistrictCooling";
|
1048
|
-
MitigationSubTypes["EFFICIENT_ELECTRICITY_DISTRIBUTION"] = "EfficientElectricityDistribution";
|
1049
|
-
MitigationSubTypes["AFFORESTATION"] = "Afforestation";
|
1050
|
-
MitigationSubTypes["MANGROVES"] = "Mangroves";
|
1051
|
-
MitigationSubTypes["AGROFORESTRY"] = "Agroforestry";
|
1052
|
-
MitigationSubTypes["REFORESTATION"] = "Reforestation";
|
1053
|
-
MitigationSubTypes["COAL_TO_NATURAL_GAS"] = "CoalToNaturalGas";
|
1054
|
-
MitigationSubTypes["COAL_TO_OIL"] = "CoalToOil";
|
1055
|
-
MitigationSubTypes["LIGNITE_TO_NATURAL_GAS"] = "LigniteToNaturalGas";
|
1056
|
-
MitigationSubTypes["NEW_NATURAL_GAS_PLANT"] = "NewNaturalGasPlant";
|
1057
|
-
MitigationSubTypes["NEW_NATURAL_GAS_PLANT_USING_LNG"] = "NewNaturalGasPlantUsingLng";
|
1058
|
-
MitigationSubTypes["OIL_TO_ELECTRICITY"] = "OilToElectricity";
|
1059
|
-
MitigationSubTypes["OIL_TO_LPG"] = "OilToLpg";
|
1060
|
-
MitigationSubTypes["OIL_TO_NATURAL_GAS"] = "OilToNaturalGas";
|
1061
|
-
MitigationSubTypes["OIL_FIELD_FLARING_REDUCTION"] = "OilFieldFlaringReduction";
|
1062
|
-
MitigationSubTypes["OIL_AND_GAS_PROCESSING_FLARING"] = "OilAndGasProcessingFlaring";
|
1063
|
-
MitigationSubTypes["NATURAL_GAS_PIPELINES"] = "NaturalGasPipelines";
|
1064
|
-
MitigationSubTypes["NON_HYDROCARBON_MINING"] = "NonHydrocarbonMining";
|
1065
|
-
MitigationSubTypes["SPONTANEOUSLY_IGNITION_OF_COAL_PILES"] = "SpontaneouslyIgnitionOfCoalPiles";
|
1066
|
-
MitigationSubTypes["CHARCOAL_PRODUCTION"] = "CharcoalProduction";
|
1067
|
-
MitigationSubTypes["GEOTHERMAL_ELECTRICITY"] = "GeothermalElectricity";
|
1068
|
-
MitigationSubTypes["GEOTHERMAL_HEATING"] = "GeothermalHeating";
|
1069
|
-
MitigationSubTypes["HFC23"] = "Hfc23";
|
1070
|
-
MitigationSubTypes["HFC134A"] = "Hfc134A";
|
1071
|
-
MitigationSubTypes["PFCS"] = "Pfcs";
|
1072
|
-
MitigationSubTypes["SF6"] = "Sf6";
|
1073
|
-
MitigationSubTypes["RUN_OF_RIVER"] = "RunOfRiver";
|
1074
|
-
MitigationSubTypes["EXISTING_DAM"] = "ExistingDam";
|
1075
|
-
MitigationSubTypes["HIGHER_EFFICIENCY_HYDRO_POWER"] = "HigherEfficiencyHydroPower";
|
1076
|
-
MitigationSubTypes["NEW_DAM"] = "NewDam";
|
1077
|
-
MitigationSubTypes["LANDFILL_FLARING"] = "LandfillFlaring";
|
1078
|
-
MitigationSubTypes["LANDFILL_POWER"] = "LandfillPower";
|
1079
|
-
MitigationSubTypes["COMBUSTION_OF_MSW"] = "CombustionOfMsw";
|
1080
|
-
MitigationSubTypes["GASIFICATION_OF_MSW"] = "GasificationOfMsw";
|
1081
|
-
MitigationSubTypes["BIOGAS_FROM_MSW"] = "BiogasFromMsw";
|
1082
|
-
MitigationSubTypes["LANDFILL_AERATION"] = "LandfillAeration";
|
1083
|
-
MitigationSubTypes["INTEGRATED_SOLID_WASTE_MANAGEMENT"] = "IntegratedSolidWasteManagement";
|
1084
|
-
MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS"] = "SwitchFromFossilFuelToPipedLandfillGas";
|
1085
|
-
MitigationSubTypes["LANDFILL_COMPOSTING"] = "LandfillComposting";
|
1086
|
-
MitigationSubTypes["MANURE"] = "Manure";
|
1087
|
-
MitigationSubTypes["DOMESTIC_MANURE"] = "DomesticManure";
|
1088
|
-
MitigationSubTypes["WASTE_WATER"] = "WasteWater";
|
1089
|
-
MitigationSubTypes["INDUSTRIAL_SOLID_WASTE"] = "IndustrialSolidWaste";
|
1090
|
-
MitigationSubTypes["PALM_OIL_WASTE"] = "PalmOilWaste";
|
1091
|
-
MitigationSubTypes["AEROBIC_TREATMENT_OF_WASTE_WATER"] = "AerobicTreatmentOfWasteWater";
|
1092
|
-
MitigationSubTypes["COMPOSTING"] = "Composting";
|
1093
|
-
MitigationSubTypes["ADIPIC_ACID"] = "AdipicAcid";
|
1094
|
-
MitigationSubTypes["NITRIC_ACID"] = "NitricAcid";
|
1095
|
-
MitigationSubTypes["CAPROLACTAM"] = "Caprolactam";
|
1096
|
-
MitigationSubTypes["SOLAR_PHOTOVOLTAICS_PV"] = "SolarPhotovoltaicsPV";
|
1097
|
-
MitigationSubTypes["SOLAR_WATER_PUMPING_OFF_GRID"] = "SolarWaterPumpingOffGrid";
|
1098
|
-
MitigationSubTypes["SOLAR_WATER_PUMPING_ON_GRID"] = "SolarWaterPumpingOnGrid";
|
1099
|
-
MitigationSubTypes["SOLAR_PV_WATER_DISINFECTION"] = "SolarPVWaterDisinfection";
|
1100
|
-
MitigationSubTypes["SOLAR_THERMAL_POWER"] = "SolarThermalPower";
|
1101
|
-
MitigationSubTypes["SOLAR_THERMAL_HEAT"] = "SolarThermalHeat";
|
1102
|
-
MitigationSubTypes["SOLAR_WATER_HEATING"] = "SolarWaterHeating";
|
1103
|
-
MitigationSubTypes["SOLAR_COOKING"] = "SolarCooking";
|
1104
|
-
MitigationSubTypes["BUS_RAPID_TRANSIT"] = "BusRapidTransit";
|
1105
|
-
MitigationSubTypes["BUS_RAPID_TRANSIT_GREEN_HYDROGEN"] = "BusRapidTransitGreenHydrogen";
|
1106
|
-
MitigationSubTypes["MOTORBIKES"] = "Motorbikes";
|
1107
|
-
MitigationSubTypes["MODE_SHIFT_ROAD_TO_RAIL"] = "ModeShiftRoadToRail";
|
1108
|
-
MitigationSubTypes["MORE_EFFICIENT_TRAIN_SYSTEM"] = "MoreEfficientTrainSystem";
|
1109
|
-
MitigationSubTypes["MORE_EFFICIENT_VEHICLES"] = "MoreEfficientVehicles";
|
1110
|
-
MitigationSubTypes["RAIL_REGENERATIVE_BRAKING"] = "RailRegenerativeBraking";
|
1111
|
-
MitigationSubTypes["RAIL_GREEN_HYDROGEN"] = "RailGreenHydrogen";
|
1112
|
-
MitigationSubTypes["RAIL_EFFICIENT_OPERATION"] = "RailEfficientOperation";
|
1113
|
-
MitigationSubTypes["METRO_EFFICIENT_OPERATION"] = "MetroEfficientOperation";
|
1114
|
-
MitigationSubTypes["CARS_GREEN_HYDROGEN"] = "CarsGreenHydrogen";
|
1115
|
-
MitigationSubTypes["CARS_EFFICIENT_OPERATION"] = "CarsEfficientOperation";
|
1116
|
-
MitigationSubTypes["SCRAPPING_OLD_VEHICLES"] = "ScrappingOldVehicles";
|
1117
|
-
MitigationSubTypes["BIODIESEL_FOR_TRANSPORT"] = "BiodieselForTransport";
|
1118
|
-
MitigationSubTypes["CABLE_CARS"] = "CableCars";
|
1119
|
-
MitigationSubTypes["WIND"] = "Wind";
|
1120
|
-
MitigationSubTypes["OFFSHORE_WIND"] = "OffshoreWind";
|
1121
|
-
MitigationSubTypes["CO2_RECYCLING"] = "CO2Recycling";
|
1122
|
-
MitigationSubTypes["CO2_REPLACEMENT"] = "CO2Replacement";
|
1123
|
-
MitigationSubTypes["TIDAL"] = "Tidal";
|
1124
|
-
})(exports.MitigationSubTypes || (exports.MitigationSubTypes = {}));
|
1125
960
|
var mitigationTypeList = [
|
1126
961
|
{ value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
|
1127
962
|
{ value: exports.MitigationTypes.SOLAR.valueOf(), label: "Solar" },
|
@@ -1218,385 +1053,13 @@ var sectorMitigationTypesListMapped = {
|
|
1218
1053
|
},
|
1219
1054
|
],
|
1220
1055
|
Agriculture: [
|
1221
|
-
{ value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" }
|
1056
|
+
{ value: exports.MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
|
1222
1057
|
],
|
1223
1058
|
Other: [
|
1224
1059
|
{ value: exports.MitigationTypes.MARINE.valueOf(), label: "Marine" },
|
1225
1060
|
{ value: exports.MitigationTypes.N20.valueOf(), label: "N2O" },
|
1226
1061
|
],
|
1227
1062
|
};
|
1228
|
-
var mitigationSubTypeList = [
|
1229
|
-
{ label: "Irrigation", value: exports.MitigationSubTypes.IRRIGATION.valueOf() },
|
1230
|
-
{ label: "Energy efficiency", value: exports.MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
|
1231
|
-
{ label: "Alternative fertilisers", value: exports.MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
|
1232
|
-
{ label: "No tillage", value: exports.MitigationSubTypes.NO_TILLAGE.valueOf() },
|
1233
|
-
{ label: "Soil Enrichment / Biochar", value: exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
|
1234
|
-
{ label: "Rice crops", value: exports.MitigationSubTypes.RICE_CROPS.valueOf() },
|
1235
|
-
{ label: "Bagasse power", value: exports.MitigationSubTypes.BAGASSE_POWER.valueOf() },
|
1236
|
-
{ label: "Palm oil solid waste", value: exports.MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
|
1237
|
-
{ label: "Agricultural residues: other kinds", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
|
1238
|
-
{ label: "Agricultural residues: rice husk", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
|
1239
|
-
{ label: "Agricultural residues: mustard crop", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
|
1240
|
-
{ label: "Agricultural residues: poultry litter", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
|
1241
|
-
{ label: "Black liquor", value: exports.MitigationSubTypes.BLACK_LIQUOR.valueOf() },
|
1242
|
-
{ label: "Forest residues: sawmill waste", value: exports.MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
|
1243
|
-
{ label: "Forest residues: other", value: exports.MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
|
1244
|
-
{ label: "Forest biomass", value: exports.MitigationSubTypes.FOREST_BIOMASS.valueOf() },
|
1245
|
-
{ label: "Industrial waste", value: exports.MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
|
1246
|
-
{ label: "Gasification of biomass", value: exports.MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
|
1247
|
-
{ label: "Switch from fossil fuel to piped biogas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
|
1248
|
-
{ label: "Biomass briquettes or pellets", value: exports.MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
|
1249
|
-
{ label: "Biodiesel", value: exports.MitigationSubTypes.BIODIESEL.valueOf() },
|
1250
|
-
{ label: "Biodiesel from waste oil", value: exports.MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
|
1251
|
-
{ label: "Ethanol", value: exports.MitigationSubTypes.ETHANOL.valueOf() },
|
1252
|
-
{ label: "Cement", value: exports.MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
|
1253
|
-
{ label: "Coal Mine Methane", value: exports.MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
|
1254
|
-
{ label: "Coal Bed Methane", value: exports.MitigationSubTypes.COAL_BED_METHANE.valueOf() },
|
1255
|
-
{ label: "CMM & Ventilation Air Methane", value: exports.MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
|
1256
|
-
{ label: "Ventilation Air Methane", value: exports.MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
|
1257
|
-
{ label: "Lighting", value: exports.MitigationSubTypes.LIGHTING.valueOf() },
|
1258
|
-
{ label: "Solar lamps", value: exports.MitigationSubTypes.SOLAR_LAMPS.valueOf() },
|
1259
|
-
{ label: "Stoves", value: exports.MitigationSubTypes.STOVES.valueOf() },
|
1260
|
-
{ label: "Stoves (School in Ghana)", value: exports.MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
|
1261
|
-
{ label: "Stoves (Houses in Namibia)", value: exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
|
1262
|
-
{ label: "Lighting & Insulation & Solar", value: exports.MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
|
1263
|
-
{ label: "Appliances", value: exports.MitigationSubTypes.APPLIANCES.valueOf() },
|
1264
|
-
{ label: "Chemicals", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
|
1265
|
-
{ label: "Petrochemicals", value: exports.MitigationSubTypes.PETROCHEMICALS.valueOf() },
|
1266
|
-
{ label: "Paper", value: exports.MitigationSubTypes.PAPER.valueOf() },
|
1267
|
-
{ label: "Cement", value: exports.MitigationSubTypes.CEMENT.valueOf() },
|
1268
|
-
{ label: "Iron & steel ", value: exports.MitigationSubTypes.IRON_STEEL.valueOf() },
|
1269
|
-
{ label: "Machinery", value: exports.MitigationSubTypes.MACHINERY.valueOf() },
|
1270
|
-
{ label: "Textiles", value: exports.MitigationSubTypes.TEXTILES.valueOf() },
|
1271
|
-
{ label: "Electronics", value: exports.MitigationSubTypes.ELECTRONICS.valueOf() },
|
1272
|
-
{ label: "Food", value: exports.MitigationSubTypes.FOOD.valueOf() },
|
1273
|
-
{ label: "Building materials", value: exports.MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
|
1274
|
-
{ label: "Glass", value: exports.MitigationSubTypes.GLASS.valueOf() },
|
1275
|
-
{ label: "Non-ferrous metals", value: exports.MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
|
1276
|
-
{ label: "Coke oven", value: exports.MitigationSubTypes.COKE_OVEN.valueOf() },
|
1277
|
-
{ label: "Mining", value: exports.MitigationSubTypes.Mining.valueOf() },
|
1278
|
-
{ label: "Construction", value: exports.MitigationSubTypes.CONSTRUCTION.valueOf() },
|
1279
|
-
{ label: "Metal products", value: exports.MitigationSubTypes.METAL_PRODUCTS.valueOf() },
|
1280
|
-
{ label: "Wood", value: exports.MitigationSubTypes.WOOD.valueOf() },
|
1281
|
-
{ label: "Recycling", value: exports.MitigationSubTypes.RECYCLING.valueOf() },
|
1282
|
-
{ label: "Chemicals heat", value: exports.MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
|
1283
|
-
{ label: "Petrochemicals heat", value: exports.MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
|
1284
|
-
{ label: "Carbon black gas", value: exports.MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
|
1285
|
-
{ label: "Cement heat", value: exports.MitigationSubTypes.CEMENT_HEAT.valueOf() },
|
1286
|
-
{ label: "Iron & steel heat", value: exports.MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
|
1287
|
-
{ label: "Building materials heat", value: exports.MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
|
1288
|
-
{ label: "Glass heat", value: exports.MitigationSubTypes.GLASS_HEAT.valueOf() },
|
1289
|
-
{ label: "Non-ferrous metals heat", value: exports.MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
|
1290
|
-
{ label: "Coke oven gas", value: exports.MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
|
1291
|
-
{ label: "HVAC & lighting", value: exports.MitigationSubTypes.HVAC_LIGHTING.valueOf() },
|
1292
|
-
{ label: "Air conditioning", value: exports.MitigationSubTypes.AIR_CONDITIONING.valueOf() },
|
1293
|
-
{ label: "EE new buildings", value: exports.MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
|
1294
|
-
{ label: "Street lighting", value: exports.MitigationSubTypes.STREET_LIGHTING.valueOf() },
|
1295
|
-
{ label: "Lighting in service", value: exports.MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
|
1296
|
-
{ label: "Water pumping", value: exports.MitigationSubTypes.WATER_PUMPING.valueOf() },
|
1297
|
-
{ label: "Water purification", value: exports.MitigationSubTypes.WATER_PURIFICATION.valueOf() },
|
1298
|
-
{ label: "EE public stoves", value: exports.MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
|
1299
|
-
{ label: "EE public buildings", value: exports.MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
|
1300
|
-
{ label: "EE commercial buildings", value: exports.MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
|
1301
|
-
{ label: "Single cycle to combined cycle", value: exports.MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
|
1302
|
-
{ label: "Cogeneration", value: exports.MitigationSubTypes.COGENERATION.valueOf() },
|
1303
|
-
{ label: "Co-firing with biomass", value: exports.MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
|
1304
|
-
{ label: "Higher efficiency coal power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
|
1305
|
-
{ label: "Higher efficiency oil power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
|
1306
|
-
{ label: "Higher efficiency using waste heat", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
|
1307
|
-
{ label: "Power plant rehabilitation", value: exports.MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
|
1308
|
-
{ label: "Higher efficiency steam boiler", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
|
1309
|
-
{ label: "District heating", value: exports.MitigationSubTypes.DISTRICT_HEATING.valueOf() },
|
1310
|
-
{ label: "Replacement of district heating boilers", value: exports.MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
|
1311
|
-
{ label: "Connection of Isolated grid", value: exports.MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
|
1312
|
-
{ label: "District cooling", value: exports.MitigationSubTypes.DISTRICT_COOLING.valueOf() },
|
1313
|
-
{ label: "Efficient electricity distribution", value: exports.MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
|
1314
|
-
{ label: "Afforestation", value: exports.MitigationSubTypes.AFFORESTATION.valueOf() },
|
1315
|
-
{ label: "Mangroves", value: exports.MitigationSubTypes.MANGROVES.valueOf() },
|
1316
|
-
{ label: "Agroforestry", value: exports.MitigationSubTypes.AGROFORESTRY.valueOf() },
|
1317
|
-
{ label: "Reforestation", value: exports.MitigationSubTypes.REFORESTATION.valueOf() },
|
1318
|
-
{ label: "Coal to natural gas", value: exports.MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
|
1319
|
-
{ label: "Coal to oil", value: exports.MitigationSubTypes.COAL_TO_OIL.valueOf() },
|
1320
|
-
{ label: "Lignite to natural gas", value: exports.MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
|
1321
|
-
{ label: "New natural gas plant", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
|
1322
|
-
{ label: "New natural gas plant using LNG", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
|
1323
|
-
{ label: "Oil to electricity", value: exports.MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
|
1324
|
-
{ label: "Oil to LPG", value: exports.MitigationSubTypes.OIL_TO_LPG.valueOf() },
|
1325
|
-
{ label: "Oil to natural gas", value: exports.MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
|
1326
|
-
{ label: "Oil field flaring reduction", value: exports.MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
|
1327
|
-
{ label: "Oil and gas processing flaring", value: exports.MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
|
1328
|
-
{ label: "Natural gas pipelines", value: exports.MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
|
1329
|
-
{ label: "Non-hydrocarbon mining", value: exports.MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
|
1330
|
-
{ label: "Spontaneously ignition of coal piles", value: exports.MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
|
1331
|
-
{ label: "Charcoal production", value: exports.MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
|
1332
|
-
{ label: "Geothermal electricity", value: exports.MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
|
1333
|
-
{ label: "Geothermal heating", value: exports.MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
|
1334
|
-
{ label: "HFC23", value: exports.MitigationSubTypes.HFC23.valueOf() },
|
1335
|
-
{ label: "HFC134a", value: exports.MitigationSubTypes.HFC134A.valueOf() },
|
1336
|
-
{ label: "PFCs", value: exports.MitigationSubTypes.PFCS.valueOf() },
|
1337
|
-
{ label: "SF6", value: exports.MitigationSubTypes.SF6.valueOf() },
|
1338
|
-
{ label: "Run of river", value: exports.MitigationSubTypes.RUN_OF_RIVER.valueOf() },
|
1339
|
-
{ label: "Existing dam", value: exports.MitigationSubTypes.EXISTING_DAM.valueOf() },
|
1340
|
-
{ label: "Higher efficiency hydro power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
|
1341
|
-
{ label: "New dam", value: exports.MitigationSubTypes.NEW_DAM.valueOf() },
|
1342
|
-
{ label: "Landfill flaring", value: exports.MitigationSubTypes.LANDFILL_FLARING.valueOf() },
|
1343
|
-
{ label: "Landfill power", value: exports.MitigationSubTypes.LANDFILL_POWER.valueOf() },
|
1344
|
-
{ label: "Combustion of MSW", value: exports.MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
|
1345
|
-
{ label: "Gasification of MSW", value: exports.MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
|
1346
|
-
{ label: "Biogas from MSW", value: exports.MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
|
1347
|
-
{ label: "Landfill aeration", value: exports.MitigationSubTypes.LANDFILL_AERATION.valueOf() },
|
1348
|
-
{ label: "Integrated solid waste management", value: exports.MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
|
1349
|
-
{ label: "Switch from fossil fuel to piped landfill gas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
|
1350
|
-
{ label: "Landfill composting", value: exports.MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
|
1351
|
-
{ label: "Manure", value: exports.MitigationSubTypes.MANURE.valueOf() },
|
1352
|
-
{ label: "Domestic manure", value: exports.MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
|
1353
|
-
{ label: "Waste water", value: exports.MitigationSubTypes.WASTE_WATER.valueOf() },
|
1354
|
-
{ label: "Industrial solid waste", value: exports.MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
|
1355
|
-
{ label: "Palm oil waste", value: exports.MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
|
1356
|
-
{ label: "Aerobic treatment of waste water", value: exports.MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
|
1357
|
-
{ label: "Composting", value: exports.MitigationSubTypes.COMPOSTING.valueOf() },
|
1358
|
-
{ label: "Adipic acid", value: exports.MitigationSubTypes.ADIPIC_ACID.valueOf() },
|
1359
|
-
{ label: "Nitric acid", value: exports.MitigationSubTypes.NITRIC_ACID.valueOf() },
|
1360
|
-
{ label: "Caprolactam", value: exports.MitigationSubTypes.CAPROLACTAM.valueOf() },
|
1361
|
-
{ label: "Solar Photovoltaics(PV)", value: exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
|
1362
|
-
{ label: "Solar Water pumping (off-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
|
1363
|
-
{ label: "Solar Water pumping (on-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
|
1364
|
-
{ label: "Solar PV water disinfection", value: exports.MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
|
1365
|
-
{ label: "Solar thermal power", value: exports.MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
|
1366
|
-
{ label: "Solar thermal heat", value: exports.MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
|
1367
|
-
{ label: "Solar water heating", value: exports.MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
|
1368
|
-
{ label: "Solar cooking", value: exports.MitigationSubTypes.SOLAR_COOKING.valueOf() },
|
1369
|
-
{ label: "Bus Rapid Transit", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
|
1370
|
-
{ label: "Bus Rapid Transit: Green hydrogen", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
|
1371
|
-
{ label: "Motorbikes", value: exports.MitigationSubTypes.MOTORBIKES.valueOf() },
|
1372
|
-
{ label: "Mode shift: Road to rail", value: exports.MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
|
1373
|
-
{ label: "More efficient train system", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1374
|
-
{ label: "More efficient vehicles", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1375
|
-
{ label: "Rail: regenerative braking", value: exports.MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
|
1376
|
-
{ label: "Rail: Green hydrogen", value: exports.MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
|
1377
|
-
{ label: "Rail: efficient operation", value: exports.MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
|
1378
|
-
{ label: "Metro: efficient operation", value: exports.MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
|
1379
|
-
{ label: "Cars: Green hydrogen", value: exports.MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
|
1380
|
-
{ label: "Cars: efficient operation", value: exports.MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
|
1381
|
-
{ label: "Scrapping old vehicles", value: exports.MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
|
1382
|
-
{ label: "Biodiesel for transport", value: exports.MitigationSubTypes.CABLE_CARS.valueOf() },
|
1383
|
-
{ label: "Cable cars", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
|
1384
|
-
{ label: "Wind", value: exports.MitigationSubTypes.WIND.valueOf() },
|
1385
|
-
{ label: "Offshore wind", value: exports.MitigationSubTypes.OFFSHORE_WIND.valueOf() },
|
1386
|
-
{ label: "CO2 recycling", value: exports.MitigationSubTypes.CO2_RECYCLING.valueOf() },
|
1387
|
-
{ label: "CO2 replacement", value: exports.MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
|
1388
|
-
{ label: "Tidal", value: exports.MitigationSubTypes.TIDAL.valueOf() },
|
1389
|
-
];
|
1390
|
-
var mitigationSubTypesListMapped = {
|
1391
|
-
Agriculture: [
|
1392
|
-
{ label: "Irrigation", value: exports.MitigationSubTypes.IRRIGATION.valueOf() },
|
1393
|
-
{ label: "Energy efficiency", value: exports.MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
|
1394
|
-
{ label: "Alternative fertilisers", value: exports.MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
|
1395
|
-
{ label: "No tillage", value: exports.MitigationSubTypes.NO_TILLAGE.valueOf() },
|
1396
|
-
{ label: "Soil Enrichment / Biochar", value: exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
|
1397
|
-
{ label: "Rice crops", value: exports.MitigationSubTypes.RICE_CROPS.valueOf() },
|
1398
|
-
],
|
1399
|
-
BiomassEnergy: [
|
1400
|
-
{ label: "Bagasse power", value: exports.MitigationSubTypes.BAGASSE_POWER.valueOf() },
|
1401
|
-
{ label: "Palm oil solid waste", value: exports.MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
|
1402
|
-
{ label: "Agricultural residues: other kinds", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
|
1403
|
-
{ label: "Agricultural residues: rice husk", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
|
1404
|
-
{ label: "Agricultural residues: mustard crop", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
|
1405
|
-
{ label: "Agricultural residues: poultry litter", value: exports.MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
|
1406
|
-
{ label: "Black liquor", value: exports.MitigationSubTypes.BLACK_LIQUOR.valueOf() },
|
1407
|
-
{ label: "Forest residues: sawmill waste", value: exports.MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
|
1408
|
-
{ label: "Forest residues: other", value: exports.MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
|
1409
|
-
{ label: "Forest biomass", value: exports.MitigationSubTypes.FOREST_BIOMASS.valueOf() },
|
1410
|
-
{ label: "Industrial waste", value: exports.MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
|
1411
|
-
{ label: "Gasification of biomass", value: exports.MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
|
1412
|
-
{ label: "Switch from fossil fuel to piped biogas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
|
1413
|
-
{ label: "Biomass briquettes or pellets", value: exports.MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
|
1414
|
-
{ label: "Biodiesel", value: exports.MitigationSubTypes.BIODIESEL.valueOf() },
|
1415
|
-
{ label: "Biodiesel from waste oil", value: exports.MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
|
1416
|
-
{ label: "Ethanol", value: exports.MitigationSubTypes.ETHANOL.valueOf() },
|
1417
|
-
],
|
1418
|
-
Cement: [
|
1419
|
-
{ label: "Cement", value: exports.MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
|
1420
|
-
],
|
1421
|
-
"Coal/Mine": [
|
1422
|
-
{ label: "Coal Mine Methane", value: exports.MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
|
1423
|
-
{ label: "Coal Bed Methane", value: exports.MitigationSubTypes.COAL_BED_METHANE.valueOf() },
|
1424
|
-
{ label: "CMM & Ventilation Air Methane", value: exports.MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
|
1425
|
-
{ label: "Ventilation Air Methane", value: exports.MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
|
1426
|
-
],
|
1427
|
-
EEHouseholds: [
|
1428
|
-
{ label: "Lighting", value: exports.MitigationSubTypes.LIGHTING.valueOf() },
|
1429
|
-
{ label: "Solar lamps", value: exports.MitigationSubTypes.SOLAR_LAMPS.valueOf() },
|
1430
|
-
{ label: "Stoves", value: exports.MitigationSubTypes.STOVES.valueOf() },
|
1431
|
-
{ label: "Stoves (School in Ghana)", value: exports.MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
|
1432
|
-
{ label: "Stoves (Houses in Namibia)", value: exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
|
1433
|
-
{ label: "Lighting & Insulation & Solar", value: exports.MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
|
1434
|
-
{ label: "Appliances", value: exports.MitigationSubTypes.APPLIANCES.valueOf() },
|
1435
|
-
],
|
1436
|
-
EEIndustry: [
|
1437
|
-
{ label: "Chemicals", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
|
1438
|
-
{ label: "Petrochemicals", value: exports.MitigationSubTypes.PETROCHEMICALS.valueOf() },
|
1439
|
-
{ label: "Paper", value: exports.MitigationSubTypes.PAPER.valueOf() },
|
1440
|
-
{ label: "Cement", value: exports.MitigationSubTypes.CEMENT.valueOf() },
|
1441
|
-
{ label: "Iron & steel ", value: exports.MitigationSubTypes.IRON_STEEL.valueOf() },
|
1442
|
-
{ label: "Machinery", value: exports.MitigationSubTypes.MACHINERY.valueOf() },
|
1443
|
-
{ label: "Textiles", value: exports.MitigationSubTypes.TEXTILES.valueOf() },
|
1444
|
-
{ label: "Electronics", value: exports.MitigationSubTypes.ELECTRONICS.valueOf() },
|
1445
|
-
{ label: "Food", value: exports.MitigationSubTypes.FOOD.valueOf() },
|
1446
|
-
{ label: "Building materials", value: exports.MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
|
1447
|
-
{ label: "Glass", value: exports.MitigationSubTypes.GLASS.valueOf() },
|
1448
|
-
{ label: "Non-ferrous metals", value: exports.MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
|
1449
|
-
{ label: "Coke oven", value: exports.MitigationSubTypes.COKE_OVEN.valueOf() },
|
1450
|
-
{ label: "Mining", value: exports.MitigationSubTypes.Mining.valueOf() },
|
1451
|
-
{ label: "Construction", value: exports.MitigationSubTypes.CONSTRUCTION.valueOf() },
|
1452
|
-
{ label: "Metal products", value: exports.MitigationSubTypes.METAL_PRODUCTS.valueOf() },
|
1453
|
-
{ label: "Wood", value: exports.MitigationSubTypes.WOOD.valueOf() },
|
1454
|
-
{ label: "Recycling", value: exports.MitigationSubTypes.RECYCLING.valueOf() },
|
1455
|
-
],
|
1456
|
-
EEOwnGeneration: [
|
1457
|
-
{ label: "Chemicals heat", value: exports.MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
|
1458
|
-
{ label: "Petrochemicals heat", value: exports.MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
|
1459
|
-
{ label: "Carbon black gas", value: exports.MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
|
1460
|
-
{ label: "Cement heat", value: exports.MitigationSubTypes.CEMENT_HEAT.valueOf() },
|
1461
|
-
{ label: "Iron & steel heat", value: exports.MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
|
1462
|
-
{ label: "Building materials heat", value: exports.MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
|
1463
|
-
{ label: "Glass heat", value: exports.MitigationSubTypes.GLASS_HEAT.valueOf() },
|
1464
|
-
{ label: "Non-ferrous metals heat", value: exports.MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
|
1465
|
-
{ label: "Coke oven gas", value: exports.MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
|
1466
|
-
],
|
1467
|
-
EEService: [
|
1468
|
-
{ label: "HVAC & lighting", value: exports.MitigationSubTypes.HVAC_LIGHTING.valueOf() },
|
1469
|
-
{ label: "Air conditioning", value: exports.MitigationSubTypes.AIR_CONDITIONING.valueOf() },
|
1470
|
-
{ label: "EE new buildings", value: exports.MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
|
1471
|
-
{ label: "Street lighting", value: exports.MitigationSubTypes.STREET_LIGHTING.valueOf() },
|
1472
|
-
{ label: "Lighting in service", value: exports.MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
|
1473
|
-
{ label: "Water pumping", value: exports.MitigationSubTypes.WATER_PUMPING.valueOf() },
|
1474
|
-
{ label: "Water purification", value: exports.MitigationSubTypes.WATER_PURIFICATION.valueOf() },
|
1475
|
-
{ label: "EE public stoves", value: exports.MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
|
1476
|
-
{ label: "EE public buildings", value: exports.MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
|
1477
|
-
{ label: "EE commercial buildings", value: exports.MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
|
1478
|
-
],
|
1479
|
-
EESupplySide: [
|
1480
|
-
{ label: "Single cycle to combined cycle", value: exports.MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
|
1481
|
-
{ label: "Cogeneration", value: exports.MitigationSubTypes.COGENERATION.valueOf() },
|
1482
|
-
{ label: "Co-firing with biomass", value: exports.MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
|
1483
|
-
{ label: "Higher efficiency coal power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
|
1484
|
-
{ label: "Higher efficiency oil power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
|
1485
|
-
{ label: "Higher efficiency using waste heat", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
|
1486
|
-
{ label: "Power plant rehabilitation", value: exports.MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
|
1487
|
-
{ label: "Higher efficiency steam boiler", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
|
1488
|
-
],
|
1489
|
-
EnergyDistribution: [
|
1490
|
-
{ label: "District heating", value: exports.MitigationSubTypes.DISTRICT_HEATING.valueOf() },
|
1491
|
-
{ label: "Replacement of district heating boilers", value: exports.MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
|
1492
|
-
{ label: "Connection of Isolated grid", value: exports.MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
|
1493
|
-
{ label: "District cooling", value: exports.MitigationSubTypes.DISTRICT_COOLING.valueOf() },
|
1494
|
-
{ label: "Efficient electricity distribution", value: exports.MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
|
1495
|
-
],
|
1496
|
-
Forestry: [
|
1497
|
-
{ label: "Afforestation", value: exports.MitigationSubTypes.AFFORESTATION.valueOf() },
|
1498
|
-
{ label: "Mangroves", value: exports.MitigationSubTypes.MANGROVES.valueOf() },
|
1499
|
-
{ label: "Agroforestry", value: exports.MitigationSubTypes.AGROFORESTRY.valueOf() },
|
1500
|
-
{ label: "Reforestation", value: exports.MitigationSubTypes.REFORESTATION.valueOf() },
|
1501
|
-
],
|
1502
|
-
FossilFuel: [
|
1503
|
-
{ label: "Coal to natural gas", value: exports.MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
|
1504
|
-
{ label: "Coal to oil", value: exports.MitigationSubTypes.COAL_TO_OIL.valueOf() },
|
1505
|
-
{ label: "Lignite to natural gas", value: exports.MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
|
1506
|
-
{ label: "New natural gas plant", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
|
1507
|
-
{ label: "New natural gas plant using LNG", value: exports.MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
|
1508
|
-
{ label: "Oil to electricity", value: exports.MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
|
1509
|
-
{ label: "Oil to LPG", value: exports.MitigationSubTypes.OIL_TO_LPG.valueOf() },
|
1510
|
-
{ label: "Oil to natural gas", value: exports.MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
|
1511
|
-
],
|
1512
|
-
Fugitive: [
|
1513
|
-
{ label: "Oil field flaring reduction", value: exports.MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
|
1514
|
-
{ label: "Oil and gas processing flaring", value: exports.MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
|
1515
|
-
{ label: "Natural gas pipelines", value: exports.MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
|
1516
|
-
{ label: "Non-hydrocarbon mining", value: exports.MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
|
1517
|
-
{ label: "Spontaneously ignition of coal piles", value: exports.MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
|
1518
|
-
{ label: "Charcoal production", value: exports.MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
|
1519
|
-
],
|
1520
|
-
Geothermal: [
|
1521
|
-
{ label: "Geothermal electricity", value: exports.MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
|
1522
|
-
{ label: "Geothermal heating", value: exports.MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
|
1523
|
-
],
|
1524
|
-
HFC_PFCs_SF6: [
|
1525
|
-
{ label: "HFC23", value: exports.MitigationSubTypes.HFC23.valueOf() },
|
1526
|
-
{ label: "HFC134a", value: exports.MitigationSubTypes.HFC134A.valueOf() },
|
1527
|
-
{ label: "PFCs", value: exports.MitigationSubTypes.PFCS.valueOf() },
|
1528
|
-
{ label: "SF6", value: exports.MitigationSubTypes.SF6.valueOf() },
|
1529
|
-
],
|
1530
|
-
Hydro: [
|
1531
|
-
{ label: "Run of river", value: exports.MitigationSubTypes.RUN_OF_RIVER.valueOf() },
|
1532
|
-
{ label: "Existing dam", value: exports.MitigationSubTypes.EXISTING_DAM.valueOf() },
|
1533
|
-
{ label: "Higher efficiency hydro power", value: exports.MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
|
1534
|
-
{ label: "New dam", value: exports.MitigationSubTypes.NEW_DAM.valueOf() },
|
1535
|
-
],
|
1536
|
-
Landfills: [
|
1537
|
-
{ label: "Landfill flaring", value: exports.MitigationSubTypes.LANDFILL_FLARING.valueOf() },
|
1538
|
-
{ label: "Landfill power", value: exports.MitigationSubTypes.LANDFILL_POWER.valueOf() },
|
1539
|
-
{ label: "Combustion of MSW", value: exports.MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
|
1540
|
-
{ label: "Gasification of MSW", value: exports.MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
|
1541
|
-
{ label: "Biogas from MSW", value: exports.MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
|
1542
|
-
{ label: "Landfill aeration", value: exports.MitigationSubTypes.LANDFILL_AERATION.valueOf() },
|
1543
|
-
{ label: "Integrated solid waste management", value: exports.MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
|
1544
|
-
{ label: "Switch from fossil fuel to piped landfill gas", value: exports.MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
|
1545
|
-
{ label: "Landfill composting", value: exports.MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
|
1546
|
-
],
|
1547
|
-
MethaneAvoidance: [
|
1548
|
-
{ label: "Manure", value: exports.MitigationSubTypes.MANURE.valueOf() },
|
1549
|
-
{ label: "Domestic manure", value: exports.MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
|
1550
|
-
{ label: "Waste water", value: exports.MitigationSubTypes.WASTE_WATER.valueOf() },
|
1551
|
-
{ label: "Industrial solid waste", value: exports.MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
|
1552
|
-
{ label: "Palm oil waste", value: exports.MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
|
1553
|
-
{ label: "Aerobic treatment of waste water", value: exports.MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
|
1554
|
-
{ label: "Composting", value: exports.MitigationSubTypes.COMPOSTING.valueOf() },
|
1555
|
-
],
|
1556
|
-
N20: [
|
1557
|
-
{ label: "Adipic acid", value: exports.MitigationSubTypes.ADIPIC_ACID.valueOf() },
|
1558
|
-
{ label: "Nitric acid", value: exports.MitigationSubTypes.NITRIC_ACID.valueOf() },
|
1559
|
-
{ label: "Caprolactam", value: exports.MitigationSubTypes.CAPROLACTAM.valueOf() },
|
1560
|
-
],
|
1561
|
-
Solar: [
|
1562
|
-
{ label: "Solar Photovoltaics(PV)", value: exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
|
1563
|
-
{ label: "Solar Water pumping (off-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
|
1564
|
-
{ label: "Solar Water pumping (on-grid)", value: exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
|
1565
|
-
{ label: "Solar PV water disinfection", value: exports.MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
|
1566
|
-
{ label: "Solar thermal power", value: exports.MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
|
1567
|
-
{ label: "Solar thermal heat", value: exports.MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
|
1568
|
-
{ label: "Solar water heating", value: exports.MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
|
1569
|
-
{ label: "Solar cooking", value: exports.MitigationSubTypes.SOLAR_COOKING.valueOf() },
|
1570
|
-
],
|
1571
|
-
Transport: [
|
1572
|
-
{ label: "Bus Rapid Transit", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
|
1573
|
-
{ label: "Bus Rapid Transit: Green hydrogen", value: exports.MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
|
1574
|
-
{ label: "Motorbikes", value: exports.MitigationSubTypes.MOTORBIKES.valueOf() },
|
1575
|
-
{ label: "Mode shift: Road to rail", value: exports.MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
|
1576
|
-
{ label: "More efficient train system", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1577
|
-
{ label: "More efficient vehicles", value: exports.MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
|
1578
|
-
{ label: "Rail: regenerative braking", value: exports.MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
|
1579
|
-
{ label: "Rail: Green hydrogen", value: exports.MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
|
1580
|
-
{ label: "Rail: efficient operation", value: exports.MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
|
1581
|
-
{ label: "Metro: efficient operation", value: exports.MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
|
1582
|
-
{ label: "Cars: Green hydrogen", value: exports.MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
|
1583
|
-
{ label: "Cars: efficient operation", value: exports.MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
|
1584
|
-
{ label: "Scrapping old vehicles", value: exports.MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
|
1585
|
-
{ label: "Biodiesel for transport", value: exports.MitigationSubTypes.CABLE_CARS.valueOf() },
|
1586
|
-
{ label: "Cable cars", value: exports.MitigationSubTypes.CHEMICALS.valueOf() },
|
1587
|
-
],
|
1588
|
-
Wind: [
|
1589
|
-
{ label: "Wind", value: exports.MitigationSubTypes.WIND.valueOf() },
|
1590
|
-
{ label: "Offshore wind", value: exports.MitigationSubTypes.OFFSHORE_WIND.valueOf() },
|
1591
|
-
],
|
1592
|
-
CO2Usage: [
|
1593
|
-
{ label: "CO2 recycling", value: exports.MitigationSubTypes.CO2_RECYCLING.valueOf() },
|
1594
|
-
{ label: "CO2 replacement", value: exports.MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
|
1595
|
-
],
|
1596
|
-
Tidal: [
|
1597
|
-
{ label: "Tidal", value: exports.MitigationSubTypes.TIDAL.valueOf() },
|
1598
|
-
],
|
1599
|
-
};
|
1600
1063
|
|
1601
1064
|
exports.ESGType = void 0;
|
1602
1065
|
(function (ESGType) {
|
@@ -4725,26 +4188,6 @@ function requireAgricultureCal () {
|
|
4725
4188
|
return agricultureCal;
|
4726
4189
|
}
|
4727
4190
|
|
4728
|
-
var soilEnrichmentCal = {};
|
4729
|
-
|
4730
|
-
var hasRequiredSoilEnrichmentCal;
|
4731
|
-
|
4732
|
-
function requireSoilEnrichmentCal () {
|
4733
|
-
if (hasRequiredSoilEnrichmentCal) return soilEnrichmentCal;
|
4734
|
-
hasRequiredSoilEnrichmentCal = 1;
|
4735
|
-
Object.defineProperty(soilEnrichmentCal, "__esModule", { value: true });
|
4736
|
-
soilEnrichmentCal.SoilEnrichmentCal = void 0;
|
4737
|
-
const calculator_1 = requireCalculator();
|
4738
|
-
class SoilEnrichmentCal {
|
4739
|
-
static calculate(req) {
|
4740
|
-
const constants = req.soilEnrichmentConstants;
|
4741
|
-
return Number((constants.emissionFactor * req.weight).toFixed(calculator_1.PRECISION));
|
4742
|
-
}
|
4743
|
-
}
|
4744
|
-
soilEnrichmentCal.SoilEnrichmentCal = SoilEnrichmentCal;
|
4745
|
-
return soilEnrichmentCal;
|
4746
|
-
}
|
4747
|
-
|
4748
4191
|
var solarCal = {};
|
4749
4192
|
|
4750
4193
|
var hasRequiredSolarCal;
|
@@ -4821,53 +4264,6 @@ class AgricultureCreationRequest {
|
|
4821
4264
|
}
|
4822
4265
|
agricultureCreationRequest.AgricultureCreationRequest = AgricultureCreationRequest;
|
4823
4266
|
|
4824
|
-
var soilEnrichmentCreationRequest = {};
|
4825
|
-
|
4826
|
-
var soilEnrichmentConstants = {};
|
4827
|
-
|
4828
|
-
Object.defineProperty(soilEnrichmentConstants, "__esModule", { value: true });
|
4829
|
-
soilEnrichmentConstants.SoilEnrichmentConstants = void 0;
|
4830
|
-
class SoilEnrichmentConstants {
|
4831
|
-
constructor() {
|
4832
|
-
this.emissionFactor = 3.66;
|
4833
|
-
this.emissionFactorUnit = "tCO2e"; // emission factor
|
4834
|
-
}
|
4835
|
-
}
|
4836
|
-
soilEnrichmentConstants.SoilEnrichmentConstants = SoilEnrichmentConstants;
|
4837
|
-
|
4838
|
-
Object.defineProperty(soilEnrichmentCreationRequest, "__esModule", { value: true });
|
4839
|
-
soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = void 0;
|
4840
|
-
const soilEnrichmentConstants_1 = soilEnrichmentConstants;
|
4841
|
-
class SoilEnrichmentCreationRequest {
|
4842
|
-
constructor() {
|
4843
|
-
this.soilEnrichmentConstants = new soilEnrichmentConstants_1.SoilEnrichmentConstants();
|
4844
|
-
}
|
4845
|
-
}
|
4846
|
-
soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = SoilEnrichmentCreationRequest;
|
4847
|
-
|
4848
|
-
var stovesHousesNamibiaCreationRequest = {};
|
4849
|
-
|
4850
|
-
var stovesHousesNamibiaConstants = {};
|
4851
|
-
|
4852
|
-
Object.defineProperty(stovesHousesNamibiaConstants, "__esModule", { value: true });
|
4853
|
-
stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = void 0;
|
4854
|
-
class StovesHousesNamibiaConstants {
|
4855
|
-
constructor() {
|
4856
|
-
this.emissionFactor = 0.1;
|
4857
|
-
}
|
4858
|
-
}
|
4859
|
-
stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = StovesHousesNamibiaConstants;
|
4860
|
-
|
4861
|
-
Object.defineProperty(stovesHousesNamibiaCreationRequest, "__esModule", { value: true });
|
4862
|
-
stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = void 0;
|
4863
|
-
const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
|
4864
|
-
class StovesHousesNamibiaCreationRequest {
|
4865
|
-
constructor() {
|
4866
|
-
this.stovesHousesNamibiaConstants = new stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants();
|
4867
|
-
}
|
4868
|
-
}
|
4869
|
-
stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = StovesHousesNamibiaCreationRequest;
|
4870
|
-
|
4871
4267
|
var solarCreationRequest = {};
|
4872
4268
|
|
4873
4269
|
var solarConstants = {};
|
@@ -4905,134 +4301,6 @@ class SolarCreationRequest {
|
|
4905
4301
|
}
|
4906
4302
|
solarCreationRequest.SolarCreationRequest = SolarCreationRequest;
|
4907
4303
|
|
4908
|
-
var stovesHousesNamibiaCal = {};
|
4909
|
-
|
4910
|
-
var hasRequiredStovesHousesNamibiaCal;
|
4911
|
-
|
4912
|
-
function requireStovesHousesNamibiaCal () {
|
4913
|
-
if (hasRequiredStovesHousesNamibiaCal) return stovesHousesNamibiaCal;
|
4914
|
-
hasRequiredStovesHousesNamibiaCal = 1;
|
4915
|
-
Object.defineProperty(stovesHousesNamibiaCal, "__esModule", { value: true });
|
4916
|
-
stovesHousesNamibiaCal.StovesHousesNamibiaCal = void 0;
|
4917
|
-
const calculator_1 = requireCalculator();
|
4918
|
-
class StovesHousesNamibiaCal {
|
4919
|
-
static calculate(req) {
|
4920
|
-
const constants = req.stovesHousesNamibiaConstants;
|
4921
|
-
return Number((constants.emissionFactor * req.numberOfDays * req.numberOfPeopleInHousehold).toFixed(calculator_1.PRECISION));
|
4922
|
-
}
|
4923
|
-
}
|
4924
|
-
stovesHousesNamibiaCal.StovesHousesNamibiaCal = StovesHousesNamibiaCal;
|
4925
|
-
return stovesHousesNamibiaCal;
|
4926
|
-
}
|
4927
|
-
|
4928
|
-
var solarWaterPumpingOffGridCreationRequest = {};
|
4929
|
-
|
4930
|
-
var solarWaterPumpingOffGridConstants = {};
|
4931
|
-
|
4932
|
-
Object.defineProperty(solarWaterPumpingOffGridConstants, "__esModule", { value: true });
|
4933
|
-
solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = void 0;
|
4934
|
-
class SolarWaterPumpingOffGridConstants {
|
4935
|
-
constructor() {
|
4936
|
-
this.emissionFactor = 1.3;
|
4937
|
-
this.emissionFactorUnit = "kWh/year";
|
4938
|
-
}
|
4939
|
-
}
|
4940
|
-
solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = SolarWaterPumpingOffGridConstants;
|
4941
|
-
|
4942
|
-
Object.defineProperty(solarWaterPumpingOffGridCreationRequest, "__esModule", { value: true });
|
4943
|
-
solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = void 0;
|
4944
|
-
const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
|
4945
|
-
class SolarWaterPumpingOffGridCreationRequest {
|
4946
|
-
constructor() {
|
4947
|
-
this.solarWaterPumpingOffGridConstants = new solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants();
|
4948
|
-
}
|
4949
|
-
}
|
4950
|
-
solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = SolarWaterPumpingOffGridCreationRequest;
|
4951
|
-
|
4952
|
-
var solarWaterPumpingOffGridCal = {};
|
4953
|
-
|
4954
|
-
var hasRequiredSolarWaterPumpingOffGridCal;
|
4955
|
-
|
4956
|
-
function requireSolarWaterPumpingOffGridCal () {
|
4957
|
-
if (hasRequiredSolarWaterPumpingOffGridCal) return solarWaterPumpingOffGridCal;
|
4958
|
-
hasRequiredSolarWaterPumpingOffGridCal = 1;
|
4959
|
-
Object.defineProperty(solarWaterPumpingOffGridCal, "__esModule", { value: true });
|
4960
|
-
solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = void 0;
|
4961
|
-
const calculator_1 = requireCalculator();
|
4962
|
-
var convert = lib;
|
4963
|
-
let solarWaterPumpingOffGridCal$1 = class solarWaterPumpingOffGridCal {
|
4964
|
-
static calculate(req) {
|
4965
|
-
const constants = req.solarWaterPumpingOffGridConstants;
|
4966
|
-
const emissionUnitParts = constants.emissionFactorUnit.split('/');
|
4967
|
-
if (emissionUnitParts.length != 2) {
|
4968
|
-
throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
|
4969
|
-
}
|
4970
|
-
const measuredUnitParts = req.energyGenerationUnit.split('/');
|
4971
|
-
if (measuredUnitParts.length != 3) {
|
4972
|
-
throw Error("Invalid measured unit " + req.energyGenerationUnit);
|
4973
|
-
}
|
4974
|
-
const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
|
4975
|
-
return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
|
4976
|
-
}
|
4977
|
-
};
|
4978
|
-
solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = solarWaterPumpingOffGridCal$1;
|
4979
|
-
return solarWaterPumpingOffGridCal;
|
4980
|
-
}
|
4981
|
-
|
4982
|
-
var solarWaterPumpingOnGridCreationRequest = {};
|
4983
|
-
|
4984
|
-
var solarWaterPumpingOnGridConstants = {};
|
4985
|
-
|
4986
|
-
Object.defineProperty(solarWaterPumpingOnGridConstants, "__esModule", { value: true });
|
4987
|
-
solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = void 0;
|
4988
|
-
class SolarWaterPumpingOnGridConstants {
|
4989
|
-
constructor() {
|
4990
|
-
this.emissionFactor = 1.06;
|
4991
|
-
this.emissionFactorUnit = "kWh/year";
|
4992
|
-
}
|
4993
|
-
}
|
4994
|
-
solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = SolarWaterPumpingOnGridConstants;
|
4995
|
-
|
4996
|
-
Object.defineProperty(solarWaterPumpingOnGridCreationRequest, "__esModule", { value: true });
|
4997
|
-
solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = void 0;
|
4998
|
-
const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
|
4999
|
-
class SolarWaterPumpingOnGridCreationRequest {
|
5000
|
-
constructor() {
|
5001
|
-
this.solarWaterPumpingOnGridConstants = new solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants();
|
5002
|
-
}
|
5003
|
-
}
|
5004
|
-
solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = SolarWaterPumpingOnGridCreationRequest;
|
5005
|
-
|
5006
|
-
var solarWaterPumpingOnGridCal = {};
|
5007
|
-
|
5008
|
-
var hasRequiredSolarWaterPumpingOnGridCal;
|
5009
|
-
|
5010
|
-
function requireSolarWaterPumpingOnGridCal () {
|
5011
|
-
if (hasRequiredSolarWaterPumpingOnGridCal) return solarWaterPumpingOnGridCal;
|
5012
|
-
hasRequiredSolarWaterPumpingOnGridCal = 1;
|
5013
|
-
Object.defineProperty(solarWaterPumpingOnGridCal, "__esModule", { value: true });
|
5014
|
-
solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = void 0;
|
5015
|
-
const calculator_1 = requireCalculator();
|
5016
|
-
var convert = lib;
|
5017
|
-
let solarWaterPumpingOnGridCal$1 = class solarWaterPumpingOnGridCal {
|
5018
|
-
static calculate(req) {
|
5019
|
-
const constants = req.solarWaterPumpingOnGridConstants;
|
5020
|
-
const emissionUnitParts = constants.emissionFactorUnit.split('/');
|
5021
|
-
if (emissionUnitParts.length != 2) {
|
5022
|
-
throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
|
5023
|
-
}
|
5024
|
-
const measuredUnitParts = req.energyGenerationUnit.split('/');
|
5025
|
-
if (measuredUnitParts.length != 3) {
|
5026
|
-
throw Error("Invalid measured unit " + req.energyGenerationUnit);
|
5027
|
-
}
|
5028
|
-
const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
|
5029
|
-
return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
|
5030
|
-
}
|
5031
|
-
};
|
5032
|
-
solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = solarWaterPumpingOnGridCal$1;
|
5033
|
-
return solarWaterPumpingOnGridCal;
|
5034
|
-
}
|
5035
|
-
|
5036
4304
|
var hasRequiredCalculator;
|
5037
4305
|
|
5038
4306
|
function requireCalculator () {
|
@@ -5041,17 +4309,9 @@ function requireCalculator () {
|
|
5041
4309
|
Object.defineProperty(calculator, "__esModule", { value: true });
|
5042
4310
|
calculator.calculateCredit = calculator.PRECISION = void 0;
|
5043
4311
|
const agricultureCal_1 = requireAgricultureCal();
|
5044
|
-
const soilEnrichmentCal_1 = requireSoilEnrichmentCal();
|
5045
4312
|
const solarCal_1 = requireSolarCal();
|
5046
4313
|
const agricultureCreationRequest_1 = agricultureCreationRequest;
|
5047
|
-
const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
|
5048
|
-
const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
|
5049
4314
|
const solarCreationRequest_1 = solarCreationRequest;
|
5050
|
-
const stovesHousesNamibiaCal_1 = requireStovesHousesNamibiaCal();
|
5051
|
-
const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
|
5052
|
-
const solarWaterPumpingOffGridCal_1 = requireSolarWaterPumpingOffGridCal();
|
5053
|
-
const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
|
5054
|
-
const solarWaterPumpingOnGridCal_1 = requireSolarWaterPumpingOnGridCal();
|
5055
4315
|
calculator.PRECISION = 2;
|
5056
4316
|
const calculateCredit = (request) => {
|
5057
4317
|
if (request instanceof agricultureCreationRequest_1.AgricultureCreationRequest) {
|
@@ -5060,18 +4320,6 @@ function requireCalculator () {
|
|
5060
4320
|
else if (request instanceof solarCreationRequest_1.SolarCreationRequest) {
|
5061
4321
|
return solarCal_1.SolarCal.calculate(request);
|
5062
4322
|
}
|
5063
|
-
else if (request instanceof soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest) {
|
5064
|
-
return soilEnrichmentCal_1.SoilEnrichmentCal.calculate(request);
|
5065
|
-
}
|
5066
|
-
else if (request instanceof stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest) {
|
5067
|
-
return stovesHousesNamibiaCal_1.StovesHousesNamibiaCal.calculate(request);
|
5068
|
-
}
|
5069
|
-
else if (request instanceof solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest) {
|
5070
|
-
return solarWaterPumpingOffGridCal_1.solarWaterPumpingOffGridCal.calculate(request);
|
5071
|
-
}
|
5072
|
-
else if (request instanceof solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest) {
|
5073
|
-
return solarWaterPumpingOnGridCal_1.solarWaterPumpingOnGridCal.calculate(request);
|
5074
|
-
}
|
5075
4323
|
else {
|
5076
4324
|
throw Error("Not implemented");
|
5077
4325
|
}
|
@@ -5082,24 +4330,25 @@ function requireCalculator () {
|
|
5082
4330
|
|
5083
4331
|
var building_type_enum = {};
|
5084
4332
|
|
5085
|
-
|
5086
|
-
|
5087
|
-
|
5088
|
-
(function (BuildingType) {
|
5089
|
-
|
5090
|
-
|
5091
|
-
|
5092
|
-
|
5093
|
-
|
5094
|
-
|
5095
|
-
|
5096
|
-
|
5097
|
-
|
5098
|
-
})(BuildingType || (
|
4333
|
+
(function (exports) {
|
4334
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
4335
|
+
exports.BuildingType = void 0;
|
4336
|
+
(function (BuildingType) {
|
4337
|
+
BuildingType["Household"] = "Household";
|
4338
|
+
BuildingType["HealthCenter"] = "HealthCenter";
|
4339
|
+
BuildingType["Dispensary"] = "Dispensary";
|
4340
|
+
BuildingType["School"] = "School";
|
4341
|
+
BuildingType["PrimarySchool"] = "PrimarySchool";
|
4342
|
+
BuildingType["SecondarySchool"] = "SecondarySchool";
|
4343
|
+
BuildingType["PublicAdministration"] = "PublicAdministration";
|
4344
|
+
BuildingType["TradingPlace"] = "TradingPlace";
|
4345
|
+
BuildingType["BusStop"] = "BusStop";
|
4346
|
+
})(exports.BuildingType || (exports.BuildingType = {}));
|
4347
|
+
} (building_type_enum));
|
5099
4348
|
|
5100
4349
|
(function (exports) {
|
5101
4350
|
Object.defineProperty(exports, "__esModule", { value: true });
|
5102
|
-
exports.
|
4351
|
+
exports.BuildingType = exports.SolarConstants = exports.AgricultureConstants = exports.AgricultureCreationRequest = exports.SolarCreationRequest = exports.calculateCredit = void 0;
|
5103
4352
|
const calculator_1 = requireCalculator();
|
5104
4353
|
Object.defineProperty(exports, "calculateCredit", { enumerable: true, get: function () { return calculator_1.calculateCredit; } });
|
5105
4354
|
const agricultureConstants_1 = agricultureConstants;
|
@@ -5111,23 +4360,7 @@ var BuildingType;
|
|
5111
4360
|
const agricultureCreationRequest_1 = agricultureCreationRequest;
|
5112
4361
|
Object.defineProperty(exports, "AgricultureCreationRequest", { enumerable: true, get: function () { return agricultureCreationRequest_1.AgricultureCreationRequest; } });
|
5113
4362
|
const solarCreationRequest_1 = solarCreationRequest;
|
5114
|
-
Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
|
5115
|
-
const soilEnrichmentConstants_1 = soilEnrichmentConstants;
|
5116
|
-
Object.defineProperty(exports, "SoilEnrichmentConstants", { enumerable: true, get: function () { return soilEnrichmentConstants_1.SoilEnrichmentConstants; } });
|
5117
|
-
const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
|
5118
|
-
Object.defineProperty(exports, "SoilEnrichmentCreationRequest", { enumerable: true, get: function () { return soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest; } });
|
5119
|
-
const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
|
5120
|
-
Object.defineProperty(exports, "StovesHousesNamibiaConstants", { enumerable: true, get: function () { return stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants; } });
|
5121
|
-
const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
|
5122
|
-
Object.defineProperty(exports, "StovesHousesNamibiaCreationRequest", { enumerable: true, get: function () { return stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest; } });
|
5123
|
-
const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
|
5124
|
-
Object.defineProperty(exports, "SolarWaterPumpingOffGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants; } });
|
5125
|
-
const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
|
5126
|
-
Object.defineProperty(exports, "SolarWaterPumpingOffGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest; } });
|
5127
|
-
const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
|
5128
|
-
Object.defineProperty(exports, "SolarWaterPumpingOnGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants; } });
|
5129
|
-
const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
|
5130
|
-
Object.defineProperty(exports, "SolarWaterPumpingOnGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest; } });
|
4363
|
+
Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
|
5131
4364
|
} (cjs));
|
5132
4365
|
|
5133
4366
|
var consumerGroupList = [
|
@@ -5814,7 +5047,7 @@ var AddNewCompanyComponent = function (props) {
|
|
5814
5047
|
message: "Role ".concat(t("isRequired")),
|
5815
5048
|
},
|
5816
5049
|
] },
|
5817
|
-
React.createElement(antd.Radio.Group, { size: "large", disabled: isUpdate, onChange: onChangeCompanyRole }, isUpdate ? (React.createElement("div", { className: "".concat(companyRoleClassName, "-radio-container") },
|
5050
|
+
React.createElement(antd.Radio.Group, { size: "large", disabled: isUpdate, onChange: onChangeCompanyRole, style: isGuest && { justifyContent: "start" } }, isUpdate ? (React.createElement("div", { className: "".concat(companyRoleClassName, "-radio-container") },
|
5818
5051
|
React.createElement(antd.Radio.Button, { className: companyRoleClassName, value: companyRole },
|
5819
5052
|
companyRole === exports.CompanyRole.CERTIFIER ? (React.createElement(icons.SafetyOutlined, { className: "role-icons" })) : companyRole ===
|
5820
5053
|
exports.CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(icons.ExperimentOutlined, { className: "role-icons" })) : companyRole === exports.CompanyRole.MINISTRY ? (React.createElement(icons.AuditOutlined, { className: "role-icons" })) : (React.createElement(icons.BankOutlined, { className: "role-icons" })),
|
@@ -5833,16 +5066,17 @@ var AddNewCompanyComponent = function (props) {
|
|
5833
5066
|
exports.CompanyRole.MINISTRY
|
5834
5067
|
? {
|
5835
5068
|
width: "45%",
|
5069
|
+
marginLeft: isGuest ? "30px" : 0,
|
5836
5070
|
}
|
5837
|
-
: {} },
|
5071
|
+
: { marginLeft: isGuest ? "30px" : 0, } },
|
5838
5072
|
React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
|
5839
5073
|
React.createElement(antd.Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
|
5840
5074
|
React.createElement(icons.ExperimentOutlined, { className: "role-icons" }),
|
5841
5075
|
"Developer"))),
|
5842
5076
|
((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
|
5843
|
-
exports.CompanyRole.MINISTRY) && (React.createElement("div", { className: "minister-radio-container" },
|
5077
|
+
exports.CompanyRole.MINISTRY) && !isGuest && (React.createElement("div", { className: "minister-radio-container" },
|
5844
5078
|
React.createElement(antd.Tooltip, { placement: "top", title: "Permitted to perform all programme-related actions within the Ministry" },
|
5845
|
-
React.createElement(antd.Radio.Button, { className: "minister", value: "Ministry"
|
5079
|
+
React.createElement(antd.Radio.Button, { className: "minister", value: "Ministry" },
|
5846
5080
|
React.createElement(icons.AuditOutlined, { className: "role-icons" }),
|
5847
5081
|
"Ministry")))))))),
|
5848
5082
|
companyRole === exports.CompanyRole.MINISTRY && (React.createElement(antd.Form.Item, { label: "Name of the Minister", name: "nameOfMinister", initialValue: (_h = state === null || state === void 0 ? void 0 : state.record) === null || _h === void 0 ? void 0 : _h.nameOfMinister, rules: [
|
@@ -6119,6 +5353,11 @@ var CompanyProfileComponent = function (props) {
|
|
6119
5353
|
operation: "=",
|
6120
5354
|
value: companyId,
|
6121
5355
|
},
|
5356
|
+
{
|
5357
|
+
key: "isPending",
|
5358
|
+
operation: "=",
|
5359
|
+
value: true,
|
5360
|
+
},
|
6122
5361
|
],
|
6123
5362
|
})];
|
6124
5363
|
case 2:
|
@@ -6364,11 +5603,11 @@ var CompanyProfileComponent = function (props) {
|
|
6364
5603
|
(parseInt(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.state) === 2) &&
|
6365
5604
|
ability.can(exports.Action.Reject, classTransformer.plainToClass(Company, companyDetails)) &&
|
6366
5605
|
!isLoading &&
|
6367
|
-
companyDetails && (React.createElement(antd.Button, { className: "
|
5606
|
+
companyDetails && (React.createElement(antd.Button, { className: "btn-danger", onClick: onRejectOrganisation }, t("common:reject"))),
|
6368
5607
|
(parseInt(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.state) === 2 || parseInt(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.state) === 3) &&
|
6369
5608
|
ability.can(exports.Action.Approve, classTransformer.plainToClass(Company, companyDetails)) &&
|
6370
5609
|
!isLoading &&
|
6371
|
-
companyDetails && (React.createElement(antd.Button, { className: "mg-left-1
|
5610
|
+
companyDetails && (React.createElement(antd.Button, { className: "mg-left-1", type: "primary", onClick: onApproveOrganisation }, t("common:approve"))))),
|
6372
5611
|
!companyDetails && (React.createElement("div", { className: "content-body" },
|
6373
5612
|
React.createElement(antd.Skeleton, { active: true, loading: true }))),
|
6374
5613
|
companyDetails && (React.createElement("div", { className: "content-body" },
|
@@ -6462,6 +5701,11 @@ var CompanyProfileComponent = function (props) {
|
|
6462
5701
|
React.createElement(antd.Col, { span: 12, className: "field-key" }, t("companyProfile:adminEmail")),
|
6463
5702
|
React.createElement(antd.Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.email)
|
6464
5703
|
? userDetails === null || userDetails === void 0 ? void 0 : userDetails.email
|
5704
|
+
: "-")),
|
5705
|
+
React.createElement(antd.Row, { className: "field" },
|
5706
|
+
React.createElement(antd.Col, { span: 12, className: "field-key" }, t("companyProfile:adminPhone")),
|
5707
|
+
React.createElement(antd.Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo)
|
5708
|
+
? userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo
|
6465
5709
|
: "-")))))))),
|
6466
5710
|
React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onDeauthoriseOrgConfirmed, onActionCanceled: onDeauthoriseOrgCanceled, openModal: openDeauthorisationModal, errorMsg: errorMsg, loading: isLoading }),
|
6467
5711
|
React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onReactivateOrgConfirmed, onActionCanceled: onReactivateOrgCanceled, openModal: openReactivateModal, errorMsg: errorMsg, loading: isLoading }),
|
@@ -16250,35 +15494,19 @@ var NdcActionDetails = function (props) {
|
|
16250
15494
|
translator.setDefaultNamespace("ndcAction");
|
16251
15495
|
var t = translator.t;
|
16252
15496
|
var _a = React.useState(), ndcActionType = _a[0], setNdcActionType = _a[1];
|
16253
|
-
var _b = React.useState(),
|
16254
|
-
var _c = React.useState(),
|
16255
|
-
var _d = React.useState(
|
16256
|
-
var _e = React.useState(
|
16257
|
-
var _f = React.useState(
|
16258
|
-
var _g = React.useState(
|
16259
|
-
var _h = React.useState(
|
16260
|
-
var _j = React.useState(),
|
16261
|
-
var _k = React.useState(), inputNumberValueGhgReducedGas = _k[0], setInputNumberValueGhgReducedGas = _k[1];
|
16262
|
-
var _l = React.useState(), includedInNAP = _l[0], setIncludedInNAP = _l[1];
|
15497
|
+
var _b = React.useState(), mitigationType = _b[0], setmitigationType = _b[1];
|
15498
|
+
var _c = React.useState(""), sector = _c[0], setSector = _c[1];
|
15499
|
+
var _d = React.useState(ndcActionTypeList), ndcActionTypeListFiltered = _d[0]; _d[1];
|
15500
|
+
var _e = React.useState([]), checkedOptionsGhgReduced = _e[0], setCheckedOptionsGhgReduced = _e[1];
|
15501
|
+
var _f = React.useState([]), checkedOptionsGhgAvoided = _f[0], setCheckedOptionsGhgAvoided = _f[1];
|
15502
|
+
var _g = React.useState(), inputNumberValueGhgAvoidedGas = _g[0], setInputNumberValueGhgAvoidedGas = _g[1];
|
15503
|
+
var _h = React.useState(), inputNumberValueGhgReducedGas = _h[0], setInputNumberValueGhgReducedGas = _h[1];
|
15504
|
+
var _j = React.useState(), includedInNAP = _j[0], setIncludedInNAP = _j[1];
|
16263
15505
|
var form = antd.Form.useForm()[0];
|
16264
15506
|
var maximumImageSize = process.env.REACT_APP_MAXIMUM_FILE_SIZE
|
16265
15507
|
? parseInt(process.env.REACT_APP_MAXIMUM_FILE_SIZE)
|
16266
15508
|
: 5000000;
|
16267
15509
|
var ghgEmissionsGas = ["CO2", "CH4", "N20", "HFCs", "PFCs", "SF6"];
|
16268
|
-
[
|
16269
|
-
exports.MitigationSubTypes.RICE_CROPS,
|
16270
|
-
exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV,
|
16271
|
-
exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID,
|
16272
|
-
exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID,
|
16273
|
-
exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR,
|
16274
|
-
exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA,
|
16275
|
-
];
|
16276
|
-
var methodologyOptions = [
|
16277
|
-
{ value: 'UNFCCC CDM', label: 'UNFCCC CDM' },
|
16278
|
-
{ value: 'Gold Standard', label: 'Gold Standard' },
|
16279
|
-
{ value: 'Verra VCS', label: 'Verra VCS' },
|
16280
|
-
{ value: 'Other', label: 'Other' },
|
16281
|
-
];
|
16282
15510
|
React.useEffect(function () {
|
16283
15511
|
if (programmeDetails) {
|
16284
15512
|
setSector(programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sector);
|
@@ -16293,9 +15521,6 @@ var NdcActionDetails = function (props) {
|
|
16293
15521
|
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) {
|
16294
15522
|
setmitigationType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation);
|
16295
15523
|
}
|
16296
|
-
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) {
|
16297
|
-
setMitigationSubType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation);
|
16298
|
-
}
|
16299
15524
|
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP) {
|
16300
15525
|
setIncludedInNAP(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP);
|
16301
15526
|
}
|
@@ -16308,7 +15533,6 @@ var NdcActionDetails = function (props) {
|
|
16308
15533
|
form.setFieldsValue({
|
16309
15534
|
ndcActionType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action,
|
16310
15535
|
mitigationType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation,
|
16311
|
-
mitigationSubType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation,
|
16312
15536
|
energyGeneration: (_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _a === void 0 ? void 0 : _a.energyGeneration,
|
16313
15537
|
energyGenerationUnit: (_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _b === void 0 ? void 0 : _b.energyGenerationUnit,
|
16314
15538
|
consumerGroup: (_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.consumerGroup,
|
@@ -16386,42 +15610,18 @@ var NdcActionDetails = function (props) {
|
|
16386
15610
|
if (formValues.ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16387
15611
|
formValues.ndcActionType === exports.NdcActionTypes.CrossCutting) {
|
16388
15612
|
if (formValues.mitigationType === exports.MitigationTypes.AGRICULTURE) {
|
16389
|
-
|
16390
|
-
|
16391
|
-
|
16392
|
-
|
16393
|
-
|
16394
|
-
|
16395
|
-
creditRequest.durationUnit = "s";
|
16396
|
-
}
|
16397
|
-
else if (formValues.mitigationSubType === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
|
16398
|
-
creditRequest = new cjs.SoilEnrichmentCreationRequest();
|
16399
|
-
creditRequest.weight = formValues.tonnesOnDryBasis;
|
16400
|
-
}
|
15613
|
+
creditRequest = new cjs.AgricultureCreationRequest();
|
15614
|
+
creditRequest.landArea = formValues.eligibleLandArea;
|
15615
|
+
creditRequest.landAreaUnit = formValues.landAreaUnit;
|
15616
|
+
creditRequest.duration =
|
15617
|
+
programmeDetails.endTime - programmeDetails.startTime;
|
15618
|
+
creditRequest.durationUnit = "s";
|
16401
15619
|
}
|
16402
15620
|
else if (formValues.mitigationType === exports.MitigationTypes.SOLAR) {
|
16403
|
-
|
16404
|
-
|
16405
|
-
|
16406
|
-
|
16407
|
-
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16408
|
-
}
|
16409
|
-
else if (formValues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
|
16410
|
-
creditRequest = new cjs.SolarWaterPumpingOffGridCreationRequest();
|
16411
|
-
creditRequest.energyGeneration = formValues.energyGeneration;
|
16412
|
-
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16413
|
-
}
|
16414
|
-
else if (formValues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
|
16415
|
-
creditRequest = new cjs.SolarWaterPumpingOnGridCreationRequest();
|
16416
|
-
creditRequest.energyGeneration = formValues.energyGeneration;
|
16417
|
-
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16418
|
-
}
|
16419
|
-
}
|
16420
|
-
else if (formValues.mitigationType === exports.MitigationTypes.EE_HOUSEHOLDS
|
16421
|
-
&& formValues.mitigationSubType === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
|
16422
|
-
creditRequest = new cjs.StovesHousesNamibiaCreationRequest();
|
16423
|
-
creditRequest.numberOfDays = formValues.numberOfDays;
|
16424
|
-
creditRequest.numberOfPeopleInHousehold = formValues.numberOfPeople;
|
15621
|
+
creditRequest = new cjs.SolarCreationRequest();
|
15622
|
+
creditRequest.buildingType = formValues.consumerGroup;
|
15623
|
+
creditRequest.energyGeneration = formValues.energyGeneration;
|
15624
|
+
creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
|
16425
15625
|
}
|
16426
15626
|
}
|
16427
15627
|
var creditResponse = cjs.calculateCredit(creditRequest);
|
@@ -16448,37 +15648,8 @@ var NdcActionDetails = function (props) {
|
|
16448
15648
|
};
|
16449
15649
|
var handleMitigationTypeChange = function (selectedMitigationType) {
|
16450
15650
|
setmitigationType(selectedMitigationType);
|
16451
|
-
form.setFieldsValue({
|
16452
|
-
mitigationSubType: "",
|
16453
|
-
tonnesOnDryBasis: "",
|
16454
|
-
numberOfPeople: "",
|
16455
|
-
numberOfDays: "",
|
16456
|
-
landAreaUnit: "",
|
16457
|
-
eligibleLandArea: "",
|
16458
|
-
consumerGroup: "",
|
16459
|
-
energyGenerationUnit: "",
|
16460
|
-
energyGeneration: "",
|
16461
|
-
methodologyEstimatedCredits: 0,
|
16462
|
-
});
|
16463
15651
|
calculateMethodologyEstimatedCredits();
|
16464
15652
|
};
|
16465
|
-
var handleMitigationSubTypeChange = function (selectedSubMitigationType) {
|
16466
|
-
setMitigationSubType(selectedSubMitigationType);
|
16467
|
-
form.setFieldsValue({
|
16468
|
-
tonnesOnDryBasis: "",
|
16469
|
-
numberOfPeople: "",
|
16470
|
-
numberOfDays: "",
|
16471
|
-
landAreaUnit: "",
|
16472
|
-
eligibleLandArea: "",
|
16473
|
-
consumerGroup: "",
|
16474
|
-
energyGenerationUnit: "",
|
16475
|
-
energyGeneration: "",
|
16476
|
-
methodologyEstimatedCredits: 0,
|
16477
|
-
});
|
16478
|
-
};
|
16479
|
-
var handleMethodologyChange = function (selectedMethodology) {
|
16480
|
-
setMethodology(selectedMethodology);
|
16481
|
-
};
|
16482
15653
|
var onNdcActionDetailsFormSubmit = function (ndcActionFormvalues) { return __awaiter(void 0, void 0, void 0, function () {
|
16483
15654
|
var ndcActionDetailObj, enablementReport;
|
16484
15655
|
var _a;
|
@@ -16489,28 +15660,17 @@ var NdcActionDetails = function (props) {
|
|
16489
15660
|
ndcActionDetailObj.action = ndcActionFormvalues.ndcActionType;
|
16490
15661
|
if (ndcActionFormvalues.ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16491
15662
|
ndcActionFormvalues.ndcActionType === exports.NdcActionTypes.CrossCutting) {
|
16492
|
-
ndcActionDetailObj.methodology =
|
15663
|
+
ndcActionDetailObj.methodology = t("ndcAction:goldStandard");
|
16493
15664
|
ndcActionDetailObj.typeOfMitigation = ndcActionFormvalues.mitigationType;
|
16494
|
-
|
16495
|
-
if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE
|
16496
|
-
&& ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.RICE_CROPS) {
|
15665
|
+
if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE) {
|
16497
15666
|
ndcActionDetailObj.agricultureProperties = {
|
16498
15667
|
landArea: ndcActionFormvalues.eligibleLandArea
|
16499
15668
|
? ndcActionFormvalues.eligibleLandArea
|
16500
15669
|
: 0,
|
16501
15670
|
landAreaUnit: ndcActionFormvalues.landAreaUnit,
|
16502
15671
|
};
|
16503
|
-
ndcActionDetailObj.creditCalculationProperties = {
|
16504
|
-
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16505
|
-
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16506
|
-
landArea: ndcActionFormvalues.eligibleLandArea
|
16507
|
-
? ndcActionFormvalues.eligibleLandArea
|
16508
|
-
: 0,
|
16509
|
-
landAreaUnit: ndcActionFormvalues.landAreaUnit,
|
16510
|
-
};
|
16511
15672
|
}
|
16512
|
-
else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR
|
16513
|
-
&& ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
|
15673
|
+
else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR) {
|
16514
15674
|
ndcActionDetailObj.solarProperties = {
|
16515
15675
|
energyGeneration: ndcActionFormvalues.energyGeneration
|
16516
15676
|
? ndcActionFormvalues.energyGeneration
|
@@ -16518,54 +15678,18 @@ var NdcActionDetails = function (props) {
|
|
16518
15678
|
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
16519
15679
|
consumerGroup: ndcActionFormvalues.consumerGroup,
|
16520
15680
|
};
|
16521
|
-
ndcActionDetailObj.creditCalculationProperties = {
|
16522
|
-
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16523
|
-
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16524
|
-
energyGeneration: ndcActionFormvalues.energyGeneration
|
16525
|
-
? ndcActionFormvalues.energyGeneration
|
16526
|
-
: 0,
|
16527
|
-
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
16528
|
-
consumerGroup: ndcActionFormvalues.consumerGroup,
|
16529
|
-
};
|
16530
15681
|
}
|
16531
|
-
|
16532
|
-
|
16533
|
-
|
16534
|
-
|
16535
|
-
|
16536
|
-
|
16537
|
-
|
16538
|
-
:
|
16539
|
-
|
16540
|
-
|
16541
|
-
|
16542
|
-
else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR
|
16543
|
-
&& ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
|
16544
|
-
ndcActionDetailObj.creditCalculationProperties = {
|
16545
|
-
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16546
|
-
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16547
|
-
energyGeneration: ndcActionFormvalues.energyGeneration
|
16548
|
-
? ndcActionFormvalues.energyGeneration
|
16549
|
-
: 0,
|
16550
|
-
energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
|
16551
|
-
};
|
16552
|
-
}
|
16553
|
-
else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.EE_HOUSEHOLDS
|
16554
|
-
&& ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
|
16555
|
-
ndcActionDetailObj.creditCalculationProperties = {
|
16556
|
-
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16557
|
-
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16558
|
-
numberOfDays: ndcActionFormvalues.numberOfDays,
|
16559
|
-
numberOfPeopleInHousehold: ndcActionFormvalues.numberOfPeople,
|
16560
|
-
};
|
16561
|
-
}
|
16562
|
-
else if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE
|
16563
|
-
&& ndcActionFormvalues.mitigationSubType === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
|
16564
|
-
ndcActionDetailObj.creditCalculationProperties = {
|
16565
|
-
typeOfMitigation: ndcActionFormvalues.mitigationType,
|
16566
|
-
subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
|
16567
|
-
weight: ndcActionFormvalues.tonnesOnDryBasis,
|
16568
|
-
};
|
15682
|
+
if (ndcActionFormvalues.mitigationType === exports.MitigationTypes.SOLAR ||
|
15683
|
+
ndcActionFormvalues.mitigationType === exports.MitigationTypes.AGRICULTURE) {
|
15684
|
+
if (parseFloat(ndcActionFormvalues.methodologyEstimatedCredits) <= 0) {
|
15685
|
+
antd.message.open({
|
15686
|
+
type: "error",
|
15687
|
+
content: t("methodologyEstimatedCreditsInvalid"),
|
15688
|
+
duration: 4,
|
15689
|
+
style: { textAlign: "right", marginRight: 15, marginTop: 10 },
|
15690
|
+
});
|
15691
|
+
return [2 /*return*/];
|
15692
|
+
}
|
16569
15693
|
}
|
16570
15694
|
if (ndcActionFormvalues.userEstimatedCredits > programmeDetails.creditEst) {
|
16571
15695
|
antd.message.open({
|
@@ -16687,36 +15811,24 @@ var NdcActionDetails = function (props) {
|
|
16687
15811
|
(programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sector) === exports.Sector.Hospitality
|
16688
15812
|
? mitigationTypeList
|
16689
15813
|
: sectorMitigationTypesListMapped[sector] }))),
|
16690
|
-
(ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16691
|
-
ndcActionType === exports.NdcActionTypes.CrossCutting) &&
|
16692
|
-
mitigationType && mitigationSubTypesListMapped[mitigationType] && (React.createElement(antd.Col, { style: { marginLeft: "38px" } },
|
16693
|
-
React.createElement(antd.Form.Item, { label: t("ndcAction:mitigationSubType"), name: "mitigationSubType", rules: [
|
16694
|
-
{
|
16695
|
-
required: true,
|
16696
|
-
message: "".concat(t("ndcAction:mitigationSubType"), " ").concat(t("ndcAction:isRequired")),
|
16697
|
-
},
|
16698
|
-
] },
|
16699
|
-
React.createElement(antd.Select, { size: "large", onChange: handleMitigationSubTypeChange, style: {
|
16700
|
-
width: "249px",
|
16701
|
-
borderRadius: "4px",
|
16702
|
-
}, options: mitigationSubTypesListMapped[mitigationType], value: mitigationSubType })))),
|
16703
15814
|
React.createElement(antd.Col, { style: { marginLeft: "38px" } },
|
16704
|
-
React.createElement(antd.Form.Item, { label: t("ndcAction:methodology"), name: "methodology",
|
16705
|
-
|
16706
|
-
|
16707
|
-
|
16708
|
-
},
|
16709
|
-
] },
|
16710
|
-
React.createElement(antd.Select, { size: "large", onChange: handleMethodologyChange, style: {
|
15815
|
+
React.createElement(antd.Form.Item, { label: t("ndcAction:methodology"), name: "methodology" },
|
15816
|
+
React.createElement("span", { style: {
|
15817
|
+
display: "inline-block",
|
15818
|
+
border: "1px solid #D9D9D9",
|
16711
15819
|
width: "154px",
|
15820
|
+
height: "38px",
|
16712
15821
|
borderRadius: "4px",
|
16713
|
-
|
15822
|
+
padding: "7px 8px",
|
15823
|
+
fontSize: "14px",
|
15824
|
+
backgroundColor: "#F0F0F0",
|
15825
|
+
color: "#8C8C8C",
|
15826
|
+
} },
|
15827
|
+
" ",
|
15828
|
+
t("ndcAction:goldStandard"))))))),
|
16714
15829
|
(ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16715
15830
|
ndcActionType === exports.NdcActionTypes.CrossCutting) &&
|
16716
|
-
mitigationType === exports.MitigationTypes.SOLAR &&
|
16717
|
-
(mitigationSubType === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV ||
|
16718
|
-
mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
|
16719
|
-
mitigationSubType === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) && (React.createElement(React.Fragment, null,
|
15831
|
+
mitigationType === exports.MitigationTypes.SOLAR && (React.createElement(React.Fragment, null,
|
16720
15832
|
React.createElement(antd.Row, { justify: "start", align: "middle" },
|
16721
15833
|
React.createElement(antd.Col, null,
|
16722
15834
|
React.createElement(antd.Form.Item, { label: t("ndcAction:energyGeneration"), rules: [
|
@@ -16747,17 +15859,16 @@ var NdcActionDetails = function (props) {
|
|
16747
15859
|
},
|
16748
15860
|
] },
|
16749
15861
|
React.createElement(antd.Select, { size: "large", style: { width: 442 }, options: energyGenerationUnitList, onChange: calculateMethodologyEstimatedCredits })))),
|
16750
|
-
|
15862
|
+
React.createElement(antd.Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
|
16751
15863
|
{
|
16752
15864
|
required: true,
|
16753
15865
|
message: "".concat(t("ndcAction:consumerGroup"), " ").concat(t("ndcAction:isRequired")),
|
16754
15866
|
},
|
16755
15867
|
] },
|
16756
|
-
React.createElement(antd.Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList }))))
|
15868
|
+
React.createElement(antd.Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList })))),
|
16757
15869
|
(ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16758
15870
|
ndcActionType === exports.NdcActionTypes.CrossCutting) &&
|
16759
|
-
mitigationType === exports.MitigationTypes.AGRICULTURE &&
|
16760
|
-
mitigationSubType === exports.MitigationSubTypes.RICE_CROPS && (React.createElement(antd.Row, { justify: "start", align: "middle" },
|
15871
|
+
mitigationType === exports.MitigationTypes.AGRICULTURE && (React.createElement(antd.Row, { justify: "start", align: "middle" },
|
16761
15872
|
React.createElement(antd.Col, null,
|
16762
15873
|
React.createElement(antd.Form.Item, { label: t("ndcAction:eligibleLandArea"), name: "eligibleLandArea", rules: [
|
16763
15874
|
{
|
@@ -16787,78 +15898,6 @@ var NdcActionDetails = function (props) {
|
|
16787
15898
|
},
|
16788
15899
|
] },
|
16789
15900
|
React.createElement(antd.Select, { onChange: calculateMethodologyEstimatedCredits, size: "large", style: { width: 442 }, options: landAreaUnitList }))))),
|
16790
|
-
(ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16791
|
-
ndcActionType === exports.NdcActionTypes.CrossCutting) &&
|
16792
|
-
mitigationType === exports.MitigationTypes.AGRICULTURE &&
|
16793
|
-
mitigationSubType === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR && (React.createElement(antd.Row, { justify: "start", align: "middle" },
|
16794
|
-
React.createElement(antd.Col, null,
|
16795
|
-
React.createElement(antd.Form.Item, { label: t("ndcAction:tonnesOnDryBasis"), name: "tonnesOnDryBasis", rules: [
|
16796
|
-
{
|
16797
|
-
required: true,
|
16798
|
-
message: "",
|
16799
|
-
},
|
16800
|
-
{
|
16801
|
-
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
16802
|
-
return __generator(this, function (_a) {
|
16803
|
-
if (String(value).trim() === "" ||
|
16804
|
-
String(value).trim() === undefined ||
|
16805
|
-
value === null ||
|
16806
|
-
value === undefined) {
|
16807
|
-
throw new Error("".concat(t("ndcAction:tonnesOnDryBasis"), " ").concat(t("ndcAction:isRequired")));
|
16808
|
-
}
|
16809
|
-
return [2 /*return*/];
|
16810
|
-
});
|
16811
|
-
}); },
|
16812
|
-
},
|
16813
|
-
] },
|
16814
|
-
React.createElement(antd.InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))))),
|
16815
|
-
(ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16816
|
-
ndcActionType === exports.NdcActionTypes.CrossCutting) &&
|
16817
|
-
mitigationType === exports.MitigationTypes.EE_HOUSEHOLDS &&
|
16818
|
-
mitigationSubType === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA && (React.createElement(React.Fragment, null,
|
16819
|
-
React.createElement(antd.Row, { justify: "start", align: "middle" },
|
16820
|
-
React.createElement(antd.Col, null,
|
16821
|
-
React.createElement(antd.Form.Item, { label: t("ndcAction:numberOfDays"), rules: [
|
16822
|
-
{
|
16823
|
-
required: true,
|
16824
|
-
message: "",
|
16825
|
-
},
|
16826
|
-
{
|
16827
|
-
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
16828
|
-
return __generator(this, function (_a) {
|
16829
|
-
if (String(value).trim() === "" ||
|
16830
|
-
String(value).trim() === undefined ||
|
16831
|
-
value === null ||
|
16832
|
-
value === undefined) {
|
16833
|
-
throw new Error("".concat(t("ndcAction:numberOfDays"), " ").concat(t("ndcAction:isRequired")));
|
16834
|
-
}
|
16835
|
-
return [2 /*return*/];
|
16836
|
-
});
|
16837
|
-
}); },
|
16838
|
-
},
|
16839
|
-
], name: "numberOfDays" },
|
16840
|
-
React.createElement(antd.InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))),
|
16841
|
-
React.createElement(antd.Col, { style: { marginLeft: "38px" } },
|
16842
|
-
React.createElement(antd.Form.Item, { label: t("ndcAction:numberOfPeople"), rules: [
|
16843
|
-
{
|
16844
|
-
required: true,
|
16845
|
-
message: "",
|
16846
|
-
},
|
16847
|
-
{
|
16848
|
-
validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
|
16849
|
-
return __generator(this, function (_a) {
|
16850
|
-
if (String(value).trim() === "" ||
|
16851
|
-
String(value).trim() === undefined ||
|
16852
|
-
value === null ||
|
16853
|
-
value === undefined) {
|
16854
|
-
throw new Error("".concat(t("ndcAction:numberOfPeople"), " ").concat(t("ndcAction:isRequired")));
|
16855
|
-
}
|
16856
|
-
return [2 /*return*/];
|
16857
|
-
});
|
16858
|
-
}); },
|
16859
|
-
},
|
16860
|
-
], name: "numberOfPeople" },
|
16861
|
-
React.createElement(antd.InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits })))))),
|
16862
15901
|
(ndcActionType === exports.NdcActionTypes.Mitigation ||
|
16863
15902
|
ndcActionType === exports.NdcActionTypes.CrossCutting) && (React.createElement(antd.Row, { justify: "start", align: "middle" },
|
16864
15903
|
React.createElement(antd.Col, null,
|
@@ -19753,55 +18792,26 @@ var NdcActionViewComponent = function (props) {
|
|
19753
18792
|
_a[t("ndcAction:viewCurrentStatus")] = (React.createElement(antd.Tag, { className: "clickable", color: getNdcStatusTagType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status) }, addSpaces(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status))),
|
19754
18793
|
_a);
|
19755
18794
|
var getNdcActionMitigationDetails = function () {
|
19756
|
-
var _a, _b, _c, _d, _e
|
18795
|
+
var _a, _b, _c, _d, _e;
|
19757
18796
|
var mitigationDetails = {};
|
19758
18797
|
mitigationTypeList === null || mitigationTypeList === void 0 ? void 0 : mitigationTypeList.map(function (type) {
|
19759
18798
|
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === type.value) {
|
19760
18799
|
mitigationDetails[t("ndcAction:viewMitigationType")] = type.label;
|
19761
18800
|
}
|
19762
18801
|
});
|
19763
|
-
mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.map(function (type) {
|
19764
|
-
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === type.value) {
|
19765
|
-
mitigationDetails[t("ndcAction:viewMitigationSubType")] = type.label;
|
19766
|
-
}
|
19767
|
-
});
|
19768
18802
|
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.AGRICULTURE &&
|
19769
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.RICE_CROPS &&
|
19770
18803
|
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties)) {
|
19771
18804
|
mitigationDetails[t("ndcAction:viewMitigationLandArea")] =
|
19772
18805
|
addCommSep((_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _a === void 0 ? void 0 : _a.landArea) +
|
19773
18806
|
((_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _b === void 0 ? void 0 : _b.landAreaUnit);
|
19774
18807
|
}
|
19775
|
-
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.AGRICULTURE &&
|
19776
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR &&
|
19777
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
|
19778
|
-
mitigationDetails[t("ndcAction:viewMitigationWeight")] =
|
19779
|
-
addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _c === void 0 ? void 0 : _c.weight) + 't';
|
19780
|
-
}
|
19781
18808
|
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.SOLAR &&
|
19782
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV &&
|
19783
18809
|
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties)) {
|
19784
18810
|
mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
|
19785
|
-
addCommSep((
|
19786
|
-
((
|
18811
|
+
addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.energyGeneration) +
|
18812
|
+
((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGenerationUnit);
|
19787
18813
|
mitigationDetails[t("ndcAction:viewMitigationConsumerGroup")] =
|
19788
|
-
(
|
19789
|
-
}
|
19790
|
-
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.SOLAR &&
|
19791
|
-
((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
|
19792
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) &&
|
19793
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
|
19794
|
-
mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
|
19795
|
-
addCommSep((_g = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _g === void 0 ? void 0 : _g.energyGeneration) +
|
19796
|
-
((_h = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _h === void 0 ? void 0 : _h.energyGenerationUnit);
|
19797
|
-
}
|
19798
|
-
if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === exports.MitigationTypes.EE_HOUSEHOLDS &&
|
19799
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === exports.MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA &&
|
19800
|
-
(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
|
19801
|
-
mitigationDetails[t("ndcAction:viewMitigationNoOfDays")] =
|
19802
|
-
(_j = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _j === void 0 ? void 0 : _j.numberOfDays;
|
19803
|
-
mitigationDetails[t("ndcAction:viewMitigationNoOfPeople")] =
|
19804
|
-
(_k = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _k === void 0 ? void 0 : _k.numberOfPeopleInHousehold;
|
18814
|
+
(_e = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _e === void 0 ? void 0 : _e.consumerGroup;
|
19805
18815
|
}
|
19806
18816
|
if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.ndcFinancing) {
|
19807
18817
|
mitigationDetails[t("ndcAction:viewMitigationUserEstimatedCredits")] =
|
@@ -25985,8 +24995,6 @@ exports.getStatusTagType = getStatusTagType;
|
|
25985
24995
|
exports.getTransferStageTagType = getTransferStageTagType;
|
25986
24996
|
exports.isBase64 = isBase64;
|
25987
24997
|
exports.landAreaUnitList = landAreaUnitList;
|
25988
|
-
exports.mitigationSubTypeList = mitigationSubTypeList;
|
25989
|
-
exports.mitigationSubTypesListMapped = mitigationSubTypesListMapped;
|
25990
24998
|
exports.mitigationTypeList = mitigationTypeList;
|
25991
24999
|
exports.ndcActionTypeList = ndcActionTypeList;
|
25992
25000
|
exports.sectorMitigationTypesListMapped = sectorMitigationTypesListMapped;
|