@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/esm/index.js CHANGED
@@ -425,7 +425,7 @@ var CompanyManagementColumns;
425
425
  CompanyManagementColumns["companyRole"] = "companyRole";
426
426
  CompanyManagementColumns["programmeCount"] = "programmeCount";
427
427
  CompanyManagementColumns["creditBalance"] = "creditBalance";
428
- CompanyManagementColumns["companyState"] = "state";
428
+ CompanyManagementColumns["companyState"] = "status";
429
429
  })(CompanyManagementColumns || (CompanyManagementColumns = {}));
430
430
 
431
431
  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";
@@ -469,7 +469,7 @@ var CompanyRole;
469
469
  CompanyRole["API"] = "API";
470
470
  })(CompanyRole || (CompanyRole = {}));
471
471
 
472
- 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: 110px;\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: 110px;\n text-align: center;\n outline-style: solid;\n outline-width: thin; }\n";
472
+ 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";
473
473
  styleInject(css_248z$r);
474
474
 
475
475
  var OrganisationStatus = function (props) {
@@ -614,7 +614,7 @@ var CompanyManagementComponent = function (props) {
614
614
  dataIndex: "state",
615
615
  key: CompanyManagementColumns.companyState,
616
616
  sorter: true,
617
- align: "left",
617
+ align: "center",
618
618
  render: function (item) {
619
619
  return getCompanyStateComponent(item);
620
620
  },
@@ -936,172 +936,7 @@ var MitigationTypes;
936
936
  MitigationTypes["SOLAR"] = "Solar";
937
937
  MitigationTypes["TRANSPORT"] = "Transport";
938
938
  MitigationTypes["WIND"] = "Wind";
939
- MitigationTypes["CO2_USAGE"] = "CO2Usage";
940
- MitigationTypes["TIDAL"] = "Tidal";
941
939
  })(MitigationTypes || (MitigationTypes = {}));
