@undp/carbon-library 1.0.83 → 1.0.84
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/index.js +79 -63
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/Components/Common/TimelineBody/timelineBody.d.ts +1 -2
- package/dist/cjs/types/Components/index.d.ts +1 -0
- package/dist/cjs/types/Definitions/Definitions/programme.definitions.d.ts +4 -3
- package/dist/cjs/types/Definitions/index.d.ts +1 -0
- package/dist/esm/index.js +76 -61
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/Components/Common/TimelineBody/timelineBody.d.ts +1 -2
- package/dist/esm/types/Components/index.d.ts +1 -0
- package/dist/esm/types/Definitions/Definitions/programme.definitions.d.ts +4 -3
- package/dist/esm/types/Definitions/index.d.ts +1 -0
- package/dist/index.d.ts +18 -4
- package/package.json +1 -1
@@ -31,3 +31,4 @@ export * from "./Common/NdcActionBody/ndcActionBody";
|
|
31
31
|
export * from "./Common/OrganisationStatus/organisationStatus";
|
32
32
|
export * from "./Common/ProgrammeDocuments/programmeDocuments";
|
33
33
|
export * from "./Common/UserRoleIcon/userRoleIcon";
|
34
|
+
export * from "./Common/TimelineBody/timelineBody";
|
@@ -105,11 +105,12 @@ export declare const addCommSep: (value: any) => string;
|
|
105
105
|
export declare const addCommSepRound: (value: any) => string;
|
106
106
|
export declare const addRoundNumber: (value: any) => number;
|
107
107
|
export declare const addSpaces: (text: string) => string;
|
108
|
-
export declare const getFinancialFields: (programme:
|
109
|
-
|
108
|
+
export declare const getFinancialFields: (programme: ProgrammeU) => {
|
109
|
+
estimatedProgrammeCostUSD: string;
|
110
|
+
creditEst: string;
|
110
111
|
financingType: string;
|
111
112
|
grantEquivalent: UnitField;
|
112
|
-
|
113
|
+
carbonPriceUSDPerTon: string;
|
113
114
|
};
|
114
115
|
export declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
|
115
116
|
export declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
|
@@ -24,6 +24,7 @@ export * from "./Enums/sdgGoals.enum";
|
|
24
24
|
export * from "./Enums/carbonSystemType.enum";
|
25
25
|
export * from "./Enums/document.type";
|
26
26
|
export * from "./Enums/document.status";
|
27
|
+
export * from "./Enums/company.state.enum";
|
27
28
|
export * from "./Definitions/userLogin.definitions";
|
28
29
|
export * from "./Definitions/userInformationContext.definitions";
|
29
30
|
export * from "./Definitions/userForgotPassword.definitions";
|
package/dist/index.d.ts
CHANGED
@@ -298,11 +298,12 @@ declare const addCommSep: (value: any) => string;
|
|
298
298
|
declare const addCommSepRound: (value: any) => string;
|
299
299
|
declare const addRoundNumber: (value: any) => number;
|
300
300
|
declare const addSpaces: (text: string) => string;
|
301
|
-
declare const getFinancialFields: (programme:
|
302
|
-
|
301
|
+
declare const getFinancialFields: (programme: ProgrammeU) => {
|
302
|
+
estimatedProgrammeCostUSD: string;
|
303
|
+
creditEst: string;
|
303
304
|
financingType: string;
|
304
305
|
grantEquivalent: UnitField;
|
305
|
-
|
306
|
+
carbonPriceUSDPerTon: string;
|
306
307
|
};
|
307
308
|
declare const getCompanyBgColor: (item: string) => "rgba(185, 226, 244, 0.56)" | "rgba(254, 241, 173, 0.55)" | "rgba(128, 255, 0, 0.12)";
|
308
309
|
declare const getRetirementTypeString: (retirementType: string | null) => "-" | "CROSS BORDER TRANSFER" | "LEGAL ACTION" | "OTHER" | undefined;
|
@@ -673,6 +674,11 @@ declare enum DocumentStatus {
|
|
673
674
|
REJECTED = "Rejected"
|
674
675
|
}
|
675
676
|
|
677
|
+
declare enum CompanyState {
|
678
|
+
SUSPENDED = 0,
|
679
|
+
ACTIVE = 1
|
680
|
+
}
|
681
|
+
|
676
682
|
interface LoginProps {
|
677
683
|
email: string;
|
678
684
|
password: string;
|
@@ -907,4 +913,12 @@ interface UserRoleIconProps {
|
|
907
913
|
}
|
908
914
|
declare const UserRoleIcon: FC<UserRoleIconProps>;
|
909
915
|
|
910
|
-
|
916
|
+
interface TimelineBodyProps {
|
917
|
+
text: string;
|
918
|
+
remark?: string | null;
|
919
|
+
via?: string | null;
|
920
|
+
t: any;
|
921
|
+
}
|
922
|
+
declare const TimelineBody: FC<TimelineBodyProps>;
|
923
|
+
|
924
|
+
export { AdaptationProperties, AddNdcActionComponent, AddNewCompanyComponent, AddNewUserComponent, AgricultureProperties, BaseEntity, CarbonSystemType, CoBenefitProps, CoBenefitsProperties, CoBenifitsComponent, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, CompanyState, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, DocType, DocumentStatus, ESGType, EnablementProperties, EnergyGenerationUnits, FormElementType, HeaderProps, ImgWithFallback, InfoView, InfoViewProps, Instrument, InvestmentBody, InvestmentBodyProps, InvestmentCreationComponent, InvestmentLevel, InvestmentManagementComponent, InvestmentStatus, InvestmentStream, InvestmentType, LandAreaUnits, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, MitigationTypes, NdcAction, NdcActionBody, NdcActionBodyProps, NdcActionManagementComponent, NdcActionStatus, NdcActionTypes, NdcFinancing, OrganisationStatus, OrganisationStatusProps, ProfileIcon, ProfileIconProps, Programme, ProgrammeCreationComponent, ProgrammeDeveloperCreation, ProgrammeDocuments, ProgrammeDocumentsProps, ProgrammeEntity, ProgrammeIssueForm, ProgrammeIssueFormProps, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammePropertiesR, ProgrammePropertiesT, ProgrammePropertiesU, ProgrammeR, ProgrammeRetireForm, ProgrammeRetireFormProps, ProgrammeRevokeForm, ProgrammeRevokeFormProps, ProgrammeStageMRV, ProgrammeStageR, ProgrammeStageUnified, ProgrammeT, ProgrammeTransfer, ProgrammeTransferForm, ProgrammeTransferFormProps, ProgrammeU, RadioButtonStatus, RadioButtonStatus2, RejectDocumentationConfirmationModel, RejectDocumentationProps, Response, RetireType, Role, RoleIcon, RoleIconProps, SdgGoals, Sector, SectoralScope, SolarProperties, StasticCard, StasticCardItemProps, TimelineBody, TimelineBodyProps, Titles, TransferActionModel, TransferActionModelProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, UserRoleIcon, UserRoleIconProps, addCommSep, addCommSepRound, addRoundNumber, addSpaces, consumerGroupList, energyGenerationUnitList, getBase64, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getInvestmentStatusEnumVal, getNdcActionStatusEnumVal, getNdcStatusTagType, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getStatusTagType, getTransferStageTagType, isBase64, landAreaUnitList, mitigationTypeList, ndcActionTypeList, sectorMitigationTypesListMapped, sumArray, titleList, userForgotPasswordProps };
|