@undp/carbon-library 1.0.133-CARBON-325.4 → 1.0.133-CARBON-325.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. package/dist/cjs/index.js +2650 -477
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/Components/Common/AntComponents/antTableComponents.d.ts +21 -0
  4. package/dist/cjs/types/Components/Common/Models/programmeIssueForm.d.ts +2 -0
  5. package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  6. package/dist/cjs/types/Components/Common/TimelineBody/timelineBody.d.ts +3 -2
  7. package/dist/cjs/types/Components/Ndc/ndcDetailsComponent.d.ts +3 -0
  8. package/dist/cjs/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
  9. package/dist/cjs/types/Components/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
  10. package/dist/cjs/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
  11. package/dist/cjs/types/Components/index.d.ts +3 -0
  12. package/dist/cjs/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
  13. package/dist/cjs/types/Definitions/Enums/enablementTypes.enum.d.ts +3 -3
  14. package/dist/cjs/types/Definitions/Enums/investment.enum.d.ts +4 -0
  15. package/dist/cjs/types/Definitions/Enums/typeOfMitigation.enum.d.ts +10 -1
  16. package/dist/cjs/types/Utils/documentsPermission.d.ts +1 -1
  17. package/dist/esm/index.js +2649 -481
  18. package/dist/esm/index.js.map +1 -1
  19. package/dist/esm/types/Components/Common/AntComponents/antTableComponents.d.ts +21 -0
  20. package/dist/esm/types/Components/Common/Models/programmeIssueForm.d.ts +2 -0
  21. package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +2 -0
  22. package/dist/esm/types/Components/Common/TimelineBody/timelineBody.d.ts +3 -2
  23. package/dist/esm/types/Components/Ndc/ndcDetailsComponent.d.ts +3 -0
  24. package/dist/esm/types/Components/RegistryDashboard/programmeRejectAndTransferComponent.d.ts +1 -0
  25. package/dist/esm/types/Components/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
  26. package/dist/esm/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
  27. package/dist/esm/types/Components/index.d.ts +3 -0
  28. package/dist/esm/types/Definitions/Entities/programmeTransfer.d.ts +1 -0
  29. package/dist/esm/types/Definitions/Enums/enablementTypes.enum.d.ts +3 -3
  30. package/dist/esm/types/Definitions/Enums/investment.enum.d.ts +4 -0
  31. package/dist/esm/types/Definitions/Enums/typeOfMitigation.enum.d.ts +10 -1
  32. package/dist/esm/types/Utils/documentsPermission.d.ts +1 -1
  33. package/dist/index.d.ts +27 -2
  34. package/dist/locales/i18n/addCompany/en.json +38 -0
  35. package/dist/locales/i18n/addCompany/es.json +36 -0
  36. package/dist/locales/i18n/addCompany/fr.json +36 -0
  37. package/dist/locales/i18n/addProgramme/en.json +45 -0
  38. package/dist/locales/i18n/addUser/en.json +24 -0
  39. package/dist/locales/i18n/addUser/es.json +24 -0
  40. package/dist/locales/i18n/addUser/fr.json +24 -0
  41. package/dist/locales/i18n/coBenifits/en.json +39 -0
  42. package/dist/locales/i18n/common/en.json +22 -0
  43. package/dist/locales/i18n/common/es.json +21 -0
  44. package/dist/locales/i18n/common/fr.json +21 -0
  45. package/dist/locales/i18n/company/en.json +24 -0
  46. package/dist/locales/i18n/company/es.json +23 -0
  47. package/dist/locales/i18n/company/fr.json +23 -0
  48. package/dist/locales/i18n/companyProfile/en.json +45 -0
  49. package/dist/locales/i18n/companyProfile/es.json +42 -0
  50. package/dist/locales/i18n/companyProfile/fr.json +42 -0
  51. package/dist/locales/i18n/creditTransfer/en.json +34 -0
  52. package/dist/locales/i18n/creditTransfer/es.json +34 -0
  53. package/dist/locales/i18n/creditTransfer/fr.json +34 -0
  54. package/dist/locales/i18n/dashboard/en.json +94 -0
  55. package/dist/locales/i18n/dashboard/es.json +71 -0
  56. package/dist/locales/i18n/dashboard/fr.json +71 -0
  57. package/dist/locales/i18n/economic/en.json +35 -0
  58. package/dist/locales/i18n/environment/en.json +41 -0
  59. package/dist/locales/i18n/forgotPassword/en.json +9 -0
  60. package/dist/locales/i18n/forgotPassword/es.json +9 -0
  61. package/dist/locales/i18n/forgotPassword/fr.json +9 -0
  62. package/dist/locales/i18n/genderParity/en.json +14 -0
  63. package/dist/locales/i18n/homepage/en.json +33 -0
  64. package/dist/locales/i18n/homepage/es.json +30 -0
  65. package/dist/locales/i18n/homepage/fr.json +30 -0
  66. package/dist/locales/i18n/login/en.json +11 -0
  67. package/dist/locales/i18n/login/es.json +10 -0
  68. package/dist/locales/i18n/login/fr.json +10 -0
  69. package/dist/locales/i18n/mrvdashboard/en.json +29 -0
  70. package/dist/locales/i18n/mrvdashboard/es.json +0 -0
  71. package/dist/locales/i18n/mrvdashboard/fr.json +0 -0
  72. package/dist/locales/i18n/nav/en.json +15 -0
  73. package/dist/locales/i18n/nav/es.json +9 -0
  74. package/dist/locales/i18n/nav/fr.json +9 -0
  75. package/dist/locales/i18n/ndc/en.json +12 -0
  76. package/dist/locales/i18n/ndcAction/en.json +100 -0
  77. package/dist/locales/i18n/passwordReset/en.json +10 -0
  78. package/dist/locales/i18n/passwordReset/es.json +10 -0
  79. package/dist/locales/i18n/passwordReset/fr.json +10 -0
  80. package/dist/locales/i18n/programme/en.json +87 -0
  81. package/dist/locales/i18n/programme/es.json +17 -0
  82. package/dist/locales/i18n/programme/fr.json +17 -0
  83. package/dist/locales/i18n/resetPassword/en.json +8 -0
  84. package/dist/locales/i18n/resetPassword/es.json +8 -0
  85. package/dist/locales/i18n/resetPassword/fr.json +8 -0
  86. package/dist/locales/i18n/safeguards/en.json +73 -0
  87. package/dist/locales/i18n/social/en.json +41 -0
  88. package/dist/locales/i18n/user/en.json +16 -0
  89. package/dist/locales/i18n/user/es.json +16 -0
  90. package/dist/locales/i18n/user/fr.json +16 -0
  91. package/dist/locales/i18n/userProfile/en.json +34 -0
  92. package/dist/locales/i18n/userProfile/es.json +34 -0
  93. package/dist/locales/i18n/userProfile/fr.json +34 -0
  94. package/dist/locales/i18n/view/en.json +151 -0
  95. package/dist/locales/i18n/view/es.json +128 -0
  96. package/dist/locales/i18n/view/fr.json +128 -0
  97. 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>;
