@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
|
}
|
package/dist/index.d.ts
CHANGED
@@ -213,7 +213,16 @@ declare enum ProgrammeStageLegend {
|
|
213
213
|
|
214
214
|
declare enum TypeOfMitigation {
|
215
215
|
AGRICULTURE = "Agriculture",
|
216
|
-
SOLAR = "Solar"
|
216
|
+
SOLAR = "Solar",
|
217
|
+
EE_HOUSEHOLDS = "EEHouseholds"
|
218
|
+
}
|
219
|
+
declare enum SubTypeOfMitigation {
|
220
|
+
SOIL_ENRICHMENT_BIOCHAR = "SoilEnrichmentBiochar",
|
221
|
+
RICE_CROPS = "RiceCrops",
|
222
|
+
SOLAR_PHOTOVOLTAICS_PV = "SolarPhotovoltaicsPV",
|
223
|
+
SOLAR_WATER_PUMPING_OFF_GRID = "SolarWaterPumpingOffGrid",
|
224
|
+
SOLAR_WATER_PUMPING_ON_GRID = "SolarWaterPumpingOnGrid",
|
225
|
+
STOVES_HOUSES_IN_NAMIBIA = "StovesHousesInNamibia"
|
217
226
|
}
|
218
227
|
|
219
228
|
declare enum CarbonSystemType {
|
@@ -336,7 +345,9 @@ interface ProgrammeIssueFormProps {
|
|
336
345
|
subText: string;
|
337
346
|
enableIssue: boolean;
|
338
347
|
translator: any;
|
348
|
+
ndcActions?: any[];
|
339
349
|
}
|
350
|
+
declare const getValidNdcActions: (programme: any) => any[];
|
340
351
|
declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
|
341
352
|
|
342
353
|
interface ProgrammeRetireFormProps {
|
@@ -476,13 +487,183 @@ declare enum MitigationTypes {
|
|
476
487
|
N20 = "N20",
|
477
488
|
SOLAR = "Solar",
|
478
489
|
TRANSPORT = "Transport",
|
479
|
-
WIND = "Wind"
|
490
|
+
WIND = "Wind",
|
491
|
+
CO2_USAGE = "CO2Usage",
|
492
|
+
TIDAL = "Tidal"
|
493
|
+
}
|
494
|
+
declare enum MitigationSubTypes {
|
495
|
+
IRRIGATION = "Irrigation",
|
496
|
+
ENERGY_EFFICIENCY = "EnergyEfficiency",
|
497
|
+
ALTERNATIVE_FERTILISER = "AlternativeFertilisers",
|
498
|
+
NO_TILLAGE = "NoTillage",
|
499
|
+
SOIL_ENRICHMENT_BIOCHAR = "SoilEnrichmentBiochar",
|
500
|
+
RICE_CROPS = "RiceCrops",
|
501
|
+
BAGASSE_POWER = "BagassePower",
|
502
|
+
PALM_OIL_SOLID_WASTE = "Palm oil solid waste",
|
503
|
+
AGRICULTURAL_RESIDUES_OTHER_KINDS = "AgriculturalResiduesOtherKinds",
|
504
|
+
AGRICULTURAL_RESIDUES_RICE_HUSK = "AgriculturalResiduesRiceHusk",
|
505
|
+
AGRICULTURAL_RESIDUES_MUSTARD_CROP = "AgriculturalResiduesMustardCrop",
|
506
|
+
AGRICULTURAL_RESIDUES_POULTRY_LITTER = "AgriculturalResiduesPoultryLitter",
|
507
|
+
BLACK_LIQUOR = "BlackLiquor",
|
508
|
+
FOREST_RESIDUES_SAWMILL_WASTE = "ForestResiduesSawmillWaste",
|
509
|
+
FOREST_RESIDUES_OTHER = "ForestResiduesOther",
|
510
|
+
FOREST_BIOMASS = "ForestBiomass",
|
511
|
+
INDUSTRIAL_WASTE = "IndustrialWaste",
|
512
|
+
GASIFICATION_OF_BIOMASS = "GasificationOfBiomass",
|
513
|
+
SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_BIOGAS = "SwitchFromFossilFuelToPipedBiogas",
|
514
|
+
BIOMASS_BRIQUETTES_OR_PELLETS = "BiomassBriquettesOrPellets",
|
515
|
+
BIODIESEL = "Biodiesel",
|
516
|
+
BIODIESEL_FROM_WASTE_OIL = "BiodieselFromWasteOil",
|
517
|
+
ETHANOL = "Ethanol",
|
518
|
+
CLINKER_REPLACEMENT = "ClinkerReplacement",
|
519
|
+
COAL_MINE_METHANE = "CoalMineMethane",
|
520
|
+
COAL_BED_METHANE = "CoalBedMethane",
|
521
|
+
CMM_VENTILATION_AIR_METHANE = "CMMVentilationAirMethane",
|
522
|
+
VENTILATION_AIR_METHANE = "VentilationAirMethane",
|
523
|
+
LIGHTING = "Lighting",
|
524
|
+
SOLAR_LAMPS = "SolarLamps",
|
525
|
+
STOVES = "Stoves",
|
526
|
+
STOVES_SCHOOL_IN_GHANA = "StovesSchoolInGhana",
|
527
|
+
STOVES_HOUSES_IN_NAMIBIA = "StovesHousesInNamibia",
|
528
|
+
LIGHTING_INSULATION_SOLAR = "LightingInsulationSolar",
|
529
|
+
APPLIANCES = "Appliances",
|
530
|
+
CHEMICALS = "Chemicals",
|
531
|
+
PETROCHEMICALS = "Petrochemicals",
|
532
|
+
PAPER = "Paper",
|
533
|
+
CEMENT = "Cement",
|
534
|
+
IRON_STEEL = "IronSteel",
|
535
|
+
MACHINERY = "Machinery",
|
536
|
+
TEXTILES = "Textiles",
|
537
|
+
ELECTRONICS = "Electronics",
|
538
|
+
FOOD = "Food",
|
539
|
+
BUILDING_MATERIALS = "BuildingMaterials",
|
540
|
+
GLASS = "Glass",
|
541
|
+
NON_FERROUS_METALS = "NonFerrousMetals",
|
542
|
+
COKE_OVEN = "CokeOven",
|
543
|
+
Mining = "Mining",
|
544
|
+
CONSTRUCTION = "Construction",
|
545
|
+
METAL_PRODUCTS = "MetalProducts",
|
546
|
+
WOOD = "Wood",
|
547
|
+
RECYCLING = "Recycling",
|
548
|
+
CHEMICALS_HEAT = "ChemicalsHeat",
|
549
|
+
PETROCHEMICALS_HEAT = "PetrochemicalsHeat",
|
550
|
+
CARBON_BLACK_GAS = "CarbonBlackGas",
|
551
|
+
CEMENT_HEAT = "CementHeat",
|
552
|
+
IRON_STEEL_HEAT = "IronSteelHeat",
|
553
|
+
BUILDING_MATERIALS_HEAT = "BuildingMaterialsHeat",
|
554
|
+
GLASS_HEAT = "GlassHeat",
|
555
|
+
NON_FERROUS_METALS_HEAT = "NonFerrousMetalsHeat",
|
556
|
+
COKE_OVEN_GAS = "CokeOvenGas",
|
557
|
+
HVAC_LIGHTING = "HvacLighting",
|
558
|
+
AIR_CONDITIONING = "AirConditioning",
|
559
|
+
EE_NEW_BUILDINGS = "EeNewBuildings",
|
560
|
+
STREET_LIGHTING = "StreetLighting",
|
561
|
+
LIGHTING_IN_SERVICE = "LightingInService",
|
562
|
+
WATER_PUMPING = "WaterPumping",
|
563
|
+
WATER_PURIFICATION = "WaterPurification",
|
564
|
+
EE_PUBLIC_STOVES = "EePublicStoves",
|
565
|
+
EE_PUBLIC_BUILDINGS = "EePublicBuildings",
|
566
|
+
EE_COMMERCIAL_BUILDINGS = "EeCommercialBuildings",
|
567
|
+
SINGLE_CYCLE_TO_COMBINED_CYCLE = "SingleCycleToCombinedCycle",
|
568
|
+
COGENERATION = "Cogeneration",
|
569
|
+
CO_FIRING_WITH_BIOMASS = "CoFiringWithBiomass",
|
570
|
+
HIGHER_EFFICIENCY_COAL_POWER = "HigherEfficiencyCoalPower",
|
571
|
+
HIGHER_EFFICIENCY_OIL_POWER = "HigherEfficiencyOilPower",
|
572
|
+
HIGHER_EFFICIENCY_USING_WASTE_HEAT = "HigherEfficiencyUsingWasteHeat",
|
573
|
+
POWER_PLANT_REHABILITATION = "PowerPlantRehabilitation",
|
574
|
+
HIGHER_EFFICIENCY_STEAM_BOILER = "HigherEfficiencySteamBoiler",
|
575
|
+
DISTRICT_HEATING = "DistrictHeating",
|
576
|
+
REPLACEMENT_OF_DISTRICT_HEATING_BOILERS = "ReplacementOfDistrictHeatingBoilers",
|
577
|
+
CONNECTION_OF_ISOLATED_GRID = "ConnectionOfIsolatedGrid",
|
578
|
+
DISTRICT_COOLING = "DistrictCooling",
|
579
|
+
EFFICIENT_ELECTRICITY_DISTRIBUTION = "EfficientElectricityDistribution",
|
580
|
+
AFFORESTATION = "Afforestation",
|
581
|
+
MANGROVES = "Mangroves",
|
582
|
+
AGROFORESTRY = "Agroforestry",
|
583
|
+
REFORESTATION = "Reforestation",
|
584
|
+
COAL_TO_NATURAL_GAS = "CoalToNaturalGas",
|
585
|
+
COAL_TO_OIL = "CoalToOil",
|
586
|
+
LIGNITE_TO_NATURAL_GAS = "LigniteToNaturalGas",
|
587
|
+
NEW_NATURAL_GAS_PLANT = "NewNaturalGasPlant",
|
588
|
+
NEW_NATURAL_GAS_PLANT_USING_LNG = "NewNaturalGasPlantUsingLng",
|
589
|
+
OIL_TO_ELECTRICITY = "OilToElectricity",
|
590
|
+
OIL_TO_LPG = "OilToLpg",
|
591
|
+
OIL_TO_NATURAL_GAS = "OilToNaturalGas",
|
592
|
+
OIL_FIELD_FLARING_REDUCTION = "OilFieldFlaringReduction",
|
593
|
+
OIL_AND_GAS_PROCESSING_FLARING = "OilAndGasProcessingFlaring",
|
594
|
+
NATURAL_GAS_PIPELINES = "NaturalGasPipelines",
|
595
|
+
NON_HYDROCARBON_MINING = "NonHydrocarbonMining",
|
596
|
+
SPONTANEOUSLY_IGNITION_OF_COAL_PILES = "SpontaneouslyIgnitionOfCoalPiles",
|
597
|
+
CHARCOAL_PRODUCTION = "CharcoalProduction",
|
598
|
+
GEOTHERMAL_ELECTRICITY = "GeothermalElectricity",
|
599
|
+
GEOTHERMAL_HEATING = "GeothermalHeating",
|
600
|
+
HFC23 = "Hfc23",
|
601
|
+
HFC134A = "Hfc134A",
|
602
|
+
PFCS = "Pfcs",
|
603
|
+
SF6 = "Sf6",
|
604
|
+
RUN_OF_RIVER = "RunOfRiver",
|
605
|
+
EXISTING_DAM = "ExistingDam",
|
606
|
+
HIGHER_EFFICIENCY_HYDRO_POWER = "HigherEfficiencyHydroPower",
|
607
|
+
NEW_DAM = "NewDam",
|
608
|
+
LANDFILL_FLARING = "LandfillFlaring",
|
609
|
+
LANDFILL_POWER = "LandfillPower",
|
610
|
+
COMBUSTION_OF_MSW = "CombustionOfMsw",
|
611
|
+
GASIFICATION_OF_MSW = "GasificationOfMsw",
|
612
|
+
BIOGAS_FROM_MSW = "BiogasFromMsw",
|
613
|
+
LANDFILL_AERATION = "LandfillAeration",
|
614
|
+
INTEGRATED_SOLID_WASTE_MANAGEMENT = "IntegratedSolidWasteManagement",
|
615
|
+
SWITCH_FROM_FOSSIL_FUEL_TO_PIPED_LANDFILL_GAS = "SwitchFromFossilFuelToPipedLandfillGas",
|
616
|
+
LANDFILL_COMPOSTING = "LandfillComposting",
|
617
|
+
MANURE = "Manure",
|
618
|
+
DOMESTIC_MANURE = "DomesticManure",
|
619
|
+
WASTE_WATER = "WasteWater",
|
620
|
+
INDUSTRIAL_SOLID_WASTE = "IndustrialSolidWaste",
|
621
|
+
PALM_OIL_WASTE = "PalmOilWaste",
|
622
|
+
AEROBIC_TREATMENT_OF_WASTE_WATER = "AerobicTreatmentOfWasteWater",
|
623
|
+
COMPOSTING = "Composting",
|
624
|
+
ADIPIC_ACID = "AdipicAcid",
|
625
|
+
NITRIC_ACID = "NitricAcid",
|
626
|
+
CAPROLACTAM = "Caprolactam",
|
627
|
+
SOLAR_PHOTOVOLTAICS_PV = "SolarPhotovoltaicsPV",
|
628
|
+
SOLAR_WATER_PUMPING_OFF_GRID = "SolarWaterPumpingOffGrid",
|
629
|
+
SOLAR_WATER_PUMPING_ON_GRID = "SolarWaterPumpingOnGrid",
|
630
|
+
SOLAR_PV_WATER_DISINFECTION = "SolarPVWaterDisinfection",
|
631
|
+
SOLAR_THERMAL_POWER = "SolarThermalPower",
|
632
|
+
SOLAR_THERMAL_HEAT = "SolarThermalHeat",
|
633
|
+
SOLAR_WATER_HEATING = "SolarWaterHeating",
|
634
|
+
SOLAR_COOKING = "SolarCooking",
|
635
|
+
BUS_RAPID_TRANSIT = "BusRapidTransit",
|
636
|
+
BUS_RAPID_TRANSIT_GREEN_HYDROGEN = "BusRapidTransitGreenHydrogen",
|
637
|
+
MOTORBIKES = "Motorbikes",
|
638
|
+
MODE_SHIFT_ROAD_TO_RAIL = "ModeShiftRoadToRail",
|
639
|
+
MORE_EFFICIENT_TRAIN_SYSTEM = "MoreEfficientTrainSystem",
|
640
|
+
MORE_EFFICIENT_VEHICLES = "MoreEfficientVehicles",
|
641
|
+
RAIL_REGENERATIVE_BRAKING = "RailRegenerativeBraking",
|
642
|
+
RAIL_GREEN_HYDROGEN = "RailGreenHydrogen",
|
643
|
+
RAIL_EFFICIENT_OPERATION = "RailEfficientOperation",
|
644
|
+
METRO_EFFICIENT_OPERATION = "MetroEfficientOperation",
|
645
|
+
CARS_GREEN_HYDROGEN = "CarsGreenHydrogen",
|
646
|
+
CARS_EFFICIENT_OPERATION = "CarsEfficientOperation",
|
647
|
+
SCRAPPING_OLD_VEHICLES = "ScrappingOldVehicles",
|
648
|
+
BIODIESEL_FOR_TRANSPORT = "BiodieselForTransport",
|
649
|
+
CABLE_CARS = "CableCars",
|
650
|
+
WIND = "Wind",
|
651
|
+
OFFSHORE_WIND = "OffshoreWind",
|
652
|
+
CO2_RECYCLING = "CO2Recycling",
|
653
|
+
CO2_REPLACEMENT = "CO2Replacement",
|
654
|
+
TIDAL = "Tidal"
|
480
655
|
}
|
481
656
|
declare const mitigationTypeList: {
|
482
657
|
value: string;
|
483
658
|
label: string;
|
484
659
|
}[];
|
485
660
|
declare const sectorMitigationTypesListMapped: any;
|
661
|
+
declare const mitigationSubTypeList: {
|
662
|
+
label: string;
|
663
|
+
value: string;
|
664
|
+
}[];
|
665
|
+
declare const mitigationSubTypesListMapped: any;
|
666
|
+
declare const methodologyOptions: string[];
|
486
667
|
|
487
668
|
declare enum ESGType {
|
488
669
|
AAA = "AAA",
|
@@ -855,6 +1036,18 @@ interface AdaptationProperties {
|
|
855
1036
|
ghgEmissionsReduced: any;
|
856
1037
|
ghgEmissionsAvoided: any;
|
857
1038
|
}
|
1039
|
+
interface CreditCalculationProperties {
|
1040
|
+
typeOfMitigation?: MitigationTypes;
|
1041
|
+
subTypeOfMitigation?: MitigationSubTypes;
|
1042
|
+
energyGeneration?: number;
|
1043
|
+
energyGenerationUnit?: string;
|
1044
|
+
consumerGroup?: BuildingType;
|
1045
|
+
landArea?: number;
|
1046
|
+
landAreaUnit?: string;
|
1047
|
+
numberOfDays?: number;
|
1048
|
+
numberOfPeopleInHousehold?: number;
|
1049
|
+
weight?: number;
|
1050
|
+
}
|
858
1051
|
interface CoBenefitsProperties {
|
859
1052
|
}
|
860
1053
|
interface EnablementProperties {
|
@@ -872,8 +1065,10 @@ interface NdcAction {
|
|
872
1065
|
action: NdcActionTypes;
|
873
1066
|
methodology: string;
|
874
1067
|
typeOfMitigation: MitigationTypes;
|
1068
|
+
subTypeOfMitigation: MitigationSubTypes;
|
875
1069
|
agricultureProperties?: AgricultureProperties;
|
876
1070
|
solarProperties?: SolarProperties;
|
1071
|
+
creditCalculationProperties?: CreditCalculationProperties;
|
877
1072
|
adaptationProperties: AdaptationProperties;
|
878
1073
|
ndcFinancing?: NdcFinancing;
|
879
1074
|
monitoringReport?: string;
|
@@ -959,6 +1154,8 @@ interface NdcActionBodyProps {
|
|
959
1154
|
useConnection: any;
|
960
1155
|
translator: any;
|
961
1156
|
useUserContext: any;
|
1157
|
+
onFinish?: any;
|
1158
|
+
programme?: any;
|
962
1159
|
}
|
963
1160
|
declare const NdcActionBody: FC<NdcActionBodyProps>;
|
964
1161
|
|
@@ -996,6 +1193,7 @@ interface TimelineBodyProps {
|
|
996
1193
|
via?: string | null;
|
997
1194
|
t: any;
|
998
1195
|
}
|
1196
|
+
declare const addNdcDesc: (props: any) => string;
|
999
1197
|
declare const TimelineBody: FC<TimelineBodyProps>;
|
1000
1198
|
|
1001
1199
|
declare const AdminBGColor = "rgba(255, 166, 166, 0.42)";
|
@@ -1018,4 +1216,4 @@ declare const TooltipColor = "#6ACDFF";
|
|
1018
1216
|
declare const InvestmentBGColor = "rgba(151, 110, 215, 0.3)";
|
1019
1217
|
declare const InvestmentColor = "#9155FD";
|
1020
1218
|
|
1021
|
-
export { Action, AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, AgricultureProperties, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBGColor, InvestmentBody, InvestmentBodyProps, InvestmentColor, InvestmentCreationComponent, InvestmentCreationType, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, ManagerBGColor, ManagerColor, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MinBGColor, MinColor, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, NdcDetailsComponent, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, RootBGColor, RootColor, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, StatsCardsTypes, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, TimelineBodyProps, Titles, TooltipColor, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, 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, userForgotPasswordProps };
|
1219
|
+
export { Action, AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AdminBGColor, AdminColor, AgricultureProperties, BaseEntity, CarbonSystemType, CertBGColor, CertColor, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditCalculationProperties, CreditTransferComponent, CreditTransferStage, DevBGColor, DevColor, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, GovBGColor, GovColor, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBGColor, InvestmentBody, InvestmentBodyProps, InvestmentColor, InvestmentCreationComponent, InvestmentCreationType, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, ManagerBGColor, ManagerColor, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MinBGColor, MinColor, MitigationSubTypes, MitigationTypes, MrvDashboardComponent, MrvStatsCardsTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcActionViewComponent, NdcDetailsComponent, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCertify, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageLegend, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, RootBGColor, RootColor, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, StatsCardsTypes, SubTypeOfMitigation, SupportCreationComponent, SupportManagementComponent, SystemNames, TimelineBody, TimelineBodyProps, Titles, TooltipColor, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, ViewBGColor, ViewColor, WidgetType, addCommSep, addCommSepRound, addNdcDesc, addRoundNumber, addSpaces, consumerGroupList, creditUnit, dateFormat, dateTimeFormat, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, getValidNdcActions, isBase64, landAreaUnitList, methodologyOptions, mitigationSubTypeList, mitigationSubTypesListMapped, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, userForgotPasswordProps };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@undp/carbon-library",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.17-CARBON-363.0",
|
4
4
|
"description": "Shared Library of tools for Carbon Credits applications ecosystem for ExO and and HQ/GEF",
|
5
5
|
"type": "module",
|
6
6
|
"scripts": {
|
@@ -15,7 +15,7 @@
|
|
15
15
|
"@rollup/plugin-commonjs": "^25.0.0",
|
16
16
|
"@rollup/plugin-node-resolve": "^15.0.2",
|
17
17
|
"@rollup/plugin-typescript": "^11.1.1",
|
18
|
-
"@undp/carbon-credit-calculator": "^1.
|
18
|
+
"@undp/carbon-credit-calculator": "^1.1.1",
|
19
19
|
"node-sass": "^7.0.3",
|
20
20
|
"postcss": "^8.4.23",
|
21
21
|
"react-circle-flags": "^0.0.19",
|