942
- var MitigationSubTypes;
943
- (function (MitigationSubTypes) {
944
- MitigationSubTypes["IRRIGATION"] = "Irrigation";
945
- MitigationSubTypes["ENERGY_EFFICIENCY"] = "EnergyEfficiency";
946
- MitigationSubTypes["ALTERNATIVE_FERTILISER"] = "AlternativeFertilisers";
947
- MitigationSubTypes["NO_TILLAGE"] = "NoTillage";
948
- MitigationSubTypes["SOIL_ENRICHMENT_BIOCHAR"] = "SoilEnrichmentBiochar";
949
- MitigationSubTypes["RICE_CROPS"] = "RiceCrops";
950
- MitigationSubTypes["BAGASSE_POWER"] = "BagassePower";
951
- MitigationSubTypes["PALM_OIL_SOLID_WASTE"] = "Palm oil solid waste";
952
- MitigationSubTypes["AGRICULTURAL_RESIDUES_OTHER_KINDS"] = "AgriculturalResiduesOtherKinds";
953
- MitigationSubTypes["AGRICULTURAL_RESIDUES_RICE_HUSK"] = "AgriculturalResiduesRiceHusk";
954
- MitigationSubTypes["AGRICULTURAL_RESIDUES_MUSTARD_CROP"] = "AgriculturalResiduesMustardCrop";
955
- MitigationSubTypes["AGRICULTURAL_RESIDUES_POULTRY_LITTER"] = "AgriculturalResiduesPoultryLitter";
956
- MitigationSubTypes["BLACK_LIQUOR"] = "BlackLiquor";
957
- MitigationSubTypes["FOREST_RESIDUES_SAWMILL_WASTE"] = "ForestResiduesSawmillWaste";
958
- MitigationSubTypes["FOREST_RESIDUES_OTHER"] = "ForestResiduesOther";
959
- MitigationSubTypes["FOREST_BIOMASS"] = "ForestBiomass";
960
- MitigationSubTypes["INDUSTRIAL_WASTE"] = "IndustrialWaste";
961
- MitigationSubTypes["GASIFICATION_OF_BIOMASS"] = "GasificationOfBiomass";
962
- MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS"] = "SwitchFromFossilFuelToPipedBiogas";
963
- MitigationSubTypes["BIOMASS_BRIQUETTES_OR_PELLETS"] = "BiomassBriquettesOrPellets";
964
- MitigationSubTypes["BIODIESEL"] = "Biodiesel";
965
- MitigationSubTypes["BIODIESEL_FROM_WASTE_OIL"] = "BiodieselFromWasteOil";
966
- MitigationSubTypes["ETHANOL"] = "Ethanol";
967
- MitigationSubTypes["CLINKER_REPLACEMENT"] = "ClinkerReplacement";
968
- MitigationSubTypes["COAL_MINE_METHANE"] = "CoalMineMethane";
969
- MitigationSubTypes["COAL_BED_METHANE"] = "CoalBedMethane";
970
- MitigationSubTypes["CMM_VENTILATION_AIR_METHANE"] = "CMMVentilationAirMethane";
971
- MitigationSubTypes["VENTILATION_AIR_METHANE"] = "VentilationAirMethane";
972
- MitigationSubTypes["LIGHTING"] = "Lighting";
973
- MitigationSubTypes["SOLAR_LAMPS"] = "SolarLamps";
974
- MitigationSubTypes["STOVES"] = "Stoves";
975
- MitigationSubTypes["STOVES_SCHOOL_IN_GHANA"] = "StovesSchoolInGhana";
976
- MitigationSubTypes["STOVES_HOUSES_IN_NAMIBIA"] = "StovesHousesInNamibia";
977
- MitigationSubTypes["LIGHTING_INSULATION_SOLAR"] = "LightingInsulationSolar";
978
- MitigationSubTypes["APPLIANCES"] = "Appliances";
979
- MitigationSubTypes["CHEMICALS"] = "Chemicals";
980
- MitigationSubTypes["PETROCHEMICALS"] = "Petrochemicals";
981
- MitigationSubTypes["PAPER"] = "Paper";
982
- MitigationSubTypes["CEMENT"] = "Cement";
983
- MitigationSubTypes["IRON_STEEL"] = "IronSteel";
984
- MitigationSubTypes["MACHINERY"] = "Machinery";
985
- MitigationSubTypes["TEXTILES"] = "Textiles";
986
- MitigationSubTypes["ELECTRONICS"] = "Electronics";
987
- MitigationSubTypes["FOOD"] = "Food";
988
- MitigationSubTypes["BUILDING_MATERIALS"] = "BuildingMaterials";
989
- MitigationSubTypes["GLASS"] = "Glass";
990
- MitigationSubTypes["NON_FERROUS_METALS"] = "NonFerrousMetals";
991
- MitigationSubTypes["COKE_OVEN"] = "CokeOven";
992
- MitigationSubTypes["Mining"] = "Mining";
993
- MitigationSubTypes["CONSTRUCTION"] = "Construction";
994
- MitigationSubTypes["METAL_PRODUCTS"] = "MetalProducts";
995
- MitigationSubTypes["WOOD"] = "Wood";
996
- MitigationSubTypes["RECYCLING"] = "Recycling";
997
- MitigationSubTypes["CHEMICALS_HEAT"] = "ChemicalsHeat";
998
- MitigationSubTypes["PETROCHEMICALS_HEAT"] = "PetrochemicalsHeat";
999
- MitigationSubTypes["CARBON_BLACK_GAS"] = "CarbonBlackGas";
1000
- MitigationSubTypes["CEMENT_HEAT"] = "CementHeat";
1001
- MitigationSubTypes["IRON_STEEL_HEAT"] = "IronSteelHeat";
1002
- MitigationSubTypes["BUILDING_MATERIALS_HEAT"] = "BuildingMaterialsHeat";
1003
- MitigationSubTypes["GLASS_HEAT"] = "GlassHeat";
1004
- MitigationSubTypes["NON_FERROUS_METALS_HEAT"] = "NonFerrousMetalsHeat";
1005
- MitigationSubTypes["COKE_OVEN_GAS"] = "CokeOvenGas";
1006
- MitigationSubTypes["HVAC_LIGHTING"] = "HvacLighting";
1007
- MitigationSubTypes["AIR_CONDITIONING"] = "AirConditioning";
1008
- MitigationSubTypes["EE_NEW_BUILDINGS"] = "EeNewBuildings";
1009
- MitigationSubTypes["STREET_LIGHTING"] = "StreetLighting";
1010
- MitigationSubTypes["LIGHTING_IN_SERVICE"] = "LightingInService";
1011
- MitigationSubTypes["WATER_PUMPING"] = "WaterPumping";
1012
- MitigationSubTypes["WATER_PURIFICATION"] = "WaterPurification";
1013
- MitigationSubTypes["EE_PUBLIC_STOVES"] = "EePublicStoves";
1014
- MitigationSubTypes["EE_PUBLIC_BUILDINGS"] = "EePublicBuildings";
1015
- MitigationSubTypes["EE_COMMERCIAL_BUILDINGS"] = "EeCommercialBuildings";
1016
- MitigationSubTypes["SINGLE_CYCLE_TO_COMBINED_CYCLE"] = "SingleCycleToCombinedCycle";
1017
- MitigationSubTypes["COGENERATION"] = "Cogeneration";
1018
- MitigationSubTypes["CO_FIRING_WITH_BIOMASS"] = "CoFiringWithBiomass";
1019
- MitigationSubTypes["HIGHER_EFFICIENCY_COAL_POWER"] = "HigherEfficiencyCoalPower";
1020
- MitigationSubTypes["HIGHER_EFFICIENCY_OIL_POWER"] = "HigherEfficiencyOilPower";
1021
- MitigationSubTypes["HIGHER_EFFICIENCY_USING_WASTE_HEAT"] = "HigherEfficiencyUsingWasteHeat";
1022
- MitigationSubTypes["POWER_PLANT_REHABILITATION"] = "PowerPlantRehabilitation";
1023
- MitigationSubTypes["HIGHER_EFFICIENCY_STEAM_BOILER"] = "HigherEfficiencySteamBoiler";
1024
- MitigationSubTypes["DISTRICT_HEATING"] = "DistrictHeating";
1025
- MitigationSubTypes["REPLACEMENT_OF_DISTRICT_HEATING_BOILERS"] = "ReplacementOfDistrictHeatingBoilers";
1026
- MitigationSubTypes["CONNECTION_OF_ISOLATED_GRID"] = "ConnectionOfIsolatedGrid";
1027
- MitigationSubTypes["DISTRICT_COOLING"] = "DistrictCooling";
1028
- MitigationSubTypes["EFFICIENT_ELECTRICITY_DISTRIBUTION"] = "EfficientElectricityDistribution";
1029
- MitigationSubTypes["AFFORESTATION"] = "Afforestation";
1030
- MitigationSubTypes["MANGROVES"] = "Mangroves";
1031
- MitigationSubTypes["AGROFORESTRY"] = "Agroforestry";
1032
- MitigationSubTypes["REFORESTATION"] = "Reforestation";
1033
- MitigationSubTypes["COAL_TO_NATURAL_GAS"] = "CoalToNaturalGas";
1034
- MitigationSubTypes["COAL_TO_OIL"] = "CoalToOil";
1035
- MitigationSubTypes["LIGNITE_TO_NATURAL_GAS"] = "LigniteToNaturalGas";
1036
- MitigationSubTypes["NEW_NATURAL_GAS_PLANT"] = "NewNaturalGasPlant";
1037
- MitigationSubTypes["NEW_NATURAL_GAS_PLANT_USING_LNG"] = "NewNaturalGasPlantUsingLng";
1038
- MitigationSubTypes["OIL_TO_ELECTRICITY"] = "OilToElectricity";
1039
- MitigationSubTypes["OIL_TO_LPG"] = "OilToLpg";
1040
- MitigationSubTypes["OIL_TO_NATURAL_GAS"] = "OilToNaturalGas";
1041
- MitigationSubTypes["OIL_FIELD_FLARING_REDUCTION"] = "OilFieldFlaringReduction";
1042
- MitigationSubTypes["OIL_AND_GAS_PROCESSING_FLARING"] = "OilAndGasProcessingFlaring";
1043
- MitigationSubTypes["NATURAL_GAS_PIPELINES"] = "NaturalGasPipelines";
1044
- MitigationSubTypes["NON_HYDROCARBON_MINING"] = "NonHydrocarbonMining";
1045
- MitigationSubTypes["SPONTANEOUSLY_IGNITION_OF_COAL_PILES"] = "SpontaneouslyIgnitionOfCoalPiles";
1046
- MitigationSubTypes["CHARCOAL_PRODUCTION"] = "CharcoalProduction";
1047
- MitigationSubTypes["GEOTHERMAL_ELECTRICITY"] = "GeothermalElectricity";
1048
- MitigationSubTypes["GEOTHERMAL_HEATING"] = "GeothermalHeating";
1049
- MitigationSubTypes["HFC23"] = "Hfc23";
1050
- MitigationSubTypes["HFC134A"] = "Hfc134A";
1051
- MitigationSubTypes["PFCS"] = "Pfcs";
1052
- MitigationSubTypes["SF6"] = "Sf6";
1053
- MitigationSubTypes["RUN_OF_RIVER"] = "RunOfRiver";
1054
- MitigationSubTypes["EXISTING_DAM"] = "ExistingDam";
1055
- MitigationSubTypes["HIGHER_EFFICIENCY_HYDRO_POWER"] = "HigherEfficiencyHydroPower";
1056
- MitigationSubTypes["NEW_DAM"] = "NewDam";
1057
- MitigationSubTypes["LANDFILL_FLARING"] = "LandfillFlaring";
1058
- MitigationSubTypes["LANDFILL_POWER"] = "LandfillPower";
1059
- MitigationSubTypes["COMBUSTION_OF_MSW"] = "CombustionOfMsw";
1060
- MitigationSubTypes["GASIFICATION_OF_MSW"] = "GasificationOfMsw";
1061
- MitigationSubTypes["BIOGAS_FROM_MSW"] = "BiogasFromMsw";
1062
- MitigationSubTypes["LANDFILL_AERATION"] = "LandfillAeration";
1063
- MitigationSubTypes["INTEGRATED_SOLID_WASTE_MANAGEMENT"] = "IntegratedSolidWasteManagement";
1064
- MitigationSubTypes["SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS"] = "SwitchFromFossilFuelToPipedLandfillGas";
1065
- MitigationSubTypes["LANDFILL_COMPOSTING"] = "LandfillComposting";
1066
- MitigationSubTypes["MANURE"] = "Manure";
1067
- MitigationSubTypes["DOMESTIC_MANURE"] = "DomesticManure";
1068
- MitigationSubTypes["WASTE_WATER"] = "WasteWater";
1069
- MitigationSubTypes["INDUSTRIAL_SOLID_WASTE"] = "IndustrialSolidWaste";
1070
- MitigationSubTypes["PALM_OIL_WASTE"] = "PalmOilWaste";
1071
- MitigationSubTypes["AEROBIC_TREATMENT_OF_WASTE_WATER"] = "AerobicTreatmentOfWasteWater";
1072
- MitigationSubTypes["COMPOSTING"] = "Composting";
1073
- MitigationSubTypes["ADIPIC_ACID"] = "AdipicAcid";
1074
- MitigationSubTypes["NITRIC_ACID"] = "NitricAcid";
1075
- MitigationSubTypes["CAPROLACTAM"] = "Caprolactam";
1076
- MitigationSubTypes["SOLAR_PHOTOVOLTAICS_PV"] = "SolarPhotovoltaicsPV";
1077
- MitigationSubTypes["SOLAR_WATER_PUMPING_OFF_GRID"] = "SolarWaterPumpingOffGrid";
1078
- MitigationSubTypes["SOLAR_WATER_PUMPING_ON_GRID"] = "SolarWaterPumpingOnGrid";
1079
- MitigationSubTypes["SOLAR_PV_WATER_DISINFECTION"] = "SolarPVWaterDisinfection";
1080
- MitigationSubTypes["SOLAR_THERMAL_POWER"] = "SolarThermalPower";
1081
- MitigationSubTypes["SOLAR_THERMAL_HEAT"] = "SolarThermalHeat";
1082
- MitigationSubTypes["SOLAR_WATER_HEATING"] = "SolarWaterHeating";
1083
- MitigationSubTypes["SOLAR_COOKING"] = "SolarCooking";
1084
- MitigationSubTypes["BUS_RAPID_TRANSIT"] = "BusRapidTransit";
1085
- MitigationSubTypes["BUS_RAPID_TRANSIT_GREEN_HYDROGEN"] = "BusRapidTransitGreenHydrogen";
1086
- MitigationSubTypes["MOTORBIKES"] = "Motorbikes";
1087
- MitigationSubTypes["MODE_SHIFT_ROAD_TO_RAIL"] = "ModeShiftRoadToRail";
1088
- MitigationSubTypes["MORE_EFFICIENT_TRAIN_SYSTEM"] = "MoreEfficientTrainSystem";
1089
- MitigationSubTypes["MORE_EFFICIENT_VEHICLES"] = "MoreEfficientVehicles";
1090
- MitigationSubTypes["RAIL_REGENERATIVE_BRAKING"] = "RailRegenerativeBraking";
1091
- MitigationSubTypes["RAIL_GREEN_HYDROGEN"] = "RailGreenHydrogen";
1092
- MitigationSubTypes["RAIL_EFFICIENT_OPERATION"] = "RailEfficientOperation";
1093
- MitigationSubTypes["METRO_EFFICIENT_OPERATION"] = "MetroEfficientOperation";
1094
- MitigationSubTypes["CARS_GREEN_HYDROGEN"] = "CarsGreenHydrogen";
1095
- MitigationSubTypes["CARS_EFFICIENT_OPERATION"] = "CarsEfficientOperation";
1096
- MitigationSubTypes["SCRAPPING_OLD_VEHICLES"] = "ScrappingOldVehicles";
1097
- MitigationSubTypes["BIODIESEL_FOR_TRANSPORT"] = "BiodieselForTransport";
1098
- MitigationSubTypes["CABLE_CARS"] = "CableCars";
1099
- MitigationSubTypes["WIND"] = "Wind";
1100
- MitigationSubTypes["OFFSHORE_WIND"] = "OffshoreWind";
1101
- MitigationSubTypes["CO2_RECYCLING"] = "CO2Recycling";
1102
- MitigationSubTypes["CO2_REPLACEMENT"] = "CO2Replacement";
1103
- MitigationSubTypes["TIDAL"] = "Tidal";
1104
- })(MitigationSubTypes || (MitigationSubTypes = {}));
1105
940
  var mitigationTypeList = [
1106
941
  { value: MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
1107
942
  { value: MitigationTypes.SOLAR.valueOf(), label: "Solar" },
@@ -1198,385 +1033,13 @@ var sectorMitigationTypesListMapped = {
1198
1033
  },
1199
1034
  ],
1200
1035
  Agriculture: [
1201
- { value: MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" }
1036
+ { value: MitigationTypes.AGRICULTURE.valueOf(), label: "Agriculture" },
1202
1037
  ],
1203
1038
  Other: [
1204
1039
  { value: MitigationTypes.MARINE.valueOf(), label: "Marine" },
1205
1040
  { value: MitigationTypes.N20.valueOf(), label: "N2O" },
1206
1041
  ],
1207
1042
  };
1208
- var mitigationSubTypeList = [
1209
- { label: "Irrigation", value: MitigationSubTypes.IRRIGATION.valueOf() },
1210
- { label: "Energy efficiency", value: MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
1211
- { label: "Alternative fertilisers", value: MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
1212
- { label: "No tillage", value: MitigationSubTypes.NO_TILLAGE.valueOf() },
1213
- { label: "Soil Enrichment / Biochar", value: MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
1214
- { label: "Rice crops", value: MitigationSubTypes.RICE_CROPS.valueOf() },
1215
- { label: "Bagasse power", value: MitigationSubTypes.BAGASSE_POWER.valueOf() },
1216
- { label: "Palm oil solid waste", value: MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
1217
- { label: "Agricultural residues: other kinds", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
1218
- { label: "Agricultural residues: rice husk", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
1219
- { label: "Agricultural residues: mustard crop", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
1220
- { label: "Agricultural residues: poultry litter", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
1221
- { label: "Black liquor", value: MitigationSubTypes.BLACK_LIQUOR.valueOf() },
1222
- { label: "Forest residues: sawmill waste", value: MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
1223
- { label: "Forest residues: other", value: MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
1224
- { label: "Forest biomass", value: MitigationSubTypes.FOREST_BIOMASS.valueOf() },
1225
- { label: "Industrial waste", value: MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
1226
- { label: "Gasification of biomass", value: MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
1227
- { label: "Switch from fossil fuel to piped biogas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
1228
- { label: "Biomass briquettes or pellets", value: MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
1229
- { label: "Biodiesel", value: MitigationSubTypes.BIODIESEL.valueOf() },
1230
- { label: "Biodiesel from waste oil", value: MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
1231
- { label: "Ethanol", value: MitigationSubTypes.ETHANOL.valueOf() },
1232
- { label: "Cement", value: MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
1233
- { label: "Coal Mine Methane", value: MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
1234
- { label: "Coal Bed Methane", value: MitigationSubTypes.COAL_BED_METHANE.valueOf() },
1235
- { label: "CMM & Ventilation Air Methane", value: MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
1236
- { label: "Ventilation Air Methane", value: MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
1237
- { label: "Lighting", value: MitigationSubTypes.LIGHTING.valueOf() },
1238
- { label: "Solar lamps", value: MitigationSubTypes.SOLAR_LAMPS.valueOf() },
1239
- { label: "Stoves", value: MitigationSubTypes.STOVES.valueOf() },
1240
- { label: "Stoves (School in Ghana)", value: MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
1241
- { label: "Stoves (Houses in Namibia)", value: MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
1242
- { label: "Lighting & Insulation & Solar", value: MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
1243
- { label: "Appliances", value: MitigationSubTypes.APPLIANCES.valueOf() },
1244
- { label: "Chemicals", value: MitigationSubTypes.CHEMICALS.valueOf() },
1245
- { label: "Petrochemicals", value: MitigationSubTypes.PETROCHEMICALS.valueOf() },
1246
- { label: "Paper", value: MitigationSubTypes.PAPER.valueOf() },
1247
- { label: "Cement", value: MitigationSubTypes.CEMENT.valueOf() },
1248
- { label: "Iron & steel ", value: MitigationSubTypes.IRON_STEEL.valueOf() },
1249
- { label: "Machinery", value: MitigationSubTypes.MACHINERY.valueOf() },
1250
- { label: "Textiles", value: MitigationSubTypes.TEXTILES.valueOf() },
1251
- { label: "Electronics", value: MitigationSubTypes.ELECTRONICS.valueOf() },
1252
- { label: "Food", value: MitigationSubTypes.FOOD.valueOf() },
1253
- { label: "Building materials", value: MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
1254
- { label: "Glass", value: MitigationSubTypes.GLASS.valueOf() },
1255
- { label: "Non-ferrous metals", value: MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
1256
- { label: "Coke oven", value: MitigationSubTypes.COKE_OVEN.valueOf() },
1257
- { label: "Mining", value: MitigationSubTypes.Mining.valueOf() },
1258
- { label: "Construction", value: MitigationSubTypes.CONSTRUCTION.valueOf() },
1259
- { label: "Metal products", value: MitigationSubTypes.METAL_PRODUCTS.valueOf() },
1260
- { label: "Wood", value: MitigationSubTypes.WOOD.valueOf() },
1261
- { label: "Recycling", value: MitigationSubTypes.RECYCLING.valueOf() },
1262
- { label: "Chemicals heat", value: MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
1263
- { label: "Petrochemicals heat", value: MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
1264
- { label: "Carbon black gas", value: MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
1265
- { label: "Cement heat", value: MitigationSubTypes.CEMENT_HEAT.valueOf() },
1266
- { label: "Iron & steel heat", value: MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
1267
- { label: "Building materials heat", value: MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
1268
- { label: "Glass heat", value: MitigationSubTypes.GLASS_HEAT.valueOf() },
1269
- { label: "Non-ferrous metals heat", value: MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
1270
- { label: "Coke oven gas", value: MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
1271
- { label: "HVAC & lighting", value: MitigationSubTypes.HVAC_LIGHTING.valueOf() },
1272
- { label: "Air conditioning", value: MitigationSubTypes.AIR_CONDITIONING.valueOf() },
1273
- { label: "EE new buildings", value: MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
1274
- { label: "Street lighting", value: MitigationSubTypes.STREET_LIGHTING.valueOf() },
1275
- { label: "Lighting in service", value: MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
1276
- { label: "Water pumping", value: MitigationSubTypes.WATER_PUMPING.valueOf() },
1277
- { label: "Water purification", value: MitigationSubTypes.WATER_PURIFICATION.valueOf() },
1278
- { label: "EE public stoves", value: MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
1279
- { label: "EE public buildings", value: MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
1280
- { label: "EE commercial buildings", value: MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
1281
- { label: "Single cycle to combined cycle", value: MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
1282
- { label: "Cogeneration", value: MitigationSubTypes.COGENERATION.valueOf() },
1283
- { label: "Co-firing with biomass", value: MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
1284
- { label: "Higher efficiency coal power", value: MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
1285
- { label: "Higher efficiency oil power", value: MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
1286
- { label: "Higher efficiency using waste heat", value: MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
1287
- { label: "Power plant rehabilitation", value: MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
1288
- { label: "Higher efficiency steam boiler", value: MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
1289
- { label: "District heating", value: MitigationSubTypes.DISTRICT_HEATING.valueOf() },
1290
- { label: "Replacement of district heating boilers", value: MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
1291
- { label: "Connection of Isolated grid", value: MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
1292
- { label: "District cooling", value: MitigationSubTypes.DISTRICT_COOLING.valueOf() },
1293
- { label: "Efficient electricity distribution", value: MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
1294
- { label: "Afforestation", value: MitigationSubTypes.AFFORESTATION.valueOf() },
1295
- { label: "Mangroves", value: MitigationSubTypes.MANGROVES.valueOf() },
1296
- { label: "Agroforestry", value: MitigationSubTypes.AGROFORESTRY.valueOf() },
1297
- { label: "Reforestation", value: MitigationSubTypes.REFORESTATION.valueOf() },
1298
- { label: "Coal to natural gas", value: MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
1299
- { label: "Coal to oil", value: MitigationSubTypes.COAL_TO_OIL.valueOf() },
1300
- { label: "Lignite to natural gas", value: MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
1301
- { label: "New natural gas plant", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
1302
- { label: "New natural gas plant using LNG", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
1303
- { label: "Oil to electricity", value: MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
1304
- { label: "Oil to LPG", value: MitigationSubTypes.OIL_TO_LPG.valueOf() },
1305
- { label: "Oil to natural gas", value: MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
1306
- { label: "Oil field flaring reduction", value: MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
1307
- { label: "Oil and gas processing flaring", value: MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
1308
- { label: "Natural gas pipelines", value: MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
1309
- { label: "Non-hydrocarbon mining", value: MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
1310
- { label: "Spontaneously ignition of coal piles", value: MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
1311
- { label: "Charcoal production", value: MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
1312
- { label: "Geothermal electricity", value: MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
1313
- { label: "Geothermal heating", value: MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
1314
- { label: "HFC23", value: MitigationSubTypes.HFC23.valueOf() },
1315
- { label: "HFC134a", value: MitigationSubTypes.HFC134A.valueOf() },
1316
- { label: "PFCs", value: MitigationSubTypes.PFCS.valueOf() },
1317
- { label: "SF6", value: MitigationSubTypes.SF6.valueOf() },
1318
- { label: "Run of river", value: MitigationSubTypes.RUN_OF_RIVER.valueOf() },
1319
- { label: "Existing dam", value: MitigationSubTypes.EXISTING_DAM.valueOf() },
1320
- { label: "Higher efficiency hydro power", value: MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
1321
- { label: "New dam", value: MitigationSubTypes.NEW_DAM.valueOf() },
1322
- { label: "Landfill flaring", value: MitigationSubTypes.LANDFILL_FLARING.valueOf() },
1323
- { label: "Landfill power", value: MitigationSubTypes.LANDFILL_POWER.valueOf() },
1324
- { label: "Combustion of MSW", value: MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
1325
- { label: "Gasification of MSW", value: MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
1326
- { label: "Biogas from MSW", value: MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
1327
- { label: "Landfill aeration", value: MitigationSubTypes.LANDFILL_AERATION.valueOf() },
1328
- { label: "Integrated solid waste management", value: MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
1329
- { label: "Switch from fossil fuel to piped landfill gas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
1330
- { label: "Landfill composting", value: MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
1331
- { label: "Manure", value: MitigationSubTypes.MANURE.valueOf() },
1332
- { label: "Domestic manure", value: MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
1333
- { label: "Waste water", value: MitigationSubTypes.WASTE_WATER.valueOf() },
1334
- { label: "Industrial solid waste", value: MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
1335
- { label: "Palm oil waste", value: MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
1336
- { label: "Aerobic treatment of waste water", value: MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
1337
- { label: "Composting", value: MitigationSubTypes.COMPOSTING.valueOf() },
1338
- { label: "Adipic acid", value: MitigationSubTypes.ADIPIC_ACID.valueOf() },
1339
- { label: "Nitric acid", value: MitigationSubTypes.NITRIC_ACID.valueOf() },
1340
- { label: "Caprolactam", value: MitigationSubTypes.CAPROLACTAM.valueOf() },
1341
- { label: "Solar Photovoltaics(PV)", value: MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
1342
- { label: "Solar Water pumping (off-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
1343
- { label: "Solar Water pumping (on-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
1344
- { label: "Solar PV water disinfection", value: MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
1345
- { label: "Solar thermal power", value: MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
1346
- { label: "Solar thermal heat", value: MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
1347
- { label: "Solar water heating", value: MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
1348
- { label: "Solar cooking", value: MitigationSubTypes.SOLAR_COOKING.valueOf() },
1349
- { label: "Bus Rapid Transit", value: MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
1350
- { label: "Bus Rapid Transit: Green hydrogen", value: MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
1351
- { label: "Motorbikes", value: MitigationSubTypes.MOTORBIKES.valueOf() },
1352
- { label: "Mode shift: Road to rail", value: MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
1353
- { label: "More efficient train system", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1354
- { label: "More efficient vehicles", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1355
- { label: "Rail: regenerative braking", value: MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
1356
- { label: "Rail: Green hydrogen", value: MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
1357
- { label: "Rail: efficient operation", value: MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
1358
- { label: "Metro: efficient operation", value: MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
1359
- { label: "Cars: Green hydrogen", value: MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
1360
- { label: "Cars: efficient operation", value: MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
1361
- { label: "Scrapping old vehicles", value: MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
1362
- { label: "Biodiesel for transport", value: MitigationSubTypes.CABLE_CARS.valueOf() },
1363
- { label: "Cable cars", value: MitigationSubTypes.CHEMICALS.valueOf() },
1364
- { label: "Wind", value: MitigationSubTypes.WIND.valueOf() },
1365
- { label: "Offshore wind", value: MitigationSubTypes.OFFSHORE_WIND.valueOf() },
1366
- { label: "CO2 recycling", value: MitigationSubTypes.CO2_RECYCLING.valueOf() },
1367
- { label: "CO2 replacement", value: MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
1368
- { label: "Tidal", value: MitigationSubTypes.TIDAL.valueOf() },
1369
- ];
1370
- var mitigationSubTypesListMapped = {
1371
- Agriculture: [
1372
- { label: "Irrigation", value: MitigationSubTypes.IRRIGATION.valueOf() },
1373
- { label: "Energy efficiency", value: MitigationSubTypes.ENERGY_EFFICIENCY.valueOf() },
1374
- { label: "Alternative fertilisers", value: MitigationSubTypes.ALTERNATIVE_FERTILISER.valueOf() },
1375
- { label: "No tillage", value: MitigationSubTypes.NO_TILLAGE.valueOf() },
1376
- { label: "Soil Enrichment / Biochar", value: MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR.valueOf() },
1377
- { label: "Rice crops", value: MitigationSubTypes.RICE_CROPS.valueOf() },
1378
- ],
1379
- BiomassEnergy: [
1380
- { label: "Bagasse power", value: MitigationSubTypes.BAGASSE_POWER.valueOf() },
1381
- { label: "Palm oil solid waste", value: MitigationSubTypes.PALM_OIL_SOLID_WASTE.valueOf() },
1382
- { label: "Agricultural residues: other kinds", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_OTHER_KINDS.valueOf() },
1383
- { label: "Agricultural residues: rice husk", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_RICE_HUSK.valueOf() },
1384
- { label: "Agricultural residues: mustard crop", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_MUSTARD_CROP.valueOf() },
1385
- { label: "Agricultural residues: poultry litter", value: MitigationSubTypes.AGRICULTURAL_RESIDUES_POULTRY_LITTER.valueOf() },
1386
- { label: "Black liquor", value: MitigationSubTypes.BLACK_LIQUOR.valueOf() },
1387
- { label: "Forest residues: sawmill waste", value: MitigationSubTypes.FOREST_RESIDUES_SAWMILL_WASTE.valueOf() },
1388
- { label: "Forest residues: other", value: MitigationSubTypes.FOREST_RESIDUES_OTHER.valueOf() },
1389
- { label: "Forest biomass", value: MitigationSubTypes.FOREST_BIOMASS.valueOf() },
1390
- { label: "Industrial waste", value: MitigationSubTypes.INDUSTRIAL_WASTE.valueOf() },
1391
- { label: "Gasification of biomass", value: MitigationSubTypes.GASIFICATION_OF_BIOMASS.valueOf() },
1392
- { label: "Switch from fossil fuel to piped biogas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS.valueOf() },
1393
- { label: "Biomass briquettes or pellets", value: MitigationSubTypes.BIOMASS_BRIQUETTES_OR_PELLETS.valueOf() },
1394
- { label: "Biodiesel", value: MitigationSubTypes.BIODIESEL.valueOf() },
1395
- { label: "Biodiesel from waste oil", value: MitigationSubTypes.BIODIESEL_FROM_WASTE_OIL.valueOf() },
1396
- { label: "Ethanol", value: MitigationSubTypes.ETHANOL.valueOf() },
1397
- ],
1398
- Cement: [
1399
- { label: "Cement", value: MitigationSubTypes.CLINKER_REPLACEMENT.valueOf() },
1400
- ],
1401
- "Coal/Mine": [
1402
- { label: "Coal Mine Methane", value: MitigationSubTypes.COAL_MINE_METHANE.valueOf() },
1403
- { label: "Coal Bed Methane", value: MitigationSubTypes.COAL_BED_METHANE.valueOf() },
1404
- { label: "CMM & Ventilation Air Methane", value: MitigationSubTypes.CMM_VENTILATION_AIR_METHANE.valueOf() },
1405
- { label: "Ventilation Air Methane", value: MitigationSubTypes.VENTILATION_AIR_METHANE.valueOf() },
1406
- ],
1407
- EEHouseholds: [
1408
- { label: "Lighting", value: MitigationSubTypes.LIGHTING.valueOf() },
1409
- { label: "Solar lamps", value: MitigationSubTypes.SOLAR_LAMPS.valueOf() },
1410
- { label: "Stoves", value: MitigationSubTypes.STOVES.valueOf() },
1411
- { label: "Stoves (School in Ghana)", value: MitigationSubTypes.STOVES_SCHOOL_IN_GHANA.valueOf() },
1412
- { label: "Stoves (Houses in Namibia)", value: MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA.valueOf() },
1413
- { label: "Lighting & Insulation & Solar", value: MitigationSubTypes.LIGHTING_INSULATION_SOLAR.valueOf() },
1414
- { label: "Appliances", value: MitigationSubTypes.APPLIANCES.valueOf() },
1415
- ],
1416
- EEIndustry: [
1417
- { label: "Chemicals", value: MitigationSubTypes.CHEMICALS.valueOf() },
1418
- { label: "Petrochemicals", value: MitigationSubTypes.PETROCHEMICALS.valueOf() },
1419
- { label: "Paper", value: MitigationSubTypes.PAPER.valueOf() },
1420
- { label: "Cement", value: MitigationSubTypes.CEMENT.valueOf() },
1421
- { label: "Iron & steel ", value: MitigationSubTypes.IRON_STEEL.valueOf() },
1422
- { label: "Machinery", value: MitigationSubTypes.MACHINERY.valueOf() },
1423
- { label: "Textiles", value: MitigationSubTypes.TEXTILES.valueOf() },
1424
- { label: "Electronics", value: MitigationSubTypes.ELECTRONICS.valueOf() },
1425
- { label: "Food", value: MitigationSubTypes.FOOD.valueOf() },
1426
- { label: "Building materials", value: MitigationSubTypes.BUILDING_MATERIALS.valueOf() },
1427
- { label: "Glass", value: MitigationSubTypes.GLASS.valueOf() },
1428
- { label: "Non-ferrous metals", value: MitigationSubTypes.NON_FERROUS_METALS.valueOf() },
1429
- { label: "Coke oven", value: MitigationSubTypes.COKE_OVEN.valueOf() },
1430
- { label: "Mining", value: MitigationSubTypes.Mining.valueOf() },
1431
- { label: "Construction", value: MitigationSubTypes.CONSTRUCTION.valueOf() },
1432
- { label: "Metal products", value: MitigationSubTypes.METAL_PRODUCTS.valueOf() },
1433
- { label: "Wood", value: MitigationSubTypes.WOOD.valueOf() },
1434
- { label: "Recycling", value: MitigationSubTypes.RECYCLING.valueOf() },
1435
- ],
1436
- EEOwnGeneration: [
1437
- { label: "Chemicals heat", value: MitigationSubTypes.CHEMICALS_HEAT.valueOf() },
1438
- { label: "Petrochemicals heat", value: MitigationSubTypes.PETROCHEMICALS_HEAT.valueOf() },
1439
- { label: "Carbon black gas", value: MitigationSubTypes.CARBON_BLACK_GAS.valueOf() },
1440
- { label: "Cement heat", value: MitigationSubTypes.CEMENT_HEAT.valueOf() },
1441
- { label: "Iron & steel heat", value: MitigationSubTypes.IRON_STEEL_HEAT.valueOf() },
1442
- { label: "Building materials heat", value: MitigationSubTypes.BUILDING_MATERIALS_HEAT.valueOf() },
1443
- { label: "Glass heat", value: MitigationSubTypes.GLASS_HEAT.valueOf() },
1444
- { label: "Non-ferrous metals heat", value: MitigationSubTypes.NON_FERROUS_METALS_HEAT.valueOf() },
1445
- { label: "Coke oven gas", value: MitigationSubTypes.COKE_OVEN_GAS.valueOf() },
1446
- ],
1447
- EEService: [
1448
- { label: "HVAC & lighting", value: MitigationSubTypes.HVAC_LIGHTING.valueOf() },
1449
- { label: "Air conditioning", value: MitigationSubTypes.AIR_CONDITIONING.valueOf() },
1450
- { label: "EE new buildings", value: MitigationSubTypes.EE_NEW_BUILDINGS.valueOf() },
1451
- { label: "Street lighting", value: MitigationSubTypes.STREET_LIGHTING.valueOf() },
1452
- { label: "Lighting in service", value: MitigationSubTypes.LIGHTING_IN_SERVICE.valueOf() },
1453
- { label: "Water pumping", value: MitigationSubTypes.WATER_PUMPING.valueOf() },
1454
- { label: "Water purification", value: MitigationSubTypes.WATER_PURIFICATION.valueOf() },
1455
- { label: "EE public stoves", value: MitigationSubTypes.EE_PUBLIC_STOVES.valueOf() },
1456
- { label: "EE public buildings", value: MitigationSubTypes.EE_PUBLIC_BUILDINGS.valueOf() },
1457
- { label: "EE commercial buildings", value: MitigationSubTypes.EE_COMMERCIAL_BUILDINGS.valueOf() },
1458
- ],
1459
- EESupplySide: [
1460
- { label: "Single cycle to combined cycle", value: MitigationSubTypes.SINGLE_CYCLE_TO_COMBINED_CYCLE.valueOf() },
1461
- { label: "Cogeneration", value: MitigationSubTypes.COGENERATION.valueOf() },
1462
- { label: "Co-firing with biomass", value: MitigationSubTypes.CO_FIRING_WITH_BIOMASS.valueOf() },
1463
- { label: "Higher efficiency coal power", value: MitigationSubTypes.HIGHER_EFFICIENCY_COAL_POWER.valueOf() },
1464
- { label: "Higher efficiency oil power", value: MitigationSubTypes.HIGHER_EFFICIENCY_OIL_POWER.valueOf() },
1465
- { label: "Higher efficiency using waste heat", value: MitigationSubTypes.HIGHER_EFFICIENCY_USING_WASTE_HEAT.valueOf() },
1466
- { label: "Power plant rehabilitation", value: MitigationSubTypes.POWER_PLANT_REHABILITATION.valueOf() },
1467
- { label: "Higher efficiency steam boiler", value: MitigationSubTypes.HIGHER_EFFICIENCY_STEAM_BOILER.valueOf() },
1468
- ],
1469
- EnergyDistribution: [
1470
- { label: "District heating", value: MitigationSubTypes.DISTRICT_HEATING.valueOf() },
1471
- { label: "Replacement of district heating boilers", value: MitigationSubTypes.REPLACEMENT_OF_DISTRICT_HEATING_BOILERS.valueOf() },
1472
- { label: "Connection of Isolated grid", value: MitigationSubTypes.CONNECTION_OF_ISOLATED_GRID.valueOf() },
1473
- { label: "District cooling", value: MitigationSubTypes.DISTRICT_COOLING.valueOf() },
1474
- { label: "Efficient electricity distribution", value: MitigationSubTypes.EFFICIENT_ELECTRICITY_DISTRIBUTION.valueOf() },
1475
- ],
1476
- Forestry: [
1477
- { label: "Afforestation", value: MitigationSubTypes.AFFORESTATION.valueOf() },
1478
- { label: "Mangroves", value: MitigationSubTypes.MANGROVES.valueOf() },
1479
- { label: "Agroforestry", value: MitigationSubTypes.AGROFORESTRY.valueOf() },
1480
- { label: "Reforestation", value: MitigationSubTypes.REFORESTATION.valueOf() },
1481
- ],
1482
- FossilFuel: [
1483
- { label: "Coal to natural gas", value: MitigationSubTypes.COAL_TO_NATURAL_GAS.valueOf() },
1484
- { label: "Coal to oil", value: MitigationSubTypes.COAL_TO_OIL.valueOf() },
1485
- { label: "Lignite to natural gas", value: MitigationSubTypes.LIGNITE_TO_NATURAL_GAS.valueOf() },
1486
- { label: "New natural gas plant", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT.valueOf() },
1487
- { label: "New natural gas plant using LNG", value: MitigationSubTypes.NEW_NATURAL_GAS_PLANT_USING_LNG.valueOf() },
1488
- { label: "Oil to electricity", value: MitigationSubTypes.OIL_TO_ELECTRICITY.valueOf() },
1489
- { label: "Oil to LPG", value: MitigationSubTypes.OIL_TO_LPG.valueOf() },
1490
- { label: "Oil to natural gas", value: MitigationSubTypes.OIL_TO_NATURAL_GAS.valueOf() },
1491
- ],
1492
- Fugitive: [
1493
- { label: "Oil field flaring reduction", value: MitigationSubTypes.OIL_FIELD_FLARING_REDUCTION.valueOf() },
1494
- { label: "Oil and gas processing flaring", value: MitigationSubTypes.OIL_AND_GAS_PROCESSING_FLARING.valueOf() },
1495
- { label: "Natural gas pipelines", value: MitigationSubTypes.NATURAL_GAS_PIPELINES.valueOf() },
1496
- { label: "Non-hydrocarbon mining", value: MitigationSubTypes.NON_HYDROCARBON_MINING.valueOf() },
1497
- { label: "Spontaneously ignition of coal piles", value: MitigationSubTypes.SPONTANEOUSLY_IGNITION_OF_COAL_PILES.valueOf() },
1498
- { label: "Charcoal production", value: MitigationSubTypes.CHARCOAL_PRODUCTION.valueOf() },
1499
- ],
1500
- Geothermal: [
1501
- { label: "Geothermal electricity", value: MitigationSubTypes.GEOTHERMAL_ELECTRICITY.valueOf() },
1502
- { label: "Geothermal heating", value: MitigationSubTypes.GEOTHERMAL_HEATING.valueOf() },
1503
- ],
1504
- HFC_PFCs_SF6: [
1505
- { label: "HFC23", value: MitigationSubTypes.HFC23.valueOf() },
1506
- { label: "HFC134a", value: MitigationSubTypes.HFC134A.valueOf() },
1507
- { label: "PFCs", value: MitigationSubTypes.PFCS.valueOf() },
1508
- { label: "SF6", value: MitigationSubTypes.SF6.valueOf() },
1509
- ],
1510
- Hydro: [
1511
- { label: "Run of river", value: MitigationSubTypes.RUN_OF_RIVER.valueOf() },
1512
- { label: "Existing dam", value: MitigationSubTypes.EXISTING_DAM.valueOf() },
1513
- { label: "Higher efficiency hydro power", value: MitigationSubTypes.HIGHER_EFFICIENCY_HYDRO_POWER.valueOf() },
1514
- { label: "New dam", value: MitigationSubTypes.NEW_DAM.valueOf() },
1515
- ],
1516
- Landfills: [
1517
- { label: "Landfill flaring", value: MitigationSubTypes.LANDFILL_FLARING.valueOf() },
1518
- { label: "Landfill power", value: MitigationSubTypes.LANDFILL_POWER.valueOf() },
1519
- { label: "Combustion of MSW", value: MitigationSubTypes.COMBUSTION_OF_MSW.valueOf() },
1520
- { label: "Gasification of MSW", value: MitigationSubTypes.GASIFICATION_OF_MSW.valueOf() },
1521
- { label: "Biogas from MSW", value: MitigationSubTypes.BIOGAS_FROM_MSW.valueOf() },
1522
- { label: "Landfill aeration", value: MitigationSubTypes.LANDFILL_AERATION.valueOf() },
1523
- { label: "Integrated solid waste management", value: MitigationSubTypes.INTEGRATED_SOLID_WASTE_MANAGEMENT.valueOf() },
1524
- { label: "Switch from fossil fuel to piped landfill gas", value: MitigationSubTypes.SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS.valueOf() },
1525
- { label: "Landfill composting", value: MitigationSubTypes.LANDFILL_COMPOSTING.valueOf() },
1526
- ],
1527
- MethaneAvoidance: [
1528
- { label: "Manure", value: MitigationSubTypes.MANURE.valueOf() },
1529
- { label: "Domestic manure", value: MitigationSubTypes.DOMESTIC_MANURE.valueOf() },
1530
- { label: "Waste water", value: MitigationSubTypes.WASTE_WATER.valueOf() },
1531
- { label: "Industrial solid waste", value: MitigationSubTypes.INDUSTRIAL_SOLID_WASTE.valueOf() },
1532
- { label: "Palm oil waste", value: MitigationSubTypes.PALM_OIL_WASTE.valueOf() },
1533
- { label: "Aerobic treatment of waste water", value: MitigationSubTypes.AEROBIC_TREATMENT_OF_WASTE_WATER.valueOf() },
1534
- { label: "Composting", value: MitigationSubTypes.COMPOSTING.valueOf() },
1535
- ],
1536
- N20: [
1537
- { label: "Adipic acid", value: MitigationSubTypes.ADIPIC_ACID.valueOf() },
1538
- { label: "Nitric acid", value: MitigationSubTypes.NITRIC_ACID.valueOf() },
1539
- { label: "Caprolactam", value: MitigationSubTypes.CAPROLACTAM.valueOf() },
1540
- ],
1541
- Solar: [
1542
- { label: "Solar Photovoltaics(PV)", value: MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV.valueOf() },
1543
- { label: "Solar Water pumping (off-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID.valueOf() },
1544
- { label: "Solar Water pumping (on-grid)", value: MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID.valueOf() },
1545
- { label: "Solar PV water disinfection", value: MitigationSubTypes.SOLAR_PV_WATER_DISINFECTION.valueOf() },
1546
- { label: "Solar thermal power", value: MitigationSubTypes.SOLAR_THERMAL_POWER.valueOf() },
1547
- { label: "Solar thermal heat", value: MitigationSubTypes.SOLAR_THERMAL_HEAT.valueOf() },
1548
- { label: "Solar water heating", value: MitigationSubTypes.SOLAR_WATER_HEATING.valueOf() },
1549
- { label: "Solar cooking", value: MitigationSubTypes.SOLAR_COOKING.valueOf() },
1550
- ],
1551
- Transport: [
1552
- { label: "Bus Rapid Transit", value: MitigationSubTypes.BUS_RAPID_TRANSIT.valueOf() },
1553
- { label: "Bus Rapid Transit: Green hydrogen", value: MitigationSubTypes.BUS_RAPID_TRANSIT_GREEN_HYDROGEN.valueOf() },
1554
- { label: "Motorbikes", value: MitigationSubTypes.MOTORBIKES.valueOf() },
1555
- { label: "Mode shift: Road to rail", value: MitigationSubTypes.MODE_SHIFT_ROAD_TO_RAIL.valueOf() },
1556
- { label: "More efficient train system", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1557
- { label: "More efficient vehicles", value: MitigationSubTypes.MORE_EFFICIENT_VEHICLES.valueOf() },
1558
- { label: "Rail: regenerative braking", value: MitigationSubTypes.RAIL_REGENERATIVE_BRAKING.valueOf() },
1559
- { label: "Rail: Green hydrogen", value: MitigationSubTypes.RAIL_GREEN_HYDROGEN.valueOf() },
1560
- { label: "Rail: efficient operation", value: MitigationSubTypes.RAIL_EFFICIENT_OPERATION.valueOf() },
1561
- { label: "Metro: efficient operation", value: MitigationSubTypes.METRO_EFFICIENT_OPERATION.valueOf() },
1562
- { label: "Cars: Green hydrogen", value: MitigationSubTypes.CARS_GREEN_HYDROGEN.valueOf() },
1563
- { label: "Cars: efficient operation", value: MitigationSubTypes.CARS_EFFICIENT_OPERATION.valueOf() },
1564
- { label: "Scrapping old vehicles", value: MitigationSubTypes.SCRAPPING_OLD_VEHICLES.valueOf() },
1565
- { label: "Biodiesel for transport", value: MitigationSubTypes.CABLE_CARS.valueOf() },
1566
- { label: "Cable cars", value: MitigationSubTypes.CHEMICALS.valueOf() },
1567
- ],
1568
- Wind: [
1569
- { label: "Wind", value: MitigationSubTypes.WIND.valueOf() },
1570
- { label: "Offshore wind", value: MitigationSubTypes.OFFSHORE_WIND.valueOf() },
1571
- ],
1572
- CO2Usage: [
1573
- { label: "CO2 recycling", value: MitigationSubTypes.CO2_RECYCLING.valueOf() },
1574
- { label: "CO2 replacement", value: MitigationSubTypes.CO2_REPLACEMENT.valueOf() },
1575
- ],
1576
- Tidal: [
1577
- { label: "Tidal", value: MitigationSubTypes.TIDAL.valueOf() },
1578
- ],
1579
- };
1580
1043
 
1581
1044
  var ESGType;
1582
1045
  (function (ESGType) {
@@ -4705,26 +4168,6 @@ function requireAgricultureCal () {
4705
4168
  return agricultureCal;
4706
4169
  }
4707
4170
 
4708
- var soilEnrichmentCal = {};
4709
-
4710
- var hasRequiredSoilEnrichmentCal;
4711
-
4712
- function requireSoilEnrichmentCal () {
4713
- if (hasRequiredSoilEnrichmentCal) return soilEnrichmentCal;
4714
- hasRequiredSoilEnrichmentCal = 1;
4715
- Object.defineProperty(soilEnrichmentCal, "__esModule", { value: true });
4716
- soilEnrichmentCal.SoilEnrichmentCal = void 0;
4717
- const calculator_1 = requireCalculator();
4718
- class SoilEnrichmentCal {
4719
- static calculate(req) {
4720
- const constants = req.soilEnrichmentConstants;
4721
- return Number((constants.emissionFactor * req.weight).toFixed(calculator_1.PRECISION));
4722
- }
4723
- }
4724
- soilEnrichmentCal.SoilEnrichmentCal = SoilEnrichmentCal;
4725
- return soilEnrichmentCal;
4726
- }
4727
-
4728
4171
  var solarCal = {};
4729
4172
 
4730
4173
  var hasRequiredSolarCal;
@@ -4801,53 +4244,6 @@ class AgricultureCreationRequest {
4801
4244
  }
4802
4245
  agricultureCreationRequest.AgricultureCreationRequest = AgricultureCreationRequest;
4803
4246
 
4804
- var soilEnrichmentCreationRequest = {};
4805
-
4806
- var soilEnrichmentConstants = {};
4807
-
4808
- Object.defineProperty(soilEnrichmentConstants, "__esModule", { value: true });
4809
- soilEnrichmentConstants.SoilEnrichmentConstants = void 0;
4810
- class SoilEnrichmentConstants {
4811
- constructor() {
4812
- this.emissionFactor = 3.66;
4813
- this.emissionFactorUnit = "tCO2e"; // emission factor
4814
- }
4815
- }
4816
- soilEnrichmentConstants.SoilEnrichmentConstants = SoilEnrichmentConstants;
4817
-
4818
- Object.defineProperty(soilEnrichmentCreationRequest, "__esModule", { value: true });
4819
- soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = void 0;
4820
- const soilEnrichmentConstants_1 = soilEnrichmentConstants;
4821
- class SoilEnrichmentCreationRequest {
4822
- constructor() {
4823
- this.soilEnrichmentConstants = new soilEnrichmentConstants_1.SoilEnrichmentConstants();
4824
- }
4825
- }
4826
- soilEnrichmentCreationRequest.SoilEnrichmentCreationRequest = SoilEnrichmentCreationRequest;
4827
-
4828
- var stovesHousesNamibiaCreationRequest = {};
4829
-
4830
- var stovesHousesNamibiaConstants = {};
4831
-
4832
- Object.defineProperty(stovesHousesNamibiaConstants, "__esModule", { value: true });
4833
- stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = void 0;
4834
- class StovesHousesNamibiaConstants {
4835
- constructor() {
4836
- this.emissionFactor = 0.1;
4837
- }
4838
- }
4839
- stovesHousesNamibiaConstants.StovesHousesNamibiaConstants = StovesHousesNamibiaConstants;
4840
-
4841
- Object.defineProperty(stovesHousesNamibiaCreationRequest, "__esModule", { value: true });
4842
- stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = void 0;
4843
- const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
4844
- class StovesHousesNamibiaCreationRequest {
4845
- constructor() {
4846
- this.stovesHousesNamibiaConstants = new stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants();
4847
- }
4848
- }
4849
- stovesHousesNamibiaCreationRequest.StovesHousesNamibiaCreationRequest = StovesHousesNamibiaCreationRequest;
4850
-
4851
4247
  var solarCreationRequest = {};
4852
4248
 
4853
4249
  var solarConstants = {};
@@ -4885,134 +4281,6 @@ class SolarCreationRequest {
4885
4281
  }
4886
4282
  solarCreationRequest.SolarCreationRequest = SolarCreationRequest;
4887
4283
 
4888
- var stovesHousesNamibiaCal = {};
4889
-
4890
- var hasRequiredStovesHousesNamibiaCal;
4891
-
4892
- function requireStovesHousesNamibiaCal () {
4893
- if (hasRequiredStovesHousesNamibiaCal) return stovesHousesNamibiaCal;
4894
- hasRequiredStovesHousesNamibiaCal = 1;
4895
- Object.defineProperty(stovesHousesNamibiaCal, "__esModule", { value: true });
4896
- stovesHousesNamibiaCal.StovesHousesNamibiaCal = void 0;
4897
- const calculator_1 = requireCalculator();
4898
- class StovesHousesNamibiaCal {
4899
- static calculate(req) {
4900
- const constants = req.stovesHousesNamibiaConstants;
4901
- return Number((constants.emissionFactor * req.numberOfDays * req.numberOfPeopleInHousehold).toFixed(calculator_1.PRECISION));
4902
- }
4903
- }
4904
- stovesHousesNamibiaCal.StovesHousesNamibiaCal = StovesHousesNamibiaCal;
4905
- return stovesHousesNamibiaCal;
4906
- }
4907
-
4908
- var solarWaterPumpingOffGridCreationRequest = {};
4909
-
4910
- var solarWaterPumpingOffGridConstants = {};
4911
-
4912
- Object.defineProperty(solarWaterPumpingOffGridConstants, "__esModule", { value: true });
4913
- solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = void 0;
4914
- class SolarWaterPumpingOffGridConstants {
4915
- constructor() {
4916
- this.emissionFactor = 1.3;
4917
- this.emissionFactorUnit = "kWh/year";
4918
- }
4919
- }
4920
- solarWaterPumpingOffGridConstants.SolarWaterPumpingOffGridConstants = SolarWaterPumpingOffGridConstants;
4921
-
4922
- Object.defineProperty(solarWaterPumpingOffGridCreationRequest, "__esModule", { value: true });
4923
- solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = void 0;
4924
- const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
4925
- class SolarWaterPumpingOffGridCreationRequest {
4926
- constructor() {
4927
- this.solarWaterPumpingOffGridConstants = new solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants();
4928
- }
4929
- }
4930
- solarWaterPumpingOffGridCreationRequest.SolarWaterPumpingOffGridCreationRequest = SolarWaterPumpingOffGridCreationRequest;
4931
-
4932
- var solarWaterPumpingOffGridCal = {};
4933
-
4934
- var hasRequiredSolarWaterPumpingOffGridCal;
4935
-
4936
- function requireSolarWaterPumpingOffGridCal () {
4937
- if (hasRequiredSolarWaterPumpingOffGridCal) return solarWaterPumpingOffGridCal;
4938
- hasRequiredSolarWaterPumpingOffGridCal = 1;
4939
- Object.defineProperty(solarWaterPumpingOffGridCal, "__esModule", { value: true });
4940
- solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = void 0;
4941
- const calculator_1 = requireCalculator();
4942
- var convert = lib;
4943
- let solarWaterPumpingOffGridCal$1 = class solarWaterPumpingOffGridCal {
4944
- static calculate(req) {
4945
- const constants = req.solarWaterPumpingOffGridConstants;
4946
- const emissionUnitParts = constants.emissionFactorUnit.split('/');
4947
- if (emissionUnitParts.length != 2) {
4948
- throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
4949
- }
4950
- const measuredUnitParts = req.energyGenerationUnit.split('/');
4951
- if (measuredUnitParts.length != 3) {
4952
- throw Error("Invalid measured unit " + req.energyGenerationUnit);
4953
- }
4954
- const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
4955
- return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
4956
- }
4957
- };
4958
- solarWaterPumpingOffGridCal.solarWaterPumpingOffGridCal = solarWaterPumpingOffGridCal$1;
4959
- return solarWaterPumpingOffGridCal;
4960
- }
4961
-
4962
- var solarWaterPumpingOnGridCreationRequest = {};
4963
-
4964
- var solarWaterPumpingOnGridConstants = {};
4965
-
4966
- Object.defineProperty(solarWaterPumpingOnGridConstants, "__esModule", { value: true });
4967
- solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = void 0;
4968
- class SolarWaterPumpingOnGridConstants {
4969
- constructor() {
4970
- this.emissionFactor = 1.06;
4971
- this.emissionFactorUnit = "kWh/year";
4972
- }
4973
- }
4974
- solarWaterPumpingOnGridConstants.SolarWaterPumpingOnGridConstants = SolarWaterPumpingOnGridConstants;
4975
-
4976
- Object.defineProperty(solarWaterPumpingOnGridCreationRequest, "__esModule", { value: true });
4977
- solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = void 0;
4978
- const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
4979
- class SolarWaterPumpingOnGridCreationRequest {
4980
- constructor() {
4981
- this.solarWaterPumpingOnGridConstants = new solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants();
4982
- }
4983
- }
4984
- solarWaterPumpingOnGridCreationRequest.SolarWaterPumpingOnGridCreationRequest = SolarWaterPumpingOnGridCreationRequest;
4985
-
4986
- var solarWaterPumpingOnGridCal = {};
4987
-
4988
- var hasRequiredSolarWaterPumpingOnGridCal;
4989
-
4990
- function requireSolarWaterPumpingOnGridCal () {
4991
- if (hasRequiredSolarWaterPumpingOnGridCal) return solarWaterPumpingOnGridCal;
4992
- hasRequiredSolarWaterPumpingOnGridCal = 1;
4993
- Object.defineProperty(solarWaterPumpingOnGridCal, "__esModule", { value: true });
4994
- solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = void 0;
4995
- const calculator_1 = requireCalculator();
4996
- var convert = lib;
4997
- let solarWaterPumpingOnGridCal$1 = class solarWaterPumpingOnGridCal {
4998
- static calculate(req) {
4999
- const constants = req.solarWaterPumpingOnGridConstants;
5000
- const emissionUnitParts = constants.emissionFactorUnit.split('/');
5001
- if (emissionUnitParts.length != 2) {
5002
- throw Error("Invalid emission factor unit " + constants.emissionFactorUnit);
5003
- }
5004
- const measuredUnitParts = req.energyGenerationUnit.split('/');
5005
- if (measuredUnitParts.length != 3) {
5006
- throw Error("Invalid measured unit " + req.energyGenerationUnit);
5007
- }
5008
- const unitX = convert(req.energyGeneration).from(measuredUnitParts[0]).to(emissionUnitParts[0]);
5009
- return Number((constants.emissionFactor * unitX).toFixed(calculator_1.PRECISION));
5010
- }
5011
- };
5012
- solarWaterPumpingOnGridCal.solarWaterPumpingOnGridCal = solarWaterPumpingOnGridCal$1;
5013
- return solarWaterPumpingOnGridCal;
5014
- }
5015
-
5016
4284
  var hasRequiredCalculator;
5017
4285
 
5018
4286
  function requireCalculator () {
@@ -5021,17 +4289,9 @@ function requireCalculator () {
5021
4289
  Object.defineProperty(calculator, "__esModule", { value: true });
5022
4290
  calculator.calculateCredit = calculator.PRECISION = void 0;
5023
4291
  const agricultureCal_1 = requireAgricultureCal();
5024
- const soilEnrichmentCal_1 = requireSoilEnrichmentCal();
5025
4292
  const solarCal_1 = requireSolarCal();
5026
4293
  const agricultureCreationRequest_1 = agricultureCreationRequest;
5027
- const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
5028
- const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
5029
4294
  const solarCreationRequest_1 = solarCreationRequest;
5030
- const stovesHousesNamibiaCal_1 = requireStovesHousesNamibiaCal();
5031
- const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
5032
- const solarWaterPumpingOffGridCal_1 = requireSolarWaterPumpingOffGridCal();
5033
- const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
5034
- const solarWaterPumpingOnGridCal_1 = requireSolarWaterPumpingOnGridCal();
5035
4295
  calculator.PRECISION = 2;
5036
4296
  const calculateCredit = (request) => {
5037
4297
  if (request instanceof agricultureCreationRequest_1.AgricultureCreationRequest) {
@@ -5040,18 +4300,6 @@ function requireCalculator () {
5040
4300
  else if (request instanceof solarCreationRequest_1.SolarCreationRequest) {
5041
4301
  return solarCal_1.SolarCal.calculate(request);
5042
4302
  }
5043
- else if (request instanceof soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest) {
5044
- return soilEnrichmentCal_1.SoilEnrichmentCal.calculate(request);
5045
- }
5046
- else if (request instanceof stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest) {
5047
- return stovesHousesNamibiaCal_1.StovesHousesNamibiaCal.calculate(request);
5048
- }
5049
- else if (request instanceof solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest) {
5050
- return solarWaterPumpingOffGridCal_1.solarWaterPumpingOffGridCal.calculate(request);
5051
- }
5052
- else if (request instanceof solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest) {
5053
- return solarWaterPumpingOnGridCal_1.solarWaterPumpingOnGridCal.calculate(request);
5054
- }
5055
4303
  else {
5056
4304
  throw Error("Not implemented");
5057
4305
  }
@@ -5062,24 +4310,25 @@ function requireCalculator () {
5062
4310
 
5063
4311
  var building_type_enum = {};
5064
4312
 
5065
- Object.defineProperty(building_type_enum, "__esModule", { value: true });
5066
- building_type_enum.BuildingType = void 0;
5067
- var BuildingType;
5068
- (function (BuildingType) {
5069
- BuildingType["Household"] = "Household";
5070
- BuildingType["HealthCenter"] = "HealthCenter";
5071
- BuildingType["Dispensary"] = "Dispensary";
5072
- BuildingType["School"] = "School";
5073
- BuildingType["PrimarySchool"] = "PrimarySchool";
5074
- BuildingType["SecondarySchool"] = "SecondarySchool";
5075
- BuildingType["PublicAdministration"] = "PublicAdministration";
5076
- BuildingType["TradingPlace"] = "TradingPlace";
5077
- BuildingType["BusStop"] = "BusStop";
5078
- })(BuildingType || (building_type_enum.BuildingType = BuildingType = {}));
4313
+ (function (exports) {
4314
+ Object.defineProperty(exports, "__esModule", { value: true });
4315
+ exports.BuildingType = void 0;
4316
+ (function (BuildingType) {
4317
+ BuildingType["Household"] = "Household";
4318
+ BuildingType["HealthCenter"] = "HealthCenter";
4319
+ BuildingType["Dispensary"] = "Dispensary";
4320
+ BuildingType["School"] = "School";
4321
+ BuildingType["PrimarySchool"] = "PrimarySchool";
4322
+ BuildingType["SecondarySchool"] = "SecondarySchool";
4323
+ BuildingType["PublicAdministration"] = "PublicAdministration";
4324
+ BuildingType["TradingPlace"] = "TradingPlace";
4325
+ BuildingType["BusStop"] = "BusStop";
4326
+ })(exports.BuildingType || (exports.BuildingType = {}));
4327
+ } (building_type_enum));
5079
4328
 
5080
4329
  (function (exports) {
5081
4330
  Object.defineProperty(exports, "__esModule", { value: true });
5082
- exports.SolarWaterPumpingOnGridCreationRequest = exports.SolarWaterPumpingOnGridConstants = exports.SolarWaterPumpingOffGridCreationRequest = exports.SolarWaterPumpingOffGridConstants = exports.StovesHousesNamibiaCreationRequest = exports.StovesHousesNamibiaConstants = exports.SoilEnrichmentCreationRequest = exports.SoilEnrichmentConstants = exports.BuildingType = exports.SolarConstants = exports.AgricultureConstants = exports.AgricultureCreationRequest = exports.SolarCreationRequest = exports.calculateCredit = void 0;
4331
+ exports.BuildingType = exports.SolarConstants = exports.AgricultureConstants = exports.AgricultureCreationRequest = exports.SolarCreationRequest = exports.calculateCredit = void 0;
5083
4332
  const calculator_1 = requireCalculator();
5084
4333
  Object.defineProperty(exports, "calculateCredit", { enumerable: true, get: function () { return calculator_1.calculateCredit; } });
5085
4334
  const agricultureConstants_1 = agricultureConstants;
@@ -5091,23 +4340,7 @@ var BuildingType;
5091
4340
  const agricultureCreationRequest_1 = agricultureCreationRequest;
5092
4341
  Object.defineProperty(exports, "AgricultureCreationRequest", { enumerable: true, get: function () { return agricultureCreationRequest_1.AgricultureCreationRequest; } });
5093
4342
  const solarCreationRequest_1 = solarCreationRequest;
5094
- Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
5095
- const soilEnrichmentConstants_1 = soilEnrichmentConstants;
5096
- Object.defineProperty(exports, "SoilEnrichmentConstants", { enumerable: true, get: function () { return soilEnrichmentConstants_1.SoilEnrichmentConstants; } });
5097
- const soilEnrichmentCreationRequest_1 = soilEnrichmentCreationRequest;
5098
- Object.defineProperty(exports, "SoilEnrichmentCreationRequest", { enumerable: true, get: function () { return soilEnrichmentCreationRequest_1.SoilEnrichmentCreationRequest; } });
5099
- const stovesHousesNamibiaConstants_1 = stovesHousesNamibiaConstants;
5100
- Object.defineProperty(exports, "StovesHousesNamibiaConstants", { enumerable: true, get: function () { return stovesHousesNamibiaConstants_1.StovesHousesNamibiaConstants; } });
5101
- const stovesHousesNamibiaCreationRequest_1 = stovesHousesNamibiaCreationRequest;
5102
- Object.defineProperty(exports, "StovesHousesNamibiaCreationRequest", { enumerable: true, get: function () { return stovesHousesNamibiaCreationRequest_1.StovesHousesNamibiaCreationRequest; } });
5103
- const solarWaterPumpingOffGridConstants_1 = solarWaterPumpingOffGridConstants;
5104
- Object.defineProperty(exports, "SolarWaterPumpingOffGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOffGridConstants_1.SolarWaterPumpingOffGridConstants; } });
5105
- const solarWaterPumpingOffGridCreationRequest_1 = solarWaterPumpingOffGridCreationRequest;
5106
- Object.defineProperty(exports, "SolarWaterPumpingOffGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOffGridCreationRequest_1.SolarWaterPumpingOffGridCreationRequest; } });
5107
- const solarWaterPumpingOnGridConstants_1 = solarWaterPumpingOnGridConstants;
5108
- Object.defineProperty(exports, "SolarWaterPumpingOnGridConstants", { enumerable: true, get: function () { return solarWaterPumpingOnGridConstants_1.SolarWaterPumpingOnGridConstants; } });
5109
- const solarWaterPumpingOnGridCreationRequest_1 = solarWaterPumpingOnGridCreationRequest;
5110
- Object.defineProperty(exports, "SolarWaterPumpingOnGridCreationRequest", { enumerable: true, get: function () { return solarWaterPumpingOnGridCreationRequest_1.SolarWaterPumpingOnGridCreationRequest; } });
4343
+ Object.defineProperty(exports, "SolarCreationRequest", { enumerable: true, get: function () { return solarCreationRequest_1.SolarCreationRequest; } });
5111
4344
  } (cjs));
5112
4345
 
5113
4346
  var consumerGroupList = [
@@ -5794,7 +5027,7 @@ var AddNewCompanyComponent = function (props) {
5794
5027
  message: "Role ".concat(t("isRequired")),
5795
5028
  },
5796
5029
  ] },
5797
- React.createElement(Radio.Group, { size: "large", disabled: isUpdate, onChange: onChangeCompanyRole }, isUpdate ? (React.createElement("div", { className: "".concat(companyRoleClassName, "-radio-container") },
5030
+ React.createElement(Radio.Group, { size: "large", disabled: isUpdate, onChange: onChangeCompanyRole, style: isGuest && { justifyContent: "start" } }, isUpdate ? (React.createElement("div", { className: "".concat(companyRoleClassName, "-radio-container") },
5798
5031
  React.createElement(Radio.Button, { className: companyRoleClassName, value: companyRole },
5799
5032
  companyRole === CompanyRole.CERTIFIER ? (React.createElement(SafetyOutlined, { className: "role-icons" })) : companyRole ===
5800
5033
  CompanyRole.PROGRAMME_DEVELOPER ? (React.createElement(ExperimentOutlined, { className: "role-icons" })) : companyRole === CompanyRole.MINISTRY ? (React.createElement(AuditOutlined, { className: "role-icons" })) : (React.createElement(BankOutlined, { className: "role-icons" })),
@@ -5813,16 +5046,17 @@ var AddNewCompanyComponent = function (props) {
5813
5046
  CompanyRole.MINISTRY
5814
5047
  ? {
5815
5048
  width: "45%",
5049
+ marginLeft: isGuest ? "30px" : 0,
5816
5050
  }
5817
- : {} },
5051
+ : { marginLeft: isGuest ? "30px" : 0, } },
5818
5052
  React.createElement(Tooltip, { placement: "top", title: "Permitted to own programmes and transfer carbon credits" },
5819
5053
  React.createElement(Radio.Button, { className: "dev", value: "ProgrammeDeveloper" },
5820
5054
  React.createElement(ExperimentOutlined, { className: "role-icons" }),
5821
5055
  "Developer"))),
5822
5056
  ((userInfoState === null || userInfoState === void 0 ? void 0 : userInfoState.companyRole) !==
5823
- CompanyRole.MINISTRY) && (React.createElement("div", { className: "minister-radio-container" },
5057
+ CompanyRole.MINISTRY) && !isGuest && (React.createElement("div", { className: "minister-radio-container" },
5824
5058
  React.createElement(Tooltip, { placement: "top", title: "Permitted to perform all programme-related actions within the Ministry" },
5825
- React.createElement(Radio.Button, { className: "minister", value: "Ministry", disabled: isGuest },
5059
+ React.createElement(Radio.Button, { className: "minister", value: "Ministry" },
5826
5060
  React.createElement(AuditOutlined, { className: "role-icons" }),
5827
5061
  "Ministry")))))))),
5828
5062
  companyRole === CompanyRole.MINISTRY && (React.createElement(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: [
@@ -6099,6 +5333,11 @@ var CompanyProfileComponent = function (props) {
6099
5333
  operation: "=",
6100
5334
  value: companyId,
6101
5335
  },
5336
+ {
5337
+ key: "isPending",
5338
+ operation: "=",
5339
+ value: true,
5340
+ },
6102
5341
  ],
6103
5342
  })];
6104
5343
  case 2:
@@ -6344,11 +5583,11 @@ var CompanyProfileComponent = function (props) {
6344
5583
  (parseInt(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.state) === 2) &&
6345
5584
  ability.can(Action.Reject, plainToClass(Company, companyDetails)) &&
6346
5585
  !isLoading &&
6347
- companyDetails && (React.createElement(Button, { className: "mg-left-1 btn-reject", type: "primary", onClick: onRejectOrganisation }, t("common:reject"))),
5586
+ companyDetails && (React.createElement(Button, { className: "btn-danger", onClick: onRejectOrganisation }, t("common:reject"))),
6348
5587
  (parseInt(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.state) === 2 || parseInt(companyDetails === null || companyDetails === void 0 ? void 0 : companyDetails.state) === 3) &&
6349
5588
  ability.can(Action.Approve, plainToClass(Company, companyDetails)) &&
6350
5589
  !isLoading &&
6351
- companyDetails && (React.createElement(Button, { className: "mg-left-1 btn-approve", type: "primary", onClick: onApproveOrganisation }, t("common:approve"))))),
5590
+ companyDetails && (React.createElement(Button, { className: "mg-left-1", type: "primary", onClick: onApproveOrganisation }, t("common:approve"))))),
6352
5591
  !companyDetails && (React.createElement("div", { className: "content-body" },
6353
5592
  React.createElement(Skeleton, { active: true, loading: true }))),
6354
5593
  companyDetails && (React.createElement("div", { className: "content-body" },
@@ -6442,6 +5681,11 @@ var CompanyProfileComponent = function (props) {
6442
5681
  React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:adminEmail")),
6443
5682
  React.createElement(Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.email)
6444
5683
  ? userDetails === null || userDetails === void 0 ? void 0 : userDetails.email
5684
+ : "-")),
5685
+ React.createElement(Row, { className: "field" },
5686
+ React.createElement(Col, { span: 12, className: "field-key" }, t("companyProfile:adminPhone")),
5687
+ React.createElement(Col, { span: 12, className: "field-value" }, (userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo)
5688
+ ? userDetails === null || userDetails === void 0 ? void 0 : userDetails.phoneNo
6445
5689
  : "-")))))))),
6446
5690
  React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onDeauthoriseOrgConfirmed, onActionCanceled: onDeauthoriseOrgCanceled, openModal: openDeauthorisationModal, errorMsg: errorMsg, loading: isLoading }),
6447
5691
  React.createElement(UserActionConfirmationModel, { t: t, actionInfo: actionInfo, onActionConfirmed: onReactivateOrgConfirmed, onActionCanceled: onReactivateOrgCanceled, openModal: openReactivateModal, errorMsg: errorMsg, loading: isLoading }),
@@ -16230,35 +15474,19 @@ var NdcActionDetails = function (props) {
16230
15474
  translator.setDefaultNamespace("ndcAction");
16231
15475
  var t = translator.t;
16232
15476
  var _a = useState(), ndcActionType = _a[0], setNdcActionType = _a[1];
16233
- var _b = useState(), methodology = _b[0], setMethodology = _b[1];
16234
- var _c = useState(), mitigationType = _c[0], setmitigationType = _c[1];
16235
- var _d = useState(""), mitigationSubType = _d[0], setMitigationSubType = _d[1];
16236
- var _e = useState(""), sector = _e[0], setSector = _e[1];
16237
- var _f = useState(ndcActionTypeList), ndcActionTypeListFiltered = _f[0]; _f[1];
16238
- var _g = useState([]), checkedOptionsGhgReduced = _g[0], setCheckedOptionsGhgReduced = _g[1];
16239
- var _h = useState([]), checkedOptionsGhgAvoided = _h[0], setCheckedOptionsGhgAvoided = _h[1];
16240
- var _j = useState(), inputNumberValueGhgAvoidedGas = _j[0], setInputNumberValueGhgAvoidedGas = _j[1];
16241
- var _k = useState(), inputNumberValueGhgReducedGas = _k[0], setInputNumberValueGhgReducedGas = _k[1];
16242
- var _l = useState(), includedInNAP = _l[0], setIncludedInNAP = _l[1];
15477
+ var _b = useState(), mitigationType = _b[0], setmitigationType = _b[1];
15478
+ var _c = useState(""), sector = _c[0], setSector = _c[1];
15479
+ var _d = useState(ndcActionTypeList), ndcActionTypeListFiltered = _d[0]; _d[1];
15480
+ var _e = useState([]), checkedOptionsGhgReduced = _e[0], setCheckedOptionsGhgReduced = _e[1];
15481
+ var _f = useState([]), checkedOptionsGhgAvoided = _f[0], setCheckedOptionsGhgAvoided = _f[1];
15482
+ var _g = useState(), inputNumberValueGhgAvoidedGas = _g[0], setInputNumberValueGhgAvoidedGas = _g[1];
15483
+ var _h = useState(), inputNumberValueGhgReducedGas = _h[0], setInputNumberValueGhgReducedGas = _h[1];
15484
+ var _j = useState(), includedInNAP = _j[0], setIncludedInNAP = _j[1];
16243
15485
  var form = Form.useForm()[0];
16244
15486
  var maximumImageSize = process.env.REACT_APP_MAXIMUM_FILE_SIZE
16245
15487
  ? parseInt(process.env.REACT_APP_MAXIMUM_FILE_SIZE)
16246
15488
  : 5000000;
16247
15489
  var ghgEmissionsGas = ["CO2", "CH4", "N20", "HFCs", "PFCs", "SF6"];
16248
- [
16249
- MitigationSubTypes.RICE_CROPS,
16250
- MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV,
16251
- MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID,
16252
- MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID,
16253
- MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR,
16254
- MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA,
16255
- ];
16256
- var methodologyOptions = [
16257
- { value: 'UNFCCC CDM', label: 'UNFCCC CDM' },
16258
- { value: 'Gold Standard', label: 'Gold Standard' },
16259
- { value: 'Verra VCS', label: 'Verra VCS' },
16260
- { value: 'Other', label: 'Other' },
16261
- ];
16262
15490
  useEffect(function () {
16263
15491
  if (programmeDetails) {
16264
15492
  setSector(programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sector);
@@ -16273,9 +15501,6 @@ var NdcActionDetails = function (props) {
16273
15501
  if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) {
16274
15502
  setmitigationType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation);
16275
15503
  }
16276
- if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) {
16277
- setMitigationSubType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation);
16278
- }
16279
15504
  if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP) {
16280
15505
  setIncludedInNAP(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.includedInNAP);
16281
15506
  }
@@ -16288,7 +15513,6 @@ var NdcActionDetails = function (props) {
16288
15513
  form.setFieldsValue({
16289
15514
  ndcActionType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.action,
16290
15515
  mitigationType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation,
16291
- mitigationSubType: ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation,
16292
15516
  energyGeneration: (_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _a === void 0 ? void 0 : _a.energyGeneration,
16293
15517
  energyGenerationUnit: (_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _b === void 0 ? void 0 : _b.energyGenerationUnit,
16294
15518
  consumerGroup: (_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.consumerGroup,
@@ -16366,42 +15590,18 @@ var NdcActionDetails = function (props) {
16366
15590
  if (formValues.ndcActionType === NdcActionTypes.Mitigation ||
16367
15591
  formValues.ndcActionType === NdcActionTypes.CrossCutting) {
16368
15592
  if (formValues.mitigationType === MitigationTypes.AGRICULTURE) {
16369
- if (formValues.mitigationSubType === MitigationSubTypes.RICE_CROPS) {
16370
- creditRequest = new cjs.AgricultureCreationRequest();
16371
- creditRequest.landArea = formValues.eligibleLandArea;
16372
- creditRequest.landAreaUnit = formValues.landAreaUnit;
16373
- creditRequest.duration =
16374
- programmeDetails.endTime - programmeDetails.startTime;
16375
- creditRequest.durationUnit = "s";
16376
- }
16377
- else if (formValues.mitigationSubType === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
16378
- creditRequest = new cjs.SoilEnrichmentCreationRequest();
16379
- creditRequest.weight = formValues.tonnesOnDryBasis;
16380
- }
15593
+ creditRequest = new cjs.AgricultureCreationRequest();
15594
+ creditRequest.landArea = formValues.eligibleLandArea;
15595
+ creditRequest.landAreaUnit = formValues.landAreaUnit;
15596
+ creditRequest.duration =
15597
+ programmeDetails.endTime - programmeDetails.startTime;
15598
+ creditRequest.durationUnit = "s";
16381
15599
  }
16382
15600
  else if (formValues.mitigationType === MitigationTypes.SOLAR) {
16383
- if (formValues.mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
16384
- creditRequest = new cjs.SolarCreationRequest();
16385
- creditRequest.buildingType = formValues.consumerGroup;
16386
- creditRequest.energyGeneration = formValues.energyGeneration;
16387
- creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16388
- }
16389
- else if (formValues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
16390
- creditRequest = new cjs.SolarWaterPumpingOffGridCreationRequest();
16391
- creditRequest.energyGeneration = formValues.energyGeneration;
16392
- creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16393
- }
16394
- else if (formValues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
16395
- creditRequest = new cjs.SolarWaterPumpingOnGridCreationRequest();
16396
- creditRequest.energyGeneration = formValues.energyGeneration;
16397
- creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16398
- }
16399
- }
16400
- else if (formValues.mitigationType === MitigationTypes.EE_HOUSEHOLDS
16401
- && formValues.mitigationSubType === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
16402
- creditRequest = new cjs.StovesHousesNamibiaCreationRequest();
16403
- creditRequest.numberOfDays = formValues.numberOfDays;
16404
- creditRequest.numberOfPeopleInHousehold = formValues.numberOfPeople;
15601
+ creditRequest = new cjs.SolarCreationRequest();
15602
+ creditRequest.buildingType = formValues.consumerGroup;
15603
+ creditRequest.energyGeneration = formValues.energyGeneration;
15604
+ creditRequest.energyGenerationUnit = formValues.energyGenerationUnit;
16405
15605
  }
16406
15606
  }
16407
15607
  var creditResponse = cjs.calculateCredit(creditRequest);
@@ -16428,37 +15628,8 @@ var NdcActionDetails = function (props) {
16428
15628
  };
16429
15629
  var handleMitigationTypeChange = function (selectedMitigationType) {
16430
15630
  setmitigationType(selectedMitigationType);
16431
- form.setFieldsValue({
16432
- mitigationSubType: "",
16433
- tonnesOnDryBasis: "",
16434
- numberOfPeople: "",
16435
- numberOfDays: "",
16436
- landAreaUnit: "",
16437
- eligibleLandArea: "",
16438
- consumerGroup: "",
16439
- energyGenerationUnit: "",
16440
- energyGeneration: "",
16441
- methodologyEstimatedCredits: 0,
16442
- });
16443
15631
  calculateMethodologyEstimatedCredits();
16444
15632
  };
16445
- var handleMitigationSubTypeChange = function (selectedSubMitigationType) {
16446
- setMitigationSubType(selectedSubMitigationType);
16447
- form.setFieldsValue({
16448
- tonnesOnDryBasis: "",
16449
- numberOfPeople: "",
16450
- numberOfDays: "",
16451
- landAreaUnit: "",
16452
- eligibleLandArea: "",
16453
- consumerGroup: "",
16454
- energyGenerationUnit: "",
16455
- energyGeneration: "",
16456
- methodologyEstimatedCredits: 0,
16457
- });
16458
- };
16459
- var handleMethodologyChange = function (selectedMethodology) {
16460
- setMethodology(selectedMethodology);
16461
- };
16462
15633
  var onNdcActionDetailsFormSubmit = function (ndcActionFormvalues) { return __awaiter(void 0, void 0, void 0, function () {
16463
15634
  var ndcActionDetailObj, enablementReport;
16464
15635
  var _a;
@@ -16469,28 +15640,17 @@ var NdcActionDetails = function (props) {
16469
15640
  ndcActionDetailObj.action = ndcActionFormvalues.ndcActionType;
16470
15641
  if (ndcActionFormvalues.ndcActionType === NdcActionTypes.Mitigation ||
16471
15642
  ndcActionFormvalues.ndcActionType === NdcActionTypes.CrossCutting) {
16472
- ndcActionDetailObj.methodology = ndcActionFormvalues.methodology;
15643
+ ndcActionDetailObj.methodology = t("ndcAction:goldStandard");
16473
15644
  ndcActionDetailObj.typeOfMitigation = ndcActionFormvalues.mitigationType;
16474
- ndcActionDetailObj.subTypeOfMitigation = ndcActionFormvalues.mitigationSubType;
16475
- if (ndcActionFormvalues.mitigationType === MitigationTypes.AGRICULTURE
16476
- && ndcActionFormvalues.mitigationSubType === MitigationSubTypes.RICE_CROPS) {
15645
+ if (ndcActionFormvalues.mitigationType === MitigationTypes.AGRICULTURE) {
16477
15646
  ndcActionDetailObj.agricultureProperties = {
16478
15647
  landArea: ndcActionFormvalues.eligibleLandArea
16479
15648
  ? ndcActionFormvalues.eligibleLandArea
16480
15649
  : 0,
16481
15650
  landAreaUnit: ndcActionFormvalues.landAreaUnit,
16482
15651
  };
16483
- ndcActionDetailObj.creditCalculationProperties = {
16484
- typeOfMitigation: ndcActionFormvalues.mitigationType,
16485
- subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16486
- landArea: ndcActionFormvalues.eligibleLandArea
16487
- ? ndcActionFormvalues.eligibleLandArea
16488
- : 0,
16489
- landAreaUnit: ndcActionFormvalues.landAreaUnit,
16490
- };
16491
15652
  }
16492
- else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
16493
- && ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV) {
15653
+ else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR) {
16494
15654
  ndcActionDetailObj.solarProperties = {
16495
15655
  energyGeneration: ndcActionFormvalues.energyGeneration
16496
15656
  ? ndcActionFormvalues.energyGeneration
@@ -16498,54 +15658,18 @@ var NdcActionDetails = function (props) {
16498
15658
  energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16499
15659
  consumerGroup: ndcActionFormvalues.consumerGroup,
16500
15660
  };
16501
- ndcActionDetailObj.creditCalculationProperties = {
16502
- typeOfMitigation: ndcActionFormvalues.mitigationType,
16503
- subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16504
- energyGeneration: ndcActionFormvalues.energyGeneration
16505
- ? ndcActionFormvalues.energyGeneration
16506
- : 0,
16507
- energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16508
- consumerGroup: ndcActionFormvalues.consumerGroup,
16509
- };
16510
15661
  }
16511
- else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
16512
- && ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID) {
16513
- ndcActionDetailObj.creditCalculationProperties = {
16514
- typeOfMitigation: ndcActionFormvalues.mitigationType,
16515
- subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16516
- energyGeneration: ndcActionFormvalues.energyGeneration
16517
- ? ndcActionFormvalues.energyGeneration
16518
- : 0,
16519
- energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16520
- };
16521
- }
16522
- else if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR
16523
- && ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) {
16524
- ndcActionDetailObj.creditCalculationProperties = {
16525
- typeOfMitigation: ndcActionFormvalues.mitigationType,
16526
- subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16527
- energyGeneration: ndcActionFormvalues.energyGeneration
16528
- ? ndcActionFormvalues.energyGeneration
16529
- : 0,
16530
- energyGenerationUnit: ndcActionFormvalues.energyGenerationUnit,
16531
- };
16532
- }
16533
- else if (ndcActionFormvalues.mitigationType === MitigationTypes.EE_HOUSEHOLDS
16534
- && ndcActionFormvalues.mitigationSubType === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA) {
16535
- ndcActionDetailObj.creditCalculationProperties = {
16536
- typeOfMitigation: ndcActionFormvalues.mitigationType,
16537
- subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16538
- numberOfDays: ndcActionFormvalues.numberOfDays,
16539
- numberOfPeopleInHousehold: ndcActionFormvalues.numberOfPeople,
16540
- };
16541
- }
16542
- else if (ndcActionFormvalues.mitigationType === MitigationTypes.AGRICULTURE
16543
- && ndcActionFormvalues.mitigationSubType === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR) {
16544
- ndcActionDetailObj.creditCalculationProperties = {
16545
- typeOfMitigation: ndcActionFormvalues.mitigationType,
16546
- subTypeOfMitigation: ndcActionFormvalues.mitigationSubType,
16547
- weight: ndcActionFormvalues.tonnesOnDryBasis,
16548
- };
15662
+ if (ndcActionFormvalues.mitigationType === MitigationTypes.SOLAR ||
15663
+ ndcActionFormvalues.mitigationType === MitigationTypes.AGRICULTURE) {
15664
+ if (parseFloat(ndcActionFormvalues.methodologyEstimatedCredits) <= 0) {
15665
+ message.open({
15666
+ type: "error",
15667
+ content: t("methodologyEstimatedCreditsInvalid"),
15668
+ duration: 4,
15669
+ style: { textAlign: "right", marginRight: 15, marginTop: 10 },
15670
+ });
15671
+ return [2 /*return*/];
15672
+ }
16549
15673
  }
16550
15674
  if (ndcActionFormvalues.userEstimatedCredits > programmeDetails.creditEst) {
16551
15675
  message.open({
@@ -16667,36 +15791,24 @@ var NdcActionDetails = function (props) {
16667
15791
  (programmeDetails === null || programmeDetails === void 0 ? void 0 : programmeDetails.sector) === Sector.Hospitality
16668
15792
  ? mitigationTypeList
16669
15793
  : sectorMitigationTypesListMapped[sector] }))),
16670
- (ndcActionType === NdcActionTypes.Mitigation ||
16671
- ndcActionType === NdcActionTypes.CrossCutting) &&
16672
- mitigationType && mitigationSubTypesListMapped[mitigationType] && (React.createElement(Col, { style: { marginLeft: "38px" } },
16673
- React.createElement(Form.Item, { label: t("ndcAction:mitigationSubType"), name: "mitigationSubType", rules: [
16674
- {
16675
- required: true,
16676
- message: "".concat(t("ndcAction:mitigationSubType"), " ").concat(t("ndcAction:isRequired")),
16677
- },
16678
- ] },
16679
- React.createElement(Select, { size: "large", onChange: handleMitigationSubTypeChange, style: {
16680
- width: "249px",
16681
- borderRadius: "4px",
16682
- }, options: mitigationSubTypesListMapped[mitigationType], value: mitigationSubType })))),
16683
15794
  React.createElement(Col, { style: { marginLeft: "38px" } },
16684
- React.createElement(Form.Item, { label: t("ndcAction:methodology"), name: "methodology", rules: [
16685
- {
16686
- required: true,
16687
- message: "".concat(t("ndcAction:methodology"), " ").concat(t("ndcAction:isRequired")),
16688
- },
16689
- ] },
16690
- React.createElement(Select, { size: "large", onChange: handleMethodologyChange, style: {
15795
+ React.createElement(Form.Item, { label: t("ndcAction:methodology"), name: "methodology" },
15796
+ React.createElement("span", { style: {
15797
+ display: "inline-block",
15798
+ border: "1px solid #D9D9D9",
16691
15799
  width: "154px",
15800
+ height: "38px",
16692
15801
  borderRadius: "4px",
16693
- }, options: methodologyOptions, value: methodology })))))),
15802
+ padding: "7px 8px",
15803
+ fontSize: "14px",
15804
+ backgroundColor: "#F0F0F0",
15805
+ color: "#8C8C8C",
15806
+ } },
15807
+ " ",
15808
+ t("ndcAction:goldStandard"))))))),
16694
15809
  (ndcActionType === NdcActionTypes.Mitigation ||
16695
15810
  ndcActionType === NdcActionTypes.CrossCutting) &&
16696
- mitigationType === MitigationTypes.SOLAR &&
16697
- (mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV ||
16698
- mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
16699
- mitigationSubType === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) && (React.createElement(React.Fragment, null,
15811
+ mitigationType === MitigationTypes.SOLAR && (React.createElement(React.Fragment, null,
16700
15812
  React.createElement(Row, { justify: "start", align: "middle" },
16701
15813
  React.createElement(Col, null,
16702
15814
  React.createElement(Form.Item, { label: t("ndcAction:energyGeneration"), rules: [
@@ -16727,17 +15839,16 @@ var NdcActionDetails = function (props) {
16727
15839
  },
16728
15840
  ] },
16729
15841
  React.createElement(Select, { size: "large", style: { width: 442 }, options: energyGenerationUnitList, onChange: calculateMethodologyEstimatedCredits })))),
16730
- mitigationSubType === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV && (React.createElement(Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
15842
+ React.createElement(Form.Item, { label: t("ndcAction:consumerGroup"), name: "consumerGroup", rules: [
16731
15843
  {
16732
15844
  required: true,
16733
15845
  message: "".concat(t("ndcAction:consumerGroup"), " ").concat(t("ndcAction:isRequired")),
16734
15846
  },
16735
15847
  ] },
16736
- React.createElement(Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList }))))),
15848
+ React.createElement(Select, { size: "large", style: { width: 442 }, onChange: calculateMethodologyEstimatedCredits, options: consumerGroupList })))),
16737
15849
  (ndcActionType === NdcActionTypes.Mitigation ||
16738
15850
  ndcActionType === NdcActionTypes.CrossCutting) &&
16739
- mitigationType === MitigationTypes.AGRICULTURE &&
16740
- mitigationSubType === MitigationSubTypes.RICE_CROPS && (React.createElement(Row, { justify: "start", align: "middle" },
15851
+ mitigationType === MitigationTypes.AGRICULTURE && (React.createElement(Row, { justify: "start", align: "middle" },
16741
15852
  React.createElement(Col, null,
16742
15853
  React.createElement(Form.Item, { label: t("ndcAction:eligibleLandArea"), name: "eligibleLandArea", rules: [
16743
15854
  {
@@ -16767,78 +15878,6 @@ var NdcActionDetails = function (props) {
16767
15878
  },
16768
15879
  ] },
16769
15880
  React.createElement(Select, { onChange: calculateMethodologyEstimatedCredits, size: "large", style: { width: 442 }, options: landAreaUnitList }))))),
16770
- (ndcActionType === NdcActionTypes.Mitigation ||
16771
- ndcActionType === NdcActionTypes.CrossCutting) &&
16772
- mitigationType === MitigationTypes.AGRICULTURE &&
16773
- mitigationSubType === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR && (React.createElement(Row, { justify: "start", align: "middle" },
16774
- React.createElement(Col, null,
16775
- React.createElement(Form.Item, { label: t("ndcAction:tonnesOnDryBasis"), name: "tonnesOnDryBasis", rules: [
16776
- {
16777
- required: true,
16778
- message: "",
16779
- },
16780
- {
16781
- validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
16782
- return __generator(this, function (_a) {
16783
- if (String(value).trim() === "" ||
16784
- String(value).trim() === undefined ||
16785
- value === null ||
16786
- value === undefined) {
16787
- throw new Error("".concat(t("ndcAction:tonnesOnDryBasis"), " ").concat(t("ndcAction:isRequired")));
16788
- }
16789
- return [2 /*return*/];
16790
- });
16791
- }); },
16792
- },
16793
- ] },
16794
- React.createElement(InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))))),
16795
- (ndcActionType === NdcActionTypes.Mitigation ||
16796
- ndcActionType === NdcActionTypes.CrossCutting) &&
16797
- mitigationType === MitigationTypes.EE_HOUSEHOLDS &&
16798
- mitigationSubType === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA && (React.createElement(React.Fragment, null,
16799
- React.createElement(Row, { justify: "start", align: "middle" },
16800
- React.createElement(Col, null,
16801
- React.createElement(Form.Item, { label: t("ndcAction:numberOfDays"), rules: [
16802
- {
16803
- required: true,
16804
- message: "",
16805
- },
16806
- {
16807
- validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
16808
- return __generator(this, function (_a) {
16809
- if (String(value).trim() === "" ||
16810
- String(value).trim() === undefined ||
16811
- value === null ||
16812
- value === undefined) {
16813
- throw new Error("".concat(t("ndcAction:numberOfDays"), " ").concat(t("ndcAction:isRequired")));
16814
- }
16815
- return [2 /*return*/];
16816
- });
16817
- }); },
16818
- },
16819
- ], name: "numberOfDays" },
16820
- React.createElement(InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits }))),
16821
- React.createElement(Col, { style: { marginLeft: "38px" } },
16822
- React.createElement(Form.Item, { label: t("ndcAction:numberOfPeople"), rules: [
16823
- {
16824
- required: true,
16825
- message: "",
16826
- },
16827
- {
16828
- validator: function (rule, value) { return __awaiter(void 0, void 0, void 0, function () {
16829
- return __generator(this, function (_a) {
16830
- if (String(value).trim() === "" ||
16831
- String(value).trim() === undefined ||
16832
- value === null ||
16833
- value === undefined) {
16834
- throw new Error("".concat(t("ndcAction:numberOfPeople"), " ").concat(t("ndcAction:isRequired")));
16835
- }
16836
- return [2 /*return*/];
16837
- });
16838
- }); },
16839
- },
16840
- ], name: "numberOfPeople" },
16841
- React.createElement(InputNumber, { style: { width: 442, paddingRight: 12 }, onChange: calculateMethodologyEstimatedCredits })))))),
16842
15881
  (ndcActionType === NdcActionTypes.Mitigation ||
16843
15882
  ndcActionType === NdcActionTypes.CrossCutting) && (React.createElement(Row, { justify: "start", align: "middle" },
16844
15883
  React.createElement(Col, null,
@@ -19733,55 +18772,26 @@ var NdcActionViewComponent = function (props) {
19733
18772
  _a[t("ndcAction:viewCurrentStatus")] = (React.createElement(Tag, { className: "clickable", color: getNdcStatusTagType(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status) }, addSpaces(ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.status))),
19734
18773
  _a);
19735
18774
  var getNdcActionMitigationDetails = function () {
19736
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
18775
+ var _a, _b, _c, _d, _e;
19737
18776
  var mitigationDetails = {};
19738
18777
  mitigationTypeList === null || mitigationTypeList === void 0 ? void 0 : mitigationTypeList.map(function (type) {
19739
18778
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === type.value) {
19740
18779
  mitigationDetails[t("ndcAction:viewMitigationType")] = type.label;
19741
18780
  }
19742
18781
  });
19743
- mitigationSubTypeList === null || mitigationSubTypeList === void 0 ? void 0 : mitigationSubTypeList.map(function (type) {
19744
- if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === type.value) {
19745
- mitigationDetails[t("ndcAction:viewMitigationSubType")] = type.label;
19746
- }
19747
- });
19748
18782
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.AGRICULTURE &&
19749
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.RICE_CROPS &&
19750
18783
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties)) {
19751
18784
  mitigationDetails[t("ndcAction:viewMitigationLandArea")] =
19752
18785
  addCommSep((_a = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _a === void 0 ? void 0 : _a.landArea) +
19753
18786
  ((_b = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.agricultureProperties) === null || _b === void 0 ? void 0 : _b.landAreaUnit);
19754
18787
  }
19755
- if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.AGRICULTURE &&
19756
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOIL_ENRICHMENT_BIOCHAR &&
19757
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
19758
- mitigationDetails[t("ndcAction:viewMitigationWeight")] =
19759
- addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _c === void 0 ? void 0 : _c.weight) + 't';
19760
- }
19761
18788
  if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.SOLAR &&
19762
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOLAR_PHOTOVOLTAICS_PV &&
19763
18789
  (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties)) {
19764
18790
  mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
19765
- addCommSep((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGeneration) +
19766
- ((_e = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _e === void 0 ? void 0 : _e.energyGenerationUnit);
18791
+ addCommSep((_c = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _c === void 0 ? void 0 : _c.energyGeneration) +
18792
+ ((_d = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _d === void 0 ? void 0 : _d.energyGenerationUnit);
19767
18793
  mitigationDetails[t("ndcAction:viewMitigationConsumerGroup")] =
19768
- (_f = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _f === void 0 ? void 0 : _f.consumerGroup;
19769
- }
19770
- if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.SOLAR &&
19771
- ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOLAR_WATER_PUMPING_OFF_GRID ||
19772
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.SOLAR_WATER_PUMPING_ON_GRID) &&
19773
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
19774
- mitigationDetails[t("ndcAction:viewMitigationEnergyGeneration")] =
19775
- addCommSep((_g = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _g === void 0 ? void 0 : _g.energyGeneration) +
19776
- ((_h = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _h === void 0 ? void 0 : _h.energyGenerationUnit);
19777
- }
19778
- if ((ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.typeOfMitigation) === MitigationTypes.EE_HOUSEHOLDS &&
19779
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.subTypeOfMitigation) === MitigationSubTypes.STOVES_HOUSES_IN_NAMIBIA &&
19780
- (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties)) {
19781
- mitigationDetails[t("ndcAction:viewMitigationNoOfDays")] =
19782
- (_j = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _j === void 0 ? void 0 : _j.numberOfDays;
19783
- mitigationDetails[t("ndcAction:viewMitigationNoOfPeople")] =
19784
- (_k = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.creditCalculationProperties) === null || _k === void 0 ? void 0 : _k.numberOfPeopleInHousehold;
18794
+ (_e = ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.solarProperties) === null || _e === void 0 ? void 0 : _e.consumerGroup;
19785
18795
  }
19786
18796
  if (ndcActionDetails === null || ndcActionDetails === void 0 ? void 0 : ndcActionDetails.ndcFinancing) {
19787
18797
  mitigationDetails[t("ndcAction:viewMitigationUserEstimatedCredits")] =
@@ -25875,5 +24885,5 @@ var TimelineBody = function (props) {
25875
24885
  React.createElement("div", { className: "remark-body" }, remark)))));
25876
24886
  };
25877
24887
 
25878
- export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, MitigationSubTypes, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcActionBody, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, OrganisationStatus, ProfileIcon, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDocuments, ProgrammeEntity, ProgrammeIssueForm, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeRetireForm, ProgrammeRevokeForm, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeTransfer, ProgrammeTransferForm, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, StasticCard, StatsCardsTypes, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList };
24888
+ export { Action, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, ImgWithFallback, InfoView, Instrument, InvestmentBGColor, InvestmentBody, InvestmentColor, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LegendItem, Loading, ManagerBGColor, ManagerColor, MapComponent, MapTypes, MapboxComponent, MinBGColor, MinColor, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcActionBody, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, OrganisationStatus, ProfileIcon, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDocuments, ProgrammeEntity, ProgrammeIssueForm, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeRetireForm, ProgrammeRevokeForm, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeTransfer, ProgrammeTransferForm, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RetireType, Role, RoleIcon, RootBGColor, RootColor, SdgGoals$1 as SdgGoals, Sector, SectoralScope, StasticCard, StatsCardsTypes, SystemNames, TimelineBody, Titles, TooltipColor, TransferActionModel, TxType, TypeOfMitigation, UnitField, User, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserRoleIcon, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList };
25879
24889
  //# sourceMappingURL=index.js.map