@undp/carbon-library 1.0.135-ghg-inventory.9.7 → 1.0.135-ghg-inventory.9.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,16 @@
1
+ import { FC } from 'react';
2
+ export interface BarChartEstimatedActualStatsProps {
3
+ id: string;
4
+ title: string;
5
+ estimateOptions: any;
6
+ actualOptions: any;
7
+ estimatedSeries: any;
8
+ actualSeries: any;
9
+ lastUpdateEstimate: any;
10
+ lastUpdateActual: any;
11
+ loading: boolean;
12
+ toolTipText: string;
13
+ Chart: any;
14
+ width: any;
15
+ }
16
+ export declare const BarChartEstimatedActualStatComponent: FC<BarChartEstimatedActualStatsProps>;
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ export interface BarChartStatsProps {
3
+ id: string;
4
+ title: string;
5
+ options: any;
6
+ series: any;
7
+ lastUpdate: any;
8
+ loading: boolean;
9
+ toolTipText: string;
10
+ Chart: any;
11
+ width: any;
12
+ }
13
+ export declare const BarChartsStatComponent: FC<BarChartStatsProps>;
@@ -0,0 +1,12 @@
1
+ export interface GHGChartSeriesItem {
2
+ name: string;
3
+ data: any[];
4
+ type: string;
5
+ }
6
+ export interface ChartSeriesItem {
7
+ name: string;
8
+ data: any[];
9
+ }
10
+ export declare const totalEmissionOptionsSub: any;
11
+ export declare const actualVsEstimateOptionsSub: any;
12
+ export declare const emissionComparisonOptionsSub: any;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import './ghg.dashboard.scss';
3
+ export declare const GHGDashboardComponent: (props: any) => React.JSX.Element;
@@ -38,3 +38,4 @@ export * from "./Common/UserRoleIcon/userRoleIcon";
38
38
  export * from "./Common/TimelineBody/timelineBody";
39
39
  export * from "./GhgInventory/Emissions/emissions";
40
40
  export * from "./GhgInventory/Projections/projections";
41
+ export * from "./GhgInventory/Dashboard/ghg.dashboard";
@@ -10,3 +10,46 @@ export declare enum Sector {
10
10
  Agriculture = "Agriculture",
11
11
  Other = "Other"
12
12
  }
13
+ export declare enum EmissionSector {
14
+ 'energyEmissions' = "Energy",
15
+ 'industrialProcessesProductUse' = "Industrial Processes & Product Use",
16
+ 'agricultureForestryOtherLandUse' = "Agriculture, Forestry, and Other Land Use",
17
+ 'waste' = "Waste",
18
+ 'other' = "Other"
19
+ }
20
+ export declare enum EmissionGas {
21
+ 'CO2' = "CO<sub>2</sub>",
22
+ 'CH4' = "CH<sub>4</sub>",
23
+ 'N2O' = "N<sub>2</sub>O",
24
+ 'CO2eq' = "CO<sub>2</sub>-eq"
25
+ }
26
+ export declare enum EmissionSubSectors {
27
+ fuelCombustionActivities = "Fuel Combustion Activities",
28
+ fugitiveEmissionsFromFuels = "Fugitive emissions from fuels",
29
+ carbonDioxideTransportStorage = "Carbon dioxide Transport and Storage",
30
+ mineralIndustry = "Mineral Industry",
31
+ chemicalIndustry = "Chemical Industry",
32
+ metalIndustry = "Metal Industry",
33
+ nonEnergyProductsFuelsSolventUse = "Non-Energy Products from Fuels and Solvent Use",
34
+ electronicsIndustry = "Electronics Industry",
35
+ productUsesSubstOzoneDepletingSubs = "Product Uses as Substitutes for Ozone Depleting Substances",
36
+ otherProductManufactureUse = "Other Product Manufacture and Use",
37
+ otherIndustrialProcessesProductUse = "Other (Industrial Processes & Product Use)",
38
+ livestock = "Livestock",
39
+ land = "Land",
40
+ aggregateNonCo2SourcesLand = "Aggregate sources and non-CO2 emissions sources on land",
41
+ otherAgricultureForestryOtherLandUse = "Other (Agriculture, Forestry, and Other Land Use)",
42
+ solidWasteDisposal = "Solid Waste Disposal",
43
+ biologicalTreatmentSolidWaste = "Biological Treatment of Solid Waste",
44
+ incinerationOpenBurningWaste = "Incineration and Open Burning of Waste",
45
+ wastewaterTreatmentDischarge = "Wastewater Treatment and Discharge",
46
+ otherWaste = "Other (Waste)",
47
+ indirectN2oEmissions = "Indirect N2O emissions from the atmospheric deposition of nitrogen in NOx and NH3",
48
+ other = "Other"
49
+ }
50
+ export declare enum ProjectionTypes {
51
+ bau = "BAU",
52
+ conditionalNdc = "Conditional NDC",
53
+ unconditionalNdc = "Unconditional NDC",
54
+ actual = "Actual"
55
+ }
@@ -29,3 +29,10 @@ export declare enum SystemNames {
29
29
  CARBON_REGISTRY = "CARBON_REGISTRY_SYSTEM",
30
30
  CARBON_TRANSPARENCY = "CARBON_TRANSPARENCY_SYSTEM"
31
31
  }
