@undp/carbon-library 1.0.70 → 1.0.72

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,8 +8,8 @@ export interface CoBenefitProps {
8
8
  viewOnly?: boolean;
9
9
  coBenifitsViewDetails?: any;
10
10
  loading?: any;
11
- sdgGoalImages: any;
12
- t: any;
11
+ sdgGoalImages?: any;
12
+ t?: any;
13
13
  }
14
14
  declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
15
15
  export default CoBenifitsComponent;
@@ -2,8 +2,8 @@ import { FC } from 'react';
2
2
  import './info.view.scss';
3
3
  export interface InfoViewProps {
4
4
  data: any;
5
- title: any;
6
- icon: any;
5
+ title?: any;
6
+ icon?: any;
7
7
  hiddenColumns?: any;
8
8
  }
9
9
  declare const InfoView: FC<InfoViewProps>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import "./ndcActionViewComponent.scss";
3
+ export declare const NdcActionViewComponent: (props: any) => React.JSX.Element;
@@ -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
+ }
@@ -0,0 +1,5 @@
1
+ export declare enum DocumentStatus {
2
+ PENDING = "Pending",
3
+ ACCEPTED = "Accepted",
4
+ REJECTED = "Rejected"
5
+ }
@@ -0,0 +1,6 @@
1
+ export declare enum DocType {
2
+ DESIGN_DOCUMENT = "0",
3
+ METHODOLOGY_DOCUMENT = "1",
4
+ MONITORING_REPORT = "2",
5
+ VERIFICATION_REPORT = "3"
6
+ }
@@ -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";