@undp/carbon-library 1.0.84 → 1.0.86
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +4827 -521
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/MrvDashboard/listWidgetComponent.d.ts +14 -0
- package/dist/cjs/types/Components/MrvDashboard/mapStatsComponent.d.ts +18 -0
- package/dist/cjs/types/Components/MrvDashboard/mrvBarChartStatsComponent.d.ts +12 -0
- package/dist/cjs/types/Components/MrvDashboard/mrvChartOptions.d.ts +113 -0
- package/dist/cjs/types/Components/MrvDashboard/mrvDashboardViewComponent.d.ts +3 -0
- package/dist/cjs/types/Components/MrvDashboard/mrvPieChartStatComponent.d.ts +12 -0
- package/dist/cjs/types/Components/RegistryDashboard/dashboardTypesInitialValues.d.ts +18 -0
- package/dist/cjs/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +11 -0
- package/dist/cjs/types/Components/RegistryDashboard/registryBarChartStatsComponent.d.ts +12 -0
- package/dist/cjs/types/Components/RegistryDashboard/registryChartOptions.d.ts +6 -0
- package/dist/cjs/types/Components/RegistryDashboard/registryDashboardViewComponent.d.ts +3 -0
- package/dist/cjs/types/Components/RegistryDashboard/registryPieChartStatComponent.d.ts +12 -0
- package/dist/cjs/types/Components/Transfers/creditTransfersComponent.d.ts +5 -0
- package/dist/cjs/types/Components/index.d.ts +4 -0
- package/dist/cjs/types/Definitions/Entities/programmeCertify.d.ts +5 -0
- package/dist/cjs/types/Definitions/Enums/programmeStage.enum.d.ts +5 -0
- package/dist/cjs/types/Definitions/Enums/statsCards.type.enum.d.ts +13 -0
- package/dist/cjs/types/Definitions/Enums/widget.type.enum.d.ts +5 -0
- package/dist/cjs/types/Definitions/index.d.ts +5 -0
- package/dist/cjs/types/Styles/index.d.ts +1 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +4786 -507
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/MrvDashboard/listWidgetComponent.d.ts +14 -0
- package/dist/esm/types/Components/MrvDashboard/mapStatsComponent.d.ts +18 -0
- package/dist/esm/types/Components/MrvDashboard/mrvBarChartStatsComponent.d.ts +12 -0
- package/dist/esm/types/Components/MrvDashboard/mrvChartOptions.d.ts +113 -0
- package/dist/esm/types/Components/MrvDashboard/mrvDashboardViewComponent.d.ts +3 -0
- package/dist/esm/types/Components/MrvDashboard/mrvPieChartStatComponent.d.ts +12 -0
- package/dist/esm/types/Components/RegistryDashboard/dashboardTypesInitialValues.d.ts +18 -0
- package/dist/esm/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +11 -0
- package/dist/esm/types/Components/RegistryDashboard/registryBarChartStatsComponent.d.ts +12 -0
- package/dist/esm/types/Components/RegistryDashboard/registryChartOptions.d.ts +6 -0
- package/dist/esm/types/Components/RegistryDashboard/registryDashboardViewComponent.d.ts +3 -0
- package/dist/esm/types/Components/RegistryDashboard/registryPieChartStatComponent.d.ts +12 -0
- package/dist/esm/types/Components/Transfers/creditTransfersComponent.d.ts +5 -0
- package/dist/esm/types/Components/index.d.ts +4 -0
- package/dist/esm/types/Definitions/Entities/programmeCertify.d.ts +5 -0
- package/dist/esm/types/Definitions/Enums/programmeStage.enum.d.ts +5 -0
- package/dist/esm/types/Definitions/Enums/statsCards.type.enum.d.ts +13 -0
- package/dist/esm/types/Definitions/Enums/widget.type.enum.d.ts +5 -0
- package/dist/esm/types/Definitions/index.d.ts +5 -0
- package/dist/esm/types/Styles/index.d.ts +1 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +89 -1
- package/package.json +2 -1
@@ -0,0 +1,14 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./dashboard.scss";
|
3
|
+
export interface ListWidgetProps {
|
4
|
+
data: any[];
|
5
|
+
icon: any;
|
6
|
+
subTitle: string;
|
7
|
+
total: number;
|
8
|
+
totalText: string;
|
9
|
+
updatedDate: any;
|
10
|
+
loading: boolean;
|
11
|
+
toolTipText: string;
|
12
|
+
title: string;
|
13
|
+
}
|
14
|
+
export declare const ListWidgetComponent: FC<ListWidgetProps>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
export interface MapStatsProps {
|
3
|
+
id: string;
|
4
|
+
title: string;
|
5
|
+
lastUpdate: any;
|
6
|
+
loading: boolean;
|
7
|
+
toolTipText: string;
|
8
|
+
mapType: string;
|
9
|
+
mapCenter: any;
|
10
|
+
mapZoom: number;
|
11
|
+
dataSource: any;
|
12
|
+
mapLayer: any;
|
13
|
+
renderCB: any;
|
14
|
+
style: string;
|
15
|
+
labels: string[];
|
16
|
+
colors: string[];
|
17
|
+
}
|
18
|
+
export declare const MapStatsComponent: FC<MapStatsProps>;
|
@@ -0,0 +1,12 @@
|
|
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
|
+
}
|
12
|
+
export declare const MrvBarChartsStatComponent: FC<BarChartStatsProps>;
|
@@ -0,0 +1,113 @@
|
|
1
|
+
export declare const getChartOptions: (labels: string[], colors: string[]) => {
|
2
|
+
states: {
|
3
|
+
normal: {
|
4
|
+
filter: {
|
5
|
+
type: string;
|
6
|
+
value: number;
|
7
|
+
};
|
8
|
+
};
|
9
|
+
hover: {
|
10
|
+
filter: {
|
11
|
+
type: string;
|
12
|
+
value: number;
|
13
|
+
};
|
14
|
+
};
|
15
|
+
active: {
|
16
|
+
allowMultipleDataPointsSelection: boolean;
|
17
|
+
filter: {
|
18
|
+
type: string;
|
19
|
+
value: number;
|
20
|
+
};
|
21
|
+
};
|
22
|
+
};
|
23
|
+
chart: {
|
24
|
+
type: string;
|
25
|
+
};
|
26
|
+
dataLabels: {
|
27
|
+
enabled: boolean;
|
28
|
+
};
|
29
|
+
colors: string[];
|
30
|
+
labels: string[];
|
31
|
+
plotOptions: {
|
32
|
+
pie: {
|
33
|
+
expandOnClick: boolean;
|
34
|
+
donut: {
|
35
|
+
labels: {
|
36
|
+
show: boolean;
|
37
|
+
total: {
|
38
|
+
showAlways: boolean;
|
39
|
+
show: boolean;
|
40
|
+
label: string;
|
41
|
+
formatter: (w: any) => string;
|
42
|
+
};
|
43
|
+
value: {
|
44
|
+
formatter: (value: any) => string;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
};
|
48
|
+
};
|
49
|
+
};
|
50
|
+
legend: {
|
51
|
+
show: boolean;
|
52
|
+
showForSingleSeries: boolean;
|
53
|
+
showForNullSeries: boolean;
|
54
|
+
showForZeroSeries: boolean;
|
55
|
+
position: string;
|
56
|
+
horizontalAlign: string;
|
57
|
+
floating: boolean;
|
58
|
+
fontSize: string;
|
59
|
+
fontFamily: string;
|
60
|
+
fontWeight: number;
|
61
|
+
formatter: undefined;
|
62
|
+
inverseOrder: boolean;
|
63
|
+
width: undefined;
|
64
|
+
height: undefined;
|
65
|
+
tooltipHoverFormatter: undefined;
|
66
|
+
customLegendItems: never[];
|
67
|
+
offsetX: number;
|
68
|
+
offsetY: number;
|
69
|
+
labels: {
|
70
|
+
colors: string[];
|
71
|
+
useSeriesColors: boolean;
|
72
|
+
};
|
73
|
+
markers: {
|
74
|
+
width: number;
|
75
|
+
height: number;
|
76
|
+
strokeWidth: number;
|
77
|
+
strokeColor: string;
|
78
|
+
fillColors: string[];
|
79
|
+
radius: number;
|
80
|
+
customHTML: undefined;
|
81
|
+
onClick: undefined;
|
82
|
+
offsetX: number;
|
83
|
+
offsetY: number;
|
84
|
+
};
|
85
|
+
itemMargin: {
|
86
|
+
horizontal: number;
|
87
|
+
vertical: number;
|
88
|
+
};
|
89
|
+
onItemClick: {
|
90
|
+
toggleDataSeries: boolean;
|
91
|
+
};
|
92
|
+
onItemHover: {
|
93
|
+
highlightDataSeries: boolean;
|
94
|
+
};
|
95
|
+
};
|
96
|
+
responsive: {
|
97
|
+
breakpoint: number;
|
98
|
+
options: {
|
99
|
+
chart: {
|
100
|
+
width: number;
|
101
|
+
};
|
102
|
+
legend: {
|
103
|
+
position: string;
|
104
|
+
};
|
105
|
+
};
|
106
|
+
}[];
|
107
|
+
tooltip: {
|
108
|
+
enabled: boolean;
|
109
|
+
y: {
|
110
|
+
formatter: (value: any) => string;
|
111
|
+
};
|
112
|
+
};
|
113
|
+
};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
export interface PieChartStatsProps {
|
3
|
+
id: string;
|
4
|
+
title: any;
|
5
|
+
options: any;
|
6
|
+
series: any[];
|
7
|
+
lastUpdate: any;
|
8
|
+
loading: boolean;
|
9
|
+
toolTipText: string;
|
10
|
+
Chart: any;
|
11
|
+
}
|
12
|
+
export declare const MrvPieChartsStatComponent: FC<PieChartStatsProps>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
export interface ChartSeriesItem {
|
2
|
+
name: string;
|
3
|
+
data: any[];
|
4
|
+
}
|
5
|
+
export declare const getTotalProgrammesInitialValues: () => ChartSeriesItem[];
|
6
|
+
export declare const totalProgrammesInitialValues: {
|
7
|
+
name: string;
|
8
|
+
data: never[];
|
9
|
+
}[];
|
10
|
+
export declare const getTotalProgrammesSectorInitialValues: () => ChartSeriesItem[];
|
11
|
+
export declare const totalCreditsSeriesInitialValues: {
|
12
|
+
name: string;
|
13
|
+
data: never[];
|
14
|
+
}[];
|
15
|
+
export declare const totalCertifiedCreditsSeriesInitialValues: {
|
16
|
+
name: string;
|
17
|
+
data: never[];
|
18
|
+
}[];
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
export interface ProgrammeRejectAndTransferCardItemProps {
|
3
|
+
totalPrgrammes: number;
|
4
|
+
authorized: number;
|
5
|
+
pending: number;
|
6
|
+
rejected: number;
|
7
|
+
updatedDate: any;
|
8
|
+
loading: boolean;
|
9
|
+
toolTipText: string;
|
10
|
+
}
|
11
|
+
export declare const ProgrammeRejectAndTransferComponent: FC<ProgrammeRejectAndTransferCardItemProps>;
|
@@ -0,0 +1,12 @@
|
|
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
|
+
}
|
12
|
+
export declare const RegistryBarChartsStatComponent: FC<BarChartStatsProps>;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
export declare const totalProgrammesOptions: any;
|
2
|
+
export declare const totalProgrammesOptionsSub: any;
|
3
|
+
export declare const totalCreditsOptions: any;
|
4
|
+
export declare const totalCreditsCertifiedOptions: any;
|
5
|
+
export declare const optionDonutPieA: any;
|
6
|
+
export declare const optionDonutPieB: any;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
export interface PieChartStatsProps {
|
3
|
+
id: string;
|
4
|
+
title: any;
|
5
|
+
options: any;
|
6
|
+
series: any[];
|
7
|
+
lastUpdate: any;
|
8
|
+
loading: boolean;
|
9
|
+
toolTipText: string;
|
10
|
+
Chart: any;
|
11
|
+
}
|
12
|
+
export declare const RegistryPieChartsStatComponent: FC<PieChartStatsProps>;
|
@@ -10,6 +10,10 @@ export * from "./Investment/AddNewInvestment/investmentCreationComponent";
|
|
10
10
|
export * from "./Investment/InvestmentManagement/investmentManagementComponent";
|
11
11
|
export * from "./NdcActions/NdcActionManagement/ndcActionManagementComponent";
|
12
12
|
export * from "./NdcActions/AddNdcAction/addNdcActionComponent";
|
13
|
+
export * from "./NdcActions/NdcView/ndcActionViewComponent";
|
14
|
+
export * from "./Transfers/creditTransfersComponent";
|
15
|
+
export * from "./MrvDashboard/mrvDashboardViewComponent";
|
16
|
+
export * from "./RegistryDashboard/registryDashboardViewComponent";
|
13
17
|
export * from "./Common/Loading/loading";
|
14
18
|
export * from "./Common/LegendItem/legendItem";
|
15
19
|
export * from "./Common/Maps/mapComponent";
|
@@ -16,3 +16,16 @@ export declare enum StatsCardsTypes {
|
|
16
16
|
PROGRAMME_LOCATIONS = "Programme Locations",
|
17
17
|
TRANSFER_LOCATIONS_INTERNATIONAL = "Transfer Locations International"
|
18
18
|
}
|
19
|
+
export declare enum MrvStatsCardsTypes {
|
20
|
+
AGG_PROGRAMME_BY_SECTOR = "AGG_PROGRAMME_BY_SECTOR",
|
21
|
+
AGG_NDC_ACTION_BY_TYPE = "AGG_NDC_ACTION_BY_TYPE",
|
22
|
+
AGG_NDC_ACTION_BY_SECTOR = "AGG_NDC_ACTION_BY_SECTOR",
|
23
|
+
TOTAL_EMISSIONS = "TOTAL_EMISSIONS",
|
24
|
+
PROGRAMME_LOCATION = "PROGRAMME_LOCATION",
|
25
|
+
INVESTMENT_LOCATION = "INVESTMENT_LOCATION",
|
26
|
+
AGG_INVESTMENT_BY_TYPE = "AGG_INVESTMENT_BY_TYPE"
|
27
|
+
}
|
28
|
+
export declare enum SystemNames {
|
29
|
+
CARBON_REGISTRY = "CARBON_REGISTRY_SYSTEM",
|
30
|
+
CARBON_TRANSPARENCY = "CARBON_TRANSPARENCY_SYSTEM"
|
31
|
+
}
|
@@ -25,6 +25,9 @@ export * from "./Enums/carbonSystemType.enum";
|
|
25
25
|
export * from "./Enums/document.type";
|
26
26
|
export * from "./Enums/document.status";
|
27
27
|
export * from "./Enums/company.state.enum";
|
28
|
+
export * from "./Enums/widget.type.enum";
|
29
|
+
export * from "./Enums/statsCards.type.enum";
|
30
|
+
export * from "./Enums/action.enum";
|
28
31
|
export * from "./Definitions/userLogin.definitions";
|
29
32
|
export * from "./Definitions/userInformationContext.definitions";
|
30
33
|
export * from "./Definitions/userForgotPassword.definitions";
|
@@ -36,8 +39,10 @@ export * from "./Definitions/layout.header";
|
|
36
39
|
export * from "./Definitions/layout.sider.definitions";
|
37
40
|
export * from "./Definitions/mapComponent.definitions";
|
38
41
|
export * from "./Definitions/ndcAction.definitions";
|
42
|
+
export * from "./Definitions/common.definitions";
|
39
43
|
export * from "./Entities/company";
|
40
44
|
export * from "./Entities/baseEntity";
|
41
45
|
export * from "./Entities/programmeTransfer";
|
42
46
|
export * from "./Entities/user";
|
43
47
|
export * from "./Entities/programme";
|
48
|
+
export * from "./Entities/programmeCertify";
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './role.color.constants';
|
package/dist/index.d.ts
CHANGED
@@ -28,6 +28,14 @@ declare const NdcActionManagementComponent: (props: any) => React.JSX.Element;
|
|
28
28
|
|
29
29
|
declare const AddNdcActionComponent: (props: any) => React.JSX.Element;
|
30
30
|
|
31
|
+
declare const NdcActionViewComponent: (props: any) => React.JSX.Element;
|
32
|
+
|
33
|
+
declare const CreditTransferComponent: (props: any) => React.JSX.Element;
|
34
|
+
|
35
|
+
declare const MrvDashboardComponent: (props: any) => React.JSX.Element;
|
36
|
+
|
37
|
+
declare const RegistryDashboardComponent: (props: any) => React.JSX.Element;
|
38
|
+
|
31
39
|
declare const Loading: () => React.JSX.Element;
|
32
40
|
|
33
41
|
interface LegendItemItemProps {
|
@@ -191,6 +199,11 @@ declare enum ProgrammeStageUnified {
|
|
191
199
|
Approved = "Approved",
|
192
200
|
Rejected = "Rejected"
|
193
201
|
}
|
202
|
+
declare enum ProgrammeStageLegend {
|
203
|
+
AUTHORISED = "Authorised",
|
204
|
+
REJECTED = "Rejected",
|
205
|
+
AWAITING_AUTHORIZATION = "AwaitingAuthorization"
|
206
|
+
}
|
194
207
|
|
195
208
|
declare enum TypeOfMitigation {
|
196
209
|
AGRICULTURE = "Agriculture",
|
@@ -679,6 +692,52 @@ declare enum CompanyState {
|
|
679
692
|
ACTIVE = 1
|
680
693
|
}
|
681
694
|
|
695
|
+
declare enum WidgetType {
|
696
|
+
PIE = "Pie",
|
697
|
+
MAP = "Map",
|
698
|
+
LIST = "List"
|
699
|
+
}
|
700
|
+
|
701
|
+
declare enum StatsCardsTypes {
|
702
|
+
PROGRAMMES_PENDING = "Programmes Pending",
|
703
|
+
TRANSFER_REQUEST_RECEIVED = "Pending Transfers Received",
|
704
|
+
PROGRAMMES_UNCERTIFIED = "Programmes Certifiable",
|
705
|
+
TRANSFER_REQUEST_SENT = "Pending Transfers Sent",
|
706
|
+
PROGRAMMES_CERTIFIED = "Programmes Certified",
|
707
|
+
CREDIT_BALANCE = "Credit Balance",
|
708
|
+
CREDIT_CERTIFIED = "Credits Certified",
|
709
|
+
PROGRAMMES = "Programmes",
|
710
|
+
CREDITS = "Credits",
|
711
|
+
CERTIFIED_CREDITS = "Certified Credits",
|
712
|
+
TOTAL_PROGRAMMES = "Total Programmes",
|
713
|
+
TOTAL_PROGRAMMES_SECTOR = "Total Programmes: Sector",
|
714
|
+
TOTAL_CREDITS = "Total Credits",
|
715
|
+
TOTAL_CREDITS_CERTIFIED = "Total Credits Certified",
|
716
|
+
PROGRAMME_LOCATIONS = "Programme Locations",
|
717
|
+
TRANSFER_LOCATIONS_INTERNATIONAL = "Transfer Locations International"
|
718
|
+
}
|
719
|
+
declare enum MrvStatsCardsTypes {
|
720
|
+
AGG_PROGRAMME_BY_SECTOR = "AGG_PROGRAMME_BY_SECTOR",
|
721
|
+
AGG_NDC_ACTION_BY_TYPE = "AGG_NDC_ACTION_BY_TYPE",
|
722
|
+
AGG_NDC_ACTION_BY_SECTOR = "AGG_NDC_ACTION_BY_SECTOR",
|
723
|
+
TOTAL_EMISSIONS = "TOTAL_EMISSIONS",
|
724
|
+
PROGRAMME_LOCATION = "PROGRAMME_LOCATION",
|
725
|
+
INVESTMENT_LOCATION = "INVESTMENT_LOCATION",
|
726
|
+
AGG_INVESTMENT_BY_TYPE = "AGG_INVESTMENT_BY_TYPE"
|
727
|
+
}
|
728
|
+
declare enum SystemNames {
|
729
|
+
CARBON_REGISTRY = "CARBON_REGISTRY_SYSTEM",
|
730
|
+
CARBON_TRANSPARENCY = "CARBON_TRANSPARENCY_SYSTEM"
|
731
|
+
}
|
732
|
+
|
733
|
+
declare enum Action {
|
734
|
+
Manage = "manage",
|
735
|
+
Create = "create",
|
736
|
+
Read = "read",
|
737
|
+
Update = "update",
|
738
|
+
Delete = "delete"
|
739
|
+
}
|
740
|
+
|
682
741
|
interface LoginProps {
|
683
742
|
email: string;
|
684
743
|
password: string;
|
@@ -816,6 +875,10 @@ interface NdcAction {
|
|
816
875
|
sector: string;
|
817
876
|
}
|
818
877
|
|
878
|
+
declare const dateTimeFormat = "dd LLLL yyyy @ HH:mm";
|
879
|
+
declare const dateFormat = "dd LLLL yyyy";
|
880
|
+
declare const creditUnit = "ITMO";
|
881
|
+
|
819
882
|
declare class Company implements BaseEntity {
|
820
883
|
companyId?: number;
|
821
884
|
taxId?: string;
|
@@ -852,6 +915,11 @@ declare class ProgrammeEntity implements BaseEntity {
|
|
852
915
|
companyId?: number[];
|
853
916
|
}
|
854
917
|
|
918
|
+
declare class ProgrammeCertify implements BaseEntity {
|
919
|
+
programmeId?: string;
|
920
|
+
comment?: string;
|
921
|
+
}
|
922
|
+
|
855
923
|
interface TransferActionModelProps {
|
856
924
|
icon: any;
|
857
925
|
title: string;
|
@@ -921,4 +989,24 @@ interface TimelineBodyProps {
|
|
921
989
|
}
|
922
990
|
declare const TimelineBody: FC<TimelineBodyProps>;
|
923
991
|
|
924
|
-
|
992
|
+
declare const AdminBGColor = "rgba(255, 166, 166, 0.42)";
|
993
|
+
declare const AdminColor = "#D12800";
|
994
|
+
declare const RootBGColor = "rgba(255, 0, 229, 0.15)";
|
995
|
+
declare const RootColor = "#DB00FF";
|
996
|
+
declare const ManagerBGColor = "rgba(96, 27, 209, 0.13)";
|
997
|
+
declare const ManagerColor = "#75009E";
|
998
|
+
declare const ViewBGColor = "rgba(176, 190, 197, 0.23)";
|
999
|
+
declare const ViewColor = "#707070";
|
1000
|
+
declare const GovBGColor = "rgba(185, 226, 244, 0.56)";
|
1001
|
+
declare const GovColor = "#16B1FF";
|
1002
|
+
declare const DevBGColor = "rgba(254, 241, 173, 0.55)";
|
1003
|
+
declare const DevColor = "#FFA070";
|
1004
|
+
declare const MinBGColor = "rgba(198, 144, 251, 0.12)";
|
1005
|
+
declare const MinColor = "#9155fd";
|
1006
|
+
declare const CertBGColor = "rgba(128, 255, 0, 0.12)";
|
1007
|
+
declare const CertColor = "#519E4F";
|
1008
|
+
declare const TooltipColor = "#6ACDFF";
|
1009
|
+
declare const InvestmentBGColor = "rgba(151, 110, 215, 0.3)";
|
1010
|
+
declare const InvestmentColor = "#9155FD";
|
1011
|
+
|
1012
|
+
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, 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, 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.
|
3
|
+
"version": "1.0.86",
|
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": {
|
@@ -18,6 +18,7 @@
|
|
18
18
|
"@undp/carbon-credit-calculator": "^1.0.0",
|
19
19
|
"node-sass": "^7.0.3",
|
20
20
|
"postcss": "^8.4.23",
|
21
|
+
"react-circle-flags": "^0.0.19",
|
21
22
|
"rollup": "^3.22.0",
|
22
23
|
"rollup-plugin-dts": "^5.3.0",
|
23
24
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|