32
+ export declare enum GhgStatCardTypes {
33
+ AGG_EMISSIONS_BY_SECTOR = "AGG_EMISSIONS_BY_SECTOR",
34
+ AGG_EMISSIONS_BY_GAS = "AGG_EMISSIONS_BY_GAS",
35
+ AGG_EMISSIONS_MITIGATION_POTENTIAL_BY_SECTOR = "AGG_EMISSIONS_MITIGATION_POTENTIAL_BY_SECTOR",
36
+ AGG_REDUCTION_PERCENT_BAU_BY_SECTOR = "AGG_REDUCTION_PERCENT_BAU_BY_SECTOR",
37
+ AGG_EMISSIONS_COMPARISON = "AGG_EMISSIONS_COMPARISON"
38
+ }
@@ -1,5 +1,7 @@
1
1
  export declare enum WidgetType {
2
2
  PIE = "Pie",
3
3
  MAP = "Map",
4
- LIST = "List"
4
+ LIST = "List",
5
+ BAR = "Bar",
6
+ BAR_ESTIMATED_AND_ACTUAL = "Bar Estimated And Actual"
5
7
  }
package/dist/index.d.ts CHANGED
@@ -625,6 +625,49 @@ declare enum Sector {
625
625
  Agriculture = "Agriculture",
626
626
  Other = "Other"
627
627
  }
628
+ declare enum EmissionSector {
629
+ 'energyEmissions' = "Energy",
630
+ 'industrialProcessesProductUse' = "Industrial Processes & Product Use",
631
+ 'agricultureForestryOtherLandUse' = "Agriculture, Forestry, and Other Land Use",
632
+ 'waste' = "Waste",
633
+ 'other' = "Other"
634
+ }
635
+ declare enum EmissionGas {
636
+ 'CO2' = "CO<sub>2</sub>",
637
+ 'CH4' = "CH<sub>4</sub>",
638
+ 'N2O' = "N<sub>2</sub>O",
639
+ 'CO2eq' = "CO<sub>2</sub>-eq"
640
+ }
641
+ declare enum EmissionSubSectors {
642
+ fuelCombustionActivities = "Fuel Combustion Activities",
643
+ fugitiveEmissionsFromFuels = "Fugitive emissions from fuels",
644
+ carbonDioxideTransportStorage = "Carbon dioxide Transport and Storage",
645
+ mineralIndustry = "Mineral Industry",
646
+ chemicalIndustry = "Chemical Industry",
647
+ metalIndustry = "Metal Industry",
648
+ nonEnergyProductsFuelsSolventUse = "Non-Energy Products from Fuels and Solvent Use",
649
+ electronicsIndustry = "Electronics Industry",
650
+ productUsesSubstOzoneDepletingSubs = "Product Uses as Substitutes for Ozone Depleting Substances",
651
+ otherProductManufactureUse = "Other Product Manufacture and Use",
652
+ otherIndustrialProcessesProductUse = "Other (Industrial Processes & Product Use)",
653
+ livestock = "Livestock",
654
+ land = "Land",
655
+ aggregateNonCo2SourcesLand = "Aggregate sources and non-CO2 emissions sources on land",
656
+ otherAgricultureForestryOtherLandUse = "Other (Agriculture, Forestry, and Other Land Use)",
657
+ solidWasteDisposal = "Solid Waste Disposal",
658
+ biologicalTreatmentSolidWaste = "Biological Treatment of Solid Waste",
659
+ incinerationOpenBurningWaste = "Incineration and Open Burning of Waste",
660
+ wastewaterTreatmentDischarge = "Wastewater Treatment and Discharge",
661
+ otherWaste = "Other (Waste)",
662
+ indirectN2oEmissions = "Indirect N2O emissions from the atmospheric deposition of nitrogen in NOx and NH3",
663
+ other = "Other"
664
+ }
665
+ declare enum ProjectionTypes {
666
+ bau = "BAU",
667
+ conditionalNdc = "Conditional NDC",
668
+ unconditionalNdc = "Unconditional NDC",
669
+ actual = "Actual"
670
+ }
628
671
 
