@undp/carbon-library 1.0.133-CARBON-325.3 → 1.0.133-CARBON-325.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +2650 -477
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +21 -0
- package/dist/cjs/types/Components/Common/Models/programmeIssueForm.d.ts +2 -0
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
- package/dist/cjs/types/Components/Common/TimelineBody/timelineBody.d.ts +3 -2
- package/dist/cjs/types/Components/Ndc/ndcDetailsComponent.d.ts +3 -0
- package/dist/cjs/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
- package/dist/cjs/types/Components/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
- package/dist/cjs/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
- package/dist/cjs/types/Components/index.d.ts +3 -0
- package/dist/cjs/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
- package/dist/cjs/types/Definitions/Enums/enablementTypes.enum.d.ts +3 -3
- package/dist/cjs/types/Definitions/Enums/investment.enum.d.ts +4 -0
- package/dist/cjs/types/Definitions/Enums/typeOfMitigation.enum.d.ts +10 -1
- package/dist/cjs/types/Utils/documentsPermission.d.ts +1 -1
- package/dist/esm/index.js +2649 -481
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +21 -0
- package/dist/esm/types/Components/Common/Models/programmeIssueForm.d.ts +2 -0
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
- package/dist/esm/types/Components/Common/TimelineBody/timelineBody.d.ts +3 -2
- package/dist/esm/types/Components/Ndc/ndcDetailsComponent.d.ts +3 -0
- package/dist/esm/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
- package/dist/esm/types/Components/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
- package/dist/esm/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
- package/dist/esm/types/Components/index.d.ts +3 -0
- package/dist/esm/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
- package/dist/esm/types/Definitions/Enums/enablementTypes.enum.d.ts +3 -3
- package/dist/esm/types/Definitions/Enums/investment.enum.d.ts +4 -0
- package/dist/esm/types/Definitions/Enums/typeOfMitigation.enum.d.ts +10 -1
- package/dist/esm/types/Utils/documentsPermission.d.ts +1 -1
- package/dist/index.d.ts +27 -2
- package/dist/locales/i18n/addCompany/en.json +38 -0
- package/dist/locales/i18n/addCompany/es.json +36 -0
- package/dist/locales/i18n/addCompany/fr.json +36 -0
- package/dist/locales/i18n/addProgramme/en.json +45 -0
- package/dist/locales/i18n/addUser/en.json +24 -0
- package/dist/locales/i18n/addUser/es.json +24 -0
- package/dist/locales/i18n/addUser/fr.json +24 -0
- package/dist/locales/i18n/coBenifits/en.json +39 -0
- package/dist/locales/i18n/common/en.json +22 -0
- package/dist/locales/i18n/common/es.json +21 -0
- package/dist/locales/i18n/common/fr.json +21 -0
- package/dist/locales/i18n/company/en.json +24 -0
- package/dist/locales/i18n/company/es.json +23 -0
- package/dist/locales/i18n/company/fr.json +23 -0
- package/dist/locales/i18n/companyProfile/en.json +45 -0
- package/dist/locales/i18n/companyProfile/es.json +42 -0
- package/dist/locales/i18n/companyProfile/fr.json +42 -0
- package/dist/locales/i18n/creditTransfer/en.json +34 -0
- package/dist/locales/i18n/creditTransfer/es.json +34 -0
- package/dist/locales/i18n/creditTransfer/fr.json +34 -0
- package/dist/locales/i18n/dashboard/en.json +94 -0
- package/dist/locales/i18n/dashboard/es.json +71 -0
- package/dist/locales/i18n/dashboard/fr.json +71 -0
- package/dist/locales/i18n/economic/en.json +35 -0
- package/dist/locales/i18n/environment/en.json +41 -0
- package/dist/locales/i18n/forgotPassword/en.json +9 -0
- package/dist/locales/i18n/forgotPassword/es.json +9 -0
- package/dist/locales/i18n/forgotPassword/fr.json +9 -0
- package/dist/locales/i18n/genderParity/en.json +14 -0
- package/dist/locales/i18n/homepage/en.json +33 -0
- package/dist/locales/i18n/homepage/es.json +30 -0
- package/dist/locales/i18n/homepage/fr.json +30 -0
- package/dist/locales/i18n/login/en.json +11 -0
- package/dist/locales/i18n/login/es.json +10 -0
- package/dist/locales/i18n/login/fr.json +10 -0
- package/dist/locales/i18n/mrvdashboard/en.json +29 -0
- package/dist/locales/i18n/mrvdashboard/es.json +0 -0
- package/dist/locales/i18n/mrvdashboard/fr.json +0 -0
- package/dist/locales/i18n/nav/en.json +15 -0
- package/dist/locales/i18n/nav/es.json +9 -0
- package/dist/locales/i18n/nav/fr.json +9 -0
- package/dist/locales/i18n/ndc/en.json +12 -0
- package/dist/locales/i18n/ndcAction/en.json +100 -0
- package/dist/locales/i18n/passwordReset/en.json +10 -0
- package/dist/locales/i18n/passwordReset/es.json +10 -0
- package/dist/locales/i18n/passwordReset/fr.json +10 -0
- package/dist/locales/i18n/programme/en.json +87 -0
- package/dist/locales/i18n/programme/es.json +17 -0
- package/dist/locales/i18n/programme/fr.json +17 -0
- package/dist/locales/i18n/resetPassword/en.json +8 -0
- package/dist/locales/i18n/resetPassword/es.json +8 -0
- package/dist/locales/i18n/resetPassword/fr.json +8 -0
- package/dist/locales/i18n/safeguards/en.json +73 -0
- package/dist/locales/i18n/social/en.json +41 -0
- package/dist/locales/i18n/user/en.json +16 -0
- package/dist/locales/i18n/user/es.json +16 -0
- package/dist/locales/i18n/user/fr.json +16 -0
- package/dist/locales/i18n/userProfile/en.json +34 -0
- package/dist/locales/i18n/userProfile/es.json +34 -0
- package/dist/locales/i18n/userProfile/fr.json +34 -0
- package/dist/locales/i18n/view/en.json +151 -0
- package/dist/locales/i18n/view/es.json +128 -0
- package/dist/locales/i18n/view/fr.json +128 -0
- package/package.json +3 -1
@@ -0,0 +1,21 @@
|
|
1
|
+
import React from "react";
|
2
|
+
interface Item {
|
3
|
+
key: string;
|
4
|
+
name: string;
|
5
|
+
age: string;
|
6
|
+
address: string;
|
7
|
+
}
|
8
|
+
interface EditableRowProps {
|
9
|
+
index: number;
|
10
|
+
}
|
11
|
+
export declare const EditableRow: React.FC<EditableRowProps>;
|
12
|
+
interface EditableCellProps {
|
13
|
+
title: React.ReactNode;
|
14
|
+
editable: boolean;
|
15
|
+
children: React.ReactNode;
|
16
|
+
dataIndex: keyof Item;
|
17
|
+
record: Item;
|
18
|
+
handleSave: (record: Item) => void;
|
19
|
+
}
|
20
|
+
export declare const EditableCell: React.FC<EditableCellProps>;
|
21
|
+
export {};
|
@@ -8,5 +8,7 @@ export interface ProgrammeIssueFormProps {
|
|
8
8
|
subText: string;
|
9
9
|
enableIssue: boolean;
|
10
10
|
translator: any;
|
11
|
+
ndcActions?: any[];
|
11
12
|
}
|
13
|
+
export declare const getValidNdcActions: (programme: any) => any[];
|
12
14
|
export declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
|
@@ -1,9 +1,10 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./timelineBody.scss";
|
3
3
|
export interface TimelineBodyProps {
|
4
4
|
text: string;
|
5
5
|
remark?: string | null;
|
6
6
|
via?: string | null;
|
7
7
|
t: any;
|
8
8
|
}
|
9
|
+
export declare const addNdcDesc: (props: any) => string;
|
9
10
|
export declare const TimelineBody: FC<TimelineBodyProps>;
|
@@ -8,12 +8,15 @@ export * from "./User/UserProfile/userProfileComponent";
|
|
8
8
|
export * from "./User/UserManagement/userManagementComponent";
|
9
9
|
export * from "./Investment/AddNewInvestment/investmentCreationComponent";
|
10
10
|
export * from "./Investment/InvestmentManagement/investmentManagementComponent";
|
11
|
+
export * from "./Support/AddNewSupport/supportCreationComponent";
|
12
|
+
export * from "./Support/SupportManagement/supportManagementComponent";
|
11
13
|
export * from "./NdcActions/NdcActionManagement/ndcActionManagementComponent";
|
12
14
|
export * from "./NdcActions/AddNdcAction/addNdcActionComponent";
|
13
15
|
export * from "./NdcActions/NdcView/ndcActionViewComponent";
|
14
16
|
export * from "./Transfers/creditTransfersComponent";
|
15
17
|
export * from "./MrvDashboard/mrvDashboardViewComponent";
|
16
18
|
export * from "./RegistryDashboard/registryDashboardViewComponent";
|
19
|
+
export * from "./Ndc/ndcDetailsComponent";
|
17
20
|
export * from "./Common/Loading/loading";
|
18
21
|
export * from "./Common/LegendItem/legendItem";
|
19
22
|
export * from "./Common/Maps/mapComponent";
|
@@ -1,8 +1,8 @@
|
|
1
1
|
export declare enum EnablementTypes {
|
2
2
|
CapacityBuilding = "Capacity Building",
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
TechnologyTransfer = "Technology Transfer",
|
4
|
+
Financial = "Financial",
|
5
|
+
EnhancedTransparency = "Enhanced Transparency"
|
6
6
|
}
|
7
7
|
export declare const enablementTypesAndValues: {
|
8
8
|
type: string;
|
@@ -14,6 +14,10 @@ export declare enum InvestmentType {
|
|
14
14
|
PUBLIC = "Public",
|
15
15
|
PRIVATE = "Private"
|
16
16
|
}
|
17
|
+
export declare enum InvestmentCreationType {
|
18
|
+
EXISTING = "Existing",
|
19
|
+
NEW = "New"
|
20
|
+
}
|
17
21
|
export declare enum InvestmentStream {
|
18
22
|
CLIMATE_FINANCE = "ClimateFinance",
|
19
23
|
CARBON_MARKET = "CarbonMarket"
|
@@ -1,4 +1,13 @@
|
|
1
1
|
export declare enum TypeOfMitigation {
|
2
2
|
AGRICULTURE = "Agriculture",
|
3
|
-
SOLAR = "Solar"
|
3
|
+
SOLAR = "Solar",
|
4
|
+
EE_HOUSEHOLDS = "EEHouseholds"
|
5
|
+
}
|
6
|
+
export declare enum SubTypeOfMitigation {
|
7
|
+
SOIL_ENRICHMENT_BIOCHAR = "SoilEnrichmentBiochar",
|
8
|
+
RICE_CROPS = "RiceCrops",
|
9
|
+
SOLAR_PHOTOVOLTAICS_PV = "SolarPhotovoltaicsPV",
|
10
|
+
SOLAR_WATER_PUMPING_OFF_GRID = "SolarWaterPumpingOffGrid",
|
11
|
+
SOLAR_WATER_PUMPING_ON_GRID = "SolarWaterPumpingOnGrid",
|
12
|
+
STOVES_HOUSES_IN_NAMIBIA = "StovesHousesInNamibia"
|
4
13
|
}
|
@@ -1,3 +1,3 @@
|
|
1
1
|
import { DocType, DocumentStatus } from "../Definitions";
|
2
2
|
export declare const linkDocVisible: (docStatus: DocumentStatus) => boolean;
|
3
|
-
export declare const uploadDocUserPermission: (userInfoState: any, docType: DocType, programmeOwnerId: any[], ministryLevelPermission?: boolean
|
3
|
+
export declare const uploadDocUserPermission: (userInfoState: any, docType: DocType, programmeOwnerId: any[], ministryLevelPermission?: boolean) => boolean;
|