@undp/carbon-library 1.0.69 → 1.0.71
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +454 -59
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +2 -2
- package/dist/cjs/types/Components/Common/InfoView/info.view.d.ts +2 -2
- package/dist/cjs/types/Components/NdcActions/NdcView/ndcActionViewComponent.d.ts +3 -0
- package/dist/cjs/types/Components/index.d.ts +1 -0
- package/dist/cjs/types/Definitions/Definitions/ndcAction.definitions.d.ts +50 -0
- package/dist/cjs/types/Definitions/Enums/document.status.d.ts +5 -0
- package/dist/cjs/types/Definitions/Enums/document.type.d.ts +6 -0
- package/dist/cjs/types/Definitions/index.d.ts +2 -0
- package/dist/esm/index.js +455 -61
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +2 -2
- package/dist/esm/types/Components/Common/InfoView/info.view.d.ts +2 -2
- package/dist/esm/types/Components/NdcActions/NdcView/ndcActionViewComponent.d.ts +3 -0
- package/dist/esm/types/Components/index.d.ts +1 -0
- package/dist/esm/types/Definitions/Definitions/ndcAction.definitions.d.ts +50 -0
- package/dist/esm/types/Definitions/Enums/document.status.d.ts +5 -0
- package/dist/esm/types/Definitions/Enums/document.type.d.ts +6 -0
- package/dist/esm/types/Definitions/index.d.ts +2 -0
- package/dist/index.d.ts +16 -1
- package/package.json +1 -1
@@ -8,8 +8,8 @@ export interface CoBenefitProps {
|
|
8
8
|
viewOnly?: boolean;
|
9
9
|
coBenifitsViewDetails?: any;
|
10
10
|
loading?: any;
|
11
|
-
sdgGoalImages
|
12
|
-
t
|
11
|
+
sdgGoalImages?: any;
|
12
|
+
t?: any;
|
13
13
|
}
|
14
14
|
declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
|
15
15
|
export default CoBenifitsComponent;
|
@@ -11,6 +11,7 @@ export * from "./Investment/AddNewInvestment/investmentCreationComponent";
|
|
11
11
|
export * from "./Investment/InvestmentManagement/investmentManagementComponent";
|
12
12
|
export * from "./NdcActions/NdcActionManagement/ndcActionManagementComponent";
|
13
13
|
export * from "./NdcActions/AddNdcAction/addNdcActionComponent";
|
14
|
+
export * from "./NdcActions/NdcView/ndcActionViewComponent";
|
14
15
|
export * from "./Common/Loading/loading";
|
15
16
|
export * from "./Common/LegendItem/legendItem";
|
16
17
|
export * from "./Common/Maps/mapComponent";
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import { BuildingType } from "@undp/carbon-credit-calculator";
|
2
|
+
import { NdcActionTypes } from "../Enums/ndcActionTypes.enum";
|
3
|
+
import { MitigationTypes } from "../Enums/mitigation.types.enum";
|
4
|
+
import { NdcActionStatus } from "../Enums/ndcAction.status.enum";
|
5
|
+
export interface AgricultureProperties {
|
6
|
+
landArea: number;
|
7
|
+
landAreaUnit: string;
|
8
|
+
}
|
9
|
+
export interface SolarProperties {
|
10
|
+
energyGeneration: number;
|
11
|
+
energyGenerationUnit: string;
|
12
|
+
consumerGroup: BuildingType;
|
13
|
+
}
|
14
|
+
export interface AdaptationProperties {
|
15
|
+
implementingAgency: string;
|
16
|
+
nationalPlanObjectives: string;
|
17
|
+
nationalPlanCoverage: string;
|
18
|
+
ghgEmissionsReduced: any;
|
19
|
+
ghgEmissionsAvoided: any;
|
20
|
+
}
|
21
|
+
export interface CoBenefitsProperties {
|
22
|
+
}
|
23
|
+
export interface EnablementProperties {
|
24
|
+
title: string;
|
25
|
+
type?: any[];
|
26
|
+
report?: string;
|
27
|
+
}
|
28
|
+
export interface NdcFinancing {
|
29
|
+
userEstimatedCredits: number;
|
30
|
+
systemEstimatedCredits: number;
|
31
|
+
}
|
32
|
+
export interface NdcAction {
|
33
|
+
programmeId: string;
|
34
|
+
programmeName: string;
|
35
|
+
action: NdcActionTypes;
|
36
|
+
methodology: string;
|
37
|
+
typeOfMitigation: MitigationTypes;
|
38
|
+
agricultureProperties?: AgricultureProperties;
|
39
|
+
solarProperties?: SolarProperties;
|
40
|
+
adaptationProperties: AdaptationProperties;
|
41
|
+
ndcFinancing?: NdcFinancing;
|
42
|
+
monitoringReport?: string;
|
43
|
+
coBenefitsProperties?: CoBenefitsProperties;
|
44
|
+
enablementProperties?: EnablementProperties;
|
45
|
+
constantVersion: string;
|
46
|
+
id?: string;
|
47
|
+
externalId?: string;
|
48
|
+
status: NdcActionStatus;
|
49
|
+
sector: string;
|
50
|
+
}
|
@@ -23,6 +23,8 @@ export * from "./Enums/sector.enum";
|
|
23
23
|
export * from "./Enums/commonEnums";
|
24
24
|
export * from "./Enums/sdgGoals.enum";
|
25
25
|
export * from "./Enums/carbonSystemType.enum";
|
26
|
+
export * from "./Enums/document.type";
|
27
|
+
export * from "./Enums/document.status";
|
26
28
|
export * from "./Definitions/userLogin.definitions";
|
27
29
|
export * from "./Definitions/userInformationContext.definitions";
|
28
30
|
export * from "./Definitions/userForgotPassword.definitions";
|