629
672
  declare enum RadioButtonStatus {
630
673
  YES = "YES",
@@ -694,7 +737,9 @@ declare enum CompanyState {
694
737
  declare enum WidgetType {
695
738
  PIE = "Pie",
696
739
  MAP = "Map",
697
- LIST = "List"
740
+ LIST = "List",
741
+ BAR = "Bar",
742
+ BAR_ESTIMATED_AND_ACTUAL = "Bar Estimated And Actual"
698
743
  }
699
744
 
700
745
  declare enum StatsCardsTypes {
@@ -728,6 +773,13 @@ declare enum SystemNames {
728
773
  CARBON_REGISTRY = "CARBON_REGISTRY_SYSTEM",
729
774
  CARBON_TRANSPARENCY = "CARBON_TRANSPARENCY_SYSTEM"
730
775
  }
776
+ declare enum GhgStatCardTypes {
777
+ AGG_EMISSIONS_BY_SECTOR = "AGG_EMISSIONS_BY_SECTOR",
778
+ AGG_EMISSIONS_BY_GAS = "AGG_EMISSIONS_BY_GAS",
779
+ AGG_EMISSIONS_MITIGATION_POTENTIAL_BY_SECTOR = "AGG_EMISSIONS_MITIGATION_POTENTIAL_BY_SECTOR",
780
+ AGG_REDUCTION_PERCENT_BAU_BY_SECTOR = "AGG_REDUCTION_PERCENT_BAU_BY_SECTOR",
781
+ AGG_EMISSIONS_COMPARISON = "AGG_EMISSIONS_COMPARISON"
782
+ }
731
783
 
732
784
  declare enum Action {
733
785
  Manage = "manage",
@@ -1013,6 +1065,8 @@ declare const GHGEmissionsComponent: (props: any) => React.JSX.Element;
1013
1065
 
1014
1066
  declare const GHGProjectionsComponent: (props: any) => React.JSX.Element;
1015
1067
 
1068
+ declare const GHGDashboardComponent: (props: any) => React.JSX.Element;
1069
+
1016
1070
  declare const AdminBGColor = "rgba(255, 166, 166, 0.42)";
1017
1071
  declare const AdminColor = "#D12800";
1018
1072
  declare const RootBGColor = "rgba(255, 0, 229, 0.15)";
@@ -1033,4 +1087,4 @@ declare const TooltipColor = "#6ACDFF";
1033
1087
  declare const InvestmentBGColor = "rgba(151, 110, 215, 0.3)";
1034
1088
  declare const InvestmentColor = "#9155FD";
1035
1089
 
1036
- 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, Emission, EnablementProperties, EnergyGenerationUnits, FormElementType, GHGEmissionsComponent, GHGProjectionsComponent, GovBGColor, GovColor, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBGColor, InvestmentBody, InvestmentBodyProps, InvestmentColor, InvestmentCreationComponent, 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, 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, Projection, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, RootBGColor, RootColor, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, StatsCardsTypes, 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 };
1090
+ 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, Emission, EmissionGas, EmissionSector, EmissionSubSectors, EnablementProperties, EnergyGenerationUnits, FormElementType, GHGDashboardComponent, GHGEmissionsComponent, GHGProjectionsComponent, GhgStatCardTypes, GovBGColor, GovColor, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBGColor, InvestmentBody, InvestmentBodyProps, InvestmentColor, InvestmentCreationComponent, 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, 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, Projection, ProjectionTypes, RadioButtonStatus, RadioButtonStatus2, RegistryDashboardComponent, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, RootBGColor, RootColor, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, StatsCardsTypes, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.135-ghg-inventory.9.7",
3
+ "version": "1.0.135-ghg-inventory.9.8",
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": {