@undp/carbon-library 1.0.31 → 1.0.32

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,6 +5,12 @@ export declare enum ProgrammeStage {
5
5
  Authorised = "Authorised",
6
6
  Rejected = "Rejected"
7
7
  }
8
+ export declare enum ProgrammeStageMRV {
9
+ AwaitingAuthorization = "Pending",
10
+ Authorised = "Authorised",
11
+ Approved = "Approved",
12
+ Rejected = "Rejected"
13
+ }
8
14
  export declare enum Role {
9
15
  Root = "Root",
10
16
  Admin = "Admin",
@@ -49,6 +55,7 @@ export declare const getStageEnumVal: (value: string) => string;
49
55
  export declare const getCreditStageVal: (value: string) => string;
50
56
  export declare const getStageTransferEnumVal: (value: string, transfer: ProgrammeTransfer) => string;
51
57
  export declare const getStageTagType: (stage: ProgrammeStage) => "error" | "processing" | "default";
58
+ export declare const getStageTagTypeMRV: (stage: ProgrammeStageMRV) => "purple" | "error" | "processing" | "default";
52
59
  export declare const getTransferStageTagType: (stage: CreditTransferStage, transfer: ProgrammeTransfer) => "orange" | "purple" | "error" | "processing" | "default" | "success";
53
60
  export declare class UnitField {
54
61
  unit: string;
package/dist/index.d.ts CHANGED
@@ -183,6 +183,12 @@ declare enum ProgrammeStage {
183
183
  Authorised = "Authorised",
184
184
  Rejected = "Rejected"
185
185
  }
186
+ declare enum ProgrammeStageMRV {
187
+ AwaitingAuthorization = "Pending",
188
+ Authorised = "Authorised",
189
+ Approved = "Approved",
190
+ Rejected = "Rejected"
191
+ }
186
192
  declare enum Role {
187
193
  Root = "Root",
188
194
  Admin = "Admin",
@@ -227,6 +233,7 @@ declare const getStageEnumVal: (value: string) => string;
227
233
  declare const getCreditStageVal: (value: string) => string;
228
234
  declare const getStageTransferEnumVal: (value: string, transfer: ProgrammeTransfer) => string;
229
235
  declare const getStageTagType: (stage: ProgrammeStage) => "error" | "processing" | "default";
236
+ declare const getStageTagTypeMRV: (stage: ProgrammeStageMRV) => "purple" | "error" | "processing" | "default";
230
237
  declare const getTransferStageTagType: (stage: CreditTransferStage, transfer: ProgrammeTransfer) => "orange" | "purple" | "error" | "processing" | "default" | "success";
231
238
  declare class UnitField {
232
239
  unit: string;
@@ -396,4 +403,4 @@ declare class User implements BaseEntity {
396
403
  companyState?: number;
397
404
  }
398
405
 
399
- export { AddNewCompanyComponent, AddNewUserComponent, BaseEntity, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, HeaderProps, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, ProfileIcon, ProfileIconProps, Programme, ProgrammeDeveloperCreation, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammeStage, ProgrammeTransfer, ProgrammeViewComponent, Response, RetireType, Role, RoleIcon, RoleIconProps, SectoralScope, StasticCard, StasticCardItemProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, addCommSep, addCommSepRound, addRoundNumber, addSpaces, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTransferEnumVal, getTransferStageTagType, isBase64, sumArray, userForgotPasswordProps };
406
+ export { AddNewCompanyComponent, AddNewUserComponent, BaseEntity, Company, CompanyManagementColumns, CompanyManagementComponent, CompanyProfileComponent, CompanyRole, ConfigurationSettingsType, ConnectionContextProviderProps, ConnectionProps, CountrySelect, CreditTransferStage, HeaderProps, LayoutSiderProps, LegendItem, LegendItemItemProps, Loading, LoginProps, MapComponent, MapComponentProps, MapPopupData, MapSourceData, MapTypes, MapboxComponent, MarkerData, Methods, ProfileIcon, ProfileIconProps, Programme, ProgrammeDeveloperCreation, ProgrammeManagementColumns, ProgrammeManagementComponent, ProgrammeProperties, ProgrammeStage, ProgrammeStageMRV, ProgrammeTransfer, ProgrammeViewComponent, Response, RetireType, Role, RoleIcon, RoleIconProps, SectoralScope, StasticCard, StasticCardItemProps, TxType, TypeOfMitigation, UnitField, User, UserContextProps, UserCreationProps, UserManagementColumns, UserManagementComponent, UserProfileComponent, UserProps, addCommSep, addCommSepRound, addRoundNumber, addSpaces, getCompanyBgColor, getCreditStageVal, getFinancialFields, getGeneralFields, getRetirementTypeString, getStageEnumVal, getStageTagType, getStageTagTypeMRV, getStageTransferEnumVal, getTransferStageTagType, isBase64, sumArray, userForgotPasswordProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@undp/carbon-library",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
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": {