@undp/carbon-library 1.0.14 → 1.0.16-CARBON-363.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +25795 -4211
- 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/CoBenifits/assessment.d.ts +3 -0
- package/dist/cjs/types/Components/Common/CoBenifits/coBenifits.d.ts +15 -0
- package/dist/cjs/types/Components/Common/CoBenifits/economic.d.ts +3 -0
- package/dist/cjs/types/Components/Common/CoBenifits/environmental.d.ts +3 -0
- package/dist/cjs/types/Components/Common/CoBenifits/genderParity.d.ts +3 -0
- package/dist/cjs/types/Components/Common/CoBenifits/safeguards.d.ts +3 -0
- package/dist/cjs/types/Components/Common/CoBenifits/sdgGoals.d.ts +3 -0
- package/dist/cjs/types/Components/Common/CoBenifits/social.d.ts +3 -0
- package/dist/cjs/types/Components/Common/ImgwithFallback/imgWithFallback.d.ts +8 -0
- package/dist/cjs/types/Components/Common/InfoView/info.view.d.ts +5 -6
- package/dist/cjs/types/Components/Common/Investment/investmentActionModel.d.ts +18 -0
- package/dist/cjs/types/Components/Common/Investment/investmentBody.d.ts +7 -0
- package/dist/cjs/types/Components/Common/Models/changePasswordModel.d.ts +1 -0
- package/dist/cjs/types/Components/Common/Models/programmeIssueForm.d.ts +4 -5
- package/dist/cjs/types/Components/Common/Models/programmeRetireForm.d.ts +4 -5
- package/dist/cjs/types/Components/Common/Models/programmeRevokeForm.d.ts +4 -5
- package/dist/cjs/types/Components/Common/Models/programmeTransferForm.d.ts +5 -5
- package/dist/cjs/types/Components/Common/Models/rejectDocumenConfirmationModel.d.ts +12 -0
- package/dist/cjs/types/Components/Common/Models/transferActionModel.d.ts +18 -0
- package/dist/cjs/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +15 -0
- package/dist/cjs/types/Components/Common/NdcActionDetails/ndcActionDetails.d.ts +13 -0
- package/dist/cjs/types/Components/Common/OrganisationStatus/organisationStatus.d.ts +1 -2
- package/dist/cjs/types/Components/Common/ProfileIcon/profile.icon.d.ts +1 -2
- package/dist/cjs/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +18 -0
- package/dist/cjs/types/Components/Common/RoleIcon/role.icon.d.ts +1 -2
- package/dist/cjs/types/Components/Common/TimelineBody/timelineBody.d.ts +1 -2
- package/dist/cjs/types/Components/Common/UserRoleIcon/userRoleIcon.d.ts +1 -2
- package/dist/cjs/types/Components/Company/AddNewCompany/addNewCompanyComponent.d.ts +1 -1
- package/dist/cjs/types/Components/Investment/AddNewInvestment/investmentCreationComponent.d.ts +3 -0
- package/dist/cjs/types/Components/Investment/InvestmentManagement/investmentManagementComponent.d.ts +4 -0
- 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/Ndc/ndcDetailsComponent.d.ts +3 -0
- package/dist/cjs/types/Components/NdcActions/AddNdcAction/addNdcActionComponent.d.ts +3 -0
- package/dist/cjs/types/Components/NdcActions/NdcActionManagement/ndcActionManagementComponent.d.ts +3 -0
- package/dist/cjs/types/Components/NdcActions/NdcView/ndcActionViewComponent.d.ts +3 -0
- package/dist/cjs/types/Components/Programme/AddNewProgramme/programmeCreationComponent.d.ts +3 -0
- package/dist/cjs/types/Components/Programme/ProgrammeManagement/programmeManagementComponent.d.ts +3 -3
- 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/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
- package/dist/cjs/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
- package/dist/cjs/types/Components/Transfers/creditTransfersComponent.d.ts +5 -0
- package/dist/cjs/types/Components/index.d.ts +30 -2
- package/dist/cjs/types/Definitions/Definitions/ndcAction.definitions.d.ts +51 -0
- package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +45 -70
- package/dist/cjs/types/Definitions/Entities/programme.d.ts +11 -0
- package/dist/cjs/types/Definitions/Entities/programmeCertify.d.ts +5 -0
- package/dist/cjs/types/Definitions/Entities/programmeTransfer.d.ts +3 -2
- package/dist/cjs/types/Definitions/Enums/TxType.enum.d.ts +13 -0
- package/dist/cjs/types/Definitions/Enums/action.enum.d.ts +3 -1
- package/dist/cjs/types/Definitions/Enums/carbonSystemType.enum.d.ts +5 -0
- package/dist/cjs/types/Definitions/Enums/commonEnums.d.ts +23 -0
- package/dist/cjs/types/Definitions/Enums/company.management.columns.enum.d.ts +7 -6
- package/dist/cjs/types/Definitions/Enums/company.role.enum.d.ts +3 -1
- package/dist/cjs/types/Definitions/Enums/company.state.enum.d.ts +3 -1
- package/dist/cjs/types/Definitions/Enums/consumerGroups.enum.d.ts +4 -0
- package/dist/cjs/types/Definitions/Enums/creditTransferStage.enum.d.ts +8 -0
- package/dist/cjs/types/Definitions/Enums/document.status.d.ts +5 -0
- package/dist/cjs/types/Definitions/Enums/document.type.d.ts +7 -0
- package/dist/cjs/types/Definitions/Enums/eSGType.enum.d.ts +16 -0
- package/dist/cjs/types/Definitions/Enums/enablementTypes.enum.d.ts +9 -0
- package/dist/cjs/types/Definitions/Enums/energyGenerationUnits.enum.d.ts +13 -0
- package/dist/cjs/types/Definitions/Enums/instrument.enum.d.ts +9 -0
- package/dist/cjs/types/Definitions/Enums/investment.enum.d.ts +24 -0
- package/dist/cjs/types/Definitions/Enums/landAreaUnits.enum.d.ts +15 -0
- package/dist/cjs/types/Definitions/Enums/mitigation.types.enum.d.ts +31 -0
- package/dist/cjs/types/Definitions/Enums/ndcAction.status.enum.d.ts +6 -0
- package/dist/cjs/types/Definitions/Enums/ndcActionTypes.enum.d.ts +10 -0
- package/dist/cjs/types/Definitions/Enums/programme.management.columns.enum.d.ts +12 -9
- package/dist/cjs/types/Definitions/Enums/programmeStage.enum.d.ts +23 -0
- package/dist/cjs/types/Definitions/Enums/retireType.enum.d.ts +5 -0
- package/dist/cjs/types/Definitions/Enums/role.enum.d.ts +6 -0
- package/dist/cjs/types/Definitions/Enums/sdgGoals.enum.d.ts +19 -0
- package/dist/cjs/types/Definitions/Enums/sector.enum.d.ts +12 -0
- package/dist/cjs/types/Definitions/Enums/sectoralScope.enum.d.ts +17 -0
- package/dist/cjs/types/Definitions/Enums/statsCards.type.enum.d.ts +13 -0
- package/dist/cjs/types/Definitions/Enums/typeOfMitigation.enum.d.ts +4 -0
- package/dist/cjs/types/Definitions/Enums/user.management.columns.enum.d.ts +8 -8
- package/dist/cjs/types/Definitions/Enums/widget.type.enum.d.ts +5 -0
- package/dist/cjs/types/Definitions/index.d.ts +35 -0
- package/dist/cjs/types/Styles/index.d.ts +1 -0
- package/dist/cjs/types/Styles/role.color.constants.d.ts +4 -0
- package/dist/cjs/types/Utils/DocumentValidator.d.ts +1 -0
- package/dist/cjs/types/Utils/documentsPermission.d.ts +3 -0
- package/dist/cjs/types/index.d.ts +1 -0
- package/dist/esm/index.js +25674 -4160
- 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/CoBenifits/assessment.d.ts +3 -0
- package/dist/esm/types/Components/Common/CoBenifits/coBenifits.d.ts +15 -0
- package/dist/esm/types/Components/Common/CoBenifits/economic.d.ts +3 -0
- package/dist/esm/types/Components/Common/CoBenifits/environmental.d.ts +3 -0
- package/dist/esm/types/Components/Common/CoBenifits/genderParity.d.ts +3 -0
- package/dist/esm/types/Components/Common/CoBenifits/safeguards.d.ts +3 -0
- package/dist/esm/types/Components/Common/CoBenifits/sdgGoals.d.ts +3 -0
- package/dist/esm/types/Components/Common/CoBenifits/social.d.ts +3 -0
- package/dist/esm/types/Components/Common/ImgwithFallback/imgWithFallback.d.ts +8 -0
- package/dist/esm/types/Components/Common/InfoView/info.view.d.ts +5 -6
- package/dist/esm/types/Components/Common/Investment/investmentActionModel.d.ts +18 -0
- package/dist/esm/types/Components/Common/Investment/investmentBody.d.ts +7 -0
- package/dist/esm/types/Components/Common/Models/changePasswordModel.d.ts +1 -0
- package/dist/esm/types/Components/Common/Models/programmeIssueForm.d.ts +4 -5
- package/dist/esm/types/Components/Common/Models/programmeRetireForm.d.ts +4 -5
- package/dist/esm/types/Components/Common/Models/programmeRevokeForm.d.ts +4 -5
- package/dist/esm/types/Components/Common/Models/programmeTransferForm.d.ts +5 -5
- package/dist/esm/types/Components/Common/Models/rejectDocumenConfirmationModel.d.ts +12 -0
- package/dist/esm/types/Components/Common/Models/transferActionModel.d.ts +18 -0
- package/dist/esm/types/Components/Common/NdcActionBody/ndcActionBody.d.ts +15 -0
- package/dist/esm/types/Components/Common/NdcActionDetails/ndcActionDetails.d.ts +13 -0
- package/dist/esm/types/Components/Common/OrganisationStatus/organisationStatus.d.ts +1 -2
- package/dist/esm/types/Components/Common/ProfileIcon/profile.icon.d.ts +1 -2
- package/dist/esm/types/Components/Common/ProgrammeDocuments/programmeDocuments.d.ts +18 -0
- package/dist/esm/types/Components/Common/RoleIcon/role.icon.d.ts +1 -2
- package/dist/esm/types/Components/Common/TimelineBody/timelineBody.d.ts +1 -2
- package/dist/esm/types/Components/Common/UserRoleIcon/userRoleIcon.d.ts +1 -2
- package/dist/esm/types/Components/Company/AddNewCompany/addNewCompanyComponent.d.ts +1 -1
- package/dist/esm/types/Components/Investment/AddNewInvestment/investmentCreationComponent.d.ts +3 -0
- package/dist/esm/types/Components/Investment/InvestmentManagement/investmentManagementComponent.d.ts +4 -0
- 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/Ndc/ndcDetailsComponent.d.ts +3 -0
- package/dist/esm/types/Components/NdcActions/AddNdcAction/addNdcActionComponent.d.ts +3 -0
- package/dist/esm/types/Components/NdcActions/NdcActionManagement/ndcActionManagementComponent.d.ts +3 -0
- package/dist/esm/types/Components/NdcActions/NdcView/ndcActionViewComponent.d.ts +3 -0
- package/dist/esm/types/Components/Programme/AddNewProgramme/programmeCreationComponent.d.ts +3 -0
- package/dist/esm/types/Components/Programme/ProgrammeManagement/programmeManagementComponent.d.ts +3 -3
- 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/Support/AddNewSupport/supportCreationComponent.d.ts +3 -0
- package/dist/esm/types/Components/Support/SupportManagement/supportManagementComponent.d.ts +4 -0
- package/dist/esm/types/Components/Transfers/creditTransfersComponent.d.ts +5 -0
- package/dist/esm/types/Components/index.d.ts +30 -2
- package/dist/esm/types/Definitions/Definitions/ndcAction.definitions.d.ts +51 -0
- package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +45 -70
- package/dist/esm/types/Definitions/Entities/programme.d.ts +11 -0
- package/dist/esm/types/Definitions/Entities/programmeCertify.d.ts +5 -0
- package/dist/esm/types/Definitions/Entities/programmeTransfer.d.ts +3 -2
- package/dist/esm/types/Definitions/Enums/TxType.enum.d.ts +13 -0
- package/dist/esm/types/Definitions/Enums/action.enum.d.ts +3 -1
- package/dist/esm/types/Definitions/Enums/carbonSystemType.enum.d.ts +5 -0
- package/dist/esm/types/Definitions/Enums/commonEnums.d.ts +23 -0
- package/dist/esm/types/Definitions/Enums/company.management.columns.enum.d.ts +7 -6
- package/dist/esm/types/Definitions/Enums/company.role.enum.d.ts +3 -1
- package/dist/esm/types/Definitions/Enums/company.state.enum.d.ts +3 -1
- package/dist/esm/types/Definitions/Enums/consumerGroups.enum.d.ts +4 -0
- package/dist/esm/types/Definitions/Enums/creditTransferStage.enum.d.ts +8 -0
- package/dist/esm/types/Definitions/Enums/document.status.d.ts +5 -0
- package/dist/esm/types/Definitions/Enums/document.type.d.ts +7 -0
- package/dist/esm/types/Definitions/Enums/eSGType.enum.d.ts +16 -0
- package/dist/esm/types/Definitions/Enums/enablementTypes.enum.d.ts +9 -0
- package/dist/esm/types/Definitions/Enums/energyGenerationUnits.enum.d.ts +13 -0
- package/dist/esm/types/Definitions/Enums/instrument.enum.d.ts +9 -0
- package/dist/esm/types/Definitions/Enums/investment.enum.d.ts +24 -0
- package/dist/esm/types/Definitions/Enums/landAreaUnits.enum.d.ts +15 -0
- package/dist/esm/types/Definitions/Enums/mitigation.types.enum.d.ts +31 -0
- package/dist/esm/types/Definitions/Enums/ndcAction.status.enum.d.ts +6 -0
- package/dist/esm/types/Definitions/Enums/ndcActionTypes.enum.d.ts +10 -0
- package/dist/esm/types/Definitions/Enums/programme.management.columns.enum.d.ts +12 -9
- package/dist/esm/types/Definitions/Enums/programmeStage.enum.d.ts +23 -0
- package/dist/esm/types/Definitions/Enums/retireType.enum.d.ts +5 -0
- package/dist/esm/types/Definitions/Enums/role.enum.d.ts +6 -0
- package/dist/esm/types/Definitions/Enums/sdgGoals.enum.d.ts +19 -0
- package/dist/esm/types/Definitions/Enums/sector.enum.d.ts +12 -0
- package/dist/esm/types/Definitions/Enums/sectoralScope.enum.d.ts +17 -0
- package/dist/esm/types/Definitions/Enums/statsCards.type.enum.d.ts +13 -0
- package/dist/esm/types/Definitions/Enums/typeOfMitigation.enum.d.ts +4 -0
- package/dist/esm/types/Definitions/Enums/user.management.columns.enum.d.ts +8 -8
- package/dist/esm/types/Definitions/Enums/widget.type.enum.d.ts +5 -0
- package/dist/esm/types/Definitions/index.d.ts +35 -0
- package/dist/esm/types/Styles/index.d.ts +1 -0
- package/dist/esm/types/Styles/role.color.constants.d.ts +4 -0
- package/dist/esm/types/Utils/DocumentValidator.d.ts +1 -0
- package/dist/esm/types/Utils/documentsPermission.d.ts +3 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/index.d.ts +775 -111
- package/package.json +6 -3
- package/dist/cjs/types/Components/Programme/ProgrammeView/programmeViewComponent.d.ts +0 -3
- package/dist/esm/types/Components/Programme/ProgrammeView/programmeViewComponent.d.ts +0 -3
@@ -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 {};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import "./coBenifits.scss";
|
3
|
+
export interface CoBenefitProps {
|
4
|
+
onClickedBackBtn?: any;
|
5
|
+
onFormSubmit?: any;
|
6
|
+
coBenefitsDetails?: any;
|
7
|
+
submitButtonText?: any;
|
8
|
+
viewOnly?: boolean;
|
9
|
+
coBenifitsViewDetails?: any;
|
10
|
+
loading?: any;
|
11
|
+
sdgGoalImages?: any;
|
12
|
+
translator?: any;
|
13
|
+
useConnection?: any;
|
14
|
+
}
|
15
|
+
export declare const CoBenifitsComponent: (props: CoBenefitProps) => React.JSX.Element;
|
@@ -1,10 +1,9 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./info.view.scss";
|
3
3
|
export interface InfoViewProps {
|
4
4
|
data: any;
|
5
|
-
title
|
6
|
-
icon
|
5
|
+
title?: any;
|
6
|
+
icon?: any;
|
7
7
|
hiddenColumns?: any;
|
8
8
|
}
|
9
|
-
declare const InfoView: FC<InfoViewProps>;
|
10
|
-
export default InfoView;
|
9
|
+
export declare const InfoView: FC<InfoViewProps>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
export interface InvestmentActionModelProps {
|
3
|
+
icon: any;
|
4
|
+
title: string;
|
5
|
+
investment: any;
|
6
|
+
onCancel: any;
|
7
|
+
actionBtnText: string;
|
8
|
+
onFinish: any;
|
9
|
+
subText: string;
|
10
|
+
disableToCompany?: boolean;
|
11
|
+
toCompanyDefault?: any;
|
12
|
+
openModal: boolean;
|
13
|
+
type: string;
|
14
|
+
remarkRequired: boolean;
|
15
|
+
translator: any;
|
16
|
+
}
|
17
|
+
declare const InvestmentActionModel: FC<InvestmentActionModelProps>;
|
18
|
+
export default InvestmentActionModel;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import { Programme } from
|
1
|
+
import { FC } from "react";
|
2
|
+
import { Programme } from "../../../Definitions/Definitions/programme.definitions";
|
3
3
|
export interface ProgrammeIssueFormProps {
|
4
4
|
programme: Programme;
|
5
5
|
onCancel: any;
|
@@ -7,7 +7,6 @@ export interface ProgrammeIssueFormProps {
|
|
7
7
|
onFinish: any;
|
8
8
|
subText: string;
|
9
9
|
enableIssue: boolean;
|
10
|
-
|
10
|
+
translator: any;
|
11
11
|
}
|
12
|
-
declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
|
13
|
-
export default ProgrammeIssueForm;
|
12
|
+
export declare const ProgrammeIssueForm: FC<ProgrammeIssueFormProps>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import { Programme } from
|
1
|
+
import { FC } from "react";
|
2
|
+
import { Programme } from "../../../Definitions/Definitions/programme.definitions";
|
3
3
|
export interface ProgrammeRetireFormProps {
|
4
4
|
programme: Programme;
|
5
5
|
onCancel: any;
|
@@ -8,8 +8,7 @@ export interface ProgrammeRetireFormProps {
|
|
8
8
|
subText?: string;
|
9
9
|
hideType: boolean;
|
10
10
|
myCompanyId?: number;
|
11
|
-
|
11
|
+
translator: any;
|
12
12
|
useConnection: any;
|
13
13
|
}
|
14
|
-
declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
|
15
|
-
export default ProgrammeRetireForm;
|
14
|
+
export declare const ProgrammeRetireForm: FC<ProgrammeRetireFormProps>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import { Programme } from
|
1
|
+
import { FC } from "react";
|
2
|
+
import { Programme } from "../../../Definitions/Definitions/programme.definitions";
|
3
3
|
export interface ProgrammeRevokeFormProps {
|
4
4
|
programme: Programme;
|
5
5
|
onCancel: any;
|
@@ -7,7 +7,6 @@ export interface ProgrammeRevokeFormProps {
|
|
7
7
|
onFinish: any;
|
8
8
|
subText: string;
|
9
9
|
showCertifiers: boolean;
|
10
|
-
|
10
|
+
translator: any;
|
11
11
|
}
|
12
|
-
declare const ProgrammeRevokeForm: FC<ProgrammeRevokeFormProps>;
|
13
|
-
export default ProgrammeRevokeForm;
|
12
|
+
export declare const ProgrammeRevokeForm: FC<ProgrammeRevokeFormProps>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FC } from
|
2
|
-
import { Programme } from
|
1
|
+
import { FC } from "react";
|
2
|
+
import { Programme } from "../../../Definitions/Definitions/programme.definitions";
|
3
3
|
export interface ProgrammeTransferFormProps {
|
4
4
|
programme: Programme;
|
5
5
|
onCancel: any;
|
@@ -11,8 +11,8 @@ export interface ProgrammeTransferFormProps {
|
|
11
11
|
receiverLabelText: string;
|
12
12
|
userCompanyId: number | undefined;
|
13
13
|
companyRole: string;
|
14
|
-
|
14
|
+
translator: any;
|
15
15
|
useConnection: any;
|
16
|
+
ministryLevelPermission?: boolean;
|
16
17
|
}
|
17
|
-
declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
|
18
|
-
export default ProgrammeTransferForm;
|
18
|
+
export declare const ProgrammeTransferForm: FC<ProgrammeTransferFormProps>;
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import "../../../Styles/app.scss";
|
3
|
+
export interface RejectDocumentationProps {
|
4
|
+
actionInfo: any;
|
5
|
+
onActionConfirmed: any;
|
6
|
+
onActionCanceled: any;
|
7
|
+
openModal: any;
|
8
|
+
errorMsg: any;
|
9
|
+
loading: any;
|
10
|
+
translator: any;
|
11
|
+
}
|
12
|
+
export declare const RejectDocumentationConfirmationModel: FC<RejectDocumentationProps>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import { ProgrammeTransfer } from "../../../Definitions";
|
3
|
+
export interface TransferActionModelProps {
|
4
|
+
icon: any;
|
5
|
+
title: string;
|
6
|
+
transfer: ProgrammeTransfer;
|
7
|
+
onCancel: any;
|
8
|
+
actionBtnText: string;
|
9
|
+
onFinish: any;
|
10
|
+
subText: string;
|
11
|
+
disableToCompany?: boolean;
|
12
|
+
toCompanyDefault?: any;
|
13
|
+
openModal: boolean;
|
14
|
+
type: string;
|
15
|
+
remarkRequired: boolean;
|
16
|
+
translator: any;
|
17
|
+
}
|
18
|
+
export declare const TransferActionModel: FC<TransferActionModelProps>;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./ndcActionBody.scss";
|
3
|
+
export interface NdcActionBodyProps {
|
4
|
+
data?: any;
|
5
|
+
progressIcon?: any;
|
6
|
+
programmeId?: any;
|
7
|
+
canUploadMonitorReport?: boolean;
|
8
|
+
programmeOwnerId?: any;
|
9
|
+
getProgrammeDocs?: any;
|
10
|
+
ministryLevelPermission?: boolean;
|
11
|
+
useConnection: any;
|
12
|
+
translator: any;
|
13
|
+
useUserContext: any;
|
14
|
+
}
|
15
|
+
export declare const NdcActionBody: FC<NdcActionBodyProps>;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import React from "react";
|
2
|
+
import "./ndcActionDetails.scss";
|
3
|
+
import "../../../Styles/common.table.scss";
|
4
|
+
export interface NdcActionDetailsProps {
|
5
|
+
isBackBtnVisible: boolean;
|
6
|
+
onFormSubmit: any;
|
7
|
+
ndcActionDetails: any;
|
8
|
+
translator: any;
|
9
|
+
programmeDetails?: any;
|
10
|
+
onClickedBackBtn?: any;
|
11
|
+
}
|
12
|
+
declare const NdcActionDetails: (props: NdcActionDetailsProps) => React.JSX.Element;
|
13
|
+
export default NdcActionDetails;
|
@@ -4,5 +4,4 @@ export interface OrganisationStatusProps {
|
|
4
4
|
organisationStatus: number;
|
5
5
|
t: any;
|
6
6
|
}
|
7
|
-
declare const OrganisationStatus: (props: OrganisationStatusProps) => React.JSX.Element;
|
8
|
-
export default OrganisationStatus;
|
7
|
+
export declare const OrganisationStatus: (props: OrganisationStatusProps) => React.JSX.Element;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { FC } from "react";
|
2
|
+
import "./programmeDocuments.scss";
|
3
|
+
export interface ProgrammeDocumentsProps {
|
4
|
+
data: any;
|
5
|
+
title: any;
|
6
|
+
icon: any;
|
7
|
+
programmeId: any;
|
8
|
+
programmeOwnerId: any[];
|
9
|
+
getDocumentDetails: any;
|
10
|
+
getProgrammeById: any;
|
11
|
+
ministryLevelPermission?: boolean;
|
12
|
+
useConnection: any;
|
13
|
+
useUserContext: any;
|
14
|
+
translator: any;
|
15
|
+
methodologyDocumentUpdated: any;
|
16
|
+
programmeStatus?: any;
|
17
|
+
}
|
18
|
+
export declare const ProgrammeDocuments: FC<ProgrammeDocumentsProps>;
|
@@ -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>;
|
package/dist/cjs/types/Components/Programme/ProgrammeManagement/programmeManagementComponent.d.ts
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import React from
|
2
|
-
import
|
3
|
-
import
|
1
|
+
import React from "react";
|
2
|
+
import "./programmeManagementComponent.scss";
|
3
|
+
import "../../../Styles/common.table.scss";
|
4
4
|
export declare const ProgrammeManagementComponent: (props: any) => React.JSX.Element;
|
@@ -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>;
|