@@ -11,5 +11,7 @@ export interface NdcActionBodyProps {
11
11
  useConnection: any;
12
12
  translator: any;
13
13
  useUserContext: any;
14
+ onFinish?: any;
15
+ programme?: any;
14
16
  }
15
17
  export declare const NdcActionBody: FC<NdcActionBodyProps>;
@@ -1,9 +1,10 @@
1
- import { FC } from 'react';
2
- import './timelineBody.scss';
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>;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import "./ndcDetailsComponent.scss";
3
+ export declare const NdcDetailsComponent: (props: any) => React.JSX.Element;
@@ -7,5 +7,6 @@ export interface ProgrammeRejectAndTransferCardItemProps {
7
7
  updatedDate: any;
8
8
  loading: boolean;
9
9
  toolTipText: string;
10
+ t: any;
10
11
  }
11
12
  export declare const ProgrammeRejectAndTransferComponent: FC<ProgrammeRejectAndTransferCardItemProps>;
@@ -0,0 +1,3 @@
1
+ import "../supportComponent.scss";
2
+ import React from "react";
3
+ export declare const SupportCreationComponent: (props: any) => React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import "../supportComponent.scss";
3
+ import "../../../Styles/common.table.scss";
4
+ export declare const SupportManagementComponent: (props: any) => React.JSX.Element;
@@ -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";
@@ -21,4 +21,5 @@ export declare class ProgrammeTransfer implements BaseEntity {
21
21
  createdTime?: number;
22
22
  retirementType?: RetireType;
23
23
  toCompanyMeta?: any;
24
+ omgePercentage?: any;
24
25
  }
@@ -1,8 +1,8 @@
1
1
  export declare enum EnablementTypes {
2
2
  CapacityBuilding = "Capacity Building",
3
- InstitutionalArrangement = "Institutional Arrangement",
4
- StakeholderFramework = "Stakeholder Framework",
5
- TechnologyTransfer = "Technology Transfer"
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, programmeStatus?: any) => boolean;
3
+ export declare const uploadDocUserPermission: (userInfoState: any, docType: DocType, programmeOwnerId: any[], ministryLevelPermission?: boolean) => boolean;