@undp/carbon-library 1.0.135-CARBON-343.14 → 1.0.135-ghg-inventory.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. package/dist/cjs/index.js +3022 -365
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/GhgInventory/Emissions/emissions.d.ts +4 -0
  4. package/dist/cjs/types/Components/GhgInventory/Projections/projections.d.ts +4 -0
  5. package/dist/cjs/types/Components/GhgInventory/emission.mappings.d.ts +12 -0
  6. package/dist/cjs/types/Components/GhgInventory/emission.types.d.ts +1 -0
  7. package/dist/cjs/types/Components/GhgInventory/projection.types.d.ts +1 -0
  8. package/dist/cjs/types/Components/index.d.ts +2 -1
  9. package/dist/cjs/types/Definitions/Entities/emission.d.ts +9 -0
  10. package/dist/cjs/types/Definitions/Entities/projection.d.ts +9 -0
  11. package/dist/cjs/types/Definitions/Enums/ghg.record.state.enum.d.ts +4 -0
  12. package/dist/cjs/types/Definitions/index.d.ts +2 -0
  13. package/dist/esm/index.js +3021 -368
  14. package/dist/esm/index.js.map +1 -1
  15. package/dist/esm/types/Components/GhgInventory/Emissions/emissions.d.ts +4 -0
  16. package/dist/esm/types/Components/GhgInventory/Projections/projections.d.ts +4 -0
  17. package/dist/esm/types/Components/GhgInventory/emission.mappings.d.ts +12 -0
  18. package/dist/esm/types/Components/GhgInventory/emission.types.d.ts +1 -0
  19. package/dist/esm/types/Components/GhgInventory/projection.types.d.ts +1 -0
  20. package/dist/esm/types/Components/index.d.ts +2 -1
  21. package/dist/esm/types/Definitions/Entities/emission.d.ts +9 -0
  22. package/dist/esm/types/Definitions/Entities/projection.d.ts +9 -0
  23. package/dist/esm/types/Definitions/Enums/ghg.record.state.enum.d.ts +4 -0
  24. package/dist/esm/types/Definitions/index.d.ts +2 -0
  25. package/dist/index.d.ts +26 -3
  26. package/package.json +1 -1
  27. package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +0 -21
  28. package/dist/cjs/types/Components/Ndc/ndcDetailsComponent.d.ts +0 -3
  29. package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +0 -21
  30. package/dist/esm/types/Components/Ndc/ndcDetailsComponent.d.ts +0 -3
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import 'antd/dist/antd.css';
3
+ import './emissions.scss';
4
+ export declare const GHGEmissionsComponent: (props: any) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import 'antd/dist/antd.css';
2
+ import './projections.scss';
3
+ import React from 'react';
4
+ export declare const GHGProjectionsComponent: (props: any) => React.JSX.Element;
@@ -0,0 +1,12 @@
1
+ export declare const EmissionSectors: any;
2
+ export declare const formFields: {
3
+ energyEmissions: {
4
+ fuelCombustionActivities: string[];
5
+ fugitiveEmissionsFromFuels: string[];
6
+ carbonDioxideTransportStorage: string[];
7
+ };
8
+ industrialProcessesProductUse: string[];
9
+ agricultureForestryOtherLandUse: string[];
10
+ waste: string[];
11
+ other: string[];
12
+ };
@@ -0,0 +1 @@
1
+ export declare const EmissionTypes: any;
@@ -0,0 +1 @@
1
+ export declare const ProjectionTypes: any;
@@ -14,7 +14,6 @@ export * from "./NdcActions/NdcView/ndcActionViewComponent";
14
14
  export * from "./Transfers/creditTransfersComponent";
15
15
  export * from "./MrvDashboard/mrvDashboardViewComponent";
16
16
  export * from "./RegistryDashboard/registryDashboardViewComponent";
17
- export * from "./Ndc/ndcDetailsComponent";
18
17
  export * from "./Common/Loading/loading";
19
18
  export * from "./Common/LegendItem/legendItem";
20
19
  export * from "./Common/Maps/mapComponent";
@@ -37,3 +36,5 @@ export * from "./Common/OrganisationStatus/organisationStatus";
37
36
  export * from "./Common/ProgrammeDocuments/programmeDocuments";
38
37
  export * from "./Common/UserRoleIcon/userRoleIcon";
39
38
  export * from "./Common/TimelineBody/timelineBody";
39
+ export * from "./GhgInventory/Emissions/emissions";
40
+ export * from "./GhgInventory/Projections/projections";
@@ -0,0 +1,9 @@
1
+ import { GHGRecordState } from '../Enums/ghg.record.state.enum';
2
+ import { BaseEntity } from './baseEntity';
3
+ export declare class Emission implements BaseEntity {
4
+ id?: string;
5
+ year?: string;
6
+ state?: GHGRecordState;
7
+ emissionDocument?: string;
8
+ version?: number;
9
+ }
@@ -0,0 +1,9 @@
1
+ import { GHGRecordState } from '../Enums/ghg.record.state.enum';
2
+ import { BaseEntity } from './baseEntity';
3
+ export declare class Projection implements BaseEntity {
4
+ id?: string;
5
+ year?: string;
6
+ state?: GHGRecordState;
7
+ emissionDocument?: string;
8
+ version?: number;
9
+ }
@@ -0,0 +1,4 @@
1
+ export declare enum GHGRecordState {
2
+ SAVED = "SAVED",
3
+ FINALIZED = "FINALIZED"
4
+ }
@@ -46,3 +46,5 @@ export * from "./Entities/programmeTransfer";
46
46
  export * from "./Entities/user";
47
47
  export * from "./Entities/programme";
48
48
  export * from "./Entities/programmeCertify";
49
+ export * from "./Entities/emission";
50
+ export * from "./Entities/projection";