@undp/carbon-library 1.0.16-CARBON-363.62 → 1.0.17-CARBON-363.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +1757 -140
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/Models/programmeIssueForm.d.ts +2 -0
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
- package/dist/cjs/types/Components/Common/TimelineBody/timelineBody.d.ts +3 -2
- package/dist/cjs/types/Definitions/Definitions/ndcAction.definitions.d.ts +15 -0
- package/dist/cjs/types/Definitions/Enums/mitigation.types.enum.d.ts +171 -1
- package/dist/cjs/types/Definitions/Enums/typeOfMitigation.enum.d.ts +10 -1
- package/dist/esm/index.js +1753 -141
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/Models/programmeIssueForm.d.ts +2 -0
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
- package/dist/esm/types/Components/Common/TimelineBody/timelineBody.d.ts +3 -2
- package/dist/esm/types/Definitions/Definitions/ndcAction.definitions.d.ts +15 -0
- package/dist/esm/types/Definitions/Enums/mitigation.types.enum.d.ts +171 -1
- package/dist/esm/types/Definitions/Enums/typeOfMitigation.enum.d.ts +10 -1
- package/dist/index.d.ts +201 -3
- package/package.json +2 -2
@@ -8,5 +8,7 @@ export interface ProgrammeIssueFormProps {
|
|
8
8
|
subText: string;
|
9
9
|
enableIssue: boolean;
|
10
10
|
translator: any;
|
11
|
+
ndcActions?: any[];
|
11
12
|
}
|
13
|
+
export declare const getValidNdcActions: (programme: any) => any[];
|
12
14
|
export declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./timelineBody.scss";
|
3
3
|
export interface TimelineBodyProps {
|
4
4
|
text: string;
|
5
5
|
remark?: string | null;
|
6
6
|
via?: string | null;
|
7
7
|
t: any;
|
8
8
|
}
|
9
|
+
export declare const addNdcDesc: (props: any) => string;
|
9
10
|
export declare const TimelineBody: FC<TimelineBodyProps>;
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import { BuildingType } from "@undp/carbon-credit-calculator";
|
2
2
|
import { NdcActionTypes } from "../Enums/ndcActionTypes.enum";
|
3
3
|
import { MitigationTypes } from "../Enums/mitigation.types.enum";
|
4
|
+
import { MitigationSubTypes } from "../Enums/mitigation.types.enum";
|
4
5
|
import { NdcActionStatus } from "../Enums/ndcAction.status.enum";
|
5
6
|
export interface AgricultureProperties {
|
6
7
|
landArea: number;
|
@@ -19,6 +20,18 @@ export interface AdaptationProperties {
|
|
19
20
|
ghgEmissionsReduced: any;
|
20
21
|
ghgEmissionsAvoided: any;
|
21
22
|
}
|
23
|
+
export interface CreditCalculationProperties {
|
24
|
+
typeOfMitigation?: MitigationTypes;
|
25
|
+
subTypeOfMitigation?: MitigationSubTypes;
|
26
|
+
energyGeneration?: number;
|
27
|
+
energyGenerationUnit?: string;
|
28
|
+
consumerGroup?: BuildingType;
|
29
|
+
landArea?: number;
|
30
|
+
landAreaUnit?: string;
|
31
|
+
numberOfDays?: number;
|
32
|
+
numberOfPeopleInHousehold?: number;
|
33
|
+
weight?: number;
|
34
|
+
}
|
22
35
|
export interface CoBenefitsProperties {
|
23
36
|
}
|
24
37
|
export interface EnablementProperties {
|
@@ -36,8 +49,10 @@ export interface NdcAction {
|
|
36
49
|
action: NdcActionTypes;
|
37
50
|
methodology: string;
|
38
51
|
typeOfMitigation: MitigationTypes;
|
52
|
+
subTypeOfMitigation: MitigationSubTypes;
|
39
53
|
agricultureProperties?: AgricultureProperties;
|
40
54
|
solarProperties?: SolarProperties;
|
55
|
+
creditCalculationProperties?: CreditCalculationProperties;
|
41
56
|
adaptationProperties: AdaptationProperties;
|
42
57
|
ndcFinancing?: NdcFinancing;
|
43
58
|
monitoringReport?: string;
|
@@ -22,10 +22,180 @@ export declare enum MitigationTypes {
|
|
22
22
|
N20 = "N20",
|
23
23
|
SOLAR = "Solar",
|
24
24
|
TRANSPORT = "Transport",
|
25
|
-
WIND = "Wind"
|
25
|
+
WIND = "Wind",
|
26
|
+
CO2_USAGE = "CO2Usage",
|
27
|
+
TIDAL = "Tidal"
|
28
|
+
}
|
29
|
+
export declare enum MitigationSubTypes {
|
30
|
+
IRRIGATION = "Irrigation",
|
31
|
+
ENERGY_EFFICIENCY = "EnergyEfficiency",
|
32
|
+
ALTERNATIVE_FERTILISER = "AlternativeFertilisers",
|
33
|
+
NO_TILLAGE = "NoTillage",
|
34
|
+
SOIL_ENRICHMENT_BIOCHAR = "SoilEnrichmentBiochar",
|
35
|
+
RICE_CROPS = "RiceCrops",
|
36
|
+
BAGASSE_POWER = "BagassePower",
|
37
|
+
PALM_OIL_SOLID_WASTE = "Palm oil solid waste",
|
38
|
+
AGRICULTURAL_RESIDUES_OTHER_KINDS = "AgriculturalResiduesOtherKinds",
|
39
|
+
AGRICULTURAL_RESIDUES_RICE_HUSK = "AgriculturalResiduesRiceHusk",
|
40
|
+
AGRICULTURAL_RESIDUES_MUSTARD_CROP = "AgriculturalResiduesMustardCrop",
|
41
|
+
AGRICULTURAL_RESIDUES_POULTRY_LITTER = "AgriculturalResiduesPoultryLitter",
|
42
|
+
BLACK_LIQUOR = "BlackLiquor",
|
43
|
+
FOREST_RESIDUES_SAWMILL_WASTE = "ForestResiduesSawmillWaste",
|
44
|
+
FOREST_RESIDUES_OTHER = "ForestResiduesOther",
|
45
|
+
FOREST_BIOMASS = "ForestBiomass",
|
46
|
+
INDUSTRIAL_WASTE = "IndustrialWaste",
|
47
|
+
GASIFICATION_OF_BIOMASS = "GasificationOfBiomass",
|
48
|
+
SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS = "SwitchFromFossilFuelToPipedBiogas",
|
49
|
+
BIOMASS_BRIQUETTES_OR_PELLETS = "BiomassBriquettesOrPellets",
|
50
|
+
BIODIESEL = "Biodiesel",
|
51
|
+
BIODIESEL_FROM_WASTE_OIL = "BiodieselFromWasteOil",
|
52
|
+
ETHANOL = "Ethanol",
|
53
|
+
CLINKER_REPLACEMENT = "ClinkerReplacement",
|
54
|
+
COAL_MINE_METHANE = "CoalMineMethane",
|
55
|
+
COAL_BED_METHANE = "CoalBedMethane",
|
56
|
+
CMM_VENTILATION_AIR_METHANE = "CMMVentilationAirMethane",
|
57
|
+
VENTILATION_AIR_METHANE = "VentilationAirMethane",
|
58
|
+
LIGHTING = "Lighting",
|
59
|
+
SOLAR_LAMPS = "SolarLamps",
|
60
|
+
STOVES = "Stoves",
|
61
|
+
STOVES_SCHOOL_IN_GHANA = "StovesSchoolInGhana",
|
62
|
+
STOVES_HOUSES_IN_NAMIBIA = "StovesHousesInNamibia",
|
63
|
+
LIGHTING_INSULATION_SOLAR = "LightingInsulationSolar",
|
64
|
+
APPLIANCES = "Appliances",
|
65
|
+
CHEMICALS = "Chemicals",
|
66
|
+
PETROCHEMICALS = "Petrochemicals",
|
67
|
+
PAPER = "Paper",
|
68
|
+
CEMENT = "Cement",
|
69
|
+
IRON_STEEL = "IronSteel",
|
70
|
+
MACHINERY = "Machinery",
|
71
|
+
TEXTILES = "Textiles",
|
72
|
+
ELECTRONICS = "Electronics",
|
73
|
+
FOOD = "Food",
|
74
|
+
BUILDING_MATERIALS = "BuildingMaterials",
|
75
|
+
GLASS = "Glass",
|
76
|
+
NON_FERROUS_METALS = "NonFerrousMetals",
|
77
|
+
COKE_OVEN = "CokeOven",
|
78
|
+
Mining = "Mining",
|
79
|
+
CONSTRUCTION = "Construction",
|
80
|
+
METAL_PRODUCTS = "MetalProducts",
|
81
|
+
WOOD = "Wood",
|
82
|
+
RECYCLING = "Recycling",
|
83
|
+
CHEMICALS_HEAT = "ChemicalsHeat",
|
84
|
+
PETROCHEMICALS_HEAT = "PetrochemicalsHeat",
|
85
|
+
CARBON_BLACK_GAS = "CarbonBlackGas",
|
86
|
+
CEMENT_HEAT = "CementHeat",
|
87
|
+
IRON_STEEL_HEAT = "IronSteelHeat",
|
88
|
+
BUILDING_MATERIALS_HEAT = "BuildingMaterialsHeat",
|
89
|
+
GLASS_HEAT = "GlassHeat",
|
90
|
+
NON_FERROUS_METALS_HEAT = "NonFerrousMetalsHeat",
|
91
|
+
COKE_OVEN_GAS = "CokeOvenGas",
|
92
|
+
HVAC_LIGHTING = "HvacLighting",
|
93
|
+
AIR_CONDITIONING = "AirConditioning",
|
94
|
+
EE_NEW_BUILDINGS = "EeNewBuildings",
|
95
|
+
STREET_LIGHTING = "StreetLighting",
|
96
|
+
LIGHTING_IN_SERVICE = "LightingInService",
|
97
|
+
WATER_PUMPING = "WaterPumping",
|
98
|
+
WATER_PURIFICATION = "WaterPurification",
|
99
|
+
EE_PUBLIC_STOVES = "EePublicStoves",
|
100
|
+
EE_PUBLIC_BUILDINGS = "EePublicBuildings",
|
101
|
+
EE_COMMERCIAL_BUILDINGS = "EeCommercialBuildings",
|
102
|
+
SINGLE_CYCLE_TO_COMBINED_CYCLE = "SingleCycleToCombinedCycle",
|
103
|
+
COGENERATION = "Cogeneration",
|
104
|
+
CO_FIRING_WITH_BIOMASS = "CoFiringWithBiomass",
|
105
|
+
HIGHER_EFFICIENCY_COAL_POWER = "HigherEfficiencyCoalPower",
|
106
|
+
HIGHER_EFFICIENCY_OIL_POWER = "HigherEfficiencyOilPower",
|
107
|
+
HIGHER_EFFICIENCY_USING_WASTE_HEAT = "HigherEfficiencyUsingWasteHeat",
|
108
|
+
POWER_PLANT_REHABILITATION = "PowerPlantRehabilitation",
|
109
|
+
HIGHER_EFFICIENCY_STEAM_BOILER = "HigherEfficiencySteamBoiler",
|
110
|
+
DISTRICT_HEATING = "DistrictHeating",
|
111
|
+
REPLACEMENT_OF_DISTRICT_HEATING_BOILERS = "ReplacementOfDistrictHeatingBoilers",
|
112
|
+
CONNECTION_OF_ISOLATED_GRID = "ConnectionOfIsolatedGrid",
|
113
|
+
DISTRICT_COOLING = "DistrictCooling",
|
114
|
+
EFFICIENT_ELECTRICITY_DISTRIBUTION = "EfficientElectricityDistribution",
|
115
|
+
AFFORESTATION = "Afforestation",
|
116
|
+
MANGROVES = "Mangroves",
|
117
|
+
AGROFORESTRY = "Agroforestry",
|
118
|
+
REFORESTATION = "Reforestation",
|
119
|
+
COAL_TO_NATURAL_GAS = "CoalToNaturalGas",
|
120
|
+
COAL_TO_OIL = "CoalToOil",
|
121
|
+
LIGNITE_TO_NATURAL_GAS = "LigniteToNaturalGas",
|
122
|
+
NEW_NATURAL_GAS_PLANT = "NewNaturalGasPlant",
|
123
|
+
NEW_NATURAL_GAS_PLANT_USING_LNG = "NewNaturalGasPlantUsingLng",
|
124
|
+
OIL_TO_ELECTRICITY = "OilToElectricity",
|
125
|
+
OIL_TO_LPG = "OilToLpg",
|
126
|
+
OIL_TO_NATURAL_GAS = "OilToNaturalGas",
|
127
|
+
OIL_FIELD_FLARING_REDUCTION = "OilFieldFlaringReduction",
|
128
|
+
OIL_AND_GAS_PROCESSING_FLARING = "OilAndGasProcessingFlaring",
|
129
|
+
NATURAL_GAS_PIPELINES = "NaturalGasPipelines",
|
130
|
+
NON_HYDROCARBON_MINING = "NonHydrocarbonMining",
|
131
|
+
SPONTANEOUSLY_IGNITION_OF_COAL_PILES = "SpontaneouslyIgnitionOfCoalPiles",
|
132
|
+
CHARCOAL_PRODUCTION = "CharcoalProduction",
|
133
|
+
GEOTHERMAL_ELECTRICITY = "GeothermalElectricity",
|
134
|
+
GEOTHERMAL_HEATING = "GeothermalHeating",
|
135
|
+
HFC23 = "Hfc23",
|
136
|
+
HFC134A = "Hfc134A",
|
137
|
+
PFCS = "Pfcs",
|
138
|
+
SF6 = "Sf6",
|
139
|
+
RUN_OF_RIVER = "RunOfRiver",
|
140
|
+
EXISTING_DAM = "ExistingDam",
|
141
|
+
HIGHER_EFFICIENCY_HYDRO_POWER = "HigherEfficiencyHydroPower",
|
142
|
+
NEW_DAM = "NewDam",
|
143
|
+
LANDFILL_FLARING = "LandfillFlaring",
|
144
|
+
LANDFILL_POWER = "LandfillPower",
|
145
|
+
COMBUSTION_OF_MSW = "CombustionOfMsw",
|
146
|
+
GASIFICATION_OF_MSW = "GasificationOfMsw",
|
147
|
+
BIOGAS_FROM_MSW = "BiogasFromMsw",
|
148
|
+
LANDFILL_AERATION = "LandfillAeration",
|
149
|
+
INTEGRATED_SOLID_WASTE_MANAGEMENT = "IntegratedSolidWasteManagement",
|
150
|
+
SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS = "SwitchFromFossilFuelToPipedLandfillGas",
|
151
|
+
LANDFILL_COMPOSTING = "LandfillComposting",
|
152
|
+
MANURE = "Manure",
|
153
|
+
DOMESTIC_MANURE = "DomesticManure",
|
154
|
+
WASTE_WATER = "WasteWater",
|
155
|
+
INDUSTRIAL_SOLID_WASTE = "IndustrialSolidWaste",
|
156
|
+
PALM_OIL_WASTE = "PalmOilWaste",
|
157
|
+
AEROBIC_TREATMENT_OF_WASTE_WATER = "AerobicTreatmentOfWasteWater",
|
158
|
+
COMPOSTING = "Composting",
|
159
|
+
ADIPIC_ACID = "AdipicAcid",
|
160
|
+
NITRIC_ACID = "NitricAcid",
|
161
|
+
CAPROLACTAM = "Caprolactam",
|
162
|
+
SOLAR_PHOTOVOLTAICS_PV = "SolarPhotovoltaicsPV",
|
163
|
+
SOLAR_WATER_PUMPING_OFF_GRID = "SolarWaterPumpingOffGrid",
|
164
|
+
SOLAR_WATER_PUMPING_ON_GRID = "SolarWaterPumpingOnGrid",
|
165
|
+
SOLAR_PV_WATER_DISINFECTION = "SolarPVWaterDisinfection",
|
166
|
+
SOLAR_THERMAL_POWER = "SolarThermalPower",
|
167
|
+
SOLAR_THERMAL_HEAT = "SolarThermalHeat",
|
168
|
+
SOLAR_WATER_HEATING = "SolarWaterHeating",
|
169
|
+
SOLAR_COOKING = "SolarCooking",
|
170
|
+
BUS_RAPID_TRANSIT = "BusRapidTransit",
|
171
|
+
BUS_RAPID_TRANSIT_GREEN_HYDROGEN = "BusRapidTransitGreenHydrogen",
|
172
|
+
MOTORBIKES = "Motorbikes",
|
173
|
+
MODE_SHIFT_ROAD_TO_RAIL = "ModeShiftRoadToRail",
|
174
|
+
MORE_EFFICIENT_TRAIN_SYSTEM = "MoreEfficientTrainSystem",
|
175
|
+
MORE_EFFICIENT_VEHICLES = "MoreEfficientVehicles",
|
176
|
+
RAIL_REGENERATIVE_BRAKING = "RailRegenerativeBraking",
|
177
|
+
RAIL_GREEN_HYDROGEN = "RailGreenHydrogen",
|
178
|
+
RAIL_EFFICIENT_OPERATION = "RailEfficientOperation",
|
179
|
+
METRO_EFFICIENT_OPERATION = "MetroEfficientOperation",
|
180
|
+
CARS_GREEN_HYDROGEN = "CarsGreenHydrogen",
|
181
|
+
CARS_EFFICIENT_OPERATION = "CarsEfficientOperation",
|
182
|
+
SCRAPPING_OLD_VEHICLES = "ScrappingOldVehicles",
|
183
|
+
BIODIESEL_FOR_TRANSPORT = "BiodieselForTransport",
|
184
|
+
CABLE_CARS = "CableCars",
|
185
|
+
WIND = "Wind",
|
186
|
+
OFFSHORE_WIND = "OffshoreWind",
|
187
|
+
CO2_RECYCLING = "CO2Recycling",
|
188
|
+
CO2_REPLACEMENT = "CO2Replacement",
|
189
|
+
TIDAL = "Tidal"
|
26
190
|
}
|
27
191
|
export declare const mitigationTypeList: {
|
28
192
|
value: string;
|
29
193
|
label: string;
|
30
194
|
}[];
|
31
195
|
export declare const sectorMitigationTypesListMapped: any;
|
196
|
+
export declare const mitigationSubTypeList: {
|
197
|
+
label: string;
|
198
|
+
value: string;
|
199
|
+
}[];
|
200
|
+
export declare const mitigationSubTypesListMapped: any;
|
201
|
+
export declare const methodologyOptions: string[];
|
@@ -1,4 +1,13 @@
|
|
1
1
|
export declare enum TypeOfMitigation {
|
2
2
|
AGRICULTURE = "Agriculture",
|
3
|
-
SOLAR = "Solar"
|
3
|
+
SOLAR = "Solar",
|
4
|
+
EE_HOUSEHOLDS = "EEHouseholds"
|
5
|
+
}
|
6
|
+
export declare enum SubTypeOfMitigation {
|
7
|
+
SOIL_ENRICHMENT_BIOCHAR = "SoilEnrichmentBiochar",
|
8
|
+
RICE_CROPS = "RiceCrops",
|
9
|
+
SOLAR_PHOTOVOLTAICS_PV = "SolarPhotovoltaicsPV",
|
10
|
+
SOLAR_WATER_PUMPING_OFF_GRID = "SolarWaterPumpingOffGrid",
|
11
|
+
SOLAR_WATER_PUMPING_ON_GRID = "SolarWaterPumpingOnGrid",
|
12
|
+
STOVES_HOUSES_IN_NAMIBIA = "StovesHousesInNamibia"
|
4
13
|